Notifications permission

Describe the bug
Missing method to grant notification permission.
To Reproduce
Steps to reproduce the behavior:

Request Android/iOS notification permissions

Tried both

      if (await tester.native.isPermissionDialogVisible()) {
        print('Dialog is visible');
        await tester.native.grantPermissionOnlyThisTime();
      }

and
      if (await tester.native.isPermissionDialogVisible()) {
        print('Dialog is visible');
        await tester.native.grantPermissionWhenInUse();
      }

I also tried calling directly grantPermissionWhenInUse and grantPermissionOnlyThisTime without isPermissionDialogVisible guard with no success either.
with no success, as expected as they are for the other permission window.
4. Tests hang as it is waiting for the permission to be granted.
Expected behavior
Allow button to be clicked, permission to be granted.
Device information

Device: any
OS: Android/iOS

Additional information

3.10.0

0.10.9

0.9.0

Additional context
I see there are methods for pulling down the notification shade and pressing notifications, how can you reach that step without granting permissions first, am I missing something in the documentation or is the method just not present ?

Hi @crisboarna, thanks for creating this issue.
Unfortunately I cannot reproduce this problem on my Pixel 6 emulator with API 33 (the first where POST_NOTIFICATIONS permission is available). Here's the video of my run:
https://user-images.githubusercontent.com/40357511/216839779-cbb41a41-999a-4492-8b75-949dd6639051.mov

Hi @bartekpacia ,
What is the driver code you used to click on that permission ?

It's the notifications_test.dart from the example app.

Issue with my configuration, got it working, thank you.


Using Global Scopes Causes Recursive Loop

Hi,
We are trying to define a Global Scope but it leads to a RuntimeError stating "recursion depth exceeded while calling a Python object". The error is raised when using multiple scopes or scopes with where clauses.
An example code is pasted below:
from orator.orm import Model, scope
from orator import DatabaseManager

class Dog(Model):
    @scope
    def by_color(self, query, color):
        return query.where('color', color)

    @classmethod
    def _boot(cls):
        cls.add_global_scope(lambda builder: builder.where('color', 'black'))
        super(Dog, cls)._boot()

if __name__ == '__main__':
    db = DatabaseManager({
        'sqlite': {
            'driver': 'sqlite',
            'database': ':memory:',
        }
    })

    Dog.set_connection_resolver(db)
    db.connection().get_connection()._connection.execute("CREATE TABLE dogs ('color')")

    # Working
    Dog.where('color', 'white').first()                          # single where clause
    Dog.by_color('white').first()                                # single scope
    Dog.where('color', 'white').where('color', 'white').first()  # multiple where clauses

    # Raises RuntimeError: maximum recursion depth exceeded
    Dog.by_color('white').by_color('white').first()         # multiple scopes
    Dog.where('color', 'white').by_color('white').first()   # scope + where clause

We are using python 3.4.4 and orator 0.9.7.
I used pudb to trace the error. It is raised from orm/builder.py builder = copy.copy(self). The deepcopy is falling into a recursive loop.

Thanks for the detailed explation.
I will take a look at it and get back to you as soon as possoble.


[W6.4f][T09-B1] Goh Keng Seng

Made execute() method abstract

Accepting this PR with minimal review.


Register the maker as user

We currently can't reference our database trader_id model to our user table as the maker is not registered.

We can do this manually by inserting it directly into the DB

Now that I think of it we will have to do it also for our regtest maker and local setup, otherwise the foreign key will fail on these environments. :/

maybe a simple SQL or bash script?


[FEAT] Add AHeaderAnalyzer and ARequestParser classes

Define the abstract classes for the header analyzer and request parser.
Each version of HTTP need to inherit the abstract classes and implement the analyze and parse functions.

I will fix this

Please dont fix it without me! I wanna know how you fix it too

Oh too late it's fixed XD
But I can show you again


Bump snapshot version

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Codecov Report

Merging #39 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #39   +/-   ##
=======================================
  Coverage   89.49%   89.49%
=======================================
  Files          39       39
  Lines         514      514
  Branches       32       32
=======================================
  Hits          460      460
  Misses         42       42
  Partials       12       12

Continue to review full report at Codecov.

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


Make the library publishable to NPM registries

We may promote use of the more feature rich npm module workflow in the future instead of bower. This at least opens the door to that possible effort. This does not however make the library compatible with CommonJS, yet though.

I feel this should be done all at once. If you do this, you can just publish it, that's it. It won't really work, since nothing has been done to enable it for CJS.
I spent a few hours going over what needs to be done to get it working.

bootstrap and jquery need to be added as dependencies (should also remove server-static and connect since they are in the wrong spot if this is going on npm).

<EMAIL_ADDRESS>does not support CJS

in every js file, a if else needs to be added to check for module and module.exports, then actually use the factory with "node style" requiring of jquery
a main file needs to be added to the package.json

should probably also create a dist npm file that requires everything instead of trying to use the ./js/all.js for both browser, AMD, and CJS

probably a few more things....

Was going to try and work on this sooner than later, but above is the general gist to getting it working

Thanks Alex for delimiting these.  I'll modify this PR with the above suggestions.

@vernak2539 It appears that even though Bootstrap "supports" CommonJS packaging, it still is asking for jQuery on the window object. In Fuel UX, AMD users can get around this with requirejs shim in their config object.
Do we need to to wrap BS somehow ourselves like we suggest with AMD or is it OK to depend on the global for jQuery? I am kind of new to CommonJS on the front-end space, so I wanted to see if you had any common usage suggestions.

@vernak2539 I have a WIP branch here for you to test. I didn't want to force push it here, because it's got a lotta cruft in it that's not going in the library in order to just use it (and I didn't want to scare anyone into thinking it was all going in). It has Fuel UX controls running as commonJS modules in /index-cjs.html.
I don't think it would be good idea to duplicate all the tests just in a commonJS format.

@interactivellama yeah ill take a look today. Definitely should be no need to duplicate the tests.

One thought I had is that I didn't add the CommonJS wrapper to dist/js/fuelux.js would anyone expect that to be present? I would think they would always use the the /js via node_modules, since "small is good" and "combined is bad" for CommonJS.

I think that looks fine. You'll probably have to have a gist or something demonstrating how it needs to be setup with jquery, bootstrap, etc.
not sure what you should do about including bootstrap. usually in these kind of things, it would be stated as a dependency, and thus installed on the npm install. But, this is a repo for all the various types. May want to look into that, and making sure only real dependencies are listed in the package.json

One thought I had is that I didn't add the CommonJS wrapper to dist/js/fuelux.js would anyone expect that to be present? I would think they would always use the the /js via node_modules, since "small is good" and "combined is bad" for CommonJS.

Since you've set the "main" script in the package.json, all that's required is require('fuelux') and it should sort the correct package. If people use a relative path when trying to access it, they're using it wrong

Looks like I forget to push the latest updates to package.json that add jquery and bootstrap as dependencies.

Looks like I forget to push the latest updates to package.json that add jquery and bootstrap as dependencies.
yep that looks good

Updated with actual code to support commonJS + basic unit tests ran within the validate-dist grunt task.

@swilliamset Updated with master branch. Also tests finally passed by getting grunt-browserifyon the heroku app.


Multi session behat scenarios

Hello,
I'm investigating how I can work out/make multi session scenarios.
Our systems are headless drupals as backend (json generation) and angularjs apps frontend.
How do I make full E2E tests in this architecture?
I was thinking on making a context with 2 (or even more) sessions:

one browser session (selenium2) so I can use the behat drupal extension
one headless (goutte) session so I can verify json generation and schemas (behatch)
second browser session (selenium2) for the frontend (behatch::browser)

The problem is, how do I start with this above?

I've done this in 2.5, I'm not sure how much everything has changed with 3.0+ However, I would suggest not trying to test both at the same time, but each aspect individually, if at all possible.
If you need to, here is how I did it in 2.5: Create a new instance of a Driver and it's Session in your context, and assign it to another variable in your context.
My main driver was selenium, and this step opened a Goutte driver with the Goutte/Guzzle clients. I saved it to a property and used it for the rest of the tasks I needed it for.
$goutteClient = new \Behat\Mink\Driver\Goutte\Client();
$guzzleClient = new \Guzzle\Http\Client();
$goutteClient->setClient($guzzleClient);

$driver = new \Behat\Mink\Driver\GoutteDriver($goutteClient);

This problem seems to be unrelated to this particular codebase. Feel free to reopen if I'm wrong.


Unable to Enter Password

I'm new to Instaloader and was just checkin' out it. But when I try to run it using --login, it doesn't allow me to enter password.
Here's a screen recording of the issue I'm facing:

https://github.com/instaloader/instaloader/assets/92502151/ec91ec8c-1a05-40dd-80ed-97a5534b4f3a

Also got error 401 after download finished when I used without --login

Are you using a VPN or connecting from a public location? I get a 401 error if I'm using my VPN. As soon as I disconnect, it works fine.

Also got error 401 after download finished when I used without --login

Are you using a VPN or connecting from a public location? I get a 401 error if I'm using my VPN. As soon as I disconnect, it works fine.

Nope, I'm not using any VPN or custom DNS

Anyone help #2124


Method not allowed: POST

Trying to follow the Getting Started guide here: https://github.com/Netflix/atlas/wiki/Getting-Started
Only thing I'm doing different is I have a later version (1.6.4) and the latest memory.conf but when I use it I get the following (even though I'm not POSTing)
curl -s 'http://localhost:7101/api/v1/tags'
{"type":"error","message":"method not allowed: POST"}%

And this is appearing in the logs:
2020-02-27T17:22:18.817 DEBUG [atlas-akka.actor.default-dispatcher-3] com.netflix.spectator.ipc.IpcLogger: {"owner":"atlas-akka","start":1582795338816,"latency":5.42831E-4,"uri":"http://localhost:7101/api/v1/tags","path":"/api/v1/tags","remoteAddress":"unknown","result":"failure","status":"bad_request","httpMethod":"GET","httpStatus":405,"requestHeaders":[{"name":"Timeout-Access","value":"<function1>"},{"name":"Host","value":"localhost:7101"},{"name":"User-Agent","value":"curl/7.64.1"},{"name":"Accept","value":"*/*"}]}
As you can see it's a GET request, and this works if I don't include memory.conf on startup

Thanks for the report. It seems like it is something with the include that is part of the memory.conf now working depending on how the config path is specified. I was able to reproduce with:
java -jar atlas-1.6.4-standalone.jar memory.conf

But, this works and should give you a workaround for now:
java -jar atlas-1.6.4-standalone.jar ./memory.conf

Even so the error message is not ideal. I would have expected a 404.

I believe this is because the example links explicitly to the 1.5.x memory.conf. I was able to get this working by downloading from the master.
curl -Lo memory.conf https://raw.githubusercontent.com/Netflix/atlas/master/conf/memory.conf

And then
java -jar atlas-1.6.4-standalone.jar ./memory.conf


Update examples to always include nvidia.com/gpu.present label

@klueska  Thanks for your contribution. But unfortunately, I can't found these change in repo. Can you checkout and confirm it?


[DOC] Tutorial on using Nebari as your dev platform for package development

Include information on how to install the dev package with pip (with warning signs, etc)
add/remove/update packages

Good examples: https://docs.flyte.org/projects/cookbook/en/latest/integrations.html
notion doc

This is already covered by other docs in the diataxis framework


syntax error in config width

Hi, I've found a syntax error on the module configuration lines:
When it says width: 400px, is wrong, so it can not launch MM.
The correct syntax would be: width: "400px", or width: 400,
Thanks for this module. Hope it helps.

I second that!
Also, "Strings must use doublequote."  like at 'MMM-MotionEye'.
It just makes easier for some people
Thanks

I triple that after a number of wasted hours


Randy stuff branch

Added functionality for one video for each event.  Adding up an event when 30 seconds left of current video left. Play video when 2 seconds of current video left.

Coverage decreased (-6.4%) to 58.16% when pulling c14e03c1e388ac60efaa62959b93d44271fd5de7 on randyStuffBranch into 2f29e3730dfd50cc3e1edb0a3cd2dbfe8a4669d6 on development.

Coverage decreased (-8.0%) to 56.566% when pulling<PHONE_NUMBER>d594f76fc0b42175ca77d09b9327ae on randyStuffBranch into 2f29e3730dfd50cc3e1edb0a3cd2dbfe8a4669d6 on development.


[explorer] Remove stake percentages from validator detail pages

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Current dependencies on/for this PR:

main

PR #8694   👈

This comment was auto-generated by Graphite.


Windows plugin should use UniqueId in place of DiskNumber

The current fs module implementation for Windows relies entirely on DiskNumber (aka Index, Number). The implementation should instead use UniqueIds to avoid collisions.
See below for examples on how to obtain a disk's UniqueId.

The id (device signature) captured (as shown in description) cannot be
PS C:\Users\root> diskpart

Microsoft DiskPart version 10.0.14393.0

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: WIN-QBI6V8BMPGM

DISKPART> select disk 2

Disk 2 is now the selected disk.

DISKPART> detail disk

VMware Virtual disk SCSI Disk Device
Disk ID: C6CE28EB
Type   : SAS
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1700)#PCI(0000)#SAS(P00T00L00)
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 4         test1        NTFS   Partition     98 MB  Healthy
    C:\Windows\System32\config\systemprofile\AppData\Local\docker-volume-vsphere\mounts\test1@sharedVmfs-0\

PS C:\Users\root> Get-Disk -Number 2 | Select UniqueId

UniqueId
--------
SCSI\DISK&VEN_VMWARE&PROD_VIRTUAL_DISK\000000:WIN-QBI6V8BMPGM

This is the id that needs to be further used with Set-Disk, Initialize-Disk command with flag -UniqueId.
ex:
PS C:\Users\root> Set-Disk -UniqueId "SCSI\DISK&VEN_VMWARE&PROD_VIRTUAL_DISK\000000:WIN-QBI6V8BMPGM" -IsReadOnly $True
PS C:\Users\root> Set-Disk -UniqueId "SCSI\DISK&VEN_VMWARE&PROD_VIRTUAL_DISK\000000:WIN-QBI6V8BMPGM" -IsReadOnly $False

Using device signature won't find the device (disk)
PS C:\Users\root> Set-Disk -UniqueId "C6CE28EB" -IsReadOnly $False
Set-Disk : The requested object could not be found.
At line:1 char:1
+ Set-Disk -UniqueId "C6CE28EB" -IsReadOnly $False
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-Disk], CimException
    + FullyQualifiedErrorId : MI RESULT 6,Set-Disk

But the first question is can disk Index cause collision?
Disk number is the default and easy way to identify disks
Windows numbers them as part of enumeration during Plug and Play process.
For newer disks, incremental index numbers are provided.
See the cause section here
So as such disk number (index collision) doesn't seem to be real-world reasonable possibility.

I agree. Using UniqueId looks not straightforward. We can stick with DiskNumber for now unless there's a right reason to change.


Fix Bug: Editing/Adding Tags Resulting in DuplicateEntryException

Coverage may drop slightly as I added some code. Test for this bug will be added in my test-related PR.

Coverage increased (+0.03%) to 87.76% when pulling 699453374eab246f55ac83dd4242402d8c2f4eef on fix-edit-tag-bug into fc17b8172058f004e35bb63936e5308c4b66497f on master.

Coverage increased (+0.03%) to 87.76% when pulling db49dffa58f237943ff57302e12923a2fa10add5 on fix-edit-tag-bug into fc17b8172058f004e35bb63936e5308c4b66497f on master.

Ignore Codacy's warning for this PR. == is used because I want to check for reference equality, not object equality.


Update Cosmos CODEOWNERS

Adding @southpolesteve and @zfoster from Cosmos team

/check-enforcer reset

/check-enforcer override


fixed wrong order between persist votes and pushLayersToState on lateblock

fixed wrong order between persist votes and pushLayersToState on lateblock

bors merge

bors mege

bors merge

bors merge


🐛 Bug Report: Unable to update function timeout beyond 900

👟 Reproduction steps
Head to the functions settings screen and try to update the function timeout beyond 900 seconds.
👍 Expected behavior
The function timeout is updated
👎 Actual Behavior
Timeout cannot be updated beyond 900 due to the limit being hardcoded in the console
https://github.com/appwrite/console/blob/main/src/routes/console/project-[project]/functions/function-[function]/settings/%2Bpage.svelte#L476
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

The max execution time of a function can be 900 seconds (15 minutes), I don't think appwrite wants users to go beyond that limit
for reference see this line
https://github.com/appwrite/console/blob/af8453d75f64a2cf4a62a742904abeab6dd70cef/src/routes/console/project-[project]/functions/function-[function]/settings/updateTimeout.svelte#L59C72-L59C75

@christyjacob4 we need to expose Appwrite's env variable so we can use it in the console. We should be able to add to all the others we get by listing variables


Mainnet wallet release

@vgrichina can you please include this one too: https://github.com/near/near-wallet/pull/768


fix(framework): update code generator templates

closes #2640
Summary
modify templates in package generator
Does this close any open issues?
closes #2640
Screenshots

Other Information
Any other information that is important to this PR.

LGTM


⚠ ClamAV has degraded performance

In b357fdd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 9093386 after 537 days, 5 hours, 8 minutes.


buildah bud --format format functionality missing

Description
buildah bud --format format is missing and needs to be provided.  This is functionality that Docker has.
#599 is the parent issue for this issue.
Output of buildah version:
Buildah v0.16

I don't see documentation on docker build --format???

@rhatdan is right. No docker build --format from what I know.

We actually have a buildah bud format that allows you specify format.
       --format

       Control the format for the built image's manifest and configuration data.  Recognized formats include oci (OCI image-spec v1.0, the default) and docker (version 2, using schema format 2 for the manifest).

So @TomSweeneyRedHat Should we close this?

After reviewing, yep, I'm going to close this one.  @pixdrift holler if you've other thoughts.

Correct, no docker build --format. Apologies if it was in the original table in #599, I can't tell what's been changed in the edit.

@pixdrift No worries.  This was in the table, but it was my bad.  This is something that we have added to Buildah, but is not in Docker.  I should not of created an issue but suffered a moment of dyslexia apparently.


Noto Color Emoji font not rendering for the Text widget

use iced::{Color, Element, Font, Sandbox, Settings, Text};

pub fn main() -> iced::Result {
    Hello::run(Settings::default())
}

struct Hello;

impl Sandbox for Hello {
    type Message = ();

    fn new() -> Hello {
        Hello
    }

    fn title(&self) -> String {
        String::from("A cool application")
    }

    fn update(&mut self, _message: Self::Message) {
        // This application has no interactions
    }

    fn view(&mut self) -> Element<Self::Message> {
        const ICONS: Font = Font::External {
            name: "Icons",
            bytes: include_bytes!("/usr/share/fonts/noto/NotoColorEmoji.ttf"),
        };
        Text::new("🐱").color(Color::BLACK).font(ICONS).into()
    }
}

I just end up getting a blank screen. However, if I switch out with any other font which supports this character, it renders properly.
The only difference I can see in this font is that Noto is actually colored. Could this be a reason why it's not rendering?

Could be. Our text rendering strategy isn't very sophisticated (see #33).

IIRC Noto emoji's use embedded PNGs, which isnt supported by glyph-brush (once of Iced' dependencies).

@twitchyliquid64 Makes sense. Do you know any way I can work around this? Some way I can go with a unicode codepoint -> The embedded png -> Iced Image Handle? Maybe there's a way to render this as an image rather than text. Do you think that's possible?
@hecrj, In light of what @twitchyliquid64 has said, do you think solving this should be a part of #33?

@samyak-jain unfortunately not, its a super duper edge-casey font and most of the ecosystem is working to get the foundations right before tackling that kind of thing

@samyak-jain Yes, this should be a part of #33!

I just end up getting a blank screen. However, if I switch out with any other font which supports this character, it renders properly.

May I ask you which font to support emoji did you use to render it properly? @samyak-jain
Thanks in advance.


Unable to login to client; can login to site

I created a keybase account ages ago, but I stopped using it and because I can't be trusted with pgp keys decided to delete my pgp key on the way out.
I tried using keybase again today and while I can login to the site, neither the CLI nor GUI let me in:

I'm guessing the client doesn't like accounts without pgp keys associated? I'm not sure how to get started with keybase again without just creating a new account.
Email on account<EMAIL_ADDRESS>

@schmichael: we'll need a log from your client to be able to help: keybase log send from a terminal, with a quick description in the prompt (or a link to this ticket).
Additionally, it's possible that you didn't have your email address on the account. Is this you?
https://keybase.io/schmichael
If so, you can try logging in with the username instead of the email address.

Log ID: 3b341786f317d4d142309e1c
That account is me. That email address is associated and verified. Same error message if I try logging in with schmichael.

Thanks! @maxtaco: would you mind taking a look?

This is some corner case having to do with a reset account seems like

@oconnor663 when you get a chance can you check this out?

Also, for now try keybase db nuke and see if that helps

keybase db nuke fixed it! (Well I actually just rm -RF ./local/shared/keybase/ to be safe)
Now the chat I reinstalled keybase to open is stuck saying "Securing..."
I'm guessing since I don't have a pgp key there's no way for it to continue? (keybase pgp list is empty)

Can you do another keybase log send?

(I'll follow up here if we get another log send from @schmichael.)

New log: e393265ae2b82bdaabce361c
It mysteriously works after a reboot though so.... feel free to close.

@oconnor663: do you want to continue debugging this, or should we count our blessings and close?

Filed a task.

Let me help.


Watch for fuel tanks and other industrial infrastructure

Something to look for when we import and validate. Some things like this object https://www.openstreetmap.org/way/408511408 are tagged with building=industrial, and they should probably have the tag man_made=storage_tank as well.
See http://wiki.openstreetmap.org/wiki/Tag:man_made%3Dstorage_tank, which suggests that it's acceptable to leave the building tag, too.
@imagico spotted this on the mailing list.

Good catch. Any way to check automatically for round features and flag them for tagging as tanks, silos or smokestacks?

Maybe catching round things could be done after the fact using Mapbox QA tiles?

We can definitely catch round buildings, but automatic tagging maybe risky.  What we can do is find all these round buildings and have a micro-task to do manual review by mappers.

My idea was mainly to supplement these with a fixme tag to indicate the default tags are likely insufficient.  Not every round structure in an industrial area is a storage tank.
The industrial areas are fairly concentrated so it might already be sufficient if those who take on these parts plan enough time to work this out by hand - ideally do some research in what kind of product/process is done there and tag accordingly (i.e. also content=* etc.)  In general with just buildings mapping of industrial facilities will never achieve any reasonable level of completeness in comparison to residential or commercial areas - there are so many different mappable structures there and buildings are just one of them.

@imagico, I like adding fixme for building=industrial.  I can run that for the rest of the imported data.  For the already imported data, we can ask validators to work on this specific task.

FWIW, last week, I did a bunch of the import tiles around the refineries (lots of tanks), and I manually changed building=industrial to man_made=storage_tank - at least, I did it for most of them.  It's a quick and easy thing to do.


Button example is broken

Bevy version: 425570aa752b32ef26f6573b385d49d6254bd868 (main as of today)

What you did

Run the button example with cargo run --example button.

What went wrong

At first, the window is transparent.
When moving the mouse, it displays the button
When hovering over the button, the button says "hover"
When pressing  and holding down the mouse left button, it keeps saying "hover"
It only says "pressed" after releasing the mouse left button
If I move afterward the mouse, it goes back to "hover"

What I expected

Window shows up immediately
Button should say "pressed" as soon as I start holding down the button
Button should stop saying "pressed" when I stop holding down the button

Currently it's basically the inverse.
Additional information
Removing WinitSettings::desktop_app() fixes it.
This might be related to #11052. Supposedly, the updating mechanisms do not work as expected anymore.

Digging into this I can see that Bevy doesn't call Window::request_redraw() when using UpdateMode::Reactive when needed.
Currently it only calls it when:

the user sends the RequestRedraw event
when DeviceEvent::MouseMotion is received

This probably worked before because EventLoopWindowTarget::listen_device_events() was supported with very few targets.
So the solution is to call Window::request_redraw() when actually required instead of relying on circumstantial events.
I also noticed that Winit has set up a bool, WinitAppRunnerState::redraw_requested, to collect and call Window::request_redraw() later. This is unnecessary, Winit de-duplicates these requests already.

At first, the window is transparent.

This is because SurfaceTexture::present() is not called on the first call to update. I noticed that the whole render_system is not called for some reason.
If Bevy isn't ready to draw when RedrawRequested is sent, it has to schedule a new one to render when it is. Otherwise nothing will happen.

When pressing  and holding down the mouse left button, it keeps saying "hover"
It only says "pressed" after releasing the mouse left button
If I move afterward the mouse, it goes back to "hover"

If you move the mouse while holding it down it will actually update and show "pressed". This is because changes made to the button are only rendered in the next update cycle, not in the one they are changed in.
I'm not sure exactly how the rendering system in Bevy works, but sending RequestRedraw in Interaction::Pressed fixes that issue.
So either Bevy has to correctly render the current state in the same call to App::update(), or it has to schedule another redraw after changes are made.

When pressing  and holding down the mouse left button, it keeps saying "hover"
It only says "pressed" after releasing the mouse left button
If I move afterward the mouse, it goes back to "hover"

system extract_uinodes is executed after system queue_uinodes, so a given frame is rendered with the nodes from the previous frame. This means that UI rendering is always one frame late

could someone on Windows or Linux run the button example (and click on the button) on this branch: https://github.com/mockersf/bevy/tree/button-ui-system-order and add the log here?

I've made a branch to showcase the issue with more logs: https://github.com/mockersf/bevy/tree/one-frame-lag
here is the log I get:
ERROR bevy_winit: MouseInput event received: Pressed Left
 WARN bevy_winit: updating
 WARN bevy_ui::render:   queue_uinodes
 INFO bevy_ui::render:       entity: 3v1, color: Rgba { red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0 }
 WARN bevy_ui::render:   prepare_uinodes
 INFO bevy_ui::render:       entity: 3v1, color: Rgba { red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0 }
 WARN bevy_ui::render:   extract_uinodes
 INFO bevy_ui::render:       entity: 3v1, color: Rgba { red: 0.35, green: 0.75, blue: 0.35, alpha: 1.0 }

so queue_uinodes and prepare_uinodes run on the extracted uinodes from the frame before the click, then extract_uinodes run which extract the node with the changed green background
this is causing a one frame lag for every change in the UI. Chances are there is also the same issue with every thing being rendered as the schedules are shared

Isn't the one frame lag, related to the pipelined renderer ? What you see is the queue_uinodes from the end of the render app of the previous frame, and the extract is from the next update which happens in parallel ?
In general, doesn't the pipelined renderer inevitably introduce a one frame delay between events and  associated render ?
I have done some investigation on my side regarding the Reactive mode case here with the button example. And what I have seen is that the RenderApp is stopped somewhere between its ExtractCommands set and its Queue set. The executor is waiting for one system to finish( i have not yet found exactly which one). This system is in direct relation with winit as it finishes when either there is an event or the 'wait delay' is reached.
So in ReactiveMode, the ExtractCommands part of the Render app is executed during the frame with the event, but not finished.
This perhaps also is in relation with the pipeline rendered, because the end of the RenderApp would be done on the next frame in parallel to the main update, but this next frame never happens ?
This is the best I have been able to go in debugging this, I don't have enough knowledge to really go further for the moment.

This can no longer be reproduced: closing out.
If there's more weirdness (or you want to pursue improvements to Reactive mode), please feel free to open dedicated issues.

Isn't the one frame lag, related to the pipelined renderer ?

Yup you're right, with pipelined rendering, we need at least two updates to see the result
the button example makes it very obvious if you can send exactly one event: clicking the mouse without moving the mouse, or the touchpad not on a Mac laptop (it sends touchpadpressure events)
this will impact everything rendered, not just UI
we could:

document it, but it would mean the example would still look broken
change the desktop_app mode to happen faster than every 5 seconds, and the timeout would make the update happen. this would hide the problem in the example
queue an extra update after the last user event to update the rendering

I don't like the example being broken, as this is real obvious when using it. Reducing the timeout also means that it increasing consumption even when nothing really happens.
I personnaly prefer, in this world of 'choose your best enemy' to queue an extra update on user events.
As far as I remember it just need an extra bool on the runner to ensure 2 frame update per user events.
I can look into that and provide a PR with this kind of solution during the week-end if we think this is the way to go.

I was going back to this when I noted that now on main the button example is working as expected on my setup.
I have bi-sect the commit that "fixes" it for me to the commit associated to  the PR #11660.
AFAIK this PR only aims to allow more platform to have prepare_windows possibily run in a different thread. Which seems to mean that on my linux setup, the 'render_app' thread was blocked in because the prepare_windows could not be run because it needed to be on the main thread, which was stopped waiting for events.
But as this change still keep prepare_windows on the main thread for macos, or ios, I suspect the button example issue still exists on those platforms. I don't have a macos or ios setup, so if anybody with this platform can confirm this ?
For a full fix for the Reactive mode, should we, independently of the target, ensure 2 updates happens after each window or device event received ?

#11672 enabled that behavior on all remaining platforms :)

Unfortunately this is not sufficient to solve the button issue on all platform.
The prepare_windows is now split in two function, but the function create_surfaces still has a NonSend marker for macos or ios, and thus is run in the main thread, and thus is blocked waiting for the winit event.
I  don't have a macos environment, but if I enable the NonSend  marker of the create_surfaces function on all platform, I can still reproduce this issue locally, so I suspect it is still an issue with main branch on macos and ios.


Roll Flutter Engine from 0155f8fc4569 to 2504f8f17e9e (8 revisions)

https://github.com/flutter/engine/compare/0155f8fc4569...2504f8f17e9e
2024-09-22<EMAIL_ADDRESS>Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342)
2024-09-22<EMAIL_ADDRESS>Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336)
2024-09-21<EMAIL_ADDRESS>Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328)
2024-09-21<EMAIL_ADDRESS>Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327)
2024-09-21<EMAIL_ADDRESS>Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326)
2024-09-20<EMAIL_ADDRESS>Adds vscode workspace with impeller test runner (flutter/engine#55291)
2024-09-20<EMAIL_ADDRESS>Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321)
2024-09-20<EMAIL_ADDRESS>Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


finish up size 0 vector handling in cKDTree

Still todo after the merge of gh-5625:

remove converter.h
check if there's a test for size 0 input, and add one if it doesn't exist

I can bullet proof the Cython code against size-0 arrays if you prefer. Three tiny changes are required.
A test will mean trying the range query methods with r larger than the maximum distance between the kd-tree data and the query points.

I will open a PR in an hour or so.

sounds good to me


QA Ph5: Homepage - Mobile - Play button overlaps text on some cards

The play button overlaps text on some of the cards.
Steps:

Go to staging URL
Scroll down
Note overlapping issue

Browser/Device:
Safari iPhone 6S iOS 9.1

@paulfarning did you fix this?

@ebidel I have not. Looks like still an issue at some screen sizes. Maybe make the text size smaller, sooner? Or not include full list of names?


Hovakimyan

Es My commit-y xia ekel ste?

On Sat, 20 Mar 2021 at 20:15 Hovakimyannn @.***> wrote:

Es My commit-y xia ekel ste?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/tiko-star/geek-course/pull/3#issuecomment-803397152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUNZXAG2JDRCWNMQMJZDADTETCZHANCNFSM4ZQSCRQQ
.

Ba ur Gar Harut jan?

De menak HomeWorkn ei avelacrel


Joins on Select statements alias more protectively

The use of inner_columns was pulling out columns both from the full
select statment (the lhs or rhs of the join) and from the underlying
table.  This caused sqlalchemy to enact an implicit join against both
forms of the table, resulting in wacky results.
Fixes #975  cc @FRidh

OK, this technically solves the problem outlined in #975

In [1]: from blaze import *

In [2]: d = Data('sqlite:///subset.sqlite3')

In [3]: join(d.event[d.event.include==True], d.operation, 'operation', 'name').count()
Out[3]: 7

In [4]: join(d.event[d.event.include==True], d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count()
Out[4]: 7

The solution is a bit kludgy though.  I'd like to let this simmer for a few hours and then take another crack at it with a fresh mind.

OK, this aliases much more aggressively resulting in less readable but hopefully more robust queries.  Merging.


Self-Hosted Agent on Ubuntu 18.04 Docker Container Issues

Hello,
I've followed this documentation twice and receive the same error message each time. The Image is created just fine but when I attempt to build the container I receive the error "qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory" each time.
Would like some assistance with this if possible. Documentation link is here https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops

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

ID: b31d4f6c-d16d-2ba1-1294-6aa94e328046
Version Independent ID: 88aec599-4410-697d-1002-1c41b1c17bb6
Content: Run a self-hosted agent in Docker - Azure Pipelines
Content Source: docs/pipelines/agents/docker.md
Product: devops
Technology: devops-cicd-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

@Plus3IT-Azure Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Please consider these resources:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@TimShererWithAquent I have an issue with the documentation as i'm copy and pasting the Dockerfile and Start.sh verbatim and it's erroring out; not doing anything else other than that so i'm assuming the documentation is incorrect. If this document has been successful for others then that would make some sense.

@Plus3IT-Azure Thank you for clarifying.

This can be closed; it was user error. I overlooked that part where the containers must be hosted on either Windows or Linux. I was attempting to host the linux container on my MacOS. Will create a Linux VM and try again.

@Plus3IT-Azure Glad you got it sorted out!


Access Denied when making rpc call.

Describe the bug
Hi, I am getting an 'access denied' error when I use supabase rpc call.
Error:
2023-10-14 16:57:16,384:INFO - HTTP Request: POST https://xxxx.supabase.co/rest/v1/rpc/set_claim "HTTP/1.1 200 OK"
data='error: access denied' count=None
To Reproduce
Steps to reproduce the behavior:
def rpc_procedure(user_id):
    response = supabase.rpc(
        fn="set_claim",
        params={"uid": str(user_id), "claim": "user_role", "value": "individual"}
    ).execute()
    print(response)
    return

Expected behavior
Should run the function without causing any errors.
Desktop (please complete the following information):

OS: MacOs
Version: Latest

Hi,
The issue is that the custom claim requires claims_admin permission hence the denial.
Ways to fix this:

Create a special admin user and give claims_admin permissions and then use that user as a way to interact with these functions.

Create another function that calls this function. (The function should only be called by service_role or any role you want to give access to)


nuxt/components is not work in setupTest

nuxt/components is not work in setupTest:
setupTest({
    config: {
      components: true  // <-- not work
    }
  });

@mhfeizi Could you provide minimal reproduction repo, please? It would be easier to help seeing what you are trying to test.

@mhfeizi Could you provide minimal reproduction repo, please? It would be easier to help seeing what you are trying to test.

https://github.com/mhfeizi/nuxt-components-issue-158

@mhfeizi Thanks!
I had a look and it seems like this is recent regression in Components module (follow nuxt/components#223). All works as expected if @nuxt/components is pinned to version 2.1.8:
"resolutions": {
  "@nuxt/components": "2.1.8"
}


joint_trajectory_controller takes degrees instead of radians.

The joint trajectory controller when using CRI seems to be taking degrees instead of radians as goal positions. This is not in line with REP103 specifying the standard units of measure as radians.
This may cause issues with moveit, considering moveit will expect to control the robot using radians.
We're on the commit "Fix losing LaunchConfigurations with EventHandlers for top level launch files" using CRI with this test; using ros2 humble, and Ubuntu 22.04. I checked the hardware package changelog and this does not seem to be addressed in later commits, assuming this is problem in the hardware interface.

Thank you,
I tested the changes to the hardware interface, and tried to move the robot to a few positions; this seems to work properly for me.

Thank you for testing! Before merging I'll quickly check how CRI handles joint goals outside of 0-360 degrees.


#1261 repo mock

Codecov Report

Merging #30 (24b9e91) into dev (3fd67de) will increase coverage by 2.42%.
The diff coverage is 97.36%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##              dev      #30      +/-   ##
==========================================
+ Coverage   59.90%   62.33%   +2.42%
==========================================
  Files          10       11       +1
  Lines         641      677      +36
  Branches      203      207       +4
==========================================
+ Hits          384      422      +38
+ Misses        228      226       -2
  Partials       29       29

Impacted Files
Coverage Δ

<EMAIL_ADDRESS>63.80% <50.00%> (-0.13%)
:arrow_down:

<EMAIL_ADDRESS>67.71% <100.00%> (ø)

...hared/infra/repositories/action_repository_mock.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create a simpler bio-chebi using the Rhea pH7_3 mapping

ftp://ftp.expasy.org/databases/rhea/tsv/chebi_pH7_3_mapping.tsv
Options:

We pick the pH7.3 mapping as the canonical entry, always use that, remove others from import file
Create new grouping classes (eg GOCHE), defined either by union or by reflexive congjugate-base/tautomer OPs

[ ] update all CHEBI IDs used in GO to reference the pH7_3 term.
[ ] create additional inferred subclass relations between pH7_3 terms using conflation script
[ ] create new CHEBI import; or create GO-specific hierarchy composed of GOCHE IDs

QC: produce reasoner diff on GO hierarchy after the above changes—did anything change?

As of 2020-04-09 GO references 2084 CHEBI terms. But 901 of them are not mapped in the Rhea pH7_3 file. Is this something we should ask them to update? Some random examples:
http://purl.obolibrary.org/obo/CHEBI_10003
http://purl.obolibrary.org/obo/CHEBI_10119
http://purl.obolibrary.org/obo/CHEBI_10415
http://purl.obolibrary.org/obo/CHEBI_12777
http://purl.obolibrary.org/obo/CHEBI_12936
http://purl.obolibrary.org/obo/CHEBI_131429

@alanbridge @amorgat if a CHEBI term is not in Rhea's chebi_pH7_3_mapping.tsv, is that because it is not used by Rhea? Do you aim to eventually include all CHEBI terms in that file? Thanks!

@balhoff, chebi_pH7_3_mapping.tsv contains more data than those used in Rhea (Rel 111: 73384 pairs), it was computed on the whole chebi data set (CHECKED + SUBMITTED). But the mapping can be computed iff the ChEBI entry has  a 2D structure and an InChI or at least a SMILES ; and if the corresponding majors species @ pH 7.3 already exists in ChEBI.
http://purl.obolibrary.org/obo/CHEBI_10003 : no SMILES, no InChI, mixture
http://purl.obolibrary.org/obo/CHEBI_10119 (ziprasidone): SMILES & InChI, but the major species @ pH 7.3 doesn't exist in ChEBI (charged piperarazine)
http://purl.obolibrary.org/obo/CHEBI_10415 (beta-endorphin, 31 aa): SMILES & InChI but the major species @ pH 7.3 doesn't exist in ChEBI
http://purl.obolibrary.org/obo/CHEBI_12777 (vitamin A): no structure
http://purl.obolibrary.org/obo/CHEBI_12936 (D-galactose): no structure
aldehydo-D-galactose (CHEBI:17118) is a D-galactose (CHEBI:12936)
D-galactofuranose (CHEBI:143624) is a D-galactose (CHEBI:12936)
D-galactopyranose (CHEBI:4139) is a D-galactose (CHEBI:12936)
http://purl.obolibrary.org/obo/CHEBI_131429 (carcinine): SMILES & InChI but the major species @ pH 7.3 doesn't exist in ChEBI (charged amino term)

@amorgat thank you, that's very helpful.

I looked for CHEBI:131429 and found it was used in a GO:BP
GO:905130 | carcinine import across plasma membrane
https://github.com/geneontology/go-ontology/blob/master/src/design_patterns/import_across_plasma_membrane.tsv
@balhoff, can you tell us how these ChEBIs are used in GO? How many have SMILES and/or InChI?
ChEBI team has quite limited resource for the moment, we should investigate before requesting a bulk of new entries ;-)

They are used in logical definitions in the editors' version (and drive classification). Unfortunately these axioms are filtered from the GO versions loaded into the online ontology browsers. For example,
'carcinine import across plasma membrane' EquivalentTo transport and ('has target start location' some 'extracellular region') and ('has target end location' some cytosol) and (imports some carcinine) and ('results in transport across' some 'plasma membrane')

I've been looking at these with @ukemi, and in some cases GO may just choose a better term that is in the mapping file. In any case he's got a much clearer picture of what we might need than I do, hopefully he can comment.

Is this because we are not using the correct ChEBI ?

@ukemi would it be reasonable to ask GO curators not only to identify the relevant chemicals when making a new term request but also the physiologically relevant form of the chemical (or an explicit statement that the data aren't available to make that identification?
And perhaps if the problem is that only an agnostic parent entry is available from ChEBI now, that could be used as a placeholder?
If this is excessive micro-management, feel free to ignore.

At some point, we would like it to be the only thing available, but I don't think the request is unreasonable.

@deustp01 Will you give guidelines as to how to do that ?

@pgaudet This is really a social engineering guideline, asking curators to sort out the chemistry related to new molecular function term requests more completely. (Not sure how helpful that is)

bio-chebi is now based on the ph 7.3 mappings.


setStyle on a pre-rendered Vector feature with ol.layer.VectorTile

I'm puzzled as to why the following isn't rendering the new style and unable to find a function to redraw. Is there another way this should be done?
map.on('click', function (e) {
  var pixel = map.getEventPixel(e.originalEvent);
  map.forEachFeatureAtPixel(pixel, function (feature) {
    feature.setStyle(new ol.style.Style({
      stroke: new ol.style.Stroke({color: 'rgba(255,255,255,0.5)'}),
      fill: new ol.style.Fill({color: 'rgba(255,255,255,0.5)'})
    }));
  });
});

I created a fiddle with your code above, and it works fine. See https://jsfiddle.net/898qab9o/.

Is there a reasons why this may not work using a VectorTile layer then? I'm using the following to build up the layer and if I put a console.log in the forEachFeatureAtPixel i'm getting the correct features but unable to change the style.
var vectorLayer = new ol.layer.VectorTile({
  projection: 'EPSG:26717',
  source: new ol.source.VectorTile({
    projection: 'EPSG:26717',
    format: new ol.format.GeoJSON(),
    url: 'http://localhost:9001/mapper/comp/000/0/9999/{z}/{x}/{y}.geojson?epsg=26717&cache=false',
    tileGrid: ol.tilegrid.createXYZ({
      extent: extent,
      maxZoom: 19,
      minZoom: 15
    }),
    tilePixelRatio: 2
  }),
  style: new ol.style.Style({
    fill: new ol.style.Fill({
      color: 'rgba(255, 255, 255, 0.6)'
    }),
    stroke: new ol.style.Stroke({
      color: '#319FD3',
      width: 1
    }),
    text: new ol.style.Text({
      font: '12px Calibri,sans-serif',
      fill: new ol.style.Fill({
        color: '#000'
      }),
      stroke: new ol.style.Stroke({
        color: '#fff',
        width: 3
      })
    })
  })
});
map.addLayer(vectorLayer);

map.on('click', function (e) {
  var pixel = map.getEventPixel(e.originalEvent);
  map.forEachFeatureAtPixel(pixel, function (feature) {
    feature.setStyle(new ol.style.Style({
      stroke: new ol.style.Stroke({color: 'rgba(255,255,255,1)'}),
      fill: new ol.style.Fill({color: 'rgba(255,255,255,1)'})
    }));
  });
});

This is indeed a bug then.
In general, it is better to use layer styles instead of feature styles. What I do for highlighting is that I set an attribute on features I want to highlight, and handle the highlighting in the layer style function.

Ah. I'm using OpenLayers 3.18.2 from npm.
I'm wondering if there's a hook missing to redraw the vectors from the ol.[layer/source].VectorTile as setting attributes and doing it using the layer style function isn't having an affect either, at least I think I've implemented it as you suggested.

const featureStyle = new ol.style.Style({
  fill: new ol.style.Fill({color: 'rgba(255,0,0,1)'}),
  stroke: new ol.style.Stroke({color: 'rgba(0,0,0,0)', width: 0, lineJoin: 'square'}),
  zIndex: 1
});

const featureHoverStyle = new ol.style.Style({
  fill: new ol.style.Fill({color: 'rgba(255,255,255,0.2)'}),
  stroke: new ol.style.Stroke({color: 'rgba(255,255,255,0.2)', lineJoin: 'square'}),
  zIndex: 1
});

const featureSelectedStyle = new ol.style.Style({
  fill: new ol.style.Fill({color: 'rgba(255,255,255,0.4)'}),
  stroke: new ol.style.Stroke({color: 'rgba(255,255,255,0.4)', lineJoin: 'square'}),
  zIndex: 1
});

function featureStyler(feature) {
  if (feature.get('state') === 'selected') {
    return featureSelectedStyle;
  } else if (feature.get('state') === 'hover') {
    return featureHoverStyle;
  }
  return featureStyle;
}

var vectorLayer = new ol.layer.VectorTile({
  projection: 'EPSG:26717',
  source: new ol.source.VectorTile({
    projection: 'EPSG:26717',
    format: new ol.format.GeoJSON(),
    url: 'http://localhost:9001/mapper/comp/000/0/9999/{z}/{x}/{y}.geojson?epsg=26717&nocache=true',
    tileGrid: ol.tilegrid.createXYZ({
      extent: extent,
      maxZoom: 19,
      minZoom: 15
    })
  }),
  style: featureStyler
});
map.addLayer(vectorLayer);

map.on('pointermove', function (e) {
  var pixel = map.getEventPixel(e.originalEvent);
  map.forEachFeatureAtPixel(pixel, function (feature) {
    console.log(feature);
    feature.set('state', 'hover');
  });
});

map.on('click', function (e) {
  var pixel = map.getEventPixel(e.originalEvent);
  map.forEachFeatureAtPixel(pixel, function (feature) {
    feature.set('state', 'selected');
  });
});

That would explain the issue. Can you try with a different forEachFeatureAtPixel function to verify?
  map.forEachFeatureAtPixel(pixel, function (feature) {
    feature.set('state', 'selected');
    vectorLayer.setStyle(featureStyler);
  });

That is setting the styles! However it's applied to what I assume is the shape clipped to the tile rather than applying to the whole shape by id.

That's expected. When your features have an id set, you can mark your highlight features differently, i.e. by using an object literal with highlighted feature ids:
// in forEachFeatureAtPixel:
highlightedFids(feature.getId()) = true;

// in the style function
if (highlightedFids[feature.getId()]) {
  // use highlight style
} else {
  // use standard style
}

@ahocevar do you have any tips on how to render point icons using VectorTiles? They're also getting clipped by the tile's boundary :'(

@bencevans Fix your vector tiles - they need a buffer to include geometries from neighboring tiles.

I also tried to set the 'state' but it didn't work since my features are of type ol.render.Feature (read-only). My setup is nearly the same (ol.layer.VectorTile with ol.source.VectorTile), however I'm using ol.format.MVT and Ol v. 4.1.0. Can you tell me, why I'm just receiving the non-editable features?

I use ol.format.GeoJSON and OpenLayers 4.1.1, and want to change the style by click.
the demo of geojson-vt. however, the style of selected feature isn't change.


Keep track of attempted blocks when allocating a new one

Description

Potential fix for https://github.com/projectcalico/libcalico-go/issues/1336
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

I've had this fix running the flaky FV test from https://github.com/projectcalico/libcalico-go/issues/1336 for a while now with no failures. The code without this fix seemed to flake at least 1 in 15 times, sometimes quite a bit more.


Comment Block Indentation Issue

Got an issue with comment block indentation as outlined below:
Original Code:
    function activate($postActivationEvent=true) {
	/**
	 * Our cache is probably out of date. Flush it.
	 * @todo Fix ItemDisabledMap which is out of date as well
	 */
	$ret = AppCoreApi::removeAllMapEntries('ItemCacheMap');
	if ($ret) {
	    return array($ret, null);
	}

	list ($ret, $redirect) = parent::activate($postActivationEvent);
	if ($ret) {
	    return array($ret, null);
	}

	return array(null, $redirect);
    }

Resulting Code:
    public function activate($postActivationEvent=true)
    {
        /**
     * Our cache is probably out of date. Flush it.
     * @todo Fix ItemDisabledMap which is out of date as well
     */
    $ret = AppCoreApi::removeAllMapEntries('ItemCacheMap');
        if ($ret) {
            return array($ret, null);
        }

        list($ret, $redirect) = parent::activate($postActivationEvent);
        if ($ret) {
            return array($ret, null);
        }

        return array(null, $redirect);
    }

Expected Code:
    public function activate($postActivationEvent=true)
    {
        /**
        * Our cache is probably out of date. Flush it.
        * @todo Fix ItemDisabledMap which is out of date as well
        */
        $ret = AppCoreApi::removeAllMapEntries('ItemCacheMap');
        if ($ret) {
            return array($ret, null);
        }

        list($ret, $redirect) = parent::activate($postActivationEvent);
        if ($ret) {
            return array($ret, null);
        }

        return array(null, $redirect);
    }

Fixer command and configuration file
php-cs-fixer fix /path/to file
$finder = PhpCsFixer\Finder::create()
    ->name('bootstrap.inc')
    ->name('embed.php')
    ->name('index.php')
    ->name('init.inc')
    ->name('main.php')
    ->in('install')
    ->in('lib/support')
    ->in('lib/smarty_plugins')
    ->in('modules')
    ->in('themes')
    ->in('upgrade')
;

return PhpCsFixer\Config::create()
    ->setRules(array(
        '@PSR2' => true,
        'concat_space' => array('spacing' => 'one'),
        'declare_equal_normalize' => array('space' => 'single'),
        'hash_to_slash_comment' => true,
        'include' => true,
        'linebreak_after_opening_tag' => true,
        'lowercase_cast' => true,
        'method_separation' => true,
        'new_with_braces' => true,
        'native_function_casing' => true,
        'no_blank_lines_after_class_opening' => true,
        'no_blank_lines_after_phpdoc' => true,
        'no_empty_comment' => true,
        'no_empty_phpdoc' => true,
        'no_empty_statement' => true,
        'no_extra_consecutive_blank_lines' => true,
        'no_mixed_echo_print' => array('use' => 'echo'),
        'no_short_echo_tag' => true,
        'protected_to_private' => true,
        'self_accessor' => true,
        'standardize_not_equals' => true,

    ))
    ->setFinder($finder)
;

PHP Version
PHP 7.1.1 (cli)
PHP CS Fixer Version:
PHP CS Fixer version 2.2.1
Is this a bug or something with my config?

Hi and thanks for reporting!
Sadly this is indeed a bug.
Similar issues about this have been reported to us before, for example: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2539 and
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2176
I'll check if you case is different and not a duplicate of any of these.

Thanks. New to this and struggling with the config file setup (documentation assumes a lot of prior knowledge by user) so wasn't sure.
Anyway, looking at the examples you gave, it appears may indeed be a duplication as the issue seems to be summed as "Issue with Indentation near Comments".
Difficult to find a clear pattern and only thing I have noticed that may help are that it seems to occur mostly when the comments come after opening braces.
Also, I see that @owebia seems to be working on a fix in his fork. Looking forward to a push and fix from him!

Thanks for checking!
Hope to see this resolved as well :)


Cannot find module 'unicode/category/So' yo generator

facing below issue while running yeoman generator on windows.
module.js:341
    throw err;
    ^

Error: Cannot find module 'unicode/category/So'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at symbols (E:\projects\keystoneapp\node_modules\slug\slug.js:6:16)
    at E:\projects\keystoneapp\node_modules\slug\slug.js:199:5
    at Object.<anonymous> (E:\projects\keystoneapp\node_modules\slug\slug.js:212
:2)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)

resolved:
solution: need to remove unicode module and reinstalled it.

:+1: glad to hear you resolved the issue!

I keep hearing a lot about this unicode dependency acting up. Any idea why?

shrugs maybe @webteckie knows?

Installing in windows aometimes is a real pain :-)  Not sure about this one...usually removing node_modules and reinstalling works...

I've been meaning to write an article about this and I finally did:
<EMAIL_ADDRESS>

If you are facing this issue and you are behind windows please follow below steps, i hope worked for you :

Remove the unicode module using npm, npm remove unicode
Downloaded the file from
http://unicode.org/Public/UNIDATA/UnicodeData.txt and placed it into
C:\usr\share\unicode-data\ if your project is in C drive, or if you are in
linux /usr/share/unicode or /usr/share/unicode-data
Installed unicode again


Pass-through create webhook results to browser alert message.

Currently the demo doesn't pass through the create webhook results so one has to rely on Node.js log. Update to pass-through results to browser alert.

Resolved in commit 57b98694d5a6e9598435355e6a25d18399f63fbc


[Git] Add a git tool to properly display, filter, and modify git repositories

There is a first version of the git tool:


Add stack, the Haskell tool, v<IP_ADDRESS>

Add cask for stack. stack is a build tool for Haskell to work with Stackage.

Thanks.


Crop And Lock

Microsoft PowerToys version
0.74.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Crop and Lock
Steps to reproduce
After selecting the area and closing it. The program shows a black instead of returning to normal
✔ Expected Behavior
returning to normal after closing the cropped area
❌ Actual Behavior
the remaining area after the crop converted to black
Other Software
No response

Not able to repro this, going to close. Let us know if you see this again!


Fix tile load ordering

Please check if this could have unintended side-effects. Now tile load in the appropriate  order everywhere - not just at the equator :)

Just checked 'center' is only used here so there are no more side-effects!


Unable to enter min/max value range for row gradiant for read-only result column

System information:

Windows 10 Pro 1909   (also tested on Windows 10 Enterprise 1903)
DBeaver CE <IP_ADDRESS>005031953
Additional extensions

Connection specification:
N/A --- tested on local SQLite, MySQL 5.6 via SSH tunnel, and MySQL 8.0
Describe the problem you're observing:
I'm unable to enter a min/max value range to apply a color gradient to cells in the results grid if the column is marked as read-only.
Steps to reproduce, if exist:
I'm trying to apply range/gradient colors to cells in the results grid with integer values.  If the column is directly from a table, I can specify the min/max values for the range.  But if the column is the result of a calculation, it is read-only with a padlock icon on the column header, and the min/max values boxes in the customize colors box do not let me type in them.  The background/foreground color for the min value (that remains blank) then only applies to zero values.
Include any warning/errors/backtraces from the logs
none
Thanks,
David

thanks for the bug report

Fixed

verified


Kourend Library #10418

Change to Kourend Library plugin to highlight books not currently in inventory in red, within the panel.

Realized this is a duplicate PR, closing.


No config port seg fault

With "USE_CONFIG_PORT" set to disabled and only plugging in the data port, the program with provide a segmentation fault.
Workaround: Do not use "AUTO" for the data port. Manually set the port.

[ ] Add ability to disable config port through parameters

Implemented with v1.2.2


Conda installation

You should be able to add the python dependencies to the maast bioconda recipe. That way you only need to run: conda install -c bioconda maast. Is that doable?

@snayfach I have added the latest version of Maast to Bioconda. Please check if it is working as expected.

@druvus THANKS! Just a quick question: how do I update Maast in the Bioconda channel when needed, would it be similar to the way I update it in my personal channel?


Optimize clifford/non-clifford matching optimization by calculating qubit states

Currently, the optimization that removes non-Clifford operations and merges them does so by individually moving them through the circuit. If there are C cliffords and N non-cliffords, it takes N*C time.
What we should do instead is assign the k'th qubit an initial Pauli string of X_k for its X observable and Z_k for its Z observable. Then we iterate through the circuit, ignoring non-Cifford operations but modifying those Pauli strings with the Clifford operations, and keeping track of the string assigned to each qubit after each operation.
For example, start with a circuit:
-----@-----@-----
     |     |
--T--X--T--X--T--

Assign initial strings:
For example, start with a circuit:
(x0,z0)-----@-----@-----
            |     |
(x1,z1)--T--X--T--X--T--

Iterate through ignoring non-cliffords while tracking the strings:
(x0,z0)----(x0,z0)-@-----@-----
                   |     |
(x1,z1)--T-(x1,z1)-X--T--X--T--

But update based on Cliffords:
(x0,z0)----(x0,z0)-@-(x0,z0*x1)----@-----
                   |               |
(x1,z1)--T-(x1,z1)-X-(x1*z0,z1)-T--X--T--

Do the whole thing:
(x0,z0)----(x0,z0)-@-(x0,z0*x1)----@-(x0,z0)----
                   |                         |
(x1,z1)--T-(x1,z1)-X-(x1*z0,z1)-T-(x1*z0,z1)-X-(x1,z1)-T--

The non-clifford operations are now preceded by the Pauli string that they should be assigned. This took time O(C+N) instead of O(N*C). We also don't need to worry about finding where the Non-cliffords returns to, since they are still in place. All the commutes-or-not computations stay the same, and generally this should just make things faster.

I'd like to try this one, but @Strilanc can you flesh out the final step a bit more? Plugging your original circuit into the existing optimizer we get
0: ───Y^-0.5───<EMAIL_ADDRESS>               │               │
1: ────────────<EMAIL_ADDRESS>
I'm not quite seeing how to get from your final step above to this final representation.
(Also, I see that the first step of the optimizer calls converted_gate_set, which does all the work--the final circuit comes directly out of that, and the remaining optimizations don't change anything else. So here are you talking about a strategy that skips the call to converted_gate_set?)

I'm trying but not entirely sure this is possible. IIUC, you can't arbitrarily jump non Cliffords. They have to be PSPhasors with a matching PS on the qubit of the gate you're moving. So if you're moving them in bulk I don't understand how those assumptions work out.
I think it's still plausible that there's an O(C+N) algorithm, but I'm not seeing how the proposal quite gets there. @Strilanc am I missing something?

Xref #2961


Remove IOCUtil, replace uses with ManageInstance.

This PR is the end result of this discussion.

+1

@mbarkley typo in the commit message if you want to fix that.


Monitor project downloads and deployment launches

Thanks to GoatCounter we are able to gather some analytics, all of it being publicly available at https://holoviz.goatcounter.com. This is useful to see which examples are the most visited. However, we don't have much insight about the projects downloaded as ZIP and the deployments launched (the deployment platform doesn't offer that, Lumen Monitor was giving us info about Panel deployments but it is not enabled on the new instance). One option would be to add analytics specifically to the download and deployment links, which seems possible via GoatCounter Events (https://www.goatcounter.com/help/events).

I just remembered we serve the Panel apps with --rest-session-info --session-history -1 meaning that they expose /rest/session_info with the total of sessions served and the history of sessions served with some details. This was originally intended to be used by Lumen Monitor but could be used by some other system.


Allow ontology formula's to use F. functions

[x] joeferner
[x] mwizeman joeybrk372 jharwig sfeng88

Points of Regression:
Test formulas with F. functions on the front end and back end (unit test provided)
CHANGELOG
Added: Allow ontology formula's to use F. functions

LGTM


Missing purpose string for NSUserTrackingUsageDescription

Hello Mux Team!
We have recently updated several dependencies in the project and since that release we started to receive the following emails:

ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access.

We don't use App Tracking Transparency in the app, so we are trying to figure our which dependency causes this. For the mux-stats-sdk-theoplayer-ios we've made an upgrade from 0.9.0 to 0.11.0, and I can see that in 0.10.0 there was a change related to privacy manifest file. Could you provide more info on what changes were made? Could it cause emails that we receive?
Thanks!

I think I found why we get these emails. I'm gonna verify and close the ticket if my assumption is correct 🤞

Hey @wow-such-amazing!
You are right that in 0.10.0 we've updated MuxCore (a mux-stats-sdk-theoplayer-ios dependency) to include a privacy manifest file. This was to meet Apple’s new requirements for third-party SDKs. My best guess for now is that the message you received is related to something else.
Issues with third-party SDK privacy manifests use the ITMS-91065 error code, the code mentioned in your email relates to a different issue. I'll try to narrow down what that might be.
Does the email also mention any specific keys that are missing from your app's Info.plist file?

Thanks for the update! Let us know if you're still unable to get to the bottom of this and we'll do our best to help.

We've updated couple apps and the warning seems to be gone. It was confusing because we've fixed it in the past, but it came back. Turned out it was due to change in our build flow. The issue was coming from the fact that we've had NSUserTrackingUsageDescription key/value pair in our InfoPlist.strings file. We've adjusted the build flow to ensure it's removed from the apps where it's not needed 👌


⚠ Bofrost.be has degraded performance

In ee1fe84, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2680 ms

Resolved: Bofrost.be performance has improved in 6dbfc20.


Can we have clear stat for reset everything on stat page?

Checklist

[x] I have read the FAQ
[x] I have checked if this issue already exists (both open and closed issues)
[x] I am using the most recent version of pogom from the master branch
[ ] If this is an installation issue, I am posting my OS, OS version, python version, pip version
[ ] I'm posting the complete log
[x] I'm using a descriptive title for this issue

My Issue
Can we have clear stat for reset everything on stat page?
or we already have it please suggest
...

I imagine you could just move the database somewhere else.


[$250] [3rd Party Feeds] Card Feed Settings

Part of the Third Party Workspace Feeds project
Main issue: https://github.com/Expensify/Expensify/issues/394008
Doc section: Doc Link
Project:
Feature Description

[ ] Card Feed Settings (@narefyev91 , @waterim )
[ ] Feed Selector (@koko57)

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~014f1e4d902cd62bfc
Upwork Job ID:<PHONE_NUMBER>119215844
Last Price Increase: 2024-08-14
Automatic offers:

rayane-djouah | Reviewer | 103602407

Issue OwnerCurrent Issue Owner: @rayane-djouah

@narefyev91 @waterim @koko57 could you please comment so I can assign you?

Hey! I'm Nicolay from Callstack - will work on this issue. Thansk!

@narefyev91 is there an order of operations for which issues you're focusing on first?

I will work on Feed Selector

Assigned!

Hi! I'm Viktoryia from Callstack, and I'll take over Agata's Feed Selector part

Sounds good!

Updates: I've implemented a new route and component for the FeedSelector page. I still need to do some updates for the feed options display. The updates can be tracked in this branch.

Hey @shawnborton, could you please provide me with correctly exported images for these three cards?

Try these: CardLogos.zip
I set them all up at 40x40 so they can be used like other avatars throughout the product. cc @dubielzyk-expensify in case you have any changes there

Updates:

improved the feeds option display
implemented feed selection logic
prepared the Draft PR. There are some overlaps with another PR, so I'm waiting for it to be merged before opening mine.

I set them all up at 40x40 so they can be used like other avatars throughout the product. cc @dubielzyk-expensify in case you have any changes there

Awesome. Can you chuck them in our design system as well? Would be handy to have easily accessible 😇

Added to the system:

And @VickyStash I made a few slight tweaks to use whole numbers instead of some weird sizes we got from scaling, can you update them again? Here they are: CardArtwork.zip

Also when @dannymcclain gets back - curious for both of your opinions - do we want those separated into different components, or use variants?

The PR with Feed Selector page implementation has been opened for review.

Also when @dannymcclain gets back - curious for both of your opinions - do we want those separated into different components, or use variants?

I think one component with multiple variants is the right move here. Keen on @dannymcclain 's thoughts too

PR in review.

Done!

Both PRs merged here

Thanks!

I suppose I am entitled to payment after the end of the regressive period

Yep! Reopening for now. Last PR deployed to prod on September 10th, so payment is due then.

Thanks !

Course!

Okay, only payment here is $250 to @ZhenjaHorbach for C+ review!

@ZhenjaHorbach offer sent for $250!

@rayane-djouah you have an auto-upwork offer for this job, but I don't see that you reviewed any PRs here, so closing it without payment. LMK if that is not correct.

@ZhenjaHorbach offer sent for $250!

Done !

@ZhenjaHorbach $250 sent and contract ended!

Upwork job closed.

All set, thanks everyone!


Infer custom spec types from the file location

Custom types are already supported by RSpec, but they currently need to be defined in the metadata for each describe block. Once a type has enough examples, this can be tedious and repetitive.
It would be nice to avoid this by inferring the spec type from the file location like the standard types do.
The current setting still applies
config.infer_spec_type_from_file_location!

and this change would add
config.infer_spec_type_from_file_location!(api_request: %w(spec api_requests))

as well. Now all requests in the spec/api_requests folder will be of type :api_request.

config.infer_spec_type_from_file_location! is for legacy spec suites from RSpec 2.x, it is considered soft deprecated at this point and likely to be removed in RSpec 4, to achieve what you'd like to do try this:
define_derived_metadata(:file_path => '%r{spec/api_requests}) { |metadata| metadata[:type] ||= :api_request }

Hi @JonRowe - this post is dated 2 years back. Since then, it appears RSpec has released 3.5, 3.6 and 3.7 with support for automatically inferring the metadata based on the config setting above and the location. Do you know when RSpec will remove support for this, if at all?
In my experience, I've found that the Rails community is often split on this behavior. Some prefer it due to its conformance to the basic principle of convention over configuration, while others appear confused by it.
Any updates/insight you can share on this would be of great help!

@michaelckcheung it will be removed in RSpec 4. All our generators create the new explicit tagging format.


python312Packages.setuptools-dso: rename from setuptools_dso

Description of changes
part of #245383
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 297047 run on x86_64-linux 1

6 packages failed to build:

python312Packages.skytemple-dtef
python312Packages.skytemple-dtef.dist
python312Packages.skytemple-files
python312Packages.skytemple-files.dist
python312Packages.skytemple-ssb-debugger
python312Packages.skytemple-ssb-debugger.dist

16 packages built:

python311Packages.setuptools-dso
python311Packages.setuptools-dso.dist
python311Packages.skytemple-dtef
python311Packages.skytemple-dtef.dist
python311Packages.skytemple-files
python311Packages.skytemple-files.dist
python311Packages.skytemple-ssb-debugger
python311Packages.skytemple-ssb-debugger.dist
python311Packages.tilequant
python311Packages.tilequant.dist
python312Packages.setuptools-dso
python312Packages.setuptools-dso.dist
python312Packages.tilequant
python312Packages.tilequant.dist
skytemple
skytemple.dist

@natsukium please explain your comment with nose2. I am confused.

We can replace nose2 with pytestCheckHook, I guess.

pytest is backwards compatible with unittest
You can use pytestCheckHook to run both

@natsukium like this?


feat: Output Sboms without Modification

Description
Adds infrastructure and special format flag to output sboms as original source content if appropriate. More information can be found in issue linked below.
** Dependent on a release to protobom storage **
Fixes #187
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] 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
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Dependent on https://github.com/protobom/storage/pull/42

Dependent on protobom/storage#42

Associated storage PR has been merged, updated this branch to point at the master branch for now until a new release is cut so review can be completed

I think that makes sense, It'll output the source bytes unless changes are made. Also aligns with 'format agnostic'


[android] Version 0.23.0 requires The minCompileSdk (32) specified

Describe the bug
After downloading the library, the application no longer works, and the following error returns
Execution failed for task ':app:checkDebugAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (32) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-31).
Dependency: androidx.appcompat:appcompat-resources:1.5.1.

Expected behavior
The application was supposed to work before downloading the stripe, it was working
Desktop (please complete the following information):

OS: Android
Browser react native 65
Version 0.23.0

Smartphone (please complete the following information):

Device: android
OS: 31
Browser react native
Version 0.23.0

react-native info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 1.75 GB / 15.90 GB
Binaries:
Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.5.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-211.7628.21.2111.8193401
Visual Studio: Not Found
Languages:
Java: 11.0.14 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.2 => 0.65.2
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

Hi! This is listed in the android prereqs- https://github.com/stripe/stripe-react-native#requirements


Generate scaffold-service faild fail when there are no dependent libraries

Describe the bug
When executing roche g scaffold-service NAME command, an error is displayed under the following conditions

missing github.com/izumin5210/grapi/cmd/grapi-gen-scaffold-service
missing github.com/golang/protobuf
missing github.com/grpc-ecosystem/grpc-gateway
missing<EMAIL_ADDRESS>
To Reproduce
Steps to reproduce the behavior:
execute roche g scaffold-service NAME
Expected behavior
After initialization, the dependent libraries are listed in go.mod and are ready for go mod download.

You need to install protobuf in your environment.
Please Look at here.
https://github.com/protocolbuffers/protobuf
As for the other module, roche init enable to that the expected behavior you mentioned.


Typedef

Created typedef and added some default values to numbers in Game model.  Since a typedef is already in develop, it will have merging conflict. You can overwrite the typedef in develop with the contents of this typedef after reviewing.

Thank you for catching that! Now corrected.

Okay turns out I can't so I'll have to get to my computer after work!


Doubt the pratical perfermance of LLM Unlearning

Hi, thanks for your work. I also agree with the value of LLM unlearning in privacy-preserving since I also work on the unlearning of Federated Learning scenario. However, I just tested a simple case and used the original facebook/opt-1.3b model as follows:

The output is already whitespace, which makes me doubt the true effect of the proposed method.
Hope to hear further explanation from you. Thanks!

Oh，I also don't think this code is effective. maybe you can try llama2-7b?

I also observed this and I think something is wrong with the prompt template. I have tried to change the prompt to just the question which works better. Before unlearning, the LLM will give harmful responses (not always) but after unlearning, it will avoid answering (eg: I do not know how to answer that, etc). But unlearned LLM certainly did not give blank responses as presented in the paper appendix.


csi architecture intro

rewrite introduction.md to include basic architecture intro, move tutorial content to getting_started.md

closes https://github.com/juicedata/docs/issues/272

will work on translation after approvals from @xiaogaozi @zwwhdls

Codecov Report
Base: 46.85% // Head: 46.85% // No change to project coverage :thumbsup:

Coverage data is based on head (ce7fec1) compared to base (299605b).
 Consider uploading reports for the commit 3a001a2 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #450   +/-   ##
=======================================
  Coverage   46.85%   46.85%
=======================================
  Files          27       27
  Lines        2834     2834
=======================================
  Hits         1328     1328
  Misses       1407     1407
  Partials       99       99

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove old ES_URLS setting, just use ES_CONNECTIONS

Remove the need for apps to specify redundant settings

@MichaelButkovic @benghaziboy
Good riddance to ES_URLS

:+1:

Backing out so @benghaziboy can release new django-bulbs hotfix


Why does auto-fill/complete fill in nullable fields?

Given the following schema:
  type Thing {
    name: String!
    size: Int
    dummy1: Boolean!
    dummy2: Boolean
  }

  type Query {
    things: [Thing]
  }

I type the following in GraphiQL:
{
  things
}

And when I run the query, things expands:
{
  things {
    size
    dummy2
  }
}

This strikes me as a bit odd. Why would the nullable fields populate, instead of the non-nullable ones?

Hi @ffxsam - as you've observed, GraphiQL automatically fills in leaf selections because
the GraphQL specification validates against non-leaf-field selections. GraphQL non-nulls are in fact a wrapper around GraphQL types, so the name and dummy1 fields are really:
new GraphQLNonNull(new GraphQLScalarType('string'));

More info can be looked up here.

the function getDefaultFieldNames uses isLeafType to guess fields to include, but that function does not see through into NonNull wrapped things (scalars).
This can be fixed easy, if in the function getDefaultFieldNames, the isLeafType is called on getNullableType( fields[fieldName].type ) instead of directly on fields[fieldName].type.
i could make a patch/PullReq but am not too fluent in javascript..

The point of this feature is to create a minimal query structure just enough to be run and produce some sort of the results without failing obvious validation/lint errors, and filling non-null leave nodes is risky since it could possibly return with null value errors.
Closing this - lmk if you have more questions!


3-4 separate button for different types of animals in meet my friends section of Home page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
In Meet our friend section of the Home Page, all types of animals are given at the same place. we can make buttons and add data of different types of animals over there. Like in the Dog button, all available dogs will come, similarly in the Cat button all cats, in the Birds button all birds, and in the Cow button all cows. and we make 1 button -others. In this, all other animals which are less likely to adopt as pets like rabbits, tortoises, etc will come.
This will make page more user friendly

Could you please assign me this as a GSSOC Contributor.


Update docker run command to preserve configurations

Fixes https://github.com/elleFlorio/svn-docker/issues/30

I removed the You can optionally bind a local folder to the container folder that will store your repositories note in README because I don't think repositories volume is optional. Imagine losing all subversion repo commits due to restarting container!

Should also update the Dockerfile to include VOLUME /home/svn /etc/subversion /opt/svnadmin/data. But seems to still work without it. I think adding this to Dockerfile means that even if user runs docker run -d --name svn-server -p 80:80 -p 3690:3690 elleflorio/svn-server without any of the -v flags, docker will automatically create temporary volumes for them.


pynignt templates

Codecov Report

Merging #602 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #602   +/-   ##
=======================================
  Coverage   74.38%   74.38%
=======================================
  Files          72       72
  Lines        2666     2666
=======================================
  Hits         1983     1983
  Misses        683      683

Continue to review full report at Codecov.

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


Apply line ending changes

Applies the changes introduced by .gitattributes modifications in #85.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/DestinationSolPRs/20/
Hooray Jenkins reported success with all tests good!


Aqua Security Action

This change updates adds an Aqua Security action that selects the latest version of the Aqua Security scannercli.

It's 100MB! 😬


Internal affiliations: automatically add discount items for data storage packages to the offer

For internal customers, we do not charge for data storage atm. However, the final offer printout should make that transparent.
One possibility would be to add discount items automatically for customers with an selected internal affiliation. With this, the customer sees the potential costs for data storage but they will not contribute to the overall costs in the offer.

 Internal affiliations: automatically add discount items for data storage packages to the offer #607

Issues that need to be considered when implementing:

When an offer is updated and the customer is changed (his affiliation) the offers product items need to automatically be updated again (like remove unwanted discounts,...)
It should be shown only one discount product (amount = 1) with varying pricing based on the selected DS products.

Possible solutions:

Dynamically create the discount product in the OM (since it is business logic). Drawback: we do not preserve the offers state in the DB, if the discount is changed old offers cannot be recreated.
One could create a new discount product in the OM and set it as inactive, so no PM can select that product manually. In the OM now the product is created as in 1. but its stored respectively in the DB (if no discount of the desired price is there). This would fill the DB but then the offer in the DB has the same properties as the OM in the offer pdf and can be preserved.

The created discount product could use the current structure. It could be a product of type DataStorage with the same product units but only with a negative price. The titel and description should be used in a way to make clear what this product does/is.
@KochTobi, if I missed something please feel free to add what we further discussed.

For now we decided to tackel this issue in a later iteration since it should be carefully decided which of these two options should be implemented or if there even is an additional better solution

once we solved #686 , this should be fairly straight forward

Solved in #793


⚠ SceneTime has degraded performance

In 0cff3f6, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 25159 ms

Resolved: SceneTime performance has improved in b1dc5d6 after 7 minutes.


PR for a 1113: Added Scality RING and Zenko logo

https://github.com/cncf/landscape/pull/1113

Deploy preview for landscape ready!
Built with commit 853ded768a23d865825c56c980bfceecf3922582
https://deploy-preview-1120--landscape.netlify.com

LGTM, @dankohn


fix: Respect setting for CMS_DEFAULT_IN_NAVIGATION

Description
Fixes https://github.com/django-cms/django-cms/issues/7865
Related resources

#7865
#...

Checklist

[x] I have opened this pull request against develop-4
[x] I have added or modified the tests when changing logic
[x] I have followed the conventional commits guidelines to add meaningful information into the changelog
[x] I have read the contribution guidelines  and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.

@fsbraun Is there a reason why you closed this PR?


Cannot handle Date Column

Cannot handle date column
df['Date']=pd.to_datetime(df['Date']).dt.date

Could you please post the code you're using here?
This way I can reproduce the issue locally and fix it.

Could you please post the code you're using here?
This way I can reproduce the issue locally and fix it.

I think I found the error, I'll update a patch soon, meanwhile cast it to Datetime formats as a workaround

I think I found the error, I'll update a patch soon, meanwhile cast it to Datetime formats as a workaround

Thankyou. Can you also please post some tutorials how to color code columns? some of links are broken on various webs.

Thankyou. Can you also please post some tutorials how to color code columns? some of links are broken on various webs.

This isssue is fixed in v0.1.6. I also add imedeltas support.
Later this week I'll upload a more comple example with color code on columns. Meanwhile you can check on ag-grid docs
To use with this component you just call (as line 113 in examples/example.py):
gb.configure_column("group",cellStyle=cellsytle_jscode)
```

This isssue is fixed in v0.1.6. I also add imedeltas support.
Later this week I'll upload a more comple example with color code on columns. Meanwhile you can check on ag-grid docs
To use with this component you just call (as line 113 in examples/example.py):
gb.configure_column("group",cellStyle=cellsytle_jscode)
```


subheading visible in header on scrolling

Description
Poor CSS
In signup page subheading is visible in header area.
It should not be visible .
I want to fix this issue.

@riyaaryan2004 any update on this?

@maniyaom
yes ..actually ..I have already requested a PR on firebase #87
So I am waiting for it to be merged to update Nav Bar issue..

Or in fresh branch?

I have fixed this issue in a clone of main branch...
Unfortunately I am not able to create another fork. so please merge the previous PR so that I can create new fork from main branch and reflect my changes..

@riyaaryan2004 Okay, will do it by tomorrow.


Refa + Bugfix

At first, I noted that I forgot to modify the half-budget-notification, other than that it's less code if you combine the two depending on the module configuration. What do you think? I guess it's a "readability vs code-duplication"-discussion

Okay, as a non-python developer on arch-linux not very used pre-commit-hooks, i first had to install python3.8 + shellcheck... nice thing though, going to try using it more often from now I guess...

Okay, as a non-python developer on arch-linux not very used to pre-commit-hooks, i first had to install python3.8 + shellcheck... nice thing though, going to try using it more often from now I guess...

then hopefully your using checkov as well? - and then my job is done!


Fix broken link

@steved0x : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Merging to fix a broken link issue that was replicated over to the private repo in https://github.com/MicrosoftDocs/azure-devops-docs-pr/pull/2324/files


Add CHANGELOG.md

Eg. This should ease the upstream packaging for OSes.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,

Codecov Report

Merging #141 (178a423) into master (a55144c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   89.66%   89.66%
=======================================
  Files          11       11
  Lines        1171     1171
=======================================
  Hits         1050     1050
  Misses        121      121

Continue to review full report at Codecov.

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


Display log send errors in Feedback dialog

r? @keybase/react-hackers

example:

LGTM. What are they supposed to do with this, though - hit "send" again? send us a screen cap? Likely discussed elsewhere already.

Well, short term this is to diagnose the problem @jzila's running into. But I wonder if we should tell them to e-mail screenshots to someplace, or post a GitHub issue with screenshots, or something...

Ok we need to ensure this flow works no matter what. I don't want a bunch
of ux around what we do if this thing doesn't work
On Mon, Feb 5, 2018 at 7:48 PM John Zila<EMAIL_ADDRESS>wrote:

It's not crashing, it's silently failing and we don't know how to repro.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/pull/10441#issuecomment-363271885, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAfhU6MRPC1HN7rtth88_sWbwnixaGmdks5tR6FHgaJpZM4R6SEo
.


Combine Node and Web into a single NPM package with separate subpackages

Requirements

separate subfolders with tsconfig.json requirements
Common code where possible to reduce duplication errors
Separate output packages similar to how okapi is done: https://github.com/trinsic-id/okapi/tree/main/wasm/packages
Detect separate entry: https://github.com/trinsic-id/okapi/blob/501f02f72c8aae0ea9288ec05dfed1b3dcf22274/wasm/packages/okapi/package.json#L8

Reasoning
This will smooth out the developer experience, as well as reduce the amount of duplicated code between npm serverside and webassembly browser work.

Closing as cant do/wont do because of the issues with separate grpc-js backend implementations. We cannot use the same implementation due to await requirements and node extensions. While it would be nice to have common api wrapper code, it can't be properly webpacked.