[DOC]: Add pre-release icon to the README

[![Release Drafter 🚀](https://github.com/SkywardAI/chat-backend/actions/workflows/release-drafter.yml/badge.svg?branch=main)](https://github.com/SkywardAI/chat-backend/actions/workflows/release-drafter.yml)

Add the code above to the README.md

Forgot to ask to be assigned but since it was simple went ahead and added it, sent the pull request.

@ImranSerifovic Thank you. Merged #28


Fix trimmed quantity inputs in draft order

I want to merge this change because... it fixes trimmed quantity inputs in draft order.

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://qa.staging.saleor.cloud/graphql/

Task linked: SALEOR-2751 Draft order lines display trimmed quantity

We don't have responsive inputs in the dashboard, but you are right. I've changed it to resize input responsively based on available table size.


Hangs on generating queries

First off thank you for this tool, so far its exactly what I was looking for.
However, while the tool quickly generates mutations, it hangs on generates queries and doesn't respond at all.

turns out the depth was the reason why it was hanging. Once i lowered the number to 1 or 0 it works now.
example:
--depth 0


Add summaries for each of the documents in the CICERO dataset

Description
Create a module that is able to generate the summary of each of the documents in the CICERO dataset.
This can be using OpenAI's API and the GPT-3.5 model.

See PR 1 :-)


Support for pushing metrics to a pushgateway

Motivation
Fixes #50
What
Added support for pushing metrics to a pushgateway
Why
When running keycloak in a cluster behind a load balancer, we needed a way to read metrics from each instance independently.
How
Added an environment variable PROMETHEUS_PUSHGATEWAY_ADDRESS that takes a value in the format of host:port or ip:port of the Pushgateway. If set, metrics will automatically be pushed to the pushgateway.
Verification Steps

Spawn a prometheus pushgateway. For example run docker run -p 9091:9091 prom/pushgateway
Spawn a keycloak instance with the environment variable PROMETHEUS_PUSHGATEWAY_ADDRESS set to localhost:9091
Do stuff in keycloak
Verify that metrics are pushed to the pushgateway. You can find them on http://localhost:9091

Also verify that the pushgateway is disabled and that things are running normally, if you dont set the PROMETHEUS_PUSHGATEWAY_ADDRESS  environment variable.
Checklist:

[x] Code has been tested locally by PR requester
[x] Changes have been successfully verified by another team member

Additional notes
I updated the way the PrometheusExporter singleton is made, in order to to enable resetting it in unittests. This makes unittesting a singleton pattern bearable.

@sorenvalentinjp Awesome, thanks for the contribution! This is very useful. Another possible solution would be to monitor individual Pods instead of the Service but that's very Kubernetes specific. I'd like to give this a try with the PushGateway.

@sorenvalentinjp Awesome, thanks for the contribution! This is very useful. Another possible solution would be to monitor individual Pods instead of the Service but that's very Kubernetes specific. I'd like to give this a try with the PushGateway.

That would definitely be preferable, but as you said, in other setups it is not possible, hence the need for at different option, like the pushgateway.

What is the status on this pr?

@SoerenSilkjaer will try to get it into the upcoming release (along with #65 )


Same colour testimonial cards and there background

Modified the colour of the cards in testimonials
Related Issue

Issue number 162 - Same colour of the cards and the background in the testimonials sections.

Proposed Changes

Changed the colour of the cards in the testimonials
and slightly increased the border radius of the cards

Output Screenshots

can you link the issue as well please?

#162  Sure , please check

#162 Sure , please check

Thanks a lot!!


Update config.toml

Updated support for Hugo latest version

@erdembey sorry about this, I already made a PR before checking this one. Thanks eitherway


503 ERROR on paths with parameters inside

Please describe which feature you have a question about?
I am using a custom domain with amplify (https://dev.sportfolios.app/), and all my routes that are well specified in my router works well. However, whenever there is a param inside, it seems to break. For example, https://dev.sportfolios.app/:id, or with this actual route: https://dev.sportfolios.app/7f2cfa7e-d561-4b95-be13-0c37c3623bc5.
This leads me to this view.

From the logs, I see two options:

Too many traffic, which I doubt since I'm the only one testing for now
Configuration error, which may be possible. I've tried this solution: https://stackoverflow.com/questions/57449853/react-router-dom-not-working-correctly-on-amplify-console-aws, but it didn't work

Provide additional details
This is a next.js project, using React + react-router. My application is SSR.
My amplify.yml.
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

This is my current redirect configuration

I've also tried this redirect configuration

Which leads me to this view instead

What AWS Services are you utilizing?
I am using Amazon Amplify, which should be the only thing necessary here. I also have a working environment on EC2 (which I am trying to migrate from) and it all works well there.
Provide additional details e.g. code snippets
Let me know if there are additional details needed here!

App ARN: arn:aws:amplify:us-east-2:982491399392:apps/dxnw0u02v229l

Hi, thanks for your information. Could you check Lambda@Edge logs in your account? For SSR app, we'll rewrite the request to the distribution in your account (You can get details from logs in Deploy phase). Specifically, for  https://dev.sportfolios.app/7f2cfa7e-d561-4b95-be13-0c37c3623bc5, your ssr distribution will receive the request with uri: /7f2cfa7e-d561-4b95-be13-0c37c3623bc5. You might need to handle this request on server side.

For customers with deployed Amplify apps that are using Next.js 11 and earlier, we have an FAQ guide for how to find the Lambda Edge logs: https://github.com/aws-amplify/amplify-hosting/blob/main/FAQ.md#access-lambda-edge-logs
We've since launched support for Next.js 12 and 13: https://aws.amazon.com/about-aws/whats-new/2022/11/aws-amplify-hosting-support-next-js-12-13/
If you are using later versions of Next.js, please take advantage of our new launched support by migrating your application: https://docs.aws.amazon.com/amplify/latest/userguide/update-app-nextjs-version.html


Merge 2.2 bugfixes into master

So that we can more meaningfully debug issues still in master.
@krasi-georgiev @brian-brazil @tomwilkie

Obviously, the sign-off is missing on older commits.

Sure :+1:


Update minor upgrade tests and fix issues

Minor upgrade tests started failing after moving to newer snap revisions. Besides, we need to enforce a test of the following scenarios:
2.12.0 > newest built charm
2.13.0 > newest built charm
2.14.0 > newest built charm
And we need to do it for both small and large deployments.

Closed with #315


cannot find main class in multi-module situation.

Images say everything. spigradle can't find the main class although I wrote the main property to the spigot { here }.

Hi @portlek, that seems caused by unconfigured spigot in the root project.
To avoid this, use buildscript instead of plugins DSL for apply Spigradle, and apply in the subprojects {} block:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'kr.entree:spigradle:2.0.1'
    }
}

subprojects {
    apply plugin: 'kr.entree.spigradle'
}

If still a matter, please provide the source code for reproducing.

I couldn't make it ;(
https://github.com/Infumia/BlockLimiter

Your project seems the JavaPlugin used in the blocklimiter-plugin, and used the shortcut spigot() in the blocklimiter-nms.
Therefore, the solution is:

Replace to the base plugin kr.entree.spigradle.base from build.gradle#L2 and build.gradle#L9
Apply the spigot plugin kr.entree.spigradle in blocklimiter-plugin/build.gradle. You can use plugins {} DSL in there.

i didnt but its not working

ok i did with  removing the version from blocklimiter-plugin.


Allow volunteers to indicate their degree of willingness to attend

Given #57, allow volunteers to indicate their degree of willingness to attend, a la Doodle e.g. "I'm very happy to come along even if I'm not really needed" vs "I'm willing to come along, but only if you really need me”?
[Graham]

Similar to #35

Closed won’t fix given that we worked around #57 without doing owner approval.


Aider with rich terminal display

[X] better display the progress of agent
[X] only change src code not other code contain 'pass'
[X] more configs to choose when run agent
[X] centralized log file. example log/REPO_NAME/experiment_name/date/files
[X] remove tenacity since litellm handled it, need to warn user that litellm automatically stop after retry 7 times

Can you add a little description on how to use --stdin?

@wenting-zhao  added stdin description


driver: sensor: Add APDS9960 sensor driver

This patch implements following functionality in polling mode.

Ambient light
RGB light
proximity sensor

Apart from this it also adds Blue channel to channel type
to sensor header file.
Following datasheet has been used to develop driver
https://docs.broadcom.com/docs/AV02-4191EN
Jira: ZEP-1552
Signed-off-by: Punit Vara<EMAIL_ADDRESS>

@punitvara same story, before we even look at the code, you need to fix the style errors :)

Anything else  I have to do ? or everything looks fine to get this merge. ? @dbkinder

@dbkinder  Is this ready to merge ?

" Is there a build test for this sample? " I didn't get you. @dbkinder @MaureenHelm let me know if I need to do any change to get this merge.

@nashif  I have cleared all the review comments. Can you please check whether this is ready to merge or  not ?


Debug symbols not available despite following manual

Issue description
I read https://nixos.org/nixos/manual/options.html#opt-environment.enableDebugInfo and added this to my /etc/nixos/configuration.nix and rebuilt my system, which took way over 6 hours:
  environment.enableDebugInfo = true;

  nixpkgs.config.packageOverrides = pkgs: {
    libffi = pkgs.stdenv.lib.overrideDerivation pkgs.libffi (attrs: {
      outputs = attrs.outputs or ["out"] ++ ["debug"];
      buildInputs = attrs.buildInputs ++ [<nixpkgs/pkgs/build-support/setup-hooks/separate-debug-info.sh>];
    });
  };

…only to discover that there’s still no debug symbols for libffi:
(gdb) info sharedlibrary
From                To                  Syms Read   Shared Object Library
[…]
0x00007ffff4a95b00  0x00007ffff4a9a3bc  Yes (*)     /nix/store/m49w1acl7z0pbcgqcg57xr0iz6dnbp3y-libffi-3.2.1/lib/../lib64/libffi.so.6
(*): Shared library is missing debugging information.
[…]

What did I do wrong here?
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
16.09.git.e446b9f (Flounder)
Nix version: (run nix-env --version)
nix-env (Nix) 1.11.3
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
16.09pre90254.6b20d5b

I believe this is the same issue as https://github.com/NixOS/nixpkgs/issues/18530 -- libffi does not build debug symbols even though environment.enableDebugInfo is true.
The other part of the expression is responsible for separating debug info, but it does nothing if debug info is not built in the first place.

The canonical way to enable the symbols in a package is to set separateDebugInfo = true; (instead of changing outputs and buildInputs). Still, I believe your changes had (almost) the same effect.

What did I do wrong here?

Do you have libffi in systemPackages?

I forgot the "canonical way" doesn't work with overrides yet: https://github.com/NixOS/nixpkgs/issues/10721

#10721 is resolved now. @stapelberg, could you try overrideAttrs with separateDebugInfo = true?

Will try this weekend, thanks.

I added this to my /etc/nixos/configuration.nix:
  nixpkgs.config.packageOverrides = pkgs: {
    libffi = pkgs.stdenv.lib.overrideDerivation pkgs.libffi (attrs: {
      outputs = attrs.outputs or ["out"] ++ ["debug"];
      buildInputs = attrs.buildInputs ++ [<nixpkgs/pkgs/build-support/setup-hooks/separate-debug-info.sh>];
    });
  };

…and ran nixos-rebuild switch. After >2 days of compiling, this does not seem to have worked at all:
$ gdb /nix/store/a52xqnhkcvi9igda9d8z1fzk44c5kbcs-network-manager-1.4.2/bin/NetworkManager
Reading symbols from /nix/store/a52xqnhkcvi9igda9d8z1fzk44c5kbcs-network-manager-1.4.2/bin/NetworkManager...(no debugging symbols found)...done.
gdb $ b main
Breakpoint 1 at 0x4360a0
gdb $ r
Starting program: /nix/store/a52xqnhkcvi9igda9d8z1fzk44c5kbcs-network-manager-1.4.2/bin/NetworkManager
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/hwbvmr4imiyi5ziq6v2snynr7zf022b5-glibc-2.24/lib/libthread_db.so.1".

Breakpoint 1, 0x00000000004360a0 in main ()
gdb $ info sharedlibrary
From                To                  Syms Read   Shared Object Library
[…]
0x00007ffff43b5b00  0x00007ffff43ba3bc  Yes (*)     /nix/store/j6x44pvr10m7pyln1zl4qs9kasxfh8y1-libffi-3.2.1/lib/../lib64/libffi.so.6
[…]
(*): Shared library is missing debugging information.

The feedback cycle is infuriatingly long. Before running any further tests, can someone please explain to me how I can get just NetworkManager’s transitive closure compiled with debug symbols, not the whole world?

Sorry, I've meant trying method described in #10721 with using .overrideAttrs instead of overrideDerivation.
The docs for debug-info module has been updated: https://github.com/aneeshusa/nixpkgs/blob/master/nixos/modules/config/debug-info.nix#L12-L29
Try this on master:
let # fix syntax highlight
  nixpkgs.config.packageOverrides = pkgs: {
    libffi = pkgs.libffi.overrideAttrs (attrs: {
      separateDebugInfo = true;
    });
  };

If you want to patch libffi for NetworkManager only, you should create your own pkgs version with patched libffi, then use networkmanager from it. Something like that:
let # fix syntax highlight
  nixpkgs.config.packageOverrides = pkgs: {
    networkmanager =
        let
          pkgs-for-networkmanager = pkgs.overridePackages (oldPkgs: {
            libffi = oldPkgs.libffi.overrideAttrs (attrs: {
              separateDebugInfo = true;
            });
          });
        in pkgs-for-networkmanager.networkmanager;
  };

Closing, since @stapelberg afaik doesn’t use NixOS at the moment.


message_list_view: Advertise recent topics at the end of narrow.

Using our bookend feature used to tell users to subscribe to a
stream, we advertise recent topics to spectators.
Used fake text "spectator" to pass the bookend_content check of
bookend.hbs in the first line.
Fixes #19844
discussion: https://chat.zulip.org/#narrow/stream/101-design/topic/Advertice.20Recent.20topics.20for.20spectators.20.20.2319844

I pushed back here with a few changes:

Overrode the linter, since it's a bug that it chained if/else clauses so weirdly.  Opened https://github.com/zulip/zulip/issues/20263 for fixing the linter.
Removed the extract call to render_trailing_bookend in the second commit.
Did some cleanup of the confusingly named show_button code path.

There's probably a further commit we could do there to make the sub-unsub-button class only apply if that's the type of button, but that's past the edge of what I have time for right now.  I suspect we could also maybe pass an object to the message_list_view wrapper rendering function at this point rather than having it copy parameters, and it'd be a lot more readable.
Can you retest this (including the preexisting bookend cases) and merge if you're happy with it?  Or add a few more commits making the bookend code more readable and test them and I can merge tomorrow.

I pushed some commits to fix the things I noticed.

We missed a key detail in this refactoring -- the bookend template also gets included as a partial via static/templates/message_group.hbs, and these blocks are broken by that:
        if (!last_subscribed && first_subscribed) {
            group.bookend_top = true;
            group.subscribed = stream;
            group.bookend_content = this.list.subscribed_bookend_content(stream);
            return;
        }

        if (last_subscribed && !first_subscribed) {
            group.bookend_top = true;
            group.unsubscribed = stream;
            group.bookend_content = this.list.unsubscribed_bookend_content(stream);
            return;
        }

Otherwise this lgtm, but we need to fix that.
(I caught this because I noticed that the trailing class was always active, which didn't seem right).  You can reproduce the other bookends by having a stream that receives several messages from Iago, with Othello being unsubscribed in interim windows, and then viewing the stream as Othello, for testing.

Yeah, thanks for noticing.
bookend_bottom was introduced in this commit but removed during further iterations. Not sure if we want it? Do we still prepend historical messages?

We do still potentially insert historical messages in the middle.  I think bookend_bottom may be dead code, but it's possible it's not worth removing -- we may add similar things in the future.

Merged, after tweaking 93a03dcf3a7c3e233f6e7060303146df61065cf0 to add a comment about the two code paths.  Thanks @amanagr!
BTW I'd have appreciated your commenting explicitly on how you'd addressed the previous bug; it took me a while to figure it out.


docs: ABI for all possible data types

Add a document md file for all possible abis from starknet and ethereum. In starknet, it has to have both return and parameters.
The most important data types are complex types. We already have basic type conversions. We need documentation for types like an array of basic types, an array of arrays, an array of custom structs, custom structs, bytes31, and bytes array.
This documentation lets us show the most idiomatic way to approach converting custom data types to basic types, then we can convert to Ethereum type.
Add an MD file to the docs folder.

Example types
Supported Cairo Types
Abiwan supports all of Cairo types, here's the mapping between Cairo types and Typescript types
Primitive Types

Cairo
TypeScript

felt252
string | number | bigint

u8 - u32
number | bigint

u64 - u256
number | bigint | U256

ContractAddress
string

EthAddress
string

ClassHash
string

bytes31
string

ByteArray
string

bool
boolean

()
void

Complex Types

Cairo
TypeScript

Option<T>
T | undefined

Array<T>
T[]

Span<T>
T[]

tuple (T1, T2, ..., Tn)
[T1, T2, ..., Tn]

struct
an object where keys are struct member names

enum
a union of objects, each enum variant is an object

Please also tracking page for which types we support completely


QuestionLinearScale is not printing answer comment field

An answer "comment" field is automatically captured for each agent response. See the common prompt:
Return a valid JSON formatted like this, selecting only the number of the option:
{"answer": <put answer code here>, "comment": "<put explanation here>"}

We can print the answer comment for other question types eg multiple choice but not for linear scale:

We do see the comment exists in the db:

@rbyh should be fixed in 33a442b


Fix commands search URL + open details in new tabs

Part of #164

Changes Unknown when pulling 7cda94ee3fb58b19aa0db6a8e5745896f43740d4 on cabhishek:release/3.0.0 into ** on Netflix:release/3.0.0**.


Lalr parser raises UnexpectedToken('$END', ...) rather than UnexpectedEOF

Describe the bug
When an input is exhausted, the earley parser raises lark.errors.UnexpectedEOF(...), while the lalr parser raises lark.errors.UnexpectedToken('$END', ...).
For consistency sake, in lalr parsers, if the error raised from an unexpected token is '$END' it should be re-raised as UnexpectedEOF.

 Some extra context
I am building an application that requires parsing a stream, and I had switched to the (much faster) lalr parser, but as my stream may require assembling several 'chunks' to create a valid record, I was catching UnexpectedEOF from earley, but now I have to catch UnexpectedToken and drill into the error to check the token:
except lark.exceptions.UnexpectedToken as err:
    if err.token == lark.Token("$END", ""):
        logger.debug("Parser expected more data, waiting for another chunk")
    else:
        raise err

To Reproduce
import sys, lark
print(f"python: {sys.version_info}\nlark: {lark.__version__}\n\n")

grammar = 'start: "A" ~ 4'  # 4 sequential A's

try:
    lark.Lark(grammar, parser="earley").parse("AA")
except Exception as err:
    print("Earley err:", type(err), *err.args)

try:
    lark.Lark(grammar, parser="lalr").parse("AA")
except Exception as err:
    print("Lalr err:", type(err), *err.args)

 Output
python: sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0)
lark: 0.11.1

Earley err: <class 'lark.exceptions.UnexpectedEOF'> Unexpected end-of-input. Expected one of:
        * A

Lalr err: <class 'lark.exceptions.UnexpectedToken'> Unexpected token Token('$END', '') at line 1, column 2.
Expected one of:
        * A

Note that this is something that might break compatibility. This is something we have in mind, and I think we also agree that it would be better for both parser to throw the same exception. (Note that this includes the possiblity of making the earley parser throw UnexpectedToken . But you are making a decent case to keeping UnexpectedEOF).
While this is certainly a good change, this might only happen in 1.0. (or we temporary make UnexpectedEOF behave like an UnexpectedToken. But that seems a bit hacky.)

Yeah this is definitely a breaking change either way, as the different exception types can change the control flow of a program. You've seen my use case, so I would prefer both parsers to raise UnexpectedEOF. That said, there's easy workarounds here until 1.0 lands.
Thanks for the great library!

Yes, consistancy would make error-catching much easier


ModuleNotFoundError: No module named 'pkg_resources'

Describe the error
Followed this to install manim on arch, had to use pipx instead of pip because you can't use pip to install like that on arch (externally managed environment), when I run manim checkhealth it's fully able to render a test scene, however when checking out the example_scenes.py and running manim example_scenes.py OpeningManimExample as suggested, I get a module error. I tried reinstalling python-setuptools, but to no avail.
Why might it render the checkhealth test scene and not this?
EDIT:
Tried with pipx install manimgl, and getting the same issue with manimgl example_scenes.py OpeningManimExample, included the error below.
Code and Error
Code:
example_scenes.py OpeningManimExample from this repository.
Error:
manim example_scenes.py OpeningManimExample
Manim Community v0.18.1

Traceback (most recent call last):
  File "/home/pete/.local/bin/manim", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/manim/cli/render/commands.py", line 116, in render
    for SceneClass in scene_classes_from_file(file):
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/manim/utils/module_ops.py", line 131, in scene_classes_from_file
    module = get_module(file_path)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pete/.local/share/pipx/venvs/manim/lib/python3.12/site-packages/manim/utils/module_ops.py", line 54, in get_module
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/pete/Documents/repos/manim/example_scenes.py", line 1, in <module>
    from manimlib import *
  File "/home/pete/Documents/repos/manim/manimlib/__init__.py", line 1, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

manimgl example_scenes.py OpeningManimExample
Traceback (most recent call last):
  File "/home/pete/.local/bin/manimgl", line 5, in <module>
    from manimlib.__main__ import main
  File "/home/pete/.local/share/pipx/venvs/manimgl/lib/python3.12/site-packages/manimlib/__init__.py", line 1, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Environment
OS System: Arch Linux x86_64, Kernel: 6.8.7-arch1-2
manim version: Manim Community v0.18.1
python version: Python 3.12.3

ManimGL and Manim Community are two different Manim versions. They may conflict with each other.
However, I had the same issue, and I fixed it by installing setuptools, run pip install setuptools.
For more information why, this was suggested here.
Hope it helps.

I ended up having to use pipx to "inject" the module, can't remember the exact command as it was a while ago. This is seemingly just an Arch issue due to how Arch uses pacman to manage python packages.

its not only an arch issue i also have it on Windows i used pip install setuptools to fix it

its not only an arch issue i also have it on Windows i used pip install setuptools to fix it.

The specific issue I'm talking about is relatively specific to Arch.
For arch users I believe I ran pipx inject manim setuptools, though this was a while ago now.


[Feature Request] Create Tree (or Flow) from nested list

Hi. I would like the "From text..." form to include Tree option (next to List and Diagram), which would take the nested list as an input. Can be with tabs or markdown style unordered lists.
I think that would be a very useful feature which would fit nicely into existing design.

Amazing Idea. Please implement this idea. Would be very useful


Layout

Here is a list of the main changes:

layout_type and layout function added to all expression types.
new value layout::any required for xscalar.
values of layout enum changed so we can use bitmask operations when computing layouts.

@wolfv ready for review, that shouldn't break the code in your bindings for BLAS. Feel free to merge if you are ok with the implementation.

I looked through it and it looks great!
The only thing I am currently wondering if the layout of an xview is correctly described as always dynamic. Because I think even if it's not contigous, it can still be row or col major? Or not?
And also, if the view is e.g. over the last two dimensions, the subview itself would definitely qualfiy as row / or col_major and even be contigous.
But I think that might be something we can also fix in the future.

tests pass locally as well!

Cool! I agree with your previous comment, except if the view has a range_adaptor that revert the traversal over a given direction. In that case the layout might become dynamic.

:+1:

@wolfv congrats on your first merge commit!

thanks!
2017-04-10 14:26 GMT-07:00 Sylvain Corlay<EMAIL_ADDRESS>
@wolfv https://github.com/wolfv congrats on your first merge commit!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QuantStack/xtensor/pull/260#issuecomment-293083997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2BPtX9r6eICz-JpYIQaBx-3qyzwTiLks5rup6HgaJpZM4M5OCM
.


Add nova cli

Add the missing nova cli to arkade
Signed-off-by: Engin Diri<EMAIL_ADDRESS>Description
nova cli added
Motivation and Context

Fixes #440

[x] I have raised an issue to propose this change (required)

How Has This Been Tested?

$ docker container run --rm -v $(pwd):/workspace -ti golang:1.16.3-alpine sh
# cd /workspace
# go build
# ./arkade get nova

Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

I'm merging this - thanks for your contribution of the nova CLI.
My question is whether you can use the Binary Template here instead, which is easier to maintain and can be used to infer the latest version.
Can you try it out?
URLTemplate is usually only needed when the version has a prefix in the release name but not in the binary or via versa, or if a separate server other than GitHub is used.

HI @alexellis , i wait for the fix from https://github.com/alexellis/arkade/pull/443. I tried it with binary and run into this issue. If its merged i will change it with maybe a new version of nova?


Add an aggregate ip option verification page

To aggregate the same IP addresses into one device (which operates under the assumption that the same IP is the same device) in an effort to make it simpler for the user to verify.

Closed today.


Improve "remove" and "replace" in WebSocket handler?

In WebSocketServerHandshaker10:
ChannelPipeline p = channel.getPipeline();
p.remove("aggregator");
p.replace("decoder", "wsdecoder", new WebSocket08FrameDecoder(true, this.allowExtensions));
p.replace("encoder", "wsencoder", new WebSocket08FrameEncoder(false));

I think the above code doesn't work if the handlers are not named "aggregator", "decoder", and "encoder".
I think these methods should be used instead:
remove(Class<T> handlerType)
replace(Class<T> oldHandlerType, String newName, ChannelHandler newHandler)

Am I correct?

Yes. We should fix it.
Ngoc Dao wrote:

In WebSocketServerHandshaker10:
ChannelPipeline p = channel.getPipeline();
p.remove("aggregator");
p.replace("decoder", "wsdecoder", new WebSocket08FrameDecoder(true,
this.allowExtensions));
p.replace("encoder", "wsencoder", new WebSocket08FrameEncoder(false));

I think the above code doesn't work if the handlers are not named
"aggregator", "decoder", and "encoder".
I think these methods should be used instead:
remove(Class<T> handlerType)
replace(Class<T> oldHandlerType, String newName, ChannelHandler
newHandler)

Am I correct?

Reply to this email directly or view it on GitHub:
https://github.com/netty/netty/issues/116

I've just sent a pull request.

Merged pull request.  Thanks.


Need the ability to add a Nav separator not on a Nav item

Currently the Nav separator pattern is a modifier on a Nav item. When nav items can be optional, it is hard to determine which nav item has the separator following it. It would be useful to be able to add a separator without it being on a Nav item.

When nav items can be optional, it is hard to determine which nav item has the separator following it.

Can you give me an example of what you mean by that? Would moving .pf-m-separator to the li.pf-c-nav__item parent help?

Looking at this closer, I wonder if we should match what we're doing with the dropdown menus like dropdown, select, options menu, etc.

what do you think @matthewcarleton @jgiardino

👍 I like that suggestion

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


hide atb modals

Task/Issue URL: https://app.asana.com/0/inbox/392891325557408/1141661062607805/1145027585067786
Tech Design URL:
CC:
Description:
Hides ddg-extension-hide css class to let the FE know not to show the ATB modals.
Note that there is a bug in the FE just now so this doesn't actually work at the moment, but it will once that is fixed. See below for how to test.
Steps to test this PR:

Go to duckduckgo.com
Request desktop mode (probably optional)
Debug the web view
Run the following command in the console DDG.extension.isInstalled() - it should return true

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks :)


Filed to Parse [EXEC CICS]

Thanks for providing this Grammar File
I also saw your comment at Antlr/Grammar Issue List.
I tried parse CICS Statement but still Exception occured:

I didn't use Preprocessor.g4 but copy [exec cics statement] and all related contents to cobol85.g4, like this attachment.
Did I use this wrong way ?

Sorry ,I get it.
Must use Preprocessor, right ?
It's very hard to Merge [CICS Statement] or [Exec SQL Statement] into Cobol85.g4 so cut them out....

May I ask you to help me understand that, How to use the Preprocessor.g4 file? As I have been using the Cobol.g4 and need some of the features of the Preprocessor.g4 in my project.

Here's a test class which uses preprocessing things...
https://github.com/uwol/proleap-cobol-parser/blob/master/src/test/java/io/proleap/cobol/preprocessor/copy/cobolword/variable/CopyCblWrdTest.java


Who Uses Redux-Saga

starts #722
you can see how it looks here
open to design feedback

Suggestions:

[ ] logos are all same height and width
[ ] multiple users (logo and name) on a row

Thanks, this looks good. They should be in rows and centered (possibly), but you already know that :)

gonna close this since i'm not actively working on it. anyone is free to pick this up


NGINX install error and 502 Bad Gateway

I recently had some updates go through (primarily updating to Python 3.9.7) and I'm now getting a 502 Bad Gateway when trying to access Fermentrack. I believed I have traced it to an installation error with NGINX as shown by these results:
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 30, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Setting up nginx-full (1.14.2-2+deb10u4) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2022-10-04 14:11:35 CDT; 60ms ago
     Docs: man:nginx(8)
  Process: 3077 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
  Process: 3078 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Oct 04 14:11:34 raspberrypi nginx[3078]: nginx: [emerg] bind() to <IP_ADDRESS>:80 failed (98: Address already in use)
Oct 04 14:11:34 raspberrypi nginx[3078]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 04 14:11:34 raspberrypi nginx[3078]: nginx: [emerg] bind() to <IP_ADDRESS>:80 failed (98: Address already in use)
Oct 04 14:11:34 raspberrypi nginx[3078]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 04 14:11:35 raspberrypi nginx[3078]: nginx: [emerg] bind() to <IP_ADDRESS>:80 failed (98: Address already in use)
Oct 04 14:11:35 raspberrypi nginx[3078]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 04 14:11:35 raspberrypi nginx[3078]: nginx: [emerg] still could not bind()
Oct 04 14:11:35 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 04 14:11:35 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 04 14:11:35 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
 installed nginx-full package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-full
 nginx
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

I don't really know where to go from here. I tried to remove NGINX then reinstall, but it returned the same output when trying to uninstall. Any help for this NOOB is greatly appreciated.

I was able to resolve the apt_pkg issue I believe and now I get a
“Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.”

Are you using the containerized version of Fermentrack? If so, just reinstall the container and you should be good.

Are you using the containerized version of Fermentrack? If so, just reinstall the container and you should be good.

Not sure. How can I tell, and if so, how to do reinstall the container?

Yeah - you’re almost certainly using the non-containerized version then.
Do you have a backup of your data (or do you not care about the data that you had in Fermentrack previously)? If so, then it should be pretty easy to migrate. If not, we’ll need to figure out a fix for your existing install first.

UPDATE: Still can't get past Redis needing port 6379 which is currently being used by Redis.
pi@raspberrypi:~ $ sudo lsof -t -i:6379 1519 pi@raspberrypi:~ $ ps -ef UID        PID  PPID  C STIME TTY          TIME CMD root         1     0  0 22:25 ?        00:00:06 /sbin/init splash root         2     0  0 22:25 ?        00:00:00 [kthreadd] root         3     2  0 22:25 ?        00:00:00 [rcu_gp] root         4     2  0 22:25 ?        00:00:00 [rcu_par_gp] root         8     2  0 22:25 ?        00:00:00 [mm_percpu_wq] root         9     2  0 22:25 ?        00:00:00 [rcu_tasks_rude_] root        10     2  0 22:25 ?        00:00:00 [rcu_tasks_trace] root        11     2  0 22:25 ?        00:00:01 [ksoftirqd/0] root        12     2  0 22:25 ?        00:00:03 [rcu_sched] root        13     2  0 22:25 ?        00:00:00 [migration/0] root        14     2  0 22:25 ?        00:00:00 [cpuhp/0] root        15     2  0 22:25 ?        00:00:00 [cpuhp/1] root        16     2  0 22:25 ?        00:00:00 [migration/1] root        17     2  0 22:25 ?        00:00:00 [ksoftirqd/1] root        20     2  0 22:25 ?        00:00:00 [cpuhp/2] root        21     2  0 22:25 ?        00:00:00 [migration/2] root        22     2  0 22:25 ?        00:00:00 [ksoftirqd/2] root        25     2  0 22:25 ?        00:00:00 [cpuhp/3] root        26     2  0 22:25 ?        00:00:00 [migration/3] root        27     2  0 22:25 ?        00:00:00 [ksoftirqd/3] root        30     2  0 22:25 ?        00:00:00 [kdevtmpfs] root        31     2  0 22:25 ?        00:00:00 [netns] root        34     2  0 22:25 ?        00:00:00 [kauditd] root        36     2  0 22:25 ?        00:00:00 [khungtaskd] root        37     2  0 22:25 ?        00:00:00 [oom_reaper] root        38     2  0 22:25 ?        00:00:00 [writeback] root        39     2  0 22:25 ?        00:00:01 [kcompactd0] root        57     2  0 22:25 ?        00:00:00 [kblockd] root        58     2  0 22:25 ?        00:00:00 [blkcg_punt_bio] root        59     2  0 22:25 ?        00:00:00 [watchdogd] root        60     2  0 22:25 ?        00:00:00 [kworker/2:1-cgroup_destroy] root        62     2  0 22:25 ?        00:00:00 [rpciod] root        63     2  0 22:25 ?        00:00:00 [kworker/u9:0-hci0] root        64     2  0 22:25 ?        00:00:00 [xprtiod] root        65     2  0 22:25 ?        00:00:05 [kswapd0] root        66     2  0 22:25 ?        00:00:00 [nfsiod] root        67     2  0 22:25 ?        00:00:00 [kworker/3:1-events] root        69     2  0 22:25 ?        00:00:00 [iscsi_eh] root        70     2  0 22:25 ?        00:00:00 [iscsi_destroy] root        71     2  0 22:25 ?        00:00:00 [dwc_otg] root        72     2  0 22:25 ?        00:00:00 [DWC Notificatio] root        73     2  0 22:25 ?        00:00:07 [vchiq-slot/0] root        74     2  0 22:25 ?        00:00:02 [vchiq-recy/0] root        75     2  0 22:25 ?        00:00:00 [vchiq-sync/0] root        76     2  0 22:25 ?        00:00:00 [zswap-shrink] root        82     2  0 22:25 ?        00:00:00 [mmc_complete] root        83     2  0 22:25 ?        00:00:01 [kworker/1:1H-kblockd] root        85     2  0 22:25 ?        00:00:00 [jbd2/mmcblk0p2-] root        86     2  0 22:25 ?        00:00:00 [ext4-rsv-conver] root        88     2  0 22:25 ?        00:00:00 [ipv6_addrconf] root        89     2  0 22:25 ?        00:00:00 [kworker/2:2-events] root        93     2  0 22:25 ?        00:00:01 [kworker/3:2H-kblockd] root       117     1  0 22:25 ?        00:00:01 /lib/systemd/systemd-journald root       136     2  0 22:25 ?        00:00:07 [kworker/u8:2-events_unbound] root       140     2  0 22:25 ?        00:00:00 [irq/199-usb-001] root       153     1  0 22:25 ?        00:00:01 /lib/systemd/systemd-udevd root       176     2  0 22:25 ?        00:00:00 [vchiq-keep/0] root       177     2  0 22:25 ?        00:00:00 [SMIO] root       185     2  0 22:25 ?        00:00:00 [mmal-vchiq] root       188     2  0 22:25 ?        00:00:00 [mmal-vchiq] root       190     2  0 22:25 ?        00:00:00 [mmal-vchiq] root       191     2  0 22:25 ?        00:00:00 [mmal-vchiq] root       193     2  0 22:25 ?        00:00:00 [mmal-vchiq] root       227     2  0 22:25 ?        00:00:00 [cfg80211] root       237     2  0 22:25 ?        00:00:00 [brcmf_wq/mmc1:0] root       239     2  0 22:25 ?        00:00:02 [brcmf_wdog/mmc1] systemd+   308     1  0 22:25 ?        00:00:00 /lib/systemd/systemd-timesyncd nobody     347     1  0 22:25 ?        00:00:00 /usr/sbin/thd --triggers /etc/tr root       350     1  0 22:25 ?        00:00:00 /lib/systemd/systemd-logind root       351     1  0 22:25 ?        00:00:00 /usr/sbin/cron -f root       363     1  0 22:25 ?        00:00:00 /usr/sbin/rsyslogd -n -iNONE root       364     1  0 22:25 ?        00:00:00 /usr/sbin/alsactl -E HOME=/run/a message+   368     1  0 22:25 ?        00:00:00 /usr/bin/dbus-daemon --system -- root       370     1  0 22:25 ?        00:00:00 /usr/sbin/rngd -r /dev/hwrng root       374     1  0 22:25 ?        00:00:00 /sbin/wpa_supplicant -u -s -O /r root       377     1  0 22:25 ?        00:00:00 /usr/lib/udisks2/udisksd root       378     1  0 22:25 ?        00:00:00 /usr/sbin/cupsd -l nobody     381     1  0 22:25 ?        00:00:00 /usr/local/bin/noip2 avahi      383     1  0 22:25 ?        00:00:00 avahi-daemon: running [raspberry avahi      419   383  0 22:25 ?        00:00:00 avahi-daemon: chroot helper root       436     1  0 22:25 ?        00:00:00 /sbin/dhcpcd -q -b colord     460     1  0 22:25 ?        00:00:00 /usr/lib/colord/colord root       461     1  0 22:25 ?        00:00:00 /usr/sbin/cups-browsed root       473     1  0 22:25 ?        00:00:00 /usr/lib/policykit-1/polkitd --n root       474     1  0 22:25 ?        00:00:01 /usr/bin/containerd root       475     1  0 22:25 ?        00:00:00 /usr/sbin/lightdm root       487     1  0 22:25 ?        00:00:00 wpa_supplicant -B -c/etc/wpa_sup root       501   475  3 22:25 tty7     00:00:51 /usr/lib/xorg/Xorg :0 -seat seat root       502     1  0 22:25 tty1     00:00:00 /bin/login -f root       513     1  8 22:25 ?        00:02:02 /opt/teamviewer/tv_bin/teamviewe root       531     1  0 22:25 ?        00:00:00 nginx: master process /usr/sbin/ www-data   532   531  0 22:25 ?        00:00:00 nginx: worker process www-data   533   531  0 22:25 ?        00:00:00 nginx: worker process www-data   534   531  0 22:25 ?        00:00:00 nginx: worker process www-data   535   531  0 22:25 ?        00:00:00 nginx: worker process root       541     1  0 22:25 ?        00:00:03 /usr/bin/dockerd -H fd:// --cont root       544     2  0 22:25 ?        00:00:00 [kworker/u9:1-hci0] root       545     1  0 22:25 ?        00:00:00 /usr/bin/hciattach /dev/serial1  root       558     1  0 22:25 ?        00:00:00 /usr/lib/bluetooth/bluetoothd pi         588     1  0 22:25 ?        00:00:00 /lib/systemd/systemd --user pi         591   588  0 22:25 ?        00:00:00 (sd-pam) pi         604   502  0 22:25 tty1     00:00:00 -bash root       609   475  0 22:25 ?        00:00:00 lightdm --session-child 14 17 pi         613   609  0 22:25 ?        00:00:00 /usr/bin/lxsession -s LXDE-pi -e pi         626   588  0 22:25 ?        00:00:12 /usr/bin/dbus-daemon --session - pi         662   613  0 22:25 ?        00:00:00 /usr/bin/ssh-agent x-session-man pi         676   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfsd pi         683   588 13 22:25 ?        00:03:11 /opt/teamviewer/tv_bin/TeamViewe pi         695   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/us pi         700   613  0 22:25 ?        00:00:01 openbox --config-file /home/pi/. pi         705   613  0 22:25 ?        00:00:00 lxpolkit pi         708   613  0 22:25 ?        00:00:04 lxpanel --profile LXDE-pi pi         713   613 12 22:25 ?        00:03:03 pcmanfm --desktop --profile LXDE pi         719     1  0 22:25 ?        00:00:00 /usr/bin/ssh-agent -s pi         774   588  5 22:25 ?        00:01:17 /usr/bin/pulseaudio --daemonize= rtkit      805     1  0 22:25 ?        00:00:00 /usr/lib/rtkit/rtkit-daemon pi         809   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum pi         813   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfs-goa-volume-mo pi         817   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum pi         821   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo pi         829     1  0 22:25 ?        00:00:00 /usr/lib/menu-cache/menu-cached  pi         830   588  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-mo pi         841   676  0 22:25 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw root       847     2  0 22:25 ?        00:00:00 [krfcommd] lp         860   378  0 22:25 ?        00:00:00 /usr/lib/cups/notifier/dbus dbus root      1092     1  0 22:25 ?        00:00:00 /usr/bin/containerd-shim-runc-v2 root      1133  1092  0 22:25 ?        00:00:00 nginx: master process nginx -g d systemd+  1201  1133  0 22:25 ?        00:00:00 nginx: worker process systemd+  1202  1133  0 22:25 ?        00:00:00 nginx: worker process systemd+  1203  1133  0 22:25 ?        00:00:00 nginx: worker process systemd+  1204  1133  0 22:25 ?        00:00:00 nginx: worker process pi        1212   588 16 22:25 ?        00:03:52 /opt/teamviewer/tv_bin/TeamViewe pi        1243   708  0 22:26 ?        00:00:07 lxterminal pi        1257  1243  0 22:26 pts/0    00:00:00 bash root      1352     2  0 22:30 ?        00:00:01 [kworker/0:0-events] root      1355     2  0 22:31 ?        00:00:02 [kworker/0:1H-mmc_complete] root      1359     2  0 22:31 ?        00:00:01 [kworker/2:0H-kblockd] pi        1360   588  3 22:31 ?        00:00:35 /usr/lib/gvfs/gvfsd-metadata root      1385     2  0 22:33 ?        00:00:00 [kworker/1:1-mm_percpu_wq] root      1439     2  0 22:39 ?        00:00:01 [kworker/u8:1-events_unbound] root      1444     2  0 22:40 ?        00:00:00 [kworker/1:2-events] root      1446     2  0 22:40 ?        00:00:00 [kworker/3:2-events] root      1447     2  0 22:41 ?        00:00:00 [kworker/0:2-events] root      1451     2  0 22:42 ?        00:00:00 [kworker/3:0H] root      1452     2  0 22:42 ?        00:00:00 [kworker/1:0H] root      1453     2  0 22:42 ?        00:00:00 [kworker/0:2H] root      1463     2  0 22:43 ?        00:00:00 [kworker/2:1H] root      1469     2  0 22:44 ?        00:00:00 [kworker/u8:0-events_unbound] root      1499     1  0 22:44 ?        00:00:00 /usr/bin/containerd-shim-runc-v2 999       1519  1499  0 22:44 ?        00:00:01 redis-server <IP_ADDRESS>:6379 root      1551     2  0 22:46 ?        00:00:00 [kworker/1:0-mm_percpu_wq] root      1552     2  0 22:47 ?        00:00:00 [kworker/0:1-events] pi        1558  1257  0 22:49 pts/0    00:00:00 ps -ef pi@raspberrypi:~ $
Tried shutdown down the service with sudo kill -9 1519. But the service immediately reopens under a new PID. Deleted fermentrack-tools. Ran sudo apt-get remove -y redis-server then tried again with killing the Redis service. Still popping up on that port under a different PID each time. Ran a search for Redis files or folders and found a few folders remaining, but all are empty. Out of ideas.

...doh! The fact that you have containerd in there means you were on the docker version. Weird.
Anyways, download fermentrack-tools again, and re-run the installation script. It should clean everything up (and ideally shut the container holding redis down). If it doesn't - and still gives you the error - run docker ps and let me know what it reads.

Okay here is the initialization script and docker ps results.
pi@raspberrypi:~ $ sudo fermentrack-tools/non_docker_install/install.sh
::: This script was launched as root.  This script will install fermentrack.
A new user will be created and Fermentrack will be installed in that users home directory.
When the installation is done with no errors Fermentrack is started and monitored automatically.

Please note - Any existing apps that require Apache (including RaspberryPints and BrewPi-www)
will be deactivated. If you want support for these apps it can be optionally installed later.
Please read http://apache.fermentrack.com/ for more information.

For more information about Fermentrack please visit: http://fermentrack.com/

Do you want to continue to install Fermentrack? [y/N] y
::: Ok, let's go!
::: To accept the default answer, just press Enter.
::: The default is capitalized in a Yes/No question: [Y/n]
::: or shown between brackets for other questions: [default]

The time is currently set to Thu 06 Oct 2022 10:56:27 AM CDT. Is this correct? [Y/n]y
::: All scripts associated with Fermentrack are now installed to a user's home directory
::: Hitting 'enter' will accept the default option in [brackets] (recommended).
*** WARNING: Any data in the user's home directory may be ERASED during install!

What user would you like to install Fermentrack under? [fermentrack]: y
fatal: not a git repository (or any of the parent directories): .git
::: Configuring under user fermentrack
::: Configuring in directory /home/fermentrack

::: Checking for Internet connection:
::: Internet connection Success!

::: Installing dependencies using apt-get
::: apt is updated - installing git-core, nginx, python-dev, and a handful of other packages.
::: (This may take a few minutes during which everything will be silent) ...
::: All packages installed successfully.

::: Verifying free disk space...

Install directory is NOT empty, are you SURE you want to use this path? [y/N] y
::: Ok, we warned you!

::: Creating and configuring user accounts.
::: User 'fermentrack' already exists, skipping...

::: Checking install directories
::: Script install directory is NOT empty, backing up to this users home dir and then deleting contents...

::: Making sure everything is owned by fermentrack

::: Downloading most recent Fermentrack codebase...
Cloning into '/home/fermentrack/fermentrack'...

::: Making sure everything is owned by fermentrack

::: Creating virtualenv directory...
::: Python 3.7 is installed. Using Python 3.7 to create the venv.
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/home/fermentrack/venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']

::: Forcing reinstallation of pip within the virtualenv
sudo: /home/fermentrack/venv/bin/pip: command not found
sudo: /home/fermentrack/venv/bin/pip: command not found
::: Manually installing PyZMQ and Circus - This could take ~10-15 mins.
/home/fermentrack/venv/bin/python3: No module named pip
/home/fermentrack/venv/bin/python3: No module named pip
::: Numpy and Scipy are available through system packages. Linking to those.
::: Venv has been created!

::: Enabling python to query bluetooth without being root
::: Running make_secretsettings.sh from the script repo
Generating SECRET_KEY and writing to fermentrack_django/secretsettings.py
secretsettings.py created!

::: Running upgrade.sh from the script repo to finalize the install.
::: This may take up to an hour during which everything will be silent...

::: Copying nginx configuration to /etc/nginx and activating.
::: Making sure everything is owned by fermentrack

::: Running updateCronCircus.sh from the script repo
ERROR: Could not find circusd
::: Starting circus process monitor.
ERROR: Could not find circusd

Waiting for Fermentrack install to initialize and become responsive.
Fermentrack may take up to 5 minutes to first boot as the database is being initialized.
....................................................................................................................................................................................missing.
*** ----------------------------------
*** ERROR ERROR ERROR ERROR ERROR ***
Unable to find an initialized, responsive instance of Fermentrack

*** ----------------------------------
*** See above lines for error message
*** Setup NOT completed
*** More information in the "install.log" file
pi@raspberrypi:~ $ docker ps
CONTAINER ID   IMAGE               COMMAND                  CREATED        STATUS                          PORTS     NAMES
48be3168e9f1   fermentrack_nginx   "/docker-entrypoint.…"   4 months ago   Restarting (1) 31 seconds ago             fermentrack-tools_nginx_1
c27ba9e66570   fermentrack_redis   "docker-entrypoint.s…"   4 months ago   Restarting (1) 51 seconds ago             fermentrack-tools_redis_1
pi@raspberrypi:~ $

Try using the regular install script, as you seem to have a docker installation Message ID: @.***>

Same issue with the Port 6379.
This was becoming too time consuming to figure out and I didn't really have anything I couldn't lose so I wiped my Raspberry Pi, fresh install of Raspi OS and Debian 11, then fresh install of Fermentrack. Everything back up and running UNTIL.........
My Tilt was not before and is not still communicating with Fermentrack. As before, and what began this problem, I ran the Troubleshoot Tilt connection and it says my Python flags are missing. The Troubleshoot says to run sudo setcap cap_net_raw,cap_net_admin+eip /usr/local/bin/python3.9. Did this, but as before, I got a
"Failed to set capabilities on file 'usr/local/bin/python3.9' (No such file or directory)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
I found no files of any kind in /usr/local/bin but I did find a file in usr/bin so I tried the command on that and now not only does the Tilt still not work. I hope to didn't goof anything up trying that option. Otherwise things are back up. I'd sure like to have my Tilt communicating again. Any ideas here?

Sorry to keep bothering you, I know you are very busy. Any thoughts on that
issue with Python being in /usr/bin instead of /usr/local/bin and
generating the missing Python flags? Everything else is working but this is
twice I've had this issue after a fresh install. Thanks again!
Aaron
On Thu, Oct 6, 2022 at 11:43 Aaron Kanowitz @.***> wrote:

The regular install script gives me the error message "Port 6379 is
required by Redis but is currently in use. Installation cannot continue."
Then it quits.
On Thu, Oct 6, 2022 at 11:39 John @.***> wrote:

Try using the regular install script, as you seem to have a docker
installation
Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/thorrak/fermentrack/issues/695#issuecomment-1270386964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTEBJIJFGX73NWCALV3KLLWB36D7ANCNFSM6AAAAAAQ44MVTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

The regular install script gives me the error message "Port 6379 is
required by Redis but is currently in use. Installation cannot continue."
Then it quits.
On Thu, Oct 6, 2022 at 11:39 John @.***> wrote:

Try using the regular install script, as you seem to have a docker
installation
Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/thorrak/fermentrack/issues/695#issuecomment-1270386964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTEBJIJFGX73NWCALV3KLLWB36D7ANCNFSM6AAAAAAQ44MVTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@doubleAbrew sorry it took so long for you to get an answer- with only the context here, I think you have redis running on the host already, and then docker tries to run and grab the same port that the host redis is using. Try systemctl status redis-server (use tab complete on that, i think its redis-server)  to see if redis is running, and then systemctl stop redis-server to stop it. Using 'stop' just turns it off until restart, so i think (Google is smarter than me) to perm turn it off you want to use systemctl disable redis-server after stopping, but again I would suggest Googling to make sure. Hope this helps!

I’m hoping that this is resolved at this point as I think it was environmental. If not, please feel free to comment here and we can reopen.


Fix string formatting

~@IJGoldie to add to list~ We will create new issues if others exist

[x] Fix bulleted lists

Pushed to DLVR


Add Gravatar Package

Gravatar - Gravatar Helper & Generator (Laravel 5 supported).
:+1:

I have been inundated with a large number of pull requests after Taylor Otwell retweeted a link to this repo. Starting now, I will be adding links to the "Popular Packages" section, only if the package has received more than 200 stars on Github or 1000+ downloads via Packagist. Because of this pre-requisite, a lot of helpful packages will fall through the cracks – but I think this fair to everyone involved. Apologies for the inconvenience.

See #118 for more info

Ok, no problemo.

@chiraggude After reading the CONTRIBUTING.md, the rule about github stars was removed.
So, can you please open this pull request ?

Note : The only thing that package is missing, is the changelog (Even laravel has not, check https://github.com/laravel/framework or https://github.com/laravel/laravel)

Hey buddy, I have just finished editing the contribution guide. Give me some more time to clean things up, link things properly etc. :)

Ok, let me know if everything is done :+1:

Done!

Ok, tnx.
Now i'm just gonna wait for 100 stars :disappointed:.

Sorry, I have to be fair with everyone. You'll get there sooner than later :thumbsup:
Also, send me a PR when https://github.com/ARCANEDEV/LogViewer hits 100 stars. Looks so good!

Of course :+1: .

BTW, you've already added one of my package (Utilities => noCaptcha) :wink: .

Haha!


Support for 2016 Needs to be added

Support for SQL 2016 needs to be added and tested.

I second that comment, can someone please take this item?


[action] git_commit - skip commit if nothing is staged

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

For now, the action git commit(allow_nothing_to_commit: true) skips the command git commit only if the git status is clean.
Description

This PR improves the effect of allow_nothing_to_commit. The git commit command is skipped if nothing is staged. Meaning you can have a dirty repository, and still use allow_nothing_to_commit.

@felginep Hi, I realised that this causes a behaviour change in the case where git_commit action tries to commit file changes without explicitly staging them. In that case, --staged option for git diff will miss unstaged changes in such a scenario because gi commit can commit "unstaged" changes and git_commit action was supposed to behave so, I suppose. The meaning of allow_nothing_to_commit seemed to be changed to allow_nothing_staged, to be precise.
For example, I used to have this kind of script but now I have to add sh("git add #{ROOT_PATH}") above the git_commit by myself, which feels not good to me since git_commit was a complete action for such operations but now I have to call a shell command via sh additionally.
download_something
git_commit(path: ".", message: "update something", allow_nothing_to_commit: true)

Would you mind if I revert this? What are the scenarios you expect for this change?

@felginep Hi, I realised that this causes a behaviour change in the case where git_commit action tries to commit file changes without explicitly staging them. In that case, --staged option for git diff will miss unstaged changes in such a scenario because gi commit can commit "unstaged" changes and git_commit action was supposed to behave so, I suppose. The meaning of allow_nothing_to_commit seemed to be changed to allow_nothing_staged, to be precise.
For example, I used to have this kind of script but now I have to add sh("git add #{ROOT_PATH}") above the git_commit by myself, which feels not good to me since git_commit was a complete action for such operations but now I have to call a shell command via sh additionally.
download_something
git_commit(path: ".", message: "update something", allow_nothing_to_commit: true)

Would you mind if I revert this? What are the scenarios you expect for this change?

Oh I see, you do not use the git_add action before git_commit, and I understand this is a regression for you then. Sorry for that.
My personnal issue is the following.

Oh I see, you do not use the git_add action before git_commit, and I understand this is a regression for you then. Sorry for that.
My personnal issue is the following.

Oh I see I didn't know that there is git_add🙈 I'll have a think about this and get you back later!

Oh I see I didn't know that there is git_add🙈 I'll have a think about this and get you back later!

Same, I'll think of a solution and share it here if I find something relevant.

Same, I'll think of a solution and share it here if I find something relevant.

@ainame I think we can revert my change and update the repo_clean variable to be repo_clean = Actions.sh("git status #{paths} --porcelain").empty? (note the new #{paths} in the command)
This way, we only verify the paths we pass to the lane are modified.
There are two cases:

fileA is modified (meaning git status fileA --porcelain will return a non empty string)

we call git_commit(path: "fileA", allow_nothing_to_commit: true) -> the commit is created
we call git_commit(path: "fileA", allow_nothing_to_commit: false) -> the commit is created

fileA is not modified (meaning git status fileA --porcelain will return an empty string)

we call git_commit(path: "fileA", allow_nothing_to_commit: true) -> the commit is skipped (even if git status --porcelain does not return an empty string, meaning there are other files modified)
we call git_commit(path: "fileA", allow_nothing_to_commit: false) -> an error occurs because fileA can't be staged

@ainame I think we can revert my change and update the repo_clean variable to be repo_clean = Actions.sh("git status #{paths} --porcelain").empty? (note the new #{paths} in the command)
This way, we only verify the paths we pass to the lane are modified.
There are two cases:

fileA is modified (meaning git status fileA --porcelain will return a non empty string)

we call git_commit(path: "fileA", allow_nothing_to_commit: true) -> the commit is created
we call git_commit(path: "fileA", allow_nothing_to_commit: false) -> the commit is created

fileA is not modified (meaning git status fileA --porcelain will return an empty string)

we call git_commit(path: "fileA", allow_nothing_to_commit: true) -> the commit is skipped (even if git status --porcelain does not return an empty string, meaning there are other files modified)
we call git_commit(path: "fileA", allow_nothing_to_commit: false) -> an error occurs because fileA can't be staged

@felginep Thank you for the suggestion. Yes, I had something similar in mind but was not sure if it works when I replied last time! This sounds good to me.
Please go ahead to make a PR and make sure you add unit tests that cover the case I mentioned (commit without staging). I can then review your PR 🙇

@felginep Thank you for the suggestion. Yes, I had something similar in mind but was not sure if it works when I replied last time! This sounds good to me.
Please go ahead to make a PR and make sure you add unit tests that cover the case I mentioned (commit without staging). I can then review your PR 🙇

@ainame You can find the new PR here #17913

@ainame You can find the new PR here #17913

Will have a look tonight! Thank you very much!

Will have a look tonight! Thank you very much!


Myjio and jiocinema apps have issues.

Myjio and jiocinema apps are unable to connect to the internet if energized protection is on.

#whitelist http://rtss-prod.jioconnect.com for MyJio app to work properly.

Thanks for replying, I added this domain yo white list but no success. :(
On Thu, 23 May 2019, 15:16 Avinash Reddy<EMAIL_ADDRESS>wrote:

#whitelist http://rtss-prod.jioconnect.com for MyJio app to work properly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EnergizedProtection/block/issues/168?email_source=notifications&email_token=ALJAPTIGSP4WG7PM5V42TNTPWZRYLA5CNFSM4HO3W432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWBVX4A#issuecomment-495148016,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALJAPTIWED3W24F4BC2U4S3PWZRYLANCNFSM4HO3W43Q
.

This should have been fixed with the latest update as per user feedback. Kindly update to the latest release, and re-open the issue if it's not working for you.

Thank you guys so much, yes it is fixed for both the apps now. ❤
Mon Jun 03 10:21:56 GMT+05:30 2019 Ador<EMAIL_ADDRESS>
This should have been fixed with the latest update as per user feedback. Kindly update to the latest release, and re-open the issue if it's not working for you.
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub [https://github.com/EnergizedProtection/block/issues/168?email_source=notifications&email_token=ALJAPTKIT3YGAOJLXZK5S2LPYSPOZA5CNFSM4HO3W432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWYJMRY#issuecomment-498112071] , or  mute the thread [https://github.com/notifications/unsubscribe-auth/ALJAPTJWRJISY6ZPVWUCAU3PYSPOZANCNFSM4HO3W43Q] . [https://github.com/notifications/beacon/ALJAPTLB7SKAXE2A6AWTIOLPYSPOZA5CNFSM4HO3W432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWYJMRY.gif]


Add 2.3.1 release blog post and manual changelog entries

Add a release blog post and forward-port the changelog entries from the v2.3.x branch

:memo: Reviewer Checklist
Review this pull request by ensuring the following items:

[ ] All user-facing changes have changelog entries
[ ] User-facing changes are reflected on vast.io

I pushed the remaining required changes for this to do what we wanted it to.


hongbo/new iter features

add Iter::op_as_view
add List::add
add String::fold & String::rev_fold
more tests

Pull Request Test Coverage Report for Build 2966
Details

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 83.681%

Totals

Change from base Build 2962:
0.01%

Covered Lines:
3887

Relevant Lines:
4645

💛  - Coveralls


gb support for plugins in Go 1.8

Go 1.8 has plugins and a plugin package. With the go command, plugins can (and should) be compiled with go build -buildmode=plugin ; what is the equivalent with gb ? (it should be documented)
Thanks
Basile Starynkevitch

Sorry, gb doesn't support any of the go build modes. It's not on my roadmap
to add them.
 With the go command, plugins
can (and should) be compiled with go build -buildmode=plugin ; what is
the equivalent with gb ? (it should be documented)
Thanks
Basile Starynkevitch http://starynkevitch.net/Basile/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/constabulary/gb/issues/700, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA5sXPgdiz90XYoHAXTeQeoW1IXhQks5rnM9PgaJpZM4MhppL
.

It is not a matter of supporting go build modes. It is a matter of supporting plugins (which is a new and important feature of Go 1.8 language).

Real talk: plugins are pretty broken in 1.8, I'm not planning on looking at it til after 1.9

On 19 Mar 2017, at 20:36, Basile Starynkevitch<EMAIL_ADDRESS>wrote:
It is not a matter of supporting go build modes. It is a matter of supporting plugins (which is a new and important feature of Go 1.8 language).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

+1 for supporting go plugin in gb

Being straight with you, plug-ins in go are pretty broken and only work on Linux, sorta.
I don’t have any plans to add support for them to gb.

On 17 Nov 2017, at 03:25, WeZhang<EMAIL_ADDRESS>wrote:
+1 for supporting go plugin in gb
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Won’t fix. Sorry.

On 11/25/2017 04:08 AM, Dave Cheney wrote:

Won’t fix. Sorry.

Then you need to document that. This would avoid future people coding in
Go and using plugins to even consider using GB.
You need to mention lack of plugin support in your README.md and on the
https://getgb.io/ site.
Cheers.
--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France


luci-proto-wireguard: adding an Addresses option to the wireguard peer config generator

Some clients like iOS require this explicitly, and so this change adds the appropriate config with some sensible defaults. If the intended behavior is at all different from what was agreed upon in the issue, let me know and I will se what I can do.
Addresses issue #6050
Signed-off-by: Nicholaos Mouzourakis<EMAIL_ADDRESS>

Please remove the merge commits and rebase your branch, so that there is only one commit with the change in your branch.

Please put this fix in work because it is major problem for many people !
IP field must be generated to have correct confing !

@feckert Like that?

OK - tested on master.

Now from the QR or copy paste VPN works as it should do !
Before I must manually put the IP part that was annoying and time waste and can make mistake !
THANKS FOR THAT FIX !!!


Something is wrong when use niftymic_run_reconstruction_pipeline

Hi renbem,
when I used the command 'niftymic_run_reconstruction_pipeline ' , there were something wrong in the last step to reconstruct a srr_template_mask in template space. I could't sovle it.😭 I used the docker and pull your image.
The log prompt me that the motion_correction file is missing, but I have repeatedly confirmed that the file is in the current directory, or in the srr20 directory, everything is complete. All files are accessible with permission.
niftymic_reconstruct_volume_from_slices \

--filenames 'FetusNEWLIUYING_seg.nii.gz' 'FetusNEWLIUYINGA_seg.nii.gz' 'FetusNEWLIUYINGB_seg.nii.gz'
--dir-input-mc 'srr22/recon_template_space/motion_correction'
--output 'srr22/recon_template_space/srr_template_mask.nii.gz'
--reconstruction-space 'srr22/recon_template_space/srr_template.nii.gz'
--suffix-mask ''
--log-config 1
--mask
--sda
--alpha 1

*** Configuration: ***
--- alpha: 1.0
--- config: None
--- data_loss: linear
--- data_loss_scale: 1
--- dir_input_mc: srr22/recon_template_space/motion_correction
--- extra_frame_target: 10
--- filenames:
FetusNEWLIUYING_seg.nii.gz
FetusNEWLIUYINGA_seg.nii.gz
FetusNEWLIUYINGB_seg.nii.gz
--- filenames_masks: None
--- intensity_correction: 1
--- isotropic_resolution: None
--- iter_max: 10
--- iterations: 15
--- log_config: 1
--- mask: True
--- minimizer: lsmr
--- output: srr22/recon_template_space/srr_template_mask.nii.gz
--- pd_alg_type: ALG2
--- reconstruction_space: srr22/recon_template_space/srr_template.nii.gz
--- reconstruction_type: TK1L2
--- rho: 0.1
--- sda: True
--- slice_thicknesses: None
--- suffix_mask:
--- target_stack: None
--- tv_solver: PD
--- use_masks_srr: 0
--- verbose: 0
--- viewer: itksnap
NiftyMIC version: 0.7.5

--- File written to 'srr22/recon_template_space/config_reconstruct_volume_from_slices_20200625-142804.json'.

*** Read Data ***
--- Stack 'FetusNEWLIUYING_seg': Slice positions updated (15/15 slices deleted)
--- Stack 'FetusNEWLIUYING_seg' removed as all slices were deleted
--- Stack 'FetusNEWLIUYINGA_seg': Slice positions updated (15/15 slices deleted)
--- Stack 'FetusNEWLIUYINGA_seg' removed as all slices were deleted
--- Stack 'FetusNEWLIUYINGB_seg': Slice positions updated (19/19 slices deleted)
--- Stack 'FetusNEWLIUYINGB_seg' removed as all slices were deleted
Traceback (most recent call last):
File "/usr/local/bin/niftymic_reconstruct_volume_from_slices", line 11, in
load_entry_point('NiftyMIC', 'console_scripts', 'niftymic_reconstruct_volume_from_slices')()
File "/app/NiftyMIC/niftymic/application/reconstruct_volume_from_slices.py", line 127, in main
data_reader.read_data()
File "/app/NiftyMIC/niftymic/base/data_reader.py", line 286, in read_data
motion_updater.run()
File "/app/NiftyMIC/niftymic/utilities/motion_updater.py", line 225, in run
"All stacks removed. "
RuntimeError: All stacks removed. Did you check that the correct motion-correction directory was provided?

Hi sunlianglong,
You seemed to have chosen a different structure than was outlined here.
To generate a 3D SRR of the mask volume, NiftyMIC needs to associate the obtained motion-correction transformations for image files with the segmentation mask files. The default assumption is that images and masks have the same filenames but are split into two different folders, e.g. nifti and seg. However, in your case, segmentation files have the suffix _seg which therefore needs to be provided as an input parameter, i.e. --suffix-mask _seg. From what I can see, that should work for you then.

Yes, It works! Thank you for your prompt reply.


Bump version to 0.7.2

Describe your changes

https://github.com/software-mansion/starknet-jvm/pull/315
https://github.com/software-mansion/starknet-jvm/pull/324
https://github.com/software-mansion/starknet-jvm/pull/327

Linked issues

Breaking changes

[ ] This issue contains breaking changes

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

Comparison is base (a87921e) 69.93% compared to head (976b1e6) 69.93%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #330   +/-   ##
=======================================
  Coverage   69.93%   69.93%
=======================================
  Files          69       69
  Lines        2528     2528
  Branches      223      223
=======================================
  Hits         1768     1768
  Misses        683      683
  Partials       77       77

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


Runtime error: rsp and rpsls not importable

What is happening?
Getting an autograder error because modules cannot be imported.
What does the error say is happening?

What do you think the error means?
rps and rspls cannot be accessed outside of the package/ they are not in the correct form
Node.js version
18.13.0
Operating system
Linux UNC-R90YENDW <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Originally that was git, and I had the same issue. I looked online and it said that changing the type to module might fix it, hence why that's like that. So I still have the issue.

@azaria-p The documentation states to have type in the outermost level of your package.json. Meanwhile, yours is nested. Please check your code: https://github.com/comp426-2023-spring/a03-azaria-p/blob/main/package.json#L10


local socket binding for TCPConnector

As discussed here:
https://groups.google.com/forum/#!topic/aio-libs/lM7IUZq3DNM
Please list tests that should be written.

I suggest the following test scenario:

Select unused port on loopback (<IP_ADDRESS>) interface.
Make http request with passing selected local_addr
Check that socket from connector._conns transport has local_addr as sock.gethostname()

Is it possible to use (<IP_ADDRESS>, 1234) and (<IP_ADDRESS>, 0) pairs for local_addr?

@asvetlov
As for:

(<IP_ADDRESS>, 1234)

<IP_ADDRESS> was resolved to <IP_ADDRESS> in my case

(<IP_ADDRESS>, 0)

0 port is translated to first free port, so it would not be (<IP_ADDRESS>, 0)

@asvetlov looks like builds for Python 3.5 are broken

Thanks!


Add 'prune' command

In #459, the optimize command was removed due to a bug. This issue is about adding a new command called prune which basically does the same as optimize, just with a better name (and hopefully without the bug).

Is this similar to deleting snapshots?  I'd like to subscribe/watch an issue that represents when deletes are implemented if I understand restic correctly (which may not be the case).  As of right now, are repositories append only?

This issue is about adding the prune command, which is one part of regularly removing old snapshots. I'd suggest subscribing to #51 or #18.
And you're right: At the moment, repositories are append-only. We had a command similar to prune for a while, but it turned out that there was a grave bug in the code so I removed it for now. Better safe than sorry.

I've nearly finished the implementation of a prune command and need some feedback on how to specify which snapshots to remove/keep, please add your comments to #572. Thanks!


Cant Train on a larger image size.

im try to train on a larger image with shape (1088,1920,3). when i run the train.py i get an error.
File "C:\Users\user\anaconda3\envs\shapes\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 908, in predict
use_multiprocessing=use_multiprocessing)
File "C:\Users\user\anaconda3\envs\shapes\lib\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 716, in predict
x, check_steps=True, steps_name='steps', steps=steps)
File "C:\Users\user\anaconda3\envs\shapes\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 2471, in _standardize_user_data
exception_prefix='input')
File "C:\Users\user\anaconda3\envs\shapes\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py", line 572, in standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected input_1 to have shape (1088, 1920, 3) but got array with shape (256, 256, 3)
im not sure if this is a tensorflow issue or if your code is casting to (256,256,3) somewhere that i cant find. I have no trouble training on (256,256,3)

i figured it out. i left 256,256 images in the logs folder and tensorflow_callbacks was loading them and throwing the error.


Improved method signature for HTTP struct

Note
I've reset my master branch to current master. This should include only the discussed changes.
Thank you for your time.

Awesome ! Thank you Fabio 😄

Any idea why I can not see this in current master ?


Documentation: a few UML diagrams to get an overview

Thought I'd share what I have so far as @shawntabrizi asked for community documentation on Riot.
Not yet tidied up, but maybe useful.
It's all draw.io diagrams, I'm happy to share sources or SVG too.
any review is apprechiated
this may help with #578

I've added .xml sources. Just open and edit them with https://www.draw.io/
SVG export is also possible.

@shawntabrizi any update?

Seems to be no good way to review images, so I will paste them here and comment on them:

@brenzi I think an overview of the SRML like this is not really appropriate as an image. Things change pretty frequently and modules get refactored. I think it would be better to leave this kind of documentation as text.

This image is really great and conveys a lot. It looks right, but I would be the wrong person to give it a final approval. That being said, we should def get this merged in

@shawntabrizi My SRML overview might be overloaded. However, for me it was crucial to understand how SRML modules interact. And that's not easily seen in the code. Maybe we could just leave away some details and focus on the interaction.

What are you trying to convey to the user with this image? It doesn't seem to "tell a story" which will inform the user of some details or information

@shawntabrizi My SRML overview might be overloaded. However, for me it was crucial to understand how SRML modules interact. And that's not easily seen in the code. Maybe we could just leave away some details and focus on the interaction.

I may have somewhat of a "pre-influenced" opinion here, but I think the best thing that can be done with visual representation of the SRML is "groupings" of modules that work together to build a larger feature. For example:

Balances + Fees + Indices = Currency Chain
Staking + Session + Consensus = NPoS
etc...

(accuracy of those examples needs to be confirmed in code)

What are you trying to convey to the user with this image? It doesn't seem to "tell a story" which will inform the user of some details or information

The diagram is somewhat incomplete (because I lack further understanding atm). The goal was to illustrate how runtime uses storage "externalities" with overlays and where storage actually resides. As far as I understand, the magic happens within your {decl_module!} and {decl_storage!} macros. So "reading the code" is quite challenging. Probably I'd need your doc on these macros first (not from an application dev viewpoint, but what happens "behind the scenes"
I agree that the diagram doesn't yet convey a lot. I'd be happy to extend it.

@brenzi what do you want to know about the storage? The decl_storage! is generating the interface for calling into the storage. It calls, as you already correctly explained, into Externalities. Externalities combines OverlayedChanges and the actual backend. Every write to the storage is stored in OverlayedChanges in the first place. If the execution of a block works without any problems, we write OverlayedChanges into the actual backend.

@bkchr What you just wrote could be added to the tx sequence diagram. So when proposing, we're only writing overlays. When executing, we commit the overlays to the backend. I'll do an update.
What I'd like to understand is the WASM-details: Is the storage (and overlay) maintained within WASM or is it written by using a host callback?
To put it differently: If a SRLM module queries or writes storage, is that a host callback or is storage preloaded into wasm and then handed back?

Look into core/sr-io/src/without-std.rs There you see the external functions we import from the host into the WASM runtime. Most of the imported stuff is for storage access. So, every storage access is going through the host, like I described above with the Externalities.

@bkchr I've added my understanding to the sequence diagram. However, I'm stuck where OverlayedChanges are committed to the backend. Who calls that action? May I ask you for another code pointer?

@brenzi here

Ok, I think I've got it more or less. Let me know your feedback, then I'll push the original files

@tomusdrw what do you say about the transaction handling in the given UML diagram?

Looks good. @brenzi after block is executed we might add a pool notification to the diagram to prune executed transactions for completeness.

OK, added tx pool prune(). took me a while to understand the event queue. I might come up with a diagram for that too...
If we'd really like to show the full cycle, we could add the subscriptions for the user as well (like a oo7 bond updating at the user's browser)
How would we proceed? Do you actually want to merge this diagram into master (so should I do one PR per diagram?) Or do you just want to use it on readme.io or similar?

@brenzi it feels to me that this transaction sequence diagram is something we would want to include in our formal docs. I am not sure the other diagrams (while accurate) convey a clear story to the user.
We are still working on the final docs for Substrate V1, but I think we will find a place for it. I do not think these files will actually get merged in here, but another repo which remains private for now regarding our documentation effort.
Let me know what you think :)

ok, I think a better way to discuss diagrams is the following:
I'll commit draw.io svg to my own repo and open an issue with paritytech/substrate linking to my diagram directly. This way we can collaborate without any format conversions.
please find the above sequence diagram here: #2013
I guess we should close this PR?

What are you trying to convey to the user with this image? It doesn't seem to "tell a story" which will inform the user of some details or information

tried to that image in a different way: #2014. How's that?

all diagrams and a few more now to be found here:
https://github.com/brenzi/substrate-doc

@brenzi I am going to close this pull request, but you can open it again here:
https://github.com/paritytech/substrate-developer-hub
Still not exactly sure where it fits in to the overall documentation story, maybe you can make a suggestion? Take a look at the other open issues and maybe create one for a section/topic you think is not being covered and could use this.


Add dashboard to the website

Issue #56
Todo:

[x] Implement backend to return dashboard data
[x] Implement a new tab in the frontend to display the data in tabular format

@MayankAgarwal tables are compressed now. Into tiny tiny tables.


[DatePicker] Select the year only, and the current month is displayed.

Current Behavior 😯
Using the lab's Date Picker in Material-UI v5-alpha, when I select the year to be displayed only, the current month is shown with the year.
Expected Behavior 🤔
I expect it to show the year only and nothing else.
Steps to Reproduce 🕹

You can see this behavior from the example on the doc. ('Year only' section in Lab/Date Picker)
Below is the link that contains the code.
https://github.com/mui-org/material-ui/blob/v5.0.0-alpha.20/docs/src/pages/components/date-picker/ViewsDatePicker.js

I can confirm the issue at https://next.material-ui.com/components/date-picker/#views-playground

@hyeonhong What do you think about the following fix?
diff --git a/packages/material-ui-lab/src/DayPicker/PickersCalendarHeader.tsx b/packages/material-ui-lab/src/DayPicker/PickersCalendarHeader.tsx
index 19afa113d8..10657e27e6 100644
--- a/packages/material-ui-lab/src/DayPicker/PickersCalendarHeader.tsx
+++ b/packages/material-ui-lab/src/DayPicker/PickersCalendarHeader.tsx
@@ -157,6 +157,11 @@ function PickersCalendarHeader<TDate>(
     }
   };

+  // No need to display more information
+  if (views.length === 1 && views[0] === 'year') {
+    return null;
+  }
+
   return (

In your case, it doesn't seem that we need to display anything in the header.

Come to think of it, I agree that using Autocomplete is the better option for my case.
Anyhow, I went ahead and created a pull request with the code above. Thank you!


rust-toolchain: bump rust to 1.81.0

bumps rust compiler to the latest version

Looks like we should be able to bump to 1.81, as that's what wasmer is using.

I would love to have the Wasmer maintainers to maintain this shim. CC @dierbei

@andreiltd has been doing some work to get the wasmer shim in shape.
He made a PR in wasmer to fix the wasmparser dependency conflict, and it got merged, but hasn't been released yet.
Maybe we can switch to a git dependency like we do in wamr?

Okay I will close this PR in favor of #730


Remove unnecessary pass statements and cleanup boot sequence.

Remove all else: pass statements as they're useless and will only clog up the code, also used for loops to print the disclaimer and the boot animation. The bot will function exactly the same. Also added a requirements.txt file to install dependencies with a single command ($ pip3 install -r requirements.txt or Windows equivalent) and a .gitignore file where I placed .venv to ignore virtual environment folders.
BTW, the code is extremely messy (sourcery reports 4% code quality at worst and 23% at best) you should try to use a formatter such as black or yapf to help while refactoring (won't help with code quality but will make the code a little bit easier to read and more beautiful).

One last tip: you can seperate functions in .py files to have more organized code (you can just import them to your karuma.py and call them directly from there)
P.S. if you're lazy (I can understand!) I'd be glad to do that for you, besides, that's what makes open-source beautiful right? Other people doing stuff for you :)

👍


replace

I'm closing this PR as it doesn't add anything of value.
Can you explain these changes?

shoot, so sorry, I didn't know that this PR was created

I'm closing this PR as it doesn't add anything of value.
Can you explain these changes?

its related to this issue: https://github.com/dapr/go-sdk/issues/237

Look at the files you committed, it's just a package rename.

yes, this PR is a mistake


Way to mark all Option fields as default (unless explicitly specified).

Is there a way to mark all Option fields as default?
I have a struct with about 30 optional fields and just 2 non-optional fields (I'm parsing/creating a specific type of xml file), and I'm not even talking about the nested structs.
I wanted my code to look cleaner, so I thought deriving some sort of builder would help me. But needing to annotate every field with #[builder(default)] seems like a lot of boilerplate.

I understand your usecase, but I don't even do auto-Option-detection for strip_options. Trying to give special treatment to a generic type using syntax detection alone is a can of worms I with to avoid...
In your case, I'd just do something like this:
use typed_builder::TypedBuilder;

#[derive(TypedBuilder, Debug)]
#[builder(field_defaults(default))]
struct Foo {
    #[builder(!default)]
    field1: u32,
    #[builder(!default)]
    field2: u32,
    field3: Option<u32>,
    field4: Option<u32>,
    field5: Option<u32>,
    field6: Option<u32>,
    field7: Option<u32>,
    field8: Option<u32>,
    field9: Option<u32>,
    field10: Option<u32>,
}

fn main() {
    println!("{:#?}", Foo::builder().field1(1).field2(2).build());

    // These will fail to compile:
    println!("{:?}", Foo::builder().field1(1).build());
    println!("{:?}", Foo::builder().field2(2).build());
}


Error in code implementation

Kindly advise about this error. Thank you.

You can see this: https://github.com/d-ailin/GDN/issues/20#issuecomment-1079146387

Hello, I created anaconda environment and installed all required packages inside and the code ran but with unexpected results. In fact, the values for for F1, precision and recall are all zero as seen in the attached picture for swat dataset. Please advise. Thank you.

From your screenshot, I guess it is due to the missing attack label and timestamp columns. You could refer to https://github.com/d-ailin/GDN/tree/main/scripts for preprocessing and the demo processed data to check.


HOw to read csv and store in another file slim

HOw to read csv and store in another file slim

This is not a slim related. Try stackoverflow!


build: remove zlib manual build

remove zlib manual build

:arrow_right: Commit 0583fdca7e4a37ae6aadbc8b0e4dba8b1fef018d
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:x: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.

:arrow_right: Commit 5bdfc54e1105f07af94b125cdb18774882939db1
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:x: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.

:arrow_right: Commit 1c82c3faed5aa3786c62c8e0491206f3fd575690
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:x: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.

:arrow_right: Commit f1ccbadd6a0c9b68561ff29d771e1228d32def38
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:x: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.

:arrow_right: Commit f1ccbadd6a0c9b68561ff29d771e1228d32def38
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:x: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.

:arrow_right: Commit 5d13f87ec48235b2c9bb74c7c98d2700d3bf3178
:clipboard: Logs
:mag: Linting results:
:heavy_check_mark: Python Linting
:heavy_check_mark: C++ Linting
:hammer_and_wrench: Building result:
:heavy_check_mark: Building
:package: Tarballs:
If the building step was successfull, you can download the appropriate tarball in the artifacts section here.
Unzip and then execute sudo tar -C / --no-same-owner -h -xzf linux-enable-ir-emitter*.tar.gz.


Fix cstyle error in src/replication_log.h

Repo: openebs/istgt
Branch: replication
File: src/replication_log.h
Steps to compile in: README.md
PR subject should be like: fmt(cstyle): cstyle fixes in
./src/replication_log.h: 38: missing space between keyword and paren
./src/replication_log.h: 38: missing space after right brace
./src/replication_log.h: 40: #define followed by space instead of tab
./src/replication_log.h: 46: #define followed by space instead of tab
./src/replication_log.h: 52: #define followed by space instead of tab
./src/replication_log.h: 57: #define followed by space instead of tab
./src/replication_log.h: 64: #define followed by space instead of tab
./src/replication_log.h: 70: #define followed by space instead of tab
Resources:
-> Countributers guide: https://github.com/openebs/openebs/blob/master/CONTRIBUTING.md
Complexity: Easy

Working on this


Merging Documentation, TODOs, and Code Changes to Model Implementation

Description
I have added thorough JavaDoc documentation, TODOs, and code changes to the following source code files:

JsonArray.java
JsonBoolean.java
JsonNull.java
JsonNumber.java
JsonString.java

I will move onto doing the same for:

JsonElement.java
JsonObect.java

Accidentally had made a pull request with the original repository instead of the fork I am working on. My apologies.