Error while creating the cloud function (agent-template-banking)

I uploaded the dialogflow-fulfillment zip file and chose runtime as Node.js 8 but getting this error Deployment failure: Function failed on loading user code. Error message: File index.js or function.js that is expected to define function doesn't exist in the root directory. @swilliams11
Please Help.

Hi @TanishB I will look into this error today.

@TanishB The issue is with the zip file.  This zip file has a folder with index.js and package.json in the folder.  The zip file should only include the index.js and package.json instead (no folder).  I will push the updated zip file in a few minutes.


Plans for adding support for swipe gestures? (not swipe to type)

Hi, i found this old issue on this subject, which seemed to indicate that this feature was in the works, but wasn't sure if that was still the case, since there hasn't been much activity on the issue since then.
I think the initial text of that issue lays out the technical points well - from a user standpoint, what I am looking for is the ability to do things like "swipe up on a letter to get the uppercase version of that letter", or to be able to "swipe left across the keyboard to delete the last character (or the last word)".
Thanks!

Hi @dschil138
What you're describing is actually different from the linked issue, which is that if you press down on a key and move your finger, new keys that you touch should be selected. That requires another gesture handler that applies to the whole keyboard, which is a big undertaking to support.
What you describe is already supported. You can create a custom action handler and override handleDrag(on:from:to:) to analyze and handle the gesture.

Oh, awesome, yeah just got it to work! Definitely misunderstood the previous issue - thanks!

That’s great to hear! 😀


Autogenerated tag index, disqus counters and others

Hello everybody, I just loved so much Jekyll-now that I have to help it out with something quite usefull and easy to use and set-up:
Autogenerated tags
I added a plugin to autogenerate tag pages for differents tags, all you have to do is add
tags:
- some-tag

to the YAML head and the tags will appear in the main page and in the post page so if you click it, it will send you to a page with all the post under that tag. The source code of this plugin is not my own so I added a comment in the rb file pointing to the original source code.
Disqus comment counter
If you add your disqus account the post will show in the main page how many comments the post have. I noticed that disqus take some time to update the counter... but it works :)
Others

404.md had some issues with the size of the img, it made the body wider.
Now the avatar can be set from /image/ folder.
Added jekyll-redirect-from, but not implemented.
Post show excerpt in the main page, but now if you set summary in the YAML header it shows the summary instead.
Update post.html and index.html to work with the changes made.

Hope it helps :D I am also thinking in writing some tutorials in the wiki, hope that is okay because when I downloaded this repo I didn't know how to use it, it ended being quite easy but I had to waste time googling when I could have readed some tutorials here.
Also, I'm from Chile and some of my friends would like to use this too but they don't know any english, it's okay if I create a branch or a new repo in my account with everything translated?

What @txizzle said. GitHub Pages doesn't support custom Ruby plugins, so closing this. Thanks though, Esteban!


Added Korean strings

Added Korean strings, which are corresponds to dev branch.

@EX3exp Could you please check failed test?

@EX3exp Could you please check failed test? If you are not sure how to solve the problem please paste the detailed failed case when running it locally.

There was one wrong format specifier in StringsKorean.kt, I fixed just now and it seems working well.


FUNCTIONS_WORKER_RUNTIME mode

Hello,
I received this warning that says it will turn into an error:
The 'FUNCTIONS_WORKER_RUNTIME' is set to 'dotnet-isolated', which does not match the worker runtime metadata found in the deployed function app artifacts. The deployed artifacts are for 'dotnet'. See https://aka.ms/functions-invalid-worker-runtime for more information. The application will continue to run, but may throw an exception in the future.
I have tried to redeploy again as there is some conflicting update related information (GitHub indicates you can just use the TriggerAutoUpdate function, while the learn.microsoft.com docs state that function is deprecated and you should just 'install the latest from GitHub' in order to update).
Please advise.

Sorry for the confusion @ScottMonolith. Please refer to this comment for our official advised course of action as of May 2024: https://github.com/microsoft/startstopv2-deployments/issues/116#issuecomment-2104845492

Hm, I already did that - I will try again, thanks for the quick response.


Can this be used for SRP authentication with AWS

I was able to get SRP auth working with AWS using the SRP class you wrote.
However I struggled for hours trying to use this package without success.  I was wondering if you could tell me; am I barking up the wrong tree in thinking this library should also work with Cognito SRP?  I think it is more likely I am just doing it wrong.
I will go with your other implementation for now so feel free to close this without remorse if you don't have time to respond 😄

No it can't. It appears AWS has some minor alterations to the SRP calculations which are non-standard.


[coverage] Add an exclusion for plugin modules imported during tests

Closes #308 (maybe. To be tested on linux)

LGTM


[PART-2] Attachment/Detachment Controller and Volume Controller Refactoring

[x] Implement interrupt mechanism for workload attachment tickets
[x]  UI modification to work with new AD mechanism (Longhorn UI -> Longhorn API) (the GitHub ticket and logic is at https://github.com/longhorn/longhorn/issues/6004)
[x] Fix unit test of AD and volume controller (This will be handled separately at https://github.com/longhorn/longhorn/issues/6005)
[x] Consider how to upgrade from the previous Longhorn version which doesn't have VA resource yet
[x] Attachment creation and deletion functions are implemented in some controllers. We can probably make it reused by different controllers
[x] TODO: hadndle cases in which NodeID is empty. Should we detach the volume from all nodes???
[x] func (m *VolumeManager) CreateSnapshotCR is checking condition before creating the snapshot CR, perhaps this should be handle by webhook

longhorn/longhorn#3715

With this PR, the behavior of the upgrade path is described at https://github.com/longhorn/longhorn/issues/3715#issuecomment-1562305097
There is some limitation for auto-attached volumes. What do you think? @innobead @shuo-wu @derekbit

ping @innobead @shuo-wu @derekbit Could you help to review this one? It is urgent for rc1. Thank you very much

The limitation is auto attached volumes are being detached then reattached after the upgrade. It is because the old auto attachment logic doesn't set volume.Spec.NodeID while the new volume controller considers volume.Spec.NodeID as the source of true (AKA it will detach the volume when it see volume.Spec.NodeID is empty). Then later on other controllers create attachment tickets which help to reattach the volumes. I think this limitation is acceptable and we should add a release note. WDYT?

I am fine with this, but we need to emphasize this behavior impact to prevent any wrong expectations from users. Need to add a doc to an important note related to the upgrade.

I am fine with this, but we need to emphasize this behavior impact to prevent any wrong expectations from users. Need to add a doc to an important note related to the upgrade.
What operations will be impacted? recurring jobs, one-time operations like volume snapshot, clone, etc?

Yes, I will add the note.
Operation like:

Clone
Backing Image exporting

will be failed and cannot be recovered because there is no auto-retry .
Operation like:

DR/Restoring volume
Replica eviction

Will be able to retry and finish


Accessing linked entities ?

First off thanks for this wonderful gem.
Secondly, what is the most elegant way to access linked entities - without using a Builder to explicitly link them in?  Iterating thru a small set using the simple retrieve_multipleand need to conditionally access linked entities.

Hi @karthik-panchap , thanks for the question.  I have only done linked entities using FetchXML.  It would certainly be helpful to fetch and object and then navigate relationships from there.  Can you give me an example of what you are trying to do?


[dlib] Seems dlib requires cblas to work, but it installs lapack without cblas (noblas feature enabled).

Operating system
Windows 10
Compiler
No response
Steps to reproduce the behavior
./vcpkg.exe install lapack-reference[cblas]:x64-windows dlib:x64-windows

Failure logs
...
-- Extracting source C:/Users/Gaspar/Desktop/vcpkg/downloads/Reference-LAPACK-lapack-v3.11.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch lapacke.patch
-- Using source at C:/Users/Gaspar/Desktop/vcpkg/buildtrees/lapack-reference/src/v3.11.0-5e6de67bfb.clean
CMake Error at ports/lapack-reference/portfile.cmake:36 (message):
Cannot built feature 'cblas' together with feature 'noblas'.  cblas
requires blas!
Call Stack (most recent call first):
scripts/ports.cmake:170 (include)
Additional context
Seems dlib requires cblas to work (https://i.imgur.com/gDmYDuo.png), but I can't install cblas with dlib

Fixed after looking pkgconfig file of dlib and applying appropriate linker flags.
Error messages were about cblas, so I thought I have to install cblas and failed because of conflicting packages. Sorry,


IMPROVMENT: Jedis should distingusih between exhausted pool to other failures

Expected behavior
In continuance to issue #1236, I would expected Jedis to let me know that it failed to retrieve a connection from the inner pool, since the pool is exhausted by throwing an exception that indicates rather then a general one.
Actual behavior
When Jedis fails to retrieve a connection from the pool, it throws a JedisException, which is too general and can be thrown for a failure in the implemented activateObject() or validateObject() method.
Steps to reproduce:

Create a GenericObjectPoolConfig object with setMaxTotal(1) and setBlockWhenExhausted(false).
Create a JedisPool with the configuration from step (1).
Try to retrieve a connection from the pool by getResource().
Try to retrieve another connection and expect a JedisException.

Redis / Jedis Configuration
Jedis version:
3.0.0-SNAPSHOT
Redis version:
3.0.7
Java version:
1.8

Let's continue the discussion in #1464


Log port webserver listening on

Haven't tested this, but would be good to get. I'm pretty sure it's not logged?

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


outputs.upToDateWhen should take effect no matter where in the task definition it's set

Depending on where in the task definition outputs.upToDateWhen is defined, it will either take effect or not.
Expected Behavior

In a declarative language, it shouldn't matter where in the task definition outputs.upToDateWhen is defined.

task updateChangelog {
  final outputFile = file("CHANGELOG.md")

  doLast {
    final changelog = outputFile.text

    outputFile.text = changelog.readLines().collect {
      it.toString().replaceAll(/^(#+ +)(\[Unreleased\])/, { array ->
        final prefix = array[1]
        final unreleased = array[2]

        "${prefix}${unreleased}\n\n${prefix}[${version}]"
      })
    }.join('\n')
  }

  outputs.file outputFile
  outputs.upToDateWhen {
    !unreleasedChangesExist(outputFile as String[])
  }
}

and:
task updateChangelog {
  final outputFile = file("CHANGELOG.md")

  outputs.file outputFile
  outputs.upToDateWhen {
    !unreleasedChangesExist(outputFile as String[])
  }

  doLast {
    final changelog = outputFile.text

    outputFile.text = changelog.readLines().collect {
      it.toString().replaceAll(/^(#+ +)(\[Unreleased\])/, { array ->
        final prefix = array[1]
        final unreleased = array[2]

        "${prefix}${unreleased}\n\n${prefix}[${version}]"
      })
    }.join('\n')
  }
}

should work identically.
Current Behavior

In the first task definition, the result of outputs.upToDateWhen is ignored.
Context

Not abiding by the outputs.upToDateWhen setting breaks the task's idempotent guarantee.
Steps to Reproduce (for bugs)

Define a task with doLast then outputs.upToDateWhen { false }. Be sure doLast is before the outputs.upToDateWhen setting
Execute the task (be sure to use --no-daemon due to some other bug)
Task should be UP-TO-DATE but it's not
Swap the order of doLast and outputs.upToDateWhen definitions
Execute the task (be sure to use --no-daemon due to some other bug)
Task is now UP-TO-DATE

I think your reproduction steps might be slightly off.  outputs.upToDateWhen { false } means "task is never up to date" so in step 3, the task should not be UP-TO-DATE.  And again in step 6, the task cannot be UP-TO-DATE.

Based on what I said in https://github.com/gradle/gradle/issues/2467#issuecomment-315184626, I'm going to close this as a misunderstanding.


if a permission has no criteria let is always resolve to true

At this time is a user is given roles that have criteria, then later is given the admin role (maybe only temporarily, to fill in for someone etc...) They will not have the desired access because the admin role has no criteria by default.
If a permission has no criteria it should open access to the entire model for that action.

The test is failing because the user has the following permissions:
[ { criteria: [],
    model: 2,
    role: 2,
    action: 'read',
    relation: 'role',
    createdAt: '2015-07-31T18:19:44.851Z',
    updatedAt: '2015-07-31T18:19:44.851Z',
    id: 17 },
  { criteria:.
     [ { where: [Object],
         permission: 25,
         createdAt: '2015-07-31T18:19:48.060Z',
         updatedAt: '2015-07-31T18:19:48.060Z',
         id: 5 } ],
    model: 2,
    role: 4,
    action: 'read',
    createdBy: 1,
    relation: 'role',
    createdAt: '2015-07-31T18:19:48.051Z',
    updatedAt: '2015-07-31T18:19:48.055Z',
    id: 25 } ]

A record should be allowed through if any of the permissions allow it to do so.  This is how all permissions that have criteria defined already work.
If you want to restrict registered users (role 2) then you should update that permission with criteria, correct?

I am surprised the test is failing given those permissions.  I will take a closer look.

Okay, I see why the test is failing now.  Sails permissions bootstraps some read permissions for registered users.

would you mind skipping or commenting out the bad test, i can fix it later.  thanks.

@ryanwilliamquinn can this be merged as-is, or do we need to clean up something first?


languageOnly and whitelist ignored

Hello,
I’m using the following configuration:
i18n
  .use(fsBackend)
  .use(i18nextMiddleware.LanguageDetector)
  .init({
    fallbackLng: 'en',
    load: 'languageOnly',
    lowerCaseLng: true,

    ns: [
      'common',
      'home'
    ],
    defaultNS: 'common',
    whitelist: [
      'en', 'fr'
    ],

    preload: ['en', 'fr'],

    backend: {
      loadPath: path.join(__dirname, '../locales/{{lng}}/{{ns}}.json'),
      addPath: path.join(__dirname, '../locales/{{lng}}/{{ns}}.missing.json')
    },

    detection: {
      order: ['path', 'header']
    }
  })

Whenever I request a page without the lng set in the path (so it uses the header detector), req.i18n.language is en-us.
Why is that? Am I missing something? I’m expecting just en.

i18n.language reflects detected language -> i18n.languages (array) reflects what is used to lookup translations in order of priority https://www.i18next.com/api.html#language vs. https://www.i18next.com/api.html#languages

Ah! I did miss something indeed. Thanks @jamuhl!

I don't think that this issue is resolved.
My config:
{
  fallbackLng: 'en',
  load: 'languageOnly',
  detection: {
    order: ['path', 'cookie', 'header'],
    lookupCookie: 'language',
    lookupFromPathIndex: 0,
    caches: ['cookie'],
  }
}

Value of Accept-Language header is en-US,en;q=0.9,ru;q=0.8
Problem is in this part of code:
          var cleanedLng = _this.services.languageUtils.formatLanguageCode(lng);

          if (_this.services.languageUtils.isWhitelisted(cleanedLng)) {
            found = cleanedLng;
            req.i18nextLookupName = detectorName;
          };

In my case cleanedLng === 'en-US' and it becomes locale cached in cookies. But I asked just for language part via load: 'languageOnly' and whitelist. I want to get en as a language.
I checked source and I didn't find a way to change current external params or options.

this is solved in i18next core: https://github.com/i18next/i18next/blob/master/src/LanguageUtils.js#L97
from the lng that was detected, it builds an array of languages to use for loading via backend and to lookup translations from internal resource store.


Export arrows to be able to style them

Types of Changes
Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] All new and existing tests passed

Description
There is no elegant way to style arrows of the Carousel component at this moment.
This PR brings those possibilities:
import styled from 'styled-components';
import { ArrowLeft, ArrowRight } from 'precise-ui';

const MyCarousel = styled(Carousel)`
	${ArrowLeft}, ${ArrowRight}  {
		background-color: red;
	}
	${ArrowLeft} {
		left: 0;
	}
	${ArrowRight} {
		right: 0;
	}
`;

It's a very specific use-case, we are exporting generic components only

It's a very specific use-case, we are exporting generic components only

Then let's discuss how to make it be extensible if I want to change the style of any part of a generic component?


appraiser self-study guide

👷 Deploy Preview for peaceful-meerkat-940447 processing.

Name
Link

🔨 Latest commit
68a845c5b0ad0b5b36a19f781986ea05e4f42d2a

🔍 Latest deploy log
https://app.netlify.com/sites/peaceful-meerkat-940447/deploys/630762ac805a0b0009dc27d3


Support multiple HMR clients

More details in #6179
The implementation was changed from a cache per bundleEntry/platform combo, to a cache per client, whose update handling and connection logic is contained inside an HMRClient class, as proposed by @martinbigio in the other PR.
But the end result is the same 👍 🍰
Tested with 4 devices once again (1 ios emulator, 1 ios device, 1 android device and 1 android emulator) and node 5.5

By analyzing the blame information on this pull request, we identified @martinbigio and @skevy to be potential reviewers.

@JohnyDays updated the pull request.

This is a friendly reminder that the PR has been open for 16 days, without any feedback.
The implementation seems clean and correct to me. The feature it provides is very useful for developing shared UI elements.

There's a lot of stuff on their plate, with 160 open prs
I'm sure someone will get around to it when they can :bee:

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @martinbigio as a potential reviewer. Could you take a look please or cc someone with more context?

@JohnyDays thanks for the contribution. Can you address my one comment and then rebase?  Thanks!

@JohnyDays thanks for the effort! On what OS did you test it? I'm currently having problem on linux with the current implementation - I have an iOS and Android device connected, and HMR only works on the one that got connected second. RN 0.27, RN cli 1.0.0 node 6.2.2

I've been really busy lately 😭 i'll get around to this soon.
I tested on linux (arch, my main machine), windows 10 (my home machine) and on a Mac VM.
What is your setup?

@JohnyDays yes, both have hot reloading enabled. not even live reloading is working (not on the second one). I'm running ubuntu 15.10

Got some time to deal with the nits and rebase, and test.
I just tested MoviesApp on my android emulator, device and ios emulator simultaneously and it's working 😨
Rebasing soon.

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @martinbigio as a potential reviewer. Could you take a look please or cc someone with more context?

@matryoshcow Would you mind taking a look? Do you have context on this or do you know who does besides @martinbigio who's on a different team now?

I'm available to give some context if you guys need it, just hit me up. 👍

I'm gonna review this over the next couple of days. I'm sorry this took so long.

Cheers! Thanks for taking the time to do it. Probably needs another rebase by now, I'll take care of that tomorrow.

@JohnyDays would you mind rebasing this diff and making the small adjustments I asked for? It might take another week or so until I get to it but this is certainly something we should support.

I've had my hands full with preparing for web summit, so this is a particularly bad time, but hopefully I'll find some time after this hurricane has blown over. Cheers 😄

@JohnyDays ping! Are you still working on this? I just made some changes to this file, so you might have to re-roll this commit.

I'm interested in merging this but to manage the queue I'll close this PR due to inaction. Please rebase and open a new PR and we'll handle it asap.

@JohnyDays would be awesome if you can finish this!

Is this happening? @JohnyDays

I opened an issue on the metro-bundler repo for this: https://github.com/facebook/metro-bundler/issues/8

Would be a massive shame if this got ignored. Would be so useful to have

This would be super helpful. Without this, what's the recommended way of simultaneously working on Android and iOS? Live reloading on both seems to be one or the other as well.

The patch is pretty simple to apply... even manually if you don't know git.
On Sun, Aug 6, 2017 at 20:38 sballew-insteon<EMAIL_ADDRESS>wrote:

This would be super helpful. Without this, what's the recommended way of
simultaneously working on Android and iOS? Live reloading on both seems to
be one or the other as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/pull/7475#issuecomment-320554938,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALeizBgl9Ci-ocFDbKQqtfcPsBBPF5Kks5sVniZgaJpZM4IaUU7
.

There's been quite a few changes since the PR was closed, specifically to attachHMRServer. Not sure how clean it would be merging it at this point, it may need to be rebased and fixed up. But I can see how it fares.

Multi-client support has been implemented in https://github.com/facebook/react-native/commit/8b2975ad7b27ce34dcf56836685fd54ddd62086c 😃

@rafeca How do I use multiple clients with the CLI? Can I list multiple iOS simulators? I can't find any information about it in the docs.


Changed the min sdk version of the app to API 21.

I have changed the minimum SDK version of the app to API 21; the target SDK is still API 33.

Excellent!

Nishant and I tried with both API 21 and 33.
I ran on API 31 and 32 as well, works.


bug: PopperArrow missing props as-child

#353
:) first time contributing here! Looking forward to your kind corrections😊

Legend!!
Thank you!


Create optimize materials for hand joint mesh visualization

Overview
This change creates two new materials to be used directly with the default hand joint mesh visualization.
One material for the hand joint cubes. This new material is opaque instead of transparent allowing for true dynamic batching of all joints into a combined draw call.
One material for the hand joint index tip spheres. This material turns off hover light and other unnecessary items and turns on GPU instancing so both index tips are drawn in one call.
Before

After

Changes

Fixes: # .

Verification

This optional section is a place where you can detail the specific type of verification
you want from reviewers. For example, if you want reviewers to checkout the PR locally
and validate the functionality of specific scenarios, provide instructions
on the specific scenarios and what you want verified.
If there are specific areas of concern or question feel free to highlight them here so
that reviewers can watch out for those issues.
As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

NearInteractionTouchableDistance passes for me locally. Running again

/azp run mrtk_PR


How to detect side profiles? - Side face

face_recognition version: v0.1.12
Python version: 3.6
Operating System: Windows

Description
I would like to recognize a person from the side profile of the person.
What I Did
Tried working it the normal way, but the face is not detected when I turn my head.

The model used in this library is not trained to detect side profiles, so it probably won't work for this purpose.

@ageitgey which model is used for detection?  Is it possible to use another model?  I found DFSD by Tencent to be very robust, more so than MTCNN for face detection.
DFSD

@nyck33
set the model as "cnn" while you enumerating faces using the below method,
face_recognition.face_locations(rgb_small_frame, number_of_times_to_upsample=1,model="cnn")
I have tried the same and it was working fine.
note:
but this model only fast with GPU.
ref info.
https://www.arunponnusamy.com/cnn-face-detector-dlib.html


C++ docstrings

Adds Doxygen-style docstrings to the C++ source code. Closes #1

Codecov Report

Merging #6 (dc824b4) into master (3c00f67) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          129       129
=========================================
  Hits           129       129

Impacted Files
Coverage Δ

src/pymatching/matching.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Backbone Resnet101 - Training time error

I have changed the backbone to Resnet101 and started the training,
got the following error
RuntimeError: Given groups=1, weight of size 128 64 1 1, expected input[8, 256, 160, 160] to have 64 channels, but got 256 channels instead
Could you tell me the reason for this error?

The out channels of the four stages in R101 are 256, 512, 1024, 2048 respectively.
You should set in_channels=(256, 512, 1024, 2048) in the config file.


Improve detection of Teigha File Converter

[ ] Check for different installation directories from older versions
[ ] Provide a helpful error message when a .dwg file is provided and Teigha isn't installed
[ ] Figure out whether it would be possible/a good idea to find Teigha based on Windows Installer registry keys

Ack! Wrong repository! Sorry!


auto-update geometry index on geometry change

currenty ol.interaction.Modify only updates te geometry index of segments which are beeing dragged.
Snap should listen for 'change:geometry' and update the entire gemetry index for a changed feature.
I'm not sure but this could be a performance issue.

This has been fixed and merged in the ol3 master repository.


Refactor net gevent

Description
The net_gevent contains lot of style issues and duplicates some net classes. This PR adjusts the code base to be able to use the duplicated classes' ancestor from net. Also fixing some styling issues.
Please note that Connection class in net_gevent moved up from the bottom, and the SocketWrapper removed in favour of net's own one. (The difference was the timeout/deadline parameter)
Important
Please be careful with the review and check if I made any mistake. As far as I can see, no breaking stuff introduced with removing SocketWrapper for net_gevent.

I see you point. Then what if I mark this PR as blocked until the tests are in place? FYI, the integration test functionality is done with automatic droplet creation. I’ll open a PR tomorrow.

Sounds good. I will try to carve out some time today to get some more work done on my open issues.


Improve browsing experience of datasets

The “Datasets” page simply displays every document from the database (every “dataset->subdataset->split”) record. The image shows an example of the “prgameval” dataset. In terms of browsing It'd be nice to group them into one expandable entry.

This is done, thanks @OscarWang114 !


Update UpdateWebApps.py to determine which "read" json code block to use

Script currently has code blocks to read json files with two different sets of properties. Modify script to determine which code block to execute based on which json properties exist in the specified file.

Fix in Esri\ops-server-config v.next.


TypeError: Cannot read property 'posts' of undefined

hello,
i get this error when load localhost:3000

what is the problem? bellow is my .env config:
MONGO_URL=mongodb://<IP_ADDRESS>:27017/next-graphql
AUTH_SECRET=as
SESSION_SECRET=ss
PORT=4000
CLIENT_URL_DEV=http://<IP_ADDRESS>:3000
CLIENT_URL_PROD=https://next-graphql.now.sh
GOOGLE_CLIENT_ID=gcid
GOOGLE_SECRET_ID=gsid
GA_TRACKING_ID=gtid
ROOT_URL_DEV=http://<IP_ADDRESS>:4000
ROOT_URL_PROD=https://next-graphql-api.now.sh
CLOUDINARY_PRESET=vhvuj1cw
CLOUDINARY_KEY=233327915763333
CLOUDINARY_NAME=teseh

Did you run the server as well?

Did you run the server as well?

yes. both server and client runing.

Oh, yes.
You'd have to make some sample data in the DB first.
If you are still stuck, I can send you some data. :)

thank you saifookhan . yes , please send me some sample data.


Update-jwt-docs

Description
Updated JWT documents for changes.

PR is in grogress

Checklist

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

@donggyu04 To what OpenSearch version(s) does this apply?

@donggyu04 To what OpenSearch version(s) does this apply?

I only know that it is version 2.x, but I don't know the exact version or when it will be released.

PR has been merged :)

@scrawfor99 Do you know what version this is for? Thanks!


Question react-redux: How to create Entity from JSON with new reference

Hey there,
i have a short question:
I play around with baqend and react + react-redux. https://github.com/KillerCodeMonkey/baqend-blog-admin-react/tree/redux
The problem is, that the reducers should not manipulate the state directly. They should return new instances of objects or arrays, so the change-detection works and the views are rendered again.
I have a model called "Post". If an action updates a post like
post.save().then(updatedPost => dispatch(....))

the associated reducers are listening to this, but needs to return the post as a new object.
I tried something like that:
const postJSON = Object.assign({}, action.post.toJSON(), { acl: null })

return db.Post.fromJSON(postJSON)

Transforming the Post-instance to plain json (avoid errors --> set acl to null)
create a Post with fromJSON function

Sadly i get exact the same reference.
Do you have any ideas?

Hi,
that is a desired behavior since the SDK track id to refrence mappings. That ensures that you always get the same object for the same database object.
You can in addition remove the id so the serialized object loose it's identiy and fromJSON will then create a new object instead of updating the existing one. You can use action.post.toJSON(false) to create an json object without any metadata.(without id, version and ACL)
I'm not so familiar with react therefore I do not know if that really solve the problem for you. Is it really required that a new copy must be provided always? My thoughts was so far that only something must be changed on the reacts state to enforce a redraw.
Let me now if that helps.

hey thanks for the explanation. i thought of this behavior.
And you are write in plain react it is as easy as updating some key value and the renderer is triggered.
But with redux you are introducing something like a global state and it behaves like this:
--> If you want to change the state you are defining function with the current state and the changed object as parameters. instead of directly manipulating the state you create a new state and return it.
In my case i do not want a complete new DB entity only the DB entity stored in a new object :).
Something like immutables.

}

Sure i could decapsulate everything from baqend and dbentities --> passing the plain json, stuff my components. so if i want to ran an update, i would create the db.Model.fromJSON().
Maybe you have another idea or could implement a simple trick, like passing an option for creating a new reference for an entity.
If not you can close this issue :)

Hi,
I think there is another, easier workaround. You can wrap the dbobject into another javascript object without using toJSON and fromJSON:
{
  "CREATE_POST": (current_state, updatedPost) =>  {
     // you would do something like this with pojo
     post = {data: updatedPost};
      ...;
  },
  ....
}

Then you can access your post like this:
var dbPostObject = post.data;
This way you don't need to convert the object with toJSON and fromJSON all the time. I'm not that familiar with redux either but I hope this works :)
It's also not the prettiest thing in the word. We are discussing how to support this in the SDK but it's not that easy (see fbuecklers comment). If you have an idea, feel free to share it ;)
Best
Erik

We have released our react and react-native starter + redux middleware which provides a better SDK integration into react.


Shows the Lit field by default for the Swimming Pool preset

Closes #5287.
Also adds "aquatics" as a search term for the Swimming Pool preset.

Great suggestion, thanks for the Pull Request @quincylvania 👍


"Could not update application spec: getwd: no such file or directory"

Describe the bug
Image's stop updating, logs show the above error.
time="2021-08-18T22:50:40Z" level=info msg="git config user.name argocd-image-updater" dir=/tmp/git-395417317 execID=o1WQk
time="2021-08-18T22:50:40Z" level=info msg="git config user.email<EMAIL_ADDRESS>dir=/tmp/git-395417317 execID=R06hZ
time="2021-08-18T22:50:40Z" level=info msg="git checkout --force main" dir=/tmp/git-395417317 execID=kqU68
time="2021-08-18T22:50:40Z" level=info msg="git clean -fdx" dir=/tmp/git-395417317 execID=FgSqg
time="2021-08-18T22:50:40Z" level=error msg="Could not update application spec: getwd: no such file or directory" application=
To Reproduce
Not sure how to reproduce -- we have multiple apps using image updater with kustomize back to git
Expected behavior
image updater should push back to git
Additional context
This is intermittent and deleting the pod fixes the issue.
Version
Please tell us about the version you encountered the issue with
Logs
Please paste any relevant logs here

Hey @empath-nirvana, does it stop updating a single application, or all of them?

It seems like all of them. It was at least more than one of them.
On Fri, Aug 20, 2021 at 4:02 PM jannfis @.***> wrote:

Hey @empath-nirvana https://github.com/empath-nirvana, does it stop
updating a single application, or all of them?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/argoproj-labs/argocd-image-updater/issues/240#issuecomment-902925621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUVYTLZC7GCNGB6VPPA5OVTT52YF3ANCNFSM5CNANNRA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
“The world is not comprehensible, but it is embraceable.”

Thanks for the update.
Is the following log line from your description truncated (e.g. did you remove the application name), or is it verbatim (e.g. no application name displayed at all)?
time="2021-08-18T22:50:40Z" level=error msg="Could not update application spec: getwd: no such file or directory" application=

Also, are your application manifests in a mono-repo or separate repositories?

I removed the application name and they’re in different repos
On Mon, Aug 23, 2021 at 6:29 AM jannfis @.***> wrote:

Also, are your application manifests in a mono-repo or separate
repositories?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/argoproj-labs/argocd-image-updater/issues/240#issuecomment-903643948,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUVYTLYLDS7FUWSSJLNICLTT6IPKJANCNFSM5CNANNRA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
“The world is not comprehensible, but it is embraceable.”

It occurred again this morning  -- i tried to exec into the container and look in /tmp and it's empty -- i guess it cleans up after a failure?  In any case, deleting the pod fixed the issue again.

Thanks for the update.
Is the following log line from your description truncated (e.g. did you remove the application name), or is it verbatim (e.g. no application name displayed at all)?
time="2021-08-18T22:50:40Z" level=error msg="Could not update application spec: getwd: no such file or directory" application=

In my case the application name is displayed.

This is still happening about every two weeks, reboot always clears it up -- is it possible it's a disk space problem?  how would i troubleshoot that.

Hm, good question about the disk space. Could well be possible that there's a bug in cleaning up Git repositories. Will investigate.

happen to me, restarting solve the problem eventually... but this is strange... why is happening this?

This unfortunately is also still happening to us every 1-3 days - we were pondering if it had to do with the frequency of deployments (or potentially multiple at same time) as it seems to occur more often when both teams are testing their deployments.
As above, our workaround is restarting the pod.

this started happening to me, when I added
write-back-target: kustomization

I think we have got a bit more information about this issue.
Previously we host our ArgoCD project in just 1 repo and under this repo it creates applications for many systems. All is good.
Until 3 days ago we started to split them into different repos, about 10 of them.
We now start to see this issue quite frequently.
So this issue definitely has something to do with what @halversonian mentioned above: ...with the frequency of deployments (or potentially multiple at same time) as it seems to occur more often when both teams are testing their deployments.


Added padding between text and button in testimonial section

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Before Changes:

After Changes:

Note to reviewers
Enhancement: Addition of Padding between Text and Button in Testimonial Section
Description:
This pull request addresses the issue of adding padding between the text and button in the testimonial section, as discussed in issue #7964 . The changes made in this pull request improve the visual presentation and user experience of the testimonial section on the  website.
Changes Made:

Added CSS styles to introduce appropriate padding between the text content and the button.
Ensured consistent spacing and alignment throughout the testimonial section.

Closes #7964

@DhirajGilda please do not merge main into your branch otherwise the GitHub Actions keep running and I cannot merge it - this is good practice to keep the branch up to date if you are continuing to work on your PR or has been open for a while but as it is finished and ready to merge it is not needed


Cross Origin Request Blocket on code.jquery.com

jquery JS lib isn't loaded due to a CORS Issue :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://code.jquery.com/jquery-3.6.0.min.js. (Reason: CORS request did not succeed).
https://developer.mozilla.org/docs/Web/HTTP/CORS/Errors/CORSDidNotSucceed?utm_source=devtools&utm_medium=firefox-cors-errors&utm_campaign=defau

lt

Thanks for the report.
I am surprised I did not see it.
I am also using firefox.
Anyway, I have removed any use of CDN in the last version.
Please check it solves the issue on your side.


Need integration with Keykloak?

Look at:

https://socialiteproviders.com/Keycloak/#keycloak
https://github.com/DutchCodingCompany/filament-socialite


Install python3-multipart for the mod_tls test suite.

Try to capture the error_log if the Python3-based tests fail.

This was done (successfully) by @ylavic in ba1e5db6961c910c6dce855822563dbfe83ba159 and 62c5aeadd0099b9f5ff11f304eab81ecd6d6b04f


Improve download script

enable download scripts for download_fsd50k.sh
enable resume previous download
when resuming, the curl seems to be having some issue if file already downloaded -- therefore, ignore error for curl related part

Hi @tqbl , I've verified, my script works fine


fix(weaver): upgraded Corda dependencies to overcome Log4j vulnerability

Updated Corda package dependencies from 4.8 to 4.8.11, in which the vulnerability was fixed.
Upgraded Gradle from 5.6.4 to 7.5 to manage the Corda updates.
Downloaded Clikt dependency directly from Maven Central to avoid variant ambiguities in Corda Simple Application.
Fixed formatting in shell scripts to ensure that the shell command directive was in Line 1.

Pull Request Requirements

[ ] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[ ] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[ ] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[ ] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[ ] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

I need to fix a failing unit test. Am testing the fix out now (requires minor upgrades to the Kotlin and Corda plugin versions). Will merge after I see that test (and other Weaver tests) pass.

@VRamakrishna If the changes in those two commits that you have in the PR right now are broken separately, then please s quash  them together. The guiding principle being that if you check out any specific commit from the main branch then the build should be working regardless of which commit you've picked.

@petermetz I fixed the Weaver tests and squashed the commits, but there is still a blocking error in "Cactus CI / yarn_codegen":

See https://github.com/hyperledger/cacti/actions/runs/7580285585/job/20645864623?pr=2980 for error logs. I don't believe my changes have anything to do with this. Can you check?

@petermetz I fixed the Weaver tests and squashed the commits, but there is still a blocking error in "Cactus CI / yarn_codegen":
See https://github.com/hyperledger/cacti/actions/runs/7580285585/job/20645864623?pr=2980 for error logs. I don't believe my changes have anything to do with this. Can you check?

The following files are getting changed by yarn run codegen (don't ask me why, it seem that changes in gradle depencies in weaver bubbles up to other projects in monorepo):
 M examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat
 M packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/gradlew.bat

@outSH Thanks for pointing that out. I suspect my .gitattributes change may be behind this. Let me revise that and see.

@petermetz @outSH I had to fix some conflicts in a file that was modified by another PR 3 days ago, but after doing so, I'm getting an error in the yarn_codegen workflow again. This time is throws an error in a specific package which I never touched. The .gitattributes file was also not changed. So I don't know how to debug this. Can you help? The link to the failing workflow: https://github.com/hyperledger/cacti/actions/runs/7610446051/job/20723809720?pr=2980.

@petermetz @outSH I had to fix some conflicts in a file that was modified by another PR 3 days ago, but after doing so, I'm getting an error in the yarn_codegen workflow again. This time is throws an error in a specific package which I never touched. The .gitattributes file was also not changed. So I don't know how to debug this. Can you help? The link to the failing workflow: https://github.com/hyperledger/cacti/actions/runs/7610446051/job/20723809720?pr=2980.

@VRamakrishna Some changes got snuck in that triggered the codegen race conditions again.
For now the way I've been dealing with it myself is to just re-try that one specific job and usually it goes through the second time but if not the third time did it so far so I never had to do it a forth time.
Also, make sure not to retry the entire CI execution, just the specific job:


Tab key defaults to autocomplete in find and replace widget

Description of Issue
Hitting the tab key after typing in the Find textbox will automatically accept the autocomplete suggestion in the editor.
Steps to Reproduce

Place caret on or in the middle of a word that may trigger autocomplete
Initiate Find and Replace widget with ctrl + h
Input text in Find textbox
Hit tab key

Result: first suggestion for autocomplete at the caret in the editor is accepted

Note: this behavior seems fairly random. All I can confirm is that it happens the majority of the time for me. The only thing that seems to guarantee this won't occur is ensuring that the caret in the editor is on a character or word that won't trigger autocomplete (e.g. whitespace, numbers, comments, etc.) before initiating the Find and Replace widget.

Expected Behavior
The tab key should move the focus from the Find textbox to the Replace textbox for input. No changes to the out-of-focus editor should be made until a search or replace is triggered.
Machine Info
Version: 1.43.2
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.14393
Relevant settings: "editor.tabCompletion": "on"
Relevant extension: C/C++

Does this issue occur when all extensions are disabled?: No, because the C/C++ extension is required for autocomplete to work in my case. I have not been able to discern if this is a VS Code issue or an issue with the extension because of this requirement.

any chance that you are using tab completions, e.g editor.tabCompletion

Indeed - we have a few keybindings that don't check that the editor has input focus


I cannot use input()

Odeon:~/Documents/Courses/1306/Python$ more codonTest.py
""" Test codon compatibility """
name = ""
name = input("What's your name? ")
print("So, your name is", name)
Odeon:~/Documents/Courses/1306/Python$ python3 codonTest.py
What's your name? Bill
So, your name is Bill
Odeon:~/Documents/Courses/1306/Python$ codon run codonTest.py
codonTest.py:3:8-13: error: name 'input' is not defined
jfparis@Odeon:~/Documents/Courses/1306/Python$

Duplicate of #96

Thank you, @elisbyberi.


Cleaned up a lot of the code, and made it "swift-ier"

A lot of cleaning up in the code, and making Swifter Swift-ier!
Changes include:

Change all HTTPMethods to an enum (with String rawValue) rather than just String
removed unused and useless variables in callbacks
use default value let constants for Twitter API URLs
use default values for arguments
and more...?

Big thanks for this! :100: :100:
Luckily, I hadn't started doing the same thing myself (yet) :smiley:
Out of curiosity:
instead of extending Dictionary with a func stringifiedDictionary(), why not extending it with a computed property?
Something like:
var stringified: Dictionary<String, String> {
    let dict = self.reduce([String: String]()) { (var dict, tuple) in
          dict["\(tuple.0)"] = "\(tuple.1)"
          return dict
    }
    return dict
}

Nevertheless, awesome job! :+1:


Add Model format field to Kitfile

Description
To make runtime usage simpler, add Kitfile field .model.format. This can be set to store the model's data format (e.g. safetensors, gguf, onnx, etc.).
This information can be used by runtimes to determine how to consume the model (e.g. if the runtime can handle .gguf files)
Linked issues
No issue at the moment

Do we also need to record the format version some formats like onnx change quite often?

Maybe, but adding that is a backwards-compatible change we can make if we decide we need it. I'd rather not throw fields into the spec unless we know they're going to be used somewhere.

the reason I brought this up on the annotations that we had proposed on model specification group, I had it listed as format.name and format.version.


Multicast

I’m having issues with Multicast at the moment. Tested with NDI monitor on other machines and the multicast setup is working correctly.  Disabled multicast in NDI Access Manager and Raspi works as intended. Is this a known issue or unsupported at the moment or am I missing something? Thanks for your help!
Forgot to mention I’m using a pi 4 model B and I’ve tested using both 32-bit Buster and 64-bit Bullseye.

Sorry, this depends on NewTek's NDI libraries, Dicaffeine uses them to lookup/receive the NDI stream. It's a thing a cannot change.


testing on code owner policy

testing on code owner policy
Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Merging as admin


How to handle screenlock / power botton ?

How to handle screen lock/ power botton ?
I have a test case that needs to lock screen and unlock screen, how i can handle it using robotium.

Hi Sachin,
Try the keyevent 26 for power button
On 08-Feb-2017 7:14 PM, "Sachin G"<EMAIL_ADDRESS>wrote:

How to handle screen lock/ power botton ?
I have a test case that needs to lock screen and unlock screen, how i can
handle it using robotium.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RobotiumTech/robotium/issues/864, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEW59zZJkKwlh_czfjtu_Aw4chYLO8DPks5racbEgaJpZM4L61d1
.

@vikramuk I tryed using keyevent but it not works.
I am able to unlock using activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
Window window = this.getWindow();
window.addFlags(LayoutParams.FLAG_DISMISS_KEYGUARD);
window.addFlags(LayoutParams.FLAG_SHOW_WHEN_LOCKED);
window.addFlags(LayoutParams.FLAG_TURN_SCREEN_ON);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
is there any other specific code to lock screen.
Iam trying to use PARTIAL_WAKE_LOCK to lock but not getting it.

Is there any way you can add permission for keeping screen awake?. Then
check keyevent for power button
Regards
On 09-Feb-2017 12:11 AM, "Sachin G"<EMAIL_ADDRESS>wrote:

@vikramuk https://github.com/vikramuk I tryed using keyevent but it not
works.
I am able to unlock using activity.getWindow().addFlags(
WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
Window window = this.getWindow();
window.addFlags(LayoutParams.FLAG_DISMISS_KEYGUARD);
window.addFlags(LayoutParams.FLAG_SHOW_WHEN_LOCKED);
window.addFlags(LayoutParams.FLAG_TURN_SCREEN_ON);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
is there any other specific code to lock screen.
Iam trying to use PARTIAL_WAKE_LOCK
https://developer.android.com/reference/android/os/PowerManager.html to
lock but not getting it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobotiumTech/robotium/issues/864#issuecomment-278421943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEW590ROj2qEb4O8yYJlz2PgQ3BVj_2qks5ragxygaJpZM4L61d1
.


Added whitelisted exts for opus and svg.

Opus is fine, but we should check we serve the correct content security policy headers before whitelisting svg.

i really don't want to whitelist svg

Remove: Kebab SVG. :ok_hand:
Brb.

@rx14, @neko, is YAML ok?

I gather that svg can't be allowed because it's behavior could be defined by an externally hosted xml file?

Svg is hard because it can contain javascript. That can be disabled by CSP headers though.


Fix regular pods on preemptible node are deleted immediately

Fixes the GracePeriod to be specified when deleting regular pods on preemptible node.
Reserve time for system pods if regular pods have adequate time to exit gracefully. Otherwise, GracePeriodSeconds for delete regular pods is set to an initial value (0). Setting GracePeriodSeconds to 0 means that it will be deleted immediately.
If the target node is a Preemptibe node, then the Evict Pods timeout is 30 seconds. And the default value of the startup argument --system-pod-grace-period is 30 seconds. Therefore, when a preempted event is received, the Regular Pod will be force deleted with no grace period.

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

I had a discussion with @namusyaka.
I thought this tool delete regular pods with GracePeriodSeconds=30 and then delete system pod with the remaining grace time.
As the original author comments, "This is especially helpful in scenarios like reclaiming logs prior to node termination", this tool ensure graceful shutdown of the pods under the kube-system namespace. So, I understand that this tool is an implementation that prioritizes system pods over regular pods.
I think there are times when I want to give regular pods some grace time rather than the immediate deletion behavior of regular pods. Since the preemptible node has a grace period of 30 seconds, I would like to use this tool to specify -system-pod-grace-period=10 on the command line and the regular pod has the remaining about 20 seconds.
Thanks.

Hi there,
@na-ga Thanks for your effort and the report.
@mindprince As he said above, if you're specifing 10 in system-pod-grace-period, the grace period for regular pods deletion will be 20s because the preemptible VM's timeout is 30s.
I guess the workaround he indicated goes well, but I'm not sure if the behavior would be understood intuitively because if the system-pod-grace-period is set to 20, the regular pods will be deleted immediately as preemptible VM's timeout >= system-pod-grace-period * 2 is false in this case.
For the concern, is there any chance to add an option to specify a graceful period for regular pods deletion?

I was wondering why my apps were so unstable when a preemption event occurs, even with this tool. I was pretty confused to see in the logs the gracePeriodSeconds parameter set to 0 on the "regular" pods:
About to delete pod "my-app-74cc8d96f6-bjn2p" in namespace "my-ns"
Request Body:{"kind":"DeleteOptions","apiVersion":"v1","gracePeriodSeconds":0}

At least, this information should be documented on the README.md.

CC: @vishh

As per the conversation with David internally, we're now recognizing that the current behavior for regular pods termination makes users confusing a bit.
For the concerns, there are some options for getting rid of that, but we decided to work on the documentation at first. In the future, even if we'll adjust the default timeout value or add a new flag for handle this, we must take care of the backward compatibility.
@na-ga @yanc0 Thanks for your reports. Much appreciated.


Move container logic from docker-compose.yml to Dockerfile

Much of the command mess in the compose file should be in their own Dockerfiles that extends the base image. Easily done with caddy as of 837c1fceed76d156cdbdc71cc501d6c5790b94e3, however watchtower won't pull updates to the base image (see https://github.com/containrrr/watchtower/issues/1401).
Alternatives to watchtower, cron?

It would require a simple script and an extra step during installation.
Existing users who blindly git pull will miss that step

Migrate the different images to their own repo, use CI to publish them to docker repo when base images updates (see https://www.flypenguin.de/2021/07/30/auto-rebuild-docker-images-if-base-image-changes-using-github-actions/)

This seems like the most sensible approach, although clunky, until watchtower or some other process is capable of rebuilding images when base images are updated.

Giving the CI -> docker repository (ghcr) a try with caddy (#57). Used https://www.howtogeek.com/devops/how-to-set-up-automatic-builds-for-docker-images-on-github/ and https://www.flypenguin.de/2021/07/30/auto-rebuild-docker-images-if-base-image-changes-using-github-actions/ to throw something together in Github actions.

#58 is merged, now just need to split countryblock into its own project.


[sram_ctrl/dv] Adapt throughput tests for readback mode

Description
With the introduction of the readback mode (c.f., #23212), the throughput tests need to be adapted to take the additional delay introduced by this feature into account. Currently, the readback feature is disabled for these tests.

This seems doable without huge effort but the priority isn't very high as the feature can be disabled at run time.

This doesn't seem like a priority to me. I suggest moving to M7.


Created tutorial to install software from Bioconda with Tykky

Created a tutorial to install software from Bioconda with Tykky now that direct conda installations are not available.
https://csc-guide-preview.rahtiapp.fi/origin/saren-bioconda-tykky/support/tutorials/bioconda-tutorial/

@kkmattil would you have time to review this?

A link also from Tykky page?


Support polar axes labels with cartopy

Description
Now, cartopy has supported the axes labels for polar projection.
But, proplot doesn't work with the same newest version of cartopy.
Steps to reproduce
import proplot as plot
fig, axs = plot.subplots(proj='npstere')
axs.format(coast=True, latlines=10, lonlines=30, lonlabels=True, labels=True, boundinglat=60)

Expected behavior (matplotlib with cartopy)

Actual behavior: (proplot with cartopy)

Equivalent steps in matplotlib
import matplotlib.pyplot as plt
import cartopy.crs as ccrs

ax = plt.subplot(projection=ccrs.NorthPolarStereo())
ax.set_extent([-180,180,90,60], ccrs.PlateCarree())
ax.coastlines()
ax.gridlines(draw_labels=True)

Proplot version
0.6.4

I have the same issue (using 'nplaea' projection). Considering that I am new to Proplot, I couldn't find where this lack of labels is coming from. I guess it should be somewhere around the '_toggle_gridliner_labels' method, but I can't find anything more. If someone can give me some hint of what to change, I am happy to participate in solving the bug, if that saves some time.

Finally figured this out. By default, proplot gives "pole-centered" projections circle boundaries to match basemap and because (IMHO) circle boundaries looks nicer. Unfortunately, however, cartopy does not seem to support gridline labels for maps whose boundaries were modified with set_boundary.
So, this is a cartopy limitation -- when I repeat your example with a circular boundary the labels disappear:
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
ax = plt.subplot(projection=ccrs.NorthPolarStereo())
ax.set_extent([-180,180,90,60], ccrs.PlateCarree())
path = plot.axes.geo._circular_boundary(100)  # internal proplot method used to make polar boundaries
ax.set_boundary(path, transform=ax.transAxes)
ax.coastlines()
ax.gridlines(draw_labels=True)
plot.show()

However I recently decided to add the rc option cartopy.circular that can be set to False to disable the circle boundary thing. This will let you have labels on your polar plots (alternatively, you can also use basemap as the backend -- basemap supports labels on circular polar plots).
Here's an example with non-circular boundaries and gridline labels:
import proplot as plot
plot.rc['cartopy.circular'] = False
fig, ax = plot.subplots(proj='npstere')
ax.format(coast=True, latlines=10, lonlines=30, lonlabels=True, labels=True, boundinglat=60)

I've added a note about this to the docs in the latest version.

@lukelbd Great! Thanks for coming back to polish proplot ;) Hope your Ph.D. career goes well.

indeed, as said by @zxdawn - great to see you back @lukelbd, keeping proplot shiny!

@lukelbd The latitude grid labels aren't shown nicely.
If only one latitude label is shown, readers won't know the space between each latitude line.
import proplot as pplt
pplt.rc['cartopy.circular'] = False
fig, ax = pplt.subplots(proj='npstere')
ax.format(coast=True, latlines=10, latlabels=True, boundinglat=65)

@zxdawn In this case you probably want inlinelabels=True. The new user guide goes into more details about different cartopy labelling options.
 import proplot as plot
 plot.rc['cartopy.circular'] = False
 fig, ax = plot.subplots(proj='npstere')
 ax.format(coast=True, lonlabels=True, labels=True, boundinglat=60, inlinelabels=True)

@lukelbd Wow, thanks for the new updates, Excellent!

@lukelbd Strange ... I tested it on my laptop with the master branch and also got the empty label image.
Here's the package info:
matplotlib: 3.4.3
cartopy: 0.20.1

For the inline and label, it still sounds confusing to me.
Let's take the image below as an example:

How can I add lonlabels and enable only latinline, if they are the same?

Passing ax.format(lonlabels=True, latinline=True) means:

Turn on longitude labels, but do nothing to the longitude label "inline mode". Note the "inline mode" is controlled with rc['grid.inlinelabels']. Its default value is False.
Turn the latitude label "inline mode" to True -- and since this probably means you want to draw latitude labels, set latlabels to True as well.

Here's an example with cartopy:
pplt.rc['cartopy.circular'] = False
fig, ax = pplt.subplots(proj='npstere')
ax.format(coast=True, boundinglat=55, latlines=10, latinline=True, lonlabels='lrbt')

Oh, I see. Thanks for the clarification.
Not sure what causes the result to be different from yours:

I will create a new environment later for test.

Yes, I got the same result when downgrading cartopy to v0.19.0.


Fix | Fix issue connecting with instance name from Unix environment

Fixes #868

Just to add on this: if the server only has named instances, then any attempt at opening a connection will throw an exception.
My understanding is that this happens because in resolving "address\instance", the targeted data source becomes in fact "address", which would then point to a non-existing Sql Server. The fix should therefore cover this case too.
Is my assumption correct?

Just to add on this: if the server only has named instances, then any attempt at opening a connection will throw an exception.
My understanding is that this happens because in resolving "address\instance", the targeted data source becomes in fact "address", which would then point to a non-existing Sql Server. The fix should therefore cover this case too.
Is my assumption correct?

Yes, that's correct!
We're also backporting this to v2.1 (PR #874) for next patch release.

Yes, that's correct!
We're also backporting this to v2.1 (PR #874) for next patch release.

Thanks for the blazing fast reply, @cheenamalhotra ! I am happy to hear I will not have to wait until v3 for this fix. 😁
Keep up the good work!

Thanks for the blazing fast reply, @cheenamalhotra ! I am happy to hear I will not have to wait until v3 for this fix. 😁
Keep up the good work!


Incorrect default value for dotfiles in docs for express.static

I think the default value mentioned at https://github.com/expressjs/expressjs.com/blob/gh-pages/_includes/api/en/4x/express.static.md#expressstaticroot-options is incorrect. It says in the table that the default value is 'ignore', but in the detailed docs at https://github.com/expressjs/expressjs.com/blob/gh-pages/_includes/api/en/4x/express.static.md#dotfiles which are linked in the table, it says this:

With the default value, it will not ignore files in a directory that begins with a dot.

The actual default value seems to be 'allow'.
(The docs for v5 have the same table with the same default value but I don't know whether the behavior changed for v5.)

I second that there's an issue but the default value isn't "allow" either, it's just some value that isn't actually any of the three proposed (which is definitely a design flaw, IMHO). The serve-static doc is much clearer on that respect:
https://github.com/expressjs/serve-static/blob/9b5a12a76f4d70530d2d2a8c7742e9158ed3c0a4/README.md?plain=1#L59-L60
The default value is similar to `'ignore'`, with the exception that this
default will not ignore the files within a directory that begins with a dot.

Please fix the doc of express to match! I spent half an hour trying to find a solution to hide my .git folders from my public tree before finding this discrepancy and realizing that, in fact, the solution was to set dotfiles to 'ignore', which is counter-intuitive when express's doc says it is already the default value!

Hey 👋
As of now, the default value of dotfiles property in express.static() is ignore. With the default value it indeed does as the doc says,

Act as if the dotfile does not exist, respond with 404, then call next().

However the line which says the following has to be updated as it indeed ignores the dotfiles as the default behavior. Perhaps even remove this line. https://github.com/expressjs/expressjs.com/blob/4ee32e2dfabffe9fb165e5399758787ddaf78b61/_includes/api/en/4x/express.static.md?plain=1#L41
@bjohansebas would you interested in opening a PR for that?
Also, a bit off-topic, but in case anyone is wondering why is it giving 404 for deny as well, its not. You need to set fallthrough: false to see the actual error in browser (reference: https://github.com/expressjs/serve-static/issues/153).

Thanks @IamLizu for the help, I'll open a PR to fix it

Awesome @bjohansebas 👍

(The docs for v5 have the same table with the same default value but I don't know whether the behavior changed for v5.)

Let's wait for #1599 to be landed first. We can verify for 5 and fix in a different PR if needed.


Capacitor 3 - Feature not available on this platform / device - Android

After updating to Capacitor 3, this error is occurring on android device. I have not checked yet on iOS.
Feature not available on this platform / device

Seems like the plugin was updated to Capacitor 3: https://github.com/jepiqueau/react-data-storage-sqlite-hook/commit/bbca06bc5ef7a8ce7f5a4f66958e02a89093e69c
Can you check if the error still occurs? @dhwalin

It is working now. Yes. Thank you.


Help for configuring reporter

Hi,
I would like to try Catch for unit testing on a embedded platform. We have our own IDE (GCC V4.1.2).
Catch was really impressive coz within few seconds I was able to run unit tests streamed the result to http service and view it using a web browser.
But the problem is - I have no idea how to get different formats of report (xml for eg). (There will be no command line support)
Also the tests will be run in a real-time target system.so I would like to configure the runner in realtime.
Is it possible to get some data regarding this?
(in short, how to configure the reporter format and test runner(without using command line options)). Thanks!

As far as I can tell, this has been mostly solved back in 2013 and there


Improve LSP-specific docs

The documentation was incomplete before. Fix that.

I'll close this for now. Seems like this mostly addresses things that are not even supposed to be working yet.

Okay, I might write some of what you have here into the documentation later.


Sometime on mobile browser button ripple effect freezes the app

Sometime on touch mobile browser, button ripple effect stop working and we can't click that item anymore. See video 00:10s - 00:20s
Effect hold or click random.
Flutter doctor:
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.0.6)
[√] Android Studio (version 2021.1)
[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
[√] VS Code (version 1.64.2)
[√] Connected device (4 available)
[√] HTTP Host Availability
• No issues found!

https://user-images.githubusercontent.com/1293057/155066473-f6e68ac4-0bcf-4597-be5e-a2916e371cd3.mp4

Hi @nghuyy, Thanks for filing the issue. I could reproduce the issue in chrome browser with your deployed app, I tried to reproduce it locally with the below code sample but the issue wasn't reproducible. Please share a minimal and complete code sample to investigate further.

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
  SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
      overlays: [SystemUiOverlay.top]);
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(title: _title, home: Home());
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Material(
      child: Column(
        children: [
          ElevatedButton(
            onPressed: () {
              print('tapped');
              Navigator.of(context)
                  .push(MaterialPageRoute(builder: (_) => const SecondPage()));
            },
            child: Text('tap on screen'),
          ),
        ],
      ),
    );
  }
}

class SecondPage extends StatefulWidget {
  const SecondPage({Key? key}) : super(key: key);

  @override
  _SecondPageState createState() => _SecondPageState();
}

class _SecondPageState extends State<SecondPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const TextField()),
      body: Column(
        children: [],
      ),
    );
  }
}

Thank you. This is an error when binding my code, not is flutter bug. Your sample perfect work


Problems running Glamorous Toolkit in Ubuntu 20.04

I have downloaded the latest version of GT to a /opt/GlamorousToolkitLinux64-v0.8.737/ directory, only user privileges, then added /opt/GlamorousToolkitLinux64-v0.8.737/bin/ to the PATH. First attempt to run,
/opt/GlamorousToolkitLinux64-v0.8.737/bin/glamoroustoolkit&
[1] 6625
[ERROR] 2021-07-02 07:33:46.295 vm_main_with_parameters (src/client.c:71):No image has been specified, and no default image has been found.
Usage: GlamorousToolkit [<option>...] [<imageName> [<argument>...]]
       GlamorousToolkit [<option>...] -- [<argument>...]

Common <option>s:
  --help                 	Print this help message, then exit
  --headless             	Run in headless (no window) mode (default: true)
  --logLevel=<level>     	Sets the log level (ERROR, WARN, INFO or DEBUG)
  --version              	Print version information, then exit
  --maxFramesToLog=<cant>	Sets the max numbers of Smalltalk frames to log
Notes:

  <imageName> defaults to `Pharo.image'.
  <argument>s are ignored, but are processed by the Pharo image.
  Precede <arguments> by `--' to use default image.

OK, fair enough, although the [getting started]https://gtoolkit.com/docs/start/) page mentions

Now, run the image with the virtual machine and you are good to go.

We need to find the image, and here we go again:
/opt/GlamorousToolkitLinux64-v0.8.737/bin/glamoroustoolkit /opt/GlamorousToolkitLinux64-v0.8.737/GlamorousToolkit.image
[Glutin] Profile #0 worked
[Glutin] Profile #0 worked
Usage: [<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
	--help       print this help message
	--copyright  print the copyrights
	--version    print the version for the image and the vm
	--list       list a description of all active command line handlers
	--no-quit    keep the image running without activating any other command line handler
	--deploymentPassword   if a password needs to be used by the user to launch the command
	--readWriteAccessMode, --readOnlyAccessMode, --writeOnlyAccessMode, --disabledAccessMode
	             specify disk access mode, read-write mode as default
	<subcommand> a valid subcommand in --list

	Preference File Modification:
	--preferences-file   load the preferences from the given <FILE>
	--no-default-preferences    do not load any preferences from the default locations

Documentation:
A PharoCommandLineHandler handles default command line arguments and options.
The PharoCommandLineHandler is activated before all other handlers.
It first checks if another handler is available. If so it will activate the found handler.

I can't quite figure this one out. The subcommand seems to be optional. There seems to be no error, and besides, it mentions that the profile actually works. It shows documentationabout the Command Line Handler... But really, no idea. Any  help?

The download page provides the correct command line for Linux:
./glamoroustoolkit GlamorousToolkit.image --no-quit --interactive

You were missing the last two arguments.

I definitely was... But I missed those notes in the download page. Maybe replicating it in the "Getting started" page?

Hmm, the getting started actually looks fine. On the install page, perhaps make the typewriter font a bit more bold or add some spacing between the supported OS versions and the run instructions

This is with font-weight set to 800


[fix][cli] Pulsar shell: do not exit on user interrupt during commands

Motivation
In Pulsar shell if there's a command that is running (e.g client consume) and the user send a SIGINT (ctrl+c) the shell should not exit but it should only stop the current command.
Modifications

Added native signals to JLine terminal to explictly handle SIGINT and SIGQUIT

Note that ctrl+d (SIGTERM) will let the shell to exit in any case. this is done on purpose
Verifying this change
Run client consume without any message in the topic and hit ctrl+c.

[x] doc-not-needed
[ ] doc-complete

/pulsarbot run-failure-checks

Codecov Report

Merging #18615 (a4533e2) into master (cd85a67) will decrease coverage by 12.43%.
The diff coverage is 9.09%.

@@              Coverage Diff              @@
##             master   #18615       +/-   ##
=============================================
- Coverage     47.39%   34.96%   -12.44%
+ Complexity    10479     6497     -3982
=============================================
  Files           698      618       -80
  Lines         68070    58577     -9493
  Branches       7279     6094     -1185
=============================================
- Hits          32264    20483    -11781
- Misses        32228    35378     +3150
+ Partials       3578     2716      -862

Flag
Coverage Δ

unittests
34.96% <9.09%> (-12.44%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


[docs] Replace incorrect instances of defined with define

[x] I have followed (at least) the PR section of the contributing guide.

@surajpoddar16 It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!

@oliviertassinari Are the locales automatically generated?

Yes, with https://translate.material-ui.com/


TTNN Matmul op doesn't support nd1 - nd2 product when d1 < d2

Describe the bug
TTNN Matmul op does not work when the rank of input_tensor_b is greater than the rank of input_tensor_a. According to the public documentation, this kind of product is supported. I am consistently encountering an error when trying to execute this specific operation.
To Reproduce
Steps to reproduce the behavior:
import ttnn
import torch

device = ttnn.open_device(0)

tensor_a = torch.rand(256, 2048)
tensor_b = torch.rand(7, 7, 2048, 256)

tensor_c = torch.matmul(tensor_a, tensor_b)

print(tensor_c.shape)

a_tt = ttnn.from_torch(tensor_a, layout=ttnn.TILE_LAYOUT, device=device)
b_tt = ttnn.from_torch(tensor_b, layout=ttnn.TILE_LAYOUT, device=device)

c_tt = ttnn.matmul(a_tt, b_tt)

ttnn.close_device(device)

Error once the above code is executed:
Always | FATAL    | When in1 rank greater than in0 rank front dimensions need to be 1
Traceback (most recent call last):
  File "/localdev/sdjordjevic/src/tt-metal/simple_test.py", line 17, in <module>
    c_tt = ttnn.matmul(a_tt, b_tt)
  File "/localdev/sdjordjevic/src/tt-metal/ttnn/ttnn/decorators.py", line 326, in __call__
    return self.function(*function_args, **function_kwargs)
RuntimeError: TT_FATAL @ ../ttnn/cpp/ttnn/operations/matmul/device/matmul_op.cpp:1273: input_shape_b[index] == 1
info:
When in1 rank greater than in0 rank front dimensions need to be 1
backtrace:
 --- /localdev/sdjordjevic/src/tt-metal/ttnn/ttnn/_ttnn.so(+0x36f8a8) [0x7ff12df7d8a8]
 --- ttnn::operations::matmul::Matmul::compute_output_shapes(std::__1::vector<tt::tt_metal::Tensor, std::__1::allocator<tt::tt_metal::Tensor>> const&) const
 --- /localdev/sdjordjevic/src/tt-metal/ttnn/ttnn/_ttnn.so(_ZN2tt8tt_metal9operation29generic_create_output_tensorsIN4ttnn10operations6matmul6MatmulEEENS1_21program_output_helperIT_Xsr18has_create_programIS8_EE5valueEE4typeERKS8_RKNSt3__16vectorINS0_6TensorENSD_9allocatorISF_EEEENSD_8optionalINS0_8DataTypeEEENS0_6LayoutERKNSL_INS0_12MemoryConfigEEE+0x46) [0x7ff12e8afd66]

Expected behavior
The expected behavior is that this scenario should work as stated in the public documentation.
Screenshots
N/A
Please complete the following environment information:

OS: Ubuntu 20.04
Version of software: commit https://github.com/tenstorrent/tt-metal/commit/23b968f8cb5ae13b95d876d615599733903ce375

Additional context
N/A

This is related to batching.
tensor_a has implied batching dimensions 1,1
tensor_b has batching dimensions 7,7
Those need to be the same. It's a limitation of how we rely on tensor_a to determine batching parameters.
tensor_a = torch.rand(256, 2048)
tensor_b = torch.rand(1, 1, 2048, 256)

should work
tensor_a = torch.rand(7,256, 2048)
tensor_b = torch.rand(1, 7, 2048, 256)

should work too.
In general, the batch dimensions of the tensors need to be aligned or tensor_b needs to have them be 1, to have meaningful results.
The documentation needs to be made more clear about how batching works.

Updated doc string with this scenario.
Doc string updated via PR https://github.com/tenstorrent/tt-metal/pull/13071


Update README.md

I've done the necessary corrections in the README file. Like changing the opening paragraph and Introduction

Mention the Issue No.


Clean optional native deps

I would like to remove all the optional extras besides libsodium from the repo. We don't have clear compiling instructions and after digging a little bit further, they are not being updated and haven't lost their WIP status. So, my guess is it's safer to just remove them. We could even remove libsodium but I think it has a more stable status currently. Some of the others are tracking old versions of upstream repos. They fail to compile with more modern tooling and that only makes contribution harder.

Fixed on #185


Is this project alive and stable?

Hello! Thanks for this library, but i see that there is no project activity, no new commits, issues, etc.
Is this project still alive and are there any plans to improve (i saw todo list in readme)?
Also, do you use antidote in production?

Hello. :) It isn't dead ! I still have the intention to improve it. ;) However, I have to admit that I haven't worked on it for some time... So thanks for the issue, glad to see someone cares enough to ask !
I've used it in a (relatively small) project in production, and it was quite pleasant to work with. The core of antidote, typically ìnject(), factory()andregister()`, can be considered stable. I don't expect them to change anytime soon. And the project has 100 % test coverage and everything is documented. So while it would be dishonest to say it's battle-tested and 100% production-ready, it's far from being an beta version.
But there are things I'm not satisfied with. In particular how configuration is defined. I've recently played a bit with Pyramid, and I'm quite fond of how they manage configuration. In short, I currently don't intend to add major features or break everything, but wish to improve its usability. It still has some rough edges.
If you have any feature request or found any bug, don't hesitate to create an issue, I will respond in a timely manner and do my best to enhance antidote ! ;)

Great to read such a detailed answer, thanks! I wish you success!

Sorry for replying to a closed issue.
I'm an old Pyramid/Zope guy that has been working for a couple of years on a registry and injection system, built for a particular use (component driven development.) It has a lot of overlap with what you're doing.
If you're still interested in antidote and interested in co-maintainer, I could try to describe things I might need to bring over and see if you're interested in those additions. (And if not, if the core could support it as an extension or something.)

Hello!
I'm still maintaining Antidote, even though I'm not actively working on it. Taking the time to create Python 3.10 wheels just now. :) At the very least, I'm interested in talking! What would like to add or change (roughly)?

component driven development

What are you referring to? From a quick look I have only seen references to UI development.

if the core could support it as an extension or something

Unless you intend to do some radical changes, it would be implemented as an extension to core, like almost everything from the public API: @service, @factory ... antidote.core could be summarized as a hash map with logic for thread-safety, proper lazy dependency instantiation, and function injection. That's it. Its only, although big, limitation I'm aware of is the lack of async support for dependency instantiation.
Could you please open a new issue for further discussion?

I finally (but quietly) published what I've been working on. Here's component driven development where a component is looked up in a registry and injection is used to create it. Here's the docs for the registry
I still need to rewrite the next 3 layers atop this before I'll say anything in public. And I very much need to see what would be missing if I moved ViewDOM to antidote, and create individual tickets along the way.

From a quick look on Hopscotch:

@injectable() is equivalent to @service()
https://antidote.readthedocs.io/en/stable/reference.html#module-antidote.service

@injectable(kind=...) and @injectable(kind=..., context=...) are close to @implementation() and     @implementation(permanent=False) respectively. I did something similar to kind in an earlier version of Antidote. However, I removed it because:

It's complex to track what exists or not, you need to search all subclasses / do a grep. Neither are optimal.
You can't guarantee easily that implementations will be imported before you actually need them.

With @implementation by design requires you to import everything needed before, and you can just do a "go to definition" in
any IDE to dig down the dependency path.
https://antidote.readthedocs.io/en/stable/reference.html#module-antidote.implementation

For get() / context() I didn't check the actual implementation, but I see no reason for it to be a problem in Antidote. Constants & const() have a similar API. Internally const() creates a placeholder that will be replaced by a descriptor by the metaclass Constants, would could be also just be a simple class decorator.
https://antidote.readthedocs.io/en/stable/reference.html#constants

For the point 2), it shouldn't be difficult to add this logic to Antidote if you need it with a custom Provider:
https://antidote.readthedocs.io/en/stable/reference.html#module-antidote.core.provider
Feel free to use emails instead of this issue if you want to keep a low profile. My e-mail is available on any of the commits if you clone this project. ;)


downsize ecs-fargate task

Issue #, if available:
N/A
Description of changes:
Downsized Websocket fargate-ecs-task from (2vCPU, 4GB) to (0.25vCPU, 1GB) based on CPU and Memory utilization.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks @babu-srinivasan
Can you add a note to confirm testing results..  i.e. validate that the downsizing did not introduce any additional latency in audio processing?

Thanks @babu-srinivasan Can you add a note to confirm testing results.. i.e. validate that the downsizing did not introduce any additional latency in audio processing?

Notes on CPU/Memory utilization before and after downsizing:
Current Websocket Server ECS cluster:  1 task (2 vCPU, 4GB Memory), no auto-scaling
Downsized to: 1 task (0.25 vCPU, 1GB Memory), no auto-scaling
Downsizing did not have any negative impact to latencies. Details on the resource utilization:
Max. utilization before downsizing (2 vCPU, 4GB Memory) (tested with two-person meeting, video steaming, etc.):
CPU = ~ 4%
Memory: ~ 3%
Max. utilization after downsizing (0.25 vCPU, 1GB Memory)
CPU = ~20%
Memory = ~5% (spiked to 8%+ at the end of the call during call summarization).
Additional notes:
0.25 vCPU is the lowest possible setting for fargate-ecs task.
512MB is the lowest possible memory setting for a fargate-ecs task.
Decided to go with (0.25 vcpu, 1GB memory) since this configuration still had room for additional load and did not have negative impact on latencies.  Used 1GB for memory (instead of the lowest possible 512MB, in case we need to summarize long calls and the memory spikes up during the call summarization phase).

Awesome - thanks!  I'll merge it now.


[Suggestion] Support for bits

Not sure if its possible but maybe have it set to a minimum number of bits?

Support for Bits would be a new feature and require me to stray away from the simplicity of this tool.
However, I am open for such enhancements as long as they stay within the scope of notifying chat about an events like new subscriptions, followers, bits.
I'll think about adding this. Thank you for your suggestion

Update: I've started refactoring the whole codebase and also including support for bits. Expect an update by the end of 12 September.
You can read more about it in issue #6

I've added support for bits.
Commit 009b34f
Thank you again for your suggestion.

Now closed.


remove placeholders and add your copyright to the apache license

Hey, I'm engaging in good faith here. Also
I honestly don't think its possible for me to hire you a lawyer to give you legal advice.
Filling out the placeholders for your name and copyright date in the Apache license template seems uncontroversial. Just like you add your name to the MIT license.
If you're not interested in this change just close it. No worries.

Apologies for the heavy-handed language, your PR is received with good faith, thank you.
I've done some legal research and asked a few people with greater experience of software licensing.
Where licenses such as MIT provide placeholders for copyright details, the Apache 2.0 license differs in that it provides an appendix with an example for how to apply it to source files.
This appendix is not part of the license so can be removed in its entirety, however, rather amazingly, amending this appendix might constitute a copyright infringement (this is the sort of thing I learn when I ask for legal advice).
Removing the appendix can break some tooling that expects it to be there. Here's an example of a recent change by a Google employee to ensure the complete, original appendix is present in the Apache 2.0 license on a Google-owned repository - https://github.com/google/blockly/pull/2754
What the Apache 2.0 license does provide for is an optional NOTICES file to contain copyright details such as year and name. I'd be very happy to include such a file in this repo if it helps tooling detect and/or enforce open source licenses.
http://www.apache.org/dev/licensing-howto.html

this is really interesting. It seems like i was wrong about why the error appeared because my change is clearly wrong.


Add option to clean pyc files

Would appreciate comments/concerns before I try to PR upsteam
@jliviero @mikepurvis @ablakey @guillaumeautran

I'd prefer to have the flag and internal variables be named a little more meaningfully.  Even "--pyc-delete" or similar, so that it's very explicit what is being done.
Then again it's in the catkin_clean tool, so perhaps it's implied.

For my upstream PR, what's the exact situation we're mitigating here? When exactly is the .pyc that remains 'stale'? Only when the original .py has been (re)moved?

I've seen it occur when the .py still exists as well - I don't know what the root cause is.
Possibly when the .pyc is built, then the .py file is pulled from the source repo but has a less-recent modification date?


NF-CORE MODULE: Magus

Description of feature
add magus

PR here: nf-core/modules#3839

Closed by #127


fix: move getFeatureFlagsBaseOnAPIFlag from custom_task_test to another file

/kind cleanup
fixes #7269
this is a rebased PR.
Changes

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

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

@Yongxuanzhang
hey there , idk if this PR is okay now , if there are any changes required then inform me please
thanks ..

why it's still saying that it's not mergeable , someone help me ??

A PR needs to pass all the ci, and gets lgtm approval from reviewers before it is merged.
Can you squash your 5 commits into 1 ?


[fix](dynamic partition) fix create dynamic partition with overlap not throw exception

PR #35778  will throw exception if dynamic partition overlap with others.  Don't throw exception due to considering no behaviour change.  Just ignore create this partition.
SQL:
PARTITION BY RANGE(`dt`)(
PARTITION `phistory` VALUES less than ('2024-01-01')
)
DISTRIBUTED BY HASH(`user_id`, `room_id`) BUCKETS 3
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.end" = "10",
"dynamic_partition.prefix" = "p",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "250"
);

error:
ERROR 1105 (HY000): errCode = 2, detailMessage = errCode = 2, detailMessage = errCode = 2, detailMessage = Range [types: [DATEV2]; keys: [0000-01-01]; ..types: [DATEV2]; keys: [2024-01-01]; ) is intersected with range: [types: [DATEV2]; keys: [2023-12-29]; ..types: [DATEV2]; keys: [2023-12-30]; )

run buildall

run buildall

run buildall

run p0

run cloud_p0

run buildall

run p0

run external

run cloud_p0


Rearrange js sections

What does this PR do?
Improve repo
For resources
Description
Re-arrange JS subsections to JS to avoid confusion + merged weird split of Angular content
Why is this valuable (or not)?
Better overview
How do we know it's really free?

For book lists, is it a book? For course lists, is it a course? etc.

Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

see #4940
I don't know enough about Angular to know if this PR is reversing that decision or implementing that decision for newer additions.
The other changes look good, perhps the concerns could be split?

Oh wow, didn't even realize they were two separate things. Clearly I do not know enough about Angular either 😅
Regardless, splitting the TS changes from the Angular changes sounds like a good idea.

Hm, true thing. But in any case, this should be a JS thing, thats true. I'll split Angular and AngularJS then!

thanks!
(please forgive if I am terse, have many PRs to review.)

Pushed. Decided to make it a sub of Angular, so that people will see there's a distinction.

Thanks!