Custom tabs are opened in web browser on mobile.

We are having an issue with how the Teams Mobile App opens our custom tabs.
When clicking our custom tabs in the Teams Mobile App, the app opens the tab in a web browser rather than in the app itself.
selecting 'Open' in the context menu opens the tab in the app as expected.
This problem only seems to occur on teams where the app has been installed from the App Catalogue. When sideloaded as a Custom App, the Teams Mobile App opens the tab as expected.

Hi @Noja13it  could you please provide us your manifest so that we can test from our end?

I should probably clarify that we use configurable tabs so they are not defined in our manifest. We either configure them in teams or we add them through the Graph API.
Here's our code for configuring the tabs in teams:
microsoftTeams.settings.registerOnSaveHandler(function (saveEvent) {
    let tab = $('#tab-select').val()
    let displayname,
      entityId = ''
    switch (tab) {
      case 'challenge':
        displayname = 'Challenge'
        entityId = 'challengelink'
        url =
          '/view/challenge?groupId={groupId}&teamId={teamId}&channelId={channelId}&tenantId={tid}&theme={theme}'
        break
      case 'ideabank':
        displayname = 'Search Ideas'
        entityId = 'ideas'
        url =
          '/view/ideas?groupId={groupId}&teamId={teamId}&channelId={channelId}&tenantId={tid}&idea={subEntityId}&theme={theme}'
        break
      case 'custom':
        let customname = $('#custom-tab-name').val()
        let customurl = $('#custom-url').val()
        let hash = hashString(customurl)
        displayname = customname
        entityId = `custom-${hash}`
        url = `/view/custom?groupId={groupId}&teamId={teamId}&channelId={channelId}&tenantId={tid}&theme={theme}&email={userPrincipalName}&customurl=${encodeURIComponent(
          customurl
        )}`
        break
      default:
        ''
    }
    microsoftTeams.settings.setSettings({
      suggestedDisplayName: displayname,
      contentUrl: createTabUrl(url),
      entityId: entityId,
      websiteUrl: createTabUrl(url),
    })
    saveEvent.notifySuccess()
  })

Here's our code for creating them via the Graph API:
def create_tab(self, graph_token, group_id, channel_id, displayName, entity_id, content_url, web_url, remove_url = None):
        response = requests.post('https://graph.microsoft.com/v1.0/teams/' + str(group_id) + '/channels/'+ str(channel_id) + '/tabs', headers = {
            'Authorization': 'Bearer {}'.format(graph_token),
            'Content-Type': 'application/json'
        }, data = json.dumps({
            'displayName': displayName,
<EMAIL_ADDRESS>'https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/' + current_app.config['TEAMS_APP_ID'],
            'configuration': {
              'entityId': entity_id,
              'contentUrl': content_url,
              'websiteUrl': web_url,
              'removeUrl': remove_url
            }
        }))
        if response.status_code == 201:
          return True

        return False

And here's our manifest
{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
  "manifestVersion": "1.5",
  "version": "1.1.0",
  "id": "2a64f929-bed9-44d9-aa65-d7b921889959",
  "packageName": "online.wideideas.teams",
  "devicePermissions": [
    "geolocation",
    "media"
  ],
  "developer": {
    "name": "Wide Ideas",
    "websiteUrl": "https://getwideideas.com",
    "privacyUrl": "https://getwideideas.com/privacy-policy",
    "termsOfUseUrl": "https://getwideideas.com/terms"
  },
  "name": {
    "short": "Wide Ideas",
    "full": "Wide Ideas app for Microsoft Teams"
  },
  "description": {
    "short": "Transform Microsoft Teams into a powerful digital innovation platform.",
    "full": "Innovate through the world’s most used collaboration hub with our innovation management software.\n\nWhat does the Wide Ideas app for Microsoft Teams give you?\nWide Ideas app for Microsoft Teams makes idea sharing more agile, increases engagement and delivers higher quality ideas\n\n- Greater Exposure to New Ideas Helps to extend the reach into the organisation and explore cross-functional and cross-geography ideation\n- Focused Problem Solving Ability to push business challenges to specific Microsoft Team channels for more focused crowdsourcing\n- Increased Employee Engagement Empowers employees to ideate through their company hub as part of their everyday engagement activity\n \nWide Ideas app for Microsoft Teams also connects seamlessly with the Wide Ideas - Idea Management platform. This means you still have all the power of the primary software solution, including AI powered analytics, helping to accelerate the decision-making process for management.\n\nTo use it, you need to be a customer of Wide Ideas. If you are not already a customer of Wide Ideas feel free to contact us on<EMAIL_ADDRESS>  },
  "icons": {
    "outline": "logo_32x32.png",
    "color": "logo_192x192.png"
  },
  "accentColor": "#00b8e4",
  "configurableTabs": [
    {
      "configurationUrl": "https://wide-teams-prod.wideideas.online/view/tab/config?channelId={channelId}&theme={theme}",
      "canUpdateConfiguration": false,
      "scopes": [ "team" ]
    }
  ],
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
    "wide-teams-prod.wideideas.online"
  ],
  "webApplicationInfo": {
    "id": "0d56e89d-8356-457f-89a2-618386a39eb8",
    "resource": "api://wide-teams-prod.wideideas.online/0d56e89d-8356-457f-89a2-618386a39eb8"
  },
  "bots": [
    {
      "botId": "419fd9ff-3398-464f-87e4-de931f7c8b83",
      "scopes": [
        "team"
      ],
      "commandLists": [
        {
          "scopes": [
            "team"
          ],
          "commands": [
            {
              "title": "help",
              "description": "Displays help information about the Wide Ideas application."
            }
          ]
        }
      ]
    }
  ]
}

@Noja13it , We tried to repro by utilizing your code and manifest, unfortunately it uses some authentication for which we are not able to reproduce your app.
Could you please help us by providing some screenshot?

@Noja13it Any update?

@Saonti-MSFT Yes, sorry for the delay.
Here is a screen capture of our issue: https://streamable.com/ptrn2q

@Noja13it, I see in the video, a challenge tab opens in the team as expected. So is it sideloaded?

@Saonti-MSFT Correct. The app has been sideloaded in the team 'Teams demo group'.

Thanks @Noja13it , Let me check once again and get back to you soon.

Are there any updates on this?

Hi @Noja13it, I have followed the instructions given by you but, I am unable to repro the issue. It's working fine. PFA for more info.
https://user-images.githubusercontent.com/78795357/111730487-8b185900-8897-11eb-8604-f469f430dc33.mp4

@Mamatha-MSFT That is unfortunate, we are currently at a loss for how to approach this issue. Would it help in any way If we gave you access to a team that is experiencing the issue? I don't know if that would be useful in diagnosing this problem?

@Noja13 Could please confirm are you facing this issue in desktop application as well.

@Mamatha-MSFT We do not experience this issue in the desktop client. Clicking a tab renders the page within the desktop client as expected.

@Noja13it Selecting Tab opens the content using the websiteUrl in the default web browser on the device if it is not optimized for mobile clients. Pease go through this documentation.  Please check in setSettings() configuration must have a value for the websiteUrl property.
and also can you please confirm did all the users in your organization are facing the issue or only one person? If the issue is for one person Can you please share the mobile model and version details.

@Mamatha-MSFT This issue is experienced by all users. We will look into the possibility that this issue is related to mobile optimization. Thank you pointing that out.

@Noja13it Please let us know if your issue has been resolved.


Servers support in OpenAPI v3 in APIM

When can we expect support for servers in pathItem and Operations object of OpenAPI v3 ?

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

ID: be16b5c5-40c4-3e6c-0b0d-840373c63f9f
Version Independent ID: ced6b3ba-8da1-dd3d-9d1c-8a21dabd44fe
Content: Restrictions and details of API formats support - Azure API Management
Content Source: articles/api-management/api-management-api-import-restrictions.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

Hi, we are investigating your issue and will update you shortly.
Best,
James

@sourabhkrishna Unfortunately, there is no public roadmap available to share but you can check for updates on Azure Updates.
Since there is no doc update required, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


docs(community): Update mercari logo

What does this PR do?
Replace Mercari logo to new one.
Motivation
Mercari renewed the logo recently and they prefer not to use old logo.

Thanks!

:+1:


layered button added

added layered button in the animated class

@angetheo-auth  Are you sure you copied the changes from the main repository? Because it keeps showing that there's a conflict between the two files and I can't resolve it.
You can try deleting the file and downloading it from this repository.

i tried deleting the file and downloading it from the main branch but github shows no changes to commit, since i copy pasted the content of it in my last push

@angetheo-auth Are you copying from your forked repository or this one? Because there has been changes in this one.

i am not copying from my fork

The only solution here is if we close this PR and you can submit another one.


Add 'deltarpm' true/false configuration

Adds deltarpm=0 or deltarpm=1 to yum_globalconfig.
The proposed default is nil because, at least on CentOS 7, the directive does not exist by default in /etc/yum.conf; it will only be added to a yum_globalconfig file if you explicitly say true or false. Also, having the default as nil prevents any errors by default on systems that do not record deltarpm= as a valid parameter since you must explicitly add it.
By setting node['yum']['main']['deltarpm'] = false, you can prevent the "Delta RPMs disabled because /usr/bin/applydeltarpm not installed" warning from CentOS 7 and be more likely to not have any STDERR output on properly configured systems.

For what it's worth, the build failing is not a result of the PR diff. Because the default behavior is to not include anything for deltarpm in the yum_globalconfig file, the build is likely failing on the master branch code too. I hope the failing check therefore does not impact the viability of this being accepted.


Implement write forwarding

This pull request implements the ability for a non-primary node to borrow the lock on a database, execute a write transaction, and then ship the resulting LTX file back to the primary for replication. This results in a slower transaction than if the write were issued directly on the primary because it requires 2 round trips. However, it allows for easier usage as writes can be directed to a single region instead of being directed to a single node.
Note: The commit & rollback are implemented but this PR still needs some clean up.

There's a timing issue with the rollback journal mode. The remote transactions can start on stale data when they initialize as read-only transactions. Then the replica waits to catch up to the current data when it tries to upgrade to a write transaction. However, SQLite holds reads before this catch-up in cache so it's holding onto stale pages. This causes an issue both with the SQLite transaction but also with the journal writes since they will be writing old pages.
I may merge part of this PR in since the RPC side works well but this may need to be reworked for WAL mode (#14) only.

Closing this until WAL mode is implemented in order to get around the SQLite page cache issue.


Feature request: ResNet34

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using): 2.3.1
Are you willing to contribute it (Yes/No): no

Describe the feature and the current behavior/state.
create ResNet34 similar to https://www.tensorflow.org/api_docs/python/tf/keras/applications/ResNet50
Will this change the current api? How?
I don't think so. Hopefully it's an easy adaption of ResNet50 code.
Who will benefit with this feature?
People like me who are new to DL and Transfer Learning. With ResNet34 being smaller that ResNet50 I can iterate and learn quicker.
Any Other info.
I believe there are a few implementations outside of tf:
https://github.com/calmisential/TensorFlow2.0_ResNet
https://github.com/taki0112/ResNet-Tensorflow
https://github.com/qubvel/classification_models

This issue will be closed once this PR merge. Thanks!

@raybellwaves,
Added the implementations of ResNet34 in keras-cv. For more details please refer PR. Thank you.


WIP: Add an option to expand missing features for explain_prediction

In some cases it can be interesting to check what features are missing during prediction, because missing feature weight can be higher than the sum of all active features. Here expand_missing_features option is added.

 Last update 2db34a0...e4469b0

I think https://github.com/TeamHG-Memex/eli5/pull/123#discussion_r94042895 + #126 is a cleaner approach :)


Fixes hyphenation-quality

Allong that way we updated the minimum requirement to supported PHP-Versions

Coverage decreased (-0.002%) to 99.182% when pulling c7c3de8fec2654b8e96672ff492a84d3f13e775c on fixQuality into 9a8ac28f654e1ec0779caaffe57edcd2575973f6 on master.


Fix coveragerc to correctly omit generated files

@tseaver thanks. I merged because it's just a tooling change. :)


fix(actions): swap sha256sum for shasum -a 256

This addresses an issue in macOS builds may be impacting caching. The command sha256sum which doesn't exist in macOS-latest is replaced with shasum -a 256 which is present in both ubuntu-latest and macOS-latest
Closes #1389

Use Python's hashlib module (see my inline suggestions).
Use the cache key computation from Poetry's own CI config.
Make this step conditioned on the OS and add another one with sha256sum for Windows.

I'm leaning towards solution 2, but solution 1 is less intrusive. Solution 3 adds too much duplicate code for my taste, but I wanted to mention it nevertheless.

I like solution 2 best as well. It's a lot more readable while solution 1 is pretty hard to parse.

@sisp Can I get another workflow run?

Looks like that didn't work for the windows install either.
Run echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
  echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    LANG: en_US.utf-8
    LC_ALL: en_US.utf-8
    PIP_CACHE_DIR: D:\a\copier\copier/.cache/pip
    POETRY_CACHE_DIR: D:\a\copier\copier/.cache/pypoetry
    POETRY_VIRTUALENVS_IN_PROJECT: true
    PRE_COMMIT_HOME: D:\a\copier\copier/.cache/pre-commit
    PYTEST_ADDOPTS:
    PYTHONIOENCODING: UTF-8
    pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
    PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
    Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
    Python[2](https://github.com/copier-org/copier/actions/runs/6683900995/job/18160692065?pr=1390#step:5:2)_ROOT_DIR: C:\hostedtoolcache\windows\Python\[3](https://github.com/copier-org/copier/actions/runs/6683900995/job/18160692065?pr=1390#step:5:3).9.13\x6[4](https://github.com/copier-org/copier/actions/runs/6683900995/job/18160692065?pr=1390#step:5:4)
    Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64

Cache restored successfully
Cache restored from key: cache|Windows||212c846ea7c96894e2ee344b3ed706190f898f3da49de7092b13c63149eea81b|c860f4[5]

I set up a test PR into my own fork so I can run the workflows myself. I'll probably test option 1 next and see if I can make it clearer and readable.

@sisp This is now passing all tests and generates cache keys on all platforms.


Add missing tags to Crops

It's been mentioned before on this repo, but I'd like to be more specific.
MANY tags are missing from Cultural Delights crops, and they affect them not only through mod compatibility, but also through inconsistency with vanilla Minecraft crops.
As an example, here is what a Farmer's Delight seed's tags look like:

As compared to a Cultural Delight seed:

Because of the lack of tags, this means it cannot properly interact with Kamas and Scythes from Tinker's Construct 3, it cannot be used as a valid option for the creation of Twilight Forest's portal (not like you would but still,) and it also doesn't have any valid fertile season set with Serene Seasons. However, it also cannot be grown by a Bee's pollen, which is a trait all vanilla Minecraft crops share.

Can confirm, a lot of vanilla tags are missing


navbar changes

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes # <your_issue_number>

Mark the task you have completed ✅

[ ✅] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[✅ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in GameZone's README.md
[ ] I have added README.md in my Game folder
[ ] I have added working video of the game in README.md (optional)
[ ] I have specified the respective issue number for which I have requested the new game.
[ ] I have added my Game to gamesData.json file and it is loading properly on main website as intended.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @shrexxs ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @shrexxs , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


🐛 [device/parallel-video-processing-not-supported] It seems I can't use frameProcessors for some Samsung devices

What were you trying to do?
Hi guys,
As mentioned in the title, I can't use frameProcessors for some Samsung devices (Samsung A51, A52, A53...).
I'm using this awesome library react-native-vision-camera combined with vision-camera-code-scanner to scan barcodes for my application.
It works perfectly with my others devices (Google Pixel 4A, iPhone X...) but with those Samsung devices, the camera component doesn't even initialize and I have this error message:

[device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing (video={true} + frameProcessor={...}). Disable either video or frameProcessor. To find out if a device supports parallel video processing, check the supportsParallelVideoProcessing property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/devices#the-supportsparallelvideoprocessing-prop for more information.]

I understand that the device doesn't support parallel video processing device.supportsParallelVideoProcessing = false but I should be able to disable the video and activate frame processors. (Cf documentation)

Camera devices provide the supportsParallelVideoProcessing property which determines whether the device supports using Video Recordings (video={true}) and Frame Processors (frameProcessor={...}) at the same time.
If this property is false, you can either enable video, or add a frameProcessor, but not both.

Reproduceable Code
import { Camera, useCameraDevices, sortFormats } from 'react-native-vision-camera';
import { useScanBarcodes, BarcodeFormat } from 'vision-camera-code-scanner';

export const CameraComponent = props => {
    const [frameProcessor, barcodes] = useScanBarcodes([...]);

    // Camera configuration (ref, isFocused, isActive, device, format...)
    [...]

    if (device == null || permission === 'denied') return [...]

    return (
        <Camera
            ref={camera}
            device={device}
            isActive={isActive}

            // Disable video and should be able to use frameProcessor
            photo={true}
            video={false}
            audio={false}
            frameProcessor={frameProcessor}
            frameProcessorFps={frameProcessorFps || 1}

            flash={supportsFlash ? flash : 'off'}
            lowLightBoost={device?.lowLightBoost}
            fps={fps}
            {...(preset
                ? { preset }
                : {
                      format: format,
                      hdr: format?.supportsPhotoHDR,
                  })}
            onInitialized={onInitialized}
            onError={onError}
            style={StyleSheet.absoluteFill}
        />
    )
}

What happened instead?
This gives me a black screen if the device's supportsParallelVideoProcessing property if false. I thought that I would fix this by disabling the video, but nope 😅 ! Can you help me with this ?
Tell me if you need more information. 🙏🏻
Relevant log output
[device/parallel-video-processing-not-supported] The given **LEGACY Camera device does not support parallel video processing** (`video={true}` + `frameProcessor={...}`). Disable either `video` or `frameProcessor`. To find out if a device supports parallel video processing, check the `supportsParallelVideoProcessing` property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/devices#the-supportsparallelvideoprocessing-prop for more information.]

Device
Samsung Galaxy A53 5G (SM-A536B/DS)
VisionCamera Version
2.14.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Same issue posted on vision-camera-code-scanner repo

Did you find any workaround for this issue?

No unfortunately, sorry for late answer 😅

This has been fixed with the full rewrite in VisionCamera V3 as we no longer need the parallel video processing prop 🥳


fixed bug that includes zero in calculating average of the last four weeks of service

It's working beautifully @ahadziii. Waiting for a few more edits from @dabick14 then we can merge this branch


Remove non-sense angle brackets.

Proposed changes
Remove non-sense angle brackets.
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit f6deeeafd1b61079d306cf037b5072a5ce529614
https://deploy-preview-8149--docsdocker.netlify.com

thanks for the catch!


Default to bigger remote_write sends

Fixes #5166
Raise the default MaxSamplesPerSend to amortise the cost of remote calls across more samples. Lower MaxShards to keep the expected max memory usage roughly the same.
Some adjustment of comment wording to make them less easy to misunderstand.

Not against this per se, but we need to do the maths wrt to all the other params to make sure it makes sense.  For instance, the queue wait time might need tuning.  Plus with bigger batches I think you might be more likely to hit a quasi live lock in the sharding code when one shard gets stuck.  Lets get 2.8 release out in the next few days then come back to this.

Is there any update on this, dear remote-write experts?

@beorn7 I don't think this is ever getting merged but applying the suggested defaults using the Prometheus config file did bring its memory usage in check.

I'm really not qualified when it comes to remote-write. @tomwilkie @bboreham @cstyan @csmarchbanks (semi-randomly picked experts on the matter) WDYT about this PR ?

(Context: We reached this during our weekly bug scrub, and the people in the room couldn't make a call here on their own.)

You can see some recent conversation in https://github.com/prometheus/prometheus/issues/5166 around what default values to choose. I proposed 500, as I have seen some systems start to break down with 1000 samples per send. Once we have a better default decided Bryan can feel free to update this PR, or someone can make a new one.

@bboreham Do you have any interest in resurrecting this PR and setting the default to 500 samples per send/200 max shards as discussed in #5166?

Sure.

I have updated this PR to 200 shards and 500 samples.

This seems a big change -- since it has been in the making for a very long time and would require a RC it will be for prometheus 2.22.


Use core 3.1.0 and add h3Distance

H3-Java's next version will be 3.1.0.

Pull Request Test Coverage Report for Build 68

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 98.784%

Totals

Change from base Build 67:
0.02%

Covered Lines:
325

Relevant Lines:
329

💛  - Coveralls


debug: disable health probes until a first instance is running

Ref: https://github.com/jenkins-infra/helpdesk/issues/2855#issuecomment-1089042558


Introduction/Warm up/Finish the game

Tests are bad - said Correct for wrong fun safeUserInput(wordLength: Int, alphabet: String) {
println("Please input your guess. It should be of length $wordLength, and each symbol should be from the alphabet: $alphabet.")
val input = safeReadLine() - (function is not done yet)

Input validation is not part of the task in newer versions of the course, so this issue is obsolete.


"Run to Cursor" should start a debugging session right away (with implicit breakpoint)

Currently "Run to Cursor" only works if a debugging session is already started, and its utility consists in letting the user debug a routine without the need to single step every instruction (and without the annoyance of having to explicitly set a  breakpoint each time).
I propose to extend the use-case of "Run to Cursor" to include automatically starting a debugging session and stopping the execution at the currently selected line.
(This btw is the standard behavior of most modern IDEs, including VS).
I think this simple enhancement could greatly improve the debugging experience of python developers under vscode.

Hi @carlo-salinari,
The extension doesn't control the "Run to Cursor" command, rather it's implemented upstream in VS Code.
You can see that it's not specific to the Python extension if you try to replicate the behaviour with a JavaScript file:

And only when I start a debugging session does "Run to Cursor" become available:

Your best bet would be to file this feature request against VS Code directly, and specify clearly that it's not specific to the Python extension, otherwise they'll send you back here.
Thanks!


Looking for information on stack files for Swarm? link does not work

File: docker-cloud/apps/stacks.md, CC @londoncalling
"Looking for information on stack files for Swarm?" this link no longer works.

@caylorme I can't find any broken links in the file you referenced ^^ https://docs.docker.com/docker-cloud/apps/stacks/. If you have links related to the old Getting Started voting app tutorial, that has been replaced by this tutorial: https://docs.docker.com/get-started/
Swarm documentation is here: https://docs.docker.com/engine/swarm/
Does this help?

Hey @londoncalling, I'm not sure why it automatically added that particular page to the issue, the proper URL (currently live) that was supposed to be referenced is this one:
https://docs.docker.com/docker-cloud/apps/stack-yaml-reference/
Specifically the text "Looking for information on stack files for Swarm?" just above the "Stack file example" header. The link redirects you here: https://docs.docker.com/compose/compose-files/
This page's header is "Sorry, we can't find that page"
Image below:


Additional methods to allow more customization

This plugin is really great but I needed a little bit more customization options.
I've added methods to:

Manage the HTML attributes for the Option element
Manage the HTML attributes for the Description element
Manage the padding of the decks
Manage the Flex Direction of the decks
Manage the gap between the Icon and the Texts.

Thank you @AlexisSerneels ! This is now in new release!


register_targets fails if application load balancer state is not 'active'

Context
When running a new deploy, the register_targets step fails if it's reached before the Application Load Balancer is in active state.
Expected Behavior
Wait for Application Load Balancer to become active before continuing.
Actual Behavior
deploy_lambda_alb currently gets a waiter using get_waiter, but never actually calls waiter.wait
Possible Fix
At line 1341 in core.py, add the following:
        waiter = self.elbv2_client.get_waiter('load_balancer_available')
        print('Waiting for load balancer [{}] to become active..'.format(load_balancer_arn))
        waiter.wait(LoadBalancerArns=[load_balancer_arn], WaiterConfig={"Delay": 3})

Your Environment

Zappa version used: 0.48.2, 0.49.0, 0.50.0
Operating System and Python version: Ubuntu 16.04.6, Python 3.7.5

Fixed in 0.51.0.


adding a test with an alignment that contains seqs with duplicate IDs.

Addressing issue #53

Coverage increased (+0.05%) to 94.643% when pulling d771e2ea586bb0c626a96d5a6cea474a15f7b933 on sjanssen2:fix_neff into af0bf89dd4202f3815b5be32bd1983b359b43431 on biocore:master.

Coverage increased (+0.1%) to 94.69% when pulling b85d41b0ca292120f800723a16071f3707dff2e9 on sjanssen2:fix_neff into af0bf89dd4202f3815b5be32bd1983b359b43431 on biocore:master.


Pushing updated project files

Pushing updated project files

moving to sbt version 1.x

moving to scala version 2.12.6

[X] Code changes

[X] Tests

[X] Documentation

Awesome @dandxy89, thanks!


feat(frontend): support xml, yaml format in explain output

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Please do not leave this empty!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
support xml yaml output formats in explain
How does this PR work? Need a brief introduction for the changed logic (optional)
adding two keywords and two methods to serialize plan output
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)
Refer to a related PR or issue link (optional)
https://github.com/risingwavelabs/risingwave/issues/19123

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[x] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.
Release note
Public Preview: Do note that the structure and format of EXPLAIN FORMAT YAML, XML is considered unstable, and may change overtime.
After this PR, two new explain option are supported
FORMAT (XML | YAML)
For FORMAT XML, it will output xml for logical and physical plans.
For FORMAT YAML, it will output xml for logical and physical plans.
examples:
YAML
CREATE TABLE t (v1 int);
    explain (physical, format yaml) create materialized view m1 as SELECT approx_percentile(0.5) WITHIN GROUP (order by v1) from t;

YAML result
    name: StreamMaterialize
    fields:
      columns:
      - approx_percentile
      pk_columns: []
      pk_conflict: NoCheck
      stream_key: []
    children:
    - name: StreamGlobalApproxPercentile
      fields:
        quantile: 0.5:Float64
        relative_error: 0.01:Float64
      children:
      - name: StreamExchange
        fields:
          dist: Single
        children:
        - name: StreamLocalApproxPercentile
          fields:
            percentile_col: $expr1
            quantile: 0.5:Float64
            relative_error: 0.01:Float64
          children:
          - name: StreamProject
            fields:
              exprs:
              - t.v1::Float64 as $expr1
              - t._row_id
            children:
            - name: StreamTableScan
              fields:
                columns:
                - v1
                - _row_id
                table: t
              children: []

XML
 CREATE TABLE t (v1 int);
   explain (physical, format xml) create materialized view m1 as SELECT approx_percentile(0.5) WITHIN GROUP (order by v1) from t;

XML RESULT
<XmlNode><name>StreamMaterialize</name><fields><columns>approx_percentile</columns><pk_conflict>NoCheck</pk_conflict></fields><children><name>StreamGlobalApproxPercentile</name><fields><quantile>0.5:Float64</quantile><relative_error>0.01:Float64</relative_error></fields><children><name>StreamExchange</name><fields><dist>Single</dist></fields><children><name>StreamLocalApproxPercentile</name><fields><percentile_col>$expr1</percentile_col><quantile>0.5:Float64</quantile><relative_error>0.01:Float64</relative_error></fields><children><name>StreamProject</name><fields><exprs>t.v1::Float64 as $expr1</exprs><exprs>t._row_id</exprs></fields><children><name>StreamTableScan</name><fields><columns>v1</columns><columns>_row_id</columns>
t
</fields></children></children></children></children></children></XmlNode>

Thanks for your contribution!
There are more related issues for EXPLAIN: https://github.com/risingwavelabs/risingwave/issues/19361. If you're interested, feel free to contribute for these as well.

Could you also add a Release Note, since this is a new feature.
You can provide an example of usage for explain (format json) and explain (format yaml).
You may take a look at the Release Note from https://github.com/risingwavelabs/risingwave/pull/19041.

Could you also add a Release Note, since this is a new feature. You can copy the Release Note from #19041, and adapt it for yaml and xml formats.

Yes i mirrored the release note with the example pr, do we also need the release note in commit msg?

Could you also add a Release Note, since this is a new feature. You can copy the Release Note from #19041, and adapt it for yaml and xml formats.

Yes i mirrored the release note with the example pr, do we also need the release note in commit msg?

No just PR description is fine.


[terra-graph-docs] Update reflow docs

Summary

This PR adds additional examples & documentation for reflow.
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[x] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-XXXX

Thank you for contributing to Terra.
@cerner/terra

@adoroshk Fixed here: ad12ceb43fd0d55196a5ed99dc7283966c3d674b


only run precompile workload when generating output

otherwise we run code at module load each time.

otherwise we run code at module load each time.

This is not really true, the toplevel code only runs during precompilation (or if you load the module and have turned off precompilation).

Seems like this change is desirable so that this code isn't run when recompilation is off though, no?

I should have clarified that the main rationale for this is to make Downloads work at using time with juliac. I am not sure if juliac's compilation model is broken, but I felt that regardless this would be a strict improvement.
I supposed backwards compat needs to be fixed as well.

Note that https://github.com/JuliaLang/Downloads.jl/pull/242 is also required for juliac compatibility.

This fails on earlier julia versions, I think you need to use the ccall to be compatible.


Support waiting for regular pong and thin block pong at the same time.

Fixes a bug where a thin block pong is interpreted as a regular pong.
This caused the block download to time out.

utACK


Can't execute multiple statements

yanagishima version: 17.0
presto version: 0.215
conf/yanagishima.properties:
jetty.port=8090
presto.query.max-run-time-seconds=1800
presto.max-result-file-byte-size=1073741824
presto.datasources=your-presto
presto.coordinator.server.your-presto=http://server:8080
catalog.your-presto=hive
schema.your-presto=default
select.limit=500
audit.http.header.name=some.auth.header
to.values.query.limit=500
check.datasource=false
hive.jdbc.url.your-hive=jdbc:hive2://server:10000/default;
hive.jdbc.user.your-hive=hive
hive.jdbc.password.your-hive=password
hive.query.max-run-time-seconds=3600
hive.query.max-run-time-seconds.your-hive=3600
resource.manager.url.your-hive=http://server:8088
sql.query.engines=presto,hive
hive.datasources=your-hive
hive.max-result-file-byte-size=1073741824
hive.setup.query.path.your-hive=/usr/local/yanagishima/conf/hive_setup_query_your-hive
cors.enabled=false
JVM version (java -version): openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
Server OS version (uname -a if on a Unix-like system): CentOS 3.10.0-957.1.3.el7.x86_64 #1 SMP
Client OS version
Browser: Chrome - Version 71.0.3578.98 (Official Build) (64-bit)
Description of the problem including expected versus actual behavior: Cannot execute multiple statements separated by ";"
Steps to reproduce: Example:
Please include a minimal but complete recreation of the problem, including
(e.g.) query execution, bookmark, settings, history etc.  The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

drop table <catalog.schema.tablename>;
create table <catalog.schema.tablename> as select * from <catalog.schema.tablename>;

Provide logs (if relevant):
Provide screenshots (if relevant):

@greendisc777 Even if we use Presto as the datasource, we can't execute multiple statements for now.

The Presto CLI supports executing multiple statements in a file with each line terminated by ";"

Yes, I knew it. The hard point isn't parsing the queries. As mentioned in #24, simply it requires many changes. Please imagine multiple SELECT queries.


API Key for recognize_google()

This is not a issue, rather I want to share my findings
Since I can see a lot of issues getting created around recognize_google(), I thought I will share my findings.
First steps, how do you get an API key of your own for recognize_google()

Follow steps in Chromium dev.
First get yourself a google cloud console account and create a project.
With the same email, join the Chromium dev group. You can select "No email" if you want.
In the left menu, go to API & Services -> Library.
Search "Speech API", you can see it is a private API. Meaning, you can access this only if you join  Chromium dev group.

Enable the API and go to credentials page in the same API & Services.
Click on create credentials and select API Key, a key will be generated (restrict this API key to Speech API only if you want).

And there you have it, your own API key that you can use with recognize_google()
Few thoughts on Speech API
It doesn't look like the Speech API incurs cost, and is advisable to use only for development/testing purposes.
So, please don't use this for production as it is in the control of Google.
Although in my testing, accuracy of Speech API > Cloud Speech API (for Japanese languge).
Final Thoughts
I know, this is too much information. Please ask, if you are stuck anywhere.
Also please don't forget to gitignore your .env file before pushing.
If you didn't then no worries, Our API Key 🤝.

Do you think it's more accurate?


Add Reinforcement learning as Extra resource

Hey Daniel ^^ , mind if u add reinforcement learning and how to start with it in learnpytorch.io extra resources , since it's so fun and I like it since it's more fun than others supervised and unsupervised  for me . thanks ^^

Hey @MezoPeeta ,
Great suggestion!
For now, my own reinforcement learning skills aren't quite good enough to create a course section from.
But if I do end up learning more on the topic, I'll definitely consider adding it to learnpytorch.io!


[FR]Special characters restriction in category names

"Hi folks,
I tried to copy over the category tree from a webshop called TME via API but I realized that some of the categories cannot be added because they have illegal characters in the names.
By looking the code I found the limitation:
https://github.com/inventree/InvenTree/blob/master/InvenTree/InvenTree/validators.py#L84
What is the motivation behind of them? Having category names like 'D/A converters' or comma separated category names could be useful I think in many cases.

@martonmiklos this character limitation was introduced a long while ago, and many changes to the category structure have occurred since then. I think this could be re-assessed, certainly some of these characters could be allowed.
Recently we addressed some XSS issues which means we could probably be a little less restrictive here.
@matmair thoughts? I think some of these characters at least could be allowed now,.

@SchrodingersGat we should test for XSS after removal but I see no reason fir the general bleach implementation beeing enough.


Add a template for pull-requests

This would help potential contributors to create better PRs from the start and skip the initial part of the discussion.
I'm not sure if the wording is good, or if it is deterring to potential contributors.

Coverage remained the same at 100.0% when pulling fbcedb4a97151be1ef9f0d9ed5402f9a070d0760 on pr-template into b53ec5848a7cec29158d8682ea2e35eeabc22d1b on master.

Coverage remained the same at 100.0% when pulling fbcedb4a97151be1ef9f0d9ed5402f9a070d0760 on pr-template into b53ec5848a7cec29158d8682ea2e35eeabc22d1b on master.

Coverage remained the same at 100.0% when pulling fbcedb4a97151be1ef9f0d9ed5402f9a070d0760 on pr-template into b53ec5848a7cec29158d8682ea2e35eeabc22d1b on master.


Setting checkbox state at page load

Great library! Do you have an example that shows how to set the checkbox state at page load? The WiFiSettings example comes close but uses the loadElementConfig() whereas I'm trying to set the element via setElementContent().

I ended up using runscript to activate a JS .check routine. Is there a better way?
//Use JS to activate a radio button or check box
void setElementContent(const char* id, bool settingValue)
{
  char temp[100];

  if (settingValue == true)
    sprintf(temp, "check('%s', 'true');", id);
  else
    sprintf(temp, "check('%s', 'false');", id);
  ESPForm.runScript(temp);
}

and
function check(id, state) {
    ge(id).checked = state;
}

If that checkbox was already created in the html document not later adding by DOM or javascript, you can use onload event of body like this https://www.w3schools.com/jsref/event_onload.asp


Fully migrate to java21

Pretty sure some String handling/HTML generation can be migrated to String templates

String templates ARE NOT YET PART of java 21 :(
Preview feature tends to break some maven buildes


Add sponsoring cards

Is your feature request related to a problem? Please describe.
We need sponsoring cards which showing the available sponsor packages with the included features.
Describe the solution you'd like
I would like to use bootstrap cards with specific styling to fit ci/cd of the devday
Additional context
By click on "Jetzt Sponsor werden" a page should appear with the cards on top and a contactformular specific for sponsore request under the cards.

Added static sponsoring cards in my sponsoring-cards branch https://github.com/artifactdev/devday_website/tree/sponsoring-cards


Move Activity Bar Extension to Tab

Feature Request
Could there be a feature where an extension's interface (that is currently locked within the activity bar) can be moved to a tab? Similar to how you can move a shell window from the (sorry I don't know exactly what it's called) terminals panel to a tab by dragging the shell session to a tab space.
The main reason for this request is that many times, I want to leave an extension open (much like a terminal) while I use other extensions. In my case, I like to see my file browser at all times while working. I know this is a trite nit-pick, though I find it to be a great frustration.
Images for better explanation:
In this image, I'm showing the terminal and that you can drag it (the blue section above the green terminal) to the main window to place it in a tab.

Here, I'm showing that I would like to drag/move the teal section (an extension in the activity bar) to the green section (a tab in the main window).

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


createUser is not storing username

I am trying to sign up new users with createUser using email, password, profile, and username. I noticed that username field is not being stored in the Mongo documents, even though I can confirm on the front-end that username is indeed being sent as part of the object payload.
createUser({
  email<EMAIL_ADDRESS>  password: 'some password',
  profile: {
    name: 'Test User',
  },
  username: 'testusername',
}, apollo);

{
    "_id" : "xyTByAWkFj7Z3NrGs",
    "createdAt" : ISODate("2017-05-22T16:23:08.279Z"),
    "services" : {
        "password" : {
            "bcrypt" : "$2a$10$rfZeR/08fNZIQBddFbSCfuYIH7pc2ghbA2g0/3OKSiYq5sF7IqKsa"
        },
        "resume" : {
            "loginTokens" : [
                {
                    "when" : ISODate("2017-05-22T16:23:08.289Z"),
                    "hashedToken" : "kL5AHPwpSNIc4xFLQF3R+jUK7JpBKk4j46BDX76Nugw="
                }
            ]
        }
    },
    "emails" : [
        {
            "address"<EMAIL_ADDRESS>            "verified" : false
        }
    ],
    "profile" : {
        "name" : "Test User"
    }
}

I didn't realize my simpl-schema setup that I pulled off the tutorial didn't have a username field, so it was getting filtered out!


Fix for users below 1.21 (Velocity)

Dont attempt to send packages for users below version 1.21

Thanks =)


Incorrect Gitlab repo slug on Bitrise

Report
What did you do?
I followed the Danger getting started tutorial and  I ran danger-gitlab on Bitrise CI for a Gitlab repository.
I set the DANGER_GITLAB_API_TOKEN env var in the secrets variables.
Our GitLab isn't self hosted.
What did you expect to happen?

What happened instead?
Danger wasn't able to find the project and got an 404 HTTP error:
Gitlab::Error::NotFound: Server responded with code 404, message: 404 Project Not Found. Request URI:

The gitlab repository url looks like this format: https://gitlab.com/my-team/path/to/project_name
When Danger try to reach the Gitlab API it request the next URI:
https://gitlab.com/api/v4/projects/to%2Fproject_name/merge_requests/123
It looks like the Gitlab slug is invalid it should be path/to/project_name URL encoded so patho%2Ftoo%2Fproject_name. When I manually reach the URL as I think it should be (https://gitlab.com/api/v4/projects/patho%2Ftoo%2Fproject_name/merge_requests/123) I have the valid Gitlab JSON.
Your Environment

Which CI are you running on? Bitrise.io

Are you running the latest version of Danger? Yes

What is your Dangerfile? (Useless in my case because Danger isn't reaching this step)
warn("Big PR, consider splitting into smaller") if git.lines_of_code > 1000

I'll really appreciate your help, I have been stuck with this problem since few days trying to figure it out...

This could be that you have a different version of GitLab to what's expected, or that the API has changed?

I also tried to import the gitlab gem in my Gemfile but it didn't change the result.

And our gitlab version is: GitLab Enterprise Edition 10.6.0-rc4-ee

I assume you'll might need to set these then:

DANGER_GITLAB_HOST to the host that GitLab is running on.
DANGER_GITLAB_API_BASE_URL to the host that the GitLab API is reachable on.

And maybe the defaults in Danger are wrong now?

I get another error when I specify the DANGER_GITLAB_API_BASE_URL (https://gitlab.com/api/v4/projects/patho%2F I tried different values) it fail with the next error:
  ArgumentError: wrong number of arguments (given 2, expected 1)

@orta Same issue in your project. I have:
DANGER_GITLAB_HOST = git.myhost.com
DANGER_GITLAB_API_BASE_URL = https://git.myhost.com/api/v4

My repository URL has following format: https://git.myhost.com/TEAM1/TEAM2/REPOSITORY_NAME.
I received this error:

Gitlab::Error::NotFound: Server responded with code 404, message: 404 Project Not Found. Request URI: https://git.myhost.com/api/v4/projects/TEAM2%2REPOSITORY_NAME/merge_requests/4

I have this same issue on gitlab ce. see #1111 any solution? It seemed to work for me for a little and then it broke.. reverting to a previous commit doesn't help.

Hello,
From what I see there was a pull request to fix this issue but only if there are two slashes in URL slug. In my case, I have three so I still have the issue.

Path should be : https://gitlab.com/api/v4/projects/group/subgroup/subsubgroup/project_name/merge_requests/123 => 200 with the proper JSON
But instead I have https://gitlab.com/api/v4/projects/subgroup/subsubgroup/project_name/merge_requests/123 which results in 404 not found.

Would it be possible to be less restrictive on the URL slug in order to take the full "tree" no matter how deep ?

Hello guys.. I still get this issue despite the fact that I set DANGER_GITLAB_BASE_URL
environment variable. Is there a fix for this.


Refactor catalogue item e2e tests #342

Description
See #342.
Notes

Removed test_create_catalogue_item_with_allowed_values - effectively tested through other tests e.g. test_create_with_all_properties_defined.
Adds a couple more create tests around properties
For test_partial_update_catalogue_category_id_no_properties to work - needed to rename _post_response to reflect the actual entity posted to avoid confusion between the last category posted, and the last item
Not sure about the _GET_DATA name anymore as they can be missing IDs but couldn't think of a nice alternative as _DATA is already taken for _POST so added a note
We may wish, rather than trying to inherit multiple classes from manufacturers, systems and catalogue categories from the test files to use https://github.com/ral-facilities/inventory-management-system-api/issues/90#issuecomment-2064390649 to store these appropriate ids and handle the posting of data. Then again inheriting gives access through self. which I think would be desirable for consistency and otherwise would probably still need these functions, but posting via the client instead.

Testing instructions
Add a set up instructions describing how the reviewer should test the code

[ ] Review code
[ ] Check Actions build
[ ] Review changes to test coverage

Agile board tracking
Closes #342

We may wish, rather than trying to inherit multiple classes from manufacturers, systems and catalogue categories from the test files to use https://github.com/ral-facilities/inventory-management-system-api/issues/90#issuecomment-2064390649 to store these appropriate ids and handle the posting of data. Then again inheriting gives access through self. which I think would be desirable for consistency and otherwise would probably still need these functions, but posting via the client instead.

We should discuss this as I am not sure I fully understand you.

We may wish, rather than trying to inherit multiple classes from manufacturers, systems and catalogue categories from the test files to use Clean up tests #90 (comment) to store these appropriate ids and handle the posting of data. Then again inheriting gives access through self. which I think would be desirable for consistency and otherwise would probably still need these functions, but posting via the client instead.

We should discuss this as I am not sure I fully understand you.

I think I was just suggesting an alternative method to the way I have essentially inherited and overridden some post methods e.g. post_manufacturer just to assign the manufacturer_id automatically when its called. I.e. we could also go via a test client that always does this which reduces the amount of inheritance down the line, but equally I wasn't convinced so I was just commenting on it so you would be aware.


DO NOT GET LAST TEST CASE

anybody have this issue

Hi i got this error too. I think it's because you called flatMap more than once in your rescursive return statement for sum. Maybe you can try assigning the recursive sum to a Log first before calling flatMap on it

hi, you can only use one flatMap in your sum method. you can try storing the recursive method call in a variable. hope this helps

u should only use flatmap once

Same.
I will now mount a Q&A for that.

Done. Please see #293 (the Q&A).

Hi I got this error too when I called flatmap twice in a single line, but it passed after I fixed that

only call ur flatmap once


How to Dynamically load data on OnMothChangedListner Event

Hi i want to load dot spams on change of every month?how to do that?kindly help

widget.setOnMonthChangedListener(this);

@Override
public void onMonthChanged(MaterialCalendarView materialCalendarView, CalendarDay calendarDay) {
      //load dot spans
}


Upload stop too often if i use it frequently

Hello, i tried everything:

disabled captcha "unlockcaptcha"
disabled high security login in gmail
tried logging in with ip and then running script from that ip
Still every now and then the script stops and hangs and gmail stops the login process, in this way the script is not useful at all... unreliable.
Does anybody has any permanent solution, so that gmail accepts logins if i run the script let's say every 10 seconds?

Hello, now i have following error:
Failed to upload. Retry after 3 sec. Server Error: sessionStatus is not found.ERROR Failed to upload. Retry after 3 sec. Server Error: sessionStatus is not found.ERROR Failed to upload. Server Error: sessionStatus is not found.ERROR Error: Server Error: sessionStatus is not found. at GPhotos. (/usr/lib/node_modules/upload-gphotos/lib/index.js:327:39) at next (native) at fulfilled (/usr/lib/node_modules/upload-gphotos/lib/index.js:4:58) at process._tickCallback (internal/process/next_tick.js:109:7)

Hi @marcus645 .
This error is discussing on #256.
Please report the following points about your issue to #256.

Error message
File info (size, type, etc.) you want to upload.
Can you upload via browser (Official Google Photos site) ?

okay thank you i will report there, and try again etc


Update pool.mdx

Updating the sentence in the line 12 having grammatical error
Updated "how the funds are flow" to "how the funds are flowing"

good catch - thanks!


working on iframe

I have a project that run in an iframe, and cannot be started separately because it has data coming from the parent iframe, and I'm not able to use react-scan on it.
if I use npx react-scan@latest parent iframe it doesn't see my project
if I add the script in the project it doesn't work, of course if I open the project directly I see the dev tools but as I have no data coming from the parent I have a blank screen.
is there a solution for my use case?

I see there is a similar issue already https://github.com/aidenybai/react-scan/issues/78


Add switching models in boards

Most of the boards in the project currently only support one model. Now that we have a GPT 3.5 turbo board, we should figure out some way to switch models in the board.
One approach is the text generator board, which is a wrapper around multiple models. For example, here's a refactored Tour Guide Writer board that allows the user to select which model to use and invokes the text generator board under covers.
For M3, let's make sure that the following boards are switchable:

[x] accumulating-context.json
[ ] call-react-with-lambdas.json
[x] math.json
[x] search-summarize.json
[ ] simplest.json
[x] Tour Guide Writer

Nice to have:

[ ] endless-debate-with-voice.json

Even though not all are done, there are now enough boards to declare victory.


Replace HashRouter with BrowserRouter

Description:
GitHub Pages is not designed for SPA.

GitHub Pages doesn't natively support single page apps. When there is a fresh page load for a url like example.tld/foo, where /foo is a frontend route, the GitHub Pages server returns 404 because it knows nothing of /foo.
from https://github.com/rafgraph/spa-github-pages

However, there seems to be a hack to solve this problem.
Why:

Users can use cleaner URLs. e.g) https://codepair.yorkie.dev/#/8zrto9 to https://codepair.yorkie.dev/8zrto9

We addressed this issue in https://github.com/yorkie-team/yorkie-codepair/commit/bafe14a7934af5aa1d7683ba1ef96e84804d1fc2.


Documentation: should C be mentioned

Since one of the goal of the repo is to publish pegen on PyPI while including only the Python generator should the documentation mention C at all ?
I am going through the docs and could make a PR to make the docs refer only to Python if that makes sense.

Also helpers.md refers to thing that exist only in C. Some would probably make sense to be ported to Python, no ?

Since one of the goal of the repo is to publish pegen on PyPI while including only the Python generator should the documentation mention C at all ?

No, we need to remove all references to the C parser.

I am going through the docs and could make a PR to make the docs refer only to Python if that makes sense.

That would be fantastic. Please, feel free to add me as a reviewer to that PR : )

See #10


Typo in documentation

Typo in header for "iew Formatting" [sic] section, missing "V"
https://learn.microsoft.com/en-us/microsoft-365/community/list-formatting-101#iew-formatting---useful-resources

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

ID: 804f03d0-e4ff-5117-9def-3909634c1696
Version Independent ID: 804f03d0-e4ff-5117-9def-3909634c1696
Content: List and Library Formatting
Content Source: Community/list-formatting-101.md
Service: microsoft-365
GitHub Login: @dfrancoeur
Microsoft Alias: daisyfeller

Thanks for the correction! We'll get that fixed...


Partitions and chain layout

Currently partitions are basically not used. Everything is hard-coded to only have 1 partition, 0.
With the way topics are laid out across chains through sorting it occurred to me there is no good way to support partitions as simply suffixes on the topic, since they would all be bunched together on the same chain.
Is there a way to support partitions in such a way that they will be spread apart? If not, we likely should make partitions confined to the kafka protocol and remove all other current usage.

given that partitions are largely for read throughput, and we have other ways of spreading read load, I would prefer that we just relegate them to an ignored protocol detail like you say at the end there.

I thought they were mostly for write throughput, hehe.


fix styles for order and migrate components

[ ] All items in the page have rounded corners. Only the CSP image does not have rounded corner. So even this must be changed to have rounded corners.
[ ] Place all values of form fields to start from same place. The placement must be changed. At the moment this is not uniform.

I‘ll take this.


Issue with LlamaParse ...

Describe the bug
I have been trying to use the structured output functionality.  Whenever I provide a json schema I get an error message saying "Invalid structured output schema. Please provide a valid JSON schema."
[
{
"pageNumber": 1,
"pageTitle": "Introduction"
},
{
"pageNumber": 2,
"pageTitle": "Overview"
},
{
"pageNumber": 3,
"pageTitle": "Methodology"
},
{
"pageNumber": 4,
"pageTitle": "Conclusion"
}
]
Files
If possible, please provide the PDF file causing the issue.
Job ID
9362f2b8-e1d2-4d40-bbb9-07e31d9ecbe9
Uploading 7SAYGDEF9SA341565- Ronald Love.pdf…
Client:
Please remove untested options:

Python Library
API
Frontend (cloud.llamaindex.ai)
Typescript Library
Notebook

Additional context
Add any additional context about the problem here.
What options did you use? Premium mode, multimodal, fast mode, parsing instructions, etc.
Screenshots, code snippets, etc.

Is that the json you provided? Or part of the error message? (Can you provide the exact settings you used?)


Automatic Release |  Validate opa/opal version

added workflow to validate opa/opal version
added release workflow to GitHub & pypi
it is also possible to add release notes to the automation (ref: https://github.com/softprops/action-gh-release)
fixed the trigger for on release workflow

putting it on hold for now, @RazcoDev you might want to give it a go once you return.
I am opening a ticket on you (PER-1052).


APK crashes on (2.4.0, 2.3.4, 2.3.3, 2.3.2), works fine using 2.3.1

Information

Apktool 2.4.0
Windows (x64)
APK from ApkMirror/Playstore/etc. (all produce the same issue)

Stacktrace/Logcat
E/MessageQueue-JNI(3648): Exception in MessageQueue callback: handleReceiveCallback
E/MessageQueue-JNI(3648): android.content.res.Resources$NotFoundException: File res/raw/voice_note_start.wav from drawable resource ID #0x7f0f000c
E/MessageQueue-JNI(3648): 	at android.content.res.Resources.openRawResourceFd(Resources.java:1315)
E/MessageQueue-JNI(3648): 	at android.media.SoundPool.load(SoundPool.java:245)

Steps to Reproduce

apktool d (with apktool 2.4.0)
apktool b (with apktool 2.4.0)
sign, install the apk.
Open the app and try to record a voice note.

Notes:

I tried building using apktool versions: 2.3.2, 2.3.3, 2.3.4. ALL produce the same crash
The strange thing is, using version 2.3.1 to build, the app works fine and doesn't crash.

Frameworks
Apktool default.
APK
If this APK can be freely shared, please upload/attach a link to it.
https://www.apkmirror.com/apk/whatsapp-inc/whatsapp/whatsapp-2-19-34-release/whatsapp-messenger-2-19-34-2-android-apk-download/
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? Yes
If you are trying to install a modified apk, did you resign it? Yes
Are you using the latest apktool version? Yes

This looks like an AAPT/AAPT2 similar to the https://github.com/iBotPeaches/Apktool/issues/2032 issue reported...
~Ibuprophen

@ibuprophen1 I've seen issue #2032 (which is related to the ids.xml). Mine is not similar.
I agree it might be AAPT related, because the APK is trying to load a .wav (raw) file using the drawable identifier!

Well git blaming myself all the way back to 2.3.1 will be impossible, so guess we have to treat this as a bug vs regression.

I know it'll be impossible to do so.
I'm just raising this issue as it's really strange and confused by how aapt can classify .wav file as a drawable.
IMO, I'm not sure if this is a bug vs regression; as this may affect many future apks with the /res folders.
So it might be worth looking at before growing.

@B88B I can confirm this issue, it affects me too!
@iBotPeaches I spent hours looking into this issue and I found the cause:
It is this Androlib.java (line 698)
In commit a8bdad628a58e65313521b809d8df60f3f86d40e, you started using zipPackage() to build the apk instead of aaptPackage(). And zipPackage() is somehow tampering with the resources in final APK
(perhaps it explains the smaller APK size?).
I did some tests by building Apktool 2.3.2 (from source code) by changing back to aaptPackage() instead of zipPackage(), and was able to fix the crash issue.
Proof-of-concept test (Try the following using 2.3.1 and 2.3.2 separately):
1- apktool d file.apk -r -s (to avoid decoding res/smali)
2- apktool b file.apk (just package the apk without any changes)
Results:

APK file packaged with 2.3.1 works fine!
APK file packaged with 2.3.2 crashes on recording voice note (& is smaller in size)!

I am looking into this matter, and will update you with my progress :)

UPDATE 1
100% confirmed, the crash is caused by this commit a8bdad628a58e65313521b809d8df60f3f86d40e.
I have built 2.4.1 with reverting the above commit, and the app APK no longer crashes!
You can do the tests yourself. (@B88B can you confirm the fix?)
apktool-cli-all-issue2036.zip
@iBotPeaches Any thoughts on why zipPackage() is causing this issue?

@YoBasha I can confirm, it is fixed and everything working fine.
THANK YOU VERY MUCH, you're the man! I hope you can help provide a permanent solution for future apktool versions.

@YoBasha Reverting that commit returns aapt1 to the process during the build of applications, which if you are using an aapt2 build is not feasible. We cannot revert that, so need to identify why Apktool is not moving files to correct location.

UPDATE 2:
After spending countless hours testing, I think there is no problem in Apktool.
Explanation:

Apktool 2.3.1 doesn't produce a 'doNotCompress' files list in apktool.yml.
Apktool 2.4.0 produce a list of 'doNotCompress' files, to know which files to avoid compressing when building again.

My Theory:

This issue ONLY happens when: decoding APK on Apktool 2.3.1, and then building it on Apktool 2.3.2-2.4.0.
Why? Because Apktool 2.4.0 will compress all files - including the .wav - resulting in the app crash.

So @B88B , I guess there is no bug in Apktool 2.4.0. Next time just use 2.4.0 for the whole process (decode and build).
@iBotPeaches I think you can close this issue now, as it is just a inproper use of Apktool.

@iBotPeaches I think you can close this issue now, as it is just a inproper use of Apktool.

Sorry for delay. Thanks for triage. Closing.


Login Page > Login screen is shown momentarily when user refresh the page from any screen

Roles: All
Describe the bug
Login Page > Login screen is shown momentarily when user refresh the page from any screen
Steps to Reproduce

Login as an Admin user
Refresh the current page

Expected Result
Login screen should not be shown momentarily
Actual Result
Login screen is shown momentarily when user refresh the page from any screen
See video -
https://user-images.githubusercontent.com/5212585/126768073-1bf98022-8d82-45ed-80bf-687fe3c71a54.mp4
FYI: @ParkeBrown @michaelmarshall
cord-field# dcb47ad

I can't reproduce this. @parashara1 maybe you can?

Hi @ParkeBrown @CarsonF @parashara1
I can still replicate the issue on the latest develop e8bb4ac.
See video:
https://user-images.githubusercontent.com/5212585/134856208-221213ba-2b50-4435-be87-c355f3fcdc8f.mp4


Browser field validation breaks save button

URL input fields temporarily break the save button when their browser-supplied validation fails. The selected button action gets stuck in its unclickable spinner phase. You can wait for that to time out, but the timeout takes a while. Here is what this looks like in Chrome with Wagtail 1.4.1:

Related, kind of: #1230

Also related: #2007
@kapito is currently working on tying up the loose end on that ticket - adding a cancelSpinner function to call if the validation fails. It seems like we ought to be able to do the same thing here, but since the validation here is browser-supplied, it relies on the browser firing some sort of "I've just blocked the form submission" event that we can attach the code to. Need to check if such a thing exists...

I believe this has been fixed in #2942 – can’t reproduce with a URLField at least!


Change value without resetting whole selectric box

I use mCustomScrollbar plugin inside Selectric, to create scrollable options dropdown.
It works great.
After updating programatically select's value through JS, I need to call Selectric.refresh() to update it to correct value.
Here the problem appears:
After doing .refresh it seems, that whole .selectric-scroll is rebuilt, which removes all scrollbar elements created by mCustomScrollbar. Therefore scroll doesn't work and everything works and looks bad.
Of course I could rebuild mCustomScrollbar after each .refresh, but it doesn't work that way.
It doesn't work that way because mCustomScrollbar won't create itself again, and at the same time I cannot destroy it, because it cannot detect its elements (they got destroyed by .refresh).
Is there a way to update the value of Selectric without rebuilding HTML?
EDIT:
I found workaround, by binding mCustomScrollbar to .selectric-items, not .selectric-scroll. This way I can destroy it, and recreate. However the issue is still valid.

Thank you for reporting @soanvig!
The current implementation of refresh() reconstructs the whole options list. This is why your bound plugin gets destroyed. So there is no built in way to programmatically updating a value.
A simple way to solve your issue would be to stick with the generated markup. Find the item you want to make selected and trigger a click event.
For example:
$('li:last').trigger('click');

This will force the dropdown to update the label and all necessary events and callbacks. Of course there are some pitfalls. This will not work if you set disableOnMobile or nativeOnMobile.
Maybe we'll add a method in the future which adds an api for that. For now i'll close this issue as you found a workaround by yourself.


CarPlay connection issues when jailbroken

I’m on 13 pro 15.0.1 and using Dopamine v1.0.2. I can't connect to my vehicle and use CarPlay as tapping on the icon for CarPlay on my vehicle infotainment system does not do anything. If I tap on the CarPlay icon and leave it, my phone will pink screen and crash back to stock iOS. This was not present on Fugu15 but when I migrated to Dopamine.

Yes this is a known issue with Snowboard

Good to know. I will disable snowboard for now. Marking as done.


Buy and Hold GLD Example

Added Example for Buy and Hold GLD based on this example from the QSTrader repo:
https://github.com/mhallsmoore/qstrader/blob/master/examples/buy_and_hold.py
Added tear sheet for this example.
Added error for failure to get asset price.

Thank you!


Add version number to About page

See title.

For reference, this is how Patience Deck does it:
https://github.com/Tomin1/patience-deck/blob/cb5af775dc39a1d2c645646de7e8a31fc184f3fe/rpm/patience-deck.spec#L47
https://github.com/Tomin1/patience-deck/blob/cb5af775dc39a1d2c645646de7e8a31fc184f3fe/src/patience-deck.cpp#L84
https://github.com/Tomin1/patience-deck/blob/cb5af775dc39a1d2c645646de7e8a31fc184f3fe/src/src.pro#L14
https://github.com/Tomin1/patience-deck/blob/cb5af775dc39a1d2c645646de7e8a31fc184f3fe/qml/pages/about/AboutPage.qml#L44
Of course Country Quiz doesn't have to do it exactly the same way but that is an option. The one thing I don't like is that this pulls git as a dependency of the package but I don't really see a way around that if the version number should include git tag or the commit if there is no matching tag.


kernel: message queue MACRO not compatible with C++

Describe the bug
It is not possible to use the Zephyr defined macro for creating a message queue in C++.
To Reproduce
Steps to reproduce the behavior:
Just add a message queue macro to init a message queue and compile it.
K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
...

Expected behavior
The code would run in C++ as well, but is not compiling.
Impact
The code does not compile. The developer must use the non-macro way to init a message queue which is not so easy as the macro.
Screenshots or console output
The compilation error is:
In file included from ../zephyr/include/device.h:11:0,
                 from ../src/tc_lora_uart_task.cpp:6:
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^
../zephyr/include/kernel.h:3229:9: note: in expansion of macro ‘_K_MSGQ_INITIALIZER’
         _K_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name,     \
         ^~~~~~~~~~~~~~~~~~~
../src/tc_lora_uart_task.cpp:19:1: note: in expansion of macro ‘K_MSGQ_DEFINE’
 K_MSGQ_DEFINE(lora_input_queue, sizeof(u8_t), 256, 1);
 ^~~~~~~~~~~~~
../zephyr/include/kernel.h:3184:2: sorry, unimplemented: non-trivial designated initializers not supported
  }
  ^

Environment (please complete the following information):

OS: Ubuntu 18.04.1
Toolchain Zephyr SDK 0.9.5
Commit SHA: bbe6fa04b52644191da96aa5a289ae00b026641d

Additional context
I have changed the code of the macro and it is running on my fork. The code before the changes:
#define _K_MSGQ_INITIALIZER(obj, q_buffer, q_msg_size, q_max_msgs) \
	{ \
	.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
	.max_msgs = q_max_msgs, \
	.msg_size = q_msg_size, \
	.buffer_start = q_buffer, \
	.buffer_end = q_buffer + (q_max_msgs * q_msg_size), \
	.read_ptr = q_buffer, \
	.write_ptr = q_buffer, \
	.used_msgs = 0, \
	_OBJECT_TRACING_INIT \
	}

The code after chaging. To solve the problem I had to change the order of some designated initializers and add a missing one: .lock. The lock field can be an empty struct, thefore I had to create different initializers.
#if defined(CONFIG_SMP) || defined(SPIN_VALIDATE)
#define SPIN_LOCK_NULL 0
#else
#define SPIN_LOCK_NULL
#endif

#define _K_MSGQ_INITIALIZER(obj, q_buffer, q_msg_size, q_max_msgs) \
	{ \
	.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
	.lock = {SPIN_LOCK_NULL},\
	.msg_size = q_msg_size, \
	.max_msgs = q_max_msgs, \
	.buffer_start = q_buffer, \
	.buffer_end = q_buffer + (q_max_msgs * q_msg_size), \
	.read_ptr = q_buffer, \
	.write_ptr = q_buffer, \
	.used_msgs = 0, \
	_OBJECT_TRACING_INIT \
	}

I would move SPIN_LOCK_NULL definition to include/spinlock.h and call it K_SPINLOCK_INITIALIZER.
However, I also notice that you didn't need to initialize 'flags' in your change.
Maybe you can just move the lock member to the end of the struct, and sort the remaining members that are initialized?

Great, moving it to the related file will be better.
That would be a good solution as well (better than I've suggested).
On Thu, 14 Mar 2019 at 20:53 Andrew Boie<EMAIL_ADDRESS>wrote:

I would move SPIN_LOCK_NULL definition to include/spinlock.h and call it
K_SPINLOCK_INITIALIZER.
However, I also notice that you didn't need to initialize 'flags' in your
change.
Maybe you can just move the lock member to the end of the struct, and sort
the remaining members that are initialized?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/issues/14540#issuecomment-473108459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACJ0BVh-tu0uPrSfxTMP2gcDbKVM9IJks5vWuD3gaJpZM4b1aFl
.

Do you mind submitting a PR for this?

@galak @rodrigopex I'm working on a patch for this now.

@gnuless I guess it will be necessary to reorder the lock position at the struct as well. It must be declared after the used field at the initializer. The order matters here.

@rodrigopex I don't think reordering the struct is necessary.  My understanding is that C++ requires that the designated initializers be in order, but not that every initializer be present.  Try the patch and if you still have problems, I'd be interested in which compiler you are using.  G++ 8.3 out of the 0.10.0 SDK finds the patch acceptable.

@gnuless I will try that.


Upgrade react version to 16.9.0

This was somewhat spurred by a conversation @eessex and I were having around a potential version mismatch between the react versions. Looking through force, I don't see a case in which that should happen, but I did notice that reaction includes two different versions of react in it's lock file. Generally that wouldn't matter much, but it could cause version conflicts when you're linked.
If we accept and merge this, I'll move down stream and upgrade reaction.

Oh actually looks like the conflict was fixed -- lets merge this after the staging deploy from #4399 is finished.

merge when ready


support offset list return earliest offset

Codecov Report

Merging #20 (082c9ca) into main (88e0db9) will decrease coverage by 1.64%.
The diff coverage is 3.12%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   34.62%   32.98%   -1.65%
==========================================
  Files           8        8
  Lines         543      570      +27
==========================================
  Hits          188      188
- Misses        336      363      +27
  Partials       19       19

Impacted Files
Coverage Δ

pkg/kafsar/kafka_impl.go
0.00% <0.00%> (ø)

pkg/kafsar/offset_helper.go
0.00% <0.00%> (ø)

pkg/test/test_kafsar_impl.go
50.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 88e0db9...082c9ca. Read the comment docs.


Add example application about how to write to Slack using the http-request agent

Just couldn't figure out how to incorporate variables.  Looked at the documentation, but not enough there.  Will need to look at the code for answers. Everything is in langstream/examples/applications/slack.  README.md contains commands I used to start langstream and send a request.

Please confirm here that you have signed the cla.datastax.com form

I signed the cla.datastax.com form needed for the commit

I don't think I should have closed this yet so I re-opened it

merged to the main branch !
Congrats for your very first commit on LangStream !


Structured data for videos, audios and background images

REDMINE-16512

Coverage increased (+0.008%) to 99.295% when pulling dd00ec7a157a49748553e5563e194af1a7cf3cd2 on tf:structured-data-2 into f92a826f06ea3fdd6a148cacfbc06dfd16ecdf4c on codevise:master.


Implement Status Bar Action

Show/hide status bar
Requires a template change of color box/status bar
Requires checkable menu items (#6)

Closed in https://github.com/christianliebel/paint/commit/75eebfe98ee12d57eef809ed2fe580d042916179


implement bionic candles

Is your feature request related to a problem? Please describe.
Yes. As far as I could tell you can't implement a study or indicator that can render bionic candles in tradingview charts.
The reason is that bionic candles do not have wicks - the entire low to high range is the candle.
For this reason it is not enough to chop off the wicks to construct a bionic candle.
The inventor of bionic candles describes what they are here https://www.youtube.com/watch?v=eWS4rBEUn2w .
In a nutshell, a bullish bionic candle is colored gray from low to close and red from high to close.
Similarly, a bearish bionic candle is gray from high to close and green from low to close.
Describe the solution you'd like
Implement them as an addition to this list: bars, candles, hollow candles, columns, line, line with markers, etc...
Make it possible to customize the colors.
While gray, red, green may be good defaults, people have also used other colors.
So called key candles may be colored differently, to stand out, but this can be implemented in a separate indicator.
Additional context
The inventor of bionic candles gives solid arguments in his youtube series and forexfactory thread why these candles
are superior to other kinds of candles for analysis of super liquid instruments like EURUSD.
The depth and breadth of research on all things trading (pips per minute, candles, futures DOM as an aid to spot forex trading, etc) he has done is stunning. This guy is no ordinary trader.
Let's show some humility and admit that innovation like what he has done is still possible in this modern day and age.
MT4 indicators for bionic candles are available in the forexfactory thread above (page 1) for free download, if a reference implementation is desired.
Full disclosure - I do not know this guy, never communicated with him, have no affiliation.

It would be possible to render a chart like that currently on Lightweight Charts by tweaking the data slightly and using two separate candlestick series attached to the same price scale. Essentially, you could have one series plotting the bottom half of the bars (with the values adjusted so no wicks are drawn, or adjusting the styling options), and another series handling the top half.
Additionally we are working on a system for custom series types to be added to the library. This specific series type would be easy to implement and we might add it as an example when we release the new feature. So there should be a better solution available soon.

Thank you for your feature request for Lightweight Charts. In order to keep the library lightweight and maintain a narrow focus, we strive to include only strictly required features in the core library. As a result, we have decided that this requested feature should be implemented as a plugin instead, and will be closing this issue as a result.
We recently introduced the ability to write plugins for Lightweight Charts, allowing users like you to extend the functionality of the library without adding it to the core. We highly recommend implementing your feature request as a plugin to achieve the desired functionality while keeping the core bundle size smaller for all users.
To get started with plugins, please refer to our Plugins Documentation for a better understanding of what is possible and how plugins work. You can also explore our collection of plugin examples (with a preview hosted here) for inspiration and guidance on implementing specific functionality.
For your particular feature request, we suggest taking a look at the following examples (see above links):

Whisker Box Series

To help you get started quickly, we have created an NPM package called create-lwc-plugin, which sets up a plugin project for you. This way, you can hit the ground running with your plugin development.
If you do create a plugin based on your feature request, we would appreciate it if you could publish it on GitHub or NPM and let us know. This way, we can share it with the rest of the community. It would be helpful if you could prefix your NPM package name with lwc-plugin- for easier discoverability by others.
Thank you for your understanding and support. We believe implementing your feature request as a plugin will greatly benefit both you and the Lightweight Charts community.


[Icon request] please support RStudio project files .Rproj and folder .Rproj.user/

Issue Template
THIS IS AN EXAMPLE TEMPLATE
Make sure the following boxes are checked (and the placeholders replaced) BEFORE submitting this issue.
Screenshots are more than welcome!
Please remove any unused content (including these instructions) before submitting your issue.
IMPORTANT: For folder icon requests please first see issue: 650
Thanks.
Note: Always remove this line and all above.

[x] I'm sure this issue is not a duplicate.

[x] I want to create an icon request (if not, remove these lines below):

Type: .Rproj, .Rproj.user/
Icon Name: RStudio project
Sample original Icon (32x32/svg/transparent whenever possible): [url]
Extensions: .Rproj, .Rproj.user/
Filenames: comma separated list of filenames
Language ids: R

Language Extensions: url to vscode extensions that support language highlighting

Please file the folder icon request to #650


emacs: Fix service environment

Emacs populates 'exec-path' at launch from the 'PATH' environment
variable. Likewise, the emacs derivation from nixpkgs populates
'load-path' from the 'NIX_PROFILES' variable. As neither of these are
available by default in the systemd user manager, revert to the previous
behavior of launching the Emacs daemon from a login shell.
Description
Fixes #1354
Fixes #1340
Checklist

[x] Change is backwards compatible.

[x] Code formatted with ./format.

[x] Code tested through nix-shell --pure tests -A run.all.

[x] Test cases updated/added. See example.

[x] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

If this PR adds a new module

[ ] Added myself as module maintainer. See example.

[ ] Added myself and the module files to .github/CODEOWNERS.

Thanks! Rebased to master in 54b69d2ef868783533ce9c581cab7f0252b37149.


Allow redis version 3.0.0 and above

Which problem is this PR solving?
Support version 3.x of redis.
Short description of the changes
This could resolve issue #214

Note for others, this is already the version tested by the plugin: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/master/plugins/node/opentelemetry-plugin-redis/package.json#L60


Customize DropdownMenu border color

Hello, bro!
It's a usefull library.
But I have a question, is it possible to change the border color of DropdownMenu?
It would be cool to have this feature)
https://github.com/AbdullahChauhan/custom-dropdown/assets/124319560/00f5eb62-f5f9-45b0-a6fc-fbec94401572

Hey @weluid Thanks for the appreciation.
Yes, this will be available in upcoming release of the package :rocket:

Now available in 2.0.0. Thanks :+1:

Thanks!
Enjoy your day!


⚠ RbxVeri has degraded performance

In 5044c2e, RbxVeri (https://verify.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 15078 ms

Resolved: RbxVeri performance has improved in e26dd99.


No "Dependencies" section

Describe the bug
Hi,
I wanted to try the Getting Started Tutorial of Angular https://angular.io/start
They are using StackBlitz, however, I have an error about my dependencies: "Cannot find module '@angular/core' or its corresponding type declarations.(2307)".
Also, I cannot install those missing dependencies because the Dependencies section does not exist.

Link to the blitz that caused the error
https://stackblitz.com/edit/angular-ratwrk
Steps to reproduce

Go to my Blitz
Check if there is the "Dependencies" section.

Expected behavior
The "Dependencies" section should be displayed I think.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Chrome
Full version  = 91.0.4472.114
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 93878738,
  "usedJSHeapSize": 83405458,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 0e61f5616522419418be8a0cc53f5e2e645f635f

Additional context
No response

@Deewens Thanks for the report.
The UI is different b/c you're in a WebContainer project, which works differently from our classic "EngineBlock" projects, which is what you might be used to. We now have some docs clarifying the difference.
See for instance my comment in https://github.com/stackblitz/webcontainer-core/issues/591#issuecomment-1036597703.

I have closed this issue for now. If there are actions to take here we can open a new issue.


[Storage] Rerecord Pause and Resume tests and Enable Playback

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Added a progress property for GPUImageMovie specifying the progress of the process.

Added a progress property for GPUImageMovie specifying the progress of the process. The progress property is readonly, I have also added the usage to SimpleVideoFileFilter example.

This doesn't seem to work if you're using an AVPlayerItem object instead of an NSURL. Any reason for this?


Distribution does not include file indicated by package.json

Really cool project! 🚀
Just a heads up:
const readTimeEstimate = require('read-time-estimate') currently fails because the main file indicated in package.json (dist/index.umd.js) isn't actually part of the distribution build.
This results in the following error:
Module not found: Error: Can't resolve 'read-time-estimate'
The directory structure looks like this:

For now, using const readTimeEstimate = require('read-time-estimate/dist/read-time-estimate') works, but is definitely not ideal
I'd be happy to help out as well 👍

Yes, you're right. I never meant to use .umd for the index file. I'll update it with .cjs in the next version change.

I have published a minor fix for it.

@pritishvaidya Thank you!


lazy_static without unsafe?

Hi,
I'm trying to use #![forbid(unsafe_code)] but I also want to use lazy_static!() - is there a way?
My failling travis job is here

Hmm, the problem here is that the macro-generated deref impl for lazy statics uses an unsafe block because it accesses a 'static mut. In #124 we're removing the need for 'static mut, so we should be able to work properly with crates that #![forbid(unsafe_code)].

Alrighty! It should be possible now to use lazy_static 1.2.0 alongside #![forbid(unsafe_code)].


Load integrations options are not properly merged with page/track methods integrations options

In case that ‘integrations’ are passed as part of load options then it is impossible to override ‘integrations’ settings during page/track/identify calls.
I checked code in analytics.js which handles this and it seems to me that you are only calling ‘defaults’ function (https://github.com/ndhoule/defaults) which simply copy properties from one integrations to another.
I want to have following setup:

Enable only Google Analytics and Adobe analytics on page level
analytics.load('writekey', { integrations: { All: false, 'Google Analytics': true, 'Adobe analytics': true } })
I want to send specific track event just to Google Analytics
analytics.track('EventName', {}, { integrations: {  'All': false,  'Google Analytics': true } });

So I want to be able to provide more restrictive integrations options on method level such as page/track/identify.
I hope that following code can be used to solve this issue
https://gitlab.com/snippets/1901703

@JosefCzanko we recently released a feature called middleware that lets you filter certain events from going into certain destinations. You have to write a middleware function that looks at the event payload and selectively disables integrations. Check out the docs here:
https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#middleware


Support R's sample() function

To reproduce
nf <- nimbleFunction(run = function() {
    prob = c(0.1, 0.2, 0.7)
    return(sample(3, 10, prob = prob, replace = TRUE))
    returnType(integer(1))
})
cf <- compileNimble(nf)

Results in error
Detected possible use of R functions in nimbleFunction run code. For this nimbleFunction to compile, these objects must be defined as nimbleFunctions, nimbleFunctionLists, or nimbleLists: sample.compiling... this may take a minute. Use 'showCompilerOutput = TRUE' to see C++ compiler details.
 Show Traceback
Error: comparison (1) is possible only for atomic and list types There was some problem in the the setSizes processing step for this code: { prob = nimC(0.1, 0.2, 0.7) return(sample(3, 10, prob = prob, replace = TRUE)) }

Traceback:
9. stop(message, call. = FALSE)
8. value[[3L]](cond)
7. tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. tryCatchList(expr, classes, parentenv, handlers)
5. tryCatch(withCallingHandlers(exprClasses_setSizes(compileInfo$nimExpr, compileInfo$newLocalSymTab, compileInfo$typeEnv), error = function(e) { stack <- sapply(sys.calls(), deparse) .GlobalEnv$.nimble.traceback <- capture.output(traceback(stack)) ...
4. RCfunInfos[[className]]$RCfunProc$process(debug = control$debug, debugCpp = control$debugCpp, initialTypeInferenceOnly = FALSE, nimbleProject = .self)
3. needRCfunCppClass(fun, genNeededTypes = TRUE, initialTypeInference = initialTypeInference, control = control)
2. project$compileRCfun(units[[i]], control = control, showCompilerOutput = showCompilerOutput)
1. compileNimble(nf)

@perrydv I've changed this from Bug to Enhancement. Do you recommend any particular work-around until one of us gets a chance to implement this?

rankSample is implemented and works.

A couple of other options: It could be written as a pure nimbleFunction.  nimble::rcat could be a key utility either for doing so or for a more limited workaround for a particular goal.  Unfortunately rcat still only works for n = 1, so it would have to be wrapped in a for loop.

Thanks, @perrydv, it looks like rcat() is what I want. My goal is to write a maximally readable piece of code for benchmarking. I was trying to restrict to the pidgin language intersection(R, Nimble DSL), but unfortunately it looks like rcat is missing from that intersection. I think using nimble::rcat is a good readable alternative, since it makes it clear that we're using a piece of the nimble package.

Closing this since it feels like R omission of rcat()/dcat() is weirder than Nimble's omission ofsample().

There is an Rmath sample() -- implication being this presumably wouldn't be
hard for us to do... in any event, probably best as a wish on the Wiki
rather than an issue.
On Mon, Jul 10, 2017 at 11:52 AM, Fritz Obermeyer<EMAIL_ADDRESS>wrote:

Closing this since it feels like R omission of rcat()/dcat() is weirder
than Nimble's omission ofsample().
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/453#issuecomment-314200521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3vyryc_tELEp4uDzDyU1xsbB45xoks5sMnL_gaJpZM4OD-yQ
.


PowerPC: Fix implementation of fsel[.] instruction

According to page 121 in the PowerPC instruction set manual, the fsel instruction should set fD to fC if fA >= 0 and to fB else, whereas the current implementation instead sets fD to fC if fA > 0.
Note that fD should also be set to fB if fA == NaN. This is still correct as (NaN >= 0) == false.
Additionally, for the fsel. instruction, the CR1 registers are currently only being correctly set if fD gets set to fC, this has also been fixed.

@GhidorahRex Hope you don't mind the ping, but I was wondering what the current status of this PR is. Could we expect to see it get looked at in time for the next release?

Sorry, my queue has been pretty long. I think I can get to it pretty soon.