fMRIprep 20.2.6 unable to open database file

What happened?
I encounter an error when using fMRIprep after updating the version to 20.2.6 by calling ‘fmriprep-docker’. I use fmriprep on my personal computer, and the data is placed on my mobile HD, so I am not sure it is a problem about the permission like issue #2506. Any idea will be appreciated, thanks.
What command did you use?
docker run --rm -it -v /media/lqj/PUS4T/CircleNavigation/NIfTI_BIDS:/data:ro -v
/media/lqj/PUS4T/CircleNavigation/NIfTI_BIDS/derivatives:/out -v
/media/lqj/PUS4T/CircleNavigation/fmriprep_tmp:/work -v
/media/lqj/PUS4T/CircleNavigation/license.txt:/opt/freesurfer/license.txt:ro nipreps/fmriprep:20.2.6
/data /out -w /work participant --participant-label 01 --fs-no-reconall --output-spaces
MNI152NLin6Asym:res-2 --use-aroma --clean-workdir --dummy-scans=0

What version of fMRIPrep are you running?
20.2.6
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 2336, in _wrap_pool_connect
return fn()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 364, in connect
return _ConnectionFairy._checkout(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 778, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 495, in checkout
rec = pool._do_get()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/impl.py”, line 241, in _do_get
return self._create_connection()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 309, in _create_connection
return _ConnectionRecord(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 440, in init
self.__connect(first_connect_check=True)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 661, in _connect
pool.logger.debug(“Error on connect(): %s”, e)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py”, line 70, in exit
with_traceback=exc_tb,
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 182, in raise
raise exception
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 656, in __connect
connection = pool._invoke_creator(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py”, line 114, in connect
return dialect.connect(*cargs, **cparams)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 508, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/local/miniconda/bin/fmriprep”, line 10, in
sys.exit(main())
File “/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/run.py”, line 17, in main
parse_args()
File “/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/parser.py”, line 763, in parse_args
all_subjects = config.execution.layout.get_subjects()
File “/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/layout.py”, line 174, in getattr
entities = self.get_entities()
File “/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/layout.py”, line 373, in get_entities
results = query.all()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3373, in all
return list(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3535, in iter
return self._execute_and_instances(context)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3557, in _execute_and_instances
querycontext, self._connection_from_session, close_with_result=True
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3572, in _get_bind_args
mapper=self._bind_mapper(), clause=querycontext.statement, **kw
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3550, in _connection_from_session
conn = self.session.connection(**kw)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/session.py”, line 1145, in connection
execution_options=execution_options,
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/session.py”, line 1151, in _connection_for_bind
engine, execution_options
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/orm/session.py”, line 433, in _connection_for_bind
conn = bind._contextual_connect()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 2302, in _contextual_connect
self._wrap_pool_connect(self.pool.connect, None),
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 2340, in wrap_pool_connect
e, dialect, self
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1584, in handle_dbapi_exception_noconnection
sqlalchemy_exception, with_traceback=exc_info[2], from=e
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 182, in raise
raise exception
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 2336, in _wrap_pool_connect
return fn()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 364, in connect
return _ConnectionFairy._checkout(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 778, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 495, in checkout
rec = pool._do_get()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/impl.py”, line 241, in _do_get
return self._create_connection()
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 309, in _create_connection
return _ConnectionRecord(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 440, in init
self.__connect(first_connect_check=True)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 661, in _connect
pool.logger.debug(“Error on connect(): %s”, e)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py”, line 70, in exit
with_traceback=exc_tb,
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 182, in raise
raise exception
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/pool/base.py”, line 656, in __connect
connection = pool._invoke_creator(self)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py”, line 114, in connect
return dialect.connect(*cargs, **cparams)
File “/usr/local/miniconda/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 508, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: http://sqlalche.me/e/13/e3q8)

Additional information / screenshots
No response

I am sorry... I should be more careful with the argument "--clean-wkdir". It runs well after comment out the argument.


Create initial MAINTAINERS list

This list is intended to recognize current contributors to the
sawtooth-seth repository who have:

Been actively involved for a substantial amount of time
Made significant contributions that have been critical to the success
of the project
Frequently reviewed pull requests and left thoughtful and
constructive feedback

To come up with this list objectively, I had to use some git-fu as the repo
also contains a lot of commits from sawtooth-core, so GitHub insights was not
sufficient.
I started by counting all commits in the repository that touched either
families/burrow_evm or families/seth in core before the commit where the
component was moved out of core, which was
f6fb1bd80e12f668d9d9e70e6150b3db7ad6f7f6
To accomplish this, I did:
git log -- families/burrow_evm families/seth | grep Author | awk '{ print $2 }' | sort | uniq -c | sort -r

The cutoff commit was on Thu Nov 16 15:14:54 2017 -0600.
After this point, commits to the repo only contained commits to sawtooth-seth
(no sawtooth-core) so I was able to use GitHub insights from that date to the
present. That list can be found here:
https://github.com/hyperledger/sawtooth-seth/graphs/contributors?from=2017-11-17&to=2018-03-29&type=c
I merged the commit counts from these two lists and took all the names that had
more than 10 commits.
The list has been sorted by first name.
Signed-off-by: Adam Ludvik<EMAIL_ADDRESS>

Amended to remove @nick-drozd, whose contributions were largely renaming for API stabilizations.


Do not see the vNet<> Block association option

Describe the bug
IPAM is installed in a test environment, where it is limited to a specific management group. The public access is disabled, and Azure PE + Private Dns Zone is used for all the Application components. I can see all the vNets and subnets that are created under the test management group, as soon as they are created.
I do not see vNET<> Block association option.
Steps to reproduce the behavior:
I go to  Configure > Basic > Block, when I try to associate a vNet to a Block, as it is described in the documentation, I do not see the "Virtual Networks" option after clicking on the 3 ellipses.
Although, IPAM associate the vNETs that their IP range falls under the CIDR of the created Block, automatically.
Is this the new way that vNets are associated to Blocks?

OS: windows 11
Browser [ chrome]
Version [127]

Thanks,

Hi there @rshamsz, my apologies as I've been moving some items around within the UI to give certain components more room.
Here is the updated way to accomplish that:
Menu -> Configure -> Associations

Select Space & Block at top

I hope this helps and I'll make sure the docs are updated ASAP.

Thanks for your reply;

Thanks, it is working now.


Franz-wide internationalization

Description

Franz can now be internationalized outside of React components, including menu items and validation messages.
Motivation and Context

Previously, menu items and validation messages were hardcoded to English, providing a mediocre international experience when switching languages.
Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).

merged in #759


Metalhead integration

To close #205 and #162.
Does not need https://github.com/FluxML/Metalhead.jl/issues/176 but includes a temporary hack that can be removed when that is resolved. This PR defines a generic metal(Constructor) wrapper, but this won't work as advertised (and cannot be made public) until https://github.com/FluxML/Metalhead.jl/issues/176 is resolved.
WIP. See the metal docstring for more details.
Todos (incomplete):

[x] Add catch for disallowed kwargs in metal(Constructor)(args..., kwargs...)
[x] Add show method for the wrappers

Codecov Report

Merging #206 (64f9b3d) into dev (b3fa3a8) will decrease coverage by 3.18%.
The diff coverage is 63.33%.

@@            Coverage Diff             @@
##              dev     #206      +/-   ##
==========================================
- Coverage   92.27%   89.09%   -3.19%
==========================================
  Files           9       10       +1
  Lines         246      275      +29
==========================================
+ Hits          227      245      +18
- Misses         19       30      +11

Impacted Files
Coverage Δ

src/builders.jl
100.00% <ø> (ø)

src/metalhead.jl
62.06% <62.06%> (ø)

src/types.jl
85.71% <100.00%> (ø)

Continue to review full report at Codecov.

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

Closed in favour of #208


MSML Capabilities Listing

Maybe this can be part of a research note with where we are at and where we want to go i.e. GUI

Writing a spec that has automated reporting attached to it in the form of an obsidian vault
Binding code and trying out running spaces and blocks
Mini simulations
There are a lot of future capabilities that are in flight including more reporting styles, meta-programming to cadCAD, bigger simulation running and canonical examples
I will do a more formal review of these things and try to see if maybe I can use it for better defining a where we are at vs. where we want to go kinda roadmap for MSML


nixos/prosody: support mod_http_file_share

Motivation for this change
Add some support for mod_http_file_share available with the new prosody 0.12.0. It's not at feature-parity with the old mod_http_upload, hence this proposal introduces a new httpFileShare group of options. freeformType is used for extensibility and we may want to type some options later on.
Things done

[X] Add option services.prosody.httpFileShare
[X] Add an entry in httpDiscoItems for cases where the domain is not a sub-domain of the main domain.
[X] Fix xmppComplianceSuite assertion.
[X] Document that httpUploadPath is only for mod_http_upload (mod_http_file_share stores in /var/lib/prosody/<escaped-component-name>/)
[X] Tested only on my own prosody server and Gajim.

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

[X] Fix infinite recursion when building the manual (nix -L build -f nixos/release-small.nix nixos.manual.x86_64-linux) by adding a custom description attribute to the freeformType of httpFileShareOpts.

[X] Fix conflicts due to mdDoc calls introduced by 2e751c0772b9d48ff6923569adfa661b030ab6a2

[X] Fix still missing mdDoc calls.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/801

needs a rebase.

PING

[X] Rebase after breakages by commits 6afb255d976f85f3359e4929abd6f5149c323a02 and 933a41a73fe2174b90cabb7d671ee2cc5658701a


Update README.md

need extra schema field

@GeraldGrootRoessink
Thanks! I'll ask @amercader to take a look

@GeraldGrootRoessink thanks for this 🙏  and sorry it has taken so long to get merged 😄

c`````````````````


Add printable attribute to collection schema

@bharatkashyap - you can update the schema of the "object primary category definition" to handle this use case. No need to introduce it in at core object level. So, closing this PR.
cc: @pallakartheekreddy @vrayulu


[V3] Add basic Node plugin support

Motivation
Provide relevant context and motivation behind the change, if any
Changes
Describe the solution and changes you have made
Checklist

[ ] Existing or new tests cover this change

Closing this as I'm splitting it up into separate PRs


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Missing info about event deprecations between 2.3 and 3.0

In my app, I had been using the SentrySymfonyEvents::SET_USER_CONTEXT event to add my user context info to Sentry.  When updating to 3.0, I found this event is no longer present with no mention of this B/C break in the upgrade guide.  I can work around this, but I think it'd be helpful if the upgrade docs at least noted the SentrySymfonyEvents::PRE_CAPTURE and SentrySymfonyEvents::SET_USER_CONTEXT events were removed so there's less surprise for users of the bundle.

 As a code example, the basic user data set by the bundle should be enough, we just have to point that in the doc.

I've opened #218, WDYT?

Works for me, thanks!

Hello,
Do these removals explain why with sentry-symfony 3.0.0, instead of having username of affected user I now just have his IP address ?

The default RequestListener only processes the IP address, if you need more info you'll need your own listener.  I opted to replace the RequestListener::onKernelRequest() listener with my own listener for this purpose:
<?php declare(strict_types=1);

namespace App\EventListener;

use App\Entity\User;
use Sentry\State\Hub;
use Sentry\State\HubInterface;
use Sentry\State\Scope;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;

final class SentryContextListener
{
    /**
     * @var HubInterface
     */
    private $hub;

    /**
     * @var TokenStorageInterface|null
     */
    private $tokenStorage;

    /**
     * @var AuthorizationCheckerInterface|null
     */
    private $authorizationChecker;

    public function __construct(HubInterface $hub, TokenStorageInterface $tokenStorage, AuthorizationCheckerInterface $authorizationChecker)
    {
        $this->hub                  = $hub; // not used, needed to trigger instantiation (copied from SentryBundle's RequestListener)
        $this->tokenStorage         = $tokenStorage;
        $this->authorizationChecker = $authorizationChecker;
    }

    public function onKernelRequest(GetResponseEvent $event): void
    {
        if (!$event->isMasterRequest()) {
            return;
        }

        $currentClient = Hub::getCurrent()->getClient();

        if ($currentClient === null || !$currentClient->getOptions()->shouldSendDefaultPii()) {
            return;
        }

        $token = $this->tokenStorage->getToken();

        if (!$token) {
            return;
        }

        /** @var User|string $user */
        $user = $token->getUser();

        $data = [
            'ip_address' => $event->getRequest()->getClientIp(),
        ];

        if ($user instanceof User) {
            $data['id']    = $user->getId();
            $data['email'] = $user->getEmail();
            $data['name']  = $user->getFullName();
        }

        Hub::getCurrent()->configureScope(function (Scope $scope) use ($data): void {
            $scope->setUser($data);
        });
    }
}

And relevant container extension:
<?php declare(strict_types=1);

namespace App\DependencyInjection;

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
use Symfony\Component\HttpKernel\KernelEvents;

final class AppSentryExtension extends Extension implements PrependExtensionInterface, CompilerPassInterface
{
    public function load(array $configs, ContainerBuilder $container)
    {
        // Required for interface
    }

    public function prepend(ContainerBuilder $container)
    {
        $bundles = $container->getParameter('kernel.bundles');

        if (isset($bundles['SentryBundle'])) {
            $deployedHashFile = $container->getParameter('kernel.root_dir').'/deployed.txt';

            if (file_exists($deployedHashFile)) {
                $deployedHash = trim(file_get_contents($deployedHashFile));

                if (!empty($deployedHash)) {
                    $container->prependExtensionConfig(
                        'sentry',
                        [
                            'options' => [
                                'release' => $deployedHash,
                            ],
                        ]
                    );
                }
            }
        }
    }

    public function process(ContainerBuilder $container)
    {
        // Remove the kernel.event_listener tag for the kernel.request event, we are using our own listener
        if ($container->hasDefinition('Sentry\SentryBundle\EventListener\RequestListener')) {
            $definition = $container->getDefinition('Sentry\SentryBundle\EventListener\RequestListener');
            $newTags = [];

            foreach ($definition->getTags() as $tag => $properties) {
                // Only processing kernel.event_listener tag
                if ($tag !== 'kernel.event_listener') {
                    $newTags[$tag] = $properties;

                    continue;
                }

                if (!isset($newTags['kernel.event_listener'])) {
                    $newTags['kernel.event_listener'] = [];
                }

                foreach ($properties as $property) {
                    if ($property['event'] !== KernelEvents::REQUEST) {
                        $newTags['kernel.event_listener'][] = $property;

                        continue;
                    }
                }
            }

            $definition->setTags($newTags);
        }
    }
}

Thanks for sharing your code.
After checking sentry code, I found that username was supposed to be included in details.
I eventually figured out that setting the send_default_pii option to true bring username back to sentry. So I guess this option switched from true to false with 3.0 release.

send_default_pii is a new option of the 2.0 base SDK, which has to be turned off by default for GDPR compliance. I've opened #220 to document it.

@mbabker you don't need to override the listener to change stuff in the Scope, you can just add your listener ad make it run with the default priority of 0. The default listener runs at priority 1, so before yours, which will override the info.
This is documented in the upgrade docs: https://github.com/getsentry/sentry-symfony/blob/master/UPGRADE-3.0.md#changes-in-the-services


update the README.rst

Update the README.rst:

step by step explanation on how to use the library (read/write/etc). "it's just dict with a commit" really doesn't cut it.
add section on performance. this thing  work effectively with large files, even larger than memory. it's AWESOME. that alone is a reason to use, much better than a json.dumps(allobjects) when starting up a project.
highlight support for JSON. json is great, pickle is blanket banned in many places due to critical security vulnerability.

I wanted to say this library is AMAZING. I am gonna use that for so many things!
And to think I almost skipped it because the intro was meh for a first use.

Not sure about this. @mpenkov do you reckon this really improves the documentation?

Yeah, I think it's a step in the right direction (the project doesn't get a lot of attention), but obviously needs more effort.

What python version does the project support?

The doc said 2.5 to 3.4
The travis.yaml says 2.6 to 3.6.

2.6 is long end of life.

Officially end of life in 2013.
It's used in /usr/bin/python RHEL/Centos 6 though, so supported by RedHat. The extended extended extended paid support is ending on November 2020.

I am surprised Travis stills offers python 2.6. It's probably the stage where they might drop it any minute.
Might want to drop python 2.6 and add 3.7+ 3.8

Might want to drop python 2.6 and add 3.7+ 3.8

I agree. Moving sqlitedict to support only 3.6+ would be awesome – people who still need older Pythons can install older versions of sqlitedict.

I have a problem with getting doctest to work.
I think the idea of testing the examples is great but the implementation clearly doesn't work.
Trying to run doctest.testfile("README.rst") on the file currently in master fails with a bazillion of error.
The thing clearly doesn't work and was never part of the travis build+test.

I'd rather have broken doctests (14 out of 21 ain't that bad) then no doctests at all.
What's the actual problem with the tests? It shouldn't be that hard to fix.

After fixing the print statement (need parenthesis on python 3). doctest is throwing random errors about unexpected end of file, syntax error, indentation errors, expected output but got something else, etc... Just run and see for yourself doctest.testfile("README.rst").
I tried to investigate but it's nonsense to me, looks like it's failing to parse or it's expecting a quite different format.
There are 5 code blocks in total, there shouldn't be 21 tests founds in the first place.

I think I've edited everything that was mentioned.
There's only the issue with doctest left that is not due to my edit, it didn't work before.


Mariculture fluid tanks cause a client crash when Liquid XP is stored in them.

This seems to be an issue between Mariculture, Immibis Liquid XP, and da3dsoul's Additional Buidcraft objects. The crash only happens if liquid xp is stored in Mariculture tanks, other tanks (buildcraft, railcraft, etc) that I have tested with work correctly.
crash-2015-11-15_17.19.51-client.txt

What pack is this?
Try reporting this to the other developers, joshiejack seems to be gone.

its my personal modlist, and since the issue is only with mariculture tanks reporting it to the other developers would not yield many results either. It luckily is minor to work around, i.e. don't use the mariculture tanks with immibus liquid xp, so it is not critical. If Joshie comes back or another picks this up they have some info to try and fix it with, if not then when this mod goes stale it would be insignificant.


The first question

I'll start 😀
Is Aurora your real name?.. and why raptor (from Latin)? 🦖

First of all, I apologize for the delay in responding to you.
Yes, Aurora is my real name. I chose raptor because in Latin it translates to predator, reflecting my passion for hunting new knowledge. auroraptor could be loosely translated as golden plunderer (it has a grammatical error). Its meaning is also something I appreciate. Plus, who doesn't love dinosaurs? 🦖

Aurora, hello!
Thanks for the detailed answer. It's always interesting to know the history of a nickname. Although I don't know you very well, it seems to me that you are a really interesting and inquisitive person. Wish you further improvement (and life balance for sure).
P.S. Oh, it's the Russian version of the ama :)


[MAD][DATA1018][lab-errhand_listcomp] alberto garcia cobo

Inicio de la pull request

Well done Alberto!! Great job!! I thought you were going to complete the bonus!! I would have liked to see it!!
Keep on going like a PRO!! Congrats!!


2015/03/07 01:19:08 rfc5424: write udp <IP_ADDRESS>:514: message too long

When this occurs, Logspout crashes.  Minimally, this should be handled a bit more gracefully so that a badly behaved app can't interfere with log capture.
That said, it looks like the Deis folks have a patch:
https://github.com/deis/deis/pull/2375/files

Cool, it's fixed in new branch that'll be in master soon.

hi Jeff,
Is this in master at the moment? If not, can you refer me to the branch you're talking about?
Also, what's the root cause of that? Is it the log message being too long to be handled by logspout or by downstream syslog service? What should I do with this if I have potentially longer log messages (with stack traces and so on)?
Thanks

Yeah logspout is really unreliable for me now. Seems like any error will cause logspout to just stop working until you restart it, whether it's "message too long" for UDP or "connection timed out" for TCP.

@gigablah you should file issues for specific behavioral changes that you want to see. I think it's only half fair to say it's "unreliable" ... it's failing fast on errors. Either give it a restart policy or get specific about what it should do instead. :)

A restart policy sounds good but the thing is that the logspout process continues running so it wouldn't trigger. Is there some sort of "exit upon error" flag?

Oh I thought it did. It doesn't. That's right. Yes, an "exit on error" behavior option is probably called for. In fact, if there is only one adapter, it should always do that.

Great :) Maybe I should file this as a separate issue? Or maybe you can do that.

I edited my comment to suggest that, yes please.


Remove ivan

For the record, imeredith apparently has never logged in to Artifactory, which is required for the (LDAP-backed) account to get created. Therefore Artifactory rejected this permission target with

"Permission target contains a reference to a non-existing user 'imeredith'."

I will update the documentation accordingly, and will implement a retry mode that strips out non-existent user names.


Make Ctrl+P, Shift+Enter open new preview tab and keep current one (if exists in current editor group) premament as for editing

VSCode Version:
OS Version:

Steps to Reproduce:

Reproduces without extensions: Yes/No

VSCode Version: 1.17.2
OS Version: MacOS 10.12.6
This has proven to be a serious impediment. Cmd+P is now essentially useless b/c it will just open in the same tab (unless I have unsaved changes in current tab). So to open a new file I have to find it in menu on left and triple-click, because single- or double-clicking opens the file in same tab. This was not the behavior in the last major release (1.16).
Let me know if I can provide any further details.

I'm not sure I completely understand the issue, but, isn't this something...
    "workbench.editor.enablePreview": false,

...would solve?

That does seem to solve it. Thank you!

No problem. :) I remember I too was struggling with this "annoying tabs stuff" a while ago and this was the option that solved my frustration with it.

/duplicate https://github.com/Microsoft/vscode/issues/30530


Update repositories.txt

Hi @80Stepko08. Please provide a detailed description of the purpose of this pull request.
While anyone is welcome to submit libraries, I must verify removals are done with the authorization of one of the library's maintainers.

Hi @80Stepko08. Please provide a detailed description of the purpose of this pull request.
While anyone is welcome to submit libraries, I must verify removals are done with the authorization of one of the library's maintainers.

I'm author of Sbutton
But organisation where was that library was deleted
I made repository in my account with some changes


feat: add permission check for auto-login feature

fix: https://github.com/casdoor/casdoor/issues/3342

@dacongda plz review

Closed for now


Offline mode malfunction

Issue Type

[ ] Bug

Description
Service worker not working while offline.
"Unknown error occurred when fetching the script"
webpack-offline plugin installed and seems to be working (see image), not sure how to debug.

Steps to reproduce

Load site on https://eth-hot-wallet.com
Go Offline
Reload Site

Site should appear as regular.
Versions

ETH-Hot-Wallet (see package.json): 0.1.2
Browser: chrome / firefox / ios 11

Closing after discussion NekR/offline-plugin#328


Eliminated $vmap function on $Vector

$Vector type already has a $select_vector function that reads a vector at a single index.
The function $vmap returned an integer map corresponding to the given vector, but was predominantly used to access values at individual indices. It also broke through the abstraction layer on the $Vector type. This change eliminates the $vmap function in favour of $select_vector.

@junkil-park : The MIRAI bot is failing.  Thoughts?

@bors-libra r=shazqadeer

:pushpin: Commit 6be2005 has been approved by shazqadeer

:hourglass: Testing commit 6be2005ee24db549818f286b3662bc1632bd8da5 with merge 35e76f86f051c9c7dc018ea1479a3b4ee41d5123...

@murali24adithya murali24adithya, could you rebase your PR on the upstream/master and push again?
I see an error message: "Error: Unexpected prover output (expected none): Move prover returns: boogie exited with: Output { status: ExitStatus(ExitStatus(256)), stdout: "Use /help for available options\n", stderr: "Boogie: Error: unknown switch: -noinfer\n" }"

@junkil-park : I think I understand why MIRAI bot is failing.  It is because it runs on the bits pushed by @murali24adithya and not on the merged bits.  I suggest we go ahead and land this PR and I will work with Adithya to make sure he sorts this out for subsequent PRs.

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: shazqadeer
Pushing 35e76f86f051c9c7dc018ea1479a3b4ee41d5123 to master...


Create Commands with Arguments? Example: kick

Hello, i'm fairly new to Discord.js, and i havent figured out how to make a kick command that works like this:
kick @User231
i know how to make commands and such, but not with arguments like Players.

There are many ways to do this
*The easiest one:
You test your string against the command
if (message.content.startsWith("kick") )
then you can split it by spaces: var words = message.content.split(' ');
and then you retrieve
let usertokick;
if( words.length > 1 ) usertokick = words[1]

*Another approach:
You create a regular expression with groups:
var kick = /^kick (.+)$/; Then you test it
if ( kick.test( message.content ) )
let username = kick.exec( message.content ).match[1];

Thanks for the Reply, i'm running into an issue when trying to kick a User, i always get the Error
TypeError: Cannot read property 'id' of null
Here's my code:
`			if (m.content.startsWith("c:kick") )
var words = m.content.split(' ');
		console.log("Kick command executed")
		channel = m.channel
		server = m.server
		var user_permissions = channel.permissionsOf(m.sender);
		var kickPermission = user_permissions.hasPermission("kickMembers");
		if(kickPermission) {
			let usertokick;
			if( words.length > 1 ) usertokick = words[1]
		console.log(usertokick+ " has been kicked")
		server.kickMember(usertokick)}}`

Well, in your code "words[1]" would be a string (something like "<@1234567890>") while in order to kick someone you need a user object. You can get the user object from a mention in a message like: m.mentions[0] (gets the user object for the first mention in the message). Here's a code snippet that could work for you:
`
if (m.content.split(' ')]0] == "c:kick") {
if (m.channel.permissionsOf(m.sender).hasPermission("kickMembers") {
bot.kickMember( m.mentions[0], m.server, function(err) {
if (err) console.log(err);
console.log("Kicked " + m.mentions[0].username + ".);
bot.sendMessage(m.channel, "User kicked.");
});
} else {
bot.sendMessage(m.channel, "You don't have permission to kick.");
}
}
`

@TeeSeal
after alot of debugging of your code i ended up with this error upon kicking:
   error:       { Error: cannot DELETE /api/guilds/178890089374547979/members/199461099999854592 (403)           at Response.toError (/usr/lib/node_modules/discord.js/node_modules/superagent/lib/node/response.js:106:13)           at Response.setStatusProperties (/usr/lib/node_modules/discord.js/node_modules/superagent/lib/node/response.js:183:12)           at new Response (/usr/lib/node_modules/discord.js/node_modules/superagent/lib/node/response.js:42:8)           at Stream.<anonymous> (/usr/lib/node_modules/discord.js/node_modules/superagent/lib/node/index.js:918:22)           at emitNone (events.js:91:20)           at Stream.emit (events.js:185:7)           at Unzip.<anonymous> (/usr/lib/node_modules/discord.js/node_modules/superagent/lib/node/utils.js:108:12)           at emitNone (events.js:91:20)           at Unzip.emit (events.js:185:7)           at endReadableNT (_stream_readable.js:973:12)         status: 403,         text: '{"code": 0, "message": "Privilege is too low..."}',         method: 'DELETE',         path: '/api/guilds/178890089374547979/members/199461099999854592' },
code:
			if (m.content.split(' ')[0] == "c:kick") { 				if (m.channel.permissionsOf(m.sender).hasPermission("kickMembers")) { 				c.kickMember( m.mentions[0], m.server, function(err) { 					if (err) console.log(err); 					console.log("Kicked " + m.mentions[0].username + "."); 					c.sendMessage(m.channel, "User kicked."); 				}) } else { 			c.sendMessage(m.channel, "You don't have permission to kick."); 			} 			}

Update: Resolved, bot group wasn't Ordered right, Thanks for the help everyone!


lets add an event infrastructure

like this:
class hello {
 event onchange(arg: string);

 change() {
      onchange("hello world");
 }

}
event generates an mediator like this: https://github.com/Olical/EventEmitter

This seems pretty far out of scope to bake into the language at this point. You might be able to emulate this reasonably well with decorators, though.


think about package structure

[x] hierarchy of classes
[x] modules composition for better inheritance of classes
[x] comositions (example: card -> deck -> player -> game)

https://docs.google.com/drawings/d/1Lm6cTZFhzjPxJe8s9pK6hnYjGQaYBPk0Y6yQ7Dy1sQw/edit
game
tools
stuff
errors
loggers
utils
construct - for types and base construct (like Components class, f.e.)
players


Jwt frontend implementations

Description
check for expired token
if !token or expired => login page
else => homepage
getID() and getUsername() under frontend/lib/pages/jwtTokenDecryptService.dart
Jira Ticket

https://garrysjh.atlassian.net/browse/DIP-[your ticket number]

Fixed merge conflicts, merging


Some Terminology is introduced without context or definition

One of the better series of documents for a complex topic. Thank you.
But since the topic is complex, and there is a lot of new terms and concepts, an explanation of new terms when first introduced would be a great help. For example, under security tokens, new terms are introduced that without definition and context cause the reader to pause and think they missed something. Presumes the reader has knowledge of these terms and their context.
A claim provides assertions about one entity to another - not clear until much later in the doc
Identifying the subject's directory tenant - subject's?

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

ID: 6d1a08b2-74d4-6350-70c5-6661ef4f7ad1
Version Independent ID: 52059965-3709-2520-0ed0-82c22648fea2
Content: Authentication in Microsoft identity platform
Content Source: articles/active-directory/develop/authentication-scenarios.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@fpiazza99 Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

I have provided what I hope is some additional context that is helpful, and provided links for new terms to our glossary.
The changes will be live by possibly Tues (2/4/2020) but no later than Wed morning (2/5/2020)
#please-close


Flake8 rule 'E901' reported an invalid point

Flake8 reported an invalid point for the rule E901, with the messge SyntaxError: invalid syntax.

Debug information:
Atom version: 1.12.9
Flake8 version: 2.5.4 (pep8: 1.7.0, mccabe: 0.2.1, pyflakes: 1.1.0) CPython 3.5.2 on Linux

Please update your flake8 version (pip install -U flake8). This particular error should be fixed in flake8>=3.2.1.

Closing as a duplicate of #331 as you posted a screenshot there.... the problem is still an outdated flake8 version though.


Increase readability of strong font-size color

Hello,
I would like to suggest the following CSS change to the template:
strong {
   text-shadow: 0 0 0 __text__;
}

Because it's difficult to differ bold text from non-bold text.
Before:

After:

Thank you for your suggestion.
But it could depend on the fonts you are using and adding text-shadow makes some fonts too bold and blurred. I want to leave that to each user whether to make it bolder or not. So please put the style in userall.css.

I understand. I noticed that the bold seems to render as expected on Windows, it just doesn't seem right on macOS. I'd applied the change manually at the conf/userstyle.less file. Thank you!


chore: move defaultUpgradeStrategy from USDE config to numaplane-controller-config

Fixes #415
Modifications
Moved the defaultUpgradeStrategy env var from USDE Config to numaplane-controller-config.
Verification
Unit tests and e2e tests.

merged, I will remove those files in my PR


Make Ribbons Check for release

Sometimes the ribbons drop things/aren't re-generated. Make a check list for each release to make sure these are tested:
A few ideas:

Make sure "other is filled"
Make sure "new annotations are seen"

done


Worm's Repast

Worm's Repast does not automatically calculate the persistent piercing damage for either of the damage options and does not calculate for the heightened version of the spell.

Can you provide a screenshot?
I checked on my end and the spell is properly heightening the persistent damage when cast at higher spell slots.

On my end, the spell shows heightening the base damage to 6d6 but it does not include the persistent damage or the off guard or slowed conditions on failures and critical failures, respectively. Thanks for looking at this. Regards, Ed
…

Have you tried refreshing the copy of the spell?

How do you refresh the copy of the spell?  I usually do the updates as soon
as they come in.
On Mon, Jul 1, 2024, 13:33 Simon Ward @.***> wrote:

On my end, the spell shows heightening the base damage to 6d6 but it does
not include the persistent damage or the off guard or slowed conditions on
failures and critical failures, respectively. Thanks for looking at this.
Regards, Ed
… <#m_-1126966245217301132_>
Have you tried refreshing the copy of the spell?
—
Reply to this email directly, view it on GitHub
https://github.com/foundryvtt/pf2e/issues/15310#issuecomment-2200685407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJRVT6QZZLGJHH2XDSH42Y3ZKGHHZAVCNFSM6AAAAABKEQNCISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGY4DKNBQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

How do you refresh the copy of the spell? I usually do the updates as soon as they come in.
…

You can either remove the spell and re-add it from the compendium, or open the copy of the spell and click the Refresh button.

@simonward even with a fresh version it doesn't work:

That's the specific error, something with the scaling formula is very upset:
[[/r floor(@item.level/2)d6[persistent,piercing]]]

Consider refreshing Volluk's copy


Better parsing of cellpose arguments

Noticed by @lacan:
https://forum.image.sc/t/fiji-wrapper-s-for-cellpose-and-omnipose-new-version-big-decisions/94735/40
we need to trim white spaces after splitting by commas, and maybe remove empty strings in case there's a trailing comma

Normally fixed in commit mentioned above


Parse selected dates and style date list items in /calendar 🗓

The new design includes adding dates to the screen as they're clicked. Currently the selected dates are displayed in an unstyled list and as a stringified Date object.
Todo:

parse the date into a more human-readable form
style the list

Current:

Hiya, the design is being iterated still so there's no 'final' version that we have around. But here's a recent tweet that gives an idea what direction we're moving in.
https://twitter.com/CDS_GC/status/989245581963988993
But yes, your two bullet points are correct, and I'll update this as we go.

Hey @chowdhurian, I've created a project for the calendar which might be a more proactive way to go about showing our work.
If you raise any more calendar-related issues (and feel free to!), I'll stick them in the project so that progress on them is visible.

That's an interesting coincidence, @pcraig3. In a project discussion yesterday, we touched on using Github's Project feature but stayed with Trello because none of us had used it before. But Trello feels more closed, so I'll use this as an evaluation of how the feature lends itself to open source work.


MySQL backend not support tables with JSON field type

Where try to select a table with JSON field type i get the error
Error: Unknown data type while executing "Select * From MyTable"
I look in the backend of Mysql. I found this:

One missing entry in the switch needed to avoid the error.

Generally, most nodejs/java/c# drivers treat this type as a normal varchar/string. To perform an insert or update we just put a string in the json field and this works. Mysql server doesn't complain about that, only required the string has the proper json format.
cmd.insert( "Insert Into MyTable( id, json_field ) Values( 10, '{ \"field\": \"value\" }' )" );
Solution:

Please don't submit patches as screenshots, this is just cruel. Please make a pull request instead. Thanks!

But!! is only one line.... You can add in the next release.


net: wifi_shell: Display TWT capability of AP in scan results

Include TWT capability in scan results.

@rlubos can you take a look please?

Instead of adding TWT capability to scan results, we can display this information in connection status. Closing this PR.


I am getting nil each time trying to retrieve image from cache

I have added a bool in return in addImage function in imageCache just to get first-hand knowledge that either my image is being cached or not.
if let imageIsInCache = self.cachedImages[identifier]{
if imageIsInCache.totalBytes > 0 {
cacheStatus = true
} //thats all i did
Before i was getting false than tried through download manager like this
let imageDownloader = ImageDownloader(
configuration: ImageDownloader.defaultURLSessionConfiguration(),
downloadPrioritization: .FIFO,
maximumActiveDownloads: 15,
imageCache: AutoPurgingImageCache()
)
let downloader = imageDownloader
Alamofire.request(.GET, request, headers: headers)
.responseJSON { response in
if let JSON = response.result.value {
self.imagesArray = NSMutableArray()
self.imagesArray = JSON["results"] as! NSMutableArray
for results in self.imagesArray{
let URLRequest = NSURLRequest(URL: NSURL(string:results["url"] as! String)!)
downloader.downloadImage(URLRequest: URLRequest, filter: nil, completion: { response in
if response.response?.statusCode == 200{
print("In the house fetching url: (results["url"] as! String)")
let image = response.result.value
print("Size of image: (image?.size)")
let returnValue = downloader.imageCache?.addImage(image!, withIdentifier: results["url"] as! String)
print("return status: (returnValue)")
if results .isEqual(self.imagesArray.lastObject){
self.activityIndicatorView.stopAnimating()
self.activityIndicatorView.hidden = true
let fic = self.imagesArray.firstObject
print("getting image for this url : (fic!["url"] as! String)")
var imageC = UIImage()
imageC = (downloader.imageCache?.imageWithIdentifier(fic!["url"] as! String))!
self.ssImage.image = imageC
print("Image : (imageC.size))")
}
}
})
}
}
}
I am getting true each time now. Even if that logic is a completely wrong,  size of the image I am printing before adding the image to cache is proof for that I am giving image to cache.  I don't know when I am trying to retrieve it I am getting nil. I was trying with different method before and through debugging i noticed that whenever i iterate over breakpoints one by one i got images from cache, i believe that it is because it gets some time to play may be, but i am really very unsure about everything which is going on. Please if you can suggest me something i can do ? Just would like to add before i was caching 30 images may be those images were of small size than these ones.

Wrong project @mQ92. You'll want to file this in the AFI project instead. Also, if you could spend some time properly formatting your question, that would be much appreciated. Also consider whether or not this question should be opened on AFI, or Stack Overflow. We only use GitHub for bug reports and feature requests.
Cheers. 🍻

@cnoon Oh i am really sorry about that. let me take another path.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit e3dc5ee:
:clock10: Pending: waiting for processors (33 builds ahead of you)
:warning: Docs Build is busy, currently there are 33 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit e3dc5ee:
:clock10: Full build: the average full build time is 6 min(s) 41 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit e3dc5ee:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Null Safe Operator removed

Pint Version: 0.2.1
PHP Version: 8.1.3

Description:
pint is removing the null safe operator whilst fixing other issues. So before applying pint I have the following:
$result = $something?->else;

And after running pint
$result = $somethingelse;

After running some tests it seems to happen reliably when fixing other issues, for instance when reformatting braces, as shown below...
Steps To Reproduce:

Install a new Laravel app.
Created a new model "Test"
In Test.php created a new function:

    public function foo($something) {
        $result = $something?->else;
    }

Run pint: ./vendor/bin/pint
Fixes one issue

Fixes the brace but also removes the null safe operator

    public function foo($something)
    {
        $result = $somethingelse;
    }

If the brace was in the correct place to start with:
    public function foo($something)
    {
        $result = $something?->else;
    }

Then running pint finds nothing to change or fix.

You will need to share more information, as I can't reproduce the issue. Share your "pint.json", OS, etc.

I checked on Ubuntu 20.04, with default config.
`<?php
class Test {
public function foo($something) {
$result = $something?->else;
}
public function bar($something)
{
    $result = $something?->else;
}

}
`
Output is the same as expected:
`   <?php
-class Test {

public function foo($something) {
+class Test
+{

public function foo($something)
{
$result = $something?->else;
}

@@ -9,5 +11,4 @@
{
$result = $something?->else;
}
}
`

I will re-open the issue once we have more information about "pint.json", OS, etc.

So I never created a pint.json file. Just a clean install of Laravel and then install of pint through composer, nothing else (not added any explicit rules).
But I did just created one and added the standard laravel preset, as per the setup documentation but still the same end result.
I'm on MacOS 12.3 and an M1 Max processor.
Running everything through Docker / Sail
(But have also run direct on my mac and same issue)
Not sure if there is anything else that would be helpful?


Fix compilation with VS2010

prevent compiler from complaining that functions don't return a value.

LGTM, waiting for green

Everything's green except some known issues with git clone.


SVGs native rendering

SVG are key elements in our app. We use them for stickers (from Noun Project), and for large frameworks. Users can even drop their own SVGs to their murals.
Here is an example of a mural:

Since we can't natively render SVG in XAML, we tried the next solutions:

Using WebViews: This will render our SVG perfectly but the performance of the app drops significantly.
SvgForXaml: This library didn't work for us since it fails to render many of our SVG files.
Pre-loaded .png files: This works, but only if we don't resize the elements (which we need to), and if we don't support user SVGs (which we also need to)
WebView to .png: This looked like promising but it failed to work for many reasons. First, you need to have the webview actually added to the xaml tree to make it work. Secondly, we can't seem to take a screenshot of a WebView that has transparent backgrounds. For this reason we had to take two screenshots and then figure out transparency to create another image. Third, it didn't consistently work.

Any thought? This is super important for us!

You should be able to break down an SVG and use it as a Path within a Canvas. I've used this in apps in the past. For example, your SVG might contain the following (I grabbed an open domain airplane from the NounProject):
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 97.239 100" enable-background="new 0 0 97.239 100" xml:space="preserve">
<path d="M42.732,5.521c0.01-7.396,11.138-7.396,11.151,0.207v30.956l43.355,26.108v11.412L54.091,60.032v23.137l9.953,7.814V100
	l-15.373-4.741L33.248,100v-9.017l9.9-7.814V60.032L0,74.205V62.792l42.732-26.108V5.521L42.732,5.521z">
</path></svg>

The <path> tag should be compatible with the Path object in XAML. Usually I'd do something like this:
<Viewbox Width="50" Height="50">
    <Canvas Width="97.239" Height="100">
        <Path Data="M42.732,5.521c0.01-7.396,11.138-7.396,
            11.151,0.207v30.956l43.355,26.108v11.412L54.091,
            60.032v23.137l9.953,7.814V100l-15.373-4.741L33.248,
            100v-9.017l9.9-7.814V60.032L0, 74.205V62.792l42.732-26.108V5.521L42.732,5.521z"
            Fill="Black"/>
    </Canvas>
</Viewbox>

It should work even as you add complexity and additional paths. Have you explored using this technique? Wrapping this in a control that takes in an SVG file and parses it could also be pretty cool.
One alternative could also be to draw the content using Win2D into either a Win2D Canvas (a XAML control) or into a CompositionDrawingSurface (which you would then set to be the content of a Visual). However, that seems to be what SvgForXAML is doing, so you may want to let the developer know what you're seeing (or even contribute!).
Ultimately you may find that doing it manually with DirectX and drawing into a CompositionDrawingSurface to be the most robust way. The Microsoft.UI.Toolkit code shows how to draw a surface that is useable by a Visual. You can find that here.

Thanks! We will definitely try out those options!
Side question: How would you recommend downloading the .svg file? In our test sometimes the file downloaded corrupted or with incorrect characters.

That's strange. Usually something like this has worked fine for me:
private async Task<String> LoadSVG()
{
    String result = "";

    var picker = new FileOpenPicker();
    picker.ViewMode = PickerViewMode.Thumbnail;
    picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
    picker.FileTypeFilter.Add(".svg");

    var file = await picker.PickSingleFileAsync();

    if (file != null)
    {
        result = await FileIO.ReadTextAsync(file);
    }

    return result;
}

Closing this issue, since there hasn't been any activity within the week.

@mjracca just letting you know that rendering .svg files is now natively supported in XAML in the Creators Update. See SVGImageSource for more details. Hope this helps!

Amazing! thanks!


chore(error reporter): ignore hubspot errors by stacktrace file

Description

ignore errors whose stacktrace contains files matching //js.hubspot.com (they aren't impacting users, there's nothing to be done about them, and they are affecting our stability score on bugsnag)

:tada: This PR is included in version 1.239.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Document policy.spec.rules.context.apiCall

Sample policy:
apiVersion : kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: limits
spec:
  validationFailureAction: enforce
  rules:
  - name: limit-lb-svc
    match:
      resources:
        kinds:
        - Service
    context:
    - name: serviceCount
      apiCall:
        urlPath: "/api/v1/namespaces/{{ request.object.metadata.namespace }}/services"
        jmesPath: "items[?spec.type == 'LoadBalancer'] | length(@)"
    preconditions:
    - key: "{{ request.operation }}"
      operator: Equals
      value: "CREATE"
    validate:
      message: "Only one LoadBalancer service is allowed per namespace"
      deny:
        conditions:
        - key: "{{ serviceCount }}"
          operator: Equals
          value: 1

λ kubectl explain policy.spec.rules.context.apiCall
KIND:     Policy
VERSION:  kyverno.io/v1

RESOURCE: apiCall <Object>

DESCRIPTION:
     APICall is an API server request to retrieve data

FIELDS:
   jmesPath     <string>
     JMESPath is an optional JSON Match Expression that can be used to transform
     the JSON response from the API server.

   urlPath      <string> -required-
     URLPath is the URL path to be used in the HTTP GET request

@JimBugwadia, can you possibly provide some "starter" docs (in this issue is fine; I can pick up the torch) that describes the functions supported in JMESPath, the operators, and if things like wildcards are supported in that and urlPath along with a couple more examples?

Thanks, Chip! Working on it and will get a PR this weekend. I am thinking of splitting the "Variables" and "External Data Lookups" sections into separate chapters with more details on how variables are processed.

Yeah, I think those definitely should be separate pages. I'm hoping to work on the new features in docs this weekend. Also thinking more about how we can version the docs, the pain in doing so, and what value that provides...


refactor: add option to configure error propagation

Description
Provide an additional option to control whether the library should send the response with the validation error or let it get passed to the next error handler.
Related Issue
No issue related so far. I will add the link when created.
Motivation and Context
I'm working on a project in which it is necessary to register errors to a vendor analytic server. One of the approaches using the SDK of that tool is by setting an Express error handler and explicitly executing one of the functions available on their API. In our project, we are using swagger-endpoint-validation. The problem is that in the current implementation, validation errors are always captured, and therefore they never reach our error handler. We've tried initializing swagger-endpoint-validation after our own error handlers have been registered in the Express stack, but then the payload and params validation is not performed, so faulty data reaches our business logic making it crash.
After checking with the team, we agreed that adding an additional option that controls whether the error handle that this library uses propagates the error, or sends the response with the validation error.
To ensure backward compatibility, the error propagation is off by default. So current users of this library are not forced to set their own error middleware necessarily.
How Has This Been Tested?
I've used Node 16, as specified in the .nvmrc. Tests consist of 3 test cases:

If propagateError is true, the validation error should reach the next error handler
If propagateError is false or not defined, the validation error should not reach the next error handler

Screenshots (if appropriate):
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.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@neodmy LGTM

@all-contributors please add @neodmy  for code, test


Allow enabling debug mode in configuration

LGTM.

For future reference: this patch allows any .conf file to have the line
debug = true,
to enable debugging information at runtime, without having to recompile.


Investigate & fix soft_max failures

PR #240 has a workaround, commit b4d6805 [test_soft_max] Workaround for cases that often fail on Jenkins and always fail with ROCm3.3/Radeon VII.
Nevertheless, test_soft_max continues to often fail on jenkins, for example, see:

http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/develop/17/pipeline/
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/sqlite-binary-cache-reenable/3/pipeline/952

@daniellowell what is the status of this ticket?

@daniellowell following up with my request.

This still happens from time to time.

This still happens from time to time, more often on gfx1030 servers:
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/composable_kernel_init_integration_v3/35/pipeline
CC: @asroy @aserio @atamazov


Update to 1.1.0

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

npm package (@latest dist-tag)
v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Add loading images from prior sessions and sort by start time.

Images from prior sessions are now loaded at the start of a session. They will display in the blueprint page's list view sorted by start time. This PR should address issues #290 #269 #270 #271

I have found an issue with polling unfinished composes. I will push a fix tomorrow. This fix should also address #272

These updates look good! I can review again when you get the fix in that you mentioned, but I wanted to get your thoughts on something that I noticed.
In the redux inspector, I'm noticing that we don't display contents on the Blueprints page until we've fetched blueprint contents. But as soon as we have the blueprint names, we're fetching both blueprint contents and composes? And it looks like we're getting information about composes before blueprint contents. Since we don't display contents on this page until blueprint contents are fetched, this results in taking a long time to load contents on the page.
Is it possible to control the order that the state gets created, so that we wait until blueprint contents are loaded before getting the composes? I'm not sure this is a higher priority compared to other issues, but want to at least capture thoughts around how this could be solved later.
Can you describe how the composes array in the state gets it's data in the context of the Blueprints page? Maybe this is where I have a gap in my understanding of how redux-saga gets pulled in.
BTW, reviewing this highlighted an issue with how I was handling the loading state for the Blueprints page, so I added issue #305.

@jgiardino
In regards to the blueprint contents and composes loading, we should be able to check if the blueprint contents are loaded before calling the selector. If they aren't we can return an empty list and once they are the selector will get called to load the composes. I'll need to look more into this later, however, to make sure.
The way we load compose data is when a user opens the UI all of the composes will be immediately fetched from the API like we do with the basic blueprint info. When you go to a blueprint page a selector (getBlueprintComposes) is called which takes the compose state and selects the composes that correspond to the blueprint being viewed. These are then sorted by start time and the list is passed to the props of the blueprint page.

@jkozol, could you please fix the eslint issue? Thanks.
/home/travis/build/weldr/welder-web/core/apiCalls.js
  17:12  error  'err' is defined but never used            no-unused-vars
  27:12  error  'err' is defined but never used            no-unused-vars
  32:9   error  'page' is assigned a value but never used  no-unused-vars
  47:18  error  'e' is defined but never used              no-unused-vars

@henrywang Oops. Should be fixed now.

@jkozol, I got the "An Error Occurred" and "Internal error" when I load "http://localhost:9090/welder" first time. And web console reports "errorloadBlueprintsSaga". But it doesn't have same issue when I refresh this page. So it caused some end to end test cases failed. Could you please take a look? Thanks!

@henrywang I am looking into the test failures. In regards to your errorloadBlueprintsSaga on first load, what environment are you experiencing this in? I am unable to replicate it.

@jkozol, here's my review workflow:

checkout PR branch.
node run build
sudo docker run -d --name web --restart=always -v bdcs-socket:/run/weldr -v pwd/public:/usr/share/cockpit/welder --network host welder/web-lorax:latest
open http://localhost:9090/welder

These updates look good!
The only issue that I notice is there was a failed compose already in my vm. When I look at it in the list of images, the Date Created is showing today, but this is one that I had started last week. Maybe timestamps don't really reflect the start time? Maybe this was really an issue with my vm?  If there's a way to check using the cli what the timestamp is, I would, but I'm not sure there is a command for that. Let me know if you have any thoughts on this one.
As for handling when we get composes (i.e. immediately on page load vs on user action to view composes), I don't think we need to make any changes in this PR. This would be a good topic for discussion next week, and is probably a larger topic that potentially requires other changes than just how we get composes.

Timestamps are currently the last time the STATUS file of a compose was updated. This could be changed, and/or we could also add a start time by looking at the timestamp from one of the other metadata files like final-kickstart.ks

@henrywang I added explicit actions to trigger loading blueprints and composes and modified the sagas a little bit. Now, only the import content sanity test fails. Hopefully I can fix that issue during the hackathon.

Codecov Report

Merging #304 into master will increase coverage by 0.29%.
The diff coverage is 40.86%.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   37.22%   37.52%   +0.29%
==========================================
  Files          73       76       +3
  Lines        2165     2204      +39
  Branches      223      226       +3
==========================================
+ Hits          806      827      +21
- Misses       1200     1219      +19
+ Partials      159      158       -1

Impacted Files
Coverage Δ

pages/blueprintEdit/index.js
22.22% <ø> (ø)
:arrow_up:

core/store.js
71.42% <ø> (ø)
:arrow_up:

core/reducers/blueprints.js
16.36% <ø> (+1.36%)
:arrow_up:

core/constants.js
100% <ø> (ø)
:arrow_up:

components/ListView/ListItemImages.js
0% <ø> (ø)
:arrow_up:

core/actions/blueprints.js
100% <ø> (ø)
:arrow_up:

core/sagas/index.js
33.33% <0%> (ø)
:arrow_up:

core/reducers/index.js
33.33% <0%> (ø)
:arrow_up:

core/apiCalls.js
43.2% <0%> (-3.63%)
:arrow_down:

pages/blueprint/index.js
0% <0%> (ø)
:arrow_up:

... and 16 more

Continue to review full report at Codecov.

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


[ALLUXIO-2082] Allow s3a credentials to be stored in site properties

https://alluxio.atlassian.net/browse/ALLUXIO-2082

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10768/
Test PASSed.

thanks @calvinjia , I've left a couple questions.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10770/
Test PASSed.

LGTM


Update scalafmt-core to 3.1.1

Updates org.scalameta:scalafmt-core from 3.0.8 to 3.1.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Codecov Report

Merging #518 (a678831) into release/next (ef1d9ac) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           release/next     #518   +/-   ##
=============================================
  Coverage         57.16%   57.16%
=============================================
  Files                66       66
  Lines              1473     1473
  Branches             50       50
=============================================
  Hits                842      842
  Misses              631      631

Continue to review full report at Codecov.

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


[cxx-interop] Conform Swift pointers to UnsafeCxxMutableInputIterator

This is currently a no-op since we don't auto-conform custom types to any kind of MutableCollection protocols: UnsafeCxxMutableInputIterator is only used for std::map conformance to CxxDictionary in the overlay. However, this will be useful in the future if we start conforming mutable C++ containers to certain Swift protocols: that way containers that use raw non-const pointers as iterators would be treated as mutable in Swift.

@swift-ci please smoke test


Add event sources getter

This was just to add
t.getEventSources = getEventSources;

and
function getEventSources() {
	return sources;
}

But there were a bunch of lost tabs in the source.

Would you mind creating an issue tracker ticket as described in this article. Thanks so much!


Adds content_chars feature for use in wikiclass.

Includes additional feature code and tests.

Just realized that I forgot to update the demo code.  I'll do that quick and push another commit.


SDK stopped working after v1.1.0

Trying to used SDK after version v1.1.0 produces following error
import { UserFactory } from 'nightfall-sdk';
         ^^^^^^^^^^^
SyntaxError: Named export 'UserFactory' not found. The requested module 'nightfall-sdk' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'nightfall-sdk';
const { UserFactory } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
    at async formattedImport (/home/david/iden3/tmp/nightfall-3/node_modules/mocha/lib/nodejs/esm-utils.js:7:14)
    at async Object.exports.loadFilesAsync (/home/david/iden3/tmp/nightfall-3/node_modules/mocha/lib/nodejs/esm-utils.js:91:20)
    at async SimpleTaskDefinition.action (/home/david/iden3/tmp/nightfall-3/node_modules/hardhat/src/builtin-tasks/test.ts:128:9)
    at async Environment._runTaskDefinition (/home/david/iden3/tmp/nightfall-3/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14)
    at async Environment._runTaskDefinition (/home/david/iden3/tmp/nightfall-3/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14)

Narrowed down issue:

SDK working on CJS projects (package is installable and usable), but not on ESM

I am positive that we can resolve this with @pawelgrzybek and carry on using this SDK in the future.


get_page_ranges_diff timesout on large page blobs

We are seeing read timeout on when get_page_ranges_diff is called on page blobs that are either 512G or 1023G (premium storage).
  File ".env/local/lib/python2.7/site-packages/azure/storage/blob/pageblobservice.py", line 565, in get_page_ranges_diff
  File ".env/local/lib/python2.7/site-packages/azure/storage/storageclient.py", line 266, in _perform_request
    raise ex
azure.common.AzureException: ReadTimeout: HTTPSConnectionPool(host='<name>.blob.core.cloudapi.de', port=443): Read timed out. (read timeout=11)

The socket timeout seems to be set to low value of 11s which is where it seems to fail.  Setting timeout to high value on get_page_ranges_diff doesn't seem to have any effect.
I've tried setting this to 60s which seemed to have worked but I think get_page_ranges_diff should respect the timeout param (and timesout to infinite is None)

This can happen when the page blob is heavily fragmented. Unfortunately increasing the timeout doesn’t always help because the maximum timeout enforced by the service for this operation is not large enough to handle very high fragmentation. Instead, you need to request the page ranges over a subset of the blob, and compose the results.
The problem and solution are detailed (for .NET) in this blog post:
https://blogs.msdn.microsoft.com/windowsazurestorage/2012/03/26/getting-the-page-ranges-of-a-large-page-blob-in-segments/
Here is a Python sample (based off the .NET sample)  to give you an idea of how you can compose the page ranges over subsets/chunks of the blob.
def get_page_ranges_diff_chunked(self, start_range, end_range, range_chunk_size, container_name, blob_name, previous_snapshot):
        range_size = end_range - start_range + 1
        if range_size % 512 != 0:
            raise ValueError("Range size must be in a valid 512 byte interval alignment.")

        # Now 'iterations' will be the amount of calls to 'get_page_ranges_diff'
        # Evaluation of the [start_range, end_range] are chunked with subsets defined by 'range_chunk_size'
        iterations = range_size / range_chunk_size
        start_offset = start_range
        page_range_diffs = []
        for i in range(iterations):
            end_offset = start_offset + range_chunk_size - 1
        # Include your desired parameters.
            page_ranges = self.bs.get_page_ranges_diff(
                container_name, blob_name, previous_snapshot, None, start_offset, end_offset)
            page_range_diffs.extend(page_ranges)
            start_offset = start_range + range_chunk_size
        return page_range_diffs

@rambo-msft thank you for the response and the python snippet.  We did change our logic fetch the page range diff in chunks.  I apply the diff updates in chunks using update_page, but hadn't noticed get_page_ranges_diff supports fetching diff in chunks of the blob too.  Closing this.


enroot-unshare: failed to disable SSBD mitigation: Numerical result out of range

Hi All,
I am not able to start container on Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-20-generic x86_64). I have tried to configure any possible value for kernel parameter "spec_store_bypass_disable",  however always with the same error. I have no problem on CentOS 7.6.
https://github.com/tyhicks/ssbd-tools/blob/master/README.md
Error log:
0: slurmstepd-gn03: pyxis: importing docker image ...
0: slurmstepd-gn03: pyxis: creating container filesystem ...
0: slurmstepd-gn03: pyxis: starting container ...
0: slurmstepd-gn03: error: pyxis: container start failed with error code: 1
0: slurmstepd-gn03: error: pyxis: printing contents of log file ...
0: slurmstepd-gn03: error: pyxis:     enroot-unshare: failed to disable SSBD mitigation: Numerical result out of range
0: slurmstepd-gn03: error: spank: required plugin spank_pyxis.so: task_init_privileged() failed with rc=-1
Thanks for any suggestions.
R.

Looks like SSBD settings require 4.15.0-22 (see https://usn.ubuntu.com/3652-1/).
You might want to upgrade your kernel or alternatively you can use the -hardened flavor of the packages, these won't try to disable spectre mitigations.

Hi Jonathan,
Many thanks. Kernel upgrade to 4.15.0-74 did a job for me.
FYI:
Hardened version failed with error:
0: slurmstepd-gn03: pyxis: importing docker image ...
0: slurmstepd-gn03: pyxis: creating container filesystem ...
0: slurmstepd-gn03: pyxis: starting container ...
0: slurmstepd-gn03: error: pyxis: seccomp filter failed: Invalid argument
1: slurmstepd-gn03: error: pyxis: seccomp filter failed: Invalid argument
2: slurmstepd-gn03: error: pyxis: seccomp filter failed: Invalid argument
2: slurmstepd-gn03: error: spank: required plugin spank_pyxis.so: task_init() failed with rc=-1
R.

No problem, closing as resolved.
The second issue is coming from pyxis, we might need to fix it. Adding @flx42 for visibility


Fix build artifact uploads

Changes introduced with this PR
As of v4 of actions/upload-artifact, "it is no longer possible to upload to the same named Artifact multiple times."  However, the current build runs repeatedly, for each of Python 3.9, 3.10, and pypy3.9, each of which uploads a number of artifacts, most of which have the same name in each run.  So, on the second run, the attempt to upload the coverage HTML artifact now fails, or, at least, it did in #122 (it is possible that the problem is timing-related -- it did not happen in #120 or #119).
This change extends the changes in #120 to the other pushed artifacts, so that they have unique names suffixed with the version of Python used in the run.
This change also relaxes the version of Poetry used from 1.4.2 to any 1.4.

By contributing to this repository, I agree to the contribution guidelines.

I wonder if Poetry cares about that version at all. Probably not because it's in a run block.

This is the installation of Poetry...so, it doesn't get to think about this -- rather, this controls what Poetry gets to think!  🙃


Add old mp3 support

I was surprised when i found a correct mp3 file, that is not recognized by fleep.
It turned out there are 2 possible headers for mp3.
So what i did was:

Added the missing header to data.json
Added a test with an mp3 file
Added str function to Info class (although it's not related to mp3 support, i thoght it's quite useful)

Any update if this branch will be merged soon?


Unable to use terminal after a command

Ubuntu 20.04 LTS
dotnet sdk 5.0
After typing this command in terminal:
dotnet new console
The terminal stops taking enter key presses so i have to open a new terminal after every command.

This issue was moved to dotnet/core#5749


NEW: Re-introduce export functionality (closes #2)

This will generate one CSV containing all submissions across all types (so some fields may be blank for some submission types). E.g.

Type
Date
Name
EmailAddress
Message

Newsletter
x
John Smith
<EMAIL_ADDRESS>

Enquiry
x
Jane Doe

Help plz

Also added:

Support for queued exports
Filtering submissions by min/max date, dropdown filter for available types instead of text field

Sorry for the delay @kinglozzer


Add instructions for launching a frontend that talks with a staging backend

Once the staging environment is up, make sure there are instructions for launching a frontend that talks with the staging backend:
This would look something like:
DB_BASE_URL="" \
    docker-compose up client

This is a workaround to #43.

Blocked by https://github.com/PublicMapping/district-builder-2/issues/71.


nixpkgs manual: python section: interface reference coverage

Context
This issue outlines the Python related nixpkgs interfaces. This outline surfaces the interfaces uncovered by the Python reference in the manual, but covered in the other sections of the Python documentation.
In order to address TODO#2 below, the outline proposes a new presentation structure which makes explicit the placement of the given interface from the root prepending pkgs. File representation of the interfaces is relevant information reserved for the content of each subsection.
Conventions used

pkgs: At root level, it corresponds with all attributes exposed by nixpkgs, pkgs = import <nixpkgs>{}.
${python}: Represents a given Python interpreter attribute name. The writing hints at the reader to check the interpreters' table, pythonInterpreters.<TAB> or lib.attrNames pythonInterpreters for supported interpreters when in doubt.
${pypkg}: Represents a given Python package attribute name, e.g. pandas.
ps: stands for nixpkgs package set, as used in the user guide. Note: It might be a good idea to use nixpkgs python package set to avoid confusion with other package sets inside nixpkgs.

TODO

[ ] Align the reference presentation with the REPL and developer experience.

The outline is rooted in pkgs as the de-facto convention for nixpkgs. In the REPL, all attributes under pkgs tend to be immediately TAB-discoverable since it's common to call it with import <nixpkgs>{}, instead of {pkgs = import <nixpkgs>{};}.

[ ] Cover missing interfaces inside the Reference section.

Each attribute in the outline is flagged inside parenthesis to note if it's documented/mentioned in the FAQ or user guide. These flags won't be used in the documentation source, they exist only to help navigate this task.

 There might be relevant details there:
https://discourse.nixos.org/t/making-packages-projects-available-to-nixos/38462/3


Citation

Can you cite the Karate Club paper in the final work that is submitted?
@inproceedings{karateclub,
title = {{Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs}},
author = {Benedek Rozemberczki and Oliver Kiss and Rik Sarkar},
year = {2020},
pages = {3125–3132},
booktitle = {Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM '20)},
organization = {ACM},
}

Yes, we'll definitely do that! Thank you.


Ray 2.0 Multimodal

Issue #, if available:
Description of changes:

Adapt ray 2.0 APIs in multimodal
Fixed an issue where ray 2.0 doesn't use gpu resources.
Temp workaround for ray tune hanging issue. Re-enable the tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Just ask here. How did you workaround the hanging issue in ray tune?

runtime_env={"env_vars": {"PL_DISABLE_FORK": "1"}}, # https://github.com/ray-project/ray/issues/28197

With this: runtime_env={"env_vars": {"PL_DISABLE_FORK": "1"}},  # https://github.com/ray-project/ray/issues/28197


🎮 Game Request
Game logic and basic description
Whack-a-Mole is a game where players have to click on randomly appearing moles to score points. The game lasts for a set time, and players aim to achieve the highest score possible within that time. Beware, as the moles pop up and disappear quickly, testing your reflexes and speed.
Point down the features
Game points
Randomized Mole Pop-up: Moles will appear randomly in different holes, challenging the player's reaction time and agility.
Scoring System: Each successful whack on a mole will earn the player points, increasing their score and adding to the excitement.
Time Limit: The game will have a predefined time limit, adding a sense of urgency and encouraging players to achieve the highest score within that timeframe.

Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hello @prachisingh1008, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @prachisingh1008 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Use unicode symbols for arrow buttons

This relieves some need for translations to many languages.

@alescdb What do you think of this?

I haven't thought of unicode symbols !
It looks very nice on my N5 !
I've tried drawing arrows in Photoshop, but I'm definitely not an artist (even for an arrow symbol) :-)
Just wondering, on custom ROM when users use a theme font (or I think Samsung allow the user to change his font), all fonts may not have all unicode symbols. We may have to force the font ?

The font selector should choose DroidSansFallback which should be present in all devices or else a lot of things will be broken.


Ask LLM to not use FDP in C fuzz targets

This sometimes happens when a C++ project has a C fuzz target.
The error message may confuse LLM, so I added direct instructions.

/gcbrun exp -n dg

Do we trust the LLM to do this?

I am unsure if there is a better solution: Is there a programmatical way to 1) identify all variable initializations using FDP and 2) replace them with the 'ordinary' alternative?


Different rabbitmq configs for each pool

Hi there,
Great work on this pooling mechanism for RabbitMQ. For our setup, we would like to each pool to be able to have its own rabbit configuration (ie host/username/password). From what I understand, this setup does not support that and instead requires using the same rabbitmq to be used for each pool. Perhaps I am misreading though. If not, Is this a use case worth handling?

Hi @jadencodes thanks for your kind words,
As right now we don't support that option but would be nice to have, the problem is as right now we are really busy with some other projects we don't have bandwidth to implement this, we can add this as our next TODO once we have some free time or if you want to take the lead i can point you up to the right directions so you can make this contribution. let me know cc @bryanhuntesl @Ayanda-D

Hi @sescobb27 ,
Thanks for the quick response! I have implemented a change on my local fork that converts the Supervisor to be a DynamicSupervisor and adds the function add_pool(rabbit_config, pool_config) and it seems to be working as I intended. I will have to add remove_pool as well as other helpers.
I am still newish to elixir/otp concurrency so I am unsure of potential drawbacks to this solution. This change would fundamentally change how your project was started as you won't be able to pass it in an initial set of pools to init/1 but perhaps a compromise would be to have a helper function that accepted your current config and just apply the rabbitmq config to every pool?
Let me know your thoughts, happy to continue working on this and make a PR.

this is our current implementation https://github.com/esl/ex_rabbit_pool/blob/master/lib/pool_supervisor.ex#L17-L26
what about adding the rabbitmq_config option to the connection_pools and defaulting to a single rabbitmq_config that way each pool its going to have a different setup and we don't over-complicate things. something like
for pool_config <- Keyword.get(config, :connection_pools, []) do
  # get pool's rabbitmq_config or a global one
  rabbitmq_config = pool_config[:rabbitmq_config] || Keyword.get(config, :rabbitmq_config, [])
  {_, pool_id} = Keyword.fetch!(pool_config, :name)
  # We are using poolboy's pool as a fifo queue so we can distribute the
  # load between workers
  pool_config = Keyword.merge(pool_config, strategy: :fifo)
  :poolboy.child_spec(pool_id, pool_config, rabbitmq_config)
end

I like the idea of adding an "override" config that is optional but otherwise using the default rabbit config. The use case for adding/removing pools is that we are building a amq proxy that has upstreams that can change (we get these events from etcd, but you could get them from anywhere). I want the benefit of long lived connections with the upstream servers with pooled channels, but I won't necassarily know all the upstream rabbitmqs until after it syncs with Etcd, and these can change after initialization.
In the local for I mentioned, I modified that exact code you supplied to looks like this:
  def init(_config) do
    DynamicSupervisor.init(strategy: :one_for_one, name: ExRabbitPool.DynamicSupervisor)
  end

  def add_pool(rabbitmq_config, pool_config) do
    #keep same logic as before
    {_, pool_id} = Keyword.fetch!(pool_config, :name)
    pool_config = Keyword.merge(pool_config, strategy: :fifo)
    spec = :poolboy.child_spec(pool_id, pool_config, rabbitmq_config)
    DynamicSupervisor.start_child(ExRabbitPool.DynamicSupervisor, spec)
  end

Once it is like this, I can add and remove pools on the fly (ie from a etcd watch event, poll, etc...). But unfortunately I can't pass the config to the init/1 callback because it throws a "can't call self" error. This could be a misunderstanding in that callback though FWIW.
What do you think of this approach, assuming I modified the add_pool/2 to your suggested config?

I understand your requirements, but I don't think this is something we would add as it is out of the scope of this library, your use case is really particular in the sense of the runtime configuration changes which is not a common thing.

Thanks for all your input @sescobb27. I have made a fork of your project here that matches the requirements I need. Feel free to bounce ideas off of me in the future!


[VS Code] Starting collaboration session: Invalid root scheme: vsls, expected 'file'

I can log in to my github account or I can be a read-only guest in live-share, but I can't enter a live share signed in as myself. <!--
For Visual Studio problems/feedback, please use the Report

@mshriner Thanks for reporting this! So are you seeing this issue when trying to join a Live Share session when you aren’t already signed in, and then you try to sign in with your GitHub account (as opposed to continuing as a read-only guest)?

Yeah sorry for the quick post earlier, I can explain more now.
Here's what happens. I open VS Code, then click on the Live Share button, and it opens up a browser window having me login with Microsoft / GitHub. I do, and it tells me to close the window and return to the editor. If I do this, then nothing happens and it idles uselessly. If I use the token on the webpage, it now says I'm signed in, but it still will not join the session.
Additionally, if I try to sign in before starting a Live Share session, that works fine (provided I use the token). But when I try to start the Live Share, it says I am signed out even though I just signed in. The only way I could join the portal my friend was sending me was to be an anonymous read-only user.
Interestingly, I am able to successfully start a Live Share myself, and my friend was able to join mine, but it would not work the other way around.

It seems like at least 2 other people hit this issue. nnennaude and liub1989 , can you describe your scenarios? Is this blocking you from joining a collaboration session?
Can you please attach your logs here or email them to<EMAIL_ADDRESS>so that we can investigate this issue? You can get your logs by running "Live Share: Export Logs" in the command palette in VS Code.

Closing this as a duplicate of #1568.


flash fails to start with Galaxy Note 3 SM-N9005

I've observed the same issue that is described in this thread: http://forum.xda-developers.com/showthread.php?t=2684410
I run
heimdall flash --recovery something.tar

and it fails:
Downloading device's PIT file...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...

Just wanting to confirm that @karabijavad's fork worked for me.
I cloned it and compiled it from source, and it ran flawlessly.
Samsung Galaxy S4 LTE+ (GT-i9506)
Running on Arch Linx x64
Output of uname -a:
Linux citadel 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux
@Benjamin-Dobell could you incorporate this fix into the main branch perhaps? Or is it too risky?

@karabijavad's fork worked on first run only, successfully gave print-pit output, and did not choke on protocol initialisation.  Subsequent runs (even after os reboot) give the failed handshake -7.
Ubuntu 64bit 14.04; Samsung Galaxy S II i9100;
libusb-1.0-0-dev:amd64                      2:1.0.17-1ubuntu2
Could someone add some more detailed debug code in this area onwards....
[00000f84] libusbx: debug [handle_events] poll() returned 1
[00000f84] libusbx: debug [handle_events] timerfd triggered
[00000f84] libusbx: debug [libusb_cancel_transfer]

I used @karabijavad branch add it works for me.
Runned these commands.
 git clone https://github.com/karabijavad/Heimdall.git
 cd Heimdall/
 git checkout 02ccbbf
 cd libpit/
 make
 ./configure
 make
 cd ..
 cd heimdall
 ./configure
 make -j 4
 sudo make install
 sudo udevadm control --reload-rules
 cd to/recoveries
 sudo heimdall flash --RECOVERY openrecovery-twrp-<IP_ADDRESS>-hlte-4.4.img

flash-command works well.
download-pid and print-pit modes works once. Second command will fail unless I unplug cable and plug it again.
$ sudo heimdall flash --RECOVERY openrecovery-twrp-<IP_ADDRESS>-hlte-4.4.img
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file data received, read 'empty' packet...
PIT file data receive completed, send kRequestEndTransfer...
PIT file download successful.

Uploading RECOVERY
100%
RECOVERY upload successful

Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...

$

By the way.
For some unknown reason CWM-recovery can't restore my backups.
I recommend to make a backup with TWRP too.

Just wanted to mention, in case it helps anyone else. When I first ran the version compiled from source from 02ccbbf (Yarolig's instructions were spot on here https://github.com/Benjamin-Dobell/Heimdall/issues/197#issuecomment-71892522) I too for the usb -7 error reported by some above. What worked for me was trying a different usb port - might be worth a try if you get this error.

Thanks @yarolig ! Followed your instructions on using @karabijavad branch, and it worked flawlessly!

Thanks for the tip! @karabijavad fork fixes the bug! :clap:
I'm using a non-branded Note 3 (SM-N9005).

Guys... I didn't figured out how to compile @karabijavad branch on msys2. I'm kind of noob on that. Could please someone post step by step like cyanogen wiki below? Really appreciate it!
$ pacman -Syu
$ pacman -S mingw-w64-x86_64 mingw-w64-x86_64-clang mingw-w64-x86_64-cmake mingw-w64-x86_64-libusb mingw-w64-x86_64-qt5-static make git
$ export PATH="/mingw64/bin:$PATH"
$ git clone git://github.com/Benjamin-Dobell/Heimdall.git
$ mkdir -p Heimdall/build
$ cd Heimdall/build
$ cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DQt5Widgets_DIR=/mingw64/qt5-static/lib/cmake/Qt5Widgets ..
$ make

In case it helps anyone, I resolved the "Result; -7" error by experimenting with different USB ports and unplugging any unnecessary USB items.
I am running Ubuntu 14.04 and heimdall v1.4.1
More details in my first comment on https://github.com/Benjamin-Dobell/Heimdall/issues/230

Has anyone who previously experienced this issue tried using a version of master that was built after February 21st? As far as I can tell this issue should already be resolved.
If you're on OS X you can try this package (which I compiled just an hour or so ago):
https://bitbucket.org/benjamin_dobell/heimdall/downloads/Heimdall-1.4.1-Unofficial-Signed.dmg

I'm not sure how relevant my particular case was, but for what it's worth, I am using a clean checkout of master.
The latest commit is:  d0526a3b74a003dfc6f805682693be9173ffcd88
Date:   Sat Mar 21 14:53:43 2015 +1100
As I stated in my previous comment, it worked perfectly once I unhooked unnecessary USB devices and found the magic USB port.  Thank you very much for this extremely useful tool!


typora: fix bin path

Fixes #3409
Apparently typora has removed the bin/ folder as of 0.9.82 (though the changelog doesn't mention it).
this PR changes the bin path to Typora.exe, the only executable that is left in the installation.

@r15ch13 ?

I did not expect it to matter on a case-insensitive system.

because it used to be the same way. Unfortunately i did a scoop cleanup since, so i can't check wether the old bin\\typora.exe did argument handling.

Just typora xx.md in console, so added in bin.


Small fixes for status endpoint

Adds a small test for retrieving statuses of unfound transactions and fixes up documentation for the function.

Current coverage is 100% (diff: 100%)

Merging #62 into master will not change coverage

@@           master   #62   diff @@
===================================
  Files           7     7
  Lines         131   131
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits          131   131
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 77d0a5d...0d9a1d6