Deliver a payload to a configured webhook on form submission

We should attach an optional Discord webhook to the forms to relay new submissions into a Discord channel.
We'll need to update the form model and SCHEMA.md file with an optional webhook_url property and a WEBHOOK_ENABLED form feature.

We have migrated Python Discord Form issue tracking to Notion.
This specific ticket can be found here.
This discussion will be locked for now, all future conversation should occur in the Notion documents.
If you are an external collaborator who is interested in contributing to forms please shoot me a DM on Discord, joe#6000.
This GitHub discussion has been transferred onto the issue.

Hey we did this!


Dcc Validation Failed Screen (EXPOSUREAPP-8062)

This PR wires up the logic to put the right items in the recyclerview.
There will be a follow up PRs for polishing/finishing the list items.

If you want to test it, see here for some test setup:
https://github.com/corona-warn-app/cwa-app-android/pull/3662/commits/98c0ee67d28712e6738f8633129be231059f009e
But I think a code review suffices and further testing should be done when more elements are wired up and we have better test data.

@d4rken close button listener for chrismas?


Please add support for linux

Describe your feature / Опишите ваше предложение
This is an awesome tool/program to circumvent deep packet inspection used by governments in various countries to block stuff. Therefore, I would like to make a small request: I would be grateful if we could have a Linux version of it. A simple bash script can do the trick, as it would not only work in Linux but also in other operating systems like macOS, OpenBSD, and so on.
EDIT: Please don't tell me look at "similar projects" section because most of the projects that are listed there are abandoned or are simply garbage imo.

Zapret is superior to GoodbyeDPI, and supports Linux.
https://github.com/bol-van/zapret/


MudNavLink OnClick event does not fire

MudNavLink OnClick event does not fire.

More information? i guess your are trying to do something else than just navigation to another page?

Good evening.
Please see the attached.
MudNavMenu in MaiLayout.
OnClick Link to Counter page.
I know I can use Href to navigate, but I wanted touse OnClick.
mbtest.zip

@SangAdv please produce a simple example on https://try.mudblazor.com and post the link here.  The zip you sent has too many files/variables for what sounds like a simple repro

Hello,
here is an example: https://try.mudblazor.com/snippet/QYmFkcFYVowMaRTh

This is still broken. In the example case
Logout 2
and
<MudNavLink @onclick="Logout" Href="javascript:void(0)" Match="NavLinkMatch.All">Logout 4
Do not work


VerificationException status: 2(INVALID_APP_IDENTIFIER) occurs when using verifyAndDecodeNotification method in Production Environment

Hello,
I hope this message finds you well.
I am currently using version 1.4.0 of your app-store-server-library-node.
However, when trying to verify the signedPayload received from the server notification for an auto-renewable subscription using the verifyAndDecodeNotification method, a VerificationException with {status: 2 and cause: undefined} occurs.
The parameters passed to create the verifier instance have remained the same, and this error has been occurring continuously from July 27th(KST) until today. There has been no change in the app id.
In this situation, I would like to know what I should check and what I can correct.
Please provide guidance on how to resolve this issue.
Thank you.

@LoisFromNeo The simplest thing to check is to either use a debugger or take the JWS and plug it into a JWS/JWT decoder and read out the bundleId and appAppleId from the notification. Does it match the bundleId and appAppleId you are passing into the SignedDataVerifier?

Yes, I just checked the app apple id and app bundle id in the signedPayload using the JWS decoder as you advised. As a result, I found that they match the values I’m passing as parameters when creating the verifier instance.

@LoisFromNeo In a debugger are they the same when you breakpoint the line that throws the error?

Yes, I debugged with VSCode debugger, and I was able to check the values are same. Could you let me know in what situations this exception might occur?

If the values are the same, the presumably it wouldn’t throw a mismatch exception

@LoisFromNeo to confirm, you are seeing
https://github.com/apple/app-store-server-library-node/blob/5f344871b21f3882611c5cf791b0c0ca7428d56f/jws_verification.ts#L74-L76
The bundle id values match but the equality is failing?

Yes, the values were indeed the same.
However, during the process of rewriting the code on our server to create the client library instance from JS to TS yesterday, we found that the Environment value was being passed as a variable defined by our server, instead of the constant value provided by the library, even though they were the same. Since it wasn’t TS, we weren’t able to verify if incorrect parameter values were being passed in the original Javascript code.
After fixing this and redeploying the server, the exception no longer occurs. I apologize for any confusion this may have caused :(

@LoisFromNeo Glad you were able to work it out!

I saw the same case as @LoisFromNeo said, where the APPLE_ID must be a numerical value, not a string.


Better Documentation

The readme needs updating + I want docs which show how to use the library and example code.

Examples added as of e4b5108f8726457c8d14eb0f9cff10042df796ab

Sphinx docs setup as of bbf0311448f0808d278c3935feb5e28d6796d1e1

I'm happy with the docs for v0.1


Doesn't work properly with auto-hiding menubar

Keybase GUI Version: 1.0.18-20161116190722+95f8303
On macOS 10.12.1, the GUI client doesn't operate properly in the menubar, like other menubar apps does when having the auto-hide menubar option enabled in macOS. Instead it appears underneath the menubar, and also doesn't keep the menubar in view, as it should.
It really doesn't work properly at all.

I noticed the same issue and just wanted to add a gif to illustrate the problem.


Fix correct arguments for React.PropTypes.oneOf

With newer React (15.3.0), it throws warning when the arguments is not an array.

Thanks @sntran is this the only place where we use oneOf?

@philolo1 There are many places, but their arguments are all valid, except these two places in Carousel.jsx.


TF2.0 - memory leak caused by autograph retracing due to bound method argument

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Fedora 30
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.0.0-beta0-16-g1d91213fe7 2.0.0-beta1
Python version: 3.5.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
Factoring out a train step function into our custom model lead to a memory leak due to continuously retracing the full autograph epoch dataset loop.
The root cause was that bound instance methods are not identical model.step is not model.step.
Describe the expected behavior
According to Issue 36175: Identity of bound methods - Python tracker this is supposed to be expected behavior in Python.
I merely want to clarify the autograph behaviour and document this for other tensorflow users.
I guess there might be reasons to use identity (is) comparison on arguments when deciding whether an autograph needs retracing, but if it were possible to use equality comparison (== ) for arguments that are methods this surprising behaviour could be avoided.
Code to reproduce the issue
import tensorflow as tf

@tf.function
def run_epoch(dataset, step):
    print('retrace')
    for X in dataset:
        step(X)

class Model:
    def step(self, X):
        return X * 2

dataset = tf.data.Dataset.from_tensor_slices(list(range(128)))
model = Model()

for i in range(20):
    # leads to retrace of run_epoch due to non-identity model.step
    # (i.e. `model.step is not model.step`)
    run_epoch(dataset, model.step)

Other info / logs
Possible workarounds:

store the bound method in a variable and thus keep using the same instance
step_fn = model.step
declare the method as @staticmethod and pass the model instance explicitly as first parameter

I have tried on colab with TF version 2.0 beta1 and was able to reproduce the issue.Please, find the gist here.Thanks!

@kkimdev @alextp FYI
This is a surprising and subtle behavior. I believe the proper fix would be to be resilient to this case, by comparing functions using the equality operator == instead of is:
>>> model.step is model.step
False
>>> model.step == model.step
True

In the mean time, another workaround I would recommend is to use the model object as argument, instead of methods:
for i in range(20):
    # passing the entire `model` avoids the retrace.
    run_epoch(dataset, model)

I concur that the best workaround is to just pass the model. I don't think relying on equality comparison instead of identity comparison for functions is ideal since equality comparison is more expensive and this would create a harder-to-understand mental model.

I concur that the best workaround is to just pass the model.

Well, our actual model has a train and eval step functions, and this refactoring was the result of reusing the same code for metrics computation. Passing both the model and a @staticmethod function is indeed the chosen workaround.
The performance argument seems mood, how would argument comparison play a measurable role w.r.t. executing an autograph function.
import timeit, types, tensorflow as tf

class Model:
  def step(self):
    pass

m = Model()
timeit.timeit('m.step is m.step', number=1_000_000, globals={'m': m})
timeit.timeit('m.step == m.step', number=1_000_000, globals={'m': m})
# still fairly fast
timeit.timeit('var == var if type(var) == types.MethodType else var is var', number=1_000_000, globals={'var': m.step, 'types': types})

@tf.function
def graph(model):
  pass

timeit.timeit('graph(m)', number=1_000, globals={'graph': graph, 'm': m})

But as mentioned I'm not positive that working around this specific Python detail in TF would be worthwhile, merely wanted to document it.


Outdated Pydantic version

Hi! Our systems rely on newer version of Pydantic (2.x+). However, Supabase python-client requires Pydantic < 2.0. This cause dependency conflicts and prevent us from using the client. Please let us know if there's a fix or work around for this.

I'm not sure why this isn't working for you as I've checked our dependency version constraints and you should be able to install Pydantic 2.x+. You can see our version constraint in our pyproject file https://github.com/supabase-community/auth-py/blob/main/pyproject.toml#L20

Closing this one out as haven't heard back from OP.


Text overlay time stamp issue

Any ideas why the text overlay shows a completely different time (2 hours 7minutes behind)? Date on the Raspberry OS is correct as well as the time stamp in the file name… I presume this is rather not a TZ issue.

For whatever reason… another restart (changed configuration) fixed the issue


Add sample for code upgrade

This change augments the existing hosts sample app to showcase code upgrade scenarios.

The example application leverages the new code proposal API to retrieve proposed code details, submit new proposals and subscribe to code proposal events. The application provides a user-friendly UI to display and manage code proposals.
Among other changes are:

Use of an auto-generated document IDs as opposed to the pre-determined "example" ID. This approach aligns with other samples.
Replace the web code loader with a custom in-memory code loader designed to demonstrate an application-specific code upgrade strategy.
Fix Tinylicious configuration to use the 7070 port.

Fixes #6169

@ChumpChief I finalized the PR changes. It's ready for the review. Thanks!

Thanks for taking time and providing valuable feedback!

I like the direction on this, my primary concerns are around

becoming overly-reliant on the URL
ensuring it's obvious to the demo user how the various buttons and fields relate to their real-world upgrade scenario flows.

Will give it another try to simplify the flow

Also, why is there a yarn lock file? Should that be removed?

I thought some build or tooling script generated it. Will delete. Thanks!

Well, I refactored the app using the simplified URL schema with no code query parameter. The app will simply pick the default package on container create and the code loader will emulate loading of the package satisfying the quorumed code details.
In theory, it should work. Too bad it doesn't.
And the problem is the code upgrade proposal is not saved in the summary snapshot as the container gets closed immediately after the proposal submitted. As a result, it's not possible to open the document as it will keep failing.

@ChumpChief Final revision with the simplified upgrade flow only allowing a one-time proposal 1.0.0 -> 2.0.0

Not sure why, but I was observing the first click of the upgrade button appears to have no effect (second click updates to 2.0.0 in the UI at least).

I filed an issue when I discovered this behavior #6589


Need a way to get dagman logs out of jobs

When something is wrong at the dagman level, we don't currently get any logs back to diagnose the problem.
My proposal:

push some sort of managed token to the schedd's that (only?) lets us copy out logfiles to dcache
update the dagman wrapper script to copy out dagman logs

Currently, we can sometimes get dagman logs by using jobsub_fetchlog --condor but it is not always successful.

Group approves of the general idea.
How do we handle credentials?  Two options:

Possibly use credential that credmon already has.  Need to change permissions on intervening dirs to o+x.
Use new managed token for this particular operation (As stated above)

Possibly send job logs elsewhere entirely, like loki.  Then teach jobsub_fetchlog to look there for dagman logs

What specific files are we talking about here? The DAG log files like dataset.dag.dagman.log are event logs, which are all already exported to Elasticsearch and browsable in Kibana. Do we just need a better interface to view those?

Well, POMS tries to fetch those logs from Landscape to check if submisisons still marked "New"  actually ran, etc.
https://github.com/fermitools/poms/blob/main/webservice/SubmissionsPOMS.py#L553
https://github.com/fermitools/poms/blob/main/webservice/condor_log_parser.py#L17
Of course, we could change that condor_log_parser code to call Elasticsearch or Kibana to get the data instead, but at the moment that functionality is broken.


Stepper component

⚠ THIS ELEMENT IS A SNOWFLAKE, DO NOT MERGE THE PR ⚠
This PR introduces the new Stepper component. At the moment, the abstract link is missing because this element is still a proposal.

@edoardocavazza why a PR instead of a separated branch such as snowflake/stepper?
Do you think this component will be merged in the DS?

As far as I know, there is draft of proposal for this component that is going to be submitted soon.

I report unexpected behavior: if I pass a z-stepper-item into the z-stepper slot, the display is correct, but if I pass, for example, a link tag that wraps the z-stepper-item, the separators are no longer visible (see attached image).

Hi @ufollettu, can you give a try to the new version with href attribute support?

Looks perfect! :)
Tests are broken though.


[✨] Parse query params in RequestEvent

Is your feature request related to a problem?
For API handlers, GET query parameters aren't parsed and provided on the RequestEvent argument.
Describe the solution you'd like
Would be really nice to have those parsed like req.query in Express.js
Describe alternatives you've considered
Parsing URL manually
Additional context
No response

Related https://github.com/BuilderIO/qwik/pull/2352


[bug] thread 'tokio-runtime-worker' panicked at 'Unable to get workspace root. Is moon running?

$ moon init asdf
? Initialize moon into /memfs/misc/asdf? (y/n) ›thread 'tokio-runtime-worker' panicked at 'Unable to get workspace root. Is moon running?', crates/core/utils/src/lib.rs:49:17
                                                                                note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
                                      fish: Job 1, 'moon init asdf' terminated by signal SIGABRT (Abort)

OS: FreeBSD 13.1-RELEASE
moon v0.25.0

@yonas Is this the latest version (0.25)? I'm unable to reproduce.
$ moon init asd
✔ Initialize moon into ~/Projects/proto/asd? · yes
? Initialize Node.js? (y/n) ›

Is memfs a memory only file system? I'm not entirely sure moon would work there.

@yonas Is this the latest version (0.25)? I'm unable to reproduce.

Yes, 0.25.0. commit 68ec8d9

Is memfs a memory only file system? I'm not entirely sure moon would work there.

Yes. I tried on a regular disk, but the issue persists.

@milesj It works fine on Linux. This seems to be specific to FreeBSD.

Interesting. If you pass RUST_BACKTRACE=1, is there a stack trace? If so, send it over so I can pinpoint exactly where it's failing.

Ok that helps to narrow it down.

@milesj Thanks, we got a little further:
$ RUST_BACKTRACE=1 moon init asdf
✔ Initialize moon into /memfs/asdf? · yes
✔ Initialize Node.js? · yes

 NODE

✔ Package manager? · npm
✔ Use package.json names as moon project aliases? · yes
✔ Infer package.json scripts as moon tasks? (not recommended) · yes
✔ Initialize TypeScript? · yes

 TYPESCRIPT

✔ Use project references? · yes
✔ Route declaration output to moons cache? · yes
✔ Sync project references as path aliases? · yes

moon has successfully been initialized in /memfs/asdf
thread 'main' panicked at 'Unable to get workspace root. Is moon running?', crates/core/utils/src/lib.rs:49:17
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: moon_utils::get_workspace_root
   3: moon_launchpad::check_version::{{closure}}
   4: moon_cli::run_cli::{{closure}}
   5: moon::main::{{closure}}
   6: moon::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
fish: Job 1, 'RUST_BACKTRACE=1 moon init asdf' terminated by signal SIGABRT (Abort)

That's odd. Init should create the .moon folder, so why does it still panic? 🤔

Oh, I get it now. The .moon folder is in the asdf folder, but you're actually up in the parent running the command. That makes more sense. Let me just work around this panic instead.

@milesj Thanks! Which commit fixes https://github.com/moonrepo/moon/issues/655#issuecomment-1450059596 ?


fix duration bugs and Chinese bugs

Duration bug: 30-mins, 30-min
Duration bug: a hour and half, two and half hours
Chinese bug: 2点-明天4点, the left time should be understood as today
Chinese bug: 下周， next week

@rubio41,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[Hotfix][Bot Service] added location as specified by user to bot creation for regionality/EUDB

Description

Previously the location parameter as specified by the user in the az bot create command was not actually used. This was okay previously because all bot resources are global. However due to EU data boundary work, we now support creation of Europe and United States regional bots and guarantee data residency for such bots. Because this is not a breaking change, and the lack of propagation of this property is technically a bug, we would prefer to take this change as a hotfix.
Testing Guide

Test cases:
To validate existing functionality

run az bot create without a location
run az bot create with "global" as the specified location
(can only be included when the ARM manifest is able to be updated in January for the service) run az bot create with "westeurope" or "westus2" as the location parameter

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

The label "customer-reported" was added, but fyi in case this is unclear I work in the bot service team and this is a needed change for EU regionality in Q1

Bot Service

@jiasli friendly ping

FYI @jiasli, @munozemilio is the new maintainer for the Bot Service Command Module (az bot).

@stevengum Hi, as the Chinese Spring Festival is coming, it is a holiday season for Chinese team, so we expect to release this PR in 02-08. Do you think this time is acceptable?
If so, please submit this PR into the remote dev branch
If not, please give the justification that this PR is urgent

hi @zhoxing-ms that timeframe is fine, I have switched over to target dev


Replacing rimraf with custom module

Pull Request Test Coverage Report for Build 1104

12 of 26 (46.15%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.4%) to 94.231%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/utils/rmrf.js
10
24
41.67%

Totals

Change from base Build 730:
-2.4%

Covered Lines:
651

Relevant Lines:
690

💛  - Coveralls

@lholmquist Probably more tests required in utils/rmrf.js itself.

Yea,  we need to actually test the rmrf function.  Have you you tried to actually test locally that it works with a test project

@lholmquist Yeah, I've tested the rmrf function as a single unit and in my forked nodeshift itself and it works fine (same result as rimraf). The question is how we can write tests for a module that has side-effects with the disk. 🤔

probably will need to mock those api's that do disk operations

I can give this approach a try 👍

you can run npm run coverage:html and then open the index.html in the coverage folder to get a good visual of what coverage is missing


Fix Links

Cyborg Guide Button css broked :cry:

 Avoid connecting to wallet when navigating pages

Not sure why, but spacing is looking weird and Connect Wallet button is not working anymore
Previous: https://dreamy-gates-ad44c0.netlify.app/
Now: https://deploy-preview-36--dreamy-gates-ad44c0.netlify.app/

Nevermind, the problem was already happening. Opened a card to address this: https://trello.com/c/uQyNPyxG/237-connect-wallet-button-is-irresponsive-if-the-user-closes-the-pop-up


Round 2: Initial EDA

EDA - HAM10000 - Metadata (new structure)
1 + 2 Importing and loading data

Data Exploration

3.1 Descriptive Statistics (lesion_id, image_id, dx, dx_type, age, sex, localization, dataset)
3.2 Confronting Emerging Issues (Missing Values in age)
3.3 Relational Statistics (Contingency Analysis on dx: dx_type, sex, localization, dataset; Chi2-Test; Age per Diagnosis)
3.4 Risk Ratio (Localizazion and Melanoma, Localization and basal cell carcinoma, Localization and keratoses)
4 Confronting Emeging Issues (Imbalanced diagnoses; localization; Age and Sex,...) --> still legacy from earlier version


Clean up un-used code

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

:exclamation: No coverage uploaded for pull request base (improve_doc@da60f21). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff               @@
##             improve_doc      #11   +/-   ##
==============================================
  Coverage               ?   39.58%
==============================================
  Files                  ?       38
  Lines                  ?      715
  Branches               ?      175
==============================================
  Hits                   ?      283
  Misses                 ?      356
  Partials               ?       76

Flag
Coverage Δ

integration
39.58% <ø> (?)

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.


Bounty5 exploit

By @ConnorRigby in #7

Apologies I completely missed these PRs - thanks for your contribution :-)


FR: Browser extensions.

It would be nice to have REPL in browser :)
//cc @sebmck @thejameskyle

What do you mean?

I meant something like this maybe we can reuse the same or even better convince the author to add 6to5 :)

Something like this.

Should probably be done as a community extension instead of something officially supported and maintained.

Makes sense, let see who all can pitch in here and decide :)?

I'm open to creating a repo on the 6to5 org and endorsing it if someone is willing to make and maintain it.

I can! :)

Great! Let me know what you want the repo called and I'll create/add you and whoever wants to help.

Thanks for the ping :)
I'd be up for adding it as an option or switching it entirely. I imagine the real benefit of using 6to5 in that case would be displaying the output rather than simply executing it, much like the CoffeeConsole, then execution of it would be another option.
Currently I have it working in Chrome & Opera, so presumably it will also work in Spartan. FF however has a number of outstanding issues currently with the extension SDK, but I'd be happy to jump back into it to see if I can get things running.

6to5-REPL-Extension sounds OK? @sebmck
@richgilbank Awesome!

@hemanth I've created the repo browser-extension.
@richgilbank Let me know if you want to collaborate and I'll add you too.
Thanks everyone!

@sebmck Thank you!


Load page

[x] Load dataset button
[x] Choose dataset type
[x] Choose signals and pre-selection
[x] Show summary in results column

currently using dummy data

[ ] ...

pre-select timestamps instead of frames (using metadata only)
add explanation that pre-selection is optional


How to get floating Shapes and formatting panels

Sorry I cannot find any info on this.. I noticed my test setup has windowed shapes and format panels (inside an mxWindow), rather than the usual anchored panels. Is there a configuration option that determines if the panels are anchored versus windowed?
Thanks

Maybe try Settings, Theme, Classic.

Yep. I found themes. Thanks


Beatlist takes precedence over ModAssistant in opening one-click install links

Having an option as simple as a checkbox for turning this off would be great, especially for scripts that open beatsaver:// urls in order to download songs based on certain criteria.

Related to #14, this is a known bug and I will fix it. I know I'm slow with release but late or not, it will happens one day :D. I know some user downloaded an older version where I haven't implemented it yet. A temporary solution is given in the #14 too.

This is fixed in 1.2.0 which just go released. Closing the issue. You now have choice to let either beatlist or mod assistant.


Omniauthable deleted on UsersConcern : Why ?

see

This gem supports multi user authentication with omniauth, standard devise does not.
It was easier to exclude the devise module and write a custom version from scratch than it was to monkey-patch the existing module.


Some objects inactive after pull

Hello,
I was told by more than one user that, when installing abapBlame, table type object ZBLAME_PART_REF_T is created but remains inactive. And indeed this is happening.
This table type's line is a reference to another class. I wonder if it remains inactive due to the order in which different object types are activated.
When I tried to test this in my own system, I upgraded abapGit to its latest version and, much to my surprise, two of it objects were also left in an inactive state.
Please let me know if you need any more information.
Thank you and regards,
Nuno

for ZBLAME_PART_REF_T suggest defining as a type in zif_blame_object, typically its not needed to have ddic referencing CLAS or interface objects
in abapGit, the ddic objects are activated first, before abap code

ref #606

Understood. Will do. Thanks!

This should work

Hi Nuno,
I tested with abapBlame on my 750 SP 19 system and the current developer version of abapGit (v1.105+).  I checked out commit 0d3387 which was the last before you removed ZBLAME_PART_REF_T.
All objects are pulled correctly without any errors. The table type is active and correctly referencing the class:

I'll close this again, but if you come across the problem again, feel free to open a new issue.
PS: "Checkout commit" was awesome for this type of analysis. Thx @mariusraht2 @EduardoCopat 👍

ref https://github.com/abap2xlsx/abap2xlsx/issues/986


Test CI

This is test PR to check whether CircleCI has been fully disabled (xref https://github.com/dask/dask-mpi/issues/62)

No CircleCI checks 🎉 Closing

No CircleCI checks 🎉 Closing

@jrbourbeau:  Thank you!

@jrbourbeau:  Thank you!


Module Usage

In prior versions of MiDaS you could just load the models and use them via modules. But now it seems with the new models you're left with only using the CLI script? That's not very conducive with usage. How can I run the latest model within my functions? I see no usage other the cumbersome CLI script
        torch.hub.set_dir(self.midas_dir)
        midas = torch.hub.load("intel-isl/MiDaS", midas_model, trust_repo=True)
        device = torch.device("cuda") if torch.cuda.is_available(
        ) and use_cpu == 'false' else torch.device("cpu")

        midas.to(device).eval()
        midas_transforms = torch.hub.load("intel-isl/MiDaS", "transforms")

        if midas_model == "DPT_Large" or midas_model == "DPT_Hybrid":
            transform = midas_transforms.dpt_transform
        else:
            transform = midas_transforms.small_transform

        # Do some predictions

The issue is PyTorch hub doesn't have the latest models. And even if you have them local, PyTorch Hub doesn't have the right conf

Same issue please help with this.


AttributeError: 'CompiledStateGraph' object has no attribute 'copy

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangGraph/LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangGraph/LangChain rather than my code.
[X] I am sure this is better as an issue rather than a GitHub discussion, since this is a LangGraph bug and not a design question.

Example Code
workflow.add_conditional_edges(
    "tools",
    route_tool_results,
    {
        "assistant": "assistant",
        "update_transactions": "update_transactions"
    }
)
workflow.add_edge("ask_human", "assistant")
workflow.add_edge("update_transactions", "assistant")

# The checkpointer lets the graph persist its state
# this is a complete memory for the entire graph.
memory = MemorySaver()
graph = workflow.compile(checkpointer=memory, interrupt_before=["ask_human"],)

Error Message and Stack Trace (if applicable)
langgraph-api-1       | 2024-09-06T04:08:36.068536Z [error    ] Background run failed          [langgraph_api.queue] api_revision=a4cec24 api_variant=licensed run_created_at=2024-09-06T04:08:35.993513+00:00 run_ended_at=2024-09-06T04:08:36.068297 run_exec_ms=1 run_id=1ef6c05b-0427-6f80-894f-61d9743f0482 run_started_at=2024-09-06T04:08:36.066956+00:00
langgraph-api-1       | Traceback (most recent call last):
langgraph-api-1       |   File "/api/langgraph_api/queue.py", line 92, in worker
langgraph-api-1       |   File "/usr/local/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
langgraph-api-1       |     return fut.result()
langgraph-api-1       |            ^^^^^^^^^^^^
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 225, in consume
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 213, in consume
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 90, in astream_state
langgraph-api-1       |   File "/api/langgraph_api/shared/graph.py", line 87, in get_graph
langgraph-api-1       | AttributeError: 'CompiledStateGraph' object has no attribute 'copy'

Description
HI Team
I started getting the following error when doing
this.client.runs.stream(
      this.thread.thread_id,
      this.assistant.assistant_id,
      { input, streamMode: 'messages' }
    ))

im running langgraph up
➜  langgraph-pyproject git:(master) ✗ langgraph up
Starting LangGraph API server...
For local dev, requires env var LANGSMITH_API_KEY with access to LangGraph Cloud closed beta.
For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KEY.
Ready!
- API: http://localhost:8123
- Docs: http://localhost:8123/docs
- Debugger: https://smith.langchain.com/studio/?baseUrl=http://<IP_ADDRESS>:8123
langgraph-api-1       | 2024-09-06T04:07:24.911340Z [info     ] Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit) [uvicorn.error] api_revision=a4cec24 api_variant=licensed color_message=Uvicorn running on %s://%s:%d (Press CTRL+C to quit)
langgraph-api-1       | 2024-09-06T04:07:25.657213Z [info     ] GET /ok 200 1ms                [langgraph_api.server] api_revision=a4cec24 api_variant=licensed latency_ms=1 method=GET path=/ok path_params={} route=None status=200
langgraph-api-1       | 2024-09-06T04:08:25.730401Z [info     ] GET /ok 200 0ms                [langgraph_api.server] api_revision=a4cec24 api_variant=licensed latency_ms=0 method=GET path=/ok path_params={} route=None status=200
langgraph-api-1       | 2024-09-06T04:08:28.330420Z [info     ] POST /assistants 200 2ms       [langgraph_api.server] api_revision=a4cec24 api_variant=licensed latency_ms=2 method=POST path=/assistants path_params={} route=/assistants status=200
langgraph-api-1       | 2024-09-06T04:08:28.336284Z [info     ] POST /threads 200 2ms          [langgraph_api.server] api_revision=a4cec24 api_variant=licensed latency_ms=2 method=POST path=/threads path_params={} route=/threads status=200
langgraph-api-1       | 2024-09-06T04:08:36.067077Z [info     ] Starting background run        [langgraph_api.queue] api_revision=a4cec24 api_variant=licensed run_created_at=2024-09-06T04:08:35.993513+00:00 run_id=1ef6c05b-0427-6f80-894f-61d9743f0482 run_queue_ms=73 run_started_at=2024-09-06T04:08:36.066956+00:00
langgraph-api-1       | 2024-09-06T04:08:36.068536Z [error    ] Background run failed          [langgraph_api.queue] api_revision=a4cec24 api_variant=licensed run_created_at=2024-09-06T04:08:35.993513+00:00 run_ended_at=2024-09-06T04:08:36.068297 run_exec_ms=1 run_id=1ef6c05b-0427-6f80-894f-61d9743f0482 run_started_at=2024-09-06T04:08:36.066956+00:00
langgraph-api-1       | Traceback (most recent call last):
langgraph-api-1       |   File "/api/langgraph_api/queue.py", line 92, in worker
langgraph-api-1       |   File "/usr/local/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
langgraph-api-1       |     return fut.result()
langgraph-api-1       |            ^^^^^^^^^^^^
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 225, in consume
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 213, in consume
langgraph-api-1       |   File "/api/langgraph_api/shared/stream.py", line 90, in astream_state
langgraph-api-1       |   File "/api/langgraph_api/shared/graph.py", line 87, in get_graph
langgraph-api-1       | AttributeError: 'CompiledStateGraph' object has no attribute 'copy'

Have tried all the usual suspects
deleting all my docker images
docker system prune
poetry upgrade
but no luck
System Info
System Information

OS:  Linux
OS Version:  #1 SMP PREEMPT_DYNAMIC Mon Aug 19 14:09:30 UTC 2024
Python Version:  3.12.5 (main, Aug  7 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)]

Package Information

langchain_core: 0.1.52
langchain_community: 0.0.38
langsmith: 0.1.77
langchain_cli: 0.0.25
langserve: 0.2.2

Packages not installed (Not Necessarily a Problem)
The following packages were not found:

langgraph

This issue is fixed in the latest version, sorry about the disruption


Add Pub/Sub template (cloud-foundation/templates/pubsub)

Go nuts and create a PR against google's cloud-foundation branch


Upgrade to rasterio.crs.CRS throughout

rasterio updated to a CRS class in 0.36.
We can work out a thin update to this now, but longer term we need to cleanup our usage.

Mostly fixed in ce1759442ec6fd93e6d59b56f747a3e37166b6a5 but we need to do a cleaner job of this later.


Behavior Tree

https://youtu.be/YHUQY2Kea9U
https://github.com/salianifo/godot-behavior-tree-example/tree/godot4

[ ] behavior tree root
[ ] composite base class
[ ] sequence
[ ] selector
[ ] action
[ ] decorator

Unless someone wants to create epic debug tools like beehave has, I cannot justify the time and effort when beehave exists.


[AppService]: fix #19617- az webapp ssh Open Web SSH on the specified instance

Description

Currently az webapp ssh opens Web SSH n the following line, but the argument instance of the function ssh_webapp is ignored.
This causes that the CLI user cannot control to connect instance on Windows command prompt even though --instance option for az webapp ssh is used.
Testing Guide

az webapp ssh -n MyUniqueAppName -g MyResourceGroup --instance MyInstance
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AppService

@parth21999 made few changes to test_logicapp_e2e to make the build success. please review and let me know for any changes.

Build is failing due to the container module tests are failing.

@zhoxing-ms we have mock tests are already in place to verify this.


[Beacon] Create the design and content for the web page

Overview
There is a basic UI included in Lighthouse.  This UI and content could use some refinements / improvements.
Additional Information

See the epic #22 for the overarching descriptions of the work.

Acceptance Criteria

[ ] Final designs are available and provided to the engineer
[ ] Content is drafted and included in the web page

Info from Kenny:

clicking the ‘options’ cog changes the display to this

so basically i’m think we just simplify the extension popup from the screenshots with a simple ‘audit’ button (or whatever copy) using Carbon components, and maybe some sort of beacon icon?

If all we are is providing them in the popup is a button to click to "audit" the page, then another thing to consider is not using a pop up, and just leverage the browser action to avoid a potential unnecessary additional click.

Icon explorations
Feedback from the design team led me to try out some additional icons using the B and simplifying as much as possible so the icon shines in the extension placement and size.

I selected these three icons to use in the mock ups so we could see a range of icon variations, and also applied the app icon gradients so we could see how those might look in the marketing images required by Google extensions.

Extension UI
After with @kennylam about what is being audited I used some of the language from the Beacon page on our website to add a bit of a description as to what the extension will do. The Learn more is optional, it could link to the Beacon page on our website so users can review what is being evaluated.
I explored three different widths for the extension:

Option 1 256px
Option 2288px
Option 3320px

I'm thinking we could set the extension to change color with the system preferences, so if the user has dark mode set on their system preferences, the extension would change to match.
Browser mock ups
I have mocked up three of the icons within the browser for us to get an idea of the size and what it might look within the browser. Any of the icons or extension UI options can be swapped out, for this purpose I paired them in order:
1a

2b

3c

Well done! Thank you Olivia!


Script MQTT subscription - extracting payload for further processing

Creating an issue based on the response in the discussion forum.
I have the OAK-D Pro PoE and need to use MQTT-based communication. I am on Windows 11 and using the Python API of depthai (v<IP_ADDRESS>). I can successfully publish from camera based on this example.
However, I'm facing a strange issue when trying communication the other way i.e., getting messages to the camera via MQTT. I can successfully subscribe to a topic in a script and see messages correctly coming in inside the on_message callback. However, I can't get the payload value to the surrounding context, which I have tried using a global variable. A minimum reproducible example code below. The global keyword doesn't seem to do anything in on_message as the value of msg inside the while loop of the script is simply the initialised blank value.
import depthai as dai
import time

pipeline = dai.Pipeline()

script = pipeline.createScript()
script.setProcessor(dai.ProcessorType.LEON_CSS)

# Change the IP to your MQTT broker!
MQTT_BROKER = "<IP_ADDRESS>"
MQTT_BROKER_PORT = 1883
MQTT_TOPIC = "oak_d/detection/m"
script_text = f"""
    import time

    msg = ''

    def on_message(client, userdata, message, tmp=None):
        global msg
        msg = message.payload.decode('utf8')
        node.warn(' In on_message, message: ' + msg)

    mqttc = Client()
    node.warn('Connecting to MQTT broker...')
    mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
    node.warn('Successfully connected to MQTT broker!')
    mqttc.subscribe("{MQTT_TOPIC}", 2);
    mqttc.on_message = on_message
    mqttc.loop_start()

    while True:
        time.sleep(1)
        node.warn(' In main loop, message: ' + msg)
"""

with open("paho-mqtt.py", "r") as f:
    paho_script = f.read()
    script.setScript(f"{paho_script}\n{script_text}")

with dai.Device(pipeline) as device:
    while True:
        try:
            time.sleep(1)
        except KeyboardInterrupt:
            break

Output of running this code:

Hi @asahtik, thanks for reporting the issue and the MRE.
I can reproduce it and will be investigating a bit why the global variables don't work as expected in this case,
because they do work with simple examples, which is strange.
For your specific usecase though, there is a simple workaround:
import depthai as dai
import time

pipeline = dai.Pipeline()

script = pipeline.createScript()
script.setProcessor(dai.ProcessorType.LEON_CSS)

# Change the IP to your MQTT broker!
MQTT_BROKER = "<IP_ADDRESS>"
MQTT_BROKER_PORT = 12345
MQTT_TOPIC = "oak_d/detection/m"
script_text = f"""
    import time
    msg = ''
    class Test:
        def __init__(self):
            self.msg = ''
        def on_message(self, client, userdata, message, tmp=None):
            self.msg = message.payload.decode('utf8')
            node.warn("In on_message, message: " + str(self.msg))

    test = Test()
    # Create a lambda that will call the test.on_message method
    on_message = lambda client, userdata, message, test=test: test.on_message(client, userdata, message)

    mqttc = Client()
    node.warn('Connecting to MQTT broker...')
    mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
    node.warn('Successfully connected to MQTT broker!')
    mqttc.subscribe("{MQTT_TOPIC}", 2);
    mqttc.on_message = on_message

    while True:
        mqttc._loop()
        time.sleep(1)
        msg = test.msg
        node.warn(' In main loop, message: ' + msg)
"""

with open("paho-mqtt.py", "r") as f:
    paho_script = f.read()
    script.setScript(f"{paho_script}\n{script_text}")

with dai.Device(pipeline) as device:
    while True:
        try:
            time.sleep(1)
        except KeyboardInterrupt:
            break

I tested it and it works as expected, but don't hesitate to ask if you have any issues with it.

Ha, I found the issue!
The global variables were not really global, because of indentation... the whole script became a part of the last class in paho-mqtt.py.
So the assembled script looked like this:
class WebsocketWrapper(object):
    OPCODE_CONTINUATION = 0x0
    OPCODE_TEXT = 0x1
    OPCODE_BINARY = 0x2
    OPCODE_CONNCLOSE = 0x8
    OPCODE_PING = 0x9
    OPCODE_PONG = 0xA

    def __init__(self, socket, host, port, is_ssl, path, extra_headers):

        self.connected = False

        self._ssl = is_ssl
        self._host = host
        self._port = port
        self._socket = socket
        self._path = path

        self._sendbuffer = bytearray()
        self._readbuffer = bytearray()

        self._requested_size = 0
        self._payload_head = 0
        self._readbuffer_head = 0

        self._do_handshake(extra_headers)

    def __del__(self):

        self._sendbuffer = None
        self._readbuffer = None
        .
        .
        .
        mqttc = Client()
        mqttc = Client()
        node.warn('Connecting to MQTT broker...')
        mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
        node.warn('Successfully connected to MQTT broker!')
        mqttc.subscribe("{MQTT_TOPIC}", 2);
        mqttc.on_message = on_message
        mqttc.loop_start()
       ....

Removing the indentation in your original script works as expeced:
script_text = f"""
import time

msg = 'original'

def on_message(client, userdata, message, tmp=None):
    global msg
    node.warn('Msg before is ' + msg)
    msg = message.payload.decode('utf8')
    node.warn(' In on_message, message: ' + msg)

def test_global():
    global msg
    msg = 'test_global'

mqttc = Client()
node.warn('Connecting to MQTT broker...')
mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
node.warn('Successfully connected to MQTT broker!')
mqttc.subscribe("{MQTT_TOPIC}", 2);
mqttc.on_message = on_message
mqttc.loop_start()

while True:
    time.sleep(1)
    node.warn(' In main loop, message: ' + msg)
"""

Ha, I found the issue!
The global variables were not really global, because of indentation... the whole script became a part of the last class in paho-mqtt.py.
So the assembled script looked like this:
.
.
.
class WebsocketWrapper(object):
    OPCODE_CONTINUATION = 0x0
    OPCODE_TEXT = 0x1
    OPCODE_BINARY = 0x2
    OPCODE_CONNCLOSE = 0x8
    OPCODE_PING = 0x9
    OPCODE_PONG = 0xA

    def __init__(self, socket, host, port, is_ssl, path, extra_headers):

        self.connected = False

        self._ssl = is_ssl
        self._host = host
        self._port = port
        self._socket = socket
        self._path = path

        self._sendbuffer = bytearray()
        self._readbuffer = bytearray()

        self._requested_size = 0
        self._payload_head = 0
        self._readbuffer_head = 0

        self._do_handshake(extra_headers)

    def __del__(self):

        self._sendbuffer = None
        self._readbuffer = None
        .
        .
        .
        mqttc = Client()
        mqttc = Client()
        node.warn('Connecting to MQTT broker...')
        mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
        node.warn('Successfully connected to MQTT broker!')
        mqttc.subscribe("{MQTT_TOPIC}", 2);
        mqttc.on_message = on_message
        mqttc.loop_start()
       .
       .
       .
       .

Removing the indentation in your original script works as expeced:
script_text = f"""
import time

msg = 'original'

def on_message(client, userdata, message, tmp=None):
    global msg
    node.warn('Msg before is ' + msg)
    msg = message.payload.decode('utf8')
    node.warn(' In on_message, message: ' + msg)

def test_global():
    global msg
    msg = 'test_global'

mqttc = Client()
node.warn('Connecting to MQTT broker...')
mqttc.connect("{MQTT_BROKER}", {MQTT_BROKER_PORT}, 120)
node.warn('Successfully connected to MQTT broker!')
mqttc.subscribe("{MQTT_TOPIC}", 2);
mqttc.on_message = on_message
mqttc.loop_start()

while True:
    time.sleep(1)
    node.warn(' In main loop, message: ' + msg)
"""

Oh gosh! Such a silly but subtle one. When first learning Python many years ago, I knew that its indentation-based scoping/grouping would get me someday. It finally happened!
Thanks so much for your help!


How to publish karate-cucumber html report over email through jenkins emailext plugin ?

I am looking for some guidance to publish karate-cucumber report over email through jenkins .
I tried using emailext plugin of jenkins but while calling the overview-features.html from emailext body , broken links were shown in email body.

@neepa123 please ask questions like this on stack overflow: https://stackoverflow.com/questions/tagged/karate
also refer this, as it may be relevant: https://github.com/karatelabs/karate/issues/2132 - code contributions are welcome


ssz merkle multi prover/verifier

Fixes #35.
I'm currently trying to add support for generating ssz merkle multi proofs, follwing the ssz spec. I'm breaking down the work into multiple commits:
Fist I added the neccessary runtime reflection code needed for get_generalized_index for SszObjects.
Then I introduced the proof generation code, based on this runtime reflection.
Apologies for the cargo fmt changes, i don't like to format my code by hand.
edit(ralexstokes): link issue

@ralexstokes still interested in this?

@seunlanlege I am, although I haven't had time to digest all of the reflective code here -- I am wondering if there is a way to move it to compile-time; pushing most of the logic in this PR to some proc macro and then only doing the bare minimum at runtime, e.g. interpreting GeneralizedIndices and returning parts of the backing Merkle tree

hey @seunlanlege thanks for this! I'm going to close this PR as I have settled on the compile-time route for generalized index computation currently on main, and I've started working on a proving scheme in #131 to support basic (single) merkle proofs.
if you wanted to look at multiproof generation + verification following this work, would be happy to discuss further :)

hey @seunlanlege thanks for this! I'm going to close this PR as I have settled on the compile-time route for generalized index computation currently on main, and I've started working on a proving scheme in #131 to support basic (single) merkle proofs.
if you wanted to look at multiproof generation + verification following this work, would be happy to discuss further :)

Interesting stuff, glad you were able to finally figure it out. Unfortunately I won't have the bandwidth to contribute further at this time. We're already using my runtime-indexing approach in our beacon chain consensus prover for hyperbridge.
It Works pretty well, and it's already been live on our testnet since last year infact we're just about to go through audits for mainnet. We will definitely look into maybe switching to the compile time version once it's ready :D


Remove @Incubating from LifecycleBasePlugin package

Fixes #?
Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@gradlewaregitbot help

@bot-gradle help

Currently I support the following commands:

@bot-gradle test {BuildStage} to trigger a build

e.g. @bot-gradle test SanityCheck plz
SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease are supported
test this means test ReadyForMerge
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.

@bot-gradle help to display this message

@bot-gradle test SanityCheck

OK, I've already triggered SanityCheck build for you.

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.


Force combine_hash to produce int values

Explain what's the issue in the commit message

Looks good, except David and Martin's comments

Looks good still, but see comment


[WIP] Upgrading build process

Feature branch

No more virtual machine proxy for dcos ui. Proxy is part of dev server.
Now have hot loading on dev server.
No hard coded references to external plugins. External plugins location is now
completely configurable with DCOS_UI_PLUGINS env variable. Now have full flexibility of where plugins are in relation to dcos-ui and the plugin directory name.
No more copying over plugins into dcos-ui repo via gulp. Webpack will load and watch plugins specified in the DCOS_UI_PLUGINS directory.
Use webpack's watch for all files. No more gulp watch.
Full cache busting on all files. Every file (images, css imports e.g. icons, css, Js) has webpack's build hash prepended to it's file name. [hash]-name.[ext].
Reduced built bundle to only 1.54MB (1.7MB with plugins) of JavaScript and 400kB of css. Reduced dev bundle size from 11MB of JavaScript to 7MB. Force React to build with NODE_ENV=production to reduce footprint of React. Pruned fixtures from production build.
Dev build process no longer includes long running tasks like image optimization.
Everything is now linted including unit and integration tests.
Linting runs on plugins and dcos-ui on every file change and results show in terminal.
Lint errors now force CI testing to fail early.
Styles (css, less, sass) and images (png, jpeg, svg, etc) can now be bundled within plugins easily and imported as regular modules import avatar from '../img/avatar';

Open PRs:
https://github.com/dcos/dcos-ui/pull/51
https://github.com/dcos/dcos-ui/pull/52
https://github.com/dcos/dcos-ui/pull/53
https://github.com/dcos/dcos-ui/pull/54

Reviewer: @philipnrmn

Nice work!


Error Line number and *.py file line number do not match in Python Interactive mode

Issue Type: Bug
The displayed error is line 317 in the Python Interactive window, but the line is actually 319 in the .py file. This seems to happen with all errors.
Extension version: 2020.3.69010
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (8 x 3518)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.94GB (6.00GB free)

Process Argv

Screen Reader
no

VM
0%

Thank you for reporting the issue. I'm trying to reproduce it but I can't. When I run a cell with an error in it it always gives the correct line. Something that does happen is, for example, if you execute a cell with an error on line 50, then add code before that, the error will still read line 50 even if the line changed. But if you run the cell again the error displays the correct line.
Is this what's happening to you or the line is always wrong?
Does it happen if you restart the kernel?

I restarted the kernel and it still is happening. I inserted an error at line 341 and the value error is reported for line 339. Somewhere it is missing 2 lines in the debugger or VS Code is adding 2 lines to the count for the script.
I opened the script in Notepad++ and it also shows line 341 as where I inserted the error.
I moved the error up to line 166 and the debugger is reporting line 165. Something is not getting counted as a line.
I moved the error to line 170 and suddenly it is reporting line 170. I am lost.
I moved the error to 171 and the debugger is reporting line 170. Line 170 is blank.
I moved the error to 172 and it is still reporting line 170. Lines 170 and 171 are blank.
I have it now!!!
I am running VS Code in the hybrid Python Interactive mode, where #%% and # In[index]: brake up the script into cells. The # In[2]: format comes from exporting a JupyterLab notebook to a Python script. I get the same error, whether I use the #%% or the # In[2]:
The debugger is not counting the lines between the #%% and the next line of code. If I add 3 blank lines, then the line count is off by -3. If I eliminate the bland lines after the #%%, then the debugger line count is correct.
I was leaving one line blank, but as a quick solution I will delete the first blank line at the beginning of each cell.

Glad to hear you found a work around. Also, thank you for investigating.
I'm going to leave this open and change it a bit to solve it later.

Example: the error is on line 9 on the py file and on line 8 in the interactive window.

You can get this same error if you call a function from a cell that comes after its definition. Here is a little example to reproce this behavior.
#%%
def func():
    return 1/0

#%%
func()

And here is the output. Notice how the error shows the function definition on line 6 and 7 even though it was defined before.

Tested with the divide by zero example. Line number now match up. Validated.


No typedef for connect.core.getEventBus()

Hey Amazon Connect Team!
I'm attempting to migrate our amazon-connect-streams dependency from version 1 to 2 (currently using 2.13.1). In version 1, we would access the EventBus by calling connect.core.getEventBus(), but after migrating to version 2, the compiler complains that the function is not defined.
Is there any documentation or other resources that can explain why this was changed and what new usage is expected, or does it just need to be added to the types file for TypeScript compatibility?

Apologies, I see that there is a PR that has been awaiting reviewal for some time now (#666 ). I can work around the issue with some type casting for now and will close the issue!


Serving from subdirectory (e.g. /blog)

I'm trying to run the template under domain of the format www.domain.com/blog
I've configured the url in _config.yml appropriately but the template uses relative paths on many places and those point to the root of the domain.
Is there an easy way to fix this (any configuration that I'm missing?) or do I have to change relative paths to absolute paths everywhere?

Could you provide some examples of those paths? Thanks!

All assets for example. The CSS doesn't load because it's linked the following way:
<link rel="stylesheet" href="/assets/light.css">
The / in front makes it look for the assets folder in the root of the domain. Actually just removing that slash in front should fix the problem. Where do you generate the assets paths? I could take a look and try to fix it.

Have you added baseurl in _config.yml?
If you have, this could be an issue with jekyll-assets not taking into account such parameter. Do you have a repo online to reproduce this?

Adding baseurl worked for the assets. However posts link still don't work. Now they include the baseurl with a / in front which breaks it. Here's an example post link:
/https://domain.com/blog/posts/introducing-chalk
Also after this works I would suggest adding the baseurl to the _config.yml as well. Maybe it is apparent for users experienced with Jekyll. However I was totally unaware of the existence of this parameter and its difference to the url parameter.
Thanks for the quick responses!

Oops my bad. I added the whole url to baseurl while I was supposed to only add /blog there. I think that fixes it!
Thanks for the help!!

Glad that helped! :smile:
I agree, some users have had the exact same issue.
Feel free to submit a PR adding that parameter and a small comment!


Enable URL auto-linking

See https://docs.gitlab.com/ee/user/markdown.html#url-auto-linking
This behavior corresponds to default Confluence behavior when you insert a simple URL.
Would it be nice to have this feature? Maybe this behavior can be enabled/disabled via cmdline option?
At the moment you need the following to have link in Confluence which is clickable:
See [https://foobar.com](https://foobar.com) for more information.

Instead of:
See https://foobar.com for more information.

On the other side there might be cases where you explicitly do not want a URL to be clickable :thinking:

This would likely require a regular expression to scan into text nodes in a Markdown AST. The regular expression should be robust against accidentally picking up something that may resemble but is not in fact a URL.

Correct, but looks like this is not that easy. However, after quick search I found this here https://mathiasbynens.be/demo/url-regex where for example the following might be good enough:
@^(https?|ftp)://[^\s/$.?#].[^\s]*$@iS

The Markdown to Confluence converter is depending on the Python-Markdown package for parsing Markdown documents into an HTML string, which is then parsed into an HTML element tree with lxml. I believe the best place to identify and capture "naked" links is in the Markdown parsing phase. I have found that the extension MagicLink in PyMdown adds auto-linking support to Python-Markdown, which I have enabled. A naked link example has been added to the sample document.


Init batch

The plan was to merge in the batch changes from a fork of this repo (see MideTechnology/endaq-python-batch-dev). However, the changes fit pretty nicely into a single branch, and @shanlyMIDE reiterated that the only prereq's for merging in batch was:

to have the existing functionality from the original project work as a part of this repo,
to refactor the library to use endaq.calc for calculations (see e789e76346690ca9823af3ffb70490d151081e1c), and
to use endaq.ide.get_doc to open files (see e789e76346690ca9823af3ffb70490d151081e1c),

all of which have been done in this branch.
So... can I just merge this?

tests still failing -> reverting to draft

tests still failing -> reverting to draft

I think it can probably remain a 'real' PR; the fails look like they're sporadic. The unusual one (ubuntu-latest, 3.7, push) was a problem fetching a file from a URL, which could have been a network glitch; the other (macos-latest, 3.8, push) looks like the same thing that's been randomly happening elsewhere.

Should we mark tests that have dependencies outside of the library itself (e.g., fetching URLs) as being allowed to fail?

I... don't know exactly how we'd do that off the top of my head. I wouldn't hate it, and in the meantime we can always re-run tests.

Should we mark tests that have dependencies outside of the library itself (e.g., fetching URLs) as being allowed to fail?

I... don't know exactly how we'd do that off the top of my head. I wouldn't hate it, and in the meantime we can always re-run tests.

I think it might be worth looking at later.  Marking an action as cancelled instead of failing if a dependency has an issue might work.  I think that inspecting failures and re-running when the code is not the issue isn't a problem.

I think it can probably remain a 'real' PR; the fails look like they're sporadic. The unusual one (ubuntu-latest, 3.7, push) was a problem fetching a file from a URL, which could have been a network glitch

👍 -> marking ready for review


Update dcoscustomdata190.t

Can one of the admins verify this patch?

test this please

test this please

retest this please

retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkinsenv123.eastus.cloudapp.azure.com:8080/blue/organizations/jenkins//job/exp-acs-engine-pr/13/

retest this please


Cannot find EventEmitter for receivedTouches on native library after upgrading to RN 0.71.7

New Version
0.71.7
Old Version
0.65.1
Build Target(s)
Android device in debug/release build
Output of react-native info
System:
OS: macOS 12.6.1
CPU: (10) arm64 Apple M1 Pro
Memory: 93.38 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.0.1 - ~/.nvm/versions/node/v19.0.1/bin/node
Yarn: Not Found
npm: 8.19.2 - ~/.nvm/versions/node/v19.0.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.1 - /Users/urosuzelac/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: <IP_ADDRESS> - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.7 => 0.71.7
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
After upgrading to the newer version of React Native we noticed that we have an issue with one of our native modules. Our native module is responsible for video playback. It is a custom written video player on native side using ExoPlayer on Android and AVPlayer on iOS. If we have multiple videos on the same page if one of the videos goes to fullscreen mode and return to the normal size other videos become unresponsive to touch events so we cannot trigger show/hide controls on rest of the players. This effect just Android OS and everything is ok with iOS side.
This is the error type of message that we receive while we try to tap on the videos that are not responsive any more.
Unhandled SoftException                                                                                com.facebook.react.bridge.ReactNoCrashSoftException: Cannot find EventEmitter for receivedTouches: ReactTag[2131361976] UIManagerType[2] EventName[topTouchMove]                                                                                at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:13)                                                                                at com.facebook.react.uimanager.events.k.d(TouchEvent.java:7)                                                                                at com.facebook.react.uimanager.events.e$c.run(EventDispatcherImpl.java:117)                                                                                at android.os.Handler.handleCallback(Handler.java:942)                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)                                                                                at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:1)                                                                                at android.os.Looper.loopOnce(Looper.java:201)                                                                                at android.os.Looper.loop(Looper.java:288)                                                                                at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:38)
and this error message
Unhandled SoftException                                                                                com.facebook.react.bridge.ReactNoCrashSoftException: Cannot get UIManager for UIManagerType: 2                                                                                at com.facebook.react.uimanager.x0.h(UIManagerHelper.java:118)                                                                                at com.facebook.react.uimanager.x0.g(UIManagerHelper.java:2)                                                                                at com.facebook.react.animated.n.m(NativeAnimatedNodesManager.java:18)                                                                                at com.facebook.react.animated.n.onEventDispatch(NativeAnimatedNodesManager.java:7)                                                                                at com.facebook.react.uimanager.events.e.g(EventDispatcherImpl.java:28)                                                                                at com.facebook.react.uimanager.m.a(JSTouchDispatcher.java:55)                                                                                at com.facebook.react.uimanager.m.e(JSTouchDispatcher.java:6)                                                                                at com.facebook.react.b0.c(ReactRootView.java:32)                                                                                at com.facebook.react.uimanager.events.h.b(NativeGestureUtil.java:5)                                                                                at j6.e.r(ReactScrollView.java:1)                                                                                at j6.e.onInterceptTouchEvent(ReactScrollView.java:23)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2653)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at com.swmansion.gesturehandler.react.k.dispatchTouchEvent(RNGestureHandlerRootView.kt:23)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121)                                                                                at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2802)                                                                                at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:500)                                                                                at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1905)                                                                                at android.app.Activity.dispatchTouchEvent(Activity.java:4263)                                                                                at k.j.dispatchTouchEvent(WindowCallbackWrapper.java:3)                                                                                at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:458)
We downgraded some of the third party libraries that we believe can cause this type of issue. We also try to downgrade some of the libraries on Android Native side but that didn't help.
We are also using the exact same player library version on one of our projects that is using React Native version 0.70.6 and we don't have that issue. The codebase between those two project are pretty similar as well as third party libraries that we are using, so we believe that something is changed how React Native handle Activity/Fragments on Android side.
Any idea for the solution would be helpful :)

Have you turned on the New Architecture by any chance?

Hi Nicola,
No we didn't enable new architecture since not all libraries that we are using are supported by the new architecture. However, we are using hermes engine but that was already turned on before the upgrade.

Hi Nicola, No we didn't enable new architecture since not all libraries that we are using are supported by the new architecture. However, we are using hermes engine but that was already turned on before the upgrade.

Great thanks for the clarification. Your stacktrace looked suspicious hence I wanted to ask this.

@cortinico Do you have any suggestion what should we try so that we can have more understanding about the problem? Thanks

We are also using the exact same player library version on one of our projects that is using React Native version 0.70.6 and we don't have that issue. The codebase between those two project are pretty similar as well as third party libraries that we are using, so we believe that something is changed how React Native handle Activity/Fragments on Android side.

Sadly, due to this, is really hard to help.
If you were to reproduce your issue on 0.71 with just your module, it would be way easier to tell you what's happening

I faced same issue. My native module operates with Tuya Video View for IP Camera. And I also catch same errors when try to work with touches.

Why does react native have so many weird problems? I am a newbie, embedding an android native view, there is no display problem, the size is not configured according to the xml, click event problem... Why, if there are so many problems, can you set the react native project to Deprecated? !  It is recommended that everyone use flutter to protect KMP.

Hey, was a solution ever found for this problem ? I noticed that UIManagerType 2 points to the Fabric architecture but I am using the plain old Native UI component. Not sure why this error is coming for me. Please help!


Remote host terminated the handshake

System information:

WIN10
<IP_ADDRESS>110030714

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
Remote host terminated the handshake

help->check update.   can update dbwaver.
Daily update reminder.  NO!

Hello @yongyaoli
Maybe this answer can help you?

@yongyaoli unfortunately, still cannot catch what the issue is about.
Please provide more clear problem description. Steps to reproduce also will be very helpful for the issue investigation

@LonwoLonwo @uslss
I am using SQL developter, and an error occurs while trying to create a DB clude user constructor.
I proceeded in the same way as other team members, and I am not alone.
I checked the username, PW, and zip file many times and it is definitely correct. But the test fails because 'Remoto host teminate the handshake' occurs.

So... The problem appears in SQL developer too?
Maybe you can make a video of the issue for us?
Also, the log file will be very helpful!

@LonwoLonwo Thanks, I'll try! I hope you get good results.

there is no update on the issue for a long time. If it is still actual - feel free to reopen it with additional info.


Makes rethrows all methods that can be marked as rethrows

Goals :soccer:
Allows to use try in non-escaping closures.
For example, the following code, before the change:
let response: DataResponse<Data> = <...>
let result: Result<Any>
switch response.result {
case .failure(let error):
	result = .failure(error)
case .success(let value):
	result = .success(try JSONSerialization.jsonObject(with: value))
}
let newResponse = DataResponse(
	request: response.request,
	response: response.response,
	data: response.data,
	result: result,
	timeline: response.timeline
)

Would be able to be changed to:
let response: DataResponse<Data> = <...>
let newResponse = try response.map { try JSONSerialization.jsonObject(with: value) }

(this is a simplified example for demonstrating what the change brings - for this specific example, it might make more sense to use flatMap, or just use responseJSON if possible)
Implementation Details :construction:
Just some syntax additions, adding throws to the closure and rethrows to the method that accepts the closure.
Testing Details :mag:
None, as this is purely a change for programmer's. The tests still passes.

Thanks for the PR! I've removed the changes to the map functions, as they were specifically made non-throwing by design. However, throwing versions of the with and if functions would be nice.


(maint) Add documentation for the PuppetDB CLI configuration options

This commit adds documentation for the CLI's configuration options
rather than just linking to the man pages.

@ipeldridge Added an example and a note about being able to install on managed or unmanaged!

@ipeldridge @johnduarte Fixed the Windows docs!

Thanks @ajroetker ! LGTM :+1:

@ipeldridge made the unmanaged/managed windows path changes


SCSS-Lint: preprocessing, jekyll, sed, and the EOF error

please note this sed command is valid for gnu-sed. If you are using the FreeBSD version of sed that ships with Mac OS X by default, it will throw an EOF error.

Yes, this is absolutely the case, and I recognise it's not your responsibility to maintain support for external products, but can anyone tell me how I can get this GNU-sed on my mac? Can someone help stop the EOF error on Mac OS AND use SCSS Lint AND Jekyll together for linting?
Any help is much appreciated.

For those looking for it:
Install homebrew and brew install gnu-sed and then just use gsed in the suggest preprocess command and it works.


changelog contains entries for several unpublished versions

Hi - it looks like the changelog has entries for several unpublished package versions:
https://github.com/dart-lang/leak_tracker/blob/main/CHANGELOG.md
The last published version of the package was 6.0.0; everything after that (the entries for 6.0.1 - 7.0.4) should be accumulated in a new, unpublished entry - with a -wip suffix for the versions - and that version changed to a stable release when we're ready for the next publish. So - if we have had a breaking api change - the current pubspec+changelog entry should be something like 7.0.0-wip.
This wiki has some info on the general versioning + publishing process and rational: https://github.com/dart-lang/sdk/wiki/External-Package-Maintenance.

Fixed


Add 'sources-reference.adoc' as page-alias of 'redelivery-policy.adoc'

Creating a Pull Request to test this alias implementation.

This handles the removal from #619


Better issue template

Some work towards a better issue template
Should close #99
Please add more commits or discuss below 😄

@KapJI Thanks for the better phrasing, English is not my first language 😄

@leikoilja what do you think?


Show Stopper for New Nuget Package

Just so you know, the new NUGET package you released for the PCL version, there is a show stopper.
Getting this error when I am creating the DB and connection for the first time.  NON-async.
you need to call SQLitePCL.raw.SetProvider(). If you are using a bundle package, this is done by calling SQLitePCL.Batteries.Init().

Probably not a show stopper.
I believe you get this error message if you add the nuget package only to your portable library.  You need to add it to your app project as well.

I added a note to the README, let's hope it's sufficient: https://github.com/praeclarum/sqlite-net/commit/724fb390d84ea56ffe36f09d43be432164e676f6


[Bug] canot load Gemma2 awq

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
install version: sglang-0.3.5.post2 vllm-0.6.3.post1
2024-11-20 14:51:39.374748: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-11-20 14:51:39.387585: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered 2024-11-20 14:51:39.402712: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2024-11-20 14:51:39.407465: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2024-11-20 14:51:39.418505: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-11-20 14:51:40.257121: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT Automatically adjust --chunked-prefill-size for small GPUs. [2024-11-20 14:51:43] server_args=ServerArgs(model_path='/workspace/Asan/model/Gukbap-Gemma2-9B-qlora-1epoch-AWQ', tokenizer_path='/workspace/Asan/model/Gukbap-Gemma2-9B-qlora-1epoch-AWQ', tokenizer_mode='auto', skip_tokenizer_init=False, load_format='auto', trust_remote_code=False, dtype='auto', kv_cache_dtype='auto', quantization=None, context_length=None, device='cuda', served_model_name='/workspace/Asan/model/Gukbap-Gemma2-9B-qlora-1epoch-AWQ', chat_template=None, is_embedding=False, host='<IP_ADDRESS>', port=20022, mem_fraction_static=0.88, max_running_requests=None, max_total_tokens=None, chunked_prefill_size=2048, max_prefill_tokens=16384, schedule_policy='lpm', schedule_conservativeness=1.0, tp_size=1, stream_interval=1, random_seed=703420908, constrained_json_whitespace_pattern=None, watchdog_timeout=300, download_dir=None, log_level='info', log_level_http=None, log_requests=False, show_time_cost=False, enable_metrics=False, decode_log_interval=40, api_key=None, file_storage_pth='SGLang_storage', enable_cache_report=False, dp_size=1, load_balance_method='round_robin', dist_init_addr=None, nnodes=1, node_rank=0, json_model_override_args='{}', enable_double_sparsity=False, ds_channel_config_path=None, ds_heavy_channel_num=32, ds_heavy_token_num=256, ds_heavy_channel_type='qk', ds_sparse_decode_threshold=4096, lora_paths=None, max_loras_per_batch=8, attention_backend='flashinfer', sampling_backend='flashinfer', grammar_backend='outlines', disable_flashinfer=False, disable_flashinfer_sampling=False, disable_radix_cache=False, disable_jump_forward=False, disable_cuda_graph=False, disable_cuda_graph_padding=False, disable_disk_cache=False, disable_custom_all_reduce=False, disable_mla=False, disable_penalizer=False, disable_nan_detection=False, enable_overlap_schedule=False, enable_mixed_chunk=False, enable_torch_compile=False, torch_compile_max_bs=32, cuda_graph_max_bs=4, torchao_config='', enable_p2p_check=False, triton_attention_reduce_in_fp32=False, num_continuous_decode_steps=1, delete_ckpt_after_loading=False) [2024-11-20 14:51:53 TP0] Init torch distributed begin. [2024-11-20 14:51:53 TP0] Load weight begin. avail mem=23.36 GB INFO 11-20 14:51:53 awq_marlin.py:97] The model is convertible to awq_marlin during runtime. Using awq_marlin kernel. WARNING 11-20 14:51:53 interfaces.py:137] The model (<class 'sglang.srt.models.gemma2.Gemma2ForCausalLM'>) contains all LoRA-specific attributes, but does not set supports_lora=True`.
Loading safetensors checkpoint shards:   0% Completed | 0/2 [00:00<?, ?it/s]
Loading safetensors checkpoint shards: 100% Completed | 2/2 [00:01<00:00,  1.64it/s]
Loading safetensors checkpoint shards: 100% Completed | 2/2 [00:01<00:00,  1.64it/s]
[2024-11-20 14:51:55 TP0] Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/sglang/srt/managers/scheduler.py", line 1254, in run_scheduler_process
scheduler = Scheduler(server_args, port_args, gpu_id, tp_rank, dp_rank)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/sglang/srt/managers/scheduler.py", line 169, in init
self.tp_worker = TpWorkerClass(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/sglang/srt/managers/tp_worker.py", line 55, in init
self.model_runner = ModelRunner(
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/sglang/srt/model_executor/model_runner.py", line 150, in init
self.load_model()
File "/usr/local/lib/python3.12/site-packages/sglang/srt/model_executor/model_runner.py", line 257, in load_model
self.model = get_model(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/vllm/model_executor/model_loader/init.py", line 19, in get_model
return loader.load_model(model_config=model_config,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/vllm/model_executor/model_loader/loader.py", line 402, in load_model
model.load_weights(self._get_all_weights(model_config, model))
File "/usr/local/lib/python3.12/site-packages/sglang/srt/models/gemma2.py", line 404, in load_weights
raise RuntimeError(
RuntimeError: Some weights are not initialized from checkpoints: {'model.embed_tokens.weight'}
Killed`
Reproduction
CUDA_VISIBLE_DEVICES="3" python -m sglang.launch_server --model-path "/workspace/Asan/model/Gukbap-Gemma2-9B-qlora-1epoch-AWQ" --port 20022 --host <IP_ADDRESS>
Environment
install version: sglang-0.3.5.post2 vllm-0.6.3.post1

This works without any issues
python3 -m sglang.launch_server --model solidrust/gemma-2-9b-it-AWQ

Can you share your checkpoints or try the latest version?


Fix signatures of logistic request and buffer chests

Whoops, this was an oversight I made when splitting the schemas apart. I'll also investigate adding a test case for this particular bit.


NSFW now available in DM channels

I'm not a contributor or something, so I can't branch off of maki.js directly, I have to do it as a fork.

Aah Letty :3c I'll merge! Thank you 💕

I hope my bot wasn't too much of a hassle to setup, I should take a look at making it work after cloning


[layer] Print layer name over layer address

Print layer name if available
if layer name is not avaiable, then print layer object name and its address
Self evaluation:

Build test: [x]Passed [ ]Failed [ ]Skipped
Run test: [x]Passed [ ]Failed [ ]Skipped

Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #668. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


Enable automerge of minor updates

I think you need to make some checks mandatory for this to work as intended.

I think you need to make some checks mandatory for this to work as intended.

Marked current checks as required 👍


Documentation missing for TextFieldHelperText

It seems to have disappeared in commit 2eff658cd2ad0ea0bb1fa4d20e52c6a3e6b2ccb2

The example on https://jamesmfriedman.github.io/rmwc/text-fields contains this:
{/* You can optionally make HelperText always visible with the persistent prop. */} <TextFieldHelperText persistent validationMsg>The field is required.</TextFieldHelperText>
Yet the documentation for TextFieldHelperText has no content explaining persistent, validationMsg or any other properties TextFieldHelperText has. Not even a simple description of the element and its uses.

I know, just hasn't been deployed yet


:lady_beetle: When creating a plan from Openstack and Openshift, missing mappings

When creating a plan from Openstack and Openshift, missing mappings
Issue:
The inventory for Openstack and Openshift VMs does not include the network type, so we can not suggest an opinionated mappings
Fix:
Raise a warning for users that they need to set up mappings manually

Openstack issue addressed by #1028

adderessed by: https://github.com/kubev2v/forklift-console-plugin/pull/1055

Missing
Raise a warning for users that they need to set up mappings manually for openshift plans


Ctrl + (Shift +) Arrows doesn't work

When I want to move the cursor one word at a time I use Ctrl + arrows, when I want to mark one word at a time I use Ctrl + Shift + arrows. This is standard everywhere you can write anything in Windows and Linux, but does not work for me in PileMD in Ubuntu Gnome 15.10. Please fix this annoying bug in an otherwise really great editor! Thanks! :)

Thanks for your reply! It will be nice.
I'll check the reason.

Done.
I'll release this feature on next minor release (0.9.1).
Thanks for your great job!  I added you on AUTHORS text as supporters.

Thank you! Do you know anything about when the new version might be released? This bug is killing me almost every day! :)


Example config file

Hi folks. Can you share a config file for a Uniden SDS100? I've confirmed a serial connection to an SDS100 and put the following in the config file and errors with FATA[0000] UDP IP address or USB path must be set!. Thanks.
USBPath: /dev/tty.usbmodem2101

I just used the command args instead of a config file, e.g.
./bearcatter server -a <IP_ADDRESS>


[#3152] Separate ExecutorService from Receiver

Modifications:
Separate ExecutorService from TCPReceiver and UDPReceiver
Result:
Can remove duplicated code.
Can reuse ExecutorService for other classes.

Codecov Report

Merging #3153 into master will decrease coverage by 0.04%.
The diff coverage is 32.45%.

@@            Coverage Diff             @@
##           master    #3153      +/-   ##
==========================================
- Coverage   38.87%   38.83%   -0.05%
==========================================
  Files        2009     2010       +1
  Lines       66253    66271      +18
  Branches     9247     9247
==========================================
- Hits        25757    25737      -20
- Misses      37902    37938      +36
- Partials     2594     2596       +2

Impacted Files
Coverage Δ

...navercorp/pinpoint/flink/receiver/TCPReceiver.java
0% <0%> (ø)
:arrow_up:

...rp/pinpoint/collector/receiver/DispatchWorker.java
0% <0%> (ø)

...p/pinpoint/collector/receiver/udp/UDPReceiver.java
0% <0%> (ø)
:arrow_up:

...p/pinpoint/collector/receiver/tcp/TCPReceiver.java
22.22% <55%> (-3.18%)
:arrow_down:

...point/collector/receiver/DispatchWorkerOption.java
74.28% <74.28%> (ø)

...inpoint/collector/receiver/UdpDispatchHandler.java
0% <0%> (-25%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

.../com/navercorp/pinpoint/rpc/packet/PongPacket.java
50% <0%> (-14.29%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
68.67% <0%> (-7.23%)
:arrow_down:

.../profiler/sender/StandbySpanStreamDataStorage.java
72.88% <0%> (-3.39%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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


Use threaded setting from config and make process_params_meas public

Create a setting for use_threads in the config to be used in process_params_meas for doNd functions. Allows control of the setting in the config file rather than a required input at runtime.
Additionally makes the measure function public for external use of threaded parameter calls. This could be split out to a separate PR but included here in case there are no objections/concerns with this change.
Bug fix: moved dataset reference up in new dond to handle keyboardinterrupts similar to other functions in file.

@ThorvaldLarsen I think this is how the cutoff_percentile was intended to be specified https://github.com/QCoDeS/Qcodes/pull/3097


Update Kafka operator admin-values

Basing off of issues faced by GM.
https://ni.visualstudio.com/DevCentral/_boards/board/t/ASW SystemLink NIC 2/Work Items/?workitem=2061988

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Lets the user know that if they cannot reach an external network then they will need to specify the proper values to point towards their operator image.
Why should this Pull Request be merged?
So users like GM do not run into this in the future.
What testing has been done?
Testing has been done with GMs deployment.

This was already handled by this PR. Additional documentation has been reviewed and updated too.


refactor(core): fix types for client code

Motivation
Minor improvements. Fix any types & use more idiomatic typescript.
Test Plan
Build

Thanks for refactoring that tree thing 🤪