python311Packages.cantools: 39.4.3 -> 39.4.4

Changelog: https://github.com/cantools/cantools/releases/tag/39.4.4
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages built:

python311Packages.cantools
python311Packages.cantools.dist


custom dataset

Congrats on your great work and thank you for releasing the code.
I am curious to train my custom dataset but get stuck in the training process.I want to ask some questions in order to make sure i can train my own dataset successfully.
The images in my own dataset do not have corresponding captions. When i start training,  which will give good results when I choose No prompt, default prompt or Automatic prompt for the input text prompt.
Now I use no prompt input, I have now trained 20,000 global steps, but the output image still has no correlation with my conditional input image. But as you mentioned in your paper, the "sudden converge phenomenon" after 5000 to 10000 steps did not happen in my training.
So should I pick default hints or auto hints as text input and retrain, or should I let the current model continue to train?
Thanks in advance and really looking forward to your reply! @lllyasviel

My dataset has 90k images and what I want to achieve is to input conditional images that are blurry and have missing parts,and the output is a clear and complete image.

generate paired prompts and then use larger batch size (perhaps by accumulation)

which prompt generator tool do you suggest for custom data? thanks

which prompt generator tool do you suggest for custom data? thanks

Mentioned in this paper is the use of BLIP

hi,@lllyasviel. Excuse me, I would like to ask if it is possible to use this network to repair broken images, such as those with missing parts or unclear, and I wonder if it is possible to provide such precise control.
Thanks again!

I think you are looking for the Inpaint Controlnet or basic stable diffusion inpaint. Just mask the broken image parts and let the magic happen.

@geroldmeisinger  Thanks for your reply, i have solved this issue.

@geroldmeisinger Thanks for your reply, i have solved this issue.

Hi! I have encountered the same problem as you, the output image still has no correlation with my conditional input image. How did you solve it? Is it through gradient accumulation? Thanks !!


Update the branch into client-go for the package jcrossley3/manifestival

The purpose of this PR is to get rid of the usage of client.Client in controller-runtime.

/retest

I really dont think this should pull in 85k of vendor updates? Is it possible you ran update-deps while this was checked out in the old (github.com/knative/serving-operator) path?

@jcrossley3 Do you want to keep this as a separate branch in manifestival repo or are you interested in making this master or?

@greghaynes When we change the branch from master to client-go for github.com/jcrossley3/manifestival, all the changes happened accordingly, if we run ./hack/update-deps.sh.

/test pull-knative-serving-operator-integration-tests


Document multi-region Kubernetes deployment

Fixes #2933.
@a-robinson, I still need to tweak the upgrade step, and I'd like to work in some use of example-app-secure.yaml, but the foundation should be here. PTAL.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/33d96566e613cc45da463ce86f9f81d598bbd2a7/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/33d96566e613cc45da463ce86f9f81d598bbd2a7/

I also still owe you an explanation of the firewall problem you hit when you tried this out in the shared GCP project.

v2.1/orchestrate-cockroachdb-with-kubernetes-multi-region.md, line 335 at r1 (raw file):
Previously, a-robinson (Alex Robinson) wrote…
We don't need to do this now, but instead of simulating node failure I think it would be much more interesting to simulate entire datacenter failure by either scaling the number of VM instances in one of the GKE clusters down to 0 (gcloud container clusters resize <cluster-name> --zone=<zone> --size=0) or all the pods in one of the clusters down to 0 (kubectl scale statefulset cockroachdb --replicas=0 --namespace=<cluster-namespace> --context=<cluster-context>).

Great idea. I created an issue for follow-up work: https://github.com/cockroachdb/docs/issues/3590.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/77103ac781c06cc78c322b56ec08d52de5cd0a11/

v2.1/orchestrate-cockroachdb-with-kubernetes.md, line 13 at r1 (raw file):
Previously, a-robinson (Alex Robinson) wrote…
I'm not sure we really want to emphasize the single-region nature of this. This guide will still be the default for 90+% of people that want to run us on Kubernetes, and emphasizing points of difference/choice just makes things more confusing when getting started. This is the way to run Cockroach on Kubernetes. If you have special needs (like multi-region/cluster), then take a look at the other guide.
Maybe I'm just rambling, and the distinction doesn't really matter. That was my first impression reading this, though.

I think it's confusing to have one tutorial that explicitly calls out its deployment context and another that does not. However, I hear you that the existing tutorial should be the default for most people. I'm hoping the 90% still go to the single-region tutorial. Is it ok to wait and see if there's confusion?

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e5b621dd89e25eeb1ed6f9939b909f3307d36211/


UnexpectedValueException: RecursiveDirectoryIterator

UnexpectedValueException: RecursiveDirectoryIterator::__construct(/mnt/Dev/!OSS/work1/work): failed to open dir: Permission denied in /home/williamdes/.vscode-insiders/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RecursiveDirectoryIterator.php:43
Stack trace: #0 /home/williamdes/.vscode-insiders/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RecursiveDirectoryIterator.php(43): RecursiveDirectoryIterator->__construct()
#1 /home/williamdes/.vscode-insiders/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RecursiveDirectoryIterator.php(55): Webmozart\Glob\Iterator\RecursiveDirectoryIterator->__construct()
#2 [internal function]: Webmozart\Glob\Iterator\RecursiveDirectoryIterator->getChildren()
#3 /home/williamdes/.vscode-insiders/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RegexFilterIterator.php(99): FilterIterator->rewind() #4 [internal funct...

This is an error I have each time I open my workspace, could you add a safe guard so it does not happen ?

Same here. And nothing worked (goto class by click etc) after that

+1, I also facing the same error whenever I install the PHP intelesense

Seems it is long story
https://github.com/felixfbecker/php-language-server/issues/462

https://github.com/felixfbecker/php-language-server/issues/462


Run vacuum and analyze on tables that are insert only

Issue
Many of the ReportStream tables are insert-only which means that they never have vacuum run on them and subsequently are never analyzed.  This means the stats for tables are incorrect leading to non-optimal queries
Description
Run both vacuum and analyze against all of the report stream tables that have never been analyzed
select relname
from pg_stat_user_tables
where last_analyze is null;

In rough priority order:
report_lineage
item_lineage
covid_result_metadata
action
report_file
setting
flyway_schema_history
task
county_lat_long
email_schedule
jti_cache
lookup_table_version
lookup_table_row
action_log
temp_action
temp
temp_vt_resubmissions
elr_result_metadata
today_actions
sender_ips
october_actions
vw_livd_table
temp_patient_demographics
patient_gender
sender
state

@JosiahSiegel
As we chatted about earlier this week, I'd like to see if we could update the statistics threshold for some of the columns in report_lineage and item_lineage where the n_distinct count is way off.  Here are the SQL commands I tested locally:
ALTER TABLE item_lineage
    ALTER COLUMN child_report_id
    SET STATISTICS 1000;

ALTER TABLE item_lineage
    ALTER COLUMN parent_report_id
    SET STATISTICS 1000;

ALTER TABLE report_lineage
    ALTER COLUMN child_report_id
    SET STATISTICS 1000;

ALTER TABLE report_lineage
    ALTER COLUMN parent_report_id
    SET STATISTICS 1000;

analyze verbose report_lineage;

analyze verbose item_lineage;

Currently, for the two tables the n_distinct values are:

tablename
attname
n_distinct

report_lineage
parent_report_id
1216959.0

report_lineage
child_report_id
84760.0

item_lineage
parent_report_id
49342.0

item_lineage
child_report_id
39858.0

query I used to get the numbers
select tablename, attname, n_distinct
from pg_stats
where (tablename = 'report_lineage'
or tablename = 'item_lineage')
and (attname = 'parent_report_id' or attname = 'child_report_id')

Maybe we could try this in a cloned DB to see the impact and I could a query that we could use to check performance too.

@JosiahSiegel That looks a lot better, except is that second row right?

@JosiahSiegel Ah, I actually think this is because postgres switches to fractions at a certain distinct count.  Negative implies that postgres thinks the number distinct values is likely to grow


'Interpret' is typed incorrectly

interpret, exported from xstate, does not take a second parameter. In the generated code, it does - and the second parameter is required. We should fix this.

@mattpocock does it take a second parameter though?


notification bot: Update message texts.

Wasn't sure how to manually test sending to a stream ID; https://zulipchat.com/api/send-message doesn't have info on it.

(It's also not clear to me that it's important to send a message in the no-subscribers case, but I left it there since I don't know the history of the decision.)

These are nice improvements, merged, thanks @rishig!
I think the no-subscribers case is an example of something where it's almost certainly not what you intended, and thus worth flagging to users.


Add dynamic query passing

Let's say we use Trino query engine , since we have auth setup in that for multi-user . Would like the credentials to pass through DJ straight to Trino so auth happens there

looks like we create different session for each user ?


Treating missing values as zeros in sparse mode

Hey there, thanks for the great product.
Would be great to have ability to mark missing features as ones, having zeros. My case - I am training on large sparse file, with numbers of features > 1M. I hacked a code slightly to automatically put trivial features as categorical, but that has no effect.
Please assist, some instructions on what to change in the code would be acceptable
Thanks,
Andrii

@captify-acherednychenko
you want let missing values to be treated as 1?

@guolinke
thanks for an immediate reply. no, basically, I want trivial (having only one value) features to be included in training. I am adding only 1 into the file, otherwise it will blow-up.
so, I changed code slightly, to treat them as categorical, but that has no effect, as I don't have 0 values in the file (I assume)
would be great to have a quick code change advice
thanks

@captify-acherednychenko
If these ignored features actually is not trivial, you can change bin_construct_sample_cnt to a bigger value (default is 50000).
If they are really trivial, it will have not effect on training even you add them force, due to data cannot split according to these features.

ok, let's imagine case - I want to describe if user have seen some document on the web. If user did - I put 1 for that feature. For sure, I don't put 0 in case user haven't seen a doc, otherwise file will blow up.
As a result, for that feature, I have only 1s in the file, and LightGBM is treating this feature as trivial, which I am sure is not the case?
Please assist.
Thanks

@captify-acherednychenko I think LightGBM can handle this naturally. It will try missing value as zero.
And you are using Libsvm format, right?
can you paste a sample of your data like?

yes, using Libsvm, for example here is part of file which contains only 4 occurrences of 49312 feature.  however, in log I see that this feature is ignored.
note that those are parts of files, as original ones are pretty big.
guolinke.sample.libsvm.txt
guolinke.log.txt
Thanks,
Andrii

I see. Just of part of these features are ignored, not all of them, right?
The reason is LightGBM sample part of data to construct bin mapper. When data is too sparse, the sampled data in some features may are all zeros, so these feature will be ignored.
If you really want to use all of them, you can set bin_construct_sample_cnt to your number of row of data.
And set feature to categorical feature doesn't help for this situation.

setting bin_construct_sample_cnt actually doesn't help. will continue investigation later, closing this issue so far


Set the build as the default target in Makefile

What this PR does / why we need it:
1.Set the build as the default target in Makefile
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Coverage remained the same at 43.919% when pulling b2a8a0dd542827995a0e2baa95594e8d614ae081 on xxwjj:Makefile_bugs into 6018ea93b47e2e3fb7c069beffd2d12458300c10 on opensds:development.


Instructions?

Picam-server works great out of the box. Nevertheless it would be nice to have a little more information, namely on how to change settings. Took me a couple of hours to figure out where to look:
/home/pi/picam-streamer/lib/server.js
Thanks for the hard work! Very much appreciated!

I am starting to use this for a RPi0w and am curious how to set default values at launch. My camera seems to have too much red so all the colors are off. Everything is pinkish purple.

@jpt000 Sorry, I missed your message!
@kerwinf You might want to set white balance using picam's --wb <value> option. You can add picam options by editing line 44 of /home/pi/picam-streamer/lib/server.js like this:
    picam = child_process.spawn('nice', ['-n', '-20', 'ionice', '-c1', '-n0', 'sudo', '-u', "#" + PICAM_UID, PICAM_PATH, '--rtspout', '--alsadev', 'hw:1,0', '--wb', 'fluorescent' ], {

See https://github.com/iizukanao/picam#command-options for the list of picam options.

You have done a really great job. I finally got my picam running after trying for some weeks in my freetime. But I still struggle to rotate the picture. I have added the '--rotation 180' to the server.js file, but it seems not working. I even tried to put it in brackets <>.
So I will be thankful for any tip ;-)
And maybe some very basics for the most, but how can I restart picam-streamer via ssh without rebooting?
Thanks in advandce

@TomTomCountry Hi, thanks for using picam-streamer!
sudo service picam-streamer restart will do the job!

As for rotation, could you share the line you have edited?

Hi @iizukanao sure,
here is the line for the rotation
picam = child_process.spawn('nice', ['-n', '-20', 'ionice', '-c1', '-n0', 'sudo', '-u', "#" + PICAM_UID, PICAM_PATH, '--rtspout', '--alsadev' , '--rotation 180', 'hw:1,0'], {
Thanks for your fast response :)

@TomTomCountry You have to write '--rotation', '180' instead of '--rotation 180'. Also, there must be 'hw:1,0' right after '--alsadev', so put '--rotation', '180' at the very end of the arguments.
picam = child_process.spawn('nice', ['-n', '-20', 'ionice', '-c1', '-n0', 'sudo', '-u', "#" + PICAM_UID, PICAM_PATH, '--rtspout', '--alsadev', 'hw:1,0', '--rotation', '180'], {


Add Explicit Resource Management to proxy object

Is your feature request related to a problem? Please describe.
It is important to release proxy object when no longer in use. Ex.

const proxy = java.newProxy(...);
try {
  // operations ...
} finally {
  proxy.reset();
}

Typescript 5.2 and Node 20 introduced a new approach known e.g. in Java as try-resource:
using proxy = java.newProxy(...);
// operations ...
proxy.reset();

Describe the solution you'd like
The implementation requires adding an Symbol.dispose alias for the reset method in the proxy object.
Additional context
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management
https://tc39.es/proposal-explicit-resource-management/

No, it's not strictly necessary to call reset on a JavaInterfaceProxy.  Calling reset on the instance only speeds up the process as the garbage collector only runs in intervals. This is important if you want your application to exit as fast as possible as any existing interface proxies will prevent your application from closing (although process.exit() will stop the application instantly).
This is kind of documented in the notes of newProxy, but I see where the confusion is coming from. I'll try to clarify this behavior in the docs (in #92).
Closing this issue as this is already implemented and the current implementation doesn't require a new node.js version.


[5.7][LangOptions] Remove the option to enable/disable implicit existential opening.

Cherry-pick of https://github.com/apple/swift/pull/59740

Explanation: This feature has been accepted in Swift evolution, so there's no need to have a flag to enable/disable it. This fixes an issue where the feature was not enabled by default in LLDB, because the flag was enabled in CompilerInvocation.cpp, but LLDB creates a LangOptions instance directly. This change also uses opaque value placeholders where code completion was previously sending a pre-type-checked AST through the constraint system, which tripped an assertion during shouldOpenExistentialCallArgument when looking up types for AST nodes that should have been cached in the constraint system.
Scope: This only affects the behavior of argument-to-parameter matching between existential types and type parameters in tools where the feature was previously disabled by default, including LLDB. As the feature is source compatible, this should only allow more code to compile through those tools.
Risk: Low.
Testing: Updated test suite to remove use of the flags.
Reviewer: @xedin

Resolves: rdar://94730905

@swift-ci please test


Updated Readme

I just added very basic instruction to install the package.

Updated the pyproject.toml with the suggestion.

Sorry I think that we crossed a little bit :)

No issues, and thanks for the amazing work!


Not able to introspect graphql service of spring boot ( protected with JWT token auth )

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

[ ] 1. The issue provides a reproduction available on
Github,
Stackblitz
or
CodeSandbox

Make sure to fork this template and run yarn generate in the terminal.
Please make sure Mesh package versions under package.json matches yours.

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug

To Reproduce Steps to reproduce the behavior:
I have added schemaHeaders with valid JWT token. but it still throws the following error when i run "mesh dev".
From spring boot service, i have verified that request has been reached and properly validated with given token.
💥 🕸  Mesh - Server  TypeError: Cannot read properties of undefined (reading 'errors')

Expected behavior

Environment:

OS:
@graphql-mesh/...:
NodeJS:

Additional context

I see but this information is not enough for us to help you. You can use DEBUG=1 environment variable to get more information.

Closing this issue due to the lack of information. Feel free to provide more then we can reopen this.


Add documentation for Kura Inspector

Description of the Change
Add docs for Kura Inspector.

A few general comments.

This PR is made to the release branch. We're trying to keep the release branches as stable as possible and that includes documentation.
This doc is added to the docs/ folder. Instead it should be a standalone README.md in the tools/kura_inspector directory.

This PR is made to the release branch. We're trying to keep the release branches as stable as possible and that includes documentation.

Ok. I've used this branch as a target because this was the branch I was originally pointed to. Should I change the target branch to iroha2-dev?

This doc is added to the docs/ folder. Instead it should be a standalone README.md in the tools/kura_inspector directory.

Changed the location


fix: navbar design

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
This PR fixes HTML spaces issue in production
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

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

Needs approval from an approver in each of these files:

OWNERS [Issif]

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


Switch top menu to a Sidebar

Try it on testnet: https://sidebar.viewer-xlt.pages.dev/
Note, notifications don't work on the testnet. The sidebar apps are not ready yet.
Screenshots:
Desktop/tablet

Mobile

Pushed #49


[nri-bundle] Add support for global imagePullSecrets

Is your feature request related to a problem? Please describe.
Hello, I have a problem with deploy this chart, due Docker pull limits the installation doesn't finish ok for me
Example:
chart version: 2.17.2
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  10m                  default-scheduler  Successfully assigned monitoring/green-newrelic-bundle-nri-metadata-injection-admission-creckth6 to ip-172-18-100-70.ec2.internal
  Normal   Pulling    8m43s (x4 over 10m)  kubelet            Pulling image "jettech/kube-webhook-certgen:v1.5.0"
  Warning  Failed     8m43s (x4 over 10m)  kubelet            Failed to pull image "jettech/kube-webhook-certgen:v1.5.0": rpc error: code = Unknown desc = Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
  Warning  Failed     8m43s (x4 over 10m)  kubelet            Error: ErrImagePull
  Warning  Failed     5m8s (x22 over 10m)  kubelet            Error: ImagePullBackOff
  Normal   BackOff    17s (x43 over 10m)   kubelet            Back-off pulling image "jettech/kube-webhook-certgen:v1.5.0"

Describe the solution you'd like
Please add support as other charts for global imagePullSecrets. Example:
globalPullSecrets:
- my-pull-secrets

This configuration must be propagated to all subcharts and their manifests that use an image.
The admission webhooks job patches doesn't have this support.
Describe alternatives you've considered
Maybe move your images to a free registry ?
Additional context
This involves to all newrelic subcharts.

Hi Esteban
New Relic is working on a project together with Docker to remove this limit and also considering other alternatives to host our images.
I will ping you whenever we have updates.
Regards


beets writing both lowercase and camelcase fields when importing

I'm curious about this, I've run into problems a few times where MPD/ncmpcpp would behave very strange when editing music in the tag editor and I asked around on IRC and it seems the biggest problem is that beets writes multiple identical fields.
So you'd have artist/Artist, albumartist/AlbumArtist and so on which confuses some players. Musicbrainz Picard doesn't do this and I was curious on why this is done? I've considered using the null plugin do not write some of these duplicate tags but just wanted to ask :)

It's for compatibility with other tools. Unsurprisingly, I consider this a bug in ncmpcpp. :smiley: Check out #350.


Add input_meta parameter to every Stage and update write function

To make it easier to use Eureka! in notebooks and interactively we added a parameter input_meta to every Stage to allow for users to pass meta without loading an .ecf file (See ERS_NIRCam notebook).
I also added some lines to replace meta.lines in the ecf class if parameters have changed.

Codecov Report

Merging #468 (af25b0a) into main (f1b824e) will decrease coverage by 0.13%.
The diff coverage is 51.21%.

:exclamation: Current head af25b0a differs from pull request most recent head 2a5ac49. Consider uploading reports for the commit 2a5ac49 to get more accurate results

@@            Coverage Diff             @@
##             main     #468      +/-   ##
==========================================
- Coverage   60.42%   60.28%   -0.14%
==========================================
  Files          75       74       -1
  Lines        8358     8359       +1
==========================================
- Hits         5050     5039      -11
- Misses       3308     3320      +12

Impacted Files
Coverage Δ

src/eureka/lib/readECF.py
72.09% <0.00%> (-10.58%)
:arrow_down:

src/eureka/S1_detector_processing/s1_process.py
14.11% <20.00%> (-0.35%)
:arrow_down:

src/eureka/S2_calibrations/s2_calibrate.py
79.85% <80.00%> (-0.46%)
:arrow_down:

src/eureka/S3_data_reduction/s3_reduce.py
92.73% <80.00%> (-0.37%)
:arrow_down:

src/eureka/S4_generate_lightcurves/s4_genLC.py
89.47% <80.00%> (-0.35%)
:arrow_down:

src/eureka/S5_lightcurve_fitting/s5_fit.py
75.91% <80.00%> (-0.20%)
:arrow_down:

src/eureka/S6_planet_spectra/s6_spectra.py
82.59% <80.00%> (-0.23%)
:arrow_down:

src/eureka/__init__.py

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Component rendered wrongly after parent changes its position when shouldUpdate is false

If a parent component changes the position of a child within it while rerendering, it will try to rerender the child as well. If the child's shouldUpdate function returns false though, it will skip rendering, causing the final result to be wrong.
We need to make sure that incremental dom's current node matches the component's node to skip rendering.

This is the code that needs the extra check: https://github.com/metal/metal-incremental-dom/blob/28e36a4d274cce39b107c800779468a6f950460f/src/IncrementalDomRenderer.js#L430


ObjectDisposedException error

I'm getting this error when launching pass-winmenu
[00:22:54.339] [DBG] ------------------------------
[00:22:54.339] [DBG] Starting pass-winmenu v1.11
[00:22:54.339] [DBG] ------------------------------
[00:22:54.341] [DBG] Enabled security protocols: Tls, Tls11, Tls12, Tls13
[00:22:54.528] [DBG] Config reloading enabled
[00:22:54.630] [DBG] Attempting to detect the GPG installation directory
[00:22:54.632] [DBG] GPG executable found at the configured path. Assuming installation dir to be C:\path\pass-winmenu\lib\GnuPG\bin
[00:22:54.850] [ERR] Failed to register hotkeys
[00:22:54.854] HotkeyException (An error occured in registering the hotkey.) in :0:0
[00:22:54.854]   COMException (Hot key is already registered. (Exception from HRESULT: 0x80070581)) in ::
[00:22:56.321] [ERR] Could not start pass-winmenu: An exception occurred.
[00:22:56.322] ObjectDisposedException (Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.) in :0:0
[00:22:56.322]   -> in Autofac.Core.Lifetime.LifetimeScope.ResolveComponent -- :0:0
[00:22:56.322]   -> in Autofac.ResolutionExtensions.TryResolveService -- :0:0
[00:22:56.322]   -> in Autofac.ResolutionExtensions.ResolveService -- :0:0
[00:22:56.322]   -> in Autofac.ResolutionExtensions.Resolve -- :0:0
[00:22:56.322]   -> in PassWinmenu.Program.Initialise -- :0:0
[00:22:56.322]   -> in PassWinmenu.Program.Start -- :0:0

Any idea how to fix this?

Hot key is already registered

Do you already have it open or perhaps another piece of software using the same keybinding?

Hot key is already registered

Do you already have it open or perhaps another piece of software using the same keybinding?

I do not know... this is a fresh install windows. This is my first day returning to Windows, my last Windows was Win XP.
So I'm closing the issue, since I manage to run pass-winmenu by installing it from Chocolatey.

I do not know... this is a fresh install windows. This is my first day returning to Windows, my last Windows was Win XP.
So I'm closing the issue, since I manage to run pass-winmenu by installing it from Chocolatey.


2.0.0 preview

Currently working on it in the https://github.com/danielstjules/Stringy/tree/2.0.0 branch. Welcome any input :)

2.0 would be a better branch name. Then composer automatically releases that it's 2.0.x-dev.

 Since things were quiet though, I decided to cut the branch and release it


Output flag "relativizes" absolute paths

Using the -o option for --create-minimal-stdlib with an absolute path, it turns it into a relative path:
$ npx ts2ocaml jsoo --create-minimal-stdlib -o /Users/zbaylin/abc
Error: The output directory '/Users/zbaylin/Development/excelsior/Users/zbaylin/abc' does not exist.

At least for the very moment, it's expected behavior, but we need to polish the document or make ts2ocaml properly understand the path given to it.


Port of deposit services

This is an in progress port of the deposit services to pass-support. This includes a Currently most of the code outside of tests has been ported.
Changes:

Deleted various things for fedora support. Much more to do.
Switched most of the code to the new pass client.
Port pass-messaging-support repo to pass-support. Eventually should be moved to the deposit services submodule.
Removed ConflictHandler from Critical stuff in pass-messaging-support. Add argument to explicitly tell us if entity is mutated. (This avoids adding a lot of complexity to pass-data-client.)
Added null test operations to RSQL helper.
Clean out Constants class in pass-messaging-support of various fedora things. Add some PassEntity constants. Many more to add, this is inconsistent throughout deposit services.
Deleted all the Jms message filter stuff which is no longer needed. This includes filters that tried to avoid messages which were caused by deposit service actions. If needed maybe we could add a user or role field to the events and filter on that?
Changed ui param to id for command line tool.
The ancient swordv2 library includes some packages like javax.xml.parsers and org.w3c.dom which conflict with newer Java versions. Those dependencies are excluded or modified.
Renamed packages to org.eclipse.pass
Cleaned up and modernized for the Jms setup in JmsConfig in deposit-messaging.
Simplified model builder.
Consolidated modules.
Cleaned and fixed tests and ITs.
Removed use of complicated SubmissionGraph.java in shared integration.
Port package-providers repo to pass-support/deposit-services
Test locally with pass-docker and dspace

TODO:

Multiple JsonObject classes provided. From json-jena  and android-json

Figure out what exactly is needed from fedora-builder. Is the PassJsonAdapter stuff just used by tests? Is FcrepoModelBuilder just used be tests? ModelBuilder needs to be gone through carefully.

I have been looking at this, and I think the main contributor to complexity is it is dealing with three different models, the PASS client model, the deposit services DepositSubmission model, and the flattened Map model in JSON used by tests.  I am going to try and remove the flattened Map model by changing the JSON to be structured like the PASS client model so ObjectMapper can be used instead of custom code.  This way the model relationships logic doesn't have to be duplicated too.

I have been looking at this, and I think the main contributor to complexity is it is dealing with three different models, the PASS client model, the deposit services DepositSubmission model, and the flattened Map model in JSON used by tests. I am going to try and remove the flattened Map model by changing the JSON to be structured like the PASS client model so ObjectMapper can be used instead of custom code. This way the model relationships logic doesn't have to be duplicated too.

Just a heads up on my status on deposit service.  I focused on getting FcrepoModelBuilderIT to run and pass.  I am close to accomplishing this, but I have some strange spring component scan issue I'm trying to figure out.  I have a bunch of changes in my branch in the ModelBuilder classes, I have it so it can read the sample json, post it to the pass core and read it back.  I'm close, but not quite there yet.

Just a heads up on my status on deposit service. I focused on getting FcrepoModelBuilderIT to run and pass. I am close to accomplishing this, but I have some strange spring component scan issue I'm trying to figure out. I have a bunch of changes in my branch in the ModelBuilder classes, I have it so it can read the sample json, post it to the pass core and read it back. I'm close, but not quite there yet.

I figured out the component scanning issue.  I still have a little more to do, but I should be able to have FcrepoModelBuilderIT tomorrow morning sometime.  I'll go over the changes once you are back.

Completed change to use new PassClient API to download file bytes.  Now if the resource is from a File entity, the AbstractAssembler will create a PassFileResource that calls the PassClient API to get the InputStream of the file.
Pertinent commits are:
https://github.com/eclipse-pass/pass-support/pull/17/commits/1081bb3108b6d73fa7b167a7549cc73745773c1b
https://github.com/eclipse-pass/pass-support/pull/17/commits/5a2f69684c29b5eca4c912c04f67f3bf0b587d90
Tests also passed locally with dspace.


Range/flip-flop precedence

I noticed this in language/precedence_spec.rb:
# XXX: this is commented now due to a bug in compiler, which cannot
# distinguish between range and flip-flop operator so far. zenspider is
# currently working on a new lexer, which will be able to do that.
# As soon as it's done, these piece should be reenabled.
#
#  it ".. ... have higher precedence than ? :" do
#    (1..2 ? 3 : 4).should == 3
#    (1...2 ? 3 : 4).should == 3
#  end

This section entered the repo via 6c1c34a6bbf28b55e59bc6a97a1211718082d3e7, almost ten years ago, so while I don't quite know what it's talking about, the original rationale for leaving it commented out seems likely to be incorrect by now.
Should this be re-enabled? Removed entirely? Left commented out with an updated explanation?

Thanks for the report, I re-enabled the spec in a23caca.
It seems like it was a bug in Rubinius at the time.


Receiving "no static method ViewCompat.setWindowInsetsAnimationCallback" when in Android/Release

I'm using Avalonia 11.0.9 for a iOS+Android app. The framework version is NET 7.0.
For Android, minSdkVersion="24" and targetSdkVersion="34" and the following packages are installed:
<ItemGroup>
    <PackageReference Include="Avalonia.Android" Version="11.0.9" />
    <PackageReference Include="Material.Icons.Avalonia" Version="2.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
    <PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
    <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="<IP_ADDRESS>" />
    <PackageReference Include="Xamarin.Essentials" Version="1.8.1" />
</ItemGroup>

If the app runs in Debug mode, I have no issues. While if running in Release mode on an Android 34 device, this error appears at startup:
Java.Lang.Error: 'no static method "Landroidx/core/view/ViewCompat;.setWindowInsetsAnimationCallback(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V"'
The configuration for Release mode is as follows:
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <AndroidEnableMultiDex>True</AndroidEnableMultiDex>
    <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
    <AndroidLinkTool>r8</AndroidLinkTool>
    <AndroidUseAapt2>True</AndroidUseAapt2>
    <AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
    <AndroidPackageFormat>apk</AndroidPackageFormat>
  </PropertyGroup>

Am I missing something? Thanks for your support

It might be https://github.com/xamarin/AndroidX compatibility issue as well.
cc @emmauss

It might be https://github.com/xamarin/AndroidX compatibility issue as well. cc @emmauss

So is there a known open issue related to AndroidX? Any workaround maybe?

It might be https://github.com/xamarin/AndroidX compatibility issue as well. cc @emmauss

So is there a known open issue related to AndroidX? Any workaround maybe?

Does it occur with emulators targeting API 33 and 34?

I have two Emulators based on:

Pixel 5 - API 34 (Android 14.0 - API 34)
Pixel 5 - API 33 (Android 13.0 - API 33)

The issue happens in both of them.

I have two Emulators based on:
* Pixel 5 - API 34 (Android 14.0 - API 34)

* Pixel 5 - API 33 (Android 13.0 - API 33)

The issue happens in both of them.

Can you set Trimming granularity, i.e. TrimMode to link?

Could you target net8-android?

Not solved even by setting <TargetFramework>net8.0-android34.0</TargetFramework> (using .NET 8.0.102)
Also tried with/without TrimMode=link
Any ideas?

I can't reproduce your specific case. I did get a crash at launch with Release config on a new project, but don't trim mode removed the issue somehow. It never came back for that project even with everything reverted. Could you provide a sample that also has the crash.

I think I've found the reason of the crash: it is due to the coexistence of these two settings:
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
<AndroidLinkTool>r8</AndroidLinkTool>

When both are set, the application crashes. I temporary solved by settings EmbedAssembliesIntoApk=True
Here is a sample multi-platform project (just focus on "ReleaseCrashTest.Android"):
ReleaseCrashTest.zip
It is a bug on Avalonia, or .NET itself?

Those settings aren't part of the default .net android templates, or our xplat android templates. Why are they added in your project.

Honestly I can't remember the reason, maybe it was changed during some tests. By the way, the docs about EmbedAssembliesIntoApk says:

This property should be True for Release builds and False for Debug builds.

So I agree my situation was not "standard". I close this, thanks.


suggestion: two x-boards

why not have two x-boards, side-by-side? one for characters and the other for numbers and symbols?
this can reduce the need to toggle between boards.

check #110
if you feel the othe thread answers your curiosity, close this one.

check #110

https://github.com/flide/8VIM/issues/110#issuecomment-734280934 speciffically


sepolicy: avoid o denials

fix google camera denials
Signed-off-by: David Viteri<EMAIL_ADDRESS>

already merged


buzzlex_file_new PATH_MAX limit

I'm not certain returning NULL is the proper solution, but it keeps segmentation fault from occurring via the strcpy.  As always, feedback welcome.

I made a different fix for this problem. Thanks for spotting it though!


Office

Here's support for office docs.
There's a minor change compared to the code in Aleph, unoconv replaces the soffice as the conversion tool.
The reason for this is that presentation files were not handled properly by the soffice.
Minor mention, but unoconv supports decryption of the password-protected files.
/cc @pudo @mgax

Hmm, ignore the failed build status. Travis is weird today. :|


hugo: 0.55.2 -> 0.55.3

Motivation for this change
Version bump.

Release notes: https://gohugo.io/news/0.55.3-relnotes/
Commit diff: https://github.com/gohugoio/hugo/compare/v0.55.2...release-0.55.3

Things done
Built and ran. Compiled my site. It works.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build hugo


[bazel] Support rust-analyzer

Many IDE's use rust-analyzer for code completion and other quality of life features when working with Rust projects. This worked fine until we dropped Cargo support, but under bazel rust-analyzer complains
[ERROR rust_analyzer] failed to find any projects in [AbsPathBuf("/.../opentitan")]

It seems that the solution is to create a bazel rule to generate the appropriate rust-project.json. I was able to find the steps to do this here https://github.com/bazelbuild/rules_rust/pull/505#issuecomment-780066923.
Trying this runs into another problem, however.
Error in fail: Current Rust toolchain doesn't contain rustc sources in `rustc_srcs` attribute. These are needed by rust analyzer. If you are using the default Rust toolchain, add `rust_repositories(include_rustc_srcs = True, ...).` to your WORKSPACE file.

But I don't have a good enough understanding of how we're using rust_rules to get this part working.
If possible I'd like to find a way to get this working so we can once again have Rust code completion.

The steps I outlined above are outdated it seems, a better set of instructions is available here http://bazelbuild.github.io/rules_rust/rust_analyzer.html.
Trying this out and running bazel run @rules_rust//tools/rust_analyzer:gen_rust_project fails, complaining it can't find a matching toolchain for a non-rust target.
ERROR: Analysis of aspects '[@rules_rust//rust:defs.bzl%rust_analyzer_aspect] on //sw/otbn/crypto:rsa_verify_3072' failed; build aborted: no matching toolchains found for types @rules_rust//rust:toolchain

Not at all sure why it's running on //sw/otbn/crypto:rsa_verify_3072. Unfortunately, I'm not very good at debugging these bazel issues so I haven't been able to make much progress past this.

I think that rust analyzer looks at all rust and cc_* targets because cc_ targets can link with rust.  All of the cross compiler targets reference the riscv32imc toolchain, but our version of bazel rules_rust doesn't know anything about that.
PR #12993 fixes this by loading the riscv32imc rust toolchain (and I need it for tock work anyway).


Only 2 Machines Work [1.11.2][Multiplayer]

Minecraft version: 1.11.2
Forge version: <IP_ADDRESS>
Mod version: 1.2.3
LibVulpes version: 0.2.5
Type: Multiplayer
Other mods:
Chisel, CTM, funky locomotion, hopperducts, immersive engineering, jei, journeymap, mantle, minecolonies, mysticalagriculture, refinedstorage, tconstruct.
Problem:
Only 2 machines are working and also only partially.
All machines beside the electrolizer and the Chemical reactor don't want to work.
(Crystalizer, Electric Arc Furnace, Precission Assembler, that saw thing (not ingame right now and can't remember the name :P))
(We couldn't test things like rocket assembler and stuff)
And the only way for us to use the fluids from the electrolizer and chemical reactor is trough other mod pipes. But I guess that's due to us making something wrong. (Can't put water with a bucket into the chemical reactor).
And by don't work I mean that they don't craft anything. The multiblock structure work. but they don't want to craft anything.
The log doesn't contain any errors.

It looks like somehow an itemstack made of air is getting into the output hatches when it's expected to be ItemStack.EMPTY.  Investigating

Somehow Item.AIR got into the output slot and the machine treated the slot as occupied by an item, should be fixed now


openssl: install fails on Fedora. Error while executing patch

I cannot seem to install openssl with linuxbrew. I am running Fedora 23 and the error that I am getting is:
Error: Failure while executing: patch -g 0 -f -p1 -i /tmp/openssl--patch20160221-25615-m3fhf3/da7947e8c6915d86616425ecbc4906f079ef122f.diff

Unfortunately, I am pretty new to this and I cannot seem to get any more information regarding the error. Is there any way someone can help?
Thank you!

A workaround is brew install homebrew/dupes/gpatch or alternatively sudo yum install patch.
Pull request #605 addressed this issue. I may revisit it.

Worked like a charm!
Thank you so much for the suggestion and in general for the awesome support that you are providing.
Like in pull request #605 , I am working on an "almost bare" system. It's probably quite obvious to experienced linux brew users that patch/gpatch is a dependency, but since I never had that issue on OS X, I was not aware.
In any case,
Thanks again!

Thanks for the kind feedback.

I've merged Piotr's patch. This issue should be resolved now. Thanks for the patch, Piotr, and for the bug report, @KomodoTech.


Remove counter and counter default for no-generic-link-text

Relates to: https://github.com/github/erblint-github/issues/56
Similar to https://github.com/github/erblint-github/pull/57 but for no-generic-link-text

Deprecate the counter from the name
Make the counter system configurable and not the default

I'm going to do this in one PR since it is easier for me.


Allow text-2.0

https://hackage.haskell.org/package/text-2.0/changelog

Note that released branch is scientific-0.3, a made a revision and commit there https://github.com/basvandijk/scientific/commit/0a8c11541e3e2c5d97947e66c29b480b453e8a2e

Thanks, @phadej! :)
Sounds like this PR isn't needed then.


Adds vscode remote and fixes apt sources bug fix #222

The changes for wget and the sources are fine; I'll merge it in cause I need to build the image manually.

Can you add this to the pytorch internal docker image under research2? The pytorch image here should not have this preconfigured.

I'm not sure what you're referring to here?

Can you add this to the pytorch internal docker image under research2? The pytorch image here should not have this preconfigured.

I'm not sure what you're referring to here?

https://github.com/mosaicml/research2/blob/dev/docker/pytorch_internal/Dockerfile

Can you add this to the pytorch internal docker image under research2? The pytorch image here should not have this preconfigured.

I'm not sure what you're referring to here?

https://github.com/mosaicml/research2/blob/dev/docker/pytorch_internal/Dockerfile

Why isn’t this in the docker-files repo?
fyi Research2 is out of date and deprecated.  Just was a temporary repo for launch. It also doesn’t use git flow and just merges to main

Yeah, this should be in dockerfiles....
It's on my todo list
We should mark research2 as archive
On Wed, Jan 12, 2022, 7:45 PM Avery Lamp @.***> wrote:

Can you add this to the pytorch internal docker image under research2? The
pytorch image here should not have this preconfigured.
I'm not sure what you're referring to here?
https://github.com/mosaicml/research2/blob/dev/docker/pytorch_internal/Dockerfile
Why isn’t this in the docker-files repo?
fyi Research2 is out of date and deprecated. Just was a temporary repo for
launch. It also doesn’t use git flow and just merges to main
—
Reply to this email directly, view it on GitHub
https://github.com/mosaicml/composer/pull/231#issuecomment-1011763363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYBL6A562NECZT3OW7BC3DUVZDELANCNFSM5L2U7LKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because your review was requested.Message ID:
@.***>


npx react-native + jest test + renderer raises ReferenceError: React is not defined

Description
When running a jest test some.test.tsx, using renderer.create to render a component, test raises an referenceError: React is not defined
React Native version:
Run react-native info in your terminal and copy the results here.
info Fetching system and libraries information...
System:
   ...
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.1 => 0.65.1
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

npx react-native init myapp --template react-native-template-typescript
create a test with a renderer.create with a component.

Expected Results
The test should work just as ok as other tests which do not include any component test.
Snack, code example, screenshot, or link to a repository:
import { FC } from 'react';
import { View } from 'react-native';

const SomeComponent: FC = props=> {
    return (
        <View>

        </View>
    )
}

export default SomeComponent;

import renderer from 'react-test-renderer';
import SomeComponent from '../../SomeComponent';

describe('Testing the SomeComponent generation and behaviour', () => {

    it('Loading the SomeComponent Screen', () => {
        const component = renderer.create(
            <SomeComponent/>
        )

        expect(feedComponent).toBeTruthy();
    })

})
export {}

ReferenceError: React is not defined

       6 |     it('Loading the Feed Screen', () => {
       7 |         const component = renderer.create(
    >  8 |             <SomeComponent/>
         |             ^
       9 |         )
      10 |
      11 |         expect(component).toBeTruthy();

"devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@types/jest": "^26.0.23",
    "@types/react-native": "^0.65.0",
    "@types/react-test-renderer": "^17.0.1",
    "babel-jest": "^26.6.3",
    "eslint": "^7.14.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.66.0",
    "react-native-codegen": "^0.0.7",
    "react-test-renderer": "17.0.2",
    "typescript": "^3.8.3"
  },
...
"jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }

module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
};

It is not a bug, but it should be more obvious how to deal with it:
Do:
const component = ReactTestRenderer.create(
            React.createElement(SomeComponent)
        )


Images in the README

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to reoprt a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
Something not related to the pod itself. Images are not loading in the README (sponsors) 🖖
Reproduce
Open the README
Other Comment
Long life Kingfisher!

It seems that opencollective is now using a case sensitive way to handle url. It should be fine now, expect for some cached images on GitHub (and they should be fine soon).


addTo() can be called with a map or layer group.

Does leafdoc support sum types?

And yes, Leafdoc supports the syntax you used here.


version: fix local label comparison

Prior to this change, local label comparison was inconsistent with PEP 440. This change ensures that the local version label is checked for equivalence using a strict string equality comparison.
Resolves: python-poetry/poetry#4729

https://github.com/python-poetry/poetry/issues/5791#issuecomment-1148333841


test: add yaml loadAs test

For #13799

The background of this feature is that snakeyaml supports including class names within the content. Therefore, it's intended to test and verify that classes configured on the whitelist can be deserialized, whereas others should be rejected. e.g.,
"1": !!demo.User
  name: Alice
  age: 28
"2": !!demo.User
  name: Bob
  age: 34

Refs: https://github.com/apache/dubbo/blob/3.3/dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/codec/YamlCodec.java#L40 https://github.com/apache/dubbo/blob/3.3/dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java#L33 https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/security/class-check/

got it, I will refactor it

For https://github.com/apache/dubbo/issues/13799, we should test it through a complete RPC


DAWN-608 ⁃ add backward compatibility for successful rollout

The synchronization of nodes changed a bit with respect to the fetching of blocks since the last irreversible block. This patch only affects a newer eosd catching up to an older one and not vice-versa since there won't ever be the need for an older node to catch up to a newer one.
I'm also including some related odds and ends, a change to the tn_up.sh helper script to make it wait for a replay to complete before moving on.
Finally, I am including a fix to a log message in the chain controller.

➤ Phil Mesnier commented:
on second thought, community members may want to connect older local nodes to the upgraded testnet. Worst case we have to require a local upgrade to reconnect.

in fac my rebuilt  DAWN-2018-01-05 node syncs just fine from new test node.

➤ Phil Mesnier commented:
This was only relevant during the roll out on testnet 1. Since that's done, this issue is done too.


chore: try using scikit-build-core

Trying out scikit-build-core.

Thanks so much for this. I'm going to merge it with some changes to support looking at LIBDEFLATE_PREFIX for system-installed versions.

Ping me if you have any problems or questions!

Also, if you are able to support Stable ABI eventually, it's:
#define Py_LIMITED_API 0x030b00f0

And
[tool.scikit-build]
wheel.py-api = "cp311"

This will build per-version wheels up to 3.11, then a single binary that works on all future version in 3.11. Cibuildwheel will only test this on 3.12, and not try to rebuild.

Thanks, I think I will likely switch to using a memoryview, and the rest will probably come easy 🤞
Any ideas on the Windows build? https://github.com/dcwatson/deflate/actions/runs/8995764433/job/24711221117#step:3:236
      Could NOT find Python (missing: Python_LIBRARIES Development.Module) (found
      version "3.8.10")

This is my first foray into CMake, so forgive me if I'm missing something obvious 😄

Ahh, thought Windows ran in tests. I see now it's just ubuntu. I think it's likely because I was trying something; if you add Interpreter to the COMPONENTS list, I think it will be fine. I can check on my fork now, though, to be sure.

Ah, also, you are right, Development.Module is better than Development. I meant to do that (that's why I set 3.18 as the minimum instead of 3.15), but seems to have forgotten about it when actually writing the line.

Hah, I'm pretty sure I found that in a comment from you on some other random repo.


[beta]: Fix timeouts firing with tarball extraction

This is a backport of #6130 to the 1.31.0 branch

r? @ehuss

@bors r+

:pushpin: Commit bfeafde0df7d5b5e8ada37550591db9d9ad6c3ff has been approved by ehuss

:hourglass: Testing commit bfeafde0df7d5b5e8ada37550591db9d9ad6c3ff with merge 2c011df7feef8377e616a3bd81734450294ee752...

:sunny: Test successful - status-appveyor, status-travis
Approved by: ehuss
Pushing 2c011df7feef8377e616a3bd81734450294ee752 to rust-1.31.0...


We should redact/hide provider creds in debug logs for registerFunction call

The awsAccessKeyID and awsSecretAccessKey values should be redacted or hidden in the logs.
DEBUG	Function registered.	{"functionId": "test", "type": "awslambda"}
DEBUG	Function cache received set key.	{"key": "test", "value": "{\"functionId\":\"test\",\"provider\":{\"type\":\"awslambda\",\"arn\":\"arn:aws:lambda:us-east-1:063733696545:function:user-service-prod-test\",\"region\":\"us-east-1\",\"awsAccessKeyID\":\"junk\",\"awsSecretAccessKey\":\"junk\"}}"}

Good point @rupakg!

This was closed in #385.


default rule for high CPU usage

What is missing?
Something like
      rules:
      - alert: HighCPUUtilization
        expr: avg(node_cpu{mode="system"}) > 95
        for: 5m
        labels:
          severity: critical
        annotations:
          summary: High CPU utilization on host {{ $labels.instance
          }}
          description: The CPU utilization on host {{
          $labels.instance }} has exceeded 95% for 5 minutes.

Why do we need it?
Alerts like this can help folks understand their sizing limits and isolate badly behaving container.
Environment
Production

kube-prometheus version:
0.63.0

Anything else we need to know?:
I'm unsure how to make such a thin in jsonnet...

https://github.com/prometheus/node_exporter/pull/2679 is the right place to address, closing this ticket.


Support optional pane

As discussed in issue #785, this is a pull request that adds a pane option to markerClusterGroup. It uses code from @ghybs, but of course alters the initialize method instead of overriding it. Also included is a documentation update and an example.

Please take a look at the failed tests ^^

Interestingly, Leaflet was providing a pane option for existing unit tests w/value 'overlayPane'; the tests failed because they expect 'markerPane' instead. This wasn't happening in the marker-clustering-pane.html example app.  Anyway you'll see my solution skirts this issue by simply renaming the option.  I also added new pane unit tests and updated the documentation.

Hi @ckrahe,
Nice to have converted the hack into a proper PR!
Thinking about it further, it might be cleaner to explicitly use an option key (like your mapPane) in L.MarkerClusterGroup class directly, rather than testing in L.MarkerCluster.initialize whether that option is set or not?
That way, the L.MarkerClusterGroup class options list better reflects the documentation, and you avoid a condition in L.MarkerCluster.initialize.
Also, as for the option name, I am not sure "mapPane" is explicit enough?
Panes are for the map anyway (like everything else in Leaflet actually!).
What this option actually does is to set a specific pane on cluster markers, while leaving alone the user supplied markers' pane.
So maybe we could call it something like "clustersPane"?
Updated JSFiddle: https://jsfiddle.net/fcumj09w/10/
L.MarkerClusterGroup.mergeOptions({
  clustersPane: L.Marker.prototype.options.pane // 'markerPane'
});

L.MarkerCluster.include({
  initialize: function(group, zoom, a, b) {

    var latLng = a ? (a._cLatLng || a.getLatLng()) : new L.LatLng(0, 0),
      options = {
        icon: this,
        pane: group.options.clustersPane
      };

    L.Marker.prototype.initialize.call(this, latLng, options);

    // Remaining code is unchanged compared to original method.
    // etc.
  }
});

@ghbys thanks for your thoughts. In hindsight, my 'mapPane' option name was additionally confusing because that's Leaflet's name for the 'pane that contains all other map panes'.  Note I went with the singular 'clusterPane' instead of 'clustersPane' to match Leaflet's singular 'markerPane', 'tooltipPane', etc.
Also, defining clusterPane in L.MarkerClusterGroup is a bit cleaner, as is defaulting it to L.Marker's default.

Nice :) Thanks!


Kubernetes namespace could be detected automatically

When using the kubernetes clustering mechanism, one has to set the environment variable DOCKER_VERNEMQ_KUBERNETES_NAMESPACE.
While this method works fine there is a way to find the namespace in which the pod runs, it's stored in a file named namespace alongside ca.crt and token in /var/run/secrets/kubernetes.io/serviceaccount/.

Just a note, that there's a default value in Dockerfile using ENV, which means the cat result is ignored because env is set.


If bug-alert has been closed, it should be able to be raised again for different bug

Can you elaborate the issue?
As of now, the Error component makes the Error field null. Right after showing the Error.
Making it possible to show a new Error afterwards, should it happen.

I will elaborate more on Thursday :)


Attempt at unbreaking the map documentation

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I don't understand this. It's an attempt? Do we not know if it works or not?

By the way, the change looks completely bogus to me...

Since this is in the fuselibs repo, i have no way as far as i know of verifying that it works.

@petterroea: Surely you can run the docs-generator yourself, no?

Yes, but the way the docs-generator is set up, it pulls in precrunched data from fuselibs. I will investigate the possibility of building fuselibs-docs locally.

@kusma Verified locally in https://github.com/fusetools/fuselibs-public/pull/116

@sebbert: I'm not sure I understand. #116 is different than this. Does that mean that this one did not work as-is?

@kusma This pull request (#104) produces invalid output. Since I can't push directly to the branch this is based on, I fixed the issue separately, verified the result, and put it in #106

OK, then I'll close this one.


Created Footer with legal and policy page

Added Footer and Created the Terms and Condition Page, Policy Page

Added the Footer into Layout as a global template

@punyakrit Check the update and let me know, So will move forward


Add TrieSet functions to convert to/from arrays

Some utility functions for sets.
Also, should mem be renamed to has?

Also, should mem be renamed to has?

It probably should, but I'd rather do it in a PR that makes a single change across all collections to make them consistent.

Isn't contians better than has?

https://github.com/dfinity/motoko-base/blob/8d673459b9f71189b1be0cf53bed31b03a049d57/doc/design.md#containers explicitly chooses has for testing membership. If we'd prefer contains we would need to convince Andreas.

I just realized that Trie.fromList doesn't remove dupes... we'll have to change fromArray to just iterate and call put


matc glsl transpile version issue

Hi,
When matc optimizations are enabled, it seems to set CodeGenerator::mTargetLanguage to SPIRV, in which case shaders become #version 450:
https://github.com/google/filament/blob/251abf0545b9b4afcc49a21de5620e79a743ddad/libs/filamat/src/shaders/CodeGenerator.cpp#L61-L64
The problem is when transpiling back to GLSL (because optimizations are enabled), it configures CompilerGLSL with GL_CORE_41:
https://github.com/google/filament/blob/251abf0545b9b4afcc49a21de5620e79a743ddad/libs/filamat/src/GLSLPostProcessor.cpp#L350
This means it will output a #version 410 shader and the problem with that is:
"0(158) : error C7532: global function unpackHalf2x16 requires "#version 420" or later
0(158) : error C0000: ... or #extension GL_ARB_shading_language_packing : enable
"
1:   #version 410
2:   struct BoneData
3:   {
4:   mat3x4 transform;
5:   uvec4 cof;
6:   };
7:   layout(std140) uniform FrameUniforms
8:   {
9:   mat4 a;
10:   mat4 b;
11:   mat4 c;
12:   mat4 d;
13:   mat4 e;
14:   mat4 f;
15:   mat4 g[4];
16:   vec4 h;
17:   vec4 i;
18:   vec3 j;
19:   float k;
...

We use matc with optimizations to compile Filament and don't have this issue. When this particular function is missing we inject our own implementation. How do you reproduce the problem on your end?

Also, which version of Filament are you using?

I'm on HEAD (#4970)
The isse seems related to matrixskinning, it disappears when I don't enable it (has_bones=false)
            filament::RenderableManager::Builder builder(node_info->ai_node->mNumMeshes);

            size_t renderable_index = 0;
            for (auto submesh_index : RangeIter(node_info->ai_node->mMeshes, node_info->ai_node->mNumMeshes))
            {
                const auto &submesh_info = submesh_infos[submesh_index];
                builder
                    .material(renderable_index, submesh_info.material)
                    .geometry(
                        renderable_index,
                        filament::RenderableManager::PrimitiveType::TRIANGLES,
                        mesh.vb.vb.get(), mesh.vb.ib.get(),
                        submesh_info.face_offset * 3,
                        submesh_info.min_index, submesh_info.max_index,
                        submesh_info.ai_mesh->mNumFaces * 3);
                ++renderable_index;
            }

            if (has_bones)
                builder
                    .skinning(node_infos.size());

            builder
                .culling(true)
                .screenSpaceContactShadows(true)
                .castShadows(true)
                .receiveShadows(true)
                .boundingBox(bb)
                .build(*global->engine, node_info->node->entity.get());

I'll have another look how skinning is related to this. But I'm wondering if it would a good idea to make sure matc transpiles to  version 450 (atleast that is my workaround)

We don't want to/can't transpile to 450, our minimum requirement is GL 4.10 because of macOS.

The real fix is probably to just include the missing functions at code generation. Like I said earlier we have our own implementations, the skinning code generation might just be missing the proper include. It would be in CodeGenerator.cpp or ShaderGenerator.cpp.

The matc shadersource is version 450 and technically doesn't need unpackHalf2x16 (and probably barfs if I inject it?)
And OpenGLProgram doesn't inject it during runtime since context.ext.ARB_shading_language_packing is true  (windows x64 GTX 1070)

Then we need to figure out why the runtime injection is failing.

It's because I'm injecting it only in the fragment shader.

If I understand correctly, this should be as simple as adding #extension GL_ARB_shading_language_packing : enable to vertex shaders on platforms that support the extension. @RYDB3RG can you test that https://github.com/google/filament/pull/5022 fixes the issue for you?

@bejado works now. thx


Description cleanup

Added more explict mention of TFTD support, corrected file paths for original data files. Version bump.

This is NOT the official HaikuPorts repo, please, create your PRs at the official repo!
Closing, wontmerge!


Metal: avoid presentDrawable on sg_end_pass()

Is it on purpose that sg_end_pass() calls presentDrawable on Metal? That means that multiple pipelines writing to the framebuffer will also swap the drawable and present the result on screen during each frame.
I was wondering if this is "by design" so that you are forced to write to an off-screen texture and then only plot the final texture on the framebuffer or if it is a misbehavior.
Thanks! :)

It's by design, I seem to remember that presentDrawable was in the sg_commit() call before, but that had to move into sg_end_pass in the 'render pass cleanup' update which dropped the concept of a default pass and allowed to render into multiple swapchain surfaces per frame.
In general you should only have a single render pass per 'render destination' in a frame, and never have multiple render passes into the same render target (think of a render pass as a node in a dependency tree of dependent render targets, and not as a group of related draw calls).

Yes, it was in sg_commit(), true. I get where this is coming from, but then how would you apply different blending modes when rendering to the same swapchain. I have a simple use-case where all the sprites of a game are drawn to a render target and then the render target is drawn on the swapchain as a simple quad and then on top of it, I draw the debui IMGUI stuff using blending to support transparency (and the debug IMGUI is rendered at the same resolution as the swapchain, while the game sprites are rendered at a smaller VGA-like resolution)

but then how would you apply different blending modes when rendering to the same swapchain

You can all do this in the same pass, no? First apply a pipeline with alpha blending disabled, do some drawing, then apply a pipeline with alpha enabled and do all drawing that requires alpha blending. All within the same begin/end pass.

You are totally right. I was mixing up the passes and pipelines. For some reason I tightly coupled the pass to a single pipeline, silly me!

PS: I edited the comment with a code example while you already responded :)


Is there a chance for littlefs to be build on arduino enviroment for esp32?

I wonder if there is a plan to port the littlefs to arduino esp32.
Currently i have no choise but to use the SPIFFS wich is very slow on big partitions.

Sorry.  I don't have any plans to do so.

Thanks for the answer!


Deployment

#Deployment
##User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
##AcceptanceCriteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

deployed with github pages


Duplicates bug?

Hi, I found this today

here: https://wikxhibit.org/artist/?artist=Q19848

It's fixed now. Thanks!


Spring boot does not load profile specific property files when jasypt is added to classpath

Hi, when I add jasypt-spring-boot-starter 3.0.4 to my pom file, spring completely skips attempting to load application-{profile}.yml properties.
By removing the dependency from my build, the profile specific properties are immediately loaded again.
I am using an embedded cloud config server to fetch external properties and therefore am using bootstrap.yml.
I am using asymmetric encryption and have configured in bootstrap.yml and application.yml jasypt.encryptor.privateKeyFormat and jasypt.encryptor.privateKeyLocation

Still doing debugging on this issue, but it seems to be related to setting spring.profiles.active in bootstrap.yml as when I set spring.profiles.active in command line arguments it works as expected.

Interesting. When you say embedded config server… do you mean you’re running the config server along side spring cloud config? All in the same app?

Yes, config server is running in the same process as my app.

It wouldn’t surprise me if the config server is relying on a specify type of PropertySource that it might not find with this library on because it would be wrapped by a different class. I’d inspect the environment and try to skip property sources from being decorated using property source names or types. Check out the readme on how to do that

I have the same problem
application.yml cant extend spring.profiles.active in the bootstrap.yml ，lead to spring completely skips attempting to load application-{profile}.yml

@marchi1986 are you also using the config-server embedded in your app?

@marchi1986 are you also using the config-server embedded in your app?

Thanks for you replay!
I have one config app that keeps the common configuration，other app will depend the config app


Conflicting with Insert mode mappings

I have the classic mappings for
inoremap jk <Esc>
inoremap kj <Esc>

So when I press j or k in insert mode, which key get activated and can't write those letters, so when I don't want to esc, I just want to write j or k, I can't.

You can add the following for now:
wk.register({ j = "which_key_ignore", k = "which_key_ignore" }, { mode = "i" })

But I'll add special handling in this case since a lot of people might have this.

Just pushed an update that skips this


homologation-webpayment.payline.com/webpayment/getToken 500 service unavailable

Hi !
I try to use cardregistration-js-kit in a small market place. I have a sandbox account which works well. I use Spring to register a client and I can get his id without problem, and after I create a card registration with success.
I follow strictly the example provided in demo/index.php.
 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:8443' is therefore not allowed access. The response had HTTP status code 500.

What am I doing wrong ?
Here is my front code:

        Numéro de carte:
        <input id="card_number" value="4970100000000154"/>

        Date d'expiration (MMAA):
        <input id="card_expiration_date" value="1020"/>

        Code cvx:
        <input id="card_cvx" value="123"/> (optional for Maestro)

            <button id="process">Process</button>

Thanks for your help !

This looks like a temporary issue on the Payline side. The Payline URL that is used to tokenize the card details gives a 503 Service Temporarily Unavailable error.

Thanks for your response, I hope this is not a frequent error :)
If I can suggest something, maybe it is a good idea to handle this kind of error another way than throwing an error about CORS:
Code: 001596, message: An HTTP request was blocked by the User's computer (probably due to an antivirus)


Wi-Fi: Compilation Errors

Description
The changes made to the Wi-fi shell it fails to compile(Add support to configure BSSID in Wi-Fi connect command #70024). This is a known issue with C case statements.

/subsys/net/l2/wifi/wifi_shell.c:507:4: error: a label can only be part of a statement and a declaration is not a statement
507 |    long channel = strtol(optarg, &endptr, 10);

Impact
Showstopper
Logs and console output

/subsys/net/l2/wifi/wifi_shell.c:507:4: error: a label can only be part of a statement and a declaration is not a statement
507 |    long channel = strtol(optarg, &endptr, 10);

Additional context
By adding an additional statement the compiler ignores that 'issue'
		case 'c': //Break Comment to resolve compile error
			long channel = strtol(optarg, &endptr, 10);

What compiler is that? I do not see any error with gcc.

Using GCC...

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server
-- CMake version: 3.25.0-rc2
-- Found Python3: C:\Python310\python.exe (found suitable version "3.10.8", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:\Users\BillyBob\AppData\Local/.cache/zephyr
-- Zephyr version: 3.6.99 (C:/Users/BillyBob/zephyrGoodX/zephyrNew)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: particle_argon, qualifiers: nrf52840
-- Found toolchain: gnuarmemb (C:\gnu_arm_embedded_10)
-- Found Dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: C:/Users/BillyBob/zephyrGoodX/zephyrNew/boards/particle/argon/particle_argon.dts
-- Found devicetree overlay: C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/boards/particle_argon.overlay
-- Generated zephyr.dts: C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/build/zephyr/dts.cmake
Parsing C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/Kconfig
Loaded configuration 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/boards/particle/argon/particle_argon_defconfig'
Merged configuration 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/prj.conf'
Merged configuration 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/boards/particle_argon.conf'
Merged configuration 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/overlay-local-mqtt.conf'
Configuration saved to 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/build/zephyr/.config'
Kconfig header saved to 'C:/Users/BillyBob/zephyrGoodX/zephyrNew/sensor_server/build/zephyr/include/generated/autoconf.h'
-- Found GnuLd: c:/gnu_arm_embedded_10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.bfd.exe (found version "2.36.1")
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is GNU 10.3.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/gnu_arm_embedded_10/bin/arm-none-eabi-gcc.exe

Are you doing some extra configuration to run gcc in -pedantic mode? From https://stackoverflow.com/a/77738076  looks like it would work with gcc otherwise (though it shouldn't work).


Timbru31 fix/explicit unique primary key

This PR is based on #984 and completes it.

great, thanks for continuing my PR!


[Question] Delete messages stored in the directline under a particular conversation id

How can I delete messages that are stored in the directline? My messages have reached 99 and I am continuously getting the same message as response. For example, if i say "Hi" it responds says "How are you" and if I say "How to contact an agent" still it says "How are you". For any question it gives the same response as if it is stuck somewhere. Can someone please help me with this? How can I delete the messages that are stored in the directline under that particular conversation id?

Please post the code for your bot.
Note: The Direct Line is not a message store, but has a temporary cache of messages to aid with connection stability issues.  If you are polling for messages using the Direct LIne, then you should also use the watermark feature to ensure you only retrieve messages from the cache that have not already been retrieved.  There are a some examples here: https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-DirectLine and using web sockets: https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-DirectLineWebSockets

The Bot code is perfectly fine. I have checked the logs for the bot, the bot replies with the correct answer. This is a orchestrator code which in turn calls the bot. I am posting the directline call code below please have a look at it. I somehow feel that the messages count has reached 100 in the tempoparay directline cache for that particular conversation id because of which we are getting the repeated response. If i compare the orchestrator logs and the bot logs, I can see that bot gives the correct answer but the orchestrator is giving this repeated answer. I just wanted to try clearing the directline messages for that conversation id and then check if it works fine then.
`using DirectLineClient.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace CathyRestAPI.Models
{
public class DirectLineClient
{
        private const string host = "https://directline.botframework.com";

        private static string conversationsAPI = $"{host}/api/conversations";

        private readonly string botSecret;

        private static TraceSource _source = new TraceSource("Logs");

        private static string className = "DirectLineClient";

        public static string reply = string.Empty;

        private static string nonrepliederrormsg = "Oops! Something went wrong. Lets try again";
        public DirectLineClient(string botSecret)
        {
            this.botSecret = botSecret;
        }

        public async Task<StartConversationResponse> StartConversationAsync()
        {
            using (var httpClient = new HttpClient())
            {
                httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("BotConnector", botSecret);
                httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
                var response = await httpClient.PostAsync(conversationsAPI, null);

                response.EnsureSuccessStatusCode();

                return JsonConvert.DeserializeObject<StartConversationResponse>(await response.Content.ReadAsStringAsync());
            }
        }

      public async Task<StartConversationResponse> refreshToken(string tokenToRefresh)
     {
        _source.TraceEvent(TraceEventType.Information, 0, className + DateTime.Now.ToString(" MMM ddd d h:mm:ss tt") + "\t " + "Token to Refresh :" +tokenToRefresh);
        using (var httpClient = new HttpClient())
        {
            httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", tokenToRefresh);
            httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
            var response = await httpClient.PostAsync("https://directline.botframework.com/v3/directline/tokens/refresh", null);
            response.EnsureSuccessStatusCode();
            return JsonConvert.DeserializeObject<StartConversationResponse>(await response.Content.ReadAsStringAsync());
        }
    }

    public async Task<string> SendMessageAsync(string conversationId, string from, string text)
        {
            string url = $"{host}/api/conversations/{conversationId}/messages";

            var message = new
            {
                from = from,
                text = text
            };

            HttpContent content = new StringContent(JsonConvert.SerializeObject(message), Encoding.UTF8, "application/json");

            using (var httpClient = new HttpClient())
            {
                httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("BotConnector", botSecret);//BotConnector
                httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

                var response = await httpClient.PostAsync(url, content);

                if (response.StatusCode != System.Net.HttpStatusCode.NoContent)
                {
                    // TODO: response.EnsureSuccessStatusCode();
                }

            }

            // return JsonConvert.DeserializeObject(await response.Content.ReadAsStringAsync());

            return text;

        }

        public async Task<ConversationMessages> GetMessagesAsync(string conversationId)
        {
            string url = $"{host}/api/conversations/{conversationId}/messages"; //?watermark={watermark}";

            using (var httpClient = new HttpClient())
            {
                httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("BotConnector", botSecret);
                var response = await httpClient.GetStringAsync(url);

                return JsonConvert.DeserializeObject<ConversationMessages>(response);
            }
        }
        public static string directlinecall(CathyRequest request, string secret_key, UserProfile userprofile, string conversationID)
        {
            StartConversationResponse drC1, dlc1;
            ConversationMessages Cm;

        try {
            string answer = string.Empty;
     //       string conversationId = string.Empty;
            string count = string.Empty;
            DirectLineClient dlc = new DirectLineClient(secret_key);
            /*     Task.Run(async () =>
                 {
                     dlc1 = await dlc.StartConversationAsync();
                     userprofile.LastCathyConversationId = dlc1.ConversationId; ;
                 }).Wait(); */

            //string conv=(dlc1.ConversationId).ToString();
            string reply1 = string.Empty;
            int counter = 0;

            Retry:
                Task.Run(async () =>
                {

                    reply1 = await dlc.SendMessageAsync(conversationID, userprofile.SenderName, request.RequestMessage);

                }).Wait();

                Console.WriteLine("" + reply1);

                Task.Run(async () =>
                {
                                            //count = (i + 1).ToString();
                    Cm = await dlc.GetMessagesAsync(userprofile.LastCathyConversationId);

                    // Cm = await dlc.GetMessagesAsync(conversationID);

                    reply = Cm.Messages[(Cm.Messages.Count - 1)].Text;

                }).Wait();

                if (reply1 == reply || (reply.ToLower()).Contains("sorry"))
                {
                if (!(counter >= 2))
                {
                    Console.WriteLine("Retrying");
                    counter++;
                    goto Retry;
                }
                else
                {
                    reply = nonrepliederrormsg;
                }
             }
        }
        catch (Exception e)
        {
            _source.TraceEvent(TraceEventType.Information, 0, className + DateTime.Now.ToString(" MMM ddd d h:mm:ss tt") + "\t Exception thrown is:  " + e);
            throw e;
        }
        return reply;
    }

}

}`

So I tried executing questions in a loop of more than 100 and noticed that when the messages cache reaches a count of 100 it stops storing new bot messages and hence gives the same repeated response that is there in the 100th element of the messages array. Can someone give me a solution for this? How can I tackle this issue?

As was said earlier, use the water mark parameter to poll for the messages, this will give you all the messages after a particular water mark Retrieve activities with HTTP GET. But I will advice that you use the web socket method rather. This will provide much better performance
Michael
Sent from Mail for Windows 10
From: MadhuAcc12
Sent: 14 September 2017 05:29
To: Microsoft/BotBuilder
Cc: Subscribed
Subject: Re: [Microsoft/BotBuilder] [Question] Delete messages stored in thedirectline under a particular conversation id (#3453)
So I tried executing questions in a loop of more than 100 and noticed that when the messages cache reaches a count of 100 it stops storing new bot messages and hence gives the same repeated response that is there in the 100th element of the messages array. Can someone give me a solution for this? How can I tackle this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

can you please provide me some links for the same? I don't exactly know what does watermark do.

Can you please let us know if the issue still persists?

@EricDahlvang can you please take a look and add pointers to doc/ a sample?

Documentation on the Watermark can be found here: https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-receive-activities?view=azure-bot-service-3.0#process-messages


Update the vinyl-fs package to the latest version

This package had its major version increased, please see https://github.com/gulpjs/vinyl-fs/releases/tag/v4.0.0, but simply updating the package without any changes on the PDF.js-side unfortunately causes the gulp web build-target to "break" files when copying them into the gh-pages-directory.
Some examples (there may be more) of the kind of breakage that occurred:

The web/viewer.html file had its BOM removed.
The web/compressed.tracemonkey-pldi-09.pdf file was "inflated", with its stream-data being modified, completely breaking it.

I have bisected the BOM problem to https://github.com/gulpjs/vinyl-fs/commit/bfb56cdfeda7af45804095716034f0f8473bd5f0 which renamed stripBOM that we use to removeBOM, so that should fortunately be a trivial fix. What I don't really understand is that that was already changed in version 3.0.0, see that commit and also the changelog at https://github.com/gulpjs/vinyl-fs/releases/tag/v3.0.0, and we use 3.0.3, so either this hasn't worked since already or there was some conversion of stripBOM to removeBOM going on that I can't find...

The pull request above gets rid of our direct dependency on vinyl-fs because we don't need it anymore, which overall seems like the simplest way to resolve this issue, and it fixes the BOM stripping issue. Note that vinyl-fs is still an indirect dependency (of Gulp), but it's pinned to version 3 there which works well. This is also better because our vinyl-fs version can no longer get out of sync with what Gulp expects, which I think contributes to the problems listed in this issue. If vinyl-fs is updated to version 4 in Gulp that'll most likely be in Gulp 5 which we'll have to test carefully anyway, but the issues found here may already be solved then.
I have confirmed that the BOM stripping is indeed not a regression from the new vinyl-fs version and that's already not working correctly with the current version. To find this, I ran file web/viewer.html on the current master branch file and got web/viewer.html: HTML document, Unicode text, UTF-8 (with BOM) text. However, if I run this on the output of gulp web, which uses the vinyl-fs path with BOM stripping disabled, I get viewer.html: HTML document, Unicode text, UTF-8 text which confirms that the BOM is indeed removed.
According to threads like https://github.com/gulpjs/vinyl-fs/issues/72#issuecomment-117289656 the BOM doesn't have much meaning anymore for UTF-8 documents like this. https://stackoverflow.com/a/2223926 seems to confirm that BOM is unnecessary, but people also claim it can't hurt to have it. In any case, we'll recover the original behavior by using the options provided through gulp.src now, which is possible since Gulp 4 according to https://github.com/gulpjs/gulp/issues/1557#issuecomment-194536219, after which we get build/gh-pages/web/viewer.html: HTML document, Unicode text, UTF-8 (with BOM) text again.

According to threads like gulpjs/vinyl-fs#72 (comment) the BOM doesn't have much meaning anymore for UTF-8 documents like this. https://stackoverflow.com/a/2223926 seems to confirm that BOM is unnecessary, but people also claim it can't hurt to have it.

The BOM was added in PR #3957, specifically to disable the "Character Encoding menu" when using the built-in Firefox PDF Viewer. Given that that menu was replaced in bug 1687635 it's not really clear to me if we still need the BOM nowadays!?

With that in mind, and the fact that the BOM hasn't actually been there for five years and nobody noticed, I'm also not opposed to removing it; for the initial patch above I just played it safe so we could get rid of the dependency.


Bad BOLD skullstrip leads to wrong tCompCor mask

sub-Exp1s02_task-localizer

This is the result of a very bad co-registration (EPI-to-T1). And that co-registration is very bad because fieldmap correction went horribly (see the last axial cut on the right z=-19, with a ghost of the posterior lobe).
In this case, fieldmap correction went horribly because the FoV makes inhomogeneity peaks fall on the edges of the mask. This is why I spent a lot of time with a B-Spline smoother for the field.
No other solutions that I can think of.


No registration for type IEnumerable HttpConfiguration

Hi,
I've setup exceptionless api on my host server. But 've got error like this:
No registration for type IEnumerable<Action> could be found.

Where did i wrong?

I solved myself. The problem was missing dll.

Thanks for the follow up! Please let us know how it's working out for you!


Replicated php folders WithTests

Replicated PHP (plain and laravel) webapp and containers folders.

@dikhakha Please go through this PR for replicating PHP folders


Install TagBot as a GitHub Action

You're receiving this pull request because the now-deprecated Julia TagBot GitHub App is installed for this repository. This pull request installs TagBot as a GitHub Action.
If this PR does not belong in this repository for any reason, feel free to close it.
See this Discourse thread for more details and to ask questions.
Please do not comment on this pull request, because it is unlikely that I (@christopher-dG) will see it.

Coverage remained the same at 92.605% when pulling f937773c36cbca1adbf08d243d42929f7024b55f on JuliaTagBot:master into c07fc4fc58c78dde54739a7a59b060ecd4b314d3 on ranocha:master.


RTO should be used instead of ERT

The following is copied from the issue #32279 - it applied to this page as well. Please update accordingly.
"ERT (Estimated Time to Recovery) and RTO (Recovery Time Objective) are both used on this page and the difference is not made clear. RTO is defined but ERT is not, and they would seem to be used interchangeably as the table notes RTO in places instead of ERTs:"

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

ID: 0eb2cae6-197f-94b4-53ba-12f99dff5a4e
Version Independent ID: 259006d1-760e-b2fa-d0bb-6e952b951e3a
Content: Business continuity - Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/concepts-business-continuity.md
Service: postgresql
GitHub Login: @rachel-msft
Microsoft Alias: raagyema

@kazshi We are checking this and will get back to you.

@kazshi These changes will be live once the PR is approved/merged. We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.
@NavtejSaini-MSFT


Grunt version should be picked from a single place

We can get these variables from a single place, like the package.json

This is squared-away now, yeah?

This was solved as we now need to set a new release method, probably it's a theme for another issue.


excel-shared-runtime-scenario not working

URL of sample
https://github.com/OfficeDev/PnP-OfficeAddins/tree/master/Samples/excel-shared-runtime-scenario
Describe the bug
On npm run sideload, Excel is started and there is an error saying Error installing add-ins : One of more add-ins failed to download a required resource
To Reproduce
Steps to reproduce the behavior:

Downloaded source code.
Follow steps mentioned in https://github.com/OfficeDev/PnP-OfficeAddins/tree/master/Samples/excel-shared-runtime-scenario
Excel starts but there is an error installing add-ins.

Expected behavior
Addin is installed and it works as mentioned in the sample documentation.
Screenshots

If it helps, this is content of OfficeAddins.log.txt

Environment

Platform [PC desktop, Mac, iOS, Office Online]: PC desktop
Host [Excel, Word, PowerPoint, etc.]: Excel
Office version number: Microsoft 365 Apps for Enterprise, Version 2009 (Build 13205.20000), Beta Channel
Operating System: Windows 10 Pro
Browser (if using Office Online): NA

Additional context
Clicking on any of the buttons in ribbon does nothing.

Hi @EthanVaz,
I believe your issue was related to expired certificates being used. PR #89 should have addressed this. Could you please retry the sample installation instructions with the new certificate step? I'll relist them below.

Clone the repo and navigate to the "Samples\excel-shared-runtime-scenario" folder.
npx office-addin-dev-certs install --days 365
npm install
npm run build
start npm start
npm run sideload

Please let me know if that helps. Thanks!


Add link for the video in README.md

This is a Feature Request
What would you like to be added
Add a YouTube video link to the contributing section of Readme.md
Why is this needed
It covers almost all the doubts of a beginner starting out in #sig-docs and very helpful for especially for those people who prefers to learn through video tutorials.

/sig docs

/assign

/assign

Closing this as completed via https://github.com/kubernetes/website/pull/43246
/Close


IT-1756: Add lambda and update README

This PR creates the lambda to do the actual suppression from findings queued up by the infra in #648 .
Depends on #648 .

Merging in #648


SemiHosting - TypeError: string argument without an encoding

I try to get debug messages via semihosting from a nrf52840 device and each message I get TypeError:
Traceback (most recent call last):
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/gdbserver/gdbserver.py", line 418, in handle_message
    reply = handler(msg[msgStart:])
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/gdbserver/gdbserver.py", line 666, in v_command
    return self.v_cont(cmd)
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/gdbserver/gdbserver.py", line 717, in v_cont
    return self.resume(None)
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/gdbserver/gdbserver.py", line 603, in resume
    was_semihost = self.semihost.check_and_handle_semihost_request()
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/debug/semihost.py", line 441, in check_and_handle_semihost_request
    result = handler(args)
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/debug/semihost.py", line 519, in handle_sys_write0
    msg = self._get_string(args)
  File "/home/joerg/.local/lib/python3.8/site-packages/pyocd/debug/semihost.py", line 478, in _get_string
    target_str = six.ensure_str(bytes(bytearray('')), encoding="ascii", errors="ignore")
TypeError: string argument without an encoding

BTW. I use a Pitaya-Link, and I don't know if this issue is related to pyOCD or Pitaya-Link firmware.

As no one seems to have time to look inside this, I as a noob in Python replaced this line 478 in semihost.py and the error is gone:
#target_str = six.ensure_str(bytes(bytearray('')), encoding="ascii", errors="ignore")
target_str = ""

Hi @joerg65, just getting to it. Sorry about the bug! Thanks for reporting it. Sadly, this would have been caught by the semihosting unit test, but that test was somehow causing Python to crash on Travis CI so it was disabled.

Hi @joerg65, just getting to it. Sorry about the bug! Thanks for reporting it. Sadly, this would have been caught by the semihosting unit test, but that test was somehow causing Python to crash on Travis CI so it was disabled.

Thank you, I tried your commit and it works for me.

Good to hear! Thanks for reporting back.


Test integration with Coveralls service

Drat! I'll try this again tomorrow.

I'm happy to report that after all this time, and for no apparent reason, Coveralls has returned! Here's an example from a recent pull request: https://github.com/jshint/jshint/pull/2917#issuecomment-213777334