Use new ppa for installing Python

As a first step to Python 3.7 support, I've updated the PPA used to install Python from.
ppa:fkrull/deadsnakes says:

This repository is kept for historical purposes, but NOT UPDATED. Please use the new repository at
https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
instead!

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


Test: API - support group ordering for menu contributions

Test for #9153:

[ ] any os - @chrisdias
[x] macOS - @weinand

When using the menuitems contribution point, you can control the order of menu items and of menu item groups. Verify that:

groups are sorted lexicographically - except for the navigation group which comes first always
menu items are sorted lexicographically when they just specify a group. When the group matches a  pattern like some_group@10 the number used to promote/demote the item.

@jrieken I suggest to mention the predefined non-obvious group names in the doc, e.g. the name of the "Cut/Copy/Paste" group.

Agree - we should document the groups we define by default


[OSF-8477] Import contributors in one click - fix pagination

Purpose
There are a couple problems with the current import contributors feature.

It doesn't import non-bibliographic contributors
It doesn't import the contributors permissions
You can't modify a contributors the bibliographic status before you add them, only their permissions.

This fix will set the permissions and bibliographic status on import so you can import everyone in one click.
Changes
Changed the get_contributors_from_parent/ endpoint to get more info about the contributors permissions and bibliographic status, then modified the .mako and .js to display the new info without crowding the screen
Before

After

Side effects
Modified some of the wrapping in that dialog, so make sure that works in a sane way with long names.
Testing
Nothing special
Ticket
https://openscience.atlassian.net/browse/OSF-8477

Not going to hold up this ticket, but in the future the PR description should be for the specific change, not for the original problem. That way I could see, for example, the paginated way in the old ticket and the unpaginated way in the new ticket.


What kind of nonsense is this?

looks like the extension is reading from YSI and retrieving those macros for auto complete
https://github.com/pawn-lang/YSI-Includes/blob/fa673344659bce16fc13f0c11151eafbdf7c890f/YSI_Coding/y_inline/y_inline_impl.inc#L2166
You can use this YSI files I guess:
https://github.com/openmultiplayer/vscode-pawn#usage-of-pawnignore

And what would the solution be? YSI defines macros using #define
the extension lists #define defines for user to use imagine you have #define MAX_CUSTOM_GANGZONES 100
What am I supposed to do with these YSI defines??


Refactor the patch and run Python scripts

This commit refactors the patch.py script to be nicer to work on 😋
There are now command line arguments for patch.py:
--run: "Run the patched Nerts executable"
(Note: run.py still works as before)
--nerts_path: "Path to the Nerts executable"
--skip_download: "Skip downloading de4dot"
--bin-dir: "Directory to store de4dot and temporary executables" (This is slightly broken, it only works with absolute paths)
I haven't tested this on Linux or MacOS yet (cc @oliverdunk).
Thanks

Your changes broke the Windows version :-( - there is probably a better way to do this, but for now we can just check if the system is Darwin and do it your way, else do it the way that works on Windows.

Thanks for the Windows fix!


LSF Handshake functionality enhancement

Determine if LSF can handle Handshake functionality, such as holding resumes (i.e., labor transcripts after their first year), position descriptions, allocations, etc.
Let students see and apply for different positions (suggestion: perhaps, a tagging system that recommends jobs)

 LSF Handshake functionality enhancement


Unknown collation: 'utf8mb4_0900_ai_ci' for Laravel 11 database

TL;DR
DDEV will have explicit support for Laravel 11 with the next major release v1.23.0
For DDEV v1.22.7, use this ddev config (collation change has been reverted in Laravel 11.0.3):
ddev config --project-type=laravel --docroot=public --create-docroot --php-version=8.2

If you want to use SQLite database for Laravel 11, use this ddev config instead:
ddev config --project-type=laravel --docroot=public --create-docroot --php-version=8.2 --omit-containers=db --disable-settings-management=true

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior
After a " ddev launch" i exepect a tipical laravel welcome page
Actual Behavior
i land on an error page, with this message
Illuminate\Database\QueryException
PHP 8.2.9
11.0.0
SQLSTATE[HY000]: General error: 1273 Unknown collation: 'utf8mb4_0900_ai_ci'

Steps To Reproduce
No response
Anything else?
First of all, i changed the version of php:
ddev config --project-type=laravel --docroot=public --create-docroot --php-version=8.1
to ... --php-version=8.2, otherwise by default Laravel install version 10.4.
Then i got SQLSTATE error.
I think the problem is due to new version of Laravel that has SQLite connection to db, by default, i tried to changed manually .env file, but it didn't work.

Hi @pa-purpura - I imagine you are having a problem that requires MySQL 8.0?
That collation is available only in mysql.
ddev delete -Oy and ddev config --database=mysql:8.0 and then ddev start and import your database again?

In Laravel 11, the default collation has been changed, as an alternative, add this to .env (the default value from Laravel 10):
DB_COLLATION=utf8mb4_unicode_ci

I've prepared a PR to support Laravel 11, test artifacts are available here.

I didn't encounter this when using https://github.com/ddev/ddev/issues/5962 and a fresh Laravel install.
I was able to access the welcome page and run migration:fresh with seeder.
I suspect this might be an issue when upgrading an existing project?

I suspect this might be an issue when upgrading an existing project?
No, this is an error with fresh Laravel install using https://ddev.readthedocs.io/en/stable/users/quickstart/#laravel with DDEV v1.22.7

I updated the OP with a "fix" for our stable.

Thank you  @stasadev i have ddev version 1.22.3, i followed the quickstart that you advise, and everything works fine.
Thanks!

I updated the OP, the workaround is no longer needed if you are using Laravel 11.0.3.


FileReader bug

            let reader = new FileReader();
            reader.readAsBinaryString(file.slice(0, 10));

flow states that readAsBinaryString is not a property of FileReader.

if the intent is to say that the function is depreciated, the message should just be a bit more clear.


Lint cleanup

I ran golangci-lint and it pointed out a few things to clean up.
This isn't all of them, but nothing in the remaining set looked either important or easy.

Looks like the http changes have broken some smoke-tests.


'eval' not considering language ID for syntax highlight

@toddWannaCode did you check for this?

Fixed in c538a4681bd7c19a060a1aa93d55f470fc453a40


Hi

I just want to see that whether handsome boy Laily could receive my issues.

wow! interesting

🌞


LogFiles not generating

There is an issue with the LogFiles not generating after a job is done.
This is an issue that can be fixed with a code fix.

Solved


feature: when pull requests are opened to a specific branch add the milestone

I find myself adding the milestone v1.4 to all the cherry-pick PRs and it would be nice if one of the bots could check the branch it is open on and automatically add the milestone.
since all branches are release-x.x and milestones are vx.x it shouldnt be too hard
BONUS: if the bot can ping the release person on that PR too :) but thats extra

cc @kubernetes/sig-contributor-experience-misc

It would be pretty easy to do as a prow plugin.


Logger corrupts itself on rescheduling

Describe the bug
I wanted to run a simple demo for scheduling. Created a three threads:

infinite loop doing log and busy looping for some time (priority 0)
infinite loop doing log then busy looping then sleep (priority -1)
just like previous one but sleeping was slightly off so it could come while previous is executing (priority -2)

For capturing logs I am using synchronous logs (no thread) and RTT backend.
When I demo for some time I seen logs from threads and then silence. I suspected logger has some problem when one thread overtakes the other. I left two cooperative threads only and issue still occurs.
I stepped the program seen logger is caught on assertion in out_func in log_output.c.
assert(out_ctx->control_block->offset <= out_ctx->size);

These threads are cooperative but inside logger you have some mutexes. When any mutex is released rescheduling can happen. I suspect that some data structures in logger are not protected correctly and get broken when one thread is interrupted in the middle of printing.
To Reproduce
Steps to reproduce the behavior:
Check above.
Expected behavior
Logger should work always.
Impact
This is not a showstopper but not merely an annoyance. Logger is commonly used debugging tool.
Screenshots or console output
N/A
Environment (please complete the following information):
745326266d9c32ba3aa67d5af1f727059d9a88e3 (ncs zephyr) based on d9876be
Additional context
N/A

@nordic-krch


How to obtain information from pulse output - electricity measurement

Hello,
is it please possible to collect information from pulse output using this intregration? I use many Jablotron devices and also Wireless Pulse Convertor JA-150EM-DIN. I cannot find any data in integration. It is also mentioned in the documentation.
Thank you.

Did you add the pulse convertor to integration? Does it log something to the logs?

Solved. I wrongly set the type of pulse convertor in the integration. I corrected to "Electricity meter with pulse output" and it works. Now it shows pulses in HA – it is cumulative, and it always drops down probably when achieved a max. amount.
Any experience with conversion of these pulses to kWh and display per hour, per day or per month in HA?
Thanks.

Any experience with conversion of these pulses to kWh and display per hour, per day or per month in HA? Thanks.

did you solved it? I have also pulse  meter attached to jablotron, and would like to see consumption instead of pulses :) of course, I can do this in node-red and create sensor, which do this, but some integration would be better

Hi, unfortunately not, because the entity that should display data from the electricity meter with pulse output has stopped showing data (it still shows the same number), and I don't know how to correct it. There's probably something wrong with the Jablotron integration.

@Tomm206 You can enable debug, see README, and we can check it.

I can see now that another sensor was automatically created. The original one doesn't work, but the second one works normally. I didn't know that. So, I will consider now how to convert to kWh.

I suggested something like this to the first user of this sensor:
template:
  - sensor:
    - name: 'Energy of Device 36'
      unique_id: energy_device_36
      device_class: energy
      unit_of_measurement: kWh
      state_class: total_increasing
      state: "{{ states('sensor.pulses_of_electricity_meter_with_pulse_output_device_36') | float / 10 }}"

utility_meter:
  hourly_energy_device_36:
    source: sensor.energy_of_device_36
    name: Hourly energy device 36
    cycle: hourly

You have to set the right number that means one pulse.

I wanted to try the template sensor you proposed, but unfortunately, the second pulse sensor (as mentioned above) is not available.

This issue happened after Core upgrade:
Core: 2024.3.0
Supervisor: 2024.02.1
Operating System: 12.0
The first sensor has been stuck for a very long time. The second sensor appeared recently and was functioning, but it stopped working after today's upgrade.

I can see that a problem has been detected in the logbook, but I don’t know how to access the details.

I also tried to download diagnostics but no file is available.

Please advise me on where the problem might be. Thank you.

I don't have pulse meter in my Jablotron so I don't know how it works.

In log I can see only this:
Logger: custom_components.jablotron100
Zdroj: custom_components/jablotron100/jablotron.py:2102
integrace: Jablotron 100 (dokumentace, problémy)
První výskyt: 9. března 2024 v 04:32:24 (33 výskyty)
Naposledy logováno: 09:19:11
Info packet of unknown device (device 38): 900a269c070a2d831a001b35
Info packet of unknown device (device 38): 900a269c070a2d831b001b35
State packet of unknown device (device 38): 55094f008109b047aa260d
Info packet of unknown device (device 38): 900a269c070a2d831c001b35
State packet of unknown device (device 38): 55094f008109b04c092d14
Strange thing is that I don't have device 38 in my Jablotron integration. The electricity pulse meter is device 37.

The info packets are periodic updates of device 38. It contain info about power - it may be siren or electricity meter

@Tomm206 @kukulich I have ja-150EM-DIN together with impulse electromer and have no problem with integration to HA

I have created NODE-RED sensor, which returns kWH converted from impulses (I have 800 pulses per 1kwH) and this is used by standard utility meter https://www.home-assistant.io/integrations/utility_meter

this is my solution and it seems to be working, also  in Energy board


Error during ./patchApplication.sh

root@jetson-desktop:~/buildLibrealsense2TX2# ./patchApplication.sh
Applying Model-Views Patch
patch: **** Can't open patch file /patches/model-views.patch : No such file or directory
Applying Incomplete Frames Patch
patch: **** Can't open patch file /patches/incomplete-frame.patch : No such file or directory
The patches file directory are available inside the buildlibrealsense2TX2 folder but cannot access and produces the error above.
Can u help me?

This is what i get in the realsense-viewer:
stereo module:
Backend in rs2_get_option(options:0x55a36b2ac0, option:Emitter On Off):
Cannot open '/dev/video0 Last Error: No such file or directory
rgb camera:
Backend in rs2_get_option(options:0x55a43a7db0, option:Auto Exposure Priority):
xioctl(VIDIOC_G_CTRL) failed Last Error: No such device

Check the file's e'x'ecute permission bit 'x' with ls -al.
If there is no 'x' bit on any patch files, do the following command to add the permissions on all the files.
cd buildLibrealsense2TX2
sudo chmod +x ./*.patch


SessionFactoryBuilder missing userInfo

When starting to try to use sshUnixFileSystemProvider for having random access on files I noticed that UserInfo interface wasn't working for me:
DefaultSessionFactory defaultSessionFactory = new DefaultSessionFactory("user", "ip", 22);
defaultSessionFactory.setUserInfo(new ConsoleSSHUserInfo()); //My own impelmentation of userInfo
defaultSessionFactory.setConfig("StrictHostChecking", "no");

Map<String, Object> environment = new HashMap<String, Object>();
environment.put("defaultSessionFactory", defaultSessionFactory);

URI uri = new URI("ssh.unix://user@ip:22/my/test/directory");
FileSystem sshfs = FileSystems.newFileSystem(uri, environment);
Path path = sshfs.getPath("testFile");
Set<OpenOption> options = new HashSet<>();
options.add(StandardOpenOption.READ);

SeekableByteChannel newByteChannel = sshfs.provider().newByteChannel(path, options);

This code worked for me with publickeys and manually setting the password to the sessionFactory.
I've tracked the issue and found that the commandRunner used to check the file gets its SessionFactory by building a new DefaultSessionFactory. This build implementation for the DefaultSessionFactory misses to pass the old userInfo to the new factory:
@Override
public SessionFactoryBuilder newSessionFactoryBuilder() {
    return new SessionFactoryBuilder( jsch, username, hostname, port, proxy, config ) {
        @Override
        public SessionFactory build() {
            DefaultSessionFactory sessionFactory = new DefaultSessionFactory( jsch, username, hostname, port, proxy );
            sessionFactory.config = config;
            sessionFactory.password = password;
            sessionFactory.userInfo = userInfo; //This part isn't in the original code
            return sessionFactory;
        }
    };
}

Beside this little change, which fixed my issue, I miss also both get and set methods for userInfo in SessionFactory.

Great work.  Released as jsch-extension version 0.1.7, and also released jsch-nio version 1.0.3 to update its dependency.


Include filename in error displayed if plugin file in baseline not found

Fixes: #718

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (see test_plugin_not_found_in_baseline in tests/core/baseline_test.py)

[ ] Docs have been added / updated

[ ] All CI checks are green

What kind of change does this PR introduce?
Bug fix (for #718)

What is the current behavior?
#718

What is the new behavior (if this is a feature change)?

$ detect-secrets-hook --baseline .secrets.baseline setup.py
[initialize]	ERROR	Error: Failed to load `FakeCustomPlugin` plugin:
    [Errno 2] No such file or directory: './path/to/plugin/that/does/not/exist/plugin.py'
[initialize]	ERROR	This error can occur when using a baseline that references a custom plugin
    with a path that does not exist.
[scan]	ERROR	Unable to load plugins!

Does this PR introduce a breaking change?
No

Other information:

@msabramo thank you for your contribution 😄 I'm going to need you to merge master into your branch to run the latest version of our CI

@msabramo thank you for your contribution 😄 I'm going to need you to merge master into your branch to run the latest version of our CI

Sorry for the delay. Done in 3953579.


Add a job to run DFID research outputs import

Scheduled on the 49th minute of every hour (selected by fair random
dice roll)
Uses a Publishing API bearer token
Calls rake load:outputs and stuffs some DFID research outputs into
publishing_api and rummager

Paired with @rgarner on this.
/cc @alexmuller @tuzz

@benilovj, Do we have a paired PR in gds/deployment? Asking for @danielroseman


Double Return Notification

Starting today when completing slayer tasks I will sometimes receive two return trip notifications separated by quite a bit of time.

another example

Hasn't happened since. Closing issue as it appears to have been a limited time problem.


SAK-43923: calendar > basic data validation saving default view

https://jira.sakaiproject.org/browse/SAK-43923
More info in the JIRA. Exact steps not yet identified. PR is just a basic data guard.

String literals abound in this file... I wasn't sure if I should extract these to constants and update all occurrences.


Main view

Add temp button profile and permanent registration, add profile page

Need to Update branch of youself


Use AudioManager.registerAudioDeviceCallback to avoid BLUETOOTH related permissions

The bluetooth permissions are currently only used to get information about Bluetooth devices, and aren't actually needed to connect/route audio to the bluetooth device.
This information can be gotten through AudioManager.registerAudioDeviceCallback since API 23, avoiding the need for these permissions. This is particularly important on API 31 and up, where the BLUETOOTH_CONNECT is a runtime permission (with a rather confusing permission message).

What's up with this issue? The library still requires BLUETOOTH_CONNECT permission on Android 31+ in order to route audio to Bluetooth headset, even in version 1.2.0.
WhatsApp, for instance, does not require this permission, but still is perfectly able to use connected Bluetooth headset. This is very unfortunate. Our users rightfully object against requesting this unnecessary permission.


Devbuildcosmo

Changes for devbuildcosmo as talked on tuesday (see only devbuildcosmo.py, rest is from a previous merge)

not using the dev-build parser anymore but a custom one only taking --clean or --test and the spec as args

cleaning or testing cosmo && dycore but not one only

always desinstalling before reinstalling (BOTH packages

launch jenkins --test=root -v cosmo@master%pgi

Green on Tsa merging


fix code.google.com/p/snappy-go/snappy to github.com/golang/snappy

:+1: :rocket:

:+1:

:+1: :)


Add else example for case operator

Right now our tutorials are missing this useful part of case operator.
This PR fixes this problem.

@doomspork , added.

Thank you @brain-geek!  Will you create an Issue for the translation portion of this?

@doomspork Yes, it's #893


Player Character Progression Issues

Hello,
I might have just missed a way on how to do this. But I noticed there is no way to remove a class from the progression page once you've added one. Didn't see a trash bin icon next to it like heritage/lineage has. Also, there does not appear to be a way to alter your ability score distribution once you've chosen one. If you make a mistake choosing your ability score method or choice and need to change, this could be an issue if you built out your character already and would have to start again.
Keep up the great work!
Thanks!

Classes can be removed by going into edit mode and using the "Level Down" button next to the most recent level. There is no way to delete a class all at once because of the way levels are tracked so you just level down until there are no more levels of that class and it will be removed.
You can manually set ability scores after the fact if the system setting is set to allow it, but there is no way at the moment to totally reset the process. That should be added.

Ah! Okay that explains it. I thought that arrow with bars was for sorting. Maybe a different icon in the future?
Anyways, thanks for all the hard work!


Add address labeling

Runs over https://github.com/bitcoin-s/bitcoin-s/pull/4175

This seems to slow down my wallet when i attempt to switch to the Wallet tab. It takes about 5 seconds for my tab to load. I have > 100 addresses or more in my wallet. This labeling is not involved in this performance regressions (i haven't tested the labeling yet). This does not occur on 4a3689a66f2ee1bc8b1ba98dd6313b3ad9317a80

This is as fast as you're going to get for this functionality and building stuff on the DOM for all addresses. It would be possible to hide the label fields and require some kind of UX to "open" them, but I'm opposed to a performance issue being filed on this.

Hmm ok, would it be acceptable to document the issue and say performance can't be improved, so we need to figure out a work around (pagination, "hide labels" etc?).


Fix build breaking change that was made from v0.9 to v0.10

Resolved issues:
resolves #ISSUE-2194 ( https://github.com/awslabs/s2n/issues/2194 )
Description of changes:
This fixes build breaking change that was made from v0.9 to v0.10.
AES-SHA256-CBC composite ciphers are not present in OpenSSL1.0.1
Testing:
This was built with OpenSSL1.01
Functionallity was not tested, though.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

(had accidentally erased the licensing bit of the PR's default text)

Codecov Report

Merging #2195 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2195      +/-   ##
==========================================
- Coverage   80.75%   80.75%   -0.01%
==========================================
  Files         248      248
  Lines       18563    18563
==========================================
- Hits        14991    14990       -1
- Misses       3572     3573       +1

Codebuild failure was an intermittent test failure, re-running the test.

Codecov Report

Merging #2195 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2195      +/-   ##
==========================================
- Coverage   80.75%   80.75%   -0.01%
==========================================
  Files         248      248
  Lines       18563    18563
==========================================
- Hits        14991    14990       -1
- Misses       3572     3573       +1

(using the oportunity of for a slight improvement in the code)

Thanks for making this fix, it would be nice to have a test run that passed for openssl 1.0.1 version.


[feature-request] Vectorized/Stacked Noise

Hi
I am working on a vectorized/parallel version of TD3 and I am using OU noise. The issue with OU noise is that it needs to be reset when the episode is done. In addition,  since MPI is dropped in 3.0, it would be useful to have a way to use multiple OU processes for vectorized environments.
My internal solution is this:

class VecNoise(ActionNoise):

    def __init__(self, base_class: Type[ActionNoise], num_noise: int, **noise_params):
        super().__init__()
        constr = partial(base_class, **noise_params)
        self._noise: List[ActionNoise] = [constr() for _ in range(num_noise)]

    def reset(self) -> None:
        """
        Call reset in all noise objects
        """
        for noise in self._noise:
            noise.reset()

    def reset_by_index(self, *indices: int) -> None:
        """
        Args:
            *indices: the indices to reset
        """
        for index in indices:
            self._noise[index].reset()

    def __repr__(self) -> str:
        return "VecNoise({})".format(repr(self._noise[0]))

    def __call__(self) -> np.ndarray:
        return np.stack([noise() for noise in self._noise])

Hello,
This is a nice feature but I would say not before v3.

Closing this one in favor of the issue on the SB3 repo: https://github.com/DLR-RM/stable-baselines3/issues/33


Predis Client constructed without logger

Hello, I'm fighting a container-related issue. Under certain circumstances, with Predis default client, logging enabled, the client is passed an Options instance that references ConnectionFactory, that is not properly built before it's used from the Client's constructor.
The result is, that in the runtime, ConnectionFactory has wrapper property set to null.
My setup results into following method in the compiled dev container.
/**
 * Gets the public 'snc_redis.default' shared service.
 *
 * @return \Predis\Client
 */
protected function getSncRedis_DefaultService()
{
    $a = new \Predis\Profile\RedisVersion320();
    $b = new \Snc\RedisBundle\Client\Predis\Connection\ConnectionFactory($a);

    $this->services['snc_redis.default'] = $instance = new \Predis\Client(..bla bla, not important...,  'connections' => $b]));

    $b->setConnectionWrapperClass('Snc\\RedisBundle\\Client\\Predis\\Connection\\ConnectionWrapper');
    $b->setLogger(($this->privates['snc_redis.logger'] ?? $this->getSncRedis_LoggerService()));

    return $instance;
}

My guess was that the bundle should have declared factory for Options, so that symfony knows that the setter is called on a factory, but that didn't work as the factory class ended up inlined instead.
Any ideas how to make the container call the setters before passing the reference to Options?

Hello @MichaelKubovic ,
Could you tell us what you are trying to achieve? I am not sure to understand what is the issue.
Basically you would like to have one ConnectionFactory service per client?

That's the way container extension defines ConnectionFactory services. It declares one ConnectionFactory service per client alias with id defined as sprintf('snc_redis.%s_connectionfactory', $clientAlias);.
That's not the problem. The problem is, that setter methods on the ConnectionFactory are called too late. Constructor of \Predis\Client relies on ConnectionWrapper and Logger instances being set, but they are set after the client constructor gets called in the container.

Just to be clear, the code example above is generated code that causes the issue. I'm trying to figure out what possible could lead to it.

Thanks It's clearer.
Not able to reproduce it, could you provide:

the output of composer show so that I can see the symfony version and redis bundle you are using
the full bundle config used
the output of bin/console debug:config snc_redis

As an alternative you could set up a reproducer.

composer show | grep symfony
Restricting packages listed in "symfony/symfony" to "4.2.*"
friendsofsymfony/rest-bundle              2.5.0               This Bundle provides various tools to rapidly develop RESTful API's with Symfony
sentry/sentry-symfony                     2.3.0               Symfony integration for Sentry (http://getsentry.com)
symfony/asset                             v4.2.9              Symfony Asset Component
symfony/browser-kit                       v4.2.9              Symfony BrowserKit Component
symfony/cache                             v4.2.9              Symfony Cache component with PSR-6, PSR-16, and tags
symfony/config                            v4.2.9              Symfony Config Component
symfony/console                           v4.2.9              Symfony Console Component
symfony/contracts                         v1.1.5              A set of abstractions extracted out of the Symfony components
symfony/css-selector                      v4.2.9              Symfony CssSelector Component
symfony/debug                             v4.2.9              Symfony Debug Component
symfony/dependency-injection              v4.2.9              Symfony DependencyInjection Component
symfony/doctrine-bridge                   v4.2.9              Symfony Doctrine Bridge
symfony/dom-crawler                       v4.2.9              Symfony DomCrawler Component
symfony/dotenv                            v4.2.9              Registers environment variables from a .env file
symfony/event-dispatcher                  v4.2.9              Symfony EventDispatcher Component
symfony/expression-language               v4.2.9              Symfony ExpressionLanguage Component
symfony/filesystem                        v4.2.9              Symfony Filesystem Component
symfony/finder                            v4.2.9              Symfony Finder Component
symfony/flex                              v1.2.7              Composer plugin for Symfony
symfony/form                              v4.2.9              Symfony Form Component
symfony/framework-bundle                  v4.2.9              Symfony FrameworkBundle
symfony/http-foundation                   v4.2.9              Symfony HttpFoundation Component
symfony/http-kernel                       v4.2.9              Symfony HttpKernel Component
symfony/inflector                         v4.2.9              Symfony Inflector Component
symfony/intl                              v4.2.9              A PHP replacement layer for the C intl extension that includes additional data from the ICU library.
symfony/maker-bundle                      v1.11.6             Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.
symfony/monolog-bridge                    v4.2.9              Symfony Monolog Bridge
symfony/monolog-bundle                    v3.4.0              Symfony MonologBundle
symfony/options-resolver                  v4.2.9              Symfony OptionsResolver Component
symfony/orm-pack                          v1.0.6              A pack for the Doctrine ORM
symfony/phpunit-bridge                    dev-master d3ccbc9  Symfony PHPUnit Bridge
symfony/polyfill-intl-icu                 v1.11.0             Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring                 v1.11.0             Symfony polyfill for the Mbstring extension
symfony/polyfill-php72                    v1.11.0             Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/process                           v4.2.9              Symfony Process Component
symfony/profiler-pack                     v1.0.4              A pack for the Symfony web profiler
symfony/property-access                   v4.2.9              Symfony PropertyAccess Component
symfony/proxy-manager-bridge              v4.2.9              Symfony ProxyManager Bridge
symfony/psr-http-message-bridge           v1.2.0              PSR HTTP message bridge
symfony/routing                           v4.2.9              Symfony Routing Component
symfony/security                          v4.2.9              Symfony Security Component
symfony/security-bundle                   v4.2.9              Symfony SecurityBundle
symfony/serializer                        v4.2.9              Symfony Serializer Component
symfony/stopwatch                         v4.2.9              Symfony Stopwatch Component
symfony/templating                        v4.2.9              Symfony Templating Component
symfony/translation                       v4.2.9              Symfony Translation Component
symfony/twig-bridge                       v4.2.9              Symfony Twig Bridge
symfony/twig-bundle                       v4.2.9              Symfony TwigBundle
symfony/validator                         v4.2.9              Symfony Validator Component
symfony/var-dumper                        v4.2.9              Symfony mechanism for exploring and dumping PHP variables
symfony/var-exporter                      v4.2.9              A blend of var_export() + serialize() to turn any serializable data structure to plain PHP code
symfony/web-profiler-bundle               v4.2.9              Symfony WebProfilerBundle
symfony/webpack-encore-bundle             v1.6.0              Integration with your Symfony app & Webpack Encore!
symfony/yaml                              v4.2.9              Symfony Yaml Component

composer show | grep redis
Restricting packages listed in "symfony/symfony" to "4.2.*"
predis/predis                             v1.1.1              Flexible and feature-complete Redis client for PHP and HHVM
snc/redis-bundle                          2.1.9               A Redis bundle for Symfony

cat config/packages/snc_redis.yaml
parameters:
    env(REDIS_DSN): ''

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: '%env(REDIS_DSN)%'
    session:
        client: default
        ttl: '%app.session.timeout%'

bin/console debug:config snc_redis
Current configuration for extension with alias "snc_redis"
==========================================================

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsns:
                - '%env(REDIS_DSN)%'
            logging: true
            options:
                connection_async: false
                connection_persistent: false
                connection_timeout: 5
                read_write_timeout: null
                iterable_multibulk: false
                throw_errors: true
                serialization: default
                profile: default
                cluster: null
                prefix: null
                service: null
    session:
        client: default
        ttl: 3600
        prefix: session
        locking: true
        spin_lock_wait: 150000
    class:
        client: Predis\Client
        client_options: Predis\Configuration\Options
        connection_parameters: Predis\Connection\Parameters
        connection_factory: Snc\RedisBundle\Client\Predis\Connection\ConnectionFactory
        connection_wrapper: Snc\RedisBundle\Client\Predis\Connection\ConnectionWrapper
        phpredis_client: Redis
        phpredis_connection_wrapper: Snc\RedisBundle\Client\Phpredis\Client
        logger: Snc\RedisBundle\Logger\RedisLogger
        data_collector: Snc\RedisBundle\DataCollector\RedisDataCollector
        doctrine_cache_phpredis: Doctrine\Common\Cache\RedisCache
        doctrine_cache_predis: Doctrine\Common\Cache\PredisCache
        monolog_handler: Monolog\Handler\RedisHandler
        swiftmailer_spool: Snc\RedisBundle\SwiftMailer\RedisSpool

I believe that I start to encounter the issue when installed with the monolog extra bundle https://github.com/TheRedDot/MonologExtraBundle. It adds session log processor, that very early in the request cycle fetches Session from the container. Before that, when the Session was fetched from the container later in the request cycle, the container compiled correctly.

It seems the issue disappeared for now. Closing as cannot reproduce any more.


Viewpager in SlidingUpPanel

My SlidingUpPanel has 2 children,main layout include a viewpager and sliding layout is a relative layout. height of sliding layout is 0 at first, after press a button sliding layout shows and my gridview works but its not visible.
This image show viewpager befor show sliding layout:

This image show viewpager after show sliding layout:

have exactly the same problem.
Have you solve it ?

Can one of your provide a simple sample project that contains the issue?


[Crash] CHIP:  chip::ChipError chip::Controller::ClusterBase::ReadAttribute<chip::Span, chip::Span >

Problem
Seeing this crash reported during testing on iOS/tvOS. This is seen as recent as TE9 SHA cfc35951be66a664a6efdadea56d1b8ea6e63e96.
Thread 1 Crashed::   Dispatch queue: com.zigbee.chip.framework.controller.workqueue
0   CHIP                          	       0x102426b30 chip::ChipError chip::Controller::ClusterBase::ReadAttribute, chip::Span >(void*, unsigned int, unsigned int, void*)(void*, chip::Span), void*)(void*, chip::ChipError), bool, chip::Optional const&) + 108
1   CHIP                          	       0x1021e06f4 __58-[CHIPBasic readAttributeVendorNameWithCompletionHandler:]_block_invoke + 108
2   CHIP                          	       0x1021e06f4 __58-[CHIPBasic readAttributeVendorNameWithCompletionHandler:]_block_invoke + 108
3   CHIP                          	       0x1023c0984 ___ZN18CHIPCallbackBridgeIPFvPvN4chip4SpanIKcEEEEC2EPU28objcproto17OS_dispatch_queue8NSObjectU13block_pointerFvP11objc_objectP7NSErrorEU13block_pointerFNS1_9ChipErrorEPNS1_8Callback10CancelableESK_ES6_b_block_invoke + 116
4   libdispatch.dylib             	       0x1bd2470f4 _dispatch_client_callout + 20
5   libdispatch.dylib             	       0x1bd256a60 _dispatch_sync_invoke_and_complete_recurse + 64
6   libdispatch.dylib             	       0x1bd2564e0 _dispatch_sync_f_slow + 172
7   CHIP                          	       0x1023c0734 CHIPCallbackBridge)>::CHIPCallbackBridge(NSObject*, void*, NSError*) block_pointer, chip::ChipError*, chip::Callback::Cancelable*) block_pointer, void*)(void*, chip::Span), bool) + 528
8   CHIP                          	       0x1021e0624 -[CHIPBasic readAttributeVendorNameWithCompletionHandler:] + 176
9   CoreFoundation                	       0x1bd57e0c4 __invoking___ + 148
10  CoreFoundation                	       0x1bd59b780 -[NSInvocation invoke] + 428
11  CoreFoundation                	       0x1bd5d0f04 -[NSInvocation invokeWithTarget:] + 64
12  CHIPPlugin                    	       0x100e08b04 -[CHIPPluginProtocolOperationManager registerOperation:clientQueue:operationResponseHandler:] + 1572
13  CHIPPlugin                    	       0x100e2fee8 -[CHIPAccessoryServer _readCharacteristicValues:forFailedResponses:atIndexes:device:completionHandler:] + 460
14  CHIPPlugin                    	       0x100e300f8 __103-[CHIPAccessoryServer _readCharacteristicValues:forFailedResponses:atIndexes:device:completionHandler:]_block_invoke + 232
15  libdispatch.dylib             	       0x1bd2455cc _dispatch_call_block_and_release + 32
16  libdispatch.dylib             	       0x1bd2470f4 _dispatch_client_callout + 20
17  libdispatch.dylib             	       0x1bd24e7ac _dispatch_lane_serial_drain + 672
18  libdispatch.dylib             	       0x1bd24f32c _dispatch_lane_invoke + 436
19  libdispatch.dylib             	       0x1bd259ebc _dispatch_workloop_worker_thread + 652
20  libsystem_pthread.dylib       	       0x2370ec040 _pthread_wqthread + 288
21  libsystem_pthread.dylib       	       0x2370ebde0 start_wqthread + 8

Marking this as P1 given that this is one of the top hitters.

It's somewhat likely that https://github.com/project-chip/connectedhomeip/pull/21504 fixed this....

@aajain-com are you able to confirm?

I don't see how @aajain-com can confirm that a change that he's not able to test yet fixes anything, fwiw... ;)

I can keep an eye on this issue once we have had a chance to try with the potential fix and get back.

Removed blocking tag: platform specific fix and there is some suspicion that this may already be fixed.

Resolved with: https://github.com/project-chip/connectedhomeip/pull/21504


Hotfix/lightcurvesapi

Modified the return from the lightcurve api

Sorry I don't want to do that.
(1) It would also require changing the dox see here and
(2) Its time to back off ZTF and do LSST. Lets push your idea there, where we will have sources, nondetections, and forced photometry.
I'll just merge this then


[feat] More synchronization details on the sync modal

Feature Request
Describe the Feature Request

Currently, on synchronization, user can see:

number of blocks left
last block time
progress (%)
progress increase per hour (%)
estimated time left until synced (h)

Describe Preferred Solution

The ETA is switching from different scales without much details (i.e. from 7h to 18h, to 10h, to 17h, etc.). We could add a small window to the synchronization dialog to give more details (as a log in a terminal) of what is currently in process.
Describe Alternatives

Graphical hint (i.e. showing blocks/headers as squares, red squares are not synchronized, green are, etc.).
Textual hint (i.e.: syncing headers of block 2, synchronizing block 2 on 3000000 blocks remaining, etc.)
..

As this will need to be integrated differently (significantly) between 1.14 and 1.21 due to many refactors to the networking processes, could we investigate this for 1.21 instead of 1.14?
@p-j01 did you want to work on this yourself, or are we asking for help?

Okay for 1.21. I would say that I will not look at it much for now.


No file extension when user defines the name of the file (using new command)

Describe the bug
When user uses the new command they can provide the filename of the file.
For example, if I put myNewFile as a value, the file is created OK, but no file extension is added.
I think it might be a better experience if we detect if no extension is on the file and just put the yaml extension of the file for them?

Hi, I would like to take a look at this issue

Hey @jjung99 ,
Sorry I managed to find some time earlier and got a PR raised, but be good if you fancy having a look and review it? https://github.com/asyncapi/cli/pull/117
Or if you think of a better way to do it?

It is fine! I just wanted to take a look at others' projects and try to fix a bug if any for learning purposes. Thanks for the comment!


Check for cleanWorkingCopy in sanityCheck, and execute sanityCheck first

Summary:

Renamed sanityCheckPatch to sanityCheck
Move check for clean working copy into sanityCheck
Execute sanityCheck before executing any other command

Test Plan:

Run ##arc patch ## from a dirty working copy
and verify that a usage exception is thrown before the new branch is
created.
Run ##arc patch  --force## and verify that it attempts
to create a new branch, apply, and commit the patch.
Then clean your working copy and verify that ##arc patch  works as expected

Reviewers: epriestley, btrahan
Reviewed By: btrahan
CC: aran, epriestley
Maniphest Tasks: T830, T479
Differential Revision: https://secure.phabricator.com/D1546

Whoops epriestley already landed this.

c44e8d57a2d5f310d404d328dd744df1e73fbb81


Support multi-value parameters

Last November API Gateway added support for multi-value parameters:
https://aws.amazon.com/blogs/compute/support-for-multi-value-parameters-in-amazon-api-gateway/
This adds support for those. However, with ALB whether you get them depends on a target group attribute, so we have to also retain support the old queryStringParameters event field:
https://serverless-training.com/articles/api-gateway-vs-application-load-balancer-technical-details/
Note: the same should really be done to headers but I don't need it. Also, since WSGI seems to require concatenating the header values with semicolons, that might actually break someone's current code, so it may require more thought.

Pushed a second version with a cosmetic typo fix in my variable name.

@jvarho Great work, thanks for the PR! Somehow I missed the announcement that this was implemented in APIGW, but that's good news. I'll look into doing the same for the headers and publish a new version.

Thank you for this! Really saved my team some headaches.


Code in the hand landmark sample notebook causes Python to quit

I have used the code notebook specified in the docs. While trying to visualise the image with hand land marks drawn upon it, the code breaks, it produces an unknown error. Code Notebook in the docs
My code is below:

def print_result(result, output_image: mp.Image, timestamp_ms: int):
    try:
        img = draw_landmarks_on_image(output_image.numpy_view(), result)
    except Exception:
        print("error")
    else:
        cv2.imshow("pipe", cv2.cvtColor(img, cv2.COLOR_RGB2BGR))
        cv2.waitKey(1)

model_manager = Model_Manager.ModelManager()
options = HandLandmarkerOptions(
    base_options=BaseOptions(model_asset_path=model_manager.HAND_LANDMARKER_MODEL_PATH),
    running_mode=VisionRunningMode.LIVE_STREAM,
    result_callback=print_result,
    num_hands=1)

with HandLandmarker.create_from_options(options) as detector:
    videoCapture = cv2.VideoCapture(0)

    while True:
        frame_exists, frame = videoCapture.read()

        if frame_exists:
            mp_image = mp.Image(image_format=mp.ImageFormat.SRGB, data=frame)
            detector.detect_async(mp_image, mp.Timestamp.from_seconds(time.time()).value)

        if 0xFF == ord('q'):
            break

    videoCapture.release()
    cv2.destroyAllWindows()

The function draw landmarks on image has been taken as is from the code notebook specified in the docs. Code stops executing right at cv2.imshow . I have looked up stackoverflow, nothing made sense to me. The error is:
libc++abi: terminating due to uncaught exception of type pybind11::error_already_set: error: Unknown C++ exception from OpenCV code

At:
  /Users/username/file/path/main.py(74): print_result
  /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mediapipe/tasks/python/vision/hand_landmarker.py(254): packets_callback

@QuantumStatic,
Please provide the complete information about the issue, We are not able to reproduce it from our end. Also, We recommend you to fill the issue template to get relevant details. Thank you!!

global_img, global_results = None, None
def print_result(result, output_image: mp.Image, timestamp_ms: int):
    global global_img, global_results
    global_img = draw_landmarks_on_image(output_image.numpy_view(), result)
    global_results = result

@QuantumStatic Could you try this Colab notebook out on your M1 and let us know if you encounter the same issue?
It seems to run fine on Linux in the notebook FYI.

Replace cv2_imshow with cv2.imshow("MediaPipe Hands", annotated_image) while running on your M1.


Error on Rollback on a workload

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a workload with image: sangeetha/mytestcontainer. Scale up the pods to 2.
Edit the workload, change image to ubuntu.
Pods will get recreated
Edit the workload, change image to nginx.
Pods will get recreated
Rollback to the first revision id.

Expected Result:
The Rollback should be successful
Actual Result:
The rollback throws an error

Note:
This does NOT happen always.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher:v2.3.0-rc12
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
Kubernetes version (use kubectl version):

1.15

Docker version (use docker version):

18.9.9

I was not able to reproduce this at all in a single node setup with a 1.15.4 rke cluster (ec2).
On @sowmyav27's setup, I noticed I could sometimes retry the rollback on the same workload and it would proceed. Then upon trying to rollback to another revision of the same workload, I would get the error again.

Also reproduced on 1.14.7 cluster in @sowmyav27's HA setup.

The bug is reproduced in a fresh installed rancher v2.3.0-rc12 HA mode in the following two clusters
cluster 1: k8s 1.15.4, 1 etcd + control plane, 3 workers
cluster 2: k8s v1.14.7, single node

The bug fix is validated in fresh installed v2.3.0-rc13 HA setup,
rancher v2.3.0-rc13, HA install
cluster1 k8s v1.15.4, 1 etcd + control plane, 2 workers
clusetr2 k8s v1.14.7, 1 etcd, 1 control plane, 3 workers

The steps are the same as the issue provides,  I could roll back the workload to any revision, and tried multiple workloads multiple times.

Verified on 2.3.0-rc13 HA setup.
Steps:

Deploy a workload with image: sangeetha/mytestcontainer. Scale up the pods to 2.
Edit the workload, change image to ubuntu.
Pods will get recreated
Edit the workload, change image to nginx.
Pods will get recreated
Rollback to the first revision id.
Rollback happens successfully. No error

Verified the above set of steps on a couple of workloads.
Cluster spec: 3 node DO rke cluster- 1 etcd, 1 control plane and 1 worker node.


add Karen Geerts as contributor

Fixes or introduces:
Proposed Changes

add Karen Geerts as contributor
include Twitter and Github links

Thanks for contributing!


Splash image is not set when tracking is lost in hololens

Describe the bug
Splash image is not set when tracking is lost in Hololens
To reproduce
Steps to reproduce the behavior:
Followed this link - https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk2/features/extensions/lost-tracking-service?view=mrtkunity-2022-05
Your setup (please complete the following information)

Unity Version [e.g. 2020.3.20f1]
MRTK Version [e.g. v2.7.3]

Target platform (please complete the following information)

HoloLens 2
OpenXR

@CDiaz-MS @vtieto @qianw211

Ah hmm. Are you using the Mixed Reality OpenXR Plugin? Also, do you have an AR Session in the scene?

We are using OpenXR plugin. AR session is present as specified in above image.
Also tried the same in unity 2021.3.16f1 and MRTK 2.8.3.
Hope, we should disable  On Tracking loss and pause and show image in setting ?

Ahh hmm. In your screenshot I see an AR Session Origin, but AR Session is a different component:

Can you try adding that to your scene and seeing what happens?

Issue exists with the above approach too

@hemasree99s @keveleigh I had the same problem. After some debugging, I found that the sessionSubsystem.trackingState in the Update() function of LostTrackingService.cs was only returning Tracking and Limited.
So I changed the following if statement from:
if (sessionSubsystem.trackingState == UnityEngine.XR.ARSubsystems.TrackingState.None && sessionSubsystem.notTrackingReason == NotTrackingReason.Relocalizing)
to the following:
if (sessionSubsystem.trackingState != UnityEngine.XR.ARSubsystems.TrackingState.Tracking && sessionSubsystem.notTrackingReason == NotTrackingReason.Relocalizing)
I'm not sure if this is may affect other parts of the code, but from my experience, while using HoloLens 2, I couldn't get the trackingState equal to TrackingState.None.
I could create a pull request for you guys to check if this helps.
Have a nice one,
Stavros

@siamonas Thanks for looking into this! I double checked the implementation between the two and it looks like the OpenXR implementation is less likely to drop all the way to TrackingState.None compared to Windows XR Plugin. I think your proposed change would be good and reasonable!

@srinjoym, can you look into pulling #11407 into MRTK3.
We should also look into the possibility of completing the PR #11407


Cannot filter based on druid lookup dimension

I am trying to filter with bound > operator on a druid lookup dimension, and it does not work.
Expected results
Expected to work same as any other dimension i am filtering.
Actual results

How to reproduce the bug

Add a druid datasource to superset
Publish a lookup to the druid cluster
Define in the datasource a custom dimension based on a lookup such as:

{
    "type": "extraction",
    "dimension": "publisher_id",
    "outputName": "publisher_first_revenue_month",
    "outputType": "LONG",
    "extractionFn": {
        "type": "registeredLookup",
        "optimize": true,
        "lookup": "publisher_first_revenue_month"
    }
}

In the explore screen, generate a query using the custom dimension as the filter criteria with a bound operator (>, < , >=, <=). And the error from pydruid will show up.
Environment

superset version: 0.35.0
python version: 3.6

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Pretty sure that's been fixed in master at the bug bash. Here https://github.com/apache/incubator-superset/pull/8714


How load the component again

Hi, I'm using the grapes JS library to create an HTML. I added the slider plugin and everything goes fine the first time. The user creates the HTML and clicks on a button to save the changes. I get the HTML, CSS, and JS generated by Grapes JS and, save them in my database for future use. When I try to load the HTML, CSS, and JS generated by grapes JS to edit the changes that I've saved the slider doesn't work.
My question: How can I save my template whit component that needs JS and load again and the component still by a component?
The grapes js remove all the scripts.

How i can get script like css ( editor.getCss();  )


Add block evictor for Tier2 FS

Explain the changes
Context: NooBaa in its write flows marks an object for migration so that TMFS can migrate to another tier2 and NooBaa's read flow can recall the block from the other tier using TMFS calls but this would leave a bunch of objects on the disk (cache).
This PR adds a BG Worker which iterates over the chunks associated with a bucket (the bucket needs to have at least 2 tiers and for the case of TMFS, the second tier HAS to share the same pool) and select the chunks which haven't been read for longer than 30 mins (configurable) and move them to second tier and evict the associated the blocks.
Tested In the following way

Upload 2 objects, testobject1 and testobject2 of sizes 2G and 4G respectively.
Let the BG worker do its job.
Run find storage/backingstores -name '*.data' -type f |  xargs -n1 -I{} sh -c "echo 'file: {} => '; xattr {}; echo" which correctly shows user._trigger.migrate being set on the files.
Run psql -d nbcore -U postgres -c "SELECT data FROM datachunks;" shows the second tier as the tier selected for datachunks.
TTL Worker does not iterates over the blocks which are in second tier.

[ ] Doc added/updated
[ ] Tests added

@guymguym lemme try to summarize the proposed changes (specifically storage class) here:

The idea is to have the construct of storage classes in our tiers. Each tier can have <= 1 storage class specified.
Storage class will just communicate some additional details to the underlying block store. This detail will be used by functions like move_blocks_to_storage_class.
move_blocks_to_storage_class must consume block ids and storage class and should try to move it to that storage class doing something (here something would be different for each block store which plans to support this).
TTL worker should invoke map_client.run() which will do all of the heavy lifting.
Read flow already moves the chunks across the tiers. We will need to modify flow (maybe map_client.read_object_mapping?) such that it also starts invoking move_blocks_to_storage_class.

Clarifications

Are storage classes transparent to S3? By "transparent" I mean that S3 responses will always mention StorageClass: Standard?

@utkarsh-pro I think you got it, just two notes:

TTL worker should invoke map_client.run() which will do all of the heavy lifting.
Read flow already moves the chunks across the tiers. We will need to modify flow (maybe map_client.read_object_mapping?) such that it also starts invoking move_blocks_to_storage_class.

Both TTL worker and TTF worker already call build_chunks and therefore invoke map_client, so there is no need to add such a call in the workers, only to make this call also handle the storage class move as I suggested in this comment - https://github.com/noobaa/noobaa-core/pull/7313#discussion_r1223705849

Are storage classes transparent to S3? By "transparent" I mean that S3 responses will always mention StorageClass: Standard?

Yes. For now we only handle the internal mappings. Exposing tiers to the clients is a whole new challenge.


Support for non-readonly

This is an enhancement request for Flatpickr to support non-read-only <input>, meaning, manual editing of the date. My apologies if Flatpickr supports it already, but fiddling with some examples at https://flatpickr.js.org/examples/ and removing readonly attribute in DOM (by Chrome DevTools) I saw that left/right key is trapped and made the day going back/forth, instead of moving the cursor in <input>. I imagine it may not be as simple as fixing the cursor thing.
Your Environment

flatpickr version used: 4.5.5

Hello @asudoh
Have you tried the allowInput option? It enables precisely what you're asking for

@chmln My bad, I had forgotten about that - Just was recalling we had a problem in this area. Trying that option and I have https://codesandbox.io/s/20x3w7vpkp, where I'm wondering:

[ ] Is there an option auto-sync user edits to the calendar dropdown? Or do we have to do manually via <input>'s oninput/onchange and Flatpickr's setDate() API?

@asudoh there is already a request for this https://github.com/flatpickr/flatpickr/issues/1271. I will be investigating a solution and maybe it will be ready in the coming release

Thanks @chmln for pointing an existing issue - Looking forward to seeing a fix there!

You're welcome. Follow progress at https://github.com/flatpickr/flatpickr/issues/1271


In 2.4  NavigationView Items don't display correctly if a drag is attempted from unselected item.

Describe the bug
In 2.4  NavigationView Items don't display correctly if a drag is attempted from unselected item.
The reveal style is shown and sticks in pointerover mode?
Steps to reproduce the bug

Repo:  https://github.com/groovykool/WinuiNavView1.git

Run/debug repo project.
Try to drag an unselected NavigationViewItem,
Try multiple drags.

Expected behavior
The attempts to drag items does not change the appearance of the items.  The reveal style is not stuck on any items.
Screenshots

Version Info
NuGet package version:
Microsoft.UI.Xaml  2.4
| Windows 10 version                  | Saw the problem? |
| November 2019 Update (18363)  | Yes |
| Device form factor | Saw the problem? |
| Desktop                 | Yes  |
Additional context
It works fine in Ver 2.32
The XAML Controls Gallery app also exhibits the issue.
Regards,
Tony

It looks like that clicking and then moving the pointer off the NavigationViewItem results in the "Clicked" state not being unregistered properly.

@groovykool NavigationView does not support drag/drop, so I'm curious what you are trying to do. Is it an issue that if someone tries dragging we get into a weird state ?

Why wouldn't someone try dragging?  I have Drag and Drop working fine with NavigationViewItems.  They are UIElements and they DO support drag and drop.
Regards,
Tony

Why wouldn't someone try dragging? I have Drag and Drop working fine with NavigationViewItems. They are UIElements and they DO support drag and drop.

@groovykool I see. You are using the UIElement drag/drop APIs to achieve this. Can you provide more detail on your scenario? Collection controls like ListView had explicit support/APIs for drag/drop/reorder which is what I meant NavigationView did not have.
@anawishnoff as FYI since you might be hitting a scenario that we did not consider.
What you are seeing does look like a bug.

My scenario is that I will have sections of NavigationViewItems that can be reordered by dragging and dropping.  I will also have a set of NavigationViewItems that are fixed.  I have this working in 2.32 with one workaround.  In 2.4 dragging from no drag items causes the UI issues
Would it be possible to set the Drop Target Item to the Normal Visual state after drop?  Right now it gets set to the PointerOver Visual state and can't be cleared from code using VisualStateManager?
Regards,
Tony

@ojhad can you please take a look/suggest a fix/workaround ?

I can't repro this anymore. It looks like this issue was fixed recently in this PR: https://github.com/microsoft/microsoft-ui-xaml/pull/2625
@ranjeshj do you think those changes are viable to cherry-pick to release or should we just include them with 2.5?


Fix memory leak caused by antlr cache growing over time

https://github.com/prestodb/presto/commit/7eb85a22e35f782387d0cdcb78abe79eee4cd645
Addresses memory leak when executing queries against HTTP endpoint, caused by antlr cache. BTW, there are quite some issues on antlr memory leaks https://github.com/antlr/antlr4/search?q=leak&type=issues
Steps to reproduce:
cr8 run-spec specs/insert_single.py localhost:4200

As shown in screenshots, memory is still growing after the patch but slope is slightly gentler slope.

we don't do backports from presto.

You can address that as a normal commit without the presto reference.

I removed bp prefix and rephrase commit message. I think it's still fine to refer to the presto commit as it was anyway derived?

cr8 run-spec specs/insert_single.py localhost:4200 is not a correct way to test antlr cache load:
I checked against local build with some outputs, we just parse same statement
"insert into id_int_value_str (id, value) values (?, ?)" many times which even with a shared cache not going to produce new entries.
Looking into using generate_rnd_queries

Not sure we need this patch for "insert many values into multi column table".
Problem is that parser needs all values in a context:
https://github.com/crate/crate/blob/master/libs/sql-parser/src/main/java/io/crate/sql/parser/AstBuilder.java#L1403
and
https://github.com/crate/crate/blob/master/libs/sql-parser/src/main/java/io/crate/sql/parser/AstBuilder.java#L787.
If statement looks like insert  into table_with_100_cols values (val1, .... val100), (. ),   -- values repeated 10K times it's too much to parser to swallow.
See https://github.com/crate/crate/pull/13907/files#diff-1c9cb84809bd31c95a74eb1787c99d95e6b05c0f479dbb172d239bb09add3ad0L331-R331

Thanks for the feedback. However, the patch looks still like a good candidate to have. So maybe keep it open for review.

However, the patch looks still like a good candidate to have. So maybe keep it open for review.

Regarding caches: it's indeed can be a problem, but I think it can be simpler:
The author of the linked patch says it was inspired by comment from an antlr maintainer.
we can replace all this by smth like
lexer.setInterpreter(new LexerATNSimulator(lexer, lexer.getATN(), lexer.getInterpreter().decisionToDFA, new PredictionContextCache()));
parser.setInterpreter(new ParserATNSimulator(parser, parser.getATN(), parser.getInterpreter().decisionToDFA, new PredictionContextCache()))

or maybe even don't create PredictionContextCache() if we basically refuse from caching and replace antlers static shred cache with our static shared no-op cache (return null on get, do nothing on put).

or maybe even don't create PredictionContextCache() if we basically refuse from caching and replace antlers static shred cache with our static shared no-op cache (return null on get, do nothing on put).

Antlr is probably caching a reason. So we need to check if this does not have any other performance implications.

or maybe even don't create PredictionContextCache() if we basically refuse from caching and replace antlers static shred cache with our static shared no-op cache (return null on get, do nothing on put).

Antlr is probably caching for a reason. So we need to check if disabling the cache does not have any other performance implications.

After reading a comment, I had an impression that cache is vital if we parse multiple files. In our case it's grammar + all different queries in a user's app (should not be too many, unless it doesn't have some autogenerated selects).
Agree, this needs to be checked thoroughly before disabling cache.

Closing it as I'm not sure investigating cache disabling effect is a priority.
To address parsing large statements we agreed to add a clarification to docs that one should not use too many VALUES


[UI] prevent /g/clusters from making redundant requests

What kind of request is this (question/bug/enhancement/feature request):
enhancement
Steps to reproduce (least amount of steps as possible):

open networking tab
load /g/clusters

Result:
Clusters request is made twice. It appears that both requests need to be returned before UI is load. If this is the case, the second request extends the time to load by a non trivial amount.

rancher/rancher:master-head 2/4

Reproduced in v2.3.3
visit /g/clusters and see the redundant requests
Deploy master-head
visit /g/clusters and the redundant requests are no longer made


[DEPENDS ON: requests] ui: add community submission request template

@jennur thank you for your feedback! It is clear that we are missing some cross-team communication, we need to address that.


OSX Hang

Updating to the latest causes OSX to hang
    frame #38: 0x00007fff22c91de9 AppKit`_DPSNextEvent + 883
    frame #39: 0x00007fff22c905af AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
    frame #40: 0x00007fff22c82b0a AppKit`-[NSApplication run] + 586
    frame #41: 0x0000000121ced320 libqcocoa.dylib`___lldb_unnamed_symbol982$$libqcocoa.dylib + 98
    frame #42: 0x0000000121cec991 libqcocoa.dylib`___lldb_unnamed_symbol975$$libqcocoa.dylib + 471
    frame #43: 0x0000000103a416ea libQt5Widgets.5.12.9.dylib`QWidgetPrivate::show_helper() + 444
    frame #44: 0x0000000103a41f36 libQt5Widgets.5.12.9.dylib`QWidgetPrivate::setVisible(bool) + 646
    frame #45: 0x000000010000aea4 qgis`main + 20292
    frame #46: 0x00007fff20399621 libdyld.dylib`start + 1
    frame #47: 0x00007fff20399621 libdyld.dylib`start + 1

Are you on Big Sur? If so, there is an issue with the older qt conda uses (see https://github.com/conda-forge/qgis-feedstock/issues/168). Try export QT_MAC_WANTS_LAYER=1...

Are you on Big Sur?

yep. sorry for not searching. I figured it was fresh to 3.18.0.

export QT_MAC_WANTS_LAYER=1

☝ indeed fixes it.
How long until a qt bump?

How long until a qt bump?

Not sure, there is some discussion here: https://github.com/conda-forge/pyqt-feedstock/issues/98


Remove contribute and wiki from header, replace with tag line

This PR addresses issue #164 by removing the Contribute and Wiki links and images in the header, and per our discussions in staff meeting, replaces it with a tagline linking to the /who/ page.
This PR can be previewed on my fork:
https://critzo.github.io/m-lab.github.io/

This change is

_data/header-footer-content.yml, line 6 [r1] (raw file):

  ctas:
  -
    link: "/who/"

What do you think about this going to the about page? then we don't have to feel like we need to update the who page. We could also think about "who" being a portion of the about page longer term.

Comments from Reviewable

_data/header-footer-content.yml, line 7 [r1] (raw file):

  -
    link: "/who/"
    h2: "A partnership between New America's Open Technology Institute, Google Open Source Research, Princeton University's PlanetLab, and other supporting partners. "

Would it be easy to add links for OTI and PLC to the text here?

Comments from Reviewable

_data/header-footer-content.yml, line 7 [r1] (raw file):
Previously, georgiamoon (georgia bullen) wrote…
> Would it be easy to add links for OTI and PLC to the text here?

I would also rephrase just slightly to add: "Measurement Lab is ..."

Comments from Reviewable

I agree with Georgia's suggestion to start with "Measurement Lab is..." Elsewhere, Measurement Lab is referred to as a consortium - I don't have strong feelings about whether you use partnership or consortium, but just flagging it in case you want to keep that terminology consistent with what is in your about section.

@georgiamoon @sloane101 I've incorporated your suggestions to the extent possible. There may be a way to add links to the text, but adding them just as html didn't work- it messed up the formatting of the "learn more" link, so I just updated the text and the main link to point at the about page. Allowing html in the header text will likely require looking at how the site is generated or at least on how that section gets parsed from YAML to html. In any case, this PR is ready for review and merge.

@georgiamoon I updated the template file to use the 8 column width css as we discussed. You can preview on my fork.

Comments from Reviewable

LGTM.


Implement auto-complete for anion, cation input

On condition that anions and cations are locally stored, they can be selected with auto-complete in the anion and cation fields.
Requires #37.
See 2 iii: https://github.com/vladislavivanistsev/SuperCap/wiki/_Functional requirements
Estimated 6 man-hours.
Related use cases:
(https://github.com/vladislavivanistsev/SuperCap/wiki/_Detailed-Functional-requirements#use-case-drawing-graph-from-input)
(https://github.com/vladislavivanistsev/SuperCap/wiki/_Use-Case:-Drawing-a-single-graph-from-user-input)

Estimated 6 man-hours.

Moved to third iteration due to time constraints.

Moved to third iteration due to time constraints/not important functionality.


HPCC-TS-9

Add equivalence terms for text search bundle to return a set of documents based on the equivalences
of search query, by considering the equivalence of initialism ,the synonyms,state name abbreviation,and generating a statistical thesaurus via analysis of the co-occurrences of terms using word2vec

@rogerDev please review


Upgrade to SerialPort 6

Change Serialport interface. Implement custom Transformer until xbee-api will support one natively. Related to jankolkmeier/xbee-api#66

xbee-api v0.6.0 supports the stream transformer interface. Abandon custom transformer and use the xbee-api's built in capability.


Fonts broken on Mint 21

Hi. Me again.
OS: Linux Mint 21 Cinnamon 5.4.12
I have a lot of fonts to use. I searched how i can install them manually because installing one by one would be unpractical. According this answers:
https://askubuntu.com/questions/191778/how-to-install-many-font-files-quickly-and-easily
and here:
https://wiki.ubuntu.com/Fonts
~/.local/share/fonts
~/.fonts
Placing fonts these folders in home directiory and refresh font cache with fc-cache -f -v should be fine. I do these, libreoffice or video players find fonts normally.
But Aegisub don't have these fonts. I tried to refreash font cache and restart the system.
I think there is a bug about how aegisub get font list.

Hello again. I did test font importing on Ubuntu 20.04 when making this snap, and it seemed to work. fc-cache -f -v actually does nothing for Snap packages, because they usually ship their own fontconfig, separate from the main system. I'm now setting up Mint 21 virtual machine and will look into your issues on this OS (both this issue and previous one)

Update: It does seem to be a problem on my end.
On Mint 21:

Other snaps (gnome-font-viewer) recognize fonts installed per-user
Aegisub built separately but not packaged or contained by Snap recognizes fonts too.
I will now re-check in vanilla Ubuntu and look what I can do.

Works as intended on Lubuntu 22.04 live ISO
Very weird. I now have no idea.

I am trying elementary OS 6.1 now. There is no issue with other thing, with inactive save button. Maybe that was because of i am begginer on Linux.
But user fonts won't recognized here either.

Did some more digging on another distro. There is access to ~/.local/share/fonts/ and ~/.fonts/ from the confinement, but running fc-cache -f -v manually inside of it ignores ~/.local/share/fonts/. It does check ~/snap/aegisub-procles/11/.local/share/fonts and ~/.fonts, apparently.
fonts.conf for this snap is missing one of the paths for some reason.
UPD. it just now randomly added the correct path and it just consistently works. I think i found the way to fix this.


I want to Translate UI in Russian Language

I want to Translate UI in Russian Language

translation support not part of roadmap.


(Chore) Update Zoom version, move native module to the external package

Description

update Zoom version
remove native code
export it to the react-native-zoom package
import it from the package,
adjust native sdk wrapper

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request (for frontend tasks)
[ ] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

what about excluding from netlify cache?

it's related to the #1952


Migrated Remaining CSS Files to Tailwind CSS

as discussed in issue #148 ,I have successfully migrated css to tailwind.

testing
Verified visual and functional integrity of the  components.

fixes #148
Closes #148

@SwanandD121  please merge this PR,As only few days are left for GSSoC please stay active its my Humble request to you @SwanandD121 on behalf of all contributors.


Clarification on the dataset structure and which parts should be used for training

Hello,
First of all, thank you very much for making this repository with the data and code available! I do have a question regarding the dataset: Which dataset should be used for training and which one for validation? How exactly was the evaluation set created, and which labels are recommended (EvaluationSet/NPsAreTruth_E/PsAreTruthE)? Unfortunately, the structure of the dataset is a bit bloated, making it difficult for me to understand which parts contain which data and how they should be used.
Thanks in advance!

@FabianHoerst what labels you use depends on your goals
The links to the data used here closely follow the terminology from the paper. P-truth is the singular truth inferred by pathologist reader annotations depicted in Figure 2B. Inferred NP-label is the same but for the non-pathologist annotations. Raw multi-rater data is also available for download there. The sections Evaluation dataset, Bootstrap control, and Unbiased control are all clearly defined in Figure 1B and methods.
Multirater data involves some reconciliation of interobserver data and is what most people would choose for evaluation. For training people could use the single rater data or some portion of multirater data, depending on their objectives. This paper describes one possible set of choices.
What seems like bloat to you may be required by other people who are interested in the multirater data. It's a complex study and transparency requires releasing all data. As I said, great care was taken to describe things consistently within the dataset and papers.

Hello @cooperlab,
thanks for the explanation. Maybe the term bloated was not the appropriate one, overwhelming would rather be a better on..

Seems you have what you need. Reach out if you need further clarification.


Help Sublime Text users migrate to VS Code

Help Sublime Text 3 users migrate to VS Code
We want to provide more welcoming experience for Sublime Text 3 users when they try/open VS Code.
More about the snippet format can be read here, http://sublimetext.info/docs/en/extensibility/snippets.html
Prior art:

https://github.com/idleberg/sublime-atomizr
https://github.com/james2doyle/sublime-to-atom-snippets

Experience
MVP as VS Code extension
New "Sublime migrator" extensions add a new command Migrate from Sublime, which when executed shows prompts for:

Do you want to import your Sublime user settings?
Do you want to import your Sublime project settings?
Do you want to import your Sublime snippets?

Migration runs in the background and shows a infoMessage when finished.
This command could be linked up on the welcome screen, as the existing key bindings for Sublime.
Milestones

[ ] Enable migration of user settings
[ ] Enable migration of base+user settings
[ ] Enable migration of base+user+project settings
[ ] Enable migration of user snippets

/Kenneth

@jens1o Atom is in our radar too.

MVP shipped in marketplace, https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-sublime-importer#overview
Source: https://github.com/Microsoft/vscode-sublime-importer/issues on

Closing as this landed in https://github.com/Microsoft/vscode-sublime-keybindings


Create TestConnection API route for Plugins in Config UI (Jenkins, GitLab, Jira)

Description
This will provide an API route for the frontend to test whether or not the currently saved credentials work on the Plugin's API.
Describe the solution you'd like
I would like to implement an API resource on each plugin that responds to a GET request to "plugins//testConnection" by making the simplest possible request to the third-party API to test that the provided authentication token returns a valid response and therefore can be used for collection purposes.
Has the Feature been Requested Before?
No.

Duplicate of https://github.com/merico-dev/lake/issues/667


Spinner min-value not workin when set min-value="0"

When i set min-value = 0 the spinner alow down to infinity and beyond.
this is my source:
<m4-spinner [disabled]="blockItem(product)" (change)="addItemToCart(product, index)" [(ngModel)]="product.quantity" [min-value]="0" [max-value]="cart.flavors">
i try set a variable min with value 0 in my TS file and set this variable in bind, but not working too.
when i set min-value 1 he work, but with 0 not.

Thank you for reporting this. I'll take a look into it.

Thank you again for reporting this.
The problem is fixed in version 2.0.1


Allow the user to customize the metrics that are scraped, including support for CORS

Currently, the logic for determining the appropriate URL to scrape is hardcoded and tied to a value set in the head in index.html. As long as Prometheus scrape targets are accessible over CORS, the dashboard should be able to configure this.

Blocked pending greater clarity about deployment architecture of GM Fabric.


Update sql-database-elastic-jobs-powershell.md

Format fixes

@vulvulune : Thanks for your contribution to the Azure documentation! The author, @ddove, has been notified to review your proposed change.

@vulvulune Thank you for taking time to make the fix!

#sign-off


Error on auth-code and code commands

When I running snail auth send-email for the first time, it's work fine. I have received the auth code email from Glitch. But, when I login using the code with snail auth code, it's say this:
Error: Glitch auth email response 404 not ok
    at Command.doAuthCode (/usr/pnpm-global/5/node_modules/.pnpm/glitch-snail@2.3.0/node_modules/glitch-snail/src/index.js:360:22)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Promise.all (index 0)

How I can fix this issue?

I just tried this send-email + code signin flow, and it was working okay
app@snail-cli:~ 17:01
$ snail auth send-email [redacted]

app@snail-cli:~ 17:01
$  snail auth code [redacted]

app@snail-cli:~ 17:02
$ snail whoami
[redacted]

however, I find that passing the wrong code or passing a code that has already been used gives a 404 like the one you've experienced:
app@snail-cli:~ 17:03
$ snail auth code fake-fake-fake
Error: Glitch auth email response 404 not ok
    at Command.doAuthCode (/app/src/index.js:366:22)
    at process._tickCallback (internal/process/next_tick.js:68:7)

can you think of anything that might have messed up the code between the email and the terminal?

Yes, maybe.

So i also analyzed this issue. So this issue only happing when you request email magic code twice / multiple time. So to solve this issue, Try again later and request magic code again.

Stilic, I haven't heard back from you, so I guess we'll leave it at "yes maybe."
Yonle, good point about Glitch's rate limiting on this.


Testflight won't pass macOS reviews, leading to most build check in Pending — in progress status

Temporarily disable Xcode Cloud to automatically send newer builds to testflight beta to "correct" this behavior, turning it back on when we improve UI for macOS (and then close this issue as done)

Just an update on TestFlight app review, some app pass the app review on testflight, apparently no review team members are actively working on that, so we might as well just distribute desktop dmg one day.


How to use GCN to generate embeddings to graph nodes

Hello! First of all thanks for this amazing work!
Sorry if this is a dumb question. I want to use GCN for text classification, in my datasets all the documents are labeled. So, I will transform the dataset in graph format, and give the adjacency matrix as input for GCN. My question is if I can generate embeddings (features) for each node of the graph (words) to test in different classifiers.
Thanks

If you independently would like to learn embeddings of nodes and later try
different classifiers on top of them, try GAEs: https://github.com/tkipf/gae
-- this model can be used for unsupervised learning as well as link
prediction. The embeddings you obtain after training can be fed into a
classifier right away and usually give (close to) state-of-the-art
performance.
On Mon, Feb 11, 2019 at 12:14 PM Marcela Ribeiro de Oliveira <
<EMAIL_ADDRESS>wrote:

Hello! First of all thanks for this amazing work!
Sorry if this is a dumb question. I want to use GCN for text
classification, in my datasets all the documents are labeled. So, I will
transform the dataset in graph format, and give the adjacency matrix as
input for GCN. My question is if I can generate embeddings (features) for
each node of the graph (words) to test in different classifiers.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tkipf/gcn/issues/85, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHAcYB1nZFDL2_UMd6tY6-P08fXJ-hQbks5vMVCcgaJpZM4az-C_
.

Thanks for your response!
In my tests I want to generate the graph representation (features for each labeled node), like classical CNN. My propose is to test different graphs for the same document set and see how graph work better in GCN to represent this document set.
In this work TextGCN,  the authors use GCN to generate node embeddings, I want to do the same with my graphs but instead of softmax classifier I want to test some others.
Is there any adjust in GCN code that I have to do to get the node embeddings?
Thanks again for your response!

You can access intermediate activations (node embeddings) via
model.activations -- have a look at models.py for more details.
On Thu, Mar 14, 2019 at 6:45 PM Marcela Ribeiro de Oliveira <
<EMAIL_ADDRESS>wrote:

Thanks for your response!
In my tests I want to generate the graph representation (features for each
labeled node), like classical CNN. My propose is to test different graphs
for the same document set and see how graph work better in GCN to represent
this document set.
In this work TextGCN https://arxiv.org/pdf/1809.05679.pdf, the authors
use GCN to generate node embeddings, I want to do the same with my graphs
but instead of softmax classifier I want to test some others.
Is there any adjust in GCN code that I have to do to get the node
embeddings?
Thanks again for your response!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tkipf/gcn/issues/85#issuecomment-472984226, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHAcYKkhqIUtzG8NBAssx4ATyjsZnYLdks5vWoqkgaJpZM4az-C_
.


treewide: Add test cases for maximum chain-building depth

Closes #58

[ ] Still need to update the OpenSSL and Go harnesses to use this new option.

Hmm, I seem to be having some trouble regenerating schema.go:
tetsuo@Alexs-MacBook-Pro gocryptox509 % make schema.go
go generate
go: github.com/atombender/go-jsonschema/cmd/gojsonschema@latest: module github.com/atombender/go-jsonschema@latest found (v0.14.1), but does not contain package github.com/atombender/go-jsonschema/cmd/gojsonschema
main.go:3: running "go": exit status 1
make: *** [schema.go] Error 1

@woodruffw Does it work on your end? Might just be my setup as I haven't touched the Go harness before.

Ah yeah, I also hit this -- I fixed it on #56, but that has other schema change issues so it can't be merged yet.
Here's the relevant change: https://github.com/trailofbits/x509-limbo/pull/56/files#diff-b50ed33e7c6b9cca03fc536b22c16df8bc38bd9b9ed6e9ba07fc62a88c021e48L3-R3
(The upstream just changed the path that the codegen binary is at, everything else should be the same.)


Need more control over showDialogOrMenu() in case of dialog.

In current implementation: if (widget.dialogBox) { await showDialog(
There are two problems:

I cannot pass all needed params to showDialog() call, e.g. anchorPoint and barrierDismissible.
I want to replace showDialog() completely by my custom show dialog functionality, so code should be refactored to allow custom dialog substitution, i.e. "clean" callback function with all needed data passed to construct custom dialog and returns selectedResult.

P.S. By the way such refactoring could simplify finding a solution for https://github.com/lcuis/search_choices/issues/40
because it will be easier to substitute "external" dialog or menu rendering function, which will know what to show and return result of selection.

Thanks for the improvement suggestion @slavap !

Hello @slavap ,
I exposed the parameter showDialogFn in release 2.1.0 . This is not exactly what you asked for but this seems to cover your main needs. Can you please let me know whether that's fine or not?

@lcuis Yes, it covers my main goal, I can substitute needed params to showDialog() and even call my own dialog functionality. Thank you!
Though additional refactoring to allow more control over menuWidget would be nice, because currently I still have to use menuWidget(searchTerms: searchTerms) as a "black box" without any control over selection logic or selection widget (though priority of that is not so urgent).

Thanks for the confirmation and the secondary need clarification @slavap .
I will thus keep this issue open for now.
Feel free to propose a signature for the menu widget callback or even a PR if you'd like. I'll be happy to review and update the example and integration tests accordingly.


Update FlexButton.xaml.cs

Adding IconOrientation.Top to set icon on top of text.

I forget to commit IconOrientation.cs :
public enum IconOrientation
{
Top,
Left,
Right
}

Nice addition, I like it! Thank you very much!

Hello,
is this change on nugget repo? When I try t set IconOrientation=Top in xaml it doesn't position icon on top.

Should be in v0.11.0 https://github.com/robinmanuelthiel/flexbutton/releases/tag/v0.11.0
Please file an issue, if it doesn't work!


Added "all" list.

BTW, The tests (well the travis tests) were fixed in another PR I just haven't merged it yet.


No longer works with BigSur.

One day stopped working and will not reinstall properly.  If I clear everything using the terminal commands you provided I can get it to install and function.  As soon as the computer goes to sleep or reboots it no longer works even though it is shown to be running in Activity Manager.  Once it stops working, nothing can be done to make it function again.

I agree. Mine too. I hope he fixes it soon. I have the Pro Lifetime version, but it does not look like it is being kept up to date. I tried contacting him other ways, but never had any success. Soon I am going to stop trying to load it every time my computer is turned on.

I should have said I am running Sonoma 14.3.1 on an M1 Ultra

I have an older Mac that was maxed out at BigSur.  I patched it and am now running Sonoma.  EQ Mac is working but is still glitchy. Sometimes audio just stops; hitting a volume button corrects it until the next occurence.  I have another one running Monterey (unpatched) and it's working fine on that machine.

I agree. Mine too. I hope he fixes it soon. I have the Pro Lifetime version, but it does not look like it is being kept up to date. I tried contacting him other ways, but never had any success. Soon I am going to stop trying to load it every time my computer is turned on.

@smile4yourself eqMac is very much maintained (except for public repository), however as complexity of the app grows even what may seem as easy changes take much more time to think through and implement. It's also developed and maintained in all aspects by single person so he has to juggle a lot of work, so I'm temporarily helping to catch up with all the customer support.

@smile4yourself if I correctly found customer support ticket through eqMac chat it seems like you haven't replied to the last message and were having an issue with eqMac asking to install the driver? Is that still an issue?

@FerrisWheelie Could you confirm what issues and on which macOS versions are you still experiencing?

I commented above that I patched my computer and EQmac is now working well with a few with some minor glitches.

Yeah I've read that, was wondering about those glitches if they were still an issue to know what still needs looking into. Do glitches you're mentioning only include audio stopping with the volume adjustment temporarily resolving the issue?

@smile4yourself if I correctly found customer support ticket through eqMac chat it seems like you haven't replied to the last message and were having an issue with eqMac asking to install the driver? Is that still an issue?

Thanks for your support. I no longer have problems with it, and am running Sonoma 14.5. Best wishes to everyone involved.


[bug] Web gorillatoolkit.org down

Describe the bug
The website at gorillatoolkit.org is down, due to Go 1.9 being not available anymore for google app engine hosted websites.
Versions
not applicable
Steps to Reproduce

Open https://www.gorillatoolkit.org
See error message "Go 1.9 is no longer available. Please refer to https://goo.gl/aESk5L for more information."

Expected behavior
The website renders and shows the contents of this repo.
Code Snippets
no code snippets
Screenshot

I disagree that this should be marked as closed.  The website is still down.  I pay for and manage the gorillatoolkit.org domain name, but I do not manage (nor have access to the App Engine project).  Is there a reason why someone else (@kisielk maybe?) can't take this bug?

Hi @emmaly - there are a couple of other bugs saying the same thing, so I'd closed this one.
The issue we have is that only @moraes has owner permissions on the GCP project, and @kisielk is no longer directly involved. I can't fix the problem without access to the project.
My intent is to set up a fresh project this weekend, re-deploy the site, and then reach out to you to point the domain to the new address. Until then, it will remain down.
(I do not have any time until the weekend to fix this)

The mentioned PR is not an issue and was there for more than two years which in between the site was available so this is not directly a duplicate but rather a new issue.
As you also mention further that PR is not resolving the issue since there is nobody to deploy it.
You mention there are a couple others that mention this, where? Here is no issue mentioning the site is down except of this one here.
I understand that the PR could resolve the issue but marking this as a duplicate without being a duplicate is rather a weird practice in my opinion. If I would've created a second PR that could have been a duplicate.

Excuse the curt reply, but I have received 10+ issues and emails in the last 12 hours on this :)
Please refrain from commenting further until we've fixed this, which may take some time.

Are there any open issues on GitHub about the site downtime right now?  https://github.com/gorilla/site/issues says no.  Why not reopen this one?
Until it is fixed, how about I redirect the URL to https://github.com/gorilla/ so people can at least have a shot at getting info, instead of a brick wall?

Domain points to GitHub now.  Let me know when it needs to point elsewhere.

This repo is the correct location for website issues.  Any other issues should be closed.  I believe I've already commented on the two duplicate issues in the project and linked them to this issue.

In case anyone drops by this issue about this, https://pkg.go.dev/search?q=gorilla is an okay-enough place for documentation for the project while we await the site being brought back up.

Thanks for the help.
I'm sure you can appreciate that - as the sole remaining maintainer for the Gorilla project - having the site go down and being unable to fix it is pretty frustrating. It was only yesterday that @kisielk named you as the holder of the domain :-)
I'd like to figure out a way to take ownership of the domain as well, since I'll need to stand up a fresh GCP project. I can then look at sharing ownership with the Go team at Google as an insurance policy against this happening again. The bus factor is pretty high right now.

I still recommend re-opening this issue until it is solved so anyone else that wants to raise an issue can see it's already getting attention.  I am not a developer on the repo, so I am unable to do so myself.
The README for this repo has my name and contact info.  Perhaps not the first place one would look, but it has been there for at least the last 3.5 years.  It's even embedded in the TXT record for gorillatoolkit.org if one had nowhere else to turn and got really desperate.
I would be happy to stand up whatever is necessary for this site to run as intended, including creating the GCP project.  Let me know how I can help.

(this may remain down for some time until I have the bandwidth to resolve this)


can we use two mail drivers

In Mail.php i want  to use driver=>'ses' for some mails and driver=>'mandrill' for some mails.
Is there any chance to send mails through mandrill and ses through send method.

Should be possible, but not straight up out of the box. Please ask questions on the forums.


Added convertx service.

Submit Checklist (REMOVE THIS SECTION BEFORE SUBMITTING)

[X] I have selected the next branch as the destination for my PR, not main.
[X] I have listed all changes in the Changes section.
[X] I have tested my changes.
[X] I have considered backwards compatibility.

Changes

Added ConvertX Service
Added ConvertX Logo

Thank you for the PR. I will fix it a bit.


Make URSim log files available as artifacts

This is an attempt to make debugging failing tests easier.

@urrsk I didn't use the dashboard_client functionality as it was easier to do it using a direct netcat call from the command line, but I think it is still fine to keep this inside this PR. We'll simply merge this using both commits.

Maybe the script should be placed in the script folder..


Trouble with Keyspace Events

I followed the steps listed here (http://www.yanted.com/2014/01/07/keyspace-events-in-redis-2-8/) to test keyspace events on my local machine.  From a fresh install, I did a "config set notify-keyspace-events KEA" followed by a "config get notify-keyspace-events" to make sure that everything was set properly. I then ran redis-cli --csv subscribe 'keyspace@0:foo'.  From another command prompt, I ran SET and DEL operations on key foo.  Those operations performed as expected, but no messages were seen in my command prompt that was subscribed to the keyspace channel.

Disregard.

So what did you do to resolve this?  I am seeing the exact same behaviour. Same test running Redis on OSX works as expected.

Never mind I found it:
redis-cli --csv psubscribe 'key*:' should be redis-cli --csv psubscribe "__key__:*"