Create a GoogleProtobuf.Any object with an UInt64

Before opening a new issue, please double check the past issues (both open and
closed ones) to see if your problem has been discussed before and already
contains an answer/solution. Likewise, check the FAQ in the Documentation folder
for some common things -
https://github.com/apple/swift-protobuf/blob/main/Documentation/FAQ.md
Please be sure to include:

what OS you are developing on (Linux or macOS, including the version)
macOS

for macOS, what version of Xcode you are using (xcodebuild -version),
for Linux, what version of Swift (swift --version)
xcodebuild -version:
Xcode 15.0
Build version 15A240d
swift --version
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.108 clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx13.0

what version of Swift is your code set to compile with (i.e. from project
settings, etc.)
Swift 5

what branch/tag of SwiftProtobuf you are using (1.0.0, etc.)
1.24.0

lastly, if it all possible, provide a snippet of .proto and/or source
that shows the problem.

message CriteriaValues {
    map<string, google.protobuf.Any> criteria = 1;
}

Hi
I'm trying to create a google.protobuf.any object wich will contain a UInt64.
I know in javascript I can do something like:

      const anyValue = new GoogleAny();

       const mappedVal = new FloatValue();
        mappedVal.setValue(value);

      anyValue.pack(
          mappedVal.serializeBinary(),
          'google.protobuf.UInt64Value',
        );

But I can't find a pack initializer neither a method in SwiftProtobuf.
As alternative I'm creating it with JSON like this:
let runtimeCriteria = try Google_Protobuf_Any(jsonString: "{\"@type\": \"google.protobuf.UInt64Value\",\"value\": 72}")

But it doesn't seem to work either.
Thanks for the help

So the resulting code would look something like this:
let i64 = Google_Protobuf_Int64Value(7)
let a = Google_Protobuf_Any(message: i64)
print(try a.jsonString())

What happens when you try decoding the JSON as you showed?   Do you get an error?

Thanks both for your answers.
@tbkka that's really what I was looking for, thanks!

What happens when you try decoding the JSON as you showed? Do you get an error?
I've discovered that the decoding JSON was working at the end and there was something wrong in our system. But using Google_Protobuf_Int64Value is much better than the JSON.

Thanks!


add ability to use docker registry from localhost

On premise installation often have a statefullSet docker registry exposed on <IP_ADDRESS>.5000.
It would be great to be able to jx that when pulling images it should use that url to create pods (preview...) but use the one defined at install (example: registry.kube-system.svc.cluster.local:5000)

you can edit the cluster.registry setting in jx-requirements.yml to use any host/ip
https://github.com/jx3-gitops-repositories/jx3-kubernetes/blob/master/jx-requirements.yml#L21
though do you mean to use a separate host for pulling than pushing? If so isn’t the registry mirroring something you could setup in your nodes?

Exactly one for push and one for pull, or have a flag to make the pull one localhost

@jenkins-x-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://jenkins-x.io/community.
/close

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


⚠ Secret Website 4 has degraded performance

In 16a6fc5, Secret Website 4 ($SECRET_WEBSITE_4) experienced degraded performance:

HTTP code: 200
Response time: 14668 ms

Resolved: Secret Website 4 performance has improved in 7a3e024.


draw triangle doesn't compile properly

when triangle() is compiled, it cuts off the last variable. This breaks anything you try to draw using it. triangle(x1,y1,x2,y2,x3,y3) becomes draw triangle x1 y1 x2 y2 x3

Sorry about that. My mistake: I miscalculated the number of arguments. Fixed now!


WFH Request  > WFH Request page > The counter displays incorrect number on the task progress column

Pre-Condition
User logins successfully and is on the W2 homepage
Steps to reproduce the problem

Click on "WFH Request" option at the sidebar
Observe the number on each task progress column

Expected Result
The number on each task progress column should match the task
Actual Result
The counter displays incorrect number on the task progress column
Screenshots

done


[vscode] 2/n Create Empty commands

[vscode] 2/n Create Empty commands
This diff adds "create new" aiconfig commands to the vscode extension. Instead of forcing the user to deal with a haiku, they now have the option to start from scratch.
Testplan
https://github.com/lastmile-ai/aiconfig/assets/141073967/4b314eb0-95cf-4e94-89c5-511ba7580a9f

Stack created with Sapling. Best reviewed with ReviewStack.

-> #1448
#1447

Since we're going in the direction of yaml as a default:

Modified Defaults to be yaml

swapped ordering of commands to have yaml first

renamed "empty" command, now just Create New AIConfig (..)

Ah just noticed the walkthrough so requesting changes so it's seen
Addressed and fixed  in 1/n: https://github.com/lastmile-ai/aiconfig/pull/1447#issuecomment-1999951840. Thanks for catching.


Added source_name to the search

Searching for references now includes the source_name in the search

Added a unique name for the source_name. Tests pass now.


New transformer adding a space after # when missing

Robocop, rule 0702, complains "Missing blank space after comment character" when it comes across #some comment. I like to have a transformer adding a space after # when missing;

NormalizeComments transformer that handles it was just released in Robotidy 4.0! However I recommend waiting till the Robotidy 4.0.1 is (soon) released because I introduced regression.


uninitialized constant SCHEDULER (NameError)

I seem to be having some issues with my Dashing setup.  It appears as though none of the widgets are updating once they’re added to the erb file.
My setup/install of dashing went as follows in Ubuntu 14.04 LTS:

#: apt-get install ruby ruby-dev nodejs build-essential bundler &&  gem install rufus-scheduler && gem install dashing

Afterwards, I created a new dashboard:

$: dashing new testboard

Response is:

create  testboard

  create  testboard/.gitignore
  create  testboard/Gemfile
  create  testboard/README.md
  create  testboard/assets/fonts/fontawesome-webfont.eot
  create  testboard/assets/fonts/fontawesome-webfont.svg
  create  testboard/assets/fonts/fontawesome-webfont.ttf
  create  testboard/assets/fonts/fontawesome-webfont.woff
  create  testboard/assets/images/logo.png
  create  testboard/assets/javascripts/application.coffee
  create  testboard/assets/javascripts/d3-3.2.8.js
  create  testboard/assets/javascripts/dashing.gridster.coffee
  create  testboard/assets/javascripts/gridster/jquery.gridster.js
  create  testboard/assets/javascripts/gridster/jquery.leanModal.min.js
  create  testboard/assets/javascripts/jquery.knob.js
  create  testboard/assets/javascripts/rickshaw-1.4.3.min.js
  create  testboard/assets/stylesheets/application.scss
  create  testboard/assets/stylesheets/font-awesome.css
  create  testboard/assets/stylesheets/jquery.gridster.css
  create  testboard/config.ru
  create  testboard/dashboards/layout.erb
  create  testboard/dashboards/sample.erb
  create  testboard/dashboards/sampletv.erb
  create  testboard/jobs/buzzwords.rb
  create  testboard/jobs/convergence.rb
  create  testboard/jobs/sample.rb
  create  testboard/jobs/twitter.rb
  create  testboard/lib
  create  testboard/public/404.html
  create  testboard/public/favicon.ico
  create  testboard/widgets/clock/clock.coffee
  create  testboard/widgets/clock/clock.html
  create  testboard/widgets/clock/clock.scss
  create  testboard/widgets/comments/comments.coffee
  create  testboard/widgets/comments/comments.html
  create  testboard/widgets/comments/comments.scss
  create  testboard/widgets/graph/graph.coffee
  create  testboard/widgets/graph/graph.html
  create  testboard/widgets/graph/graph.scss
  create  testboard/widgets/iframe/iframe.coffee
  create  testboard/widgets/iframe/iframe.html
  create  testboard/widgets/iframe/iframe.scss
  create  testboard/widgets/image/image.coffee
  create  testboard/widgets/image/image.html
  create  testboard/widgets/image/image.scss
  create  testboard/widgets/list/list.coffee
  create  testboard/widgets/list/list.html
  create  testboard/widgets/list/list.scss
  create  testboard/widgets/meter/meter.coffee
  create  testboard/widgets/meter/meter.html
  create  testboard/widgets/meter/meter.scss
  create  testboard/widgets/number/number.coffee
  create  testboard/widgets/number/number.html
  create  testboard/widgets/number/number.scss
  create  testboard/widgets/text/text.coffee
  create  testboard/widgets/text/text.html
  create  testboard/widgets/text/text.scss

As defined in the installation/setup instructions I then go to my newly created directory and bundle it

$: cd testboard && bundle

Response:

Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Enter your password to install the bundled RubyGems to your system:
Using addressable (2.3.7)
Using backports (3.6.4)
Using buftok (0.2.0)
Using coffee-script-source (1.9.1)
Using execjs (2.0.2)
Using coffee-script (2.2.0)
Using daemons (1.1.9)
Using rack (1.5.2)
Using thread_safe (0.3.4)
Using tzinfo (1.2.2)
Using rufus-scheduler (2.0.24)
Using sass (3.2.19)
Using rack-protection (1.5.3)
Using tilt (1.4.1)
Using sinatra (1.4.5)
Using multi_json (1.11.0)
Using rack-test (0.6.3)
Using sinatra-contrib (1.4.2)
Using hike (1.2.3)
Using sprockets (2.10.2)
Using eventmachine (1.0.7)
Using thin (1.6.3)
Using thor (<IP_ADDRESS>40116)
Using dashing (1.3.4)
Using equalizer (0.0.9)
Using multipart-post (2.0.0)
Using faraday (0.9.1)
Using http_parser.rb (0.6.0)
Using http (0.6.3)
Using json (1.8.2)
Using memoizable (0.4.2)
Using naught (1.0.0)
Using simple_oauth (0.3.1)
Using twitter (5.14.0)
Using bundler (1.3.5)
Your bundle is complete!
Use bundle show [gemname] to see where a bundled gem is installed.

Everything seems to be fine, so I start the server:

$: dashing start

I then navigated to http://localhost:3030/sample and the sample dashboard had all of the widgets present on it. All of the sample widgets appear to be updating.
Later, when I install new widgets that I wanted to try out, all were installed with the suggested syntax:

$: dashing install GIST_ID

After that I remove the sample widgets from the erb file so it looks like this:

<% content_for :title do %>My super sweet dashboard<% end %>

Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome

And then add the appropriate  tags  in between the  ones and navigate back to to http://localhost:3030/sample - and the new widget appears.
For each new widget I seem to add, the widget does infact appear – but they don’t appear to be updating at all.
I tried running each ruby script individually in the terminal

$: ruby scriptname.rb

Each one returns the exact same result:

jobs/scriptname.rb:19:in `': uninitialized constant SCHEDULER (NameError)

Is this likely an issue with rufus-scheduler not being properly defined or setup properly?
Thanks,
Michael

Hi Michael,
It sounds as if perhaps the widget and job are not aligned, they need to be using the same name to get the data so perhaps something has shifted when you installed the gist, or perhaps the gist requires more setup to actually send data.
Running the script specifically will return that error. SCHEDULER is initialized by the Dashing framework as a constant of Rufus scheduler to run jobs. Running just the job wouldn't include that as is done on line 4 and 11 here: https://github.com/Shopify/dashing/blob/master/lib/dashing/app.rb#L11
Perhaps adding those lines to your scriptname.rb might get it running to show what the issue is? Likely they are running fine and just not sending to a valid dashboard data-id

@amassaad this is also an issue with the dashing job command
on a vanilla generated instance
○ → be dashing --help
Commands:
  dashing generate (widget/dashboard/job) NAME  # Creates a new widget, dashboard, or job.
  dashing help [COMMAND]                        # Describe available commands or one specific command
  dashing install GIST_ID                       # Installs a new widget from a gist.
  dashing job JOB_NAME AUTH_TOKEN(optional)     # Runs the specified job. Make sure to supply your auth token if you have one set.
  dashing new PROJECT_NAME                      # Sets up ALL THE THINGS needed for your dashboard project.
  dashing start                                 # Starts the server in style!
  dashing stop                                  # Stops the thin server

 |2.2.2| uschis-workstation in ~/jimdo/sweet_dashboard_project
○ → be dashing generate job testo
       exist  jobs
      create  jobs/testo.rb

 |2.2.2| uschis-workstation in ~/jimdo/sweet_dashboard_project
○ → be dashing job testo
/Users/peter/jimdo/sweet_dashboard_project/jobs/testo.rb:2:in `<top (required)>': uninitialized constant SCHEDULER (NameError)
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/dashing-1.3.4/lib/dashing/cli.rb:106:in `require'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/dashing-1.3.4/lib/dashing/cli.rb:106:in `require_file'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/dashing-1.3.4/lib/dashing/cli.rb:78:in `job'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
	from /Users/peter/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/dashing-1.3.4/bin/dashing:9:in `<top (required)>'
	from /Users/peter/.rbenv/versions/2.2.2/bin/dashing:23:in `load'
	from /Users/peter/.rbenv/versions/2.2.2/bin/dashing:23:in `<main>'

the code that you linked to should be part of the general bootstrapping of the app.
what i did was wrapping it up an a rake-task (with the addition of loading dotenv):
desc "run your job directly for testing"
task :run_job, [:job_name] do |task, args|
  require 'dotenv'
  Dotenv.load

  require 'dashing/cli'
  require 'dashing/downloader'
  Dashing::CLI.start(['job', args[:job_name]])

  SCHEDULER.join
end

from my point of view, the dashing job JOB_NAME AUTH_TOKEN(optional) is broken at the moment.

+1 I've had the same ftw moment.
I use standard cli tools to create a working skeleton, only to find out that it does not work as intended

+1
Same here. New installation on debian. If I try to start the original "sample" job:
$ dashing job sample
/srv/dashing/testing-dash/jobs/sample.rb:4:in `<top (required)>': uninitialized constant SCHEDULER (NameError)
	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /var/lib/gems/1.9.1/gems/dashing-1.3.4/lib/dashing/cli.rb:106:in `require_file'
	from /var/lib/gems/1.9.1/gems/dashing-1.3.4/lib/dashing/cli.rb:78:in `job'
	from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
	from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
	from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
	from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
	from /var/lib/gems/1.9.1/gems/dashing-1.3.4/bin/dashing:9:in `<top (required)>'
	from /usr/local/bin/dashing:23:in `load'
	from /usr/local/bin/dashing:23:in `<main>'

Same problems with my own jobs.
System:
$ cat /etc/debian_version
7.8
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
$ gem list | grep dashing
dashing (1.3.4)
$ gem list | grep scheduler
rufus-scheduler (2.0.24)

So there is no way to automatically update my dashboard with jobs?


Fix mypy 0.990 types

[x] Related to #7270

Alternatively we could also set no_implicit_optional=False, but I like the explicit types.

Thanks @headtr1ck !


GEODE-8562: Adds new C++ test for using a class as a key

This adds a new C++ serialization test for using a class as a key.
Notes:

This test leverages the new gfsh execute function support in the C++ test framework.
A .NET serialization test for using a class as a key has been added in a previous PR.

pivotal-jbarrett, thanks for the detailed review!

Codecov Report

Merging #714 (8893e0b) into develop (4dd2ceb) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #714      +/-   ##
===========================================
- Coverage    74.05%   73.97%   -0.09%
===========================================
  Files          642      642
  Lines        50812    50812
===========================================
- Hits         37629    37586      -43
- Misses       13183    13226      +43

Impacted Files
Coverage Δ

cppcache/src/ReadWriteLock.cpp
81.25% <0.00%> (-18.75%)
:arrow_down:

...test/testThinClientPoolExecuteHAFunctionPrSHOP.cpp
91.20% <0.00%> (-3.71%)
:arrow_down:

cppcache/src/ClientMetadataService.cpp
61.78% <0.00%> (-3.67%)
:arrow_down:

cppcache/src/TcrEndpoint.cpp
53.94% <0.00%> (-0.85%)
:arrow_down:

cppcache/src/ThinClientRedundancyManager.cpp
75.11% <0.00%> (-0.79%)
:arrow_down:

cppcache/src/ThinClientLocatorHelper.cpp
92.14% <0.00%> (-0.72%)
:arrow_down:

cppcache/src/TcrConnection.cpp
71.11% <0.00%> (-0.51%)
:arrow_down:

cppcache/src/LRUEntriesMap.cpp
60.08% <0.00%> (-0.43%)
:arrow_down:

cppcache/src/ExecutionImpl.cpp
69.92% <0.00%> (-0.40%)
:arrow_down:

cppcache/src/ThinClientRegion.cpp
56.28% <0.00%> (-0.06%)
:arrow_down:

... and 2 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 4dd2ceb...c8d9a76. Read the comment docs.


mapping the predicted proteome to mass-spec data

is there mass-spec data in cptac? otherwise https://www.ebi.ac.uk/pride/archive?keyword=cancer has a lot and probably a good thing to combine with?

Thanks for your comment. The proteomics data in CPTAC is derived from mass spectrometry. Could you please clarify the direction you are suggesting?

i am thinking if we can use the rna-seq data to produce the specific proteome and then map the mass-spec data to that?


Text categorization with two sentences

First of all, thank you for this awesome library!
Is it actual possible to use the pipeline with text inputs consisting of two seperate sentences, such as (e.g. question answer pairs):
TRAIN_DATA = [     ("text1", "text2", {"cats": {"POSITIVE": 1.0, "NEGATIVE": 0.0}}) ]
If not, it is possible to insert [CLS] and [SEP] tokens in the text input by myself and deactivate the automatic adding?

@fhaase2 Yes, although it's a bit ugly at the moment. You can set the doc._.pytt_separator value, and use a separator token to concatenate the texts. Like this: https://github.com/explosion/spacy-pytorch-transformers/blob/master/examples/tasks/run_glue.py#L111
The pytt_separator value is used to calculate the pytt_segments extension attribute, which is then used by the wordpiecer to get the right separator tokens: https://github.com/explosion/spacy-pytorch-transformers/blob/master/spacy_pytorch_transformers/pipeline/wordpiecer.py#L77


Data preprocessing

Hi, did you use any preprocessing step when loading data or computing evluation metrics? I cannot find the preprocessing script in your code.
Hope your response, thanks.

Hello, I did not find a dataset in the project. Do you have a dataset? Can you share it? Thank you very much!


refactor(test) adds testcases for (trailing) slash handling

Added cases where the incoming uri is longer than the matched uri.
The tests match current behaviour. But please note case 37, it injects an extra slash. This seems counter intuitive to me, I would have expected /fee/bors as the final uri.

Updated after discussion with @thibaultcha
Will work on a follow-up PR to fix the extra slash behaviour, currently marked as "TODO".


dropdownClosed($event) returns event as undefined

Great product. Appreciate it. Thank You. :)
<ss-multiselect-dropdown [options]="multiselectDropdownOptions"           (dropdownClosed)="onFilterChange($event, 'multiSelect-dropdown')"           [settings]="multiselectDropdownSettings"           [texts]="dropdownTexts"           [(ngModel)]="selectedOptions.multiselectDropdown" required>       </ss-multiselect-dropdown>
 (dropdownClosed) returns me $event as undefined

Note: Works fine if I use (ngModelChange)

That is by design, events like dropdownClosed and dropdownOpened are just to notify you about event but do not send you any $event data.

@gund, thank you for your response
I solved it using:
<ss-multiselect-dropdown [options]="multiselectDropdownOptions" (dropdownClosed)="onFilterChange(selectedOptions.multiselectDropdown, 'multiSelect-dropdown')" [settings]="multiselectDropdownSettings" [texts]="dropdownTexts" [(ngModel)]="selectedOptions.multiselectDropdown" required> </ss-multiselect-dropdown>


gltf image node is created with incorrect type (color3) when type is vector3.

Issue
A gltf image node which is of type vector3 ends up being a color3 after load for some reason.
This is an example file:
<?xml version="1.0"?>
<materialx version="1.38">
  <gltf_pbr name="SR_Motley_Patchwork_Rug_baked" type="surfaceshader" nodedef="ND_gltf_pbr_surfaceshader">
    <input name="metallic" type="float" nodename="extract_orm3" />
    <input name="roughness" type="float" nodename="extract_orm2" />
    <input name="occlusion" type="float" nodename="extract_orm" />
  </gltf_pbr>
  <surfacematerial name="MAT_SR_Motley_Patchwork_Rug_baked" type="material">
    <input name="surfaceshader" type="surfaceshader" nodename="SR_Motley_Patchwork_Rug_baked" />
  </surfacematerial>
  <gltf_image name="image_orm" type="vector3">
    <input name="file" type="filename" value="Motley_Patchwork_Rug_gltf_pbr_roughness_combined.png" />
  </gltf_image>
  <extract name="extract_orm" type="float">
    <input name="in" type="vector3" nodename="image_orm" />
    <input name="index" type="integer" value="0" />
  </extract>
  <extract name="extract_orm2" type="float">
    <input name="in" type="vector3" nodename="image_orm" />
    <input name="index" type="integer" value="1" />
  </extract>
  <extract name="extract_orm3" type="float">
    <input name="in" type="vector3" nodename="image_orm" />
    <input name="index" type="integer" value="2" />
  </extract>
</materialx>

The errors you get are:
Node interface error: Input 'in' doesn't match declaration: <extract name="extract_orm3" type="float" nodedef="ND_extract_vector3">
Node interface error: Input 'in' doesn't match declaration: <extract name="extract_orm" type="float" nodedef="ND_extract_vector3">
Node interface error: Input 'in' doesn't match declaration: <extract name="extract_orm2" type="float" nodedef="ND_extract_vector3">

This be because the  gltf_image type is considered to be color3.

QuiltiX is looking at the nodef name, which is in this case: ND_gltf_image_vector3_vector3_1_0, which is quite different from other node definitions.
This pull request split the nodedef name now by underscores to find the correct type:
https://github.com/PrismPipeline/QuiltiX/pull/68
It works for all nodes that I'm aware of, but it still feels like a dirty workaround.
Do you know a better way to detect the type from a node definition?

Hi @RichardFrangenberg ,
The safest way to do this would be to get the outputs for the nodedef. If there is more than 1 then it's type is multioutput. Otherwise get the type from the single output. Parsing the name is unreliable especially for nodedefs coming from various DCCs which can use different naming logic.

Using the output type doesn't seem like a safe way too. For example there are the ND_extract_color3 and ND_extract_color4 node definitions, which outputs are of type float.

Hi @RichardFrangenberg ,
Yes, you are correct.
The more general logic is found in Node::getNodeDef()
Here it will match by:

target
version
output type
then iterate and compare inputs (either "rough" or "exact". You'd want exact matching -- which is not the default).

For 4.  there still exists a problem if you don't specify enough unique inputs on the node instance. There is a logged issue for this I believe. However it is the most complete logic check that I know of in use, except for 5.

The only way to guarantee to get the exact match stored is to store the nodedef name on the node instance's nodedef attribute at creation time. ( I'm unsure if this is the reason why, but as you know USD stores the nodedef name in the SDR registry and then specifies this on USDShade node instances. )

With this getNodeDef() function I can get the correct definition from a mtlx node, but there is still the problem how QuiltiX should populate the type dropdown for nodes like the Extract node.
I would like to avoid having every single node definition in the tab menu like LookdevX is doing it.
Instead I would prefer to keep it as it is and have only Extract in the tab menu and a dropdown in the node settings with the node types, like Houdini is doing it.
In that case there is no mtlx node, which needs to be matched to a definition. I only have a list of definitions and I need to extract a gui friendly string for the dropdown. ND_extract_color3 or ND_gltf_image_vector3_vector3_1_0 are not really gui friendly.

For this context, yes the nodedef names in the std library weren't really intended for user facing parsing.
I also do not like exploding all variants and am interested in the solution to this.
All I can think of is to allow output type as the primary selection key and where ambiguous input type, version, target, namespace as subsequent keys. If you handle input type that should at least handle extract.
You can use getMatchingNodeDefs() as done getNodeDef() to find all the variants.

On the flip-side would you be interested in looking into a "standardized" naming scheme. I do this for new node definitions myself  and reflect this in the output file name. Then there is a sequence of sub-strings that can be parsed. e.g.
NG_[<output_type>...]_[<input_type>]_<version>_<target>

(std disclaimer, I had been looking at this for LookdevX before moving on).
Yet even with this anyone can create a nodedef name which does not parse well. Thus the suggestion to parse the actual attributes on the nodedef.

I changed the approach how the nodedefinitions are chosen when a mtlx file gets loaded.
It's using the getNodeDef function now, so all that logic is now handled by MaterialX itself instead of in the QuiltiX code.
The only not so clean code, which is left, is how the displayname is generated from the nodedefname. It would be great if MaterialX would provide displaynames in the future, but for the moment the current implementation in QuiltiX does the job.
I would be fine with enforcing a naming convention for nodedefs created in QuiltiX. But as you said, there might be nodedefs coming from other applications, which don't follow this convention.


ts-wallet-sdk: remove unneeded account

not needed after updating the ts-wallet-sdk

Preview is available here:http://developers-pr285.previews.kube001.services.stellar-ops.com


Extension should be disabled on Microsoft Documentation sites

Most of Microsoft Documentation sites like this have their own solution implemented: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
Altering the headings causes glitches with the original link icon (it is displayed righter and so in front of the text instead of left to it).

Yeah I disable it on GitHub for a similar reason. I pushed an update to disable it on docs.microsoft.com. If you update to version 1.2.7 it should look okay again.


Code Quality changes for JsonAdaptedTask

Codecov Report

Merging #306 (fff70eb) into master (8b900e2) will decrease coverage by 0.06%.
The diff coverage is 82.35%.

@@             Coverage Diff              @@
##             master     #306      +/-   ##
============================================
- Coverage     69.56%   69.49%   -0.07%
- Complexity      785      794       +9
============================================
  Files           107      107
  Lines          2645     2672      +27
  Branches        321      321
============================================
+ Hits           1840     1857      +17
- Misses          721      725       +4
- Partials         84       90       +6

Impacted Files
Coverage Δ

.../main/java/manageezpz/storage/JsonAdaptedTask.java
89.18% <82.35%> (-5.86%)
:arrow_down:

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 8b900e2...fff70eb. Read the comment docs.


Missing required secret OPENAI_API_KEY in PR workflow

Describe the bug
Missing required secret OPENAI_API_KEY in PR workflow configuration, which causes the workflow to fail when running integration-tests tasks.

To Reproduce

integration-tests
Expected behavior

This PR workflow should continue running
Screenshots

Additional context

This secret is essential for any workflows that interact with OpenAI's API. Without this configuration, all PR checks that require OpenAI integration will fail.

Is this Issue resolved @pgoos ?


Precidence typo

Close for the same reason as mentioned in https://github.com/microsoft/vscode/pull/78576#issuecomment-519731948, thanks!


setup project files

in this branch i did

[ ]  add html file.
[ ]  add CSS file.
[ ]  edit Readme file.
[ ] add Linters.

I don't know how.. can You Tello me how?
El jue., 23 de marzo de 2023 5:04 p. m., Jerry Owusu <
@.***> escribió:

@.**** requested changes on this pull request.
Hi @omarlee2 https://github.com/omarlee2
Good job so far!
Your project is looking fantastic so far 🤩
However, there are few changes you need to make in order to move on to the
next level 😎
[image: so-close]
https://user-images.githubusercontent.com/65233860/227383571-92405161-fe19-4489-ae16-ac5a0d08674d.gif
Highlights
Used github flow ✔
Great effort so far ✔
Required Changes ♻

The linters are not properly set up, hence linter checks is zero.
Kindly check and ensure the linters are set up properly and working
accordingly to help produce quality and up to standard project. 😉
Your readme is not up to standard. Kindly consider using the microverse
readme template https://github.com/microverseinc/readme-template and
customizing it to make it look more professional and up to standard.
According to the project requirements, you are suppose to add the
test.md file and the node_modules directory to the .gitignore file.
This will help avoid pushing the whole node_modules and its content online.

Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
—
Reply to this email directly, view it on GitHub
https://github.com/omarlee2/my-new-blog/pull/1#pullrequestreview-1355787348,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4AK7SSUJCT6WXFEFANBIT3W5TJIRANCNFSM6AAAAAAWF2KBDA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@jerryowusu  its already finished step by step but theres is a problem.. in my computer says everything is ok but hetre in the review there is an isue and is helpíng me someon from module 4 and he is also sourpriced that this is happening.. please let me know whats next


Union type is not compatible to second union type, even with full overlap.

TypeScript Version:  3.3.3

Search Terms:
Union types overlapping
Code
interface Blue {
    color: 'blue'
}
interface Yellow {
    color?: 'yellow',
}
function draw(val: Blue | Yellow) { }

function drawWithColor(currentColor: 'blue' | 'yellow' | undefined) {
    // The following line throws the type error: Type '"blue"' is not assignable to type '"yellow"'.
    return draw({ color: currentColor });
}

Expected behavior:
No type errors exist, because there is an interface which would accept 'blue'.
Actual behavior:
An error is thrown:
Argument of type '{ color: "blue" | "yellow"; }' is not assignable to parameter of type 'Blue | Yellow'.
  Type '{ color: "blue" | "yellow"; }' is not assignable to type 'Yellow'.
    Types of property 'color' are incompatible.
      Type '"blue" | "yellow"' is not assignable to type '"yellow"'.
        Type '"blue"' is not assignable to type '"yellow"'.

Playground Link:
Link to the playground example

It might be the case that a literal with type { x : A | B } is assignable to { x: A } | { x: B }, but this does not hold when you have more properties. TypeScript wont special-case for single property objects.

#8289 / #12052 /  #18421


[extractor/sbdm] Add www.sbdm.net

Add hlsnative_fake_header, to handle https://github.com/yt-dlp/yt-dlp/issues/4381
Add extractor for www.sbdm.net, it uses some js anti-crawler tech, so I used PhantomJSwrapper

PhantomJS is not maintained, and I found some site can anti-phantomjs, maybe should consider selenium
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[x] New feature (It is strongly recommended to open an issue first)

Description of your pull request and other information

DESCRIPTION
Fixes https://github.com/yt-dlp/yt-dlp/issues/4381

PhantomJS is not maintained, and I found some site can anti-phantomjs, maybe should consider selenium

Selenium/Playwright is not a replacement for phantomJS. That said, I am not against using them, or another replacement for plantomJS if the need arises. But so far, nobody wants to put in the effort to implement the framework for anything else, since PJS is sufficient for the usecases we have


Add dynamic clock control

DQCE and DCS primitives are added - disabling the clock in a quadrant and dynamically selecting the clock source accordingly.
With this commit we are finally able to use clock lines 6 and 7 :)
Added examples for Tangnano1k, Tangnano4k, Tangnano9k, Primer20k, Tangnano20k boards.
From the internals: in addition to the well-known fuse tables SHORTVAL and LONGVAL, functions have been added for working with another table - LONGFUSE. It differs in that it describes the fuses of primitives with only one parameter, in contrast to two parameters for SHORTVAL and 16 parameters for LONGVAL.

Until the PR goes through in nextpnr, there will be errors, so we'll wait.

Well, for some time only one version of the examples will be green - until the release of yosys, since there are our changes in main.

well we're in luck there was a release 3 days ago

Great! Now we have 2 green pieces again :)


[US-18-1] Create locators tree component

replace Locators list with new component Locators tree.
remove sorting functionality
make temporary unavailable:
- deleting functionality
- edit locator functionality
- select/unselect locators by checkboxes
rework inProgress icons

for more details see parent task

depends on #424

3.1.183

visual fixes: 3.1.184


Logging of backend service not working anymore

Subject of the issue
At least for the Data Service and Validator Service the application logging is not working anymore. The logging is fully filter out, even after setting the levels at debug level. It needs to be check for the CIM Mapping Service and Auto Alignment Service.
If last two are still working it can be related with the introduction of Websocket and EventBus (Reactive implementation).
Steps to reproduce
Start using the service using a Container Image and check the console logging of the container, no logging is found for the application, so nothing from the package 'org.lfenergy'. There should be a minimum of logging displayed.
When starting the service from a IDE or Maven it works correctly and the logging is displayed.
Expected behaviour
Application logging found in the console.
Actual behaviour
No application logging found in the console.

It seems to be related with going to version 2.x of SLF4J.
https://www.slf4j.org/codes.html#ignoredBindings
The JBoss SLF4J LogManager seems to be of a earlier version and not working anymore.

After discussing it internally we will try to switch to log4j2.
If slf4j is used by others slf4j can be configure to also process the log4j2 lines.
And Quarkus has a LogManager for log4j2 also.


OSGi frameworks take a very long time to load

With the recent wave of dependency changes, OSGi frameworks in Domino and Tycho Surefire take an anomalously-long time to load. Since they do eventually load successfully, it's unclear why this change took place, but it's consistent.

This seems to be related to JAX-RS - adding the feature to the target platform of the jakartaee.test bundle causes a massive delay, while removing it makes it zip by without issue.


Cannot conform to the cell protocol with Swift

Hey,
Thank you for an awesome framework!
I am trying to conform to the UIExpandingTableViewCell with Swift, but is unable to do so.
I have tried to do it in many ways with initializers etc, as explained here also:
http://stackoverflow.com/questions/27932235/conforming-to-an-obj-c-protocols-property-in-swift
Is it not possible to use the framework in Swift or am I doing it wrong?
Here is the table view cell subclass that I am trying with:
import UIKit
import SLExpandableTableView

class PresentationListItemTVC : UITableViewCell, UIExpandingTableViewCell {
	var loading: Bool = false

	var expansionStyle: UIExpansionStyle = UIExpansionStyleExpanded

	func setExpansionStyle(style: UIExpansionStyle, animated: Bool) {
	}
}

Here are the issues

Wish cloud help you .
http://stackoverflow.com/questions/32254051/how-to-conform-to-objective-c-protocol-with-readonly-properties-in-swift

It worked - thank you!

can u send swift complete code ?


Added Radio button to GUI3.py

Added Radio button for switching between live and synthetic data Ticket #85

Video demo should be sent on D2L. Have you done it already? Please confirm. Pull request is approved, once we can check that your implementation is completely working in the appropriate way.


Reference error: moment.localeData broken for Spanish (es) locale when trying to serialize

There is a small issue with es locale.
We use moment.localeData(LOCALENAME)._config to package all locale data for FE application (only one locale is loaded at a time) and it currently produces a reference error for monthsShortDot variable. Since the function monthsShort references a variable from upper scope it's not available after de-serialization.
In all other locales we used so far variables were encapsulated to be part of this _config. I understand this is somewhat undocumented use case, but I see no other way to bundle locale data. Could you perhaps fix this (or allow a PR)?
This is the problem specifically: https://github.com/moment/moment/blob/develop/src/locale/es.js#L7
It would be cool to simply move it down to line 16 and define inside the function. That should solve my problem. Relevant PR: https://github.com/moment/moment/pull/4588

You say you're trying to bundle locales, but only load one at a time.
Did you read through the documentation about how to load locales on demand - e.g. using RequireJS (which further refers to this comment).
// async load locale
define(['require', 'moment'], function(require, moment) {
  // Inside some module after the locale is detected. This is the
  // case where the locale is not known before module load time.
  require(['moment/locale/de'], function(localeModule) {
    // here the locale is loaded, but not yet in use
    console.log(moment().format('LLLL'));  // 'Friday, June 24, 2016 1:42 AM'

    moment.locale('de');
    // Use moment now that the locale has been properly set.
    console.log(moment().format('LLLL')); // 'Freitag, 24. Juni 2016 01:42'
  })
});

I'm a little confused about the issue you're having.
You're quite right that require('moment/locale/de') returns something that looks like an empty object.  That's the set of exports from the locale file when loaded as a module... i.e. it doesn't export anything.
The locale file does all its work by hooking into the global moment, so... requiring a locale works fine, you just need to switch to it afterwards with (e.g.) moment.locale('de')

We generate our code bundle with browserify on the server and don't load anything on demand via runtime as with RequireJS.
I'm bundling all language data (mostly JSON, using https://github.com/yahoo/serialize-javascript package) separately from my main script file so it doesn't bloat with unused translations. Since we only use 1 locale at a time, say 'de', there is no point in loading everything else ('fr', 'it', 'es', ...).  This way I have all locale data stored in separate files: locale-de.js, locale-fr.js, ... that can be loaded depending on the language used.
The code that uses moment library and the locale that moment library uses live in separate files with separate scopes.

Does the that extended JSON format allows IIFE's?  Can you just wrap up the locale?
var fs = require('fs');
var es = `{
  "moment-locale": (function() {
    ${fs.readFileSync('./node_modules/moment/locale/es.js').toString()}
  })(),
  "other-locale-stuff": {
    ...
  }
}
`;
console.log(es);

It would surely serialize the function, but I don't have moment globally (it's packaged inside main code bundle all wrapped in IIFE too).
In other words it would include the code but do nothing. Following this approach I could go straight after the source:

Other locales suffer the same issue too: 'ar-ly', 'ar-sa', 'ar', 'az', 'be', 'bn', 'bo', 'br', 'cs', 'es-do', ...
If I was a maintainer (I'm not), I wouldn't merge the PR for the reason it doesn't fix the general issue and doesn't move the locales or localeData any closer to being able to import/export as pure JSON.

I think it doesn’t have to be JSON, just a self encapsulated object would be enough. I would update all locales if maintainers agree to merge such an undertaking.


CI: switch from Travis to GitHub Actions

Removes Travis and adds GitHub Actions as CI instead.
An example run of this code can be found here: https://github.com/guggero/pool/runs/4048500708?check_suite_focus=true
Pull Request Checklist

[ ] LndServices minimum version has been updated if new lnd apis/fields are
used.

BTW @guggero shouldn't this branch have some checks already running?

Unfortunately not, they only run once they're in master (security precaution).


Replaced 'loc' with 'node' for context.report

Should fix the reported location for promise/always-return errors.
Tested with both eslint@^2 and eslint@^3, but I don't know how to add it to project tests :/

Looks good to me. Let's just do it

Will publish a patch release soon

Good :)


function to mask the message on the client

I thought it would be nice to have a function to mask the message on the client, since it is a recommendation from RFC6455, they actually tell it to write servers so they do not accept messages that are not masked. Or am I reading outdated information and changed?

For what I see the library already take care o masking client to server messages.
See this screenshot of wireshark capturing websocket packets:

What makes you think it does not mask it as expected from the RFC?

I have to be wrong, I was using a code that masked and the message arrived at the masked server, when I send this module to the server (it's a server external to godot websocket) it's coming clean, and I'm not doing anything to unmask the message on the server side, then I thought maybe I was without a mask.

@PerduGames sounds strange, usually you don't have to mask/unmask manually because it's handled by the client/server library.
If the server was not unmasking automatically with your old, non-lws, code, chances are, you were not properly setting the MASK bit in your previous implementation.

is I thought about it, because I'm using the ws module on nodejs on the server, which I believe unmask automatically, the truth is that I'm using a code that is not mine, and I think they're masking it wrong, I'll do an implementation of mine here to learn , but I believe the ws already unmask even though I have not found anything in the documentation about.


[Bug]: OpenAI compatible server with HuggingFaceTB/SmolVLM-Instruct resulting in 500 Internal Server error

Your current environment

The output of `python collect_env.py`
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 23.10 (x86_64)
GCC version: (Ubuntu 13.2.0-4ubuntu3) 13.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.38

Python version: 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.5.0-44-generic-x86_64-with-glibc2.38
Is CUDA available: True
CUDA runtime version: 12.0.140
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 4090
GPU 1: NVIDIA GeForce RTX 4090
GPU 2: NVIDIA GeForce RTX 4090
GPU 3: NVIDIA GeForce RTX 4090

Nvidia driver version: 535.171.04
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             32
On-line CPU(s) list:                0-31
Vendor ID:                          AuthenticAMD
Model name:                         AMD Ryzen Threadripper PRO 5955WX 16-Cores
CPU family:                         25
Model:                              8
Thread(s) per core:                 2
Core(s) per socket:                 16
Socket(s):                          1
Stepping:                           2
Frequency boost:                    enabled
CPU(s) scaling MHz:                 47%
CPU max MHz:                        7031.2500
CPU min MHz:                        1800.0000
BogoMIPS:                           7985.24
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin brs arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
Virtualization:                     AMD-V
L1d cache:                          512 KiB (16 instances)
L1i cache:                          512 KiB (16 instances)
L2 cache:                           8 MiB (16 instances)
L3 cache:                           64 MiB (2 instances)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-31
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.2.0
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[pip3] transformers==4.46.3
[pip3] triton==3.1.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.4.127                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-ml-py              12.560.30                pypi_0    pypi
[conda] nvidia-nccl-cu12          2.21.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.4.127                 pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.4.127                 pypi_0    pypi
[conda] pyzmq                     26.2.0                   pypi_0    pypi
[conda] torch                     2.5.1                    pypi_0    pypi
[conda] torchvision               0.20.1                   pypi_0    pypi
[conda] transformers              4.46.3                   pypi_0    pypi
[conda] triton                    3.1.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.4.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	GPU1	GPU2	GPU3	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	SYS	SYS	SYS	0-31	0		N/A
GPU1	SYS	 X 	SYS	SYS	0-31	0		N/A
GPU2	SYS	SYS	 X 	SYS	0-31	0		N/A
GPU3	SYS	SYS	SYS	 X 	0-31	0		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

LD_LIBRARY_PATH=/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/cv2/../../lib64:
CUDA_MODULE_LOADING=LAZY

Model Input Dumps
No response
🐛 Describe the bug
Trying to run the HuggingFaceTB/SmolVLM-Instruct as openapi-compatible server. The server is coming up but when trying to use the api, it is giving a 500 Internal Server Error. Attaching the code snippet and error stack trace below.
Model : https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct
Code:
from openai import OpenAI

openai_api_key = "abc"
openai_api_base = "http://localhost:8000/v1"

client = OpenAI(
    api_key=openai_api_key,
    base_url=openai_api_base,
)

# Function to encode the image
def encode_image(image_path):
  with open(image_path, "rb") as image_file:
    return base64.b64encode(image_file.read()).decode('utf-8')

# Path to your image
image_path = "e44324b2c031f6.jpg"

# Getting the base64 string
base64_image = encode_image(image_path)

# Single-image input inference
image_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"

try:
    chat_response = client.chat.completions.create(
        model="HuggingFaceTB/SmolVLM-Instruct",
        messages=[{
            "role": "user",
            "content": [
            # NOTE: The prompt formatting with the image token `<image>` is not needed
            # since the prompt will be processed automatically by the API server.
                {"type": "text", "text": "You are a helpful image captioner. Can you describe the image?"},
                {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{base64_image}"}},
            ],
        }],
    )
    print("Chat completion output:", chat_response.choices[0].message.content)
except Exception as e:
    print(f"Error type: {type(e)}")
    print(f"Error message: {str(e)}")

Error on the openai compatible server
Traceback (most recent call last):
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
    yield
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__
    async with anyio.create_task_group() as task_group:
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 685, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
    return await self.app(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
    raise exc
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
    await self.app(scope, receive, _send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
    with collapse_excgroups():
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 490, in add_request_id
    response = await call_next(request)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next
    raise app_exc
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
    await route.handle(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/routing.py", line 76, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/starlette/routing.py", line 73, in app
    response = await f(request)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app
    raw_response = await run_endpoint_function(
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
    return await dependant.call(**values)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 347, in create_chat_completion
    generator = await handler.create_chat_completion(request, raw_request)
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/entrypoints/openai/serving_chat.py", line 238, in create_chat_completion
    return await self.chat_completion_full_generator(
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/entrypoints/openai/serving_chat.py", line 598, in chat_completion_full_generator
    async for res in result_generator:
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/utils.py", line 402, in iterate_with_cancellation
    item = await awaits[0]
  File "/home/rendernet/.conda/envs/vllm/lib/python3.10/site-packages/vllm/engine/multiprocessing/client.py", line 633, in _process_request
    raise request_output
TypeError: argument of type 'NoneType' is not iterable

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Looks like the same error as https://github.com/vllm-project/vllm/issues/10764


add useful git resource

a good visual way to learn and understand git concepts

Awesome resource, thanks! :+1:


Operator crashes on invalid cr.yaml

Operator itself will keep crashing if an invalid cr.yaml is applied, according to the code, the Marshal step will cause panic to crash the operator.
So why using panic here?  It will be better if we can get some errors instead of the panic, so that we can implement our own logic to delete the invalid crd as operator's failover revert

@mcgG Thanks for pointing that out. You're right it should just return an error instead of a panic and crashing the operator. That panic was only meant to be a placeholder initially.
So what we can do is just ignore an invalid CR (or an object that we can't deserialize into a runtime object) and have the operator log and ignore it until it gets removed from the queue in the informer sync.
https://github.com/operator-framework/operator-sdk/blob/master/pkg/sdk/informer-sync.go#L77
We can't really pass it on to the handler since we can't get a runtime object at that point. And besides the operator really shouldn't delete a CR just because it's invalid. That should be done by the user who created it and controls the CR lifecycle.

@AlexNPavel，thanks for the quick move!


Improve the Windows "Verifying the release" documentation

The https://sparrowwallet.com/download/ documentation Windows section states:
Windows

CertUtil -hashfile Sparrow-1.8.1.exe SHA256 | findstr /v "hash"
Compare result to the appropriate value in sparrow-1.8.1-manifest.txt!

With all these steps complete you can be certain of the integrity of your download and can proceed to install!

If you are still struggling, watch [this tutorial](https://youtu.be/U0I-ImS_r8o?t=1889) which covers the same process on macOS. There are also written tutorials for [Windows](https://www.athena-alpha.com/install-sparrow-wallet-on-windows/) and [Ubuntu](https://www.athena-alpha.com/install-sparrow-wallet-on-ubuntu/).

Windows users are usually not technical and not used to writing in the terminal. I think it should be better specified that before running the CertUtil command is important to change directory to the Downloads directory.

It does actually, at the top:

I do wish it was easier - but it is safer to have independent providers of different parts of a secure setup, so difficult for me to improve this directly.


Upgrade MonacoEditor to 0.9.0

https://github.com/Microsoft/monaco-editor/releases/tag/v0.9.0

Done.

Hi @domoritz and @expobrain, just chiming in to send a big thanks to you and everyone else who has worked on the updates over the past weeks! This is something I couldn't have done, but I'm super-glad that you have the expertise and took the time to maintain this hugely useful package. If I can get you a portion of your preferred beverage, do let me know ;-) . Cheers, a very grateful (end-) user


python_texttable on saucy is not released as deb

Close https://github.com/jsk-ros-pkg/jsk_common/issues/1502
looking at https://launchpad.net/ubuntu/+source/texttable/+publishinghistory, python-texttable did not release on saucy
Cc: @tfoote

A pip package won't be sufficient to release another ROS package upon.

@dirk-thomas that's ok, I just wanted to know if our package contains pip dependency or not.


[asio-grpc] Update to 1.4.0

Updates asio-grpc to v1.4.0

Which triplets are supported/not supported?

Yes

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static


Request for example of VideoJS integration with IMA Flash SDK

Currently we have an example of videojs integrating with IMA HTML5 SDK. I'd like to request similar example integrating videojs with ima flash sdk.

Hi there,
Currently we're only supporting this HTML5 integration with videojs. If you'd like to use the Flash SDK, I think your best bet would be to follow along with the Flash "Get Started" guide substituting the videojs player for the Flash VideoPlayer.


[Settings] Hiding changelog keeps separator and cannot re-enable

Describe the bug

Choosing to hide the changelog setting keeps its separator visible
Re-enabling the changelog setting does not show it again

To Reproduce
Steps to reproduce the behavior:

Go to the settings menu
Click on Settings under Goosemod
Toggle Goosemod Changelog
See first error
Toggle Goosemod Changelog again
See second error

Expected behavior

When hiding the Changelog, the expected behavior is that the separator which separates the Changelog from the module store to disappear as well
When re-enabling the Changelog, the expected behavior is that the Changelog setting reappears

Screenshots
The changelog is re-enabled but the setting is still hidden

Notice the blank area between two separators where the Changelog button would usually be

GooseMod info:

Update Channel: Release (Togged to dev but didn't restart)
Version: 8.0.0 (8af3709)
Modules: Not relevant

Discord info:

Update Channel: Canary
OS: Arch Linux
Host Version: 0.0.119
Web Version: Canary 81996 (c9839c1)

Other info:

Other Mods: N/A

Additional context
I'm unable to check the console for errors because for the longest time, the entire devtools menu has been blank

Verified issues, making fixes.

Fixed in a commit some hours ago.


add index page, support git target submit

Coverage decreased (-0.5%) to 42.325% when pulling e4e1e27bbbbdd673ed68ea34b65f822d3e8c0429 on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.5%) to 42.325% when pulling e4e1e27bbbbdd673ed68ea34b65f822d3e8c0429 on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.5%) to 42.325% when pulling 8cb19d1587671bfe57f4c6e2e1a7f2b25ecd4048 on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.5%) to 42.325% when pulling 8cb19d1587671bfe57f4c6e2e1a7f2b25ecd4048 on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.1%) to 42.688% when pulling a332179c9d6cd987e59504cffaa9a5e4d1c07dc0 on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.1%) to 42.688% when pulling e51ea7632ec18130a65d8f905a1bb82d40e3d06f on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.1%) to 42.688% when pulling fbcc46b7d2bf30eeec2249bdcc37b7d7f2f9c3ce on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.

Coverage decreased (-0.1%) to 42.688% when pulling 5ba497805b79fab9a1b7cf346f120f9981a1974f on 40huo:master into 5a86a60545ff196c6579a083f021d2b30cd7af34 on wufeifei:master.


[logs] Aggregates long lines when tailing in a k8s env - part #1

What does this PR do?
It isolates the parsing logic in the log pipeline (when tailing from file):
It changes
[...] -> decoder -> line_handler -> [...]

by
[...] -> decoder -> line_parser -> line_handler -> [...]

Motivation
Make room for additional parsing+buffering logic to support split lines (usecase: log tailing in a k8s environment with explicit tailing from file, lines are split in 16k chunks) and keeps other feature intact.
Additional Notes
It will add a slight overhead.
See subsequent PR #6266 for the release note.
Describe your test plan
Existing UT adjusted.
New UT.
IRL tests.

LGTM. I am not familiar with this code and so requesting another review might be a good idea. In particular, it is hard to track the logic of rawDataLen.
Note: Test failed.

The logic behind rawDataLen is to keep track of the current position while tailing to be able to restart the agent and start tailing at the exact place where the agent stopped tailing. I rebased and double checked the PR, test are 🟢  now.

Small benchmark (ec2 t2.medium single file on a ramdisk, set offset to 0 in registry to tail it from the beginning):

Overall the processed log per second seems to be stable.


Add odometer to the summary page

It's the one thing that I want to consult (it's also on the main screen of the tesla app) but is not there. Could you add this?

Thanks for adding this swiftly!


BUG: boxcox data dimension and constancy check #5112

Reference issue

Closes #5112
What does this implement/fix?

This raises ValueError when data is not 1-dimensional or all values are equal. Docstring has been improved as well.

LGTM now, merged. Thanks @JDkuba!


Various fixes

Description
Various fixes
Type of change

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

Testing steps
Done on CI
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #625 (b476a82) into master (156f558) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #625      +/-   ##
==========================================
+ Coverage   79.42%   79.46%   +0.03%
==========================================
  Files          15       15
  Lines        1672     1675       +3
==========================================
+ Hits         1328     1331       +3
  Misses        243      243
  Partials      101      101

Impacted Files
Coverage Δ

logging/splunk.go
100.00% <100.00%> (ø)

server/server.go
78.98% <100.00%> (+0.40%)
:arrow_up:

storage/storage.go
70.13% <100.00%> (ø)

utils/maps.go
100.00% <100.00%> (ø)

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 156f558...b476a82. Read the comment docs.


Enhancement: a11y for font size and localisation language in account settings

Discussed in https://github.com/danny-avila/LibreChat/discussions/3769

Originally posted by kukoboris August 24, 2024
When I try to select font size and localisation language in the account settings, scrolling in the options selection menu doesn't work (neither mouse nor keyboard)

@danny-avila
Selecting options does not work...
https://github.com/user-attachments/assets/72942a65-69a2-40fb-bb4d-76a3d2933134

https://github.com/user-attachments/assets/2b88003e-0758-4510-818e-52165f07bf63
it seems to work on my end, not sure what it could be at first glance

From the styling on your end, it could be an older version

@danny-avila I use image: ghcr.io/danny-avila/librechat-dev-api:latest. Made update 10 min ago

@danny-avila I use image: ghcr.io/danny-avila/librechat-dev-api:latest. Made update 10 min ago

Oh I see, there is something screwy there. I'm on it

@danny-avila I use image: ghcr.io/danny-avila/librechat-dev-api:latest. Made update 10 min ago

this might be unique to this build

@kukoboris the issue is fixed. in the librechat-dev-api build, the packages were resolving to a later version, likely of headlessui/react, which are unaccounted for.
I could have simply forced the package at the working version, but that would be a bandaid fix, and though the action I took may be disruptive, it's necessary to avoid bugs like this with other packages.
This is a long-standing issue with that particular image, I've decided to align that build closer to the main Dockerfile as it maintains package integrity, which prevents a host of npm issues leading to unaccounted dependencies.
Will watch out for this as well as write unit tests for these simple dropdowns

@danny-avila Great! It works now! Thank you very much!


Make documentation accessible outside Shopify

Let's make sure our documentation website can be viewed outside Shopify

Done.


Update splunk-otel-js to latest

Update splunk-otel-js to latest

A similar update was already merged into the chart.


[folding] Closing fold not being shown when folding

When I fold I like to see my last character, but in visual studio code insiders I can't :(
It works in Visual Studio stable version. (Version 1.21.1)

VSCode Version: Version 1.22.0-insider (1.22.0-insider)
OS Version: Mac OS HIGH Sierra 10.13.3

Steps to Reproduce:

Open Visual Studio Code Insiders.
Set language to javascript.
Paste some javascript code.
Try to fold some code

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

@mjbvz I wonder if we should disable the syntax aware folding again for the stable rebuild. There will many duplicates of this issue and we don't want tell everybody to turn off the experimental folding

The same issue for jsx codes in React.


Have swoop init look to existing .git folder if swoop initing on existing git repo

It can take the name or parse the remote to make sure the names match.

This is implemented in 1.2.8


[5.6] Return 201 in case of a Model just created.

https://github.com/laravel/framework/pull/21603

Why would this be helpful?

@mathielo Tests?

@m1guelpf If only I could... 😔
As I've seen, the whole file isn't tested, and IMO the purpose of this PR isn't to add a bunch of tests. I can create a new file for the router and just test the modification, but I had trouble with people in some of my PRs because of tests (when more modifications in tests than in feature), so I'm a bit cautious with that.

Added behaviour? Add some tests.

had trouble with people in some of my PRs because of tests

Why would people have trouble with you adding tests?

Added behaviour? Add some tests.
Totally agree..!

Why would people have trouble with you adding tests?
As I said, there is a difference between adding some tests in the middle of others, and creating some new tests classes and way to tests features. When it's only one understandable line added to the code it's ok, but when you add more modifications in the tests that in the features, it can "fear" some people. ¯_(ツ)_/¯

But guys I totally agreed with all of you, and I'm a TDD guy, so no need to argue about that with me.
Will add a file to test the router, and some tests for this one.

You can easily write an integration test for it.

Looks at the routing tests in the Tests/Integrations folder.


[Docs] Add "language: en" to the frontmatter of all Docs pages that are in English

Current State
A Spanish translation of Meshery's docs exists. In order to facilitate a separation between viewing the dark speak in different languages, it would be good to have all pages containing a language frontmatter setting. Currently, not all of the English pages have this setting.
Example of a page missing this setting - https://github.com/meshery/meshery/blob/master/docs/pages/reference/rest-api-reference.md?plain=1
Example of a page having this setting - https://github.com/meshery/meshery/blob/master/docs/pages/reference/troubleshooting/installation.md?plain=1

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey @leecalcote, I would like to work on this issue.

by adding line  language: en to the docs should solve this @leecalcote can i work on this issue , please assign me.

@hirentimbadiya, @nishantminerva. @tcchawla Has asked for the assignment first, since @hirentimbadiya had added commits let him take this one, but @hirentimbadiya next time please get an issue assigned before making a direct PR/commit.
@tcchawla @nishantminerva let's get you on some more good first issues.

thank you gaurav , yes I will take care of that for sure!!


Fix deprecation error

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/react-native-keyboard-avoiding-scroll-view/dist/KeyboardAvoidingContainer.js b/node_modules/react-native-keyboard-avoiding-scroll-view/dist/KeyboardAvoidingContainer.js
index fadc258..a72fd7d 100644
--- a/node_modules/react-native-keyboard-avoiding-scroll-view/dist/KeyboardAvoidingContainer.js
+++ b/node_modules/react-native-keyboard-avoiding-scroll-view/dist/KeyboardAvoidingContainer.js
@@ -111,7 +111,7 @@ export function useKeyboardAvoidingContainerProps({ stickyFooter, containerStyle
             if (keyboardLayoutRef.current)
                 return;
             const { endCoordinates: newKeyboardLayout } = event;
-            const newFocusedTextInputNodeHandle = NativeTextInput.State.currentlyFocusedField();
+            const newFocusedTextInputNodeHandle = NativeTextInput.State.currentlyFocusedInput();
             const newStickyFooterNodeHandle = findNodeHandle(stickyFooterRef.current);
             const [newFocusedTextInputLayout, newStickyFooterLayout,] = await Promise.all([
                 newFocusedTextInputNodeHandle

This issue body was partially generated by patch-package.

thanks, i was looking for a fork @lauridskern
I wish there was a way to make this always scroll the last input right to the keyboard, or even choose the element that should be right above the keyboard. if i have 4 inputs it scrolls up to far and only 2 can be scene

I started getting this error on ios after i patched it
WARN  Possible Unhandled Promise Rejection (id: 0):
Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.
[[35,58],[12,0],[[59,100,1679509378697,false]],585]


anterior cranial fossa

abnormal anterior cranial fossa morphology
DEF: any structural anomaly of the depression in the floor of the cranial base which houses the projecting frontal lobes of the brain; it is formed by the orbital plates of the frontal, the cribriform plate of the ethmoid, and the small wings and front part of the body of the sphenoid; it is limited behind by the posterior borders of the small wings of the sphenoid and by the anterior margin of the chiasmatic groove; the lesser wings of the sphenoid separate the anterior and middle fossae
Synonyms
BROAD: abnormal anterior fossa morphology
EXACT: abnormal fossa cranii anterior morphology
SOURCE: https://en.wikipedia.org/wiki/Anterior_cranial_fossa

abnormal anterior cranial fossa morphology MP:0030307


Correction for raw affiliation UMR 5600 Environnement Ville Société CNRS, Lyon, France

Correction needed for raw affiliation UMR 5600 Environnement Ville Société CNRS, Lyon, France
raw_affiliation_name: UMR 5600 Environnement Ville Société CNRS, Lyon, France
new_rors: 02feahw73;0256r1e04
previous_rors: 02feahw73
works_examples: W2106688422
contact: 8d087effb8b561b5c7c5dcb921e2f27c:53d599adf57e63787e9a24c0663a @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


AttributeError: 'DataFrame' object has no attribute 'append'

For masked_language_modeling.ipynb, there is the error.  My system is Python 3.10, TensorFlow 2.13 and pandas 2.03.
It reminds the warning:  FutureWarning: The frame.append method is deprecated and will be removed from pandas  in a future version. Use pandas.concat instead.

AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_97675/3156859266.py in ?()
27
28 # FutureWarning: The frame.append method is deprecated and will be removed from pandas
29 # in a future version. Use pandas.concat instead.
30 # https://stackoverflow.com/questions/75956209/error-dataframe-object-has-no-attribute-append
---> 31 all_data = train_df.append(test_df)
~/miniconda3/envs/tf/lib/python3.10/site-packages/pandas/core/generic.py in ?(self, name)
5985             and name not in self._accessors
5986             and self._info_axis._can_hold_identifiers_and_holds_name(name)
5987         ):
5988             return self[name]
-> 5989         return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'

Hi,
I was able to run End-to-end Masked Language Modeling with BERT without any error or warning.
Here is the attached Gist for reference. Thanks!

I believe the error may be related to your Pandas version. However, in Pandas 2.0, the 'append' method has been deprecated.
You have a few options to resolve this:

You can install the Pandas version to one that supports the 'append' method.
Or replace 'append' with '_append' if it's suitable for your code.
Or use the 'concat' function instead. Please note that the syntax for 'concat' will change, and you'll need to modify your code to use it like this: 'pd.concat( [train_df, test_df], ignore_index=True).'

@qlzh727 @fchollet (i make a PR about this issue #1525 )


Specify install bundler version in travis builds

Latest builds on travis are broken because of bundler is too old and contains some issues.
Refs: bundler/bundler#3558 travis-ci/travis-ci#3531

Thanks, I've needed to do this on some other repos, but just hadn't quite gotten there on this one yet.


Some edits to PR #771

@seojangho - as we've discussed offline, I’ve made some changes to your branch to understand the overall scheduler code myself and make synchronization points more explicit. Please take a look, and let me know if it looks good to be merged into your branch.
Note that I was not able to run tests, due to the bugs currently present in the master branch.
Code summary

Only two threads call scheduling code: RuntimeMaster thread (RMT), and SchedulerThread(ST)
RMT and ST meet only at two points: SchedulingPolicy, and PendingTaskGroupQueue, which are synchronized(ThreadSafe)
Other scheduler-related classes that are accessed by only one of the two threads are not synchronized(NotThreadSafe)
We use ContainerManager for handling containers only, and not executors (to avoid hanging, we also don’t wait for pending resource requests upon termination)
ExecutorRegistry and ExecutorRepresenter fully classify running/failed/completed Executor/Taskgroups

Thanks for the changes. I'll merge #798 and do tests.

This PR should be moved to incubator-nemo.

@bgchun Will move to incubator-nemo.


cannot generate static model relationships with extensible nodes

Hi,
I want to generate a static model with cypher-dsl-codegen-core. I have relationships that include extensible nodes. The generated code is not compilable because of issues with the generics definitions.
I used version 2023.9.6.
Here is a code snippet to generate non-compilable code.
var targetDir = Path.of("target/generated-sources/");
var configuration = Configuration.newConfig().withDefaultPackage("org.example").build();
var foo = NodeModelBuilder.create(configuration, null, "Foo")
        .setExtensible(true)
        .addLabel("Foo")
        .addProperty("prop1");
var bar = NodeModelBuilder.create(configuration, null, "Bar")
        .addLabel("Bar")
        .addProperty("prop2");
var relation = RelationshipModelBuilder.create(configuration, null, "Related")
        .addRelationship(foo, bar);

foo.writeTo(targetDir);
bar.writeTo(targetDir);
relation.writeTo(targetDir);

@Andy2003 care to have a look? I think u worked in that area the last time.

Hey @mb-nick Can you try if this https://github.com/neo4j-contrib/cypher-dsl/pull/974 works for you?
You'll get a build with ./mvnw -Dfast package (JDK17 required).
The extensible thing is really not my area of expertise and has been brought in by @Andy2003 for a thing he was building. While the SDN code generate uses the builders too, it does not use the extension feature. I am kinda hoping here I don't break potential other users too much, but I needed to fix the generated classes for the nodes first, than moved on to the relation.

Lgtm, thank you for fixing it!


Add all services links to all environments

Description
Since chrome is not using the services config anywhere (it will use it in stage once https://github.com/RedHatInsights/insights-chrome/pull/2398 is merged) we can safely copy what's in stage to every environment. If the service is not available in the navigation config it won't be added to the final list anyway.

@karelhala I think you are missing stage beta env. it should be the same as prod beta right now.


Added checks to partition creation to prevent loss of data. JCB

The specific issue I faced is also  located due to config_docker_lvs.yml reconfiguring LVM on the coker nodes


Custom error for unexpected closing tag

A message of </f> will currently fail because it's expecting letters for an opening tag. It could check if the first char is a forward-slash and error that <f> was never opened.

https://github.com/unsplash/intlc/commit/598544f7b9006644eb226b4b28690fabc613871a


[BACKPORT][v1.3.3] fix(replica): Replica must be closed when rebuild

Replica banckend needs to be closed if the number of snapshots is up to the limitation and replica rebuiding is occurred.
Ref: longhorn/longhorn#3828, https://github.com/longhorn/longhorn/issues/5116

Error is as below because we always get the latest of golang.org/x/lint/golint which is using the new io.ReadAll but it's only available since Go 1.16.
Two ways:

Upgrade go version (don't prefer this for stable branch)
Replace golint with https://golangci-lint.run/
Go get the specific commit of golint

# golang.org/x/tools/go/gcexportdata
/go/src/golang.org/x/tools/go/gcexportdata/gcexportdata.go:97:9: undefined: io.ReadAll
The command '/bin/sh -c wget -O - https://storage.googleapis.com/golang/go1.14.15.linux-${!GOLANG_ARCH}.tar.gz | tar -xzf - -C /usr/local &&     go get github.com/rancher/trash && go get -u golang.org/x/lint/golint' returned a non-zero code: 2
time="2022-12-21T05:31:58Z" level=fatal msg="exit status 2"

Error is as below because we always get the latest of golang.org/x/lint/golint which is using the new io.ReadAll but it's only available since Go 1.16.
Two ways:

Upgrade go version (don't prefer this for stable branch)
Replace golint with golangci-lint.run
Go get the specific commit of golint

@mantissahz as discussed, please try to the thrid first by having another PR for 1.3. branch. Thanks.


module.unsafeCache is undocumented

Do you want to request a feature or report a bug?
Report a bug, or maybe I'm using it wrong, at the least it's unexpected behavior and the documentation is missing.
What is the current behavior?
A module was cached when it should not have been cached.
If the current behavior is a bug, please provide the steps to reproduce.
I have a plugin that hooks into create-module of NormalModuleFactory, the result is a new raw module with the dependencies from a module of a parent compilation.
The code:
...
webCompiler.plugin('compilation', (webCompilation, { normalModuleFactory }) => {
  normalModuleFactory.plugin('create-module', data => {
    if (!data.resourceResolveData.path.endsWith('.js')) {
      const parentCompilationModule = compilation.findModule(data.request)
      if (parentCompilationModule) {
        // mutation in webpack internals is a minefield, tread carefully
        const dependencies = parentCompilationModule.dependencies.slice()
        const parentSource = new ReplaceSource(parentCompilationModule.originalSource())

        const { dependencyTemplates, outputOptions, moduleTemplate: { requestShortener } } = webCompilation

        // from NormalModule.sourceDependency
        dependencies.forEach(dependency => {
          const template = dependencyTemplates.get(dependency.constructor)
          if(!template) throw new Error('No template for dependency: ' + dependency.constructor.name)
          template.apply(dependency, parentSource, outputOptions, requestShortener, dependencyTemplates)
        })

        const result = new RawModule(parentSource.source())
        result.dependencies = dependencies
        return result
      }
    }
  })
})

The module.unsafeCache option is by default true and setting it to false caused this code to be executed on every change.
What is the expected behavior?
I understand this use case is non-typical, but the cache is implemented in a very ad-hoc fashion by mutating the dependency:
// retrieval
const cacheEntry = dependencies[0].__NormalModuleFactoryCache
...
// setting
dependencies.forEach(d => d.__NormalModuleFactoryCache = module)

I would expect the module.unsafeCache to be false by default. Or, if it is true to be more sophisticated and not implemented by mutating all dependencies and grabbing the first dependency.
But, more importantly, have the documentation explain what module.unsafeCache does. I could for example provide a function that checks the module and test if it's one of these special ones. For now I have set it to false but since the documentation is missing I am not sure of the performance penalty.
If this is a feature request, what is motivation or use case for changing the behavior?
Not sure, I think it's mostly a bug report about missing documentation.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
None are relevant for this issue. The context in which we discovered the problems might be:

https://github.com/kaliberjs/build/issues/102
https://github.com/kaliberjs/build/issues/99

Or, if it is true to be more sophisticated and not implemented by mutating all dependencies and grabbing the first dependency.

A WeakMap would be better here. Send a PR if you like to.

@sokra I would love to take this one , but I need more details about the suggested solution as I do not have a clear understanding how it should be implemented.

@webpack-bot This issue is still relevant

The mutating thing was fixed.

@webpack-bot move to webpack/webpack.js.org


French language update for addon Quasar

Hello,
I come to you to give my contribution I updated the translation in French of the addon quasar for kodi
http://www15.zippyshare.com/v/xCw2bJm0/file.html
and translation in French of the addon Burst
http://www42.zippyshare.com/v/2Kr9wC2i/file.html
If you could put it in the next update
In thanking you
Have a good day

Thanks for the PR, please open it on the quasar repo, not here :)


PHP7

Is it running on php 7? :)

It fully supports all versions of php including php7. It can be run in almost any language and OS. I don't think you can get any more cross platform than this. It integrates into vim, emacs. So well written even non-tech-savvy people can understand it fully.

Agree

It's works awesome with Node 9!

cobol runs it fine because cobol doesn't actually like anything

it's works fine with node 8


update -profiles description

changing description to clarify that there is no default value for -profile argument

Docs Build status updates of commit cf2dd93:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/netsecurity/Set-NetFirewallRule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


hasNextPage lies

Implemented way of checking for hasNextPage value is wrong when the number of edges in a connection is divisible by the limit value.
has_next_page: !(length(records) < limit),

Imagine a connection with 30 records, we will paginate them by 10.

We see records 1...10, hasNextPage: !(30 < 10) == true.
We see records 11...20, hasNextPage: !(30 < 20) == true.
We see records 21...30, hasNextPage: !(30 < 30) == true, while there is no more records.

Thanks @sjchmiela -- good investigation. Would love a PR if you have the time to put one together.

This should be fixed by the merged PR.


Switch from google/gopacket to gopacket/gopacket

This version of the library seems to be more well-supported by the community and gets regular updates:
https://github.com/gopacket/gopacket

@joestringer Check please MR


Support session length costs on statements

Ready for review.

One major comment about grouping on session_unit_cost instead of session_length_credits and one minor comment but otherwise looks good.

Ready for re-review. Sorry, messed this one up.

:+1:


Wifi cannot reconnect after waking up from sleep mode

When fiydetab duo is going into sleep mode (pressing power button) the wifi is unable to reconnect after waking up the device.
Only after shutting down the device completely the wifi will reconnect.

It seems that the problem is related to WPA3. If WPA3 is turned off on the router the Fydetab Duo reconnects.
Is there a patch which could solve the problem?


flutter_gallery__transition_perf_e2e_ios32 has been stuck for 90 minutes

This is currently keeping the tree red

Tree is open.

The hang is due to cocoon switching versions and task being in a ghost state: task status is in progress, whereas the devicelab agent shows no tasks available.
Reopen to track this issue.

Would you mind adding some logs to take a look?

Seems before updating task status to datastore, it hit 502 error (when the cocoon is switching versions).
Cleaning up after task...

2020-10-28T09:09:11.123739: INFO [task runner] [flutter_gallery__transition_perf_e2e_ios32] Task execution finished
2020-10-28T09:09:11.215370: ERROR ERROR: AuthenticatedClientError:
  URI: https://flutter-dashboard.appspot.com/api/append-log?ownerKey=ahFmbHV0dGVyLWRhc2hib2FyZHJfCxIJQ2hlY2tsaXN0Ij9mbHV0dGVyL2ZsdXR0ZXIvbWFzdGVyLzdiODZiZTIyOGU0MDU0YWUwZWNkMGMzODk2YjljYzI2NDE1NjRiYTkMCxIEVGFzaxiAgJjMpJW7CQw
  HTTP Status: 502
  Response body:
^M
<title>502 Bad Gateway</title>^M
^M

502 Bad Gateway
^M

nginx^M
^M
^M

#0      AuthenticatedClient.send (package:cocoon_agent/src/agent.dart:28:7)
<asynchronous suspension>
#1      BaseClient._sendUnstreamed (package:http/src/base_client.dart:176:38)
<asynchronous suspension>
#2      BaseClient.post (package:http/src/base_client.dart:58:7)
#3      Agent.uploadLogChunk (package:cocoon_agent/src/agent.dart:94:38)
<asynchronous suspension>
#4      runTask.sendLog (package:cocoon_agent/src/runner.dart:130:19)
<asynchronous suspension>
#5      runTask (package:cocoon_agent/src/runner.dart:175:18)
<asynchronous suspension>
#6      ContinuousIntegrationCommand._runTask (package:cocoon_agent/src/commands/ci.dart:193:31)

Root issue is https://github.com/flutter/flutter/issues/68240
Do we know how long the Cocoon version switches result in 502's?
When this moves to be uploaded from the test runner, we'll get retry functionality.

This is actually for uploading the log, once we move to LUCI this won't happen anymore.

This is a no resource problem: https://chromium-swarm.appspot.com/task?id=4f86ca6c72bfff10&o=true&w=true

Guessing this is stale?


Rel int 3.0

@usorama Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Spam request. I get the feeling people are using the PetClnic as some toy project to learn spring and github!


Updating repo structure to match http://wiki.ros.org/DevelopersGuide

This removes the top-level src/ and .vscode/ folders and CMakeLists.txt file to bring the structure more in-line with the ROS developer's guide. Also makes it possible to release the packages on the ROS Build Farm.

@ryanborchert - can you review and/or merge this?


Import TechnicalService Endpoint

Summary
Although it is possible to create a technical service via the rest api, an import is not yet possible. Therefore it should be possible to import a technical service in XML format via the rest API.
Details
A new rest endpoint should be created for the technical service, which allows an import. This new endpoint must also be documented and accessible to the Swagger ui.
Acceptance criteria
[ ] Technical service import endpoint is created
[ ] Endpoint is Swagger ui documented
[ ] Endpoint is Tested

According the REST design the endpoints correspond to the resource representations. Therefore an URI like "/oscm-rest-api/v1/technicalservices" is where users expect such XML template import.
According this feature request, the existing endpoint POST method (and backend?)  should be extended to take possible XML data from the request body for import.


WIP 🚧 feat: add <stripe-checkout /> and <stripe-element-card />

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This was implemented rather as docs than a full feature. Closing


Update components.yaml

The current components.yaml is a bit out-of-date. Should echo GEOSgcm

Done. Closing.


Change require in README.md

The require('marp-nvim') doesn't work, as the file vim needs to be looking for is marp.lua, I've changed it to require('marp'). Also, I've added documentation to show that Marp automatically loads themes placed in the themes/ directory.

Thanks for the PR!!!


why i get 67.15% mIou when i only train the train_cls.py, the paper said it should be around 63%?

i see it, the train and val datasets is different from the segmentation model