eggdrop: 1.9.3 -> 1.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/eggheads/eggdrop/releases.
meta.description for eggdrop is: "An Internet Relay Chat (IRC) bot"
meta.homepage for eggdrop is: "https://www.eggheads.org"
meta.changelog for eggdrop is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.4 with grep in /nix/store/5lyka5n3ykybs1fiij64cyf3yz45j3nk-eggdrop-1.9.4
found 1.9.4 in filename of file in /nix/store/5lyka5n3ykybs1fiij64cyf3yz45j3nk-eggdrop-1.9.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
eggdrop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5lyka5n3ykybs1fiij64cyf3yz45j3nk-eggdrop-1.9.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5lyka5n3ykybs1fiij64cyf3yz45j3nk-eggdrop-1.9.4
ls -la /nix/store/5lyka5n3ykybs1fiij64cyf3yz45j3nk-eggdrop-1.9.4/bin

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

1 package built:

eggdrop

Maintainer pings

Please reopen.


Support complex data structures

Something like emscripten::val could replace nbind::cbFunction and besides calling functions could allow also accessing objects and arrays by numeric or string keys.
In some cases it might be useful to pass a JSON object using something like nlohmann/json (or miloyip/nativejson-benchmark has a list of other library options) and avoid roundtrips between C++ and JavaScript at every access.

How about adding support for (some) STL containers like std::pair?
If nbind could define some typical types like std::pair<int,int> as well as provide their JS counterparts and default bindings, this would make passing such containers much easier.
(I am not sure if embind provides similar facilities...)

Embind supports both std::vector and emscripten::val for passing JavaScript arrays, and std::vector support is also planned for nbind very soon. Then std::map corresponding to JavaScript objects would be next.

Let's track this in a project instead.


Pushover glances

Hello,
Im missing pushover Glances this is use to push something to you watch or widget.
I would like to have homey sending small messages to my watch.
https://pushover.net/api/glances

Hello
What's about this issue? I have the same problem, It would be so great If Homey sending small messages to my apple watch. My homey complication is empty.
Best regards
feron


New Feature - tsconfigrootdir

Is it possible to add a new config parameter tsconfigRootDir so that the paths in the projects array are resolved relative to this parameter instead of cwd ?
This is useful when you want to run eslint from a workspace instead of the root of the project.
The same has already been implemented for the typescript-eslint parser.
https://www.npmjs.com/package/@typescript-eslint/parser

What do mean with

The same has already been implemented for the typescript-eslint parser.

I mean that both @typescript-eslint/parser and eslint-import-resolver-typescript provide a "project" option to define the locations of the tsconfig files but @typescript-eslint/parser package allows us also to configurate how are resolved the paths provided in the "project" option with the "tsconfigRootDir" option.
I thought it could be nice to also have this option in the eslint-import-resolver-typescript

I still can understand why this option is required, do you have any example that project won't work?
Fewer options is preferred IMO.

If the configs are not in the root of the open project in the code editor, then you have to specify the current directory to fix the linting
parserOptions: {
  project: "./tsconfig.json",
  tsconfigRootDir: __dirname,
},

After that I have the same problem

Unable to resolve path to module<EMAIL_ADDRESS>To fix it you have to redefine the path to the ts config by adding the current directory to the path

"import/resolver": {
  typescript: {
    project: `${__dirname}/tsconfig.json`,
  },
},

Therefore, this parameter tsconfigRootDir is ignored

So does ${__dirname}/tsconfig.json work to you?
If it works, why you prefer project + tsconfigRootDir? It seems not making sense to me.

Close due to inactive. Let me know if you want to discuss further.


Typescript error saying onMouseOver does not exist on Circle

In React-konva 1.1.4 compiled with Typescript 2.5.2 (and 2.4), I'm getting incorrect compilation errors. The following:
<Circle x={50} y={50} radius={10} fill='#ddd' onMouseOver = {(e) => {console.log('yippeee'); }}/>
gives compilation error:
Property 'onMouseOver' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Circle> & Readonly<{ children?: ReactNode; }> & Re...'.
But the code actually works - ie the console log correctly appears on mousing over. Same error appears for onDrag etc.

Looks like our Typescript definitions are missing all events.
I will be happy to accept Pull Request.


LightningCLI doesn't save optimizer's configuration if not explicitly given

Bug description
From the Docs:

To ease experiment reporting and reproducibility, by default LightningCLI automatically saves the full YAML configuration in the log directory. After multiple fit runs with different hyperparameters, each one will have in its respective log directory a config.yaml file.

I would expect the saved config.yaml to include the options for --optimizer etc. even if they were not passed, just like it populates the config.yaml with  --seed_everything even if it wasn't explicitly passed in the CLI.
What version are you seeing the problem on?
v2.2
How to reproduce the bug
# main.py
from lightning.pytorch.cli import LightningCLI

# simple demo classes for your convenience
from lightning.pytorch.demos.boring_classes import DemoModel, BoringDataModule

def cli_main():
    cli = LightningCLI(DemoModel, BoringDataModule)
    # note: don't call fit!!

if __name__ == "__main__":
    cli_main()

Now from the console:
python main.py fit --trainer.max_epochs=1

Error messages and logs
The config.yaml under lightning_logs/version_0 is this:
# lightning.pytorch==2.2.1
seed_everything: 0
trainer:
  accelerator: auto
  strategy: auto
  devices: auto
  num_nodes: 1
  precision: null
  logger: null
  callbacks: null
  fast_dev_run: false
  max_epochs: 1
  min_epochs: null
  max_steps: -1
  min_steps: null
  max_time: null
  limit_train_batches: null
  limit_val_batches: null
  limit_test_batches: null
  limit_predict_batches: null
  overfit_batches: 0.0
  val_check_interval: null
  check_val_every_n_epoch: 1
  num_sanity_val_steps: null
  log_every_n_steps: null
  enable_checkpointing: null
  enable_progress_bar: null
  enable_model_summary: null
  accumulate_grad_batches: 1
  gradient_clip_val: null
  gradient_clip_algorithm: null
  deterministic: null
  benchmark: null
  inference_mode: true
  use_distributed_sampler: true
  profiler: null
  detect_anomaly: false
  barebones: false
  plugins: null
  sync_batchnorm: false
  reload_dataloaders_every_n_epochs: 0
  default_root_dir: null
model:
  out_dim: 10
  learning_rate: 0.02
ckpt_path: null

Environment

Current environment
#- PyTorch Lightning Version (e.g., 1.5.0):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):

More info
No response
cc @carmocca @mauvilsa

Hey @adosar
Hmm, Lightning doesn't have a concept of a "default optimizer", so I don't think the CLI / jsonargparse could ever know what that should be in your model. The default is simply whatever you specify in your return statement of the configure_optimizers().

@adosar the current behavior comes from https://github.com/omni-us/jsonargparse/pull/90. Maybe the default should be None instead of SUPPRESS. I am not sure this moment if changing that would have unexpected consequences. But note, with this in the saved config there would be optimizer: null. Is this what you are expecting?

Also note that the automatic configure_optimizers is just for convenience to support the most basic cases. But to have configurable optimizers, the recommended approach is to do as described here.

This has been fixed in https://github.com/Lightning-AI/pytorch-lightning/issues/20103, which will be included in the next release of jsonargparse.

This issue could be closed now, no?

@adosar you created this issue, so you can close it. I don't have permission to do so.


Updated samples to handle pointerrestricted and context loss events…

… (for support on hybrid machines)
This pull request addresses the following problems:

handle WebGL context lost and restored events for support on machines with multiple GPUs;
handle vrdisplaypointerrestricted events to get mouse focus on the presenting canvas (to allow for mouse click handling);
show error message if getVRDisplays rejects;
fall back to mp3 audio file format if ogg loading rejects;
advanced mirroring example should use preserveDrawingBuffer=true to render updates on the external display

Woo! Big patch! Looking through it all looks like sensible changes that help reinforce best practices, so thanks for that!

Thank you!


Update travis setting

Coverage remained the same at 95.487% when pulling 235aae06d5f8b4c5b91fc8baec256b64b1e780b8 on travis-sudo into e622de067af4072c794fd980a7f4badbab1b1190 on master.


makefile: pull data

What does this PR do?
Reaction to https://github.com/PyTorchLightning/metrics/pull/1080#issuecomment-1150916825
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

I recommend adding
_data/
data.zip
to .gitignore as well.


feat: add administrator user

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Followup to https://github.com/freeCodeCamp/publish/pull/343.
Adds an Administrator role so that registration and user invitation can happen.

I discussed this with @sidemt and she reminded me that we only want Editors and Contributors for the MVP. Editors will need to have permission to register and invite users and this PR is unnecessary.


Adding Azure Blob output plugin

What this PR does / why we need it:
PR creates an Azure Blob Output plugin, needed as part of the fluent-operator roadmap to add more output plugins.
Which issue(s) this PR fixes:
Fixes #547
Let me know what I've (likely) missed/done wrong and happy to fix 👍🏻

Great, thanks @HarleyB123
Would you please sign your commit by:
git commit -s --amend
git push -f


CreateCellComment() on HSSF: 'An item with the same key has already been added.'

NPOI Version
2.6.2
File Type
XLS
Upload the Excel File
There is no need for a test file because the error is directly seen in the NPOI code.
Issue Description
Sometimes on calling
var drawingPatriarch = sheet.CreateDrawingPatriarch();
IClientAnchor anchor = drawingPatriarch.CreateAnchor(0,0,0,0,67,70,11,15);
drawingPatriarch.CreateCellComment(anchor);

the core throws the exception:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at NPOI.HSSF.Record.EscherAggregate.AddTailRecord(NoteRecord note)
   at NPOI.HSSF.UserModel.HSSFPatriarch.OnCreate(HSSFShape shape)
   at NPOI.HSSF.UserModel.HSSFPatriarch.CreateComment(HSSFAnchor anchor)

Actually it is caused by the following method in npoi-master\main\HSSF\Record\EscherAggregate.cs
        internal void AddTailRecord(NoteRecord note)
        {
            if (tailRec.ContainsKey(note.ShapeId))
                tailRec.Add(note.ShapeId, note);
            else
                tailRec[note.ShapeId] = note;
        }

Where
if (tailRec.ContainsKey(note.ShapeId))
       tailRec.Add(note.ShapeId, note);

will ALWAYS throw an exception if the key exists.
It looks like a typo because if the goal was to prohibit resetting the key then why was it not done through an explicit exception instead of calling Add() as if the goal is to reset?
For some reason, sometimes, despite the anchor being created new right before calling drawingPatriarch.CreateCellComment(anchor), tailRec happens to contain the ShapeId and thus weirdly tries adding it instead of resetting.
But the main bug is probably within HSSFPatriarch.NewShapeId() which assigns an occupied ID to a new Shape.

Please share the xls file.

test_FailAddingComment.xls
On the attached file the following code throws the exception 'An item with the same key has already been added.'
string file = @"c:\test_FailAddingComment.xls";
using (System.IO.FileStream fs = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read))
{
    fs.Position = 0;
    var workbook = new HSSFWorkbook(fs);
    ISheet sheet = workbook.GetSheetAt(0);
    var drawingPatriarch2 = sheet.CreateDrawingPatriarch();
    IClientAnchor anchor2 = drawingPatriarch2.CreateAnchor(0, 0, 0, 0, 55, 71, 58, 75);
    IComment comment2 = drawingPatriarch2.CreateCellComment(anchor2);
}

The initial file was created in Excel and then edited with NPOI without issues. It was normal working file. For uploading here it was cleaned from data which does not affect the issue.


Direct3D11CaptureFrame not converted properly to Mat.

References
https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L181-L214
Above is the function used to convert a Direct3DCaptureFrame to a opencvsharp::Mat. The point of this is so Dyno# can use the frame with the popular Computer Vision library, OpenCV.
The process for conversion is as follows: Direct3DCaptureFrame -> SharpDX::Texture2D -> byte[] which is then referenced by the Mat.
I don't believe anything is going wrong with converting it into a Texture2D, although you're welcome to read the conversion method for that here: https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L42-L86
But I do believe something is going wrong in the conversion to a byte[] from Texture2D. The conversation is done using memcpy, by literally using pointers to copy the memory into the byte[].
I first map the memory then set relevant pointers to both the mapped memory and byte[]. The capture format is B8G8R8A8_UNorm (1 byte per 4 values) so I believe a stride of the width * 4 would work best, correct me if I'm wrong. Afterwards, I loop over the height, copying memory across into a byte[]. To parallelize the process, I use some math here (which is probably where something is going wrong, so if you can recheck it, please do).
Mapping memory: https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L134-L135
Establishing byte[]: https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L144
Copying memory: https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L159-L168
and
https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L88-L117
Expected Result:

Actual Result:

This issue was fixed by recent commit.


Panic when using "broadcast use"

Shown in the log as "'broadcast use' not implemented yet". Nevertheless, this should not crash Verus-analyzer over and over again and make it unusable.

Introduced by https://github.com/verus-lang/verus-analyzer/commit/21b57b346bf24a637b4cd09e278c39dcf5b943dd#diff-b2a7b219bccc0a9aaf7fa184cdcf356fd773011cb4b2095b11c64ed2a2f9dc63R487. It would be probably better to keep this commit away from the main branch anyway...

Closed via 4d9dba3


Moving files for nextjs-starter

This PR solely moves files to a subdirectory so that there can be a nextjs-starter package.

The import statements will be changed in the future to use the actual package (@crossmint/solana-auth)

this one of the things lerna does very well, using npm link under the hood


update wizards for app and policy

Signed-off-by: James Talton<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/22503
https://github.com/stolostron/backlog/issues/22523

/lgtm


this patch contains only the fixation data -- the raw data is also available but not in csv form (yet)

          this patch contains only the fixation data -- the raw data is also available but not in csv form (yet)

Originally posted by @SiQube in https://github.com/aeye-lab/pymovements/issues/797#issuecomment-2343616005

the files can be found here: https://osf.io/ud8s5/

#854


ci: add prealloc to linter rules

Codecov Report
Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 27.51%. Comparing base (c88f497) to head (94dbc96).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

cmd/gateway_dump.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1432   +/-   ##
=======================================
  Coverage   27.51%   27.51%
=======================================
  Files          61       61
  Lines        6272     6272
=======================================
  Hits         1726     1726
  Misses       4423     4423
  Partials      123      123

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


semver.org designates a "build" specification with a "+" and a "pre-release" with a "-"

semver gem appears to use "special".  Does special always use "-"?  Is there a way to designate a "build" with a "+"?  Should special be split into build and prerelease methods?
Quote from spec:
A pre-release version MAY be denoted by appending a dash and a series of dot separated identifiers immediately following the patch version. Identifiers MUST be comprised of only ASCII alphanumerics and dash [0-9A-Za-z-]. Pre-release versions satisfy but have a lower precedence than the associated normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92.
A build version MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch version or pre-release version. Identifiers MUST be comprised of only ASCII alphanumerics and dash [0-9A-Za-z-]. Build versions satisfy and have a higher precedence than the associated normal version. Examples: 1.0.0+build.1, 1.3.7+build.11.e0f985a.

This gem is dead, and maintainer unresponsive.  Switching to fork, and renamed release semver2,  https://github.com/haf/semver


Cloud Computing update

Here is Cloud update!
close #57 and #58
Patch Notes:

Now, Travis updates docker container in Docker Hub using @AlejandroCN7 account (here) if tests are passed successfully (It is necessary to check it in main repository).
Cloud build yaml is used to build and update container from this repository.
Documentation of this process has been added.

Note
After Travis execution, tests have been passed and container has been updated correctly here. Thus, travis changes works!


Add a way to run functional test against shipped providers

Fixes #9961
To run them use
 .\build.cmd /p:FunctionalTests_PackageVersion=2.0.0

Or change the line in build\dependencies.props to:
<FunctionalTests_PackageVersion>2.0.0</FunctionalTests_PackageVersion>

Changes look good. Is there a way to annotate the tests which are excluded so that we know what is the additional feature/change we did so that test does not work with 2.0?

We could add some comments if there are any that aren't self-evident.


Fix exception exiting "more topics" after losing access to a stream

The stream_list.build_stream_list() function is responsible for rendering the stream list in the left sidebar. Previously, it uses topic_list.clear() to clear the active_widgets that tracks active stream(s) in the left sidebar. This led to a bug where rendering stream list after adding or removing a stream through build_stream_list() while a stream was zoomed in ("more topics" clicked) didn't fully exit the "more topics" view. So clicking "BACK TO STREAMS" throws an exception with the message "Error: Unexpected number of topic lists to zoom out" because active_widgets, cleared by topic_list.clear(), became inaccessible.
To address this issue, instead of clearing the topics list with topic_list.clear(), the code now ensures the closure of the zoomed stream by using topic_zoom.clear_topics(). This change ensures a proper exit from the "more topics" view and avoids the exception.
Fixes #25670.

Before
https://github.com/zulip/zulip/assets/87542880/65936a26-9601-4cbf-b201-aee536b541ab

After
https://github.com/zulip/zulip/assets/87542880/c84f5470-ef2e-43fa-881a-8c7c281d026a

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

The code changes look good to me.
But I noticed a couple of things that can probably be improved as a follow-up as they exist in main as well. Like if I am zoomed in to a stream A and I am subscribed to a stream B by anyone else, the zoomed in state is closed since the sidebar is built again.

@timabbott ready for your review.

Reading the code, I was worried that this will break the live-update code path when you're zoomed to a topic and another browser window (or another user!) toggles your subscription to a different stream. That should do a background rerender of the stream list component, but ideally should not lose your place within "more topics".
I guess it sounds like that was already broken with the existing code ... but I think this change makes it harder to fix, since previously I think we were preserving the zoomed flag across that rerender? So I'd prefer we fix that bug as well in this PR.

@timabbott, I have added another commit to prevent zooming out when toggling subscriptions to different streams. Now, it only zooms out when unsubscribing from the active stream.

Screen Recording
https://github.com/zulip/zulip/assets/87542880/fc01961d-ce41-43c8-9af6-fd0fc6fa0d4e

This looks great, merged, thanks @HemantUmre12!


Fedoraware Self DDOS

Sep 1 2022
Config used:
Doesnt Matter it ALWAYS HAPPENS
Description:
Self DDOS After Picking a Class
Steps to reproduce:

[ ] I am able to consistently reproduce this error
join casual pick class
Steps to reproduce the behavior:
join casual
pick team
pick class.

Enable X
Do Y
Notice Z

Additional context
Video:https://cdn.discordapp.com/attachments/937420218672771115/1015808364837617704/Team_Fortress_2_2022.09.04_-_<IP_ADDRESS>.mp4

can't reproduce.


UAT Bug | List of Documents Required

List of documents required for Case and File downloaded are different

1725956196893TXHStLfHUS.pdf

hi @rajeshcherukumalli this issue is fixed. please test this in UAT.

@Ramu-kandimalla

Env._UAT
url: https://dristi-kerala-uat.pucar.org/digit-ui/citizen/dristi/home/file-case

for old user_List of documents required for Case and File downloaded are different

reference link for old user : https://jam.dev/c/2efe675b-38d0-4aff-af90-b6fdd45b5fc3

for new user_List of documents required for Case and File downloaded are same

reference link for new user : https://jam.dev/c/d2d517aa-ed27-4e02-9a6d-e6f97d50f712

Verified


Added two scripts for converting text to handwriting using the command line

One script converts a hard coded line of text to handwriting. Another takes a text file as input and converts all the lines to handwriting, each line being separated by a new-line character. Selenium web automation is used to achieve this. Furthermore, the chrome browser used has been made hidden, i.e., the script runs the tasks in the background, and hence gives the illusion of a feel of using the command line to get the desired result. Further improvements to the script are welcome, as only a few of the options have been scripted.

Bhai you the true CLI guy🙏

This is amazing @Ak-Shaw. It is a pretty cool way to do text-to-handwriting. I will give this a try this week.
However, I think it is better to have it as a separate tool so maybe you can keep it in the fork since it won't be possible to explain and maintain it in this same repository.
But it is pretty cool and I'll definitely check it out and maybe contribute some day. Thanks for making it :D

@saurabhdaware should I then put this tool in a different repository of my own? I'll obviously give credits to your repository and your web app. I really think that people can make use of it.

yes yes that totally makes sense!

https://github.com/Ak-Shaw/text-to-handwriting-script


Move API to v3

Which at_widget package you want to add enhancement?
at_onboarding_flutter
On what platforms do you want to add enhancement?
Android, iOS, Windows, MacOS, Linux
Is your feature request related to a problem?
At present, the onboarding widget communicates with the registrar API using V2 APIs. Upgrade to utilize V3 APIs.

Created a issue in at_libraries and closing this : https://github.com/atsign-foundation/at_libraries/issues/467


Make isExpensiveLoadOrStore consider blocked pointers load and stores

The isExpensiveLoadOrStore function (third_party/intel/lib/TritonIntelGPUTransforms/Utility.cpp) fails to consider block pointers and consequently always returns false  for loads (and stores) operations that use a block pointer.
In turn, this causes  the RemoveLayoutConversion pass to never consider loads using block pointers as anchor operations.
This PR changes isExpensiveLoadOrStore so that block pointer loads can be properly recognized. The RemoveLayourConversion pass is then able to consider those loads as anchor operations and preserve their layout.
Because RemoveLayoutConversion is invoked at several points in the optimization pipeline, the change in  third_party/intel/lib/TritonIntelGPUTransforms/Utility.cpp alone causes performance degradation in a couple of GEMM like benchmarks, specifically when operand A  of tl.dot is transposed and when the input of tl.dot is first fed into an exponential.
These 2 performance degradation have ben fixed by an enhancing the MaterializeBlockPointer and MatmulLoopPipeline optimizations, so that they can retrieve the dot layout of block pointer loads transitively from its users (in those benchmarks the blocked layout of block ptrs loads is transitively converted to a dot layout).

@chengjunlu can you do a code review please ?

@chengjunlu can you do a code review please ?

LGTM.


Just saw that my version was outdated, installed directly via Kali Repo to v1.3.1, problem is still occuring.

Hi buddy,
Recursion argument don't need the true value
Example of valid argument:
-recursion -recursion-depth 2

Happy hacking


error of too many arguments

hi
when I run the code  it shows
"./handlers.user.go:31:14: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)
./handlers.user.go:58:13: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)
./handlers.user.go:80:14: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)"
could you help sove it ?

Remove http.SameSite from arguments. the code works well without the option.

Remove http.SameSite from arguments. the code works well without the option.

same site only worked in go 1.11 ，remove this option word well as well

Remove http.SameSite from arguments. the code works well without the option.

Thank you! this helped to fix the issue.


add sklearn to ironbank

Status
Ready/In Progress/In Hold (Reason for hold)
Related Content Pull Request
Related PR: link to the PR at demisto/content
Related Issues
Related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/sklearn:<IP_ADDRESS>644
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/sklearn/tags
Get started by pulling the image:
docker pull devdemisto/sklearn:<IP_ADDRESS>644

Docker Metadata

Image Size: 279.20 MB

Image ID: sha256:c659d01c65ed6704f43a292f6193db157421f4f0666b5689636efe2fadc47a7a

Created: 2022-01-02T18:00:40.12680241Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.8.6
PYTHON_PIP_VERSION=20.2.3
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/fa7dc83944936bf09a0e4cb5d5ec852c0d256599/get-pip.py
PYTHON_GET_PIP_SHA256=6e0bb0a2c2533361d7f297ed547237caf1b7507f197835974c0dd7eba998c53c
DOCKER_IMAGE=devdemisto/sklearn:<IP_ADDRESS>644
NLTK_DATA=/ml/nltk_data

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:ed62cacd7d93c42e705f07e1202ebba19935f230
org.opencontainers.image.version:<IP_ADDRESS>644

sklearn: https://repo1.dso.mil/dsop/opensource/palo-alto-networks/demisto/sklearn/-/pipelines/630295


Added settings option [includedData] to ConfigurationExtensions.

This will allow passing included data through appsettings.json in a string format "flag, anotherflag"
fixes #132

There's a newline expected at the end but not produced. Not sure where to change this as the *.approved.txt file doesn't seem to have a newline at the end.
Could it be unix vs windows file endings as I didn't add any newlines?

I think your editor will be adding the trailing newline automatically. We should probably update the tests to trim this off anyway. I've merged in the latest dev and (hopefully) fixed this. Thanks for the PR!


Update init.py

I did Issue#164. Removed RuntimeError and created a custom error called ZulipError. Also, used some more descriptive errors.

@showell  Please review the latest commit.

@Shivamgera your commit message body now contains a lot of redundant text. Can you remove it? Additionally,  add dots (.) at the end of each sentence.

@roberthoenig I've updated the commit message.

@roberthoenig Done. You're welcome :)

@showell I think this is ready.

@timabbott Can you give this a quick look?  I think it's what we're looking for, but I just want to double check since this affects the core API.

lgtm, merged after cleaning up the commit message.  Thanks @Shivamgera and @roberthoenig for all the work reviewing this!


Agree charter for the pq-code-package project

We need to draft, review & agree a charter for the pq-code-package project.
The Linux Foundation will help create the initial draft.
See also #1 for gathering early draft reviews

@planetf1 Yes, can you also give me code repositories you want to include that I can point to?  Thanks!

We can use the current list, but can you just clarify the context? And what info you need?
This is for the pq-code-package project. We have the following crypto implementation repositories (though not all are populated yet)
These have active code:

mlkem-c-embedded
mlkem-c-aarch64

These are setup, have been discussed, and have PRs outstanding to merge implementations in (I'm chasing)

mlkem-c-generic
mlkem-libjade

These only have template code, no contributions yet :-(

mlkem-rust-libcrux

We also have a few utility repos:

tsc (for tracking, processes)
documentation (technical & process docs - currently a skeleton)
pq-code-package-hackathon (to support hackathons)
template-code (for setting up new repos)
.github (simple bootstrap docs)

Thanks, that's really useful!  I'm just trying to get more info for the formation team so that they can get an accurate scope of the project.

We already have a charter, it seems:  https://github.com/pq-code-package/tsc/blob/main/charter/charter-2024-01-29.pdf. Thanks to the formation team for pointing this out.

Thanks. We'll take this as the active charter, and any issues/queries will put through the defined process. Thanks for confirming - I should have noticed it!


Locking Unspent Balances Does Not Save

System Details:

Operating System: Windows 10 Home Version 1903 (OS Build 18362.356) 64-bit
Lucent Version: v<IP_ADDRESS>-ca48f28 (32-bit) [QT]

Steps to Reproduce:

Launch Lucent Core and wait for it to sync with the blockchain.
Go to "Send" and click "Inputs"
Lock/Unlock any transaction and remember which transaction you "modified."
Exit out of the Inputs menu.

Relaunch Lucent Core and wait for it to sync once again.
Go to "Send" and click "Inputs" and it will NOT display what you chose to lock/unlock.

Details:
I'm not too sure if this is intentional or not, but I've noticed this. If you manually lock/unlock inputs from your wallet, it will not save the next time it is open after shutting down Lucent Core. For example, I'm trying to prevent spending the input for my masternode collateral, but the wallet does not lock it by default. FYI, the masternode runs on a Raspbian (Debian) system, but both wallets have access to the private keys for the masternode address so I'm able to view the balance easily.

https://github.com/LucentCoin/Lucent/blob/36db427e40feeb47dde336acdc86edbe1243f129/src/wallet/rpcwallet.cpp#L2214 states that they're saved in memory. Will open another issue as a feature request.


PPPoE vnstat after reboot stats from wrong interface

Hello devs,
Describe the bug
I have PPPoE as WAN. In vnstat, the listening interface is selected as the "WAN" interface.
If I do an opnsense 19.1.4 reboot, vnstat starts to collect stats for the underlying igb0 interface, instead of pppoe0. Because on the raw igb0 there is not much happening, the stats are missing  even after days of uptime.
To Reproduce
Steps to reproduce the behavior:

Reboot opnsense
PPPOE session takes some time to establish
Goto services\vnstat
Under hourly/daily/etc stats, it says not enough data for igb0 (the physical NIC for the pppoe connection)
if I click Reset under services\vnstat, it correctly updates the interface to pppoe0, and after a couple of minutes, stats are generated correctly.

Expected behavior
vnstat should recognize that the pseudo pppoe0 is the correct device name for collecting WAN stats, not the igb0 physical NIC
Additional context
It was working correctly before 19.1.3
Environment
OPNsense 19.1.4 (amd64, OpenSSL).
Internet: PPPOE WAN
Network: igb0 for WAN, igb1+igb2 (in L2 bridge) for LAN

There were no real changes the last time. Perhaps your PPPOE take to long to come up?
@fichtner Would a interface lock help here?

Nope, locking won't ensure the device will be there. When services are started the whole interface configuration is done. It looks like PPPoE went down or never came up, but it is impossible to guard against that from service side.

Just wanted to give a headsup that it is still working wrong even on 19.7.x

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

Is there any chance, this gets fixed? Its not a very showstopper feature for me, but have to remember every time I have to reboot the router to go into vnstat and reset the db manually, otherwise I lose the traffic stats counter as long as the reset has not been done.


unfork scalatags

fyi @larsrh @lihaoyi

test run: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/892/consoleFull (404 til Jenkins finishes his pedicure and facial peel)


Setting leftSide to false still results in sliding the side menu from the left side

Although the pan gesture works from right-side, the animation starts from the left-side.

Well, it turns out I need to set SideMenuManager.menuRightNavigationController to the side menu controller.


[BUG] cdt.causality.graph.PC, using PC with most of the allowed values for CITest argument breaks

Describe the bug
Running the PC algorithm with CITest='gaussian' works. However, the code crashes when using CITest='hsic_gamma'. The exact same problem occurs when using CITest='hsic_perm', CITest='rcit', CITest='rcot', or CITest='hsic_clust'. I did not try options 'binary' and 'discrete', as it would not make sense considering the data I use (continuous data).
Please find below the details.
My configuration

cdt package version cdt==0.5.23
Python version 3.7.10
PyTorch install torch==1.8.1, torchaudio==0.8.1, torchvision==0.9.1

Detailed hardware and distribution :
System:

Kernel: 5.8.0-48-generic x86_64
bits: 64
Desktop: Gnome 3.36.7
Distro: Ubuntu 20.04.2 LTS (Focal Fossa)

CPU:

Topology: 6-Core model: Intel Core i7-8700K
bits: 64

Graphics:

Device-1: NVIDIA GP104BM [GeForce GTX 1070 Mobile]

Data I use
I am using a toy dataset generated from a structural causal model, 'test_samples.csv', enclosed
test_samples.csv.
For full details on the structural causal model used, it is defined as:

X_0 := U_0
X_1 := U_1
X_2 := U_2
X_3 := 2 * X_0 + 3 * X_1 + U_3
X_4 := 4 * X_1 + U_4
X_5 := 5 * X_4 + 7 * X_6 + U_5
X_6 := 6 * X_2 + U_6,

where the U_i 's are the independent exogenous variables.
The exact same problem occurs if I use the dataset 'sachs' from the cdt package, for instance.
Traceback
/home/blackswan/.pyenv/versions/venv_cdt_py3-7/bin/python /home/blackswan/pythonprojects/causality/cdt_test.py
Detecting 1 CUDA device(s).

R Python Error Output
-----------------------

[Errno 2] No such file or directory: '/tmp/cdt_pc_7bd64676-0b9d-46ad-be3d-f0db66f0eb73/result.csv'
Traceback (most recent call last):
  File "/home/blackswan/pythonprojects/causality/cdt_test.py", line 24, in <module>
    output2 = pc2.predict(data)
  File "/home/blackswan/.pyenv/versions/venv_cdt_py3-7/lib/python3.7/site-packages/cdt/causality/graph/model.py", line 63, in predict
    return self.create_graph_from_data(df_data, **kwargs)
  File "/home/blackswan/.pyenv/versions/venv_cdt_py3-7/lib/python3.7/site-packages/cdt/causality/graph/PC.py", line 278, in create_graph_from_data
    results = self._run_pc(data, verbose=self.verbose)
  File "/home/blackswan/.pyenv/versions/venv_cdt_py3-7/lib/python3.7/site-packages/cdt/causality/graph/PC.py", line 315, in _run_pc
    raise e
  File "/home/blackswan/.pyenv/versions/venv_cdt_py3-7/lib/python3.7/site-packages/cdt/causality/graph/PC.py", line 311, in _run_pc
    self.arguments, output_function=retrieve_result, verbose=verbose)
  File "/home/blackswan/.pyenv/versions/venv_cdt_py3-7/lib/python3.7/site-packages/cdt/utils/R.py", line 221, in launch_R_script
    raise RuntimeError("RProcessError \nR Process Error Output \n-----------------------\n" + str(err, "ISO-8859-1")) from None
RuntimeError: RProcessError
R Process Error Output
-----------------------
Loading required package: momentchi2
Loading required package: MASS
Error in skeleton(suffStat, indepTest, alpha, labels = labels, method = skel.method,  :
  Evaluation error: missing value where TRUE/FALSE needed.
Calls: runPC -> <Anonymous> -> skeleton
Execution halted

Process finished with exit code 1

Code snippet

import networkx as nx
import pandas as pd
import matplotlib.pyplot as plt

import cdt

if __name__ == '__main__':

    cdt.SETTINGS.rpath = '/usr/bin/Rscript'

    data = pd.read_csv('test_samples.csv')

    # Works
    pc1 = cdt.causality.graph.PC(CItest='gaussian')
    output1 = pc1.predict(data)
    nx.draw_networkx(output1)
    plt.show()

    # Doesn't work
    pc2 = cdt.causality.graph.PC(CItest='hsic_gamma')
    output2 = pc2.predict(data)
    nx.draw_networkx(output2)
    plt.show()

Running with 'CItest='gaussian' works and a graph is produced, enclosed .
Running with 'hsic_gamma' produces the error trace shown above.

@Diviyan-Kalainathan Any updates? Faced this problem working with another dataset, the situation is exactly the same.


Frontend graph tool

Use a frontend graphing library for improved navigation

https://www.createwithdata.com/chartjs-and-csv/


Miss the 'Access Tier' related properties in the 'Properties' dialog of one ADLS Gen2 blob

Storage Explorer Version: 1.17.0
Build Number: 20210219.1
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release(1.17.0)
Steps to Reproduce

Expand one ADLS Gen2 account -> Blob Containers.
Create a blob container -> Upload one blob to it.
Right click the blob -> Click 'Properties...'.
Observe the all properties -> Check whether the 'Access Tier' related properties show well or not.

Expected Experience
The 'Access Tier' related properties show well.

Actual Experience
Miss the 'Access Tier' related properties.
Additional Context
This issue doesn't reproduce for one regular blob.

Verified on build 20210223.1. This issue has been fixed. So we close it.


Bug in distinct_id_is_required?

I think distinct_id_is_required has a bug but I'm not 100% sure.  This https://github.com/niteoweb/pyramid_mixpanel/blob/master/pyramid_mixpanel/track.py#L30 should be if not self.user.distinct_id: because self is pyramid_mixpanel.track.MixpanelTrack object.
Screenshot:

MixpanelTrack.user was removed a while ago and replaced by MixpanelTrack.distinct_id: https://github.com/niteoweb/pyramid_mixpanel/commit/a04a56bddb5fd5df4a6683b78eb13902f8e3a447


When placing a Tile, the default Rotation when clicking is Clockwise. Add Shift-Click to rotate Counter-Clockwise

When placing a Tile, the default Rotation when clicking is Clockwise. Add Shift-Click to rotate Counter-Clockwise

Fixed, and Tested. Should work properly


[BUG] ValueError: invalid literal for int() with base 16: 'rk'

Next one, same venv, I wanted to try the sample dataset with the terminal command mne-qt-browser.
This time, I'm getting this traceback:
Using pyopengl with version 3.1.5
C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py:732: DeprecationWarning: Parsing of hex strings that do not start with '#' isdeprecated and support will be removed in 0.13
  color = mkColor(self.mne.ch_color_dict[ch_type])
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\Scripts\mne-qt-browser.exe\__main__.py", line 7, in <module>
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\__main__.py", line 22, in main
    raw.plot(block=True)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne\io\base.py", line 1528, in plot
    return plot_raw(self, events, duration, start, n_channels, bgcolor,
  File "<decorator-gen-174>", line 24, in plot_raw
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne\viz\raw.py", line 367, in plot_raw
    fig = _get_browser(**params)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne\viz\_figure.py", line 613, in _get_browser
    browser = backend._init_browser(**kwargs)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py", line 3722, in _init_browser
    browser = PyQtGraphBrowser(**kwargs)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py", line 2184, in __init__
    overview_bar = OverviewBar(self)
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py", line 497, in __init__
    self.set_background()
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py", line 732, in set_background
    color = mkColor(self.mne.ch_color_dict[ch_type])
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\pyqtgraph\functions.py", line 289, in mkColor
    g = int(c[2:4], 16)
ValueError: invalid literal for int() with base 16: 'rk'
Traceback (most recent call last):
  File "C:\Users\Mathieu\Documents\pyvenv\neurotin\lib\site-packages\mne_qt_browser\_pg_figure.py", line 1995, in run
    self.sigs.loadProgress.emit(n + 1)
RuntimeError: wrapped C/C++ object of type LoadRunnerSignals has been deleted

On another hand, the same command is working in my venv with mne installed in dev mode from the GitHub repository.. Obviously, both venv differs in several ways. In the one failing, I have another library installed that uses pyqtgraph as a dependency, so it was not updated when I installed the browser. The working venv is running 0.12.3 and the failing venv is running 0.12.2.

The min for mne-qt-browser is 0.12.3, can you open a PR to update https://github.com/mne-tools/mne-qt-browser/blob/main/setup.py ? I've already added this req to the conda-forge recipe

I suspect this is a dup of https://github.com/mne-tools/mne-qt-browser/issues/13

Ok, I didn't have time to check more yesterday; but that was my guess too.
Updating to 0.12.3 fixes both issues. I will add the requirement to setup.py.


Introduce roles_claim_path

Introduce new roles_claim_path parameter and
add missing roles_claim_name description.
Continue from https://github.com/apache/couchdb-documentation/pull/737

Fix #4215.

Merging this now, getting no further responses or vetos from the dev mailing list.


CI Trial

Trial PR to verify if PR can trigger on the right jobs

@azuresdkci test this please

@azuresdkci test this please

Closing as the Jenkins issue has been resolved.


Improve MD5 list system

That also changes the way MD5s have to be stored

You will need to built more complex MD5 list system anyway. Because current md5 list is a too much simple, it works for little md5 amount in the list, but with big amount of MD5 in the list  it will be very bad and slow.
I mean that you need to make MD5 list as DataBase file with diffetent lists in it, according to first md5 character. So it will be 16 lists inside[0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F], so when you get new md5, you can use it's 1 char to search only in list of MD5 which started with this char. So it will make MD5 comparing almost 1600% faster and use in 16 times less memory for it. If list fo one of first chars became too big, then auto separate it to new 16 sublists according to second char... etc.
But that's for global MD5 list. Looks like separate suggestion)

Indeed, and a very good one for people having big MD5 lists (good memory-wise, given the current structure is already O(1) fast, being an hash map). Note that a the "database" you're suggesting is called a trie, a structure used for example to give suggestions in phone books or dictionaries.

What you're suggesting (as I said) is a trie.
In our case, it's not necessary to use a trie over a hashmap:

It has an equivalent memory footprint, and O(1) complexity lookup.
Actually, I thought what Grabber used was a hash map but it turns out after double-checking that it uses a red-black tree, which is much slower. Quite the critical issue here, given adding an entry or looking up the existence of a key in a red-black tree is much slower than in a hash map for big collections:

So I'll fix this by replacing the current red-black tree-based map (QMap) by a hash map (QHash).


wip: hardcode known stale accounts at Eden

Superseded by https://github.com/oasisprotocol/nexus/pull/654


Release azure cosmos encryption 2.0.0

Release azure cosmos encryption 2.0.0

API change check
API changes are not detected in this pull request.


docs: spelling fix (fixes #1893)

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Fixed typo mentioned on #1893
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Thank you so much for the PR!


DBZ-4654 Oracle DDL parser failure & relax SnapshotType case sensitivity

https://issues.redhat.com/browse/DBZ-4654

@Naros, in the commit message, could you reference https://issues.redhat.com/browse/DBZ-4648 for the casing issue? It got reported there two. And then update the title of DBZ-4654 to be focussed on the parsing issue. Thx!

Updated the case-sensitivity commit message issue key to DBZ-4648 & the Jira issue title for DBZ-4654.

Thx for splitting this up, this LGTM now. Agreed re the test failure, seems like a network glitch maybe. No need to react to it right now IMO. Will merge.

@Naros, doh, sorry, realizing now I've merged that to upstream/1.8 instead of the candidate branch :/


Automated dataset report tool

We need a tool to give an overview of the properties of a tagged dataset.
The dolma toolkit has a tool to generate histograms of the tagged dataset, but it's currently broken https://github.com/allenai/dolma/issues/70.
I will try to fix the tool and see how we can use it for plotting.

After running dolma stat --attributes "mC4_da_micro/attributes/testtest/*.json.gz" --bins 1000 --processes 12 --report mC4_da_micro_report
Run the following script to turn all the histograms into png
python script.py mC4_da_micro_report/summaries.jsonl.gz
from dolma.core.analyzer import SummarySpec
import matplotlib.pyplot as plt
import msgspec
from pathlib import Path
import smart_open
import sys

def main():
    decoder = msgspec.json.Decoder(SummarySpec)
    path = Path(sys.argv[1])

    with smart_open.open(path) as f:
        for ln in f:
            try:
                row = decoder.decode(ln)
            except Exception as e:
                raise DolmaError(
                    f"Failed to decode line {ln} in {source_path}; "
                    f"are you sure {source_path} is an attributes file?"
                ) from e
            name = row.name
            bins = row.bins
            counts = row.counts

            fig, ax = plt.subplots(1, 1)
            ax.stairs(counts, bins)
            ax.set_title(name)
            fig.savefig(name.replace("/","+") + ".png", bbox_inches="tight")

if __name__ == "__main__":
    main()


YARN-11312: [UI2] Refresh buttons don't work after EmberJS upgrade

Change-Id: Iccb1435da8f14a868a4cd69036eb9320e9bef726

Description of PR
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 11s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
jshint
0m  0s

jshint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ branch-3.3 Compile Tests _

+1 :green_heart:
mvninstall
36m 29s

branch-3.3 passed

+1 :green_heart:
shadedclient
59m 46s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shadedclient
22m 49s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

87m 46s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5654/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5654

Optional Tests
dupname asflicense shadedclient codespell detsecrets jshint

uname
Linux c2946cd20a47 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / eea320621d81320fbb89fffb879dc85a7195c23d

Max. process+thread count
551 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5654/1/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


feat: bump to relase minor version

the ip allow list commit should have had a "feat" type

:tada: This PR is included in version 1.26.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Obstacle's generation

Looking at the latest results in the leaderboard if an agent passes 3 quite regularly place spheres he can move further quit easily not meeting new obstacles anymore. May be it makes sense to generate obstacles on the whole way forward and in not so regular way they are currently generated? And difficulty 2 should have not only 3 obstacles in total, but rather 3 obstacles in average should be generated per some distance, 10 meters for example.
Also the distance the difficulty can be made to increase with the distance, for example maximum possible size of the spheres generated can increase a bit every 10 meters. It's an optional point, but make obstacles to be generated on the whole road is quite important.

That's definitely a good point. The problem, for now, is that there is a performance issue when obstacles are regenerated.
    env = RunEnv(max_obstacles = 20)

Due to the current structure of the physics model (not optimized for changes in the model during simulations), obstacles have to be regenerated each time and it takes long. You can notice that after calling reset() multiple times.
Therefore we compromised a number of obstacles. We might reconsider this for the second round if there are no objections from the qualified participants. Of course, in that case, we will provide the environment in advance.

We prepared difficulty = 3 in the new release candidate https://github.com/stanfordnmbl/osim-rl/tree/ver1.5
This will be further tested and potentially used in the second round (to be determined yet). To enable the new difficulty level, run
env = RunEnv(max_obstacles = 20)
env.reset(difficulty=3)

Being able to see the next obstacle once obstacle.x + obstacle.r < pelvis.x and without spacing between obstacles leads to situations like this:
There is a small obstacle at e.g. 1, with r = 0.1, agent sees it. However, there is a giant second obstacle at x = 1.05. Agent will never see it.
There is no way for agent to differentiate between this unlucky situation and the more fortunate one (without hidden obstacles). This will be probably have even more impact on difficulty 3.
Fix ideas: it could see the next obstacle once obstacle.x < pelvis.x and/or do minimal spacing between obstacles e.g. 0.5 and/or have more observations.

That's exactly how obstacles are generated at difficulty = 3:
https://github.com/stanfordnmbl/osim-rl/blob/ver1.5/osim/env/run.py#L246
minimal distance between obstacles is 0.5

@kidzik I took a look into the code for difficulty at level 3 - looks nice. But seems like obstacles can be placed too regular with maximum distance of 1.5 between them. It can be more interesting and spectacular to have more irregular structure for them. For example to have groups of 2-5 obstacles (random number in that range) placed at distance (0.5, 1.5) from each other as it currently is, but with larger distance between groups - say in range (2.0, 4.0). It allows agents to show not obstacles surpassing but also running the short flat distances too and also to reduce a number of used obstacles from 20 to 15 for example if their generation is quite slow.
And the 2nd suggestion is to make random radius of the generated obstacles slowly grow with their number. For example starting with the current value 0.05 or a bit smaller 0.045 to 0.06.

I also see obstacles inside obstacles. Don't know bad or good. Just pointing it out.
Also is there a possibility of decreasing done condition for the pelvis height before the final release? Decreasing the pelvis height condition from 0.65 might even result in better solutions for 'Learning how to run'

To summarize - you can hit a few goals in the same time - to make level 3 difficulty as much as posible compatible with the cuŕrent env with difficulty 2, if you make the first group of obstacles totally the same - 3 obstacles in range 1-5 with the same r=0.05 and then each next group create with increased r with some step, r=0.052, r=0.054 and so on. And make it more diverce and interesting.
And +1 to the request for decreasing pelvis heght condition a bit, at least to 0.6.

@syllogismos thanks for pointing out! Is this difficulty=3? While this can happen in the old version, it shouldn't be possible in difficulty=3.
Definitely changing many things seem make sense now when we learned a lot about the environment and solutions. However, we will change as little as possible for compatibility reasons. After all, rules are exactly the same for everyone, so the details don't matter so much (other than having more captivating videos...).
We will definitely incorporate many changes in the environment after the challenge.

Its in the old version. Haven't checked out difficulty 3. Not even aware of difficulty level 3 till today.

That's right, many participants who don't follow github issues wouldn't even know about these tweaks, which motivates reducing number of changes to the absolute minimum.
We are preparing difficulty=3 only for the second round of the challenge.

I agree completely that rules are same for everyone regarding the 0.65 height change. And it makes sense to keep the changes very minimal.
I'm only saying it might get better results for the Running challenge and this restriction might hinder better gaits that actually make the humanoid run the farthest.

@kidzik How much time roughly will be given to submit in the second round of the challenge (top 10 finals)?

We don't have the exact protocol yet, but the number of submissions will be reduced to minimum (probably just 1-3 submissions in total). The point is to test generalizability to unseen environments -- we want to avoid overfitting to the new parameters.

Hi @kidzik, are there any updates on the 1.5 release?


Spotty crashing LMS

I've been running spotty on my Squeezebox network for a long time with no problems. Yesterday the LMS would not connect to my players. I tried to restart LMS but it kept stopping. I managed to open it in safe mode.  All other plugins work, including Tidal. As soon as turn Spotty back on the LMS stops.
Any ideas?

Anything in server.log? What OS are you on? And how long did you let the players try to connect before you gave up?

server.log.zip
Windows 7
Tried the whole process about 5 times

There seems to be some networking problem in your environment:
Couldn't resolve IP address for: api.spotify.com
I see many of these warnings. I guess that if you left LMS running for a while, it would recover. But it's super busy trying to authenticate with Spotify and failing. Can you make sure that host name does resolve?

Same problem just repeats. If I unistall Spotty LMS and players are all OK. If I install Spotty LMS shuts down.
server.log (1).zip

I'm sorry, I don't see any sign of failure. You seem to have uninstalled the plugin in the end. How would you do that if you weren't able to start LMS with the plugin installed?

started LMS in safe mode

Are you using some kind of firewall or similar which might block outgoing traffic?

Only AVC
I recently reset my router.
I can't remember if some kind of exemptions need to be in place for LMS or Spotty?

These exemptions are in AVC
c:\programdata\squeezebox\cache\installedplugins\plugins\spotify\bin\mswin32-x86-multi-thread\spotifyd.exe
c:\program files (x86)\squeezebox\server\scanner.exe

spotifyd.exe is from an old Spotify plugin. The Spotty helper is spotty.exe.

so should I delete it?

server.log (2).zip

server.log (2).zip

I closed AVG. Now at least LMS starts and stays open with Spotty installed. But now LMS cannot see any players

Right now you have a networking problem:

[20-04-06 22:38:32.0597] Slim::Networking::Async::connect (114) Failed to connect to www.mysqueezebox.com1:443, because
Net::HTTP: connect: timeout

You might need to not only "close" AVG, but to get rid of it. We've seen that before...

Uninstalled AVG
Restarted
LMS running, connected to players, Spotty working fine
Just worried I have no anti-virus protection now
Thanks Michael

Wow... that's bad. But there's still Windows Defender. Some say that's all you need, and many AV products would add more issues than they protected you from...


chore: add soft token + add subtle button variant

Note: This PR adds a new subtle variant that we will use for suggested prompt buttons in AIChat component.
In the next PR in ee, I'll replace the AssistantSuggestionButton with our button with subtle variant.


Metrics Counter Issue

@jprante  I'm trying to implement metrics counter to get the counter updated at the first run and at the next time, fetch the records greater than the value of counter.
But, unfortunately, this is fetching all the data. Below is the script.
Let me know if im missing anything else.
#!/bin/sh
export ES_HOME=/usr/share/elasticsearch
bin=/opt/es/bin
lib=/opt/es/lib
echo '
{
"type" : "jdbc",
"jdbc" : {
	"metrics" : {
        "counter" : 0
    },
    "url" : "jdbc:mysql://localhost:3306/test",
    "user" : "test",
    "password" : "test",
	"sql" : [
        {
            "statement" : "Select id, name From testsql where id > ?",
            "parameter" : [ "$metrics.counter" ]
        }
    ],
    "index" : "testindex15",
    "type" : "testindex15",
    "elasticsearch" : {
    "cluster" : "es",
    "host" : "localhost",
    "port" : 9300
}

}
}
' | java
-cp "${lib}/*"
-Dlog4j.configurationFile=${bin}/log4j2.xml
org.xbib.tools.Runner
org.xbib.tools.JDBCImporter

@jprante could you let me know a way to overcome this issue.

If you use
"metrics" : {
        "counter" : 0
    },

the counter will always be 0 before each run. I do not assume this is intended. Remove this after first run, and use statefile to save the counter.

@jprante, I have tried to use statefile to save metrics. However, it seems that other than defining the file name of the state file in jdbc block, I need to load the state file before the execution of jdbc importer. I am totally lost here and am wondering if you could provide a brief example to illustrate how to use state files. Please refer to issue #581 for further information.


docs(readme): create js-libp2p architecture diagram

We need to add a js-libp2p architecture diagram to the readme

Closing in favour of https://github.com/libp2p/js-libp2p/issues/2083


cmake build

I followed the build steps to build on my platform. the script will use /bin/cc which on my platform is of version gcc 4.8.5. And the script will complain no .  However I have higher GCC compiler installed under /opt/rh/devtoolset-7/root/bin for example. Is there anyway user can inform cmake to use other C compiler?

you can pass to cmake -DCMAKE_C_COMPILER=/opt/rh/devtoolset-7/root/bin/gcc (your binary ought to be gcc unless you build it program suffix/prefix option :-))

thanks and it works.


EL8 version of epel.repo created as epel.repo.rpmnew

Problem
EL8 version of epel.repo might be created as epel.repo.rpmnew. Leaving EL7 epel.repo active. Causing the process after the first reboot to be unable to install certain packages.
Cause
During the elevate process the file /etc/yum.repos.d/epel.repo will be replaced by the RPM epel-release-8. If the original file epel-release-7 was prevously modified by the admin, the installation of epel-release-8 will create /etc/yum.repos.d/epel.repo.rpmnew. This is expected behaviour with RPM.
Suggestion
I think this should be handled by the script. Maybe have RPM force the file or ignore the modifications (or save them before replacing).

One possible solution could be to force the usage of the new file and save the old one as a .rpmsave file. What do you think?

Yes, that would be preferable.
Maybe inform the user at the end of the run about the replacement via the motd.
something like: "### Please note: We have replaced your epel.repo file with the default for EL8. You can find your old/modified file in <...>"

Hello @abien
I wanted to inform you that I have merged PR #100, which should address the problem we were facing.
Thank you for your assistance in detecting and resolving it.


Add GitHub Action automation for code build

GitHub Action to perform overall tasks for full build and generating a new package version after PR/merges/updates to main branch. (Same as Grant Kit package)

Run code validation and environment setup
Create test Scratch org
Deploy code
Run all unit tests
Run unlocked package version build
validate and clean environment

Feature builds are failing due to the use of External Credentials
We should consider using a protected custom setting.
Component conversion failed:
/tmp/tmpah3kqeel/emailservices/GCAIAPICredential.externalCredential: Could not
infer a metadata type

See attached log details.
logs_4.zip


Integrate pull request preview environments

Is your feature request related to a problem? Please describe.
I would like to support Quickwit by implementing Uffizzi preview environments.
Disclaimer: I work on Uffizzi.
Uffizzi is a Open Source full stack previews engine and our platform is available completely free for Quickwit (and all open source projects). This will provide maintainers with preview environments of every PR in the cloud, which enables faster iterations and reduces time to merge. You can see the open source repos which are currently using Uffizzi over here
Uffizzi is purpose-built for the task of previewing PRs and it integrates with your workflow to deploy preview environments in the background without any manual steps for maintainers or contributors.
I can go ahead and create an Initial PoC for you right away if you think there is value in this proposal.

[ ] Initial PoC

Hi @waveywaves, thanks for your proposal, but we are not interested in it now.


fixed windows 64 bit downloading link.

The windows 64bit link was not working so i edited to include https instead of http. Please merge it with the main branch :)

Muhammed Abdullah --

The windows 64bit link was not working so i edited to include https
instead of http. Please merge it with the main branch :)

Thanks for pointing this out.  Since it was a one-character
change, I made it by editing the file at the repository myself.
Let me know if that does not work.
I am avoiding letting people push modifications up to the
main repository, as it has a lot of messed-up source code
and I do not have a bunch of people working on it with me,
and I do not (yet) have experience running such a project.
So I have not pulled your modified repository up, but
just am making changes myself.
Thanks again
Joe
Joe Felsenstein        @.,   @.
@.***>
Department of Genome Sciences and Department of Biology,
University of Washington, Box 355065, Seattle, WA 98195-5065 USA
PS: please do not use  @.***, which is an alias
that some mail systems now mistake as indicating spam.

Well thanks for a detailed comment but i would love to contribute in this project maybe we can work together, as this is an open source project and many individuals can work on it together let me know if you need any kind of help ...


problem following Huggingface example

Using the following json:
{
    "name": "transformer",
    "implementation": "mlserver_huggingface.HuggingFaceRuntime",
    "parallel_workers": 0,
    "parameters": {
        "extra": {
            "task": "text-generation",
            "pretrained_model": "distilgpt2",
            "optimum_model": true
        }
    }
}

from huggingface example resulted in the following error:
2022-09-04 16:07:24,722 [mlserver] INFO - Using asyncio event-loop policy: uvloop
2022-09-04 16:07:25.588056: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-09-04 16:07:25.588085: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "/home/cc/miniconda3/envs/central/bin/mlserver", line 8, in <module>
    sys.exit(main())
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/cli/main.py", line 79, in main
    root()
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/cli/main.py", line 20, in wrapper
    return asyncio.run(f(*args, **kwargs))
  File "/home/cc/miniconda3/envs/central/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/cli/main.py", line 41, in start
    settings, models_settings = await load_settings(folder)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/cli/serve.py", line 36, in load_settings
    models_settings = await repository.list()
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/repository.py", line 32, in list
    model_settings = self._load_model_settings(model_settings_path)
  File "/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/mlserver/repository.py", line 45, in _load_model_settings
    model_settings = ModelSettings.parse_file(model_settings_path)
  File "pydantic/main.py", line 564, in pydantic.main.BaseModel.parse_file
  File "pydantic/main.py", line 521, in pydantic.main.BaseModel.parse_obj
  File "pydantic/env_settings.py", line 38, in pydantic.env_settings.BaseSettings.__init__
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for ModelSettings
implementation
  ensure this value contains valid import path or valid callable: cannot import name 'deepspeed_reinit' from 'transformers.deepspeed' (/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/transformers/deepspeed.py) (type=type_error.pyobject; error_message=cannot import name 'deepspeed_reinit' from 'transformers.deepspeed' (/home/cc/miniconda3/envs/central/lib/python3.8/site-packages/transformers/deepspeed.py))

I couldn't follow what is wrong with the pydantic validation. I copy pasted from the readme notebook.
Installed packages:
pip freeze | grep mlser
mlserver==1.1.0
mlserver-huggingface==1.1.0

Hey @saeid93 ,
This has been fixed in master already (see #668 ), but not released yet.
You can use the latest dev release instead though, 1.2.0.dev6.

@adriangonz  I met the same problem and change the image to 1.2.0.dev6, then I met liveness probe issue as below
Events:
  Type     Reason     Age                 From               Message
  ----     ------     ----                ----               -------
  Normal   Scheduled  3m9s                default-scheduler  Successfully assigned seldon/gds-default-0-transformer-868bc94ff5-4t7bx to seldon-aitest-node4-t4
  Normal   Pulled     3m7s                kubelet            Successfully pulled image "dockerhub.paypalcorp.com/yalqin/init-container:0.3" in 127.477806ms
  Normal   Pulling    3m7s                kubelet            Pulling image "dockerhub.paypalcorp.com/yalqin/init-container:0.3"
  Normal   Created    3m6s                kubelet            Created container model-initializer
  Normal   Started    3m6s                kubelet            Started container model-initializer
  Normal   Created    2m21s               kubelet            Created container seldon-container-engine
  Normal   Pulled     2m21s               kubelet            Container image "seldon.io/mlserver:1.2.0.dev6-huggingface" already present on machine
  Normal   Created    2m21s               kubelet            Created container transformer
  Normal   Pulled     2m21s               kubelet            Container image "seldon.io/seldon-core-executor:1.14.0" already present on machine
  Normal   Started    2m21s               kubelet            Started container transformer
  Normal   Started    2m20s               kubelet            Started container seldon-container-engine
  Warning  Unhealthy  84s (x4 over 2m)    kubelet            Readiness probe failed: HTTP probe failed with statuscode: 400
  Warning  Unhealthy  69s (x7 over 104s)  kubelet            Readiness probe failed: Get "http://<IP_ADDRESS>:9000/v2/health/ready": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
  Warning  Unhealthy  69s (x3 over 79s)   kubelet            Liveness probe failed: Get "http://<IP_ADDRESS>:9000/v2/health/live": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
  Normal   Killing    69s                 kubelet            Container transformer failed liveness probe, will be restarted

I did tested the huggingface prepackage server one or two months ago with mlserver:1.1.0-huggingface image. At that time, everything went smoothly with my own transformer models.

Hey @yaliqin,
This may be an unrelated issue to the depspeed one. Could you share the logs from your model container?

Hi @adriangonz , the pod status is as
(base) yalqin@seldon-aitest-node1:~/seldon-models/test-huggingface$ kgp |grep gds gds-default-0-transformer-7cd4c6d59f-svmxl                        1/2     Running                 1654       4d18h
The logs of model container is
(base) yalqin@seldon-aitest-node1:~/seldon-models/test-huggingface$ kl gds-default-0-transformer-7cd4c6d59f-svmxl transformer Environment tarball not found at '/mnt/models/environment.tar.gz' Environment not found at './environment' Dotenv file not found at './.env' 2022-09-26 16:05:17,611 [mlserver] INFO - Using asyncio event-loop policy: uvloop INFO:     Started server process [1] INFO:     Waiting for application startup. 2022-09-26 16:05:19,286 [mlserver.metrics] INFO - Metrics server running on http://<IP_ADDRESS>:6000 2022-09-26 16:05:19,286 [mlserver.metrics] INFO - Prometheus scraping endpoint can be accessed on http://<IP_ADDRESS>:6000/prometheus INFO:     Started server process [1] INFO:     Waiting for application startup. INFO:     Application startup complete. 2022-09-26 16:05:19,290 [mlserver.grpc] INFO - gRPC server running on http://<IP_ADDRESS>:9500 INFO:     Application startup complete. INFO:     Uvicorn running on http://<IP_ADDRESS>:9100 (Press CTRL+C to quit) INFO:     Uvicorn running on http://<IP_ADDRESS>:6000 (Press CTRL+C to quit) INFO:     <IP_ADDRESS>:33466 - "GET /v2/health/ready HTTP/1.1" 400 Bad Request INFO:     <IP_ADDRESS>:33468 - "GET /v2/health/ready HTTP/1.1" 400 Bad Request INFO:     <IP_ADDRESS>:33470 - "GET /v2/health/ready HTTP/1.1" 400 Bad Request
The log of seldon-container-engine container is
{"level":"error","ts":1664208504.7109072,"logger":"SeldonRestApi","msg":"Ready check failed","error":"dial tcp <IP_ADDRESS>:9100: connect: connection refused","stacktrace":"net/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/seldonio/seldon-core/executor/api/rest.handleCORSRequests.func1\n\t/workspace/api/rest/middlewares.go:64\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/gorilla/mux.CORSMethodMiddleware.func1.1\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/middleware.go:51\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/seldonio/seldon-core/executor/api/rest.xssMiddleware.func1\n\t/workspace/api/rest/middlewares.go:87\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/seldonio/seldon-core/executor/api/rest.(*CloudeventHeaderMiddleware).Middleware.func1\n\t/workspace/api/rest/middlewares.go:47\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/seldonio/seldon-core/executor/api/rest.puidHeader.func1\n\t/workspace/api/rest/middlewares.go:79\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2047\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2879\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1930"}

Hey @yaliqin ,
Thanks for sharing those.
Unfortunately, I can't see any reference there to the depspeed error. I can see that the health endpoints are failing, but this is to be expected while the model is getting loaded.
Does it eventually load?

Hi @adriangonz ,
Thanks for the response. I changed the setting of the liveness probes and it worked! Thank you very much.

That's great @yaliqin! :rocket:
Thanks a lot for the update! I'm glad you managed to sort it out.


NIFI-1959 Added length and timestamp to detect rollover

It improves robustness of the processor in case the property “Rolling filename pattern” is not set and the tailed file is moved for some reasons.

It remains an issue I have not been able to solve at this point: the case where the new file contains more data than the tailed file before being moved. In this case we ends up in the same situation: the new data in not ingested and the processor is not yielded. This situation should not happen really often... but still... if someone has an idea.
To reproduce: tail on /tmp/test.log
echo "test" >> /tmp/test.log
rm /tmp/test.log
echo "testtest" >> /tmp/test.log
In this case, both timestamp and size cannot be used to detect a pseudo-rollover and we are stuck with the previous state and reader. Not sure to see an easy solution.

Hey @pvillard31, I'm gonna start reviewing this. I noticed this was initially committed back in June, sorry no one has reviewed this yet but could you rebase? I know there are no conflicts but a lot has happened on the master branch in last month that could have an impact.

@pvillard31 I think you should be able to leverage the checksum in order to check if the file that is there is the one that was previously read. Maybe convert the logic found here into it's own function and reuse it. This might need to be a configurable property though (not sure about the performance implications, esp for an extreme corner case).

Closing - implemented with #980


Support linebreaks, image and youtube embeds

R = @kesla
T = minor

@iefserge first round of review done :)

@kesla updated

travis complains - rest LGTM!


chore: Fixed doc link

Description

Fixed document link for karpenter irsa.

Motivation and Context

Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

Thanks for the PR! This may be changing rather soon so lets hold off a bit:

https://github.com/aws/karpenter/pull/1332
https://github.com/aws/karpenter/issues/1574

This PR is included in version 18.20.2 :tada:


added comment to be more specific

added requirement of having custom function in allowed actions in redirection to it

Yes, so it looks like these docs are wrong and it should be $this->redirect($this->Link('action'));
I'm not certain that we need this clarification you've added (adding actions to allowed_actions so that they can be accessed via the browser is just standard-operating-procedure and if every time our docs mentioned these actions we also caveated the requirement for them to be whitelisted, we'd be adding it in a log of places - plus then where do we stop cross-referencing other actions that a developer needs to make for certain features to work?)


Quartz Infusion on Raider does not give Phasing when you have Onslaught

See title. The mod is blue so should be implemented?

It should, if I hadn't buggered up said implementation. It's fixed in the next update.


[NEW]: FTX walked away from a deal with Celsius after seeing state of its finances: sources

Date
2022-06-30
Description
FTX was interested in making a deal with Celsius but walked away because of the state of its finances, two sources told The Block.
Celsius had a $2 billion hole in its balance sheet, one source said.
Links
https://www.theblock.co/post/155069/ftx-walked-away-from-celsius-deal
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Patrick Wood
Personal link
No response

Waiting on this one to see if more sources verify. So far everything is only sourced to anonymous sources to The Block.


Fix: Partial fix to issue #40

This only addresses the partial root cause where a provided file is inaccessible among a set of otherwise successful files.

/azp run PowerShell.Microsoft.PowerShell.Archive


Server applications module is needed for QEMU guest agent

What does this PR change?
This PR aligns SLES 15 SP0 and SLES 15 SP2 in terms of repositories

LGTM.
Just be sure the content is populated into our internal mirrors before merging it please.

Ah, right.

It looks good mirror-wise both in Nuremberg and in Provo:
minima-mirror:/srv/mirror/SUSE/Products/SLE-Module-Server-Applications # ls * -d
15  15-SP1  15-SP2

Merging.


Is it possible to run fzf in a floating window?

yazi --debug output
Not relevant.

Please describe the problem you're trying to solve
Is it possible to run fzf in a floating window, like fzf plugin in vim?

The floating window is more convenient for typing queries for fzf by referring to the information on the main window.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
Just like spot does?
Additional context
No response
Checklist

[X] I have searched the existing issues/discussions
[X] The latest nightly build doesn't already have this feature

Neovim achieves this through its built-in terminal :terminal (the "TERMINAL" in the lower left of the screenshot indicates that it's a terminal)
However, Yazi doesn't have a built-in terminal, so this can't be achieved directly within Yazi.
But if you're using tmux, zellij, or wezterm, you can use their floating terminals to do this. Here's an example: https://yazi-rs.github.io/docs/tips#helix-with-zellij

But if you're using tmux, zellij, or wezterm, you can use their floating terminals to do this. Here's an example: https://yazi-rs.github.io/docs/tips#helix-with-zellij

@sxyazi Sounds like a nice workaround, will try it. Thanks!


Article not acurate or needs updating?

In the Look for list, select System Jobs.
In the search criteria area, add criteria similar to the following:
I followed the steps exactly however, there is no look for list or any list that contains "system jobs"  There is no place for search criteria, only a search box and a filter icon.  These are steps 4 and 5 under Reduce database storage.

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

ID: cb9c9aae-ceaa-2e78-3752-2770327f49a7
Version Independent ID: acd2ddc9-6225-92e8-2636-2a02437c3d82
Content: Free up storage space - Power Platform
Content Source: power-platform/admin/free-storage-space.md
Service: power-platform
Sub-service: admin
GitHub Login: @Bluebear73
Microsoft Alias: munzinge

@mymebenha
Sorry you're having this issue. I tested the steps and they worked for me as documented. If the issue persists, please contact Support: https://powerapps.microsoft.com/support/


Enhancement: Increase "short format" for Locations

A couple issues/requests here (Note: I'm currently using 0.6-pre.4).
Back in 0.5.7, the short format for the locations was limited to 10. Thus, I couldn't create a location longer than 10 characters. It looks like this has been limited to 20 in 0.6, but I occasionally will surpass this limit. I know where I can change this field, but it would be nice if it could be built into the config (so I don't need to remember to change this during each upgrade). Would it be possible to increase this value to something like 32, so long as it's not breaking anything else?
Additionally, in the current version of the panel, and this may be a moot point with the new GUI, but the error I get when trying to create a location longer than 20 characters isn't very descriptive:
The short format is invalid.```

This would be very helpful for me personally and I don't see why it couldn't be implemented by default so long as it doesn't break anything.

Thank you!

The point of the short format is to be short. us1 is a short format, and you can use the description field to actually describe the location. I don't see any reason to have a 32 character short location field.
Even do-nyc-2 is a solid short location name.

We might end up agreeing to disagree on this one. Maybe 32 characters is a bit much, but even something like 24 or 26 would be closer to what I would prefer. I understand it's the "short" format for a reason, but I have a very specific method for my short formats. For example, I identify generally at the region level and slowly specify into the exactly location as to make sorting much simpler:
Long Version: Atlanta, Georgia; United States; North America
Short Version: na.us.east.atlanta
It doesn't seem like much, but that's already 18 characters. If I wanted to add Houston, I would already be over the limit:
na.us.central.houston
Again, perhaps I am in the minority here by not simply using a one-liner. I just figured if it was an easy change on your end and wouldn't affect the performance of the panel in any way, why would it hurt to make the change?

Thanks for the examples. I'll raise the limits.

That's awesome. Thank you!

Bumped to 60 character limit.


AzCopy v10 Arguments update

Verify if the arguments shown in step 2 are still valid. Example the /Y mentioned in the article may no longer be accurate in the latest AzCopy version. See https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy

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

ID: d4271558-62a9-db3c-078c-13b5e5fe99da
Version Independent ID: 813d7002-20a2-b1be-2771-975a0b1cfd48
Content: Use network upload to import your organization's PST files - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/use-network-upload-to-import-pst-files.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@CHDAFNI-MSFT The AzCopy command syntax in this topic only supports the version of AzCopy that is downloaded when clicking the "Download Azure AzCopy" link in the network upload wizard. In this case, this is version 8.1. AzCopy v10 isn't supported for PST import.
There is a note about this in the topic, which may need to be updated from "not recommended" to "not supported by the command syntax in this topic."


Bugfix/4575 incorrect loading images

Related Issues

https://github.com/DivanteLtd/vue-storefront/issues/4575
closes #

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

 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.


ImportError: cannot import name 'FastLanguageModel' from partially initialized module 'unsloth' (most likely due to a circular import) (unsloth.py)

Hi,
this is my setup and the error message.
this is my code
from unsloth import FastLanguageModel

$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:02:13_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0

$ python --version
Python 3.11.10

$ pip show unsloth
Name: unsloth
Version: 2024.12.4

Original exception was:
Traceback (most recent call last):
  File "/u01/app/mlo/projects/fine-tuning/unsloth.py", line 42, in <module>
    from unsloth import FastLanguageModel
  File "/u01/app/mlo/projects/fine-tuning/unsloth.py", line 42, in <module>
    from unsloth import FastLanguageModel
ImportError: cannot import name 'FastLanguageModel' from partially initialized module 'unsloth' (most likely due to a circular import) (/u01/app/mlo/projects/fine-tuning/unsloth.py)

Have you tried reinstalling Unsloth? https://docs.unsloth.ai/get-started/install-update/updating

I removed the python environment and installed from scratch.
It worked, thank you very much

AH LOL
The issue was something different
The file I was working in, was also called unsloth.py
If you write in this file
from unsloth import FastLanguageModel

then it fails


Remote-SSH is now broken for me

Issue Type: Bug
My VSC is now broken on the latest update (version 1.55.2), because my remote RH7 linux system has too old of a version of wget (1.14).  it's failing because I dont have the "--no-hsts" option. It's preventing me from using remote SSH at all.
I don't have the ability to upgrade my wget version.

Same issue here.
Just downgraded back to 0.65.1 for both Remote - SSH and Remote - SSH: Editing Configuration Files extensions, that solved the issue for me.

https://github.com/microsoft/vscode-remote-release/issues/4416


feat: show messagees when it appears to be offline

A bug in Chrome may cause it to crash when accessing NetworkState from a Chrome extension. I'll leave this PR as is for now without releasing it.


Respect quotes in KittyLaunch

Expected behavior:
echo "some text" -> {echo, "some text"}
Current behavior:
echo "some text" -> {echo, "some, text"}

Ended up using sh -c "{command}" in KittyLaunch. So there is no need in splitting with respecting quotes


Strip cookies for applications that don't them at fastly

This functionality is currently handled by varnish in EC2, but as part of the move to EKS we need to move this to fastly.
Trello: https://trello.com/c/HXtsiNCO/855-strip-cookies-at-fastly

I presume you're planning on rolling this out to staging and prod once you've tested it in integration? Also how do you plan to test it once it's deployed to integration?

I presume you're planning on rolling this out to staging and prod once you've tested it in integration? Also how do you plan to test it once it's deployed to integration?

To test, we will try the services that require cookies and ensure they still function. For the ones that don't, we will capture some traffic and examine the HTTP headers to ensure cookies aren't being sent to the applications from fastly

SGTM 👍


Adopt the changelog-workflow

As mentioned in the readme, we want to introduce a changelog file in our repositories to keep track of features/fixes in PRs and deploys.
The versioning mentioned there might be a separate issue/discussion for the resmio-repo for example, since we don't currently tag actual versions there afaik (do we?). In other repositories, we do have versioning, so they should be ready to adopt the changelog-workflow already.
Also, when adopting it, we might want to add a few small examples in the git-along readme of how it should be formatted and elaborate a bit more on possible problems/edge-cases of the workflow when they come up.

Also add this to PR Guidelines (when we have them)


Use byte[] instead of String for Request.body as well as Response

It's not clear how one is supposed to handle arbitrary binary data inside Spark, since String is used both for request input, and for response output.
If there IS a reliable way in Java to convert between String and arbitrary byte[], then I can't find what it is. I suggest that if such a method exists, then it should be made clear in the docs how to do it.
If not, then I suggest using byte[] in place of String, both for Request.body(), Response.body(), and for all the return phases of the pipeline.

+1 we ran into this issue, content encoding should be detected from request headers and worked around the problem with something like this:
new String(request.body().getBytes(), request.raw().getCharacterEncoding());

We have bodyAsBytes now

Hi everybody,
unfortunately bodyAsBytes is only available for Request, but still not for Response. (-_-)
Cheers
-Ferdinand-


Bot Comes online, no commands are functioning.

Describe the bug
As Title Describes, the bot comes online after correctly compiling, commands just cease to function.
To Reproduce
Steps to reproduce the behavior:

All steps oulined in Wiki are followed, but when the RAT is installed on a VM it does not function.

Expected behavior
I expect when a command is sent in discord, it will do something. EX: [.ss] does nothing.
Desktop (please complete the following information):

OS:  Windows 11 Host, Windows 11 Target
Python Version: Most recent

Based in my reading, that the malware dont work in VM.

windows 11 target won\t work and try with python 3.11. Targeted win11s will be added after publishing of v4


feat: add Dataset tagging import/update api

SUMMARY

This work is related to a previous PR which added the ability to tag datasets in the backend. This PR adds the support tobe able to add tags to datasets via the API.
Currently there is an ongoing PR to add tags to the front-end.
It is behind the TAGGING_SYSTEM feature flag
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

Tests added to tests/integration_tests/datasets/api_tests.py
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Required feature flags: TAGGING_SYSTEM
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Hey @cccs-RyanK I moved this to a draft as it seems it requires a rebase.

Is there any interest in picking this back up, or should it be closed out?


Make sigh cycles fail rather than warn

Took the liberty of fixing a merge conflict because I made it with a recent change and it was only two lines.

Took the liberty of fixing a merge conflict because I made it with a recent change and it was only two lines.

Thanks :)


chore: update my project domain

Change of domain for Open Source With Pradumna project. It has been migrated  from oswp.study to os.pradumnasaraf.dev

Oh wow! Awesome. Thanks @Pradumnasaraf.