Added Symfony 3.0 support

This PR adds symfony 3.0 support. Several packages can't support symfony 3.0 because of this package ...
This was already discussed in #1281 but it was possible to have dev dependencies during the travis build.
This PR only allows symfony/symfony to be in a dev version and prefer-stable is used so when symfony 3.0 will be released, the travis build will use directly the stable version.

:+1:

:-1: for going to 1.10. Should go to 1.11 IMO.

:-1: for this anyway because the version selection doesn't actually work.

3.0 will end up getting installed by default as soon as it's stable so you're not even running the tests on 2.x on all php versions at that point.

:-1: for this anyway because the version selection doesn't actually work.
It allows to install symfony 3.0 so yes it works:
{
    "require": {
        "fabpot/php-cs-fixer": "~1.0",
        "symfony/symfony": "3.0.x-dev"
    }
}

This actually doesn't work ...

3.0 will end up getting installed by default as soon as it's stable so you're not even running the tests on 2.x on all php versions at that point.
Symfony 3.0 only removes the deprecated interfaces. So something that works with symfony 3.0 works with symfony 2.8. Then there is a build that uses symfony 2.3, symfony respects bc so we are sure that the package works with symfony ~2.3|~3.0...
To be even more sure I added a build that uses symfony 2.7.*.

Better to have ~2.7 and ~3.0 IMO.

For the branch, I targeted 1.10 for this to be released faster but I can create a new PR targeting 1.11 if you want.

For the branch, I targeted 1.10 for this to be released faster but I can create a new PR targeting 1.11 if you want.

No need. It can be merged into either branch by @keradus. ;)

Just noticed you're requiring ALL of symfony there. Massive :-1: for that. Just require each component.

Once that's sorted, :+1: from me. ;)

This is the easiest way and this is how all the bundles I know works (see several examples here https://docs.google.com/spreadsheets/d/1GOxJ2lNpLxN12YyZ87Bhsxb0iLAQ7e4UDZbJSly8Sy8/edit).
Another solution is to load the dev version of all the components but I'm not sure that this is better for this package (see https://github.com/dunglas/DunglasApiBundle/blob/1.0/.travis.yml#L26).

This is the easiest way and this is how all the bundles I know works

throw new InvalidArgumentException('This is not the bundle.');
When you download whole framework then you will be able to use classes in code that aren't even required in composer directly! Not to mention the performance impact to Travis...
Such solution won't be merged.

@keradus Exactly.

PHP-CS-Fixer requires many symfony dependencies. Requiring them one by one on travis would be painful.
I don't get the point of why required symfony full stack is bad? It is just for Travis, in order to test a specific version of all bundles.
As @Ener-Getick almost all library use this method without any problem.
:+1: for me.

@keradus @GrahamCampbell Do you prefer an update of only the necessary dependencies ? (see 338ea52)

PHP-CS-Fixer requires many symfony dependencies.

nope, only 3 components.

Do you prefer an update of only the necessary dependencies ? (see 338ea52)

better, what about modify composer.json file on the go to replace all packages symfony/.* using eg regex ? Then you won't need to manually list all of them in travis file

Good idea ! I changed it.

:+1: to merge this and to add a new tag :)

As for Symfony 3 bundles support, every package using this package depends on this to be merged.
E.g. https://travis-ci.org/mmoreram/php-formatter/jobs/92008056

Why @TomasVotruba? this change only removes symfony 2.2 support and symfony 3.0 is already supported apparently...

@Ener-Getick Since which version?

When you download whole framework then you will be able to use classes in code that aren't even required in composer directly

no you can't, because Travis requires the full framework only for a few jobs, not for all of them

no you can't, because Travis requires the full framework only for a few jobs, not for all of them

and in that jobs you would be able.

@keradus but the testsuite and the PHP-CS-Fixer codebase are the same in all jobs, so such missing dependency would still make the Travis build fail, even though one of the jobs is passing (and locally, it would also fail as there is no the extra symfony requirement)

Yep, that's why it wasn't the only one argument.
Also, in such a case it would be confusing to new contributors that tests passed using Symfony 3.x and not using Symfony 2.x.

Sorry @TomasVotruba I misunderstood.
@keradus @GrahamCampbell is there something else to do before this could be merged?

Please rebase to get rid of that merge commit.
(From my side - I will need to check sth with this PR on myside)

This is done @keradus

sth is wrong now.
Take a look at number of jobs:
https://travis-ci.org/FriendsOfPHP/PHP-CS-Fixer/builds/92326598
When you added items to matrix: https://github.com/Ener-Getick/PHP-CS-Fixer/blob/SF3/.travis.yml#L11
you should remove them from php: https://github.com/Ener-Getick/PHP-CS-Fixer/blob/SF3/.travis.yml#L3
(also remember to move hhvm)

:+1:

:+1:  lgtm :)

ping

Thank you @Ener-Getick.

@keradus @Ener-Getick Thank you guys!

@keradus What is the planning date for 1.11 release?
If it's not for now, I think we should back-port this commit onto 1.10 branch and tag a last patch version.
Could be possible? Symfony 3.0 is released as stable now.

PATCH semver is only for bugfix.

Yeh. This doesn't need backporting, and 1.11 isn't too far off release anyway.

Waiting for last few PR to be finished

Well, make project compatible with higher stable vendor is a kind of bugfix IMHO. :-)
But if 1.11 will be out shortly, that's ok. :+1:

nope, it is not the bug. you can still run the tool.


[MB] Enforce DL

Movies must be released with their original language track in 1080p.
Some movies are added without their original audio track in 720p.
These movies are not Dual Language (DL).
If one wants to keep a movie collection at 720p with dual language tracks then a manual search for the same movie with DL (most likely a 1080p version) would be required for future remuxing.
At some future point this script should have an option:
'''enforcedl = true'''
for all examples quality=720p
If the script adds a valid release like this one (with enforcedl=true):
Foo.2017.German.DL.Bluray.720p-BAR
everything is fine because it contains DL.
If it does however add (with enforcedl=true)
Foo.2017.German.Bluray.720p-BAR
(which does not contain DL) the script should try to find
Foo.2017.DL
(even if this release is at the wrong resolution, like 1080p)
So if (with enforcedl=true)
this release is matched:
Foo.2017.German.DL.Bluray.720p-BAR
and this one is rejected because of quality=720p:
Bar.2017.German.DL.Bluray.1080p-F00
but in another case (with enforcedl=true)
this release is matched:
Bar.2017.German.Bluray.720p-F00
and because it does not contain DL the script will also match (if it exists):
Bar.2017.German.DL.Bluray.1080p-F00
On the other hand if (with enforcedl=false)
this release is matched:
Bar.2017.German.Bluray.720p-F00
and this is not, because it is 1080p:
Bar.2017.German.DL.Bluray.1080p-F00

More elegant:
If enforcedl=true and release title does not contain dl
self.db.store(key, 'notdl')
Else self.db.store(key, 'added')
If self.db.retrieve(key, 'added')
Continue
Else if self.db.retrieve(key, 'notdl')
Look for key and dl (but disregard quality and group)
If found self.db.store(key, 'added')
Continue


Feat: Implement Deletion Functionality for Enum Array Items

This commit implements a feature to delete a specific item inside an array of enums. The feature enhances the functionality of the system by allowing users to remove specific items from enum arrays, providing more flexibility and control.

Hey @rajgop1
A big thank you for your valuable contribution! 🌟 Your addition of the feature to delete specific items from enum arrays is fantastic and addresses a missing element in the system.
Don't hesitate to share more of your ideas and improvements in future PRs. Your contributions are welcome anytime!

I am greatly appreciative of the opportunity and eager to contribute my ideas to the project. I am confident that our collective efforts will lead to its success and recognition within the community.


Cou game/vac bans

I don't use the vac bypass on cou for many reasons but
In the passed week 2 of my accs got game than a day or 2 later got vacced.
This could be my cheat (heavly modified osiris) or cou injector.
I will continue testing.

I don't use the vac bypass on cou for many reasons but In the passed week 2 of my accs got game than a day or 2 later got vacced.
This could be my cheat (heavly modified osiris) or cou injector.
I will continue testing.

Hey fanat1cc, If the injection is detected, you should get a direct VAC ban (as I know). So I don't think it's the injection. I think it is most likely due to the modified Osiris, but feel free to share what your tests showed.

-No answer

I forgot to post a answer, however I can say for sure that cou is still safe and that it was infact that my cheat had detected features Enabled

Thank you for the subsequent answer. That's good to know! So I know that everything still works great.


ci(sr): add debug flag to investigate missing pr comments

Testing
it only happens on jenkins, no way to test it 🤷♂

Trade-offs

Dependencies

Do we actually want to merge it? If so let's please not use obscure sr as the scope

@nLight updated commit message 👍 /cc @weblancaster

looks like they already found a bug which could lead to the issues we have, https://github.com/semantic-release/github/pull/100 should fix it 👍
=> lets wait for the PR to land and be released, update sr in our repo and see if it works.


initialCountryCode not working with Country Dial code, works with  ISO code only.

Thank you for amazing Package.
I am unable to set my Existing Country [specially 4 digit one] by using Country Dial code. Please solve it ASAP.

Any fixes available?


ensure_import_from is raising error when used with multifile

The following error is raised when ensure_import_from is used with multifile:
Error Variable $GLOBAL_NEW_FROM_IMPORT_SOURCES is not bound
The following example raised the error:
engine marzano(0.1)
language python

multifile {
    file () where {
        $import = "prod",
        $import <: ensure_import_from(source = `math`),
    }
}

https://app.grit.io/studio?key=AvtOwtL8zpgxq1GSVa0Wa&preset=_test_ensure_import_from

Yeah multifile patterns are a bit wonky / they require you to explicitly manage state.
What's your use case for multifile? We're probably going to deprecate it in the future given the complexity.

I'm trying to automatically migrate a Home Assistant integration to a new code style pattern by checking if the __init__.py file has a certain code. See https://github.com/home-assistant/core/blob/edenhaus-gritql/.grit/patterns/runtime_data_migration.md
The code should do something similar as in https://github.com/home-assistant/core/pull/120675
I also tried a way without multifile, but that will not work as the __init__.py file is checked as last in each directory, and I would require it to be evaluated first.

Non working rule without multifile
engine marzano(0.1)
language python

pattern refactor_functions($config_entry_type, $domain) {
    function_definition($name, $parameters, $body) as $func where {
        // change entry type
        $entry = $parameters[1],
        $entry <: typed_parameter(name=$entry_name, $type) where {
            $type <: type(type="ConfigEntry"),
        },

        if (and {$filename <: includes `__init__.py`, $name <: "async_setup_entry"}) {
            // migrate hass.data to entry.runtime_data
            $body <: contains assignment(left=$runtime_data) where {
                    $runtime_data <: or {
                        `hass.data.setdefault($...)[entry.entry_id]`,
                        `hass.data[$_][entry.entry_id]`,
                    },
                    $runtime_data => `$entry_name.runtime_data`
                },

            $config_entry_type_definition = `# TODO: Please add the correct type\n`,
            $config_entry_type_definition += `type $config_entry_type = ConfigEntry`,
            $func => `$config_entry_type_definition\n\n$func`,
            if ($GLOBAL_MODIFIED_DOMAIN <: undefined) {
                $GLOBAL_MODIFIED_DOMAIN = []
            },
            $GLOBAL_MODIFIED_DOMAIN += $domain
        },

        if ($GLOBAL_MODIFIED_DOMAIN <: includes $domain){
            // migrate hass.data to entry.runtime_data
            $body <: maybe contains assignment($left, right=$runtime_data) as $assigment where {
                $runtime_data <: `hass.data[$_][entry.entry_id]`,
                $assigment => `$left = $entry_name.runtime_data`
            },

            if ($filename <: not includes `__init__.py`) {
                $config_entry_type <: ensure_import_from(source = `.`),
            },
            $type => $config_entry_type
        },
    }
}

file($name, $body) where {
    $file_parts = split($name, "/"),
    $components_folder = $file_parts[-3],
    //$components_folder <: includes `components`, // with includes we allow also custom_components
    $domain = $file_parts[-2],
    $config_entry_type = capitalize($domain),
    $config_entry_type += "ConfigEntry",
    $body <: contains refactor_functions($config_entry_type, $domain)
}

I'm new to gritql and probably the pattern can be optimized :)

Got it, yeah if you are trying to work across multiple files then multifile is currently your best option until I release a JS/Python SDK.
The way we do imports you need to manually create the "state" for each file by wrapping like so:
multifile {
    file() as $file where {
        $file <: before_each_file(),
        $import = "prod",
        $import <: ensure_import_from(source = `math`),
        $file <: after_each_file()
    }
}

Thanks for the help :)
Is the a difference between running the grit rule in studio (https://app.grit.io/studio?key=A_pBfHO-XuQyFvitrJf9a) or using the cli with grit apply runtime_data_migration homeassistant/components/airvisual?
The imports work in the studio but not with the cli for the same rule.
When I comment out $config_entry_type <: ensure_import_from(source = .), the other files (ex. senor.py) get modified, when imported only the __init__.py get modified.
I installed the cli with
ha-venv@edenhaus ➜ /workspaces/core (edenhaus-gritql) $ curl -fsSL https://docs.grit.io/install | bash
downloading marzano 0.1.0-alpha.1719826984 x86_64-unknown-linux-gnu
installing to /home/vscode/.grit/bin
  marzano
everything's installed!

The order of multifile is not guaranteed, and by default all variables share global state. If you want to scope things to a specific file you should use bubble:
engine marzano(0.1)
language python

multifile {
    bubble file() where {
        $import = "prod",
        $import <: ensure_import_from(source = `math`),
    }
}

It did not work for me, so I wrote a custom import pattern
pattern import_from_custom($source) {
    $name where {
        $program <: module($statements),
        $statements <: contains or {
                import_from_statement(),
                import_statement(),
            } as $import,
        // Ruff will handle double imports and sorting for us
        // So we add always the import
        $import => `from $source import $name\n$import`,
    }
}

Thanks anyways @morgante


♻ Improve the import method of gpg keys on fish feature

This change simplifies the code and removes unnecessary dependencies.
This will also fix the problem of not being able to install the latest fish on Ubuntu.

We were able to remove unnecessary dependencies while passing all tests 🎉

@andreiborisov It would be great if you could create a new release after you merge this and #11.
(Of course if you are in a state where you can't spend the time to do this I can create a release)


refactor: introduce the withFadeAnimation() HOC

Question
Response

Version?
v1.4.1

Devices tested?
iPhone 7

Bug fix?
no

New feature?
yes

Includes tests?
no

All Tests pass?
yes

Related ticket?
#532

Description
Created a withFadeAnimation() higher order component and used it for the LoadingEventListItem component.
withFadeAnimation() deals with everything related to the Animated API and passes a opacity prop to the wrapped components. This greatly simplifies the creation of animated loading elements and will make the styled components migration a breeze for these elements.

Coverage increased (+0.1%) to 42.431% when pulling 4e641901189893e3bfe3e7b190c804af35e2d898 on machour:refactor/loaders-to-sc into 7b3ccf058eca3b5eab4bc007b35357f663cae7e4 on gitpoint:master.

@housseindjirdeh yes, we have 8 more loaders that will benefit from this HOC 🎉


Failed to compile : You may need an appropriate loader to handle this file type.

Describe the bug
Failed to compile.
Module parse failed: Unexpected token (11:23)
You may need an appropriate loader to handle this file type.
| }
| function canFetch(networkMode) {
>   return (networkMode ?? "online") === "online" ? onlineManager.isOnline() : true;
| }
| var CancelledError = class {

Your minimal, reproducible example
..
Steps to reproduce
By just only importing the
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
I have encountered this error in 5.51.15 version.
Expected behavior
It should run without any error.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform

OS [Ubuntu 22.04]
node 22.5.1
npm 10.8.2

Tanstack Query adapter
react-query
TanStack Query version
5.51.15
TypeScript version
No response
Additional context
No response

it seems your bundler can't handle nullish coalesce:
https://tanstack.com/query/v5/docs/framework/react/installation#requirements


Dev: Update harvester to accept GitHub URL from ADS

Add/Edit API to provide a relationship of "refers" for GitHub URLs from an ADS ingested article.

Providing URL works now as a part of the broker.


Workflow upload/schedule display tags cannot be used separately in admin UI (using XML format)

Describe the bug
Using a workflow definition in XML format with display tags "schedule" or "upload" always leads to the workflow being shown in both parts of the admin UI, even when only one of the tags is used.
To Reproduce

Create "WF upload" with the following tags definition:

...
  <tags>
    <tag>upload</tag>
  </tags>
...

Create "WF schedule" with the following tags definition:

...
  <tags>
    <tag>schedule</tag>
  </tags>
...

Create a new event in the admin UI and select "Upload" as source. The "Select workflow" dropdown shows both "WF upload" and "WF schedule".
Create another new event in the admin UI and select "Schedule XXX events" as source. The "Select workflow" dropdown once again shows both "WF upload" and "WF schedule".

Expected behavior
When selecting "Upload" as source for the new event, the "Select Workflow" dropdown should only contain "WF upload". Respectively, when selecting "Schedule XXX event(s)" as source for the new event, the "Select workflow" dropdown should only contain "WF schedule".
User environment:

Device: PC
OS: Debian 12
Browser: Chrome
Version: 116.0.5845.96

Additional context
The newer YAML format is not affected by this.
In addition, if both tags are absent, the workflow is correctly hidden from both parts of the admin UI.

@scharnkn what Opencast version are you using? Do you still see this in the new Admin UI (default in Opencast 15)?
It is strange that you don't see this with YAML workflows. As far as I know, they are just converted internally and it shouldn't make a difference.

I originally encountered this issue on our production system (Admin + Presentation + Worker Nodes) using the old admin UI with Opencast 14.8.
But I did some further testing and was able to reproduce it using a clean Allinone Docker image of Version 15.1.
The observed bevahiour is actually different for the new vs. the old admin UI. In the new admin UI, workflows with either tag are visible when uploading or scheduling, respectively (both yaml and xml format). While in the old admin UI they work correctly for the yaml format, but not the xml format.
So when using the new admin UI, both formats show faulty behaviour, while with the old admin UI, it's only XML.

I noticed that when creating a new event (scheduled or uploaded), there is always GET request
https://MYADMINUI/admin-ng/event/new/processing?&tags=upload,schedule

to retrieve the available workflow definitions. This request has parameters that filter for both tags regardless of the chosen source (upload/scheduled).
Maybe this could be the underlying issue?


A springboot application is not taking the lock when deployed in multiple instances

Hello there,
hope you can help me with the issue described below.
Description

Springboot application, with shedlock-spring-4.20.1 and shedlock-core-4.20.1 dependencies
The application relies on a SQL Server DB, using the JdbcTemplateLockProvider
Here follows the configuration code

Lock provider
@ConditionalOnProperty(
	     value = "app.scheduling.enable", havingValue = "true", matchIfMissing = true
	  )
@Configuration
@EnableScheduling
@EnableSchedulerLock(defaultLockAtMostFor = "PT30S")
public class ShedlockConfig {

	@Bean
    public LockProvider lockProvider(@Qualifier("src2DataSource") DataSource dataSource) {

        return new JdbcTemplateLockProvider(dataSource, "OEE_SHED_LOCK");
    }

}

Task
@SchedulerLock(name = "TaskScheduler_scheduleGetLineStatus", lockAtLeastForString = "PT10S", lockAtMostForString = "PT30S")
@Override public void scheduleGetLineStatus() throws Exception {
//some code
}

ShedLock logs
I wasn't able to enable them.

Expected behavior
When the application is deployed in multiple instances (two instances), I expect that all the instances with eventually take the lock once and perform the scheduled task.
Actual behavior
One of instance is not going to take the lock (in hours) and it won't perform the task ever. The application works well when deployed as single instance.

There is no such guarantee that all instaces will eventually execute the lock. The only guarantee ShedLock provides that at most one instance will execute it. Next time, please ask such questions on StackOverflow.


fix heavy loop

Sorry watching sub.EndOfStoredEvents in for loop make heavy loop if the chan is closed.

@fiatjaf I hope that this change will be merge soon because the impact of this bug is significant.

Should we change the EndOfStoredEvents to not be closed when an EOSE is received, but instead just have something sent through it? And it's never closed?

I don't understand the code in this function. Did I write it? Do we need this mutex? I think we don't.

Should we change the EndOfStoredEvents to not be closed when an EOSE is received, but instead just have something sent through it? And it's never closed?

Yes, it's better i thinkg since most of people should do same mistake with me.

I don't understand the code in this function. Did I write it?

No, I did.

Do we need this mutex? I think we don't.

Yes, bool is thread safe. Pleaes change if you want.

@fiatjaf Could you please put new tag?

No, I did.

ahahah, ok, thank you. I really thought it had been me and that I was going crazy and forgetting about my code. I'm relieved to learn it was you then.


Add annotation for merging method name and class name in action name

We need to add annotation that will allow to combine interface name and method name to one action name. For example:
interface Sample {
    @DesiredAnnotation fun action()
}

will give category = sample and action = sampleaction
Also, need to think about splitters. For example, to generate action = sample-action or action = sample_action
Suggested names for annotation are: @Short, @Prefix, @WithPrefix, @HasPrefix
Suggested parameters:
name - specify prefix name (default is name of class in lower case)
splitter - specify splitter string  (default is nothing)
Suggested behavior:

can be used on interface and method
class annotation gives behavior to all methods of this interface
if we have annotation on interface and same annotation on method, then method annotation wins

Need to add doc for new annotation @HasPrefix

Added: https://github.com/programmerr47/ganalytics/wiki/Annotations#hasprefix


internalRequire:16 Uncaught ReferenceError: require is not defined

Any idea what I'm doing wrong?
line 16 is:
var makeHardener = _interopDefault(require('@agoric/make-hardener'));

https://gist.github.com/dckc/2e25ba5b8baac1d8c0ec83fe77f92b68#file-reame-md

I get the same error with the unmodified example code (e4e2321a56d5f):
$ git clone git@github.com:LavaMoat/lavamoat-browserify-examples.git
Cloning into 'lavamoat-browserify-examples'...
$ cd lavamoat-browserify-examples/
lavamoat-browserify-examples$ git log -n1
commit e4e2321a56d5f...
lavamoat-browserify-examples$ cd 00-simple-cli/
lavamoat-browserify-examples/00-simple-cli$ direnv allow
direnv: using nvm 12.13.0
lavamoat-browserify-examples/00-simple-cli$ npm install
...
added 266 packages from 173 contributors and audited 1145 packages in 7.806s
lavamoat-browserify-examples/00-simple-cli$ npm start

> @ start /tmp/mm/lavamoat-browserify-examples/00-simple-cli
> browserify index.js --plugin [ lavamoat-browserify --config ./lavamoat-config.json ] > bundle.js && serve .

   │   - Local:            http://localhost:5000       │

open browser; in console:
Uncaught ReferenceError: require is not defined
    at internalRequire:16
    at internalRequire:3744
    at internalRequire:3746
    at internalRequire:4423

@dckc I was able to reproduce this by using npm install as you did instead of my usual yarn
this suggests its an issue when the dependency lockfile is not used. I'll need to investigate what the underlying issue is.

seems like an in-range version in ses's "main" export no longer refers to the built dist, and includes a require

it actually was not an in-range change! I'm NOT currently testing builds in the browser, and a bug broke the output but happened to work in nodejs where I actually test.
fixed here https://github.com/LavaMoat/lavamoat-browserify/commit/c02a8a9054a56b9a0a186c5f20d492f71a4f54fe
still need to actually add browser tests


Grand Exchange panel incorrectly expands inwards

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 10 x64
Bug description
Instead of expanding outwards, the GE panel expands inwards the first time you open it since migrating to flatlaf, while keep game size (not keep window size) is selected.
To reproduce:

Launch a fresh instance of RL with keep game size enabled
Open the grand exchange plugin
The plugin panel expands inwards instead of outwards
Fix it by changing the set width/height by 1 pixel and back
Now the panel will correctly expand outwards

See the video below for a demonstration that also includes a view of my runelite config.
Screenshots or videos
https://files.catbox.moe/rko462.mp4
RuneLite version
Client <IP_ADDRESS>
Launcher 2.6.10
Logs
client.log

Fixed in https://github.com/runelite/runelite/commit/5fda96a4e97220e72affb9372a3e917c04e2071b


I got error on the Google authentication. 'https://room.mic9chan.com/api/auth/signin?error=Callback'.  Can you tell me know how to fix it or bypass it?

Error: https://room.mic9chan.com/api/auth/signin?error=Callback
Website URL: https://room.mic9chan.com

Already setup all the necessary variables

Hi R3P-tech, thanks for your reply. I hope I understand your answer well. I always doing what you said. Pooled and non-Pooled. Please find my configuration below and feel free to comment.


Fix restart-frames -- E

Doesn't draw anything before the restart is finished Trusting myself too much that I knew what I was doing when I added %restart some time ago. I think it had to do with making drawing in setup more robust, where previously errors would only be represented as red screens with no text.

fixed in #150


Chapter 4 updates

Some updates to Chapter 4
Add a few tips
http://localhost:3000/en/chapters/chapter-4/public-key-3/help

Minor formatting changes
http://localhost:3000/en/chapters/chapter-4/public-key-3
I want to add a horizontal rule between lesson content and the challenge instructions. This could be a good candidate for abstracting out into a UI component (I don't know how to do this). For now I'm just using the
 tag.
On this page I also broke the hashing steps out into a numbered list. When I was gathering feedback for another project it was brought to my attention that anything you can do to visually break up blocks of text is generally going to be a win for the reader.

The generator point code sample is now more responsive
http://localhost:3000/en/chapters/chapter-4/public-key-3

Some updates to Chapter 4
Add a few tips
http://localhost:3000/en/chapters/chapter-4/public-key-3/help

Minor formatting changes
http://localhost:3000/en/chapters/chapter-4/public-key-3
I want to add a horizontal rule between lesson content and the challenge instructions. This could be a good candidate for abstracting out into a UI component (I don't know how to do this). For now I'm just using the
 tag.
On this page I also broke the hashing steps out into a numbered list. When I was gathering feedback for another project it was brought to my attention that anything you can do to visually break up blocks of text is generally going to be a win for the reader.
The generator point code sample is now more responsive
http://localhost:3000/en/chapters/chapter-4/public-key-3

since I am trying to split the help pages into their individual pages here https://github.com/saving-satoshi/saving-satoshi/pull/952 which page should these tips go in public-key-3 or 4?

For now I'm just using the
 tag.

I think this is a good standard to use across the site.

since I am trying to split the help pages into their individual pages here #952 which page should these tips go in public-key-3 or 4?

@benalleng public-key-3


Milvus roadmap needs to be updated

Is there an existing issue for this?

[X] I have searched the existing issues.

Issue
The roadmap is outdated. Please update asap.

Suggestion
No response
Anything else?
No response

Will be fixed along with GA release

PR #1309


⚠ GitLab Server has degraded performance

In 936e0b3, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9296 ms

Resolved: GitLab Server performance has improved in e373d21.


fix direction of insets applied

This mimics the behaviour of other frameworks, e.g. PureLayout, when applying insets.
As this is quite a breaking change, it should be made with Mayor Version Bump.

To make the transition of this smoothly, we could deprecate the existing call to make users aware of the change.
Also, since iOS 11 there is NSDirectionalEdgeInsets which has leading/trailing support.


Visibility of Shelves menu item with custom permissions

Describe the bug
The visibility of the Shelves menu item is dependent only on global permission of a user role. With custom permissions only set to View for the same user role the menu item doesn't show up.
Steps To Reproduce

Go to user role Public and deactivate all default permissions for Shelves.
Activate the View custom permission for a Shelve for user role Public.

Log out and see no Shelves menu item.

Expected behavior
A tab for the Shelves if you have custom permissions for View on specific shelves even without any default permissions.
Or an option in Settings or Users where you can activate or deactivate the button.
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): BookStack v0.24.2
PHP Version: 7.2
Hosting Method (Nginx/Apache/Docker): Apache2

Additional context
See also: https://github.com/BookStackApp/BookStack/issues/1171#issuecomment-446378261

@Bolthier Good find, Thanks for reporting.
Has very similar functionality requirements as #1199.

Patch applied to master, Will be in the next patch release.


Improved Mouse Support for e.g. Google Play Games on PC

With the new Google Play Store for PC (currently BETA), it would be nice to have improved Android mouse support for PC. The following two functionalities are missing:

Right-Mouse Button is not reported
Mouse Hover/Rollover is not reported

I believe it should be possible to support both the above by implementing the following functionality in libGDX: Mouse input
References

Google Play Store for PC Beta: https://www.youtube.com/watch?app=desktop&v=vOHp_od79lM
How to Update Mouse Support on Android: https://developer.android.com/games/playgames/input-mouse

Reproduction steps/code
Mouse Hover (Rollover) and Right-Mouse Button do not work.
Please select the affected platforms

[x] Android
[ ] iOS
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[ ] macOS

I wouldn't call it new, but it's a funny coincidence you should bring it up now. I uninstalled it from my computer today - it was using too much CPU time. Between this, even if my apps don't seem to be on it, and Chromebooks, it would be nice to have better mouse support. I broke it last time I touched it - just look at those approvals to #7215.

I wouldn't call it new, but it's a funny coincidence you should bring it up now. I uninstalled it from my computer today - it was using too much CPU time. Between this, even if my apps don't seem to be on it, and Chromebooks, it would be nice to have better mouse support. I broke it last time I touched it - just look at those approvals to #7215.

I don't see you touching it there.

That's the pull request which reverts my touches.

I think this is a different issue altogether? The changes you implemented didn't seem to have any negative impact as far as I can tell from my players!? Not sure if they should/have to be reverted?
The request is about an entirely (?) different feature regarding mouse handling on Android which also allows to capture right-mouse buttons and hovering rollover? ... That said, maybe I am reading things wrong?

I have tainted this issue with a bigger tangent than intended.  :(


How to downgrade Homebridge-hue?

Hello,
Upgrading to HomeBridge 1.0.0 was a total mess for me so I had to downgrade to 0.4.53 using sudo npm install -g --unsafe-perm<EMAIL_ADDRESS>However, I can't find out how to downgrade Homebridge-hue plugin.
Could you please help?
Thank you 🙏

Same way you downgrade any npm package: sudo npm -g i<EMAIL_ADDRESS>

thank you


Mcrypt deprecated and removed in PHP 7.2 causes security issues and install errors

Mcrypt is not available in PHP 7.2 anymore and although Concrete5 checks for its availability before using it there seem to be some issues nevertheless.
First, strings that are supposed to be encrypted are returned unencrypted which is a security issue.
Second, according to this post on the forum, it also can stop C5 from being installed: http://www.concrete5.org/community/forums/installation/bugand128027-concrete5-php-v7.2-mcrypt-not-longer-supported/#926545
To summarize the post: Softaculous supports up to the latest Concrete5 version v8.3.2, but fails installing when php 7.2.x is used with a missing Mcrypt error. That user says that they saw errors occur when the webserver is Litespeed with a compiled PHP LSAPI - OpenSSL. This combination gives the Mcrypt is missing error and the Concrete5 openssl fallthrough does not detect the openssl.
The post has several screenshots of the errors near the top: http://www.concrete5.org/community/forums/installation/bugand128027-concrete5-php-v7.2-mcrypt-not-longer-supported/#925993

Is this really a bug found in concrete5? The screenshots in that forum post aren't concrete5 screenshots. It seems to be something in softaculous. Am I missing something?

@Remo it's not a bug in Concrete5 but here's my take on it:
1- I always though returning an unencrypted string if Mcrypt was not available was a terrible move especially for those who are not aware of that. At the very least md5 it or something.
2- Because Mcrypt is totally gone with PHP 7.2 we know we need another solution and we know Mcrypt has long been deprecated so why not implement a new solution now and get rid of Mcrypt once and for all?
3- Softaculous is puking in that situation because it's not reading through the code, just looking for requirements so maybe it's a softaculous problem. But lots of people rely on it and it's C5's responsibility to not use deprecated and retired pieces of code. After all that's why we had to go through so many breaking changes.
I don't know if I make sense?

@mnakalay this is perfectly fine, but it's a different issue to me. The issue title here is about the installation problems which I believe we can't fix in this repo. Who writes those installers for Softaculous? Do we have to contact them?
Improving (or fixing) the encryption system would certainly be a good thing, but maybe we have to open another request, or rewrite this one.

@Remo you are absolutely right, I have that terrible tendency of using Github issues like my personal journal and always forget to keep things separate...
I'm going to change the title here and open a different one for the security issue.


Rename auth failure listeners & add permission support

Description
Renames auth failure listener classes & APIs to a more general name (rate limiters) to support API tokens & other use cases. Adds permission support to these APIs. Removes incorrect debug logging.

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Enhancement
Why these changes are required?
Fix: #4712
What is the old behavior before changes and new behavior after changes?
New class names, API routes, permission support, before: none of the above.

Issues Resolved
Fix: #4712
Is this a backport? If so, please add backport PR # and/or commits #, and remove backport-failed label from the original PR.
No
Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here
No
Testing
Existing tests pass
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] New Roles/Permissions have a corresponding security dashboards plugin PR
[ ] API changes companion pull request created
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@derek-ho and @cwperks what about backport to 2.x?


My controller moves alone

I installed the latest version of ds4windows and when I played Fortnite my controller moved without touching anything
if anyone can help me please

Is it moving left and down? Could you try to using DPAD to override the movement direction?

What latest version? This Jay2Kings version haven't released any new versions for years.
https://github.com/Jays2Kings/DS4Windows/issues/587


[VS Code] LiveShare: Agent terminated with exit code: -4058 and signal null:

I get these 2 errors when installing the live share extension on vs code one of them is here the other is in the logs.

Live Share Installation Error.zip

Hi @TheOfficialCrimsonKing , thank you for reporting the issue.  Its possible you have a corrupted install of the Live Share extension. Have you tried uninstalling and then reinstalling?

Hi @TheOfficialCrimsonKing , thank you for reporting the issue. Its possible you have a corrupted install of the Live Share extension. Have you tried uninstalling and then reinstalling?

yes, I have tried both and for some reason after uninstalling and reinstalling, the issue keeps repeating.

See logs from another user who hit this issue, in #2260 and #2268

Same Problem here from windows 7.
my friend used it previously without any issue. but it's not working now.
also there is no live share button in the status bar. nothing happens when i click start collaboration.
when i try to start collaboration from the activity bar it shows "command 'liveshare.startFromActivityBar' not found"
error.zip

Based on the logs, this is actually the same as the spawn cmd.exe ENOENT issue #2190. We don't yet understand the cause.

I can reproduce this issue by removing C:\WINDOWS\system32 from the PATH environment variable before launching VS Code. While that's very unusual for a Windows system to not have that system directory in PATH, we can fix Live Share to handle that.

Same Problem here from windows 7.
my friend used it previously without any issue. but it's not working now.
also there is no live share button in the status bar. nothing happens when i click start collaboration.
when i try to start collaboration from the activity bar it shows "command 'liveshare.startFromActivityBar' not found"
error.zip

My problem fixed after adding the environment path variable C:\WINDOWS\system32.
Some how it was missing.

Fixed in today's release 1.0.470


#174 fixed that unk_replacement and beam_search work together

The issue that unk_replacement and beam_search does not work is solved in this pull request.
The problem is that there is no attension_scores but multiple attension_scores in beam_search which is named "beam_search_output.original_outputs.attention_scores".
So I just added the procedures to pick one of them.
Since it seems that the top of the list is always the best among the beams in beam_search, [:,0,:] of it was taken.
This is my first big pull request and the code does not look beautiful, but I will appreciate if I could get kind instructions for this.

I signed it!


Steering causes right click

As I steer I am getting a constant right click, it is making everything un playable

A little more on this one. while it is still causing right click, it is also breaking at the same time and no longer steers. I have tested this on the box and it is working perfectly on that.


⚠ AsianCinema has degraded performance

In b8e8e81, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 2669 ms

Resolved: AsianCinema performance has improved in dee3da6 after 9 minutes.


Segmentation fault

Hello,
using:  tldr -list
causes a segmentation fault.
I am using a Mac (osx: 12.1) (tldr v1.4.2 (v1.4.2)) and zsh.
maybe someone can help or explain what I am doing wrong.

Duplicate of #71.


Dart Analysis Server server crashed on generics refactor

Dart analyzer and linter

Flutter master.
I’m working on a project that structure around a core class:
sealed class Operation<T, C, R>
Everything was working well but I found a solution to simplify to <T, R>
The moment I started the refactor I got this log analyze crashed living
whole source no more traversable.
Restarting the server crash it after 5 tentatives.
[19:45:28] [Analyzer] [Error] [Bad state: Empty path: []
#0      InterfaceLeastUpperBoundHelper._computeTypeAtMaxUniqueDepth (package:analyzer/src/dart/element/least_upper_bound.dart:314:5)
#1      InterfaceLeastUpperBoundHelper._computeLeastUpperBound (package:analyzer/src/dart/element/least_upper_bound.dart:176:12)
#2      InterfaceLeastUpperBoundHelper.compute (package:analyzer/src/dart/element/least_upper_bound.dart:103:18)
#3      LeastUpperBoundHelper.getLeastUpperBound (package:analyzer/src/dart/element/least_upper_bo…

Current status is I've been able to complete the refactor by hand, grep and memory
so I'm not sure what was triggering this crash as the code base is as deep as wide.
The main culprit seems around a Mixin without generics (dynamic) on Operation<T, C, R>
A warning was thrown before crash that sub classes cannot implement both the typed and generic methods.
I'm sorry I can not pinpoint more precisely the root cause to reproduce it.
Some more not much actionnables hints but maybe helpful:
I was able to start the conversion starting by the leaf-classes and then trying to go up
in the hierarchy. Changing the root class generic, removing C, was my last operation to have it
work.
Starting the refactor by the root class nearly instantly kill the analyzer.
Dear analyzer team, you have all my gratitude for this tool.
I've never felt so alone with my own code than when it is not active anymore... ;)

@scheglov

Noted, but I was not able to reproduce it.


bot crashes after login

--------------------Starting bot--------------------
2016-08-20 12:20:25,842 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-20 12:20:25,844 [       cli] [INFO] No config argument specified, checking for /configs/config.json
2016-08-20 12:20:25,846 [       cli] [INFO] Configuration initialized
2016-08-20 12:20:25,846 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-20 12:20:25,848 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-20 12:20:25,858 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-08-20 12:20:26,084 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-20 12:20:27,349 [PokemonGoBot] [INFO] [location_found] Location found: Santa Monica (34.0194543, -118.4911912, 0.0)
2016-08-20 12:20:27,351 [PokemonGoBot] [INFO] [position_update] Now at (34.0194543, -118.4911912, 0)
2016-08-20 12:20:27,352 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-20 12:20:28,474 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-20 12:20:29,802 [PokemonGoBot] [INFO]
2016-08-20 12:20:29,803 [PokemonGoBot] [INFO] --- Chriscrutt ---
2016-08-20 12:20:29,805 [PokemonGoBot] [INFO] Level: 20 (Next Level: 24810 XP) (Total: 235190 XP)
2016-08-20 12:20:29,805 [PokemonGoBot] [INFO] Pokemon Captured: 886 | Pokestops Visited: 1002
2016-08-20 12:20:29,805 [PokemonGoBot] [INFO] Pokemon Bag: 214/250
2016-08-20 12:20:29,806 [PokemonGoBot] [INFO] Items: 175/350
2016-08-20 12:20:29,808 [PokemonGoBot] [INFO] Stardust: 407 | Pokecoins: 110
2016-08-20 12:20:29,808 [PokemonGoBot] [INFO] PokeBalls: 76 | GreatBalls: 24 | UltraBalls: 10 | MasterBalls: 0
2016-08-20 12:20:29,808 [PokemonGoBot] [INFO] RazzBerries: 34 | BlukBerries: 0 | NanabBerries: 0
2016-08-20 12:20:29,809 [PokemonGoBot] [INFO] LuckyEgg: 2 | Incubator: 2 | TroyDisk: 2
2016-08-20 12:20:29,809 [PokemonGoBot] [INFO] Potion: 12 | SuperPotion: 2 | HyperPotion: 3 | MaxPotion: 0
2016-08-20 12:20:29,809 [PokemonGoBot] [INFO] Incense: 2 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-20 12:20:29,809 [PokemonGoBot] [INFO] Revive: 4 | MaxRevive: 0
2016-08-20 12:20:29,809 [PokemonGoBot] [INFO]
2016-08-20 12:20:29,811 [PokemonGoBot] [INFO] Found encrypt_64.dll! Platform: win32 Encrypt.so directory: C:\Users\chris\Desktop\PokemonGo-Bot
2016-08-20 12:20:29,811 [PokemonGoBot] [INFO]
2016-08-20 12:20:30,023 [   Pokemon] [ERROR] Unexpected moveset [Mud Shot, Rock Slide] for #139 Omastar, please update info in pokemon.json and create issue/PR
2016-08-20 12:20:31,766 [       cli] [INFO]
2016-08-20 12:20:31,766 [       cli] [INFO] Ran for 0:00:06
2016-08-20 12:20:31,766 [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
2016-08-20 12:20:31,767 [       cli] [INFO] Travelled 0.00km
2016-08-20 12:20:31,767 [       cli] [INFO] Visited 0 stops
2016-08-20 12:20:31,767 [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-20 12:20:31,769 [       cli] [INFO] Threw 0 pokeballs
2016-08-20 12:20:31,769 [       cli] [INFO] Earned 0 Stardust
2016-08-20 12:20:31,769 [       cli] [INFO]
2016-08-20 12:20:31,769 [       cli] [INFO] Highest CP Pokemon:
2016-08-20 12:20:31,769 [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 570, in
main()
File "pokecli.py", line 91, in main
tree = TreeConfigBuilder(bot, config.raw_tasks).build()
File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\tree_config_builder.py", line 74, in build
instance = worker(self.bot, task_config)
File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\base_task.py", line 13, in init
self.initialize()
File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\cell_workers\sleep_schedule.py", line 37, in initialize
self._process_config()
File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\cell_workers\sleep_schedule.py", line 59, in _process_config
duration_random_offset = datetime.strptime(self.config.get('duration_random_offset', '00:30'), '%H:%M')
File "c:\python27\Lib_strptime.py", line 335, in _strptime
data_string[found.end():])
ValueError: unconverted data remains: 1
2016-08-20 12:20:31,792 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\raven\transport\http.py", line 47, in send
ca_certs=self.ca_certs,
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\raven\utils\http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\future\backports\urllib\request.py", line 494, in open
response = self._open(req, data)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\future\backports\urllib\request.py", line 512, in _open
'_open', req)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain
result = func(*args)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\raven\utils\http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "C:\Users\chris\Desktop\PokemonGo-Bot\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "c:\python27\Lib\httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "c:\python27\Lib\httplib.py", line 1097, in _send_request
self.endheaders(body)
File "c:\python27\Lib\httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "c:\python27\Lib\httplib.py", line 895, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-20 12:20:31,796 [sentry.errors.uncaught] [ERROR] [u'ValueError: unconverted data remains: 1', u'  File "pokecli.py", line 570, in ', u'  File "pokecli.py", line 91, in main', u'  File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\tree_config_builder.py", line 74, in build', u'  File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\base_task.py", line 13, in init', u'  File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\cell_workers\sleep_schedule.py", line 37, in initialize', u'  File "C:\Users\chris\Desktop\PokemonGo-Bot\pokemongo_bot\cell_workers\sleep_schedule.py", line 59, in _process_config', u'  File "c:\python27\Lib\_strptime.py", line 335, in _strptime']
Something went wrong and the bot needed to be restarted. Please investigate the cause.

i fixed it by re-downloading the bot and changing the API Key


[Feature Request] New version detection

As a user, I'd like to get notified from the command line if there are new versions of cromwell-tools available, so I can update.

A good example of this would be the pip: https://github.com/pypa/pip/blob/master/src/pip/_internal/utils/outdated.py

There's also an example in Google Cloud SDK


WEBRTC_BUILD_VERSION を m132.6834.4.0 に上げる

m132.6834.4.0 にアップデート
ExportKeyingMaterial の廃止に対応
requested_resolution が scale_resolution_down_to になった修正に追従

This pull request includes updates to the WebRTC build version, changes to keying material export functions, and renaming of parameters related to resolution scaling in the codebase. The most important changes are summarized below:
Version Updates:

Updated WebRTC build version from m131.6778.4.0 to m132.6834.4.0 in CHANGES.md, VERSION, and examples/VERSION files. [1] [2] [3]

Keying Material Export:

Replaced ExportKeyingMaterial with ExportSrtpKeyingMaterial in srtp_keying_material_exporter.cpp due to deprecation. Added compatibility handling as ExportSrtpKeyingMaterial only accepts one argument compared to six in the previous function.

Resolution Scaling:

Renamed requested_resolution to scale_resolution_down_to in sora_signaling.cpp to reflect updated parameter naming conventions. [1] [2]

レビューありがとうございます。こちらマージします。


Update obj

Update the obj dependency to 0.10 and integrate the changes.

Actually, looks like gltf fails to compile now :/
https://travis-ci.org/github/three-rs/three/jobs/686387907#L874

bors retry

bors r+


Blacklist tags from appearing in filter results

Would it be possible to blacklist tags from appearing in filter results (nst_workbook being the current contender). It's tagged maths so that tabs and content are coloured blue, but we don't really want it to display in the questions returned . . .
(Though they can only be found if maths and level6 are the only things chosen, it would be better to totally preclude their appearance.)

This may confuse the small subset of users who remember answering a nofilter question and then search for it - but I can live with that.


Prisma Client Default Generator Output Inconsistent with Examples in Docs

Describe the content you'd like to see
Currently the default generator output is set to ./generated/prisma while many of the guides reference and advise to pull in the prisma constructor via ./prisma-client. It might cause some confusion for people going through the getting started docs since generate and post deploy hooks are set by default, yet they are asked to add ./prisma-client to the yaml file and run prisma generate which would leave them with two directories after calling prisma deploy and prisma generate
Describe alternatives you've considered
it might make sense to either change all the references to ./generated/prisma or set the default output in the prisma.yml file to ./prisma-client. both options would allow the user to simply skip the steps where they are asked to run prisma generate and amend the generate script in prisma.yml

The only reason I can think not to do this is that people will be missing out on an opportunity to understand how prisma knows where to place the generated schema. I'd suggest maybe adding a note in the getting started docs with a link to the prisma.yml section of the docs with instructions on how to customize this output.

Thanks a lot for bringing this up @marcaaron! We indeed want to be as consistent as possible across documentation and examples, I've created separate issues that are a bit more actionable than this one and will close this one in favor of the other ones.
In general, we made the decision to always use ./generated/prisma-client/ as the value for the output.
Here's our reasoning for that:

we want to be as explicit and clear as possible about the generated files
the generated files should be in a directory called generated to make it very clear where they're coming from and that they shouldn't be changed manually
we call the generated directory prisma-client (instead of only prisma or only client) to make it very clear that it contains the files of the Prisma client
there's a trailing slash to indicate that prisma-client is a directory and not a single file

This is the issue with the request to update prisma init. And this issue requests to update all docs and examples. I'll work on that soon!
Thanks so much for your input 🙏


Prepared Statement + RETURN_GENERATED_KEYS throws "Query returns results" exception when calling executeUpdate()

Bug Description
When executing a prepared statement, and adding the "RETURN_GENERATED_KEYS" flag, if I call executeUpdate(), for that query, I get this error in the console: java.sql.SQLException: Query returns results. This is due to the fact I have a RETURNING statement, as with the RETURNING removed it works and inserts the item into the database. Desirably I should be able to run my insert and then return the id, but this doesn't seem possible.
 RETURNING id;";
            var stmt = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);

            stmt.setString(1, "test");
            stmt.setInt(2, 20);
            stmt.setInt(3, 20);
            stmt.setInt(4, 20);
            stmt.setInt(5, 20);
            stmt.setInt(6, 20);
            stmt.setInt(7, 20);
            stmt.setInt(8, 20);
            stmt.setInt(9, 20);

            stmt.executeUpdate(); // <-- Exception occurs here
            System.out.println(stmt.getGeneratedKeys().getInt("id"));
        } catch (SQLException e) {
           System.out.println(e);
        }

Unsure this is a bug or if I am doing something wrong here? I attempted this with executeQuery() instead, however, that did not throw an error or insert into the database. Additionally, removing the RETURN_GENERATED_KEYS flag also results in the Query returns results error.
Schema For Reproduction
CREATE TABLE IF NOT EXISTS claims (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    owner_id VARCHAR(36) NOT NULL, -- uuid

    x0 INTEGER NOT NULL,
    y0 INTEGER NOT NULL,
    z0 INTEGER NOT NULL,

    x1 INTEGER NOT NULL,
    y1 INTEGER NOT NULL,
    z1 INTEGER NOT NULL,

    min_height INTEGER NOT NULL,
    max_height INTEGER NOT NULL
);

Environment

OS: Windows 10
CPU architecture: x86
sqlite-jdbc version: <IP_ADDRESS>
sqlite driver version: 3.45.1

Just realised that the RETURNING statement is uneeded because of the return generated keys flag. This was a mistake on my part.


Adding snusr dataset in NCHW format

Following up on https://github.com/mlcommons/mobile_app_open/issues/638
Adding snusr dataset in NCHW format to allow PSNR accuracy calculation of Super Resolution task for NCHW returned result

I think we can discuss this one first https://github.com/mlcommons/mobile_app_open/issues/644
If we all agree to do it, then we can have all the images in one archive file.

Closing this in favor of https://github.com/mlcommons/mobile_app_open/issues/644
@AhmedTElthakeb
I downloaded the files and put it together in one archive and uploaded here:
https://github.com/mlcommons/mobile_models/releases/tag/untagged-adb45e94db8a258b27b7
Please check it.


[vcpkg_find_acquire_program] Update PKGCONFIG to 2.1.0

Nicely complements #34228: pkgconf 2.1.0 seems to fix all issues of the 2.0 series.

Integrated in https://github.com/microsoft/vcpkg/pull/35331-

Merged with #35331.


refactor: distribute slots to replicas

resolve: https://github.com/redis/rueidis/issues/397
randomly pick one of replicas for a slot

We're currently processing your upload.  This comment will be updated when the results are available.


Add className to locals of Struct and List

locals.className is used in the bootstrap template's struct() and list() but is never passed.
Note, that i opened against the 0.6.x branch because i'm using this version. This might be ported to the other branches too.

Thanks!

This might be ported to the other branches too

I'll do that asap

Just released v0.6.6 and v0.7.2 with the fix, thanks again

Great, thanks.


Can't Start App After Confuserex.

ConfuserEx Version: 1.5
Target Framework: 4.0
Operating System: win10 x64

Sample Project :
TEST.zip
Steps to Reproduce:

if i use "ctrl flow" or "constants cfg" My App Crash..

I Think..
When i try get System cache Icon, App crash ^^;;
Have a nice day ^^

Solve !!
Remove System cache Icon Function..
i use new ImageList...
i think this Case is not easy... ^^;;
Have a nice day ^^


Allow preamble macros to introduce declarations with documented names

Preamble macros introduce code at the beginning of a function body.
Allow them to introduce declarations as well, so long as the macro
declaration properly declares the names it introduces. This allows all
sorts of exciting macros that introduce (e.g.) new local variables
that one can use.

Only the last commit is new

@swift-ci please smoke test


Resources:

https://medium.com/warp9/deploying-a-static-website-in-a-docker-container-f6b7d8eed15f
https://tecadmin.net/tutorial/docker-run-static-website

Fixed by #25.


LEDtest voice.calibrate() crashes on RePhone / Xadow

Hey, great project!
I'm trying to run the LEDtest on my RePhone (Arduino compatible). It crashes during voice.calibrate() ... any thoughts on how to debug this?
Thanks!

No idea... Could you point me to some docs

What is the symptom of the "crash"


Upgrade to Phlex 0.5

Upgraded the Phlex dependency to 0.5. I’ve not done any manual testing and I don’t know how thorough the tests are, but they’re passing.
I only made one change to the tests which was related to removing redundant slashes in void <input> elements.

Thanks so much @joeldrapper, looks good to me!


KDOC_WITHOUT_THROWS_TAG add @throws annotation when throw inside try catch

Describe the bug
I sometime use throw inside a try catch when I feel like it makes sense, for example to do extra verifications on user input (see example below).
Expected behavior
Do nothing
Observed behavior
KDOC_WITHOUT_THROWS_TAG rule add a @throws annotation to the function, but it's wrong, this function does not throw anything as it is already caught by the surrounding try catch
Steps to Reproduce
/**
 * @throws NumberFormatException
 */
fun parseInputNumber(onSuccess: (number: Int) -> Unit, onFailure: () -> Unit) {
    try {
        val input: Int = binding.inputEditText.text.toString().toInt()
        if (input < 0)
            throw NumberFormatException()

        onSuccess(input)
    } catch (e: NumberFormatException) {
        onFailure()
    }
}

Environment information

diktat version: 1.2.5
build tool (maven/gradle): Gradle 8.2.1 & AGP 8.1.0
how is diktat run (CLI, plugin, etc.): Plugin
kotlin version: 1.9.0
operating system: Ubuntu 22.04
link to a project (if your project is public): -

Hey! thank you for this report! Sounds reasonable, looks like we implemented it in a very-very easy way.


Include UniProt protein identifiers for each target gene

Is your feature request related to a problem? Please describe.
For the RDF model, I intend to model PPIs from StringDB as :has_participant :some protein for each involved protein.
Describe the solution you'd like
Include UniProt IDs for each target gene
Describe alternatives you've considered
The current solution is a placeholder protein node for each gene, linked to it via :has_gene_template :gene but with no real persistent identifier.

Delano is working on it.


Add support for refresh tokens by default

It'd be cool if refresh tokens are added by default to created apps. Especially since we're trying to fix refresh tokens in JHipster. As a follow on, we could add the offline_scope to all sample apps.

PR here: https://github.com/okta/okta-cli/pull/277


[Diagnostics] Clarify diagnostic for failed type conversion in subscript assignment

Addresses SR-6340
Currently,
var d: [Int: String] = [:]
d[0]=0

results in the error,
error: cannot assign value of type 'Int' to type 'String?'

This PR changes the error message for subscript assignment so it now reads,
error: cannot assign value of type 'Int' to subscript of type 'String?

It's kind of unfortunate the new, subscript-specific messages don't use the existing assignment diagnostic definitions, but it keeps the diagnoseContextualConversionError additions much simpler

Thanks for reviewing! The formatting issues should be fixed now, looks like I need to pay a little more attention to my clang-format usage.

@swift-ci please test

Hi @xedin , do you mind merging this when you have time if  everything looks good now? Thanks!

Ah yes, sorry! Let's run CI again just in case and I'm going to merge.

@swift-ci please smoke test

Done, thanks again, @owenv !


How can I use Solarized Light Theme while I am using set background=dark in myvimrc.

I am using set background=dark because changing it to light interferes with the color of the text displayed on vim.

Could you share your configuration files?

I am currently using nvim through windows terminal and I have edited its One Half light color theme through settings.json file.
"schemes": [

{
"name": "One Half Light",
"background": "#002b36",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#87FFAF",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#FFFF66",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
]

This is not supported but there is a workaround.
set background=light
execute 'source' globpath(&rtp, 'autoload/lightline/colorscheme/solarized.vim')
set background=dark

The light/dark variants were merged in #175 (a9fc5fc62ea5c44b6329ecca0fc1a23ac964968f) which aims at improved compatibility with the colorscheme and code deduplication. It's unlikely to change this back so use the above workaround.


Update daysUntilBirthday.js

As in my last probosel, there is an interface to select the adressbooks. The selection is stored.
In this version a added an option to show family names or not. If family names are shown the widget only has one column. Without family name it is the old design with two columns.
I switched back to the old colors but if the birthday is today, the color will be red.

thanks, i'll check it out on the weekend when i have some free time :)


Change CICD container to a more secure one.

The container base is switched in
https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/pull/943.
The original one has 72 vulnerabilities reported by GCR. The new one has
zero.

/gcbrun

Great!

/gcbrun

/gcbrun


6483-Step1: move validation code out of pipeline_types.go

Changes
/kind cleanup
As part of the step 1 of https://github.com/tektoncd/pipeline/issues/6483, this commit moves validation functions from pipeline_types.go to pipeline_validation.go
No impact on the downstream consumers b/c they stay in the same package.

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep

Release Notes
NONE

cc @dibyom @wlynch @pritidesai

/lgtm

/retest

/cherry-pick release-v0.44.x

/cherry-pick release-v0.44.x

@JeromeJu: #6526 failed to apply on top of branch "release-v0.44.x":
Applying: 6483-Step1: move validation code out of pipeline_types.go
Using index info to reconstruct a base tree...
M	pkg/apis/pipeline/v1/pipeline_types.go
M	pkg/apis/pipeline/v1/pipeline_validation.go
M	pkg/apis/pipeline/v1beta1/pipeline_types.go
M	pkg/apis/pipeline/v1beta1/pipeline_validation.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/apis/pipeline/v1beta1/pipeline_validation.go
CONFLICT (content): Merge conflict in pkg/apis/pipeline/v1beta1/pipeline_validation.go
Auto-merging pkg/apis/pipeline/v1beta1/pipeline_types.go
CONFLICT (content): Merge conflict in pkg/apis/pipeline/v1beta1/pipeline_types.go
Auto-merging pkg/apis/pipeline/v1/pipeline_validation.go
Auto-merging pkg/apis/pipeline/v1/pipeline_types.go
CONFLICT (content): Merge conflict in pkg/apis/pipeline/v1/pipeline_types.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 6483-Step1: move validation code out of pipeline_types.go
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

sorry wrong paste while loading under vpn connection


cmd/server/commands: use relative path as id instead of last part

Fixes #681
Still can have collisions, but reduces the probability of having them.
Signed-off-by: Miguel Molina<EMAIL_ADDRESS>

@kuba-- why would you want to store all paths in unix format?

@erizocosmico - just to have it internally consistent (like you start gitbase on some OS and query on another). Like you have inside a zip file - all entries have unix separator(/) even if you use windows or pass \

Sounds good to me
On 17 May 2019, 17:27 +0200, Kuba Podgórski<EMAIL_ADDRESS>wrote:

@erizocosmico - just to have it internally consistent (like you start gitbase on some OS and query on another). Like you have inside a zip file - all entries have unix separator(/) even if you use windows or pass
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Windows 10 will accept / and \ as path separators, don't know about previous versions, anyway unifying doesn't hurt.


Make FrozenDict constructor freeze correctly.

Makes freeze a synonym of the FrozenDict constructor
Optimize freezing FrozenDicts by sharing immutable internal state.

Codecov Report

Merging #557 into master will decrease coverage by 0.00%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
- Coverage   80.40%   80.39%   -0.01%
==========================================
  Files          55       55
  Lines        4088     4086       -2
==========================================
- Hits         3287     3285       -2
  Misses        801      801

Impacted Files
Coverage Δ

flax/core/frozen_dict.py
91.66% <90.00%> (+0.75%)
:arrow_up:

flax/linen/module.py
93.64% <0.00%> (-0.21%)
:arrow_down:

Continue to review full report at Codecov.

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


copyright update

Codecov Report
Attention: Patch coverage is 85.71429% with 1 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (protodrg@d859e33). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@             Coverage Diff             @@
##             protodrg      #13   +/-   ##
===========================================
  Coverage            ?   68.27%
===========================================
  Files               ?       75
  Lines               ?     5116
  Branches            ?        0
===========================================
  Hits                ?     3493
  Misses              ?     1623
  Partials            ?        0

Files
Coverage Δ

smartsim/_core/control/controller.py
61.90% <100.00%> (ø)

smartsim/_core/launcher/dragon/dragonBackend.py
0.00% <ø> (ø)

smartsim/_core/launcher/dragon/dragonParser.py
0.00% <ø> (ø)

smartsim/_core/launcher/dragon/dragonSockets.py
87.50% <ø> (ø)

smartsim/_core/launcher/step/dragonStep.py
39.39% <ø> (ø)

smartsim/_core/schemas/__init__.py
100.00% <ø> (ø)

smartsim/_core/schemas/dragonRequests.py
97.14% <ø> (ø)

smartsim/_core/schemas/dragonResponses.py
100.00% <ø> (ø)

smartsim/_core/schemas/utils.py
83.82% <ø> (ø)

smartsim/entity/dbobject.py
54.12% <100.00%> (ø)

... and 2 more


Russian version of the translation for README

This will be very useful for Russian-speaking programmers

Thanks for your contribution @awibox. However, the Russian version of the translation already exists. Feel free to update it if needed in a separate diff.


Increase Raft timeouts during test

Previous timeouts may be too short for CI testing resources.

@benbjohnson

Potential fix for issue #2810


Deserialization errors after upgrading from Rails 4.2 to 5.1+

I am working on upgrading an app from Rails 4.2 to 5.2.  I have am running into an issue were jobs that were created in 4.2 are raising errors when they are invoked under Rails 5.2.
Delayed::DeserializationError (Job failed to load: not delegated...
I have narrowed it down to a problem after moving from 5.0 to 5.1.  In 5.0.7 there is no problem but there is in 5.1.0.  I can reproduce on a simple test case (taken from job.handler) by doing YAML.load(yml) where yml:
object: !ruby/object:Account
  raw_attributes:
    id: '8469'
  attributes: !ruby/object:ActiveRecord::AttributeSet
    attributes: !ruby/object:ActiveRecord::LazyAttributeHash
      types:
        id: &4 !ruby/object:ActiveRecord::Type::Integer
          precision:
          scale:
          limit: 8
          range: !ruby/range
            begin: -9223372036854775808
            end:<PHONE_NUMBER>854775808
            excl: true
      values:
        id: '8469'
        created_at: '2019-11-15 21:16:15.257401'
      additional_types: {}
      materialized: true
      delegate_hash:
        id: !ruby/object:ActiveRecord::Attribute::FromDatabase
          name: id
          value_before_type_cast: '8469'
          type: *4
          value: 8469
        created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase
          name: created_at
          value_before_type_cast: '2019-11-15 21:16:15.257401'
          type: !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter
            subtype: !ruby/object:ActiveRecord::ConnectionAdapters::PostgreSQL::OID::DateTime
              precision:
              scale:
              limit:
          value: 2019-11-15 21:16:15.257401000 Z
  new_record: false
  active_record_yaml_version: 0

That gives the error ArgumentError (not delegated).  I have found that removing the subtype under created_at makes the problem go away but not idea why.  I have tried changing the subtype to something simple like an integer and get the same problem.
Anyone have thoughts on how to approach this?  I am really surprised that I have not found any info on others running into the same problem.

The problem boils down to newer Rails can't deserialize the ActiveRecord YAML produced by older versions. I used this augmentation to the Ruby YAML parser to be able to load and reserialize the old yaml objects https://gist.github.com/albus522/ba5bb04205a9dc316304f8f228adda2e It worked for what I needed at the time but I am quite sure it is not a complete solution.

@albus522 thanks for you response and shared code.  Seem odd that new Rails can't deserialize since there is a active_record_yaml_version attribute.  The current plan I am exploring is to dual boot rails 5.1 and 5.2 using https://github.com/Shopify/bootboot and then reserialize all the handlers in 5.1 mode.  Something like:
Delayed::Job.all.find_each do |job|
   data = YAML.load_dj(job.handler)
   job.update(handler: YAML.dump(data))
end

That gem doesn't load 2 versions in the same process. It is the same as dual booting a computer. You don't run 2 versions at the same time, you make it easier to switch between the two.
So all your code snippet will do is reserialize the same old data.

It doesn't need two versions in the same process.  On 4.2, all jobs are serialized with active_record_yaml_version : 0.  On Rails 5.1, it seems to be able to correctly deserialize the job (I have only tested a few so far) and when you reserialize it uses the active_record_yaml_version : 1 format.  The dual boot is just so the rake task I create for this can run in 5.1 while the rest of the app runs in 5.2.

My idea didn't end up working.  While the test job could be deserialized, other ones ran into problems related to undefined things in Rails 5.1.  @albus522, if I understand the gist you linked correctly, you are basically ignoring the ruby/object:ActiveRecord::AttributeSet in the handler which is where all the extra method and data types are defined and instead just grabbing the id from raw_attributes and finding the obj.  Is that correct?
You said, "I am quite sure it is not a complete solution."  Were there specific areas you were concerned about or just that you were focused on a narrow set so aren't sure if there might be other issues?

Yes and yes. The augmented parser essentially halts the parsing early in the process so that it doesn't try to deserialize the data for classes that don't exist. Deserializing the ActiveRecord object by doing a database lookup is already what DJ does, but DJ doesn't halt the parsing process, it hooks into the tail end of the deserialization pulling a clean copy of the database object. While the approach is similar enough to what DJ does by default, the data I used this on was simple enough to not present much of a challenge.

@albus522 thanks again for your help.  I created a migration to handle the upgrade and have tested it on our full data set and everything looks good.  Only adjustment to the gist you shared I made was to handle when raw_attributes doesn't exist.  We had some really old failed jobs from Rails 3 that didn't have that attribute.
Here is the migration for those that might be interested https://gist.github.com/drewB/2bcb5448828b2ce95021f63b4dccd5d5


Add implementation of lower versions of the operators.

All 'real' model tests pass after the fix.

Codecov Report

Merging #58 (af802ee) into main (a283ead) will decrease coverage by 1.12%.
The diff coverage is 68.11%.

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   88.43%   87.31%   -1.12%
==========================================
  Files          66       66
  Lines        2491     2618     +127
==========================================
+ Hits         2203     2286      +83
- Misses        288      332      +44

Impacted Files
Coverage Δ

jaxonnxruntime/onnx_ops/add.py
90.00% <50.00%> (-6.16%)
:arrow_down:

jaxonnxruntime/onnx_ops/averagepool.py
90.24% <50.00%> (-4.36%)
:arrow_down:

jaxonnxruntime/onnx_ops/batchnormalization.py
52.94% <50.00%> (-0.40%)
:arrow_down:

jaxonnxruntime/onnx_ops/concat.py
87.50% <50.00%> (-12.50%)
:arrow_down:

jaxonnxruntime/onnx_ops/conv.py
92.45% <50.00%> (-3.47%)
:arrow_down:

jaxonnxruntime/onnx_ops/gemm.py
95.12% <50.00%> (-4.88%)
:arrow_down:

jaxonnxruntime/onnx_ops/lessorequal.py
89.65% <50.00%> (-6.35%)
:arrow_down:

jaxonnxruntime/onnx_ops/lrn.py
94.87% <50.00%> (-5.13%)
:arrow_down:

jaxonnxruntime/onnx_ops/maxpool.py
95.65% <50.00%> (-4.35%)
:arrow_down:

jaxonnxruntime/onnx_ops/mul.py
90.00% <50.00%> (-6.16%)
:arrow_down:

... and 16 more

... and 1 file with indirect coverage changes


[Bug]-[93.75]:isValid errors on the input widget - extension of #6875

Description
Related to the third issue that's in WIP for #6857

The input widget shows an error briefly when the value is first changed from empty (this happens only on first keypress in an empty input)

Important Details
Version: Cloud
OS: Win10
Browser: Chrome
Environment: Release & Prod

@somangshu This issue is not related to the input widget. widget is getting rendered before the derived properties get updated. so we see the error message momentarily until the next render.
@Rishabh-Rathod Need your help debugging this.

This seems to be more related to metaHOC and derived property's current flow causing the issue.
@sbalaji1192
Discussed possible solution to have property whose validation can be done on main thread.

@sbalaji1192 should this be worked on by the UI Builders?

@somangshu I have started a thread on slack regarding this. We still haven't found a potential solution for this.

@sbalaji1192 we if have a conclusion, please drop it here

Stats

Stat
Values

Reach
375

Effort (months)
2.0

Seems to be working


[Debug][NDTensors] Unwrap reshapedArray function

Currently reshapedarrays with non-CPU backend do not work properly in the mul! function (they are considered CPU arrays and BLAS.gemm! is called on them which results in an addressing error) Created a simple function which unwraps the ReshapedArrays computes the gemm and then rewrites the data back to the correct piece of memory. This is especially important in views.

Codecov Report

Merging #1155 (31132d5) into main (bd10851) will decrease coverage by 31.13%.
The diff coverage is n/a.

:exclamation: Current head 31132d5 differs from pull request most recent head 0f32aa2. Consider uploading reports for the commit 0f32aa2 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##             main    #1155       +/-   ##
===========================================
- Coverage   85.28%   54.16%   -31.13%
===========================================
  Files          87       86        -1
  Lines        8368     8314       -54
===========================================
- Hits         7137     4503     -2634
- Misses       1231     3811     +2580

see 41 files with indirect coverage changes

Superseded by other PRs.


RE: Some questions

Hi I have some questions in regards to this project:

How does this differ to OpenCV?
Am I able to also code in C++?
Does it support AMD OpenCL?

@Joe23232

Tensorflow is a framework used (with Keras) to perform ML-related tasks. OpenCV is primarily used for Computer Vision and Image processing related tasks.
This library is written in C++ and python both.
Read this Link

Oh ok thanks mate
On Wed, Feb 17, 2021 at 10:35 PM Adwait<EMAIL_ADDRESS>wrote:

@Joe23232 https://github.com/Joe23232

Tensorflow is a framework used (with Keras) to perform ML-related
tasks. OpenCV is primarily used for Computer Vision and Image processing
related tasks.
This library is written in C++ and python both.
Read this Link
https://missinglink.ai/guides/tensorflow/tensorflow-support-opencl/

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/47201#issuecomment-780496430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKO7IIOCPRKJWG3B3HBRK3S7OSXBANCNFSM4XXRMABQ
.

@Joe23232
1.OpenCv does not have automatic differentiation engine and many more differences, these are largely different in their own scope.
2.Both frameworks have programmable interface in c++
3.Please refer to this link.
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there, please move this to close status and open an issue on stackoverflow.

Closing as this should be asked on Stack Overflow.


Example JSON documentation

Currently, there is no documentation of example JSONs, whether the examples are available for all the domains and their respective use case or not.
List down all the example JSON for all the available domains and their respective use case.
Confluence page created for populating the information-
https://fide-official.atlassian.net/wiki/spaces/EC/pages/323911681/Example+JSONs
Make sure that all the links are verified and working if something is not working or needs an enhancement in the example JSON, please put that under the comments column.
This information will be used to create further tickets for the missing examples , endpoints in examples etc.
PLEASE DON'T KEEP LOCAL COPY, KEEP UPDATING THE CONFLUENCE IN BATCHES.

Updated the sheet with:

domain
use cases
github link for repo
github link for examples in particular use cases
checked and updated if the xinput is being used for all the use cases
checked and updated the endpoints used and not used for all use cases
provided necessary comments.

3 use cases are remaining

Note: Agrinet had 3 use cases instead of 1 I though it had.
Ppdated the details for Learning, Products and Services use cases of Agrinet.
Updated the details of State Forest Department, Envirogrowth Foundation and Earth Support Initiative use cases of Forest conservation.

Closing the ticket.

Added all the details asked.


Release 0.9.4

Release notes:
OpenPathSampling 0.9.4 includes a few new features, several important bug fixes, and a lot of minor improvements. A few highlights include:

New ability to include velocities when creating an OPS trajectory from and MDTraj trajectory
New default colors in visualizations (better visibility for the most common type of color blindness)
Significant updates to the documentation
Major improvements in Python 3 support
Critical bug fix in the direct MD flux calculation
Critical bug fix in two-way shooting

Details on all improvements below.
New features

Add velocities as input to trajectory_from_mdtraj (#750)
Tools for converting flux to pandas structures (#735)

Bugs fixed

Allow unicode for string options in engine option check (#757)
Fix bug in BackwardFirstTwoWayShooting (#752)
Fix problem with HistogramPlotter2D limits (#732)
Fix bug in snapshot.md box_vectors (#731)
Fix bug in DirectSimulation flux (#726)

Miscellaneous improvements

Default path tree colors are better for color-blind (#733)
Improvements to documentation (#751, #748, #744, #737, #729, #723)
Improved Python 3 compatibility (#743, #741, #739, #738)
Improvements to examples (#746, #743, #719 [by @bolhuis])
Behind-the-scenes upates to CI, testing, and deployment (#758, #749, #747, #745, #742)
Dev install for simple developer installs (#728)
Code readability updates (#724)

Wow, that was quick!

Thanks! Fixed the typo; as soon as this passes tests, I'll merge, then cut the GitHub release, then update the omnia recipe.

Wow, that was quick!

Happened to check my email just as that came in ;-)


Session Present in version 3.0.0

Hi there!
When client connect to server with CleanSession, the server must set Session Present to 0 in the CONNACK packet(MQTT Documentation, section <IP_ADDRESS> ), but in version 3 set 1. In version 2.8.5 this works correctly.

Hi,
thank you for reporting this issue. I fixed it and will release a new version soon.
Best regards
Christian


UPDATE TO SONOMA

What feature do you want to get added on the base engine?
PLS UPDATE THE MAC PORT TO MACOS SONOMA PLSSS I CANT PLAY PSYCH ON MAC PLSSS JUST UPDATE IT PLSSSSSS
To test your sight, and reliability, please select the option of what should NOT be requested.
A good idea

you can try build yourself for sonoma

I don't have a mac

so who's the dev who works on the mac port?

so who's the dev who works on the mac port?

That's the point, no one is lol, it has no *proper* support


[BUG] Lagging without gapps

Describe the bug
I don't know if it can be considered as a bug, but in an AOSP rom e.g. LineageOS without google apps the app seems very laggy, can be solved after installing google apps package.
To Reproduce
Steps to reproduce the behavior:

Install an AOSP rom or get rid of your gapp package
Install the app
Scroll down or open an image and scroll laterally, you'll see some frame drops.

Expected behavior
As it is lightweight i expect to not stutter.
Screenshots
https://github.com/IacobIonut01/Gallery/assets/113647258/2bacdcb3-e7c7-496a-8c45-fb578f86d758
Smartphone

Device: SM-G975F/DS
OS: LineageOS official latest build
Version: Android 13

Additional context
It may be exynos freaking me out.

I'm closing because just noticed the bug has already been related and the dev is working on it, sorry for inconvenience.


Update qc_0

This parameter is currently being overridden by ClimaAtmos and should be updated here to match.

bors r+


Cell Table Column Visualization

Problem
Suppose after clustering/labelling cells, you'd like to see those new labels within a FOV, before running something like spatial analysis.  Currently, there's no built in plotting utility in ark-analysis to accomplish that.
Solution
A function (either in ark.utils.plot_utils or ark.analysis.visualize) that takes in a cell table, a label image, and a column name, which will plot the column name values over the corresponding cell label ids.

I'm not sure I understand what the request is here. It sounds like what we do for the cell_clustering functionality https://github.com/angelolab/ark-analysis/blob/new_som/templates/example_pixel_cell_clustering.ipynb. Is it different than plot_utils.plot_clustering_results?

Nope; didn't know we had that already.  In that case, it'd be good to use that in the spatial analysis notebook.  Something to add while resolving issue #443 perhaps

Sounds good, will you add that?


Hot reloading

Would be nice to add livereactload.

Yay, it works - at least for popups and option pages - with the addition of "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'" to the manifest.
But it's incompatible with parcelify. Parcelify chokes on the ___livereactload_entry.js file that livereactload inserts; it tries to read it from fs but it's not actually there. Should ignore the file somehow.

Tasks:

[ ] Add gulp task that adds content_security_policy field to manifest in dev mode. And while we're at it, have manifest version follow package version.
[ ] Ignore livereactload file in parcelify
[ ] Conditionally (when React is used) install dependencies required for livereactload
[ ] Exclude content scripts from reloading (don't load the livereactload browserify plugin), add explanation to readme. Also: warn about default permissions being http(s)://*/*.

What I cooked up is slightly crazy: for each browsing context (e.g. a background page or content script), a separate reload server is started. For all but content scripts, that's a livereactload server - when a bundle changes, the livereactload client in the corresponding browsing context is notified and some module in that context is hot reloaded. Due to chrome's security model, content scripts are handled separately with a mini-lr server. When the content script bundle changes, the background page is notified, which then reloads the entire extension.
If you generate an extension with all the options enabled, and then run gulp develop, you'll get four websocket servers:

:4474 - for background page
:4475 - options page
:4476 - popup (browser or page action)
:35729 - for content scripts (but handled by background page)

Even better: content scripts can have hot reloading too. Like the rest, a livereactload server is started for the content script. The background page listens to this websocket, and passes messages on to the content script via chrome.runtime messaging. The livereactload client there can then perform the hot reload. I did some experiments, seems promising.
It does need more work, e.g. dealing with disconnects, multiple content scripts. And ideally, use just one websocket server - multiplexed for the different browsing contexts.

See the hotreload branch, which has hot reloading for all the moving parts. But I had to remove parcelify.

@vweevers Lets go ahead and merge to master

Couple of things to do after merging:

[ ] Remove version field from manifest.json
[ ] In the generators build task, clean the dist folder before transpiling (to be sure that when we publish, old files like chromereload.js are not included)
[ ] Until we have something (like CSS modules) to replace parcelify (and with that, live reloading of CSS): remove LESS/SASS support, copy CSS files to dist and include index.css instead of bundle.css in HTML files


MongoDB connection refused

I got this error :
Database Error:  { [MongoError: connect ECONNREFUSED] name: 'MongoError', message: 'connect ECONNREFUSED' }
What is the meaning of this

That means that you don't have a mongo database installation working on your computer. You should install mongo first, and then make sure you can run it. Once you do that, run this app.

Okay sorry for the trouble, I will try it asap. Thank You

I will close this issue, please reopen if there are any problems with the connection.
Thank you @merqurio for your fast and comprehensive response.

I am sorry but I have the same problem. I've installed mongo. I cannot figure out where is db itself in your application, should I create it myself (if so in which directory)? In the index.js file I cannot find setting for config.mongo.uri and config.mongo.options. Am I missing something?


v0.41.1

[x] Create release in Github

[x] Bump Version
[x] Create Draft Github Release
[x] Create Release Notes
[x] Generate Binaries and Checksum
[x] Upload Binaries and Checksum
[x] Publish the Draft Release
[x] Close any GitHub issues that have been delivered.
[x] Add a link to the release on the issue.

[x] Create an OSM Release
[x] Create TanzuNet product
[x] Update the packaging repositories

[x] Check if Update Homebrew
[x] Check if Update Website Installation Script
[x] ~Update Chocolatey~
[x] Check Github Action

[x] ~Update Documentation by generating a new docs version~
[x] ~Push any artifacts to a registry~
[ ] Communicate in Slack
[ ] Add to "Announcements" in Next Community Meeting Agenda — describe what's going on with this patch release.

Post Release:

[ ] Upload and release v0.41.1 OSL file to TanzuNet Product and Release

While doing some exploratory testing, discovered a regression.
The --data-value-file flag was broken which warranted an immediate patch release.


Lower spacy version requirements

Currently the required spaCy version is set to 3.6.0 or higher. However, AFAIK the LanguageDetector does not use any spaCy features specific to that version  so the version constraint can safely be relaxed to a lower version (probably >= 3.0.0)
I personally tried it with spaCy 3.4.4 and it worked without any issues

Thanks for opening and sorry for the delays to answer. I just released a version 2.1.0 that lowers the requirements on Spacy


ADBDEV-5103: Make frozen_insert_crash test stable

Make frozen_insert_crash test stable
Commit 1502bef introduced a new flaking test. The test expects a panic to occur
in the process that performs the insert. But sometimes the panic happens first
in process which started by dtx recovery process that periodically checks for
orphaned transactions. Which leads to an error in the test. The solution is to
panic only the required process, which is done by extracting session from
pg_stat_activity by query.

Allure report https://allure.adsw.io/launch/67041

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1183917

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1183918

At the voice chat we discussed how to simplify the changes and reduce diff.
Second, I asked for a link to a process that checks for abandoned transactions.

simplify the changes and reduce diff

simlified

a link to a process that checks for abandoned transactions

added

Allure report https://allure.adsw.io/launch/67247

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1194247

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1194248

Allure report https://allure.adsw.io/launch/67406

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1201709

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1201710


[Bug] Run all test button doesn't work

Hi, button "Run all test" from test explorer ui doesn't work.

Hi @vchirikov,
Really sorry for the delay in response. It looks like this might be a regression created in #31. I'll take a look and try to work out why we aren't running anything from this top level call.


When Selected Item Text is too long, not hide extra Word

.select2-container .select2-selection--single .select2-selection__rendered {
display: block;
padding-left: 8px;
padding-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

Sorry for the delay, but this issue not related to this component, you should look at CSS styles.


Show generated message in view at the bottom while generating

When you're at the bottom of the chat, it should focus on showing the generated text, as it's being generated. Which means, it should automatically scroll to a new line as it's being generated.
Now the newly generated messages go off-screen at the bottom and you have to manually scroll continuously to read each line as it's being generated.
Same goes for showing your own message at the bottom when pressing enter.

Hey @martinverhey, thanks for filing! I tried to get this to work (there is a temporary implementation here: https://github.com/alexrozanski/LlamaChat/blob/main/LlamaChat/ui/chat/messages/MessagesView.swift#L61) but the messages view needs reimplementing as there's no built-in way to do this in SwiftUI.
Will get to this soon ✌


Spelling and typo fix

@BasThomas Looks good. Can you do a pull request to the "develop" branch?

Done! :-)


Fix typo in filename

Apologize!

Travis failed with

/home/travis/build.sh: line 45: ghc: command not found

This is some kind of bug I suppose, it there a way to rerun task?


VSCode is creating an unwanted directory

For some reason, we have a directory created at /home/jovyan/file:/home/jovyan
This should not be here....

I was informed by the SDE's for AWS Toolkit that this is a bug and has been fixed in their dev env...will propagate to release soon..