workloads: Synchronous handling of container events

The periodic container runtime watcher has been scheduling go routines into the background for each container to allow for parallel handling. However, the existing waitgroup did not wait for the events to be handled completely. This could cause for a pile up of go routines which continue to interact with the container runtime and the apiserver.
Fixes: #7209

This change is

test-me-please

Coverage decreased (-0.02%) to 43.098% when pulling 1d0828c6deb5e73bb8899816a24f727d077f8901 on pr/tgraf/relax-container-runtime-watcher into 4fcd5af51b333d9b4e0f26df2ce1ed816e02d014 on master.

how about the other handleCreateWorkload() from inside ws.enqueueByContainerID()

I starred at that code for quite a while. It creates a single go routine for each containerID so it will not pile up. The go routine is garbage collected when len() on the channel returns 0.
I'm a bit careful as it affects the main container runtime event handler as well and I don't want to break it for non Kubernetes. Each container has a channel with a queue of 100 elements. This potentially creates a large backlog but parallelization is limited to the number of containers running. It would be better to have a single queue and limit parallelization with a weighted semaphore though.
Open to more thoughts.

test-me-please

I did not find a reason for the call tows.enqueueByContainerID(id, nil) in the periodic watcher to I've removed it.

Fixed up commit message


Backport of issue #2127 to tree 3.7

Per @divine request (https://github.com/jenssegers/laravel-mongodb/pull/2130#issuecomment-717337501) I'm push this MR
All test passed.
root@920f49f22538:/code# ./vendor/phpunit/phpunit/phpunit
PHPUnit 8.5.8 by Sebastian Bergmann and contributors.

...............................................................  63 / 201 ( 31%)
............................................................... 126 / 201 ( 62%)
............................................................... 189 / 201 ( 94%)
............                                                    201 / 201 (100%)

Time: 12.51 seconds, Memory: 70.00 MB

OK (201 tests, 873 assertions)
root@920f49f22538:/code# exit

Codecov Report

Merging #2131 into master will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2131      +/-   ##
============================================
+ Coverage     86.90%   87.01%   +0.11%
  Complexity      664      664
============================================
  Files            33       33
  Lines          1573     1556      -17
============================================
- Hits           1367     1354      -13
+ Misses          206      202       -4

Impacted Files
Coverage Δ
Complexity Δ

src/Jenssegers/Mongodb/Query/Builder.php
89.26% <100.00%> (ø)
163.00 <0.00> (ø)

src/Jenssegers/Mongodb/Eloquent/Model.php
93.63% <0.00%> (-1.28%)
83.00% <0.00%> (ø%)

src/Jenssegers/Mongodb/Eloquent/Builder.php
87.93% <0.00%> (-0.21%)
22.00% <0.00%> (ø%)

src/Jenssegers/Mongodb/Relations/EmbedsMany.php
97.14% <0.00%> (-0.11%)
45.00% <0.00%> (ø%)

src/Jenssegers/Mongodb/Queue/MongoQueue.php
100.00% <0.00%> (ø)
10.00% <0.00%> (ø%)

...rc/Jenssegers/Mongodb/Eloquent/HybridRelations.php
93.58% <0.00%> (+5.94%)
34.00% <0.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 f297ec1...aedd19e. Read the comment docs.


APT whitelist request for git-ftp in trusty

Note: I can still manage to install git-ftp on container-based architecture https://travis-ci.org/elikos/website/builds/393867600#L415
Not really sure why


Design QA - Missing Dropdown Style on My Account section

All the dropdown menues (when showing options) don't have the proper style:

Figma reference:
Example
https://www.figma.com/file/wogMuUDylgOHgTEYhZ3jgp/Augur-Bet-UI?node-id=8024%3A279519
Full reference of the component status (Hover, selected, etc)
https://www.figma.com/file/42QoTLQcbObu7esoTPjWRv/Augur-Bet-Design-System?node-id=561%3A4371

Almost there. Can we align texts?
It's happening across most dropdowns:

text looks aligned now


Revert "spring-cloud: add support to enable/disable MSI (#1523)"

This reverts commit 666bab74e6a748f0ceb83dab8c8d4ba01adcce95.

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

add to S169

Is there any reason?

Is there any reason?

We have another spring cloud feature whose backend is ready and want to deliver soon.
https://github.com/Azure/azure-cli-extensions/pull/1419
In the meanwhile, our feature backend will be ready in another 3 weeks.
That's why I need to revert the CLI part for ours so that my teammate can release theirs in time.
Sorry fro the inconvenience brought.

Is there any reason?

We have another spring cloud feature whose backend is ready and want to deliver soon.
#1419
In the meanwhile, our feature backend will be ready in another 3 weeks.
That's why I need to revert the CLI part for ours so that my teammate can release theirs in time.
Sorry fro the inconvenience brought.

HI @leonard520 in future if you have features under development, not ready to release, you can still work on your Azure CLI PR at same time, just label Azure CLI PR with do-not-merge, we'll review it but not merge it.


Implement barebones Firebase authentication

Implement the most basic Firebase authentication, to allow creating users in backend

Closed in c38da7b8bbfc2813ad99952ba3731b54f58f02ee


Adding man builder

When using sphinx_tabs, saw that my build fails when it tries to build man pages. Can you please accept my PR to add that. Thank you.

I don't think this is the appropriate fix. The reason pip's documentation build failed is due to the use of -W -- which treats warnings as errors.
@shireenrao if you wanna propose an upstream change, may I suggest proposing to drop the warning that is printed by sphinx-tabs or something along those lines instead of adding man as a supported builder (which isn't correct, since sphinx-tabs cannot render tabs with it).

@shireenrao if you wanna propose an upstream change, may I suggest proposing to drop the warning that is printed by sphinx-tabs or something along those lines instead of adding man as a supported builder (which isn't correct, since sphinx-tabs cannot render tabs with it).

You are right about sphinx-tabs cannot render tabs for man pages, so it doesnt make sense to do this change. I will close this PR.


[bug] (v2 Shell) Command spawn hanging in production

Describe the bug
When running in production, the spawn() function seems to be hanging on Windows. The problem is intermittent and seems to be happening in production only. All is fine in dev mode.
I made a small app from the default template with examples for easy reproduction.
Let me know if you have more questions this is my first ever submitted issue. I searched other issues and I see this one that could be related, but I'm not sure since it's not escaped for me and don't happen all the time: https://github.com/tauri-apps/tauri/issues/11427
Reproduction
https://github.com/EvilStew/tauri-commands-viewer
Follow README for instructions including commands you can try. Note that you must build to production and try multiple commands / applications restarts. If you don't do the arguments part correctly, the Command error should be printed in the textarea.
Expected behavior
The spawn function should always return an output (if asked) or an error if there's an error.
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 129.0.2792.89
    ✔ MSVC: Visual Studio Build Tools 2022
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 22.9.0
    - npm: 10.8.3

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.3
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.5

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

I tried your repro and every combination of args, seem to work as expected.
The only thing I noticed that would make your repro hang on Loading... is that if you're using cmd and pass dir (or any other command) without also passing /c at the start. This indeed hangs on Loading... but that's because spawning cmd dir is different than cmd /c dir.
The first one will spawn a cmd process and waits for inputs on its stdin, while the later will execute the cmd process with dir command and then returns.
You can try both variants in your terminal and observe the behavior.


chore(deps): upgrade lerna to latest

Description
This upgrades lerna to the latest version (v4.0.0).
Changelog
Changed

upgrade lerna to latest

@kennylam has the API changed at all with this version? Do we need to make any updates to any of our publish commands?

@kennylam has the API changed at all with this version? Do we need to make any updates to any of our publish commands?

@jeffchew Not that I saw. I tested all lerna scripts and everything went through fine. I can do a few local publish dry runs and see if everything is ok.

@kennylam just coming back to this, looks like some merge conflicts since it's been open for awhile.
Not a rush, but checking if the publish scripts still looked ok with this? Also, is there a noticeable improvement when upgrading? Does this also address any dependabot issues?


[RFC] shorter code by reducing bucket relay

Updates

reduce buckets relay by using

props object
IntrinsicElements["button"]
reduce redandunt css

@kachick
How about this?

Looks good

Sorry to late review! Reducing props relay is basically good decision, I think 👍

@kachick
Thank you!! 💪


Broken authorization

This commit: https://github.com/Absolventa/emarsys-rb/pull/9 breaks authorization for me.
I get Emarsys::Unauthorized: HTTP-Code: 401, Emarsys-Code: 1 - Unauthorized Time frame is invalid
Does it work for anyone? What's the point?

@spajic, this PR fixed a security issue in the library, namely nonce reuse. See the official documentation for more details on this. As for the timeframe issue, you are receiving this error because the Date you use to calculate the signature is not within 5 minutes of the actual time.
Emarsys servers return the Date in their response headers, so you can use that to check time your signature is compared against.
Free to contact your Emarsys representative as they will surely be able to help!

@felin-arch Thank you! I'll check it out.

Fixed as of PR #19


Integration tests fails with SecurityException: Security error

When Restore-TestEnvironment is called at the end of an integration tests it fails with the error in Azure DevOps.
2019-12-27T10:17:05.5277355Z   [-] Error occurred in test script 'D:\a\1\s\tests\Integration\MSFT_WebApplicationHandler.Integration.Tests.ps1' 0ms
2019-12-27T10:17:05.5277528Z     SecurityException: Security error.
2019-12-27T10:17:05.5277606Z     at Restore-TestEnvironment, D:\a\1\s\output\RequiredModules\DscResource.Test\0.8.0\DscResource.Test.psm1: line 1628

The line this happens on is
    if ($script:MachineOldExecutionPolicy)
    {
        Set-ExecutionPolicy -ExecutionPolicy $script:MachineOldExecutionPolicy -Scope LocalMachine -Force -ErrorAction Stop
    }

In the build worker in Azure DevOps (2016 image) the execution policy for the machine is 'RemoteSigned' which is changed to 'Unrestricted' when Initialize-TestEnvironment. So apparently there are an issue reverting the execution policy when Restore-TestEnvironment is called.

Have you tried an integration tests that does nothing besides Initialize and Restore?
I think it may not be an issue with the Execution Policy, but with the fact that the environment has changed if you kicked off some DSC config locally, conflicting with setting the Execution Policy back... (config precedence, current user changes in privileges...)
Getting the full error message of the issue would be best, as it should tell you if the SecurityException is because of Access Denied (account changes) or precedence (change in local policy? or other scope)

How do we get the full error message?
I am not running integration tests locally.

In this case you could try a Set-ExecutionPolicy directly, outside the Describe block at the end (after removing the failing Restore-TestEnvironment).
It should still fail but giving you more details about the error (because it's not wrapped within pester).

But the Restore-TestEnvironment function is already running outside of any Describe-block.

I fixed the integration test to be a simpler one but still generates the error if the code in PR #39 is not used.


[PE-D][Tester A] Accepting of long phone number lengths

It is a deliberate attempt to include a phone number that is of long length. It shouldn't be the case where the phone number length be of length greater than 8 or 11 (if we are going to +65)

Labels: severity.Low type.FunctionalityBug
original: AshiqurRah/ped#2

Will limit to up to 15 digits (longest international phone number)


feat: support registering media play/pause/stop/next/prev keys

closes #70

@pewsheen could you research the macOS part? here is a few things I found:
https://stackoverflow.com/questions/114541/how-do-i-access-listen-for-the-multimedia-keys-play-pause-in-mac-os-x
https://chromium.googlesource.com/experimental/chromium/src/+/refs/wip/bajones/webvr/chrome/browser/extensions/global_shortcut_listener_mac.mm

I pushed a WIP commit to another branch: https://github.com/tauri-apps/global-hotkey/commit/0f51409d8292080b9d328a7c2ead90cdd464b89f
There are some limitations on macOS:

It requires adding a MachPort into CFRunLoop (to listening OS events), this will trigger OS to request Accessibility permission
It can only detect which media key is pressed. If you press cmd+play, we only know the play button is pressed.
Need to store EventTap and EventTapSource somewhere (Global?) to release it when we want to stop watching the media key
We need to find a way to check the media key is registered and its hotkey ID inside the callback closure (maybe Global variable again?) so that we can emit the event to the hotkey event channel. Or we can just hardcode the ID and emit it every time, letting the user decide whether to handle it or not.

There are some limitations on macOS:

It requires adding a MachPort source into CFRunLoop (to listening OS events), this will trigger OS to request Accessibility permission

Does this need changes in plist file or it automatically requests it at runtime?

It can only detect which media key is pressed. If you press Cmd+MediaPlay, we only know the MediaPlay button is pressed.

Can't we check the NSEvent for modifiers?

Need to store EventTap and EventTapSource somewhere (Global?) to release it when we want to stop watching the media key

can we have multiple EventTap? if so, then store it on GlobalHotkeyManager and release it on drop

We need to find a way to check the media key is registered and its hotkey ID inside the callback closure (maybe Global variable again?) so that we can emit the event to the hotkey event channel. Or we can just hardcode the ID and emit it every time, letting the user decide whether to handle it or not.

CGEventTapCreate allows passing a pointer to a data, so you can create an Arc<Mutex> stored on GlobalHotKeyManager, that tracks if any media key is registered, then we clone it and convert it to a raw pointer and send it to the callback, that way you can check if it was registered

Does this need changes in plist file or it automatically requests it at runtime?

It'll pop up automatically. Currently, it will only ask when registering media keys
I'm storing the event tap and media hotkey information in the GlobalHotKeyManager now. It will require the register and unregister to use &mut self


Link between Reference pages and Examples pages

For instance:
The reference page for the normalMaterial() method (https://p5js.org/reference/#/p5/normalMaterial) includes a simple snippet of example code, but does not include any links to the Materials example page (https://p5js.org/examples/examples/3D_Materials.php). Conversely, the Materials example shows calls to the texture(), basicMaterial(), normalMaterial(), ambientMaterial(), and speculatMaterial() methods, but there are no links to the reference pages for those methods.
In my experience, this kind of separation between reference and examples led me to open the Reference and Example pages for certain methods in different tabs, which led to a lot of tab clutter.

https://github.com/processing/p5.js/commit/4c2ada1fe80c954e9bcdad3d5e9d2b056ce70492


Upgrade jackson2 to 2.3.0 to match tinkerpop 3.0.0M7

Looks like tinkerpop 3.0.0M7 wants jackson2 and blows up when registering the titan plugin without it.

merged linked PR, thanks!


[Build Script Helper] Fix frontend executable search environment variable.

This reflects the new swift-frontend executable the driver will look for.
Gearing up for: https://github.com/apple/swift/pull/32851

@swift-ci test


Copy&Paste changes label position of Boundary Events

Describe the Bug

Steps to Reproduce
Steps to reproduce the behavior:

Create a boundary event and move its label
Copy&paste

Expected Behavior
Label position is maintained relative to the other copied elements
Environment
Please complete the following information:

OS: Ubuntu 18.04.2 LTS
Camunda Modeler Version: 3.0.0-nightly of 2019-03-20

This issue has been discovered during the preparation for the upcoming BPMN MIWG demo in June 2019 in Amsterdam.

This seems to be a boundary event related edge case, as copying and pasting work properly in many other cases I've tested.
Thanks for reporting.

Fixed via bpmn-js@5:


deprecated warning for aws.secretsmanager.get_secret

Hello!

Vote on this issue by adding a 👍 reaction
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

Calling aws.secretsmanager.get_secret(...) results in deprecated warnings for attributes of GetSecretResult even if these attributes are not accessed:
warning: rotation_enabled is deprecated: Use the aws_secretsmanager_secret_rotation data source instead
warning: rotation_lambda_arn is deprecated: Use the aws_secretsmanager_secret_rotation data source instead
warning: rotation_rules is deprecated: Use the aws_secretsmanager_secret_rotation data source instead

pulumi: 3.18.1
pulumi-aws: 4.29.0
Steps to reproduce

Create a project with:

import pulumi
import pulumi_aws as aws
secret_arn = aws.secretsmanager.get_secret(name="...").arn

Run pulumi up
Observe warnings:

warning: rotation_enabled is deprecated: Use the aws_secretsmanager_secret_rotation data source instead
warning: rotation_lambda_arn is deprecated: Use the aws_secretsmanager_secret_rotation data source instead
warning: rotation_rules is deprecated: Use the aws_secretsmanager_secret_rotation data source instead

I'm seeing this also - I believe it just started happening after upgrading from Pulumi  3.28 to 3.29.1.

Also seeing:
    warning: rotation_enabled is deprecated: Use the aws_secretsmanager_secret_rotation data source instead
    warning: rotation_lambda_arn is deprecated: Use the aws_secretsmanager_secret_rotation data source instead

about:
$ pulumi about
CLI
Version      3.44.0
Go Version   go1.19.2
Go Compiler  gc

Plugins
NAME        VERSION
aws         5.13.0
aws-native  0.22.1-alpha.1661750811
awsx        1.0.0-beta.10
docker      3.4.1
python      unknown

Host
OS       darwin
Version  12.6
Arch     x86_64

This project is written in python: executable='/Users/ericpardee/.asdf/shims/python3' version='3.10.2

This appears to be a broader Pulumi Python codegen issue.  Moving to pulumi/pulumi.


NATIVE-502: CoronaSnackbar

Yeah I'll definitely wait with merging, but let us discuss this next week.

Closed. See https://integreat.slack.com/archives/CDV9QF1GA/p1586854815001900 for more information.


Add releases section to README

Please specify the area for this PR
documentation
What does does this PR do / why we need it:
Adds information about the releases and release cycle of the registry operator based on the complete release documentation under the release process document.
Which issue(s) this PR fixes:
Fixes #?
fixes devfile/api#1194
PR acceptance criteria:

[X] Test Coverage

Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

[X] Gosec scans

Fix all MEDIUM and higher findings and/or annotate a finding per gosec instructions: https://github.com/securego/gosec#annotating-code to address why a finding is not a security issue

Documentation

[X] Does the registry operator documentation need to be updated with your changes?

How to test changes / Special notes to the reviewer:

[X] Test Coverage

Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

[X] Gosec scans

Fix all MEDIUM and higher findings and/or annotate a finding per gosec instructions: https://github.com/securego/gosec#annotating-code to address why a finding is not a security issue

N/A

/lgtm


Add vm.trace.* ops to route to tracy

We can do something like what TracyLua.hpp is doing: just exporting the tracy C API into the lua runtime and capturing lua stacks. Having these tracing ops that are no-oped if tracing is disabled but otherwise allow for original source-model stack tracing would be fantastic.

This half exists today for most practical uses thanks to @hanhanW: https://github.com/google/iree/blob/c31a9fc0a555f39e16626d44e1f3beaec1c35190/iree%2Fcompiler%2FDialect%2FVM%2FIR%2FVMOps.td#L2459-L2515
The stacks also somewhat exists though it could use improvements:

Specifically: the stacks are based on the final vm dialect outputs, whereas new vm.trace.begin_zone/end_zone/etc ops would allow us to preserve input function trace names (original python functions regardless of inlining/etc).

Closing out for now - how we insert instrumentation from a frontend and carry that all the way through to runtime is going to be a big project spanning the codebase; just adding the mechanism to emit tracing zones wouldn't do much we don't already do by tracing the functions on the VM stack.


Image size in blog item in "latest from the blog"

The latest from the blog are loading full sized images, the current site uses thumbnails to speed up page load time

Do you mean that I have to convert full sized image to thumbnail and then load?


Pipeline stage to build and push helm chart to container registry.

Summary
I would like to have pipeline stage which can build helm chart and push the same to public/private container registries.
Motivation
Currently we have stages in pipeline to build Docker image and push it to the public / private container registries but we don't have stage which can build and push the helm charts.
Proposal
The stage will spin-off new kubernetes pod with image having helm installed, it will build the helm chart from the folder path provided in input. The built helm chart can be pushed to container registry.

The workaround is available in Devtron ui so no longer needed.


Updating the way actions install Poetry

Codecov Report

Merging #68 (9b21077) into main (1804692) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #68   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         1    -1
  Lines          184       181    -3
=========================================
- Hits           184       181    -3

Impacted Files
Coverage Δ

sas7bdat_converter/__init__.py

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 1804692...9b21077. Read the comment docs.


Question: How to add a custom logger driver?

I have the next code for register a custom driver in "Logger":
class Provider extends ServiceProvider {
  register() {
    ioc.extend('Adonis/Src/Logger', 'my-driver', function (app) {
      return new Driver()
    })
  }
}

But when i try use this driver Adonis launch a exception:
RuntimeException: E_INVALID_LOGGER_DRIVER: Logger driver my-driver does not exists.
> More details: https://err.sh/adonisjs/errors/E_INVALID_LOGGER_DRIVER

What it is wrong?
Thanks

Have you registered your provider inside the providers array

Closing since no response from the issue reporter and not actionable as well

Btw that's the problem I faced with, described it on forum here: https://forum.adonisjs.com/t/cant-extend-logger/1004


Optimize keyword

On the new module list  we are using Public Transport like a main category.

@fhinder Did you noticed this PR?


fix(messages):changed security marking to include a specific tag for …

…the application security marking. this fix applies to #530 in center.
@wski @rkenyon1969 @clarkjefcoat

:+1:

👍  cool @akonsowski


Instructions appear to be out of sync

Your instructions appear to be out of sync somehow.
You say to setup a repo, clone the repo and then open VS Code to get to the repo folder. You then log in to Azure and click the Static Web App Plus button.
You instructions attempt to get you to create a new static web app but you already have one from the repo that was cloned sitting there.
Maybe I'm missing something here that VS Code is supposed to do automatically?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59b3b161-b559-f90b-1566-f18776a5f7da
Version Independent ID: 3e536234-16ad-2ed3-fb58-c128ba2faab2
Content: Quickstart: Building your first static site with the Azure Static Web Apps
Content Source: articles/static-web-apps/getting-started.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Thanks for the feedback! We are currently investigating and will update you shortly.

You instructions attempt to get you to create a new static web app but you already have one from the repo that was cloned sitting there.

The steps outlined in Create a static web app, you're creating a Static Web App resource that your cloned repo will be deployed to. You have the code but you don't have the site until after you complete Step 7.
If something still isn't clear, please feel free to comment down below.


NODE_ENV not used when not set to "staging" environment

Found an issue or bug? Tell me all about!
Describe the issue / bug.
The node environment variable seems to be discarded when not set to production when running the dev script.
How can I reproduce this problem?
Running and setting the environment like so does not set the environment
"dev-staging": "cross-env NODE_ENV=staging node tasks/runner.js",
Tell me about your development environment.

Node version: v5.10.1
NPM version: 4.0.1
vue-cli version: (if necessary)
Operating System: Windows 7 Professional x64

@wdmtech
The cross-env command only applies environment variables to the build scripts, and not directly within the webpack environment. You must use the webpack.DefinePlugin to set environment variables within your application. See https://github.com/SimulatedGREG/electron-vue/blob/master/template/webpack.renderer.config.js#L141 for reference.

Gotcha! Cheers @SimulatedGREG :smile_cat:

When I try using webpack.DefinePlugin I get the following error message
/Users/chiaradelucia/Spheryx/dragonfly/dist/electron/main.js:2622
  "development" = 'development';
  ^^^^^^^^^^^^^
  ReferenceError: Invalid left-hand side in assignment
      at createScript (vm.js:53:10)
      at Object.runInThisContext (vm.js:95:10)
      at Module._compile (module.js:543:28)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      at tryModuleLoad (module.js:447:12)
      at Function.Module._load (module.js:439:3)
      at loadApplicationPackage (/Users/chiaradelucia/Spheryx/dragonfly/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:283:12)
      at Object.<anonymous> (/Users/chiaradelucia/Spheryx/dragonfly/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:325:5)
      at Object.<anonymous> (/Users/chiaradelucia/Spheryx/dragonfly/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:361:3)```

I define NODE_ENV with the following in .electron-vue/webpack.render.config.js && .electron-vue/webpack.main.config.js
if (process.env.NODE_ENV !== 'production') {
  rendererConfig.plugins.push(
    new webpack.DefinePlugin({
      '__static': `"${path.join(__dirname, '../static').replace(/\\/g, '\\\\')}"`,
      'process.env.NODE_ENV': `"${process.env.NODE_ENV || 'development'}"`,
    })
  )
}

When I define NODE_ENV without the additional quotes like so: ${process.env.NODE_ENV || 'development'}, I get a reference error in the Chrome console reading:
vue.esm.js?efeb:370 Uncaught ReferenceError: development is not defined
    at eval (vue.esm.js?efeb:370)
    at Object.<anonymous> (renderer.js:740)
    at __webpack_require__ (renderer.js:680)
    at fn (renderer.js:90)
    at eval (main.js?3b76:1)
    at Object.<anonymous> (renderer.js:1396)
    at __webpack_require__ (renderer.js:680)
    at fn (renderer.js:90)
    at Object.<anonymous> (renderer.js:1313)
    at __webpack_require__ (renderer.js:680)```

Any ideas? TIA!


Feature.l7switching

@pjbreaux
What issues does this address?
Fixes #441
Fixes #442
What's this change do?
Fixes failure to update L7 rule status in Neutron DB. Fixes l7 policy error when one rule of multiple rules is deleted.
Where should the reviewer start?
l7policy_server.py and icontrol_driver.py
Any background context?

Ok, looks solid.


Wrong link to inside cluster k8s Go client example

This change is

I signed it!

Need you to sign the new LinuxFoundation CLA.

Thanks @diegodelemos!  Would you fix them too?
$ git grep kubernetes/client-go
docs/user-guide/accessing-the-cluster.md:The Kubernetes project-supported Go client library is at [https://github.com/kubernetes/client-go](https://github.com/kubernetes/client-go).
docs/user-guide/accessing-the-cluster.md:* To get the library, run the following command: `go get k8s.io/client-go/<version number>/kubernetes` See [https://github.com/kubernetes/client-go](https://github.com/kubernetes/client-go) to see which versions are supported.
docs/user-guide/accessing-the-cluster.md:as the kubectl CLI does to locate and authenticate to the apiserver. See this [example](https://github.com/kubernetes/client-go/examples/out-of-cluster.go):
docs/user-guide/accessing-the-cluster.md:    This handles locating and authenticating to the apiserver. [example](https://github.com/kubernetes/client-go/examples/in-cluster.go)

@diegodelemos , any updates?

Ping.  Please update.  If we don't hear from you in a week, we'll close this PR :(

Already updated: http://kubernetes.io/docs/user-guide/accessing-the-cluster/
Thanks for filing this change!


MultiSelect search-change

Hello, I need to listen to the text with search-change in multi-select and get data accordingly, how can I do this?
And if I edit the multiselect, won't this be lost when the package is updated, can you add the search-change feature?

Hello, our multiselect uses @vueform/multiselect under the hood. We’ve released a new version of Craftable PRO (v2.0.4), where we enhanced the multiselect to fully support the functionality you need by passing the necessary props to the core Multiselect package. You can now edit Multiselect directly in the Form.vue and use async options. See an example in the documentation:
https://www.npmjs.com/package/@vueform/multiselect#tags-with-async-options.
You can also use the @search-change event. For more details, see:
https://www.npmjs.com/package/@vueform/multiselect#events.
You won’t need to edit the Multiselect component itself, only its props, so no need to worry about package updates. This will have no impact on your generated CRUD.

Yes, but it doesn't work very well, this way I can work with inertia, could you please add it?

There shouldn't be any issues using it with Inertia. Please share your code here, and I'll take a look at it.

As you can see, the query data will not change in any way.

If you add “@search-change=”($event) => $emit('search-change', $event)” in MultiSelect.vue <Multiselect, the problem will be fixed, unfortunately I always have to add it again when I update it.

You can pass the searchChange function as a prop, like this:
:searchChange="(query) => searchChange(query)"

The function is triggered when typing into the search input.

Yes, worked thank you.


Crash on game start

My game crashes immediately while trying to load with the dll in the red4ext directory

Please use #mod-troubleshooting channel on Cyberpunk 2077 Modding Community Discord server for user support.


doesn't work with newer Django

File "....django-flag\flag\models.py", line 7, in
from django.contrib.contenttypes import generic
ImportError: cannot import name generic

Sorry for the late response. django.contrib.contenttypes was deprecated with Django 1.7 and this app has not been updated in some time. Happy to accept assistance in updating, if you have the time and inclination. We have some info in our wiki about our most recent process.
https://github.com/pinax/pinax/wiki/Pinax-19.xx-Proposed-Process

seems like we replace that line with from django.contrib.contenttypes.fields import GenericForeignKey
?
from django.contrib.contenttypes.fields import GenericForeignKey

class FlaggedContent(models.Model):
...
    content_object = GenericForeignKey('content_type', 'object_id')

I might submit a patch


Error Listing Formats and Download Youtube Videos

Hello,
I have shifted my server to new data centre and install latest version of youtube-dl on it while python version is 2.6. When I am trying to run command for youtube, m getting error:
root@server [~]# youtube-dl -v --list-formats http://www.youtube.com/watch?v=Hp1-XBdAyz8
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'--list-formats', u'http://www.youtube.com/watch?v=Hp1-XBdAyz8']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.6.6 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-6.7-Final
[debug] exe versions: ffmpeg N-76822-g12a419d-syslint
[debug] Proxy map: {}
[youtube] Hp1-XBdAyz8: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 329, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1878, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Please advise what could be possible reason behind it.
Thanks & Regards,
Talha

This is not a youtube-dl issue and has been discussed a lot. You may want to read FAQ entry on the issue and this discussion.


Is there a way to send files?

I want to send files to a server, how can I achieve that with Reqwest like this:
curl -v -F upload=@localfilename URL

You can pass a file as the body of a request:
let file = std::fs::File::open("/home/sean/data.txt")?;
client.post(url)
    .body(file)
    .send()?;


Allow docker login to fail as not all have credentials

How about adding if to check if those two secrets are non-empty?

@lawliet89 github not so smart :(

oh found the method
- name: myjob
        env:
          MY_SECRET: ${{ secrets.MY_SECRET }}
        if: env.MY_SECRET != null
        run: echo "running"
        ```


Fix getPrimaryKeyFromRow for custom php types

In the generated TableMap, the getPrimaryKeyFromRow method gave an error when using a custom phpType. This is fixed by only casting to the php type if its not an custom object type. In that case, use the contstructor. Fixes #926

Cool, thanks!


⚠ Spryr has degraded performance

In 6ebc5f4, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5049 ms

Resolved: Spryr performance has improved in 00e78ce after 11 minutes.


Named constants

I recently tried to scale down the canvas a bit, but that was an epic failure even though I changed the 400 to 375 at all places. The jump control which depended on it froze because of it. I feel code will be easy to update further changes if it is refactored with named constants in place of raw ones.

@govindbalaji-s Yes all constants should be easily visible. Use the naming convention of all constants in uppercase e.g. GAMELEVEL.

I am sorry that I would be caught up in the school and cant be very active. I think this issue might get fixed sooner if someone else takes this up.

@govindbalaji-s No problem, thanks for letting people know.


Collision detection for geo objects

Firstly, let's stay on that we check only bounding volumes collision detection for simplicity. Secondly, the vague term collision detection could be considered with dynamic collision detection and static collision detection. The dynamic thing sounds like a prediction feature, and we don't have proper options for geo objects, such as velocity. Let's get started with static objects, and it's quite easy to check collision detection for simple geo objects, we just need to check two objects' collision distance threshold and then check their bounding volumes collision. For multiple objects, I think we need some sort of clusterization (with distance for instance) and then check the collision for each object in the round. And finally, the main question, what would we do with the collided objects?:)


Add JWT parsing and simple authorization to runtime

As part of our work on a hosted version of Rill, we'll need a way to authorize requests made to the runtime. We will probably do authentication and JWT issuance through the control plane, but the runtime will need the ability to parse and validate JWTs. We also need the ability to set various permissions inside the JWTs, which are checked in the API resolvers.
Task list:

[ ] Add runtime config key for a JWT secret. If no secret is configured, it should ignore JWTs.
[ ] Add middleware for extracting and parsing JWTs from authorization headers (note: due to using grpc through grpc-gateway, this might look slightly different than for a REST server)
[ ] In middleware, extract payload from the JWT and add it to the request ctx
[ ] Add helper functions for getting the JWT payload from the ctx in request handlers
[ ] Prototype simple authorization by parsing an instance_id key from the JWT payload. If it's set, requests to other instances should be rejected.

Here's a starting point - https://github.com/rilldata/rill-developer/pull/1728. Its for getting initial feedback. There are couple of points for discussion -

We will need to add an http handler as well similar to the grpc interceptors to authenticate http only requests.
We might consider using RSA based signing method to sign JWTs. We can use JWK for storing public key used to sign the token or retrieve it from well known endpoint of the auth provider and cache it. Thus we don't have to manage any secret used in case of symmetric algo like HMAC.
For enabling-disabling auth we can check if keyId is set or not in the config. This keyId points to a key in JWK. If key Id is not present in the config then we don't set the auth interceptors, handler.

Any other observations, points to discuss ?

We will need to add an http handler as well similar to the grpc interceptors to authenticate http only requests.

We can skip this for now. The runtime server only has two non-proto endpoints right now, and we don't need those in the hosted version.

We might consider using RSA based signing method to sign JWTs. We can use JWK for storing public key used to sign the token or retrieve it from well known endpoint of the auth provider and cache it. Thus we don't have to manage any secret used in case of symmetric algo like HMAC.

Sounds good to me, don't have a strong opinion here. What do others do/recommend?

For enabling-disabling auth we can check if keyId is set or not in the config. This keyId points to a key in JWK. If key Id is not present in the config then we don't set the auth interceptors, handler.

That's what I initially thought as well. On reflection, to prevent accidentally making everything public if a key is not set, we should probably have a separate config key for auth and the secret.
The config should be set on the runtime or runtime server object, then loaded and assigned from env variables here: https://github.com/rilldata/rill-developer/blob/main/cli/cmd/runtime/start.go


docs(readme): fix typo

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.

Thanks, but you'll need to resolve this before we can take this, even for doc updates.


It actually has nothing to do with the script itself. The game is just full of memory leaks.

I double checked this yesterday when the game tab ate up 3.8GB and caused Chrome to crash.

I can confirm that too, the script add a bit of overhead but is not the cause.

Indeed, I have benchmarked two tabs (one with the script, one without), and RAM usage is very similar.

I can confirm this too. It caused Firefox to crash atleast 4 times.

It seems the particles (and graphics in general) are the culprit. I've been told that some particles aren't being destroyed properly, so they just build up over time.

However, we might be able to help the situation if we add some code to clean up particles, e.g. calling destroy() on every particle whether it's expired or not, or modifying the game's particle emitter code to no longer emit particles in the first place.

I talked with someone in Steam chat who suggested removing the particle effects, apparently there are still memory leaks but they are vastly improved. Well worth implementing as an option.

I put one vote in to remove the effects altogether; remove the source rather than 'fix' it.

@wchill Got an implementation? I know some of the auto-clickers are bypassing DoClick() to avoid visual effects, but since this script doesn't click, that doesn't help.

2:20 PM - Meepen [aim-flex]: well basically what i did was stop
CSceneGame.prototype.SpawnEmitter

and
CSceneGame.prototype.DoClickEffect
from running

I assume stubbing those out should do the trick.

window.g_Minigame.CurrentScene().DoClickEffect = function() {};
window.g_Minigame.CurrentScene().SpawnEmitter = function() {};

@wchill Glorious, that works flawlessly! Thanks!

Ok, it's not flawless. It causes an error in the game code, junning.js:979. Let's see if we can fix this!

@mouseas see my comment in #5b0aacef876dc833d983eeaaa13e86d8a1347742

@Contex - Awesome, I'm getting to errors in the console so far. Thanks!

@mouseas glad to hear, no problem!


node-sass  not working with node 13

Describe the bug
<EMAIL_ADDRESS>doesn't work with node 13
Please upgrade to<EMAIL_ADDRESS>

Transferred issue to the correct repo.
Can you provide a PR - just change this line

https://github.com/qooxdoo/qooxdoo-compiler/issues/376

fixed with https://github.com/qooxdoo/qooxdoo-compiler/pull/607


HAWKULAR-949 - Refactored the Tokens UI.

Tokens UI is now using cards
Possibility to add a name/description to a token
Possibility to set an expiration date
Display QR Code for a token

Merged #805
QR codes, cool!


fixed footer

I added correct links into footer.

@yohanym95 we need to keep absolute links because of the footer is dynamically used in pages.

ok i will correct it.


This library's use of !std::is_same_v<T, T> is technically ill formed

Example of what I am talking about.
Quote from the standard:

The program is ill-formed, no diagnostic required, if no valid specialization can be generated for a template or a substatement of a constexpr if statement within a template and the template is not instantiated. § 13.7/8.1

Stack Overflow seems to be saying the only way to do this in a standard-compliant manner is with some dependent false helper that could technically be specialized to be true:
template<class T> struct dependent_false : std::false_type {};
// ...
static_assert(dependent_false<T>::value);

Good catch, thanks!


updated cloud notebooks

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/751/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/752/
Test FAILed.

Jenkins, retest this please.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/753/
Test PASSed.


[$1000] Web - Chat - Empty space is added after adding an emoji by typing in web platform

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to expensify web
Go to any chat and type ":smiley":" and notice that the position marker is right next to the smiley emoji
Go to the expensify app and open any chat
Type ":smiley":" and notice that there is a spaces between the position marker and the smiley emoji

Expected Result:
There should always be a space added after an emoji.
Actual Result:
Inconsistent spacing after a smiley (or any emoji) on different platforms. A space is added in the Android mobile app, but no space is added next to the emoji in web, the desktop app, or in the iOS app.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.30-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/8f57dc19-6039-4b71-ad56-1b678ca590ef
Expensify/Expensify Issue URL:
Issue reported by: @sofoniasN
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687428313003479
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012ef8342a4645c7a1
Upwork Job ID:<PHONE_NUMBER>405294592
Last Price Increase: 2023-06-27

I was able to reproduce this in the Android mobile app - that's the only platform that has the extra space in front of the emoji. All other platforms have no space after the emoji.
I'm not sure if it's possible, but ideally when we fix this, we can check to see if there are similar spacing issues in other places (like maybe we use the same component in different places).

Here is a previous thread that discuss the expected behavior on adding emojis.

hello,
this is my chat site.
afc-three.vercel.app/chat
please consider...

@.***
upwork: kennyth stewart
On Tue, Jun 27, 2023 at 3:23 AM melvin-bot[bot] @.***>
wrote:

📣 @liondancing https://github.com/liondancing! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have
to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If
you don't already have an Expensify account, create one here
https://new.expensify.com/. If you have multiple accounts (e.g. one
for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only
pay via Upwork. You can access it by logging in, and then clicking on your
name. It'll look like this
https://www.upwork.com/freelancers/~01ca8ad8ce36b9eceb. If you don't
already have an account, sign up for one here
https://www.upwork.com/nx/signup/?dest=home.
Copy the format below and paste it in a comment on this issue.
Replace the placeholder text with your actual details.
[image: Screen Shot 2022-11-16 at 4 42 54 PM]
https://user-images.githubusercontent.com/30609178/231263719-a8a3b7d3-36a0-4d7f-8ad4-cebe1f560fa4.png
Format:

Contributor details
Your Expensify account email:
Upwork Profile Link:
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/21584#issuecomment-1608940276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7XAYKXQEAZOBN7GYD44VFTXNKC5TANCNFSM6AAAAAAZUMV74Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

Proposal from @getusha looks good to me https://github.com/Expensify/App/issues/21584#issuecomment-1608765208
🎀 👀 🎀 C+ reviewed

@getusha proposal removes the space when adding an emoji from the suggestion, but this issue mentions the space from typing the complete emoji code, i.e. :smile:.
I'm not posting any proposal because based on the thread I posted here, the behavior is already working as expected, except we decide to change it

Typing the complete emoji code will be handled by EmojiUtils.replaceEmojis
https://github.com/Expensify/App/blob/e5f00f86fb412702e9c212b5a88766a8ef7da611/src/libs/EmojiUtils.js#L245-L249
That's why the space is there only on mobile screens.

Hey @getusha @narefyev91 @luacmartins - I just noticed that we discussed this previously in Slack, and the space is added intentionally after an emoji. I just updated the GH issue description - could you please update your proposal and PR to make sure that we add a space in all platforms? Thanks!

Nice work everyone! I sent out offers through upwork to @SofoniasN and @getusha. @narefyev91 works for Callstack so we pay outside of Upwork.

Hey @chiragxarora your bug report mention space after emoji inconsistencies with in a platform but the issue i reported and @getusha fixed is the inconsistencies across platforms.
@sakluger couldnt tell if the upwork offer was pulled back due to this issue if it was i hope this clarifies it, Thanks in advance.

Hey guys, any new updates on the issue @sakluger? Thanks in advance

Hey @chiragxarora  - This same question/issue has come up 4 or 5 times over the past 8 months, and it was reported by someone different every time. Originally, it was raised here, then here, and I think one or two other times.
I'm still going to award the reporting bonus to @SofoniasN because their report got us talking about this behavior again, so I think it's fair to reward them. It's definitely a tricky situation, but I think that's the most fair decision in this case.

@sakluger Thank you for the thoughtful consideration!

@SofoniasN sorry, I'm not sure what happened, I didn't take back the offer. I just tried resending, let me know if you didn't receive it.

@sakluger No worries. I have accepted the offer, I am waiting on your approval!
Thanks

Hey @narefyev91 could you please complete the BZ checklist? Thanks!

I sent payments to @SofoniasN and @getusha (with efficiency bonus). Just waiting for the BZ checklist before closing out this issue. Given that this issue has come up a few times now, I think it would be helpful to document the correct behavior by adding a regression test.

The PR that introduced the bug has been identified. Link to the PR - https://github.com/Expensify/App/pull/21749
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment - no important code changes were define
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion - no discussion
Determine if we should create a regression test for this bug - we are good with existing QA steps in PR


Live reload interfering with Mix's ability to pick up file changes

I was working on a project tonight and encountered what appears to be a bug in which the live reload feature is preventing mix from picking up file changes. I'm able to reproduce it by doing the following:

Add lib/helpers.ex and define a module with some functions.
Use the functions somewhere in the app (I was using them in a controller)
Start the phoenix server (everything should be working)
While the server is running, rename one of the functions and then update the name wherever you used it in the app.
Refresh the browser and you should get an UndefinedFunctionError.

In playing around with it, it appears as if the page reload in step 5 is what causes the problem because if you immediately shut down the server and restart it after renaming a file the helpers.ex file will be recompiled.

Actually, In talking with a friend I think I should have submitted this in the main Phoenix repo so I'll move it there.


Rails gem link

If you don't mind, I'd like to add the link to my gem repository into your readme, that is to easy ruby-on-rails developpers to find the gem.
Cheers

sure no problem
Have you looked at my latest 2.0 beta (https://github.com/BobKnothe/autoNumeric/tree/master/autoNumeric-2.0)?
I am getting close to release - first adding a un-format on submit and some type of hooks for jQuery validate.

Thanks.
I haven't look at it yet.
Actually the main purpose of the gem, aside of easy integration of the library, is indeed to "un-format on submit" so the values are correctly sent to the back end as a numeric format. That's why I'm waiting for your v2 to finalised.
Let me know if I can help

I just uploaded the latest version with two new options

Added option "unSetOnSubmit" to unformat input on the submit event
Added option "debug" to turn on and off error being thrown

I would be very helpful if you could test the unSetOnSubmit option

Sure, give me a day or two.
btw, you should have a look at jasmine and/or selenium (or capybara or cucumber) if not yet. awesomely useful for unit and integration testing

Sorry Bob, I was super busy. Did not forget about it, just didn't have time

I had some issues, but I finally was able to integrate v2 into my gem


fixes #89 list (getList) endpoints with a query return the wrong count

include the query in the count.

Coverage remained the same at 100.0% when pulling 7c1d4f3ab3f265072af9be6bbea0b8fcc68c6b44 on nickhingston:fix-wrong-count into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Coverage remained the same at 100.0% when pulling 7c1d4f3ab3f265072af9be6bbea0b8fcc68c6b44 on nickhingston:fix-wrong-count into 86c18c36bb2de7b676f29b28d1332f46e3e106aa on diegohaz:master.

Thank you, @nickhingston


New Crowdin translations

Do we want to adjust this to target dev instead?

Looks like you have to make any edits @lipis

To production you mean?

This is what I’m seeing on crowdin, which is probably not what we want.

Right.. check it tomorrow!


GSN support

Adds GSN support from the vanilla repository.

Pending: update test.sh and use latest relayer binary


[issue 58] Webhook delivery shows > for quote formatting when description or check-in comment is blank

fixed of post which shows > if description is blank in create and update issue
ticket here
Fixes #58

Hello @sibasankarnayak,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @aspleenic

@DHaussermann Can we test this PR as part of release testing?


How to build self-hosted P2P intermediate server like Stun(http://stun.l.goolg.com) ?

The Stun(http://stun.l.goolg.com) is not very friendly( not easy to reach) to the China mainland users. Is there any better solution?

There are several open-source solutions available for building a STUN server. Here are a few options:

Coturn: Coturn is a free and open-source implementation of TURN and STUN server for VoIP and WebRTC. It's widely used and supports various platforms including Linux, macOS, and Windows. Coturn provides a flexible and feature-rich solution for NAT traversal in P2P communication.
GitHub Repository: Coturn

pystun: If you prefer a solution in Python, pystun is a lightweight STUN client and server library. It's easy to use and can be integrated into your Python-based projects for handling STUN functionality.
GitHub Repository: pystun

Stuntman: Stuntman is an open-source STUN server implementation written in C. It's designed to be lightweight and efficient, suitable for embedding into other projects or running as a standalone server.
GitHub Repository: Stuntman

Node-STUN: For Node.js developers, node-stun is a STUN server implementation written in JavaScript. It's designed to be lightweight and easy to integrate into Node.js applications.
GitHub Repository: node-stun
Available Stun to try: public-stun

These solutions provide a good starting point for building your own STUN server.


Upgrade FontAwesome from 4.7.0 to 5.0.13

About
Upgrade FontAwesome from 4.7.0 to 5.0.13 for using new icons.
The appearance of icon was slightly changed because FontAwesome version 5 has been re-written and re-designed completely from scratch.
How to upgrade
Changed icon names list was provided (https://fontawesome.com/how-to-use/upgrading-from-4#icon-name-changes).
However We can't know whether used icon names has changed.
Therefore I checked out by following ways.

Open https://fontawesome.com/icons?d=gallery&m=free
Load all icons
Open DeveloperTools
Run following a script and copy output

console.log(Array.from(document.querySelectorAll("#results-icons ul li div a i")).map(e => e.className.split(" ")[1]).join("\n"));

Run following commands

$ cat > free-icons (Command + V, Enter, Ctrl + C)
$ comm <(grep -hrwo ./lib/views -e "fa-[a-z-]*" | sort | uniq) <(cat ./free-icons | sort | uniq) -2 -3
fa-envelope-o
fa-file-text
fa-fw
fa-gears
fa-meh-o
fa-pencil
fa-pencil-square-o
fa-pulse
fa-sign-out
fa-smile-o
fa-star-o
fa-thumbs-o-up
fa-trash-o
fa-warning

Look for the corresponding new icons...

I searched manually changed icon, but some icons may not be found.

I changed the base branch to master.

Found missed some icons:
Google Icon

Also

I have completely overlooked it.
I fixed missing icons now.


Add link to documentation explaining the entity diagram

As discussed in 3/14/2022 EDA UX meeting, users are confused about the entity diagram. We want to provide a link near the entity diagram which provides them with an explanation, especially so that they understand what "repeated measures" are.
Nupur put together an explanation of the diagram that can be found in static content (https://static-content.veupathdb.org/documents/clinEpi/clinEpi_exercises/Tutorial3_NavigatingDatasetDiagram.pdf). This can be a starting point for embedded documentation within the entity diagram

This depends on #997

Note from JohnB: backend changes to allow for depiction of 1:many in the entity diagram will not be rolled out for a few cycles (will roll out when mega study changes go out)
This ticket is paused until https://github.com/VEuPathDB/EdaLoadingIssues/issues/31 is done & all studies have been patched or reloaded


Install rxjs's-js document translation

Translate install rxjs
Please check whether the document translation completely accurate, hope to point out and modify if you have any questions.

已经修改，请订正。

已经修改，请订正。


Updating Images for 684

Add here your WMS ID
684
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ X] All filenames are lower case (including folders, images, files, etc.)
[ X] Filenames are descriptive
[ X] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ X] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ X] Image references in markdown contain an alternate text

Last Updated on 24-Oct-2024

Make all the changes and submitting

made all the changes, hope this is good

hope it is completed


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1147 ms

Resolved: Bofrost.be performance has improved in 2af90b9 after 7 minutes.


Frostybot, tulip node, bybit-api, ftx-api, tradingvue.js, orderbooks, telegram communities

Nice list! Wasn't sure where to put the last items in the list so added two more categories.

Hi @tiagosiebler,
Thank you very much for these additions. I see that you developed some of these tools, good job! I also really like the "Development Communities" category. It corresponds totally to the philosophy of this list :)


When file extension is present in URL, cannot get page

how would someone set the path of a view, that is dynamic and can include file extensions:
/storage/folder1/folder2/file.py

Now I get:
Cannot get /storage/folder1/folder2/file.py

Path conf now:
path: ‘storage/*'

Thanks for filing the issue! Please follow the Issue Reporting Guidelines and provide a minimal JSFiddle or JSBin containing a set of reproducible steps that can lead to the behavior you described.

Ok will provide a jsfiddle, but is there a fix for this?

There couldn't be a fix if there were no bugs in the first place.
Judging from the error message it seems your web server treated the url as a file, and there's nothing we can do about that. Please configure your web server's url rewrites.
For example, if you're using webpack-dev-server, use the historyApiFallback option:
historyApiFallback: {
    rewrites: [
        {
            from: /.*/,
            to:  'index.html'
        }
    ]
}


RightParen whitespace

have ")." act as RightParenW token?
and "]."
But not possible when going back to the original statement?

fixed today


[Feature request] [Testing] Add options to customize test explorer Tree

The old Test Explorer UI have "filled badges" with color, which is better to see than the new Test Explorer UI (no "filled badges")
Old

New

Besides that, the new Explorer UI Tree have useless levels to expand, while the older tree collapses tests by file, expanding fewer levels.
Please, bring back the filled badges and the fewer number of levels to expand OR make options to customize it.

This is something you can control in your theme, ctrl+f for the "testing" icons https://code.visualstudio.com/api/references/icons-in-labels#icon-listing

Ok, thanks.
An what about the number of levels?

That is controlled by the extension.

Using the native Test Explorer UI Tree, is there a way to control the number of levels?
So I can ignore the levels without listed tests in the second image above?


[ADAM-2241] Commit template substitution may not be available if building from tarball

Fixes #2241

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/3077/
Test PASSed.


Require short pythonhosted urls

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Require urls like https://files.pythonhosted.org/packages/source/foo/foo-0.1.tar.gz instead of https://files.pythonhosted.org/packages/cb/a2/d59c18cd6a143bf860c29acb70552b7351fd7e0f56213be86b624601106b/foo-0.1.tar.gz for pypi and pythonhosted urls.
Pros:

Easier to read
Easier to manually update
brew bump-formula-pr can update with just --version instead of the full url
Autocorrect can automatically convert urls to the right format

Cons:

This link isn't shown directly on the pypi downloads page

This should be a minor issue because:

It's much easier to predict what the url will be without needing to go to the downloads page
You can put the longer pypi download url in and use brew style --fix to convert it

Other applications that generate urls (e.g. homebrew-pypi-poet) would generate them incorrectly

Again, this would be okay (temporarily) because of the autocorrect
These applications could be updated to the new style

245 formulae currently use the wrong style

(Marked as do not merge because there is still an ongoing discussion about this change)
Tagging @SeekingMeaning

Nice!

Note: The URL also requires the first letter of the package, for example: the A in Airshare
This works: https://files.pythonhosted.org/packages/source/A/Airshare/Airshare-0.1.6.tar.gz
but not this: https://files.pythonhosted.org/packages/source/Airshare/Airshare-0.1.6.tar.gz

Also note, this is case sensitive, for example: SCons needs to be capitalized correctly (Lowercase scons doesn't work)
This works: https://files.pythonhosted.org/packages/source/S/SCons/SCons-4.0.1.tar.gz
but not this: https://files.pythonhosted.org/packages/source/s/scons/scons-4.0.1.tar.gz
(Although, this works: https://files.pythonhosted.org/packages/source/s/scons/SCons-4.0.1.tar.gz)

A final note, there's one exception to the URL format: numpy provides a .zip file instead of a .tar.gz file.
So this: https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.19.0.zip
instead of: https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.19.0.tar.gz

@SeekingMeaning can you verify that? https://files.pythonhosted.org/packages/source/Airshare/Airshare-0.1.6.tar.gz seems to work fine for me.
Of course, it's no big deal to add the letter but I think it's better to leave it out if it's not necessary
In terms of the extensions, is it possible for there to be other extensions? If it's only .tar.gz or .zip I can have the regex end in (\.tar\.gz|\.zip) but if there are more possibilities, the regex should probably end in \.[a-z.]+ (which would allow any extension using only lowercase letters and periods)

Another thing I forgot to mention, version "numbers" may also include letters so [0-9.]+ wouldn't always work, for example:

1.2.0.post0 - https://files.pythonhosted.org/packages/source/l/legit/legit-1.2.0.post0.tar.gz
19.10b0 - https://files.pythonhosted.org/packages/source/b/black/black-19.10b0.tar.gz

For some reason I get this when I open https://files.pythonhosted.org/packages/source/Airshare/Airshare-0.1.6.tar.gz:

(I use Google Chrome)

I'm not sure about the extensions; as far as I can tell we only use .tar.gz and .zip in homebrew/core

For some reason I get this when I open https://files.pythonhosted.org/packages/source/Airshare/Airshare-0.1.6.tar.gz:

Interesting. Clicking the link in Safari works but not in Chrome... I'll add the letter so there's no question
In terms of the extension, I'm thinking about just using /^(.+)-.+$/. Does that seem reasonable? The only case that I can think of where that might not work is if there's a - in the name. Do you know if this happens? Maybe a better option would be /^(.+)-[a-z0-9.]$/.

@samford might be able to help create the right regex.

So, if I want to make a new formula, where do I find this url to use?

So, if I want to make a new formula, where do I find this url to use?

There are two options right now:

Manually type the url (or copy an existing url and change the package name)
Use the longer url that is on pypi and run brew style --fix to correct it to the shorter version

brew create can probably be adjusted as well to add a --pypi option (or similar) that can generate these urls from a package name.

I agree that this format is easier to read and update, but unless brew bump-formula-pr is also updated to identify and create/update the required resource blocks for Python formulae, I don't see a ton of utility and it will increase the chance of a formula getting updated but not the resources.
I've wondered if it might make sense for bump-formula-pr to require the --force flag if resources exist to make users validate that the resources that exist don't need to be updated.

Manually type the url (or copy an existing url and change the package name)

Use the longer url that is on pypi and run brew style --fix to correct it to the shorter version

That's really unfriendly to users. I know at least all of my created formula use a download link I copy from the official website. If you have to run a special command after, or find some other software in the same language to copy from we're making all of brew harder to maintain for the benefit of a url people can guess.

That's a fair point.
I would propose that brew create could convert the long urls to the short urls, but I don't know when we get to the point of having to change too many other components to get this to work. At some point, it's not worth it.

That would also be really surprised behavior to users. I think we should just enforce the URL that users can fetch from the website.  Yes. Is it very easy to find and work with compared to the short urls? Also yes.
I do think that we should then enforce this decision with an audit though. As long as there's 3 options there's going to be people mixing them.

While I'm not super happy about it, that is a reasonable conclusion and I think it's the best thing to do. I'll work on changing the audit to require the long-form, but I'll leave this PR up in its current state for a little bit in case there are other opinions.

In general, for packages that publish both to pypi and somewhere else (like GitHub), I do think there's value to prefer a pythonhosted url over the non-pypi url given that a pythonhosted url is an indication that resources will need to be grabbed/updated. This isn't easily auditable given that there are some name collisions between the two, but it would help lay the groundwork for some of the other ideas discussed here.
I also think it might be worth adding something to the formula DSL indicating that a formula is a python package and that the resources required are exactly those which would be recursively fetched via pip solely based on the primary source url so it'll be easier to know which python formulae can be automatically updated.
eg https://github.com/Homebrew/homebrew-core/blob/master/Formula/snakemake.rb can be auto-updated but https://github.com/Homebrew/homebrew-core/blob/master/Formula/molecule.rb cannot.

Sean made a good argument for the longer URLs so... I agree that we should go with them
At the moment, brew bump-formula-pr is not suited enough to handle these formulae,  and we provably shouldn’t make it easier to update formulae incorrectly. There are some improvements that could be made in handling these formulae (such as using the PyPI REST API) but I think that’s beyond the scope of this PR

Okay, I'll close this and create a new one for requiring the longer urls.
@SeekingMeaning or @dtrodrigues: can one of you open an issue describing the problems that bump-formula-pr and the current way Homebrew handles pypi packages currently have? I think it would be helpful to have a designated place where these issues can be discussed.


Add Banner Ad implementation for InApp Mediatee.

In App mediatee passes the View (ad) to Adapter.
Adapter creates a SandboxedUiAdapter with this view and passes Bundle to Mediator.
Mediator adds the SandboxedUiAdapter to its view.

Mediator adds the SandboxedUiAdapter to its view.

Mediator doesnt create a view of it own right? It forwards the SandboxedUiAdapter to the app.


Port to kube 1.8 and use k8s.io/code-generator

Based on https://github.com/kubernetes/kubernetes/pull/52186's lib/codegen.sh. It should soon merge into kube master and will be cherry-picked to the 1.8 branch.

@ledzep2 @adieu PTAL

/lgtm

Merging.


Altitude hold implementation

Main Changes

Code clean-up
Altitude hold controller with KF

Associated Issues
None
Tests

Actual test flight: successful

I'm closing this because... 61 files!


Update disks-types.md

Updated the article

Hi, @Anchal91 , this change is inaccurate, and removes the actual restriction list. We won't accept this submission, accordingly.
#please-close

This is written in our internal documentation; we can have across scenario where Cx is trying to create an image of VM using premium SSD V2 as data disks and the operation were failing as snapshots are not supported for these disks.
Adding the internal doc for reference : https://supportability.visualstudio.com/AzureIaaSVM/_wiki/wikis/AzureIaaSVM/656958/Premium-SSD-V2_Disk-Mgmt?anchor=limitations

Is it possible to create an image for a VM which has premium ssd v2 as data disks attached.
I do not see any limitation mention in our public documentation: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-deploy-premium-v2?tabs=azure-cli#limitations
But we have a customer scenario where image creation is failing.
But I see the image creation limitation in our internal documentation:
****
Premium SSD v2 can't be used with some features and functionality, including disk snapshots, disk export, changing disk type, VM images, availability sets, Azure Dedicated Hosts, or Azure disk encryption.


Page Transitions

Hi,
Does anyone know of a recipe/formula to use Composition for page transitions?? In my case, my app is composed of a SplitView which contains the root frame. So I'm wondering, am I supposed to perform a page transition before actually calling a Navigate since calling Navigate immediately removes the page?

@assassin316 We'll take that as an action item to formulate guidance, a potential pattern, and a possible sample. I know it can be tricky considering the lifetime management of the Pages and XAML default Transition animations. @JasterAtMicrosoft for FYI if he already has some thoughts in the area.

Subbing, as this is something I always wanted to do. And yes, it'd be great to have the ability to animate the leaving and arriving content at the same time.
If there's a solution it'd be great if we'd get that as a universal content changing transition ability - technically the page-frame is just that.

As a general idea, using something like the TransitionFrame from the Windows Phone Silverlight toolkit is still a very valid idea, and works with composition.
Essentially you create a new frame by inheriting from frame - and put two ContentPresenter's inside it's template - one hosting new page and one hosting the old. You can then override the OnContentChanged method on the frame to animate your two content presenters, and work in whatever crazy system you want to choose the animations. Of course, you can stick composition in there too.
(For reference here's the WP version, but it's mighty overkill - https://phone.codeplex.com/SourceControl/latest#Microsoft.Phone.Controls.Toolkit/Transitions/TransitionFrame.cs, my own implementation barely hits 200 nicely-formatted lines)

Thanks for the response @JohnnyWestlake! This is a good approach.
As the original poster mentioned, the major difficulty with animating page transitions is that the new page content immediately replaces the old during the transition.
So, there are a few options here:

Implement system page transitions, like you can see in the Settings and Maps apps, via NavigationThemeTransition.
Use a solution like Johnny discussed that keeps the old page alive during your custom animated transition.
Only animate the incoming page with custom animations. Depending on your design this is sometimes okay.
Delay the navigation, so e.g. in response to some user interaction you do a quick fade out animation, wait for it to complete, and then navigate the Frame.

This is absolutely something that we will be looking to support better in the future. In the mean time solutions like TransitionFrame can help bridge the gap for apps that need truly unique page navigation motions. As @pgills mentioned we may be putting out more content on this subject in the future. Feel free to respond here if you have further questions. Thanks!

Thanks for the great feedback guys!!  I'm currently looking into option 1, hope it works for what I need, thanks!  :)


Side window UI / HTML element Format issues on certain websites

https://www.infoq.com/news/2020/10/github-main-branch/

Maybe a better way to "unset" all important CSS? Or maybe I need to move where I add the element and put it somewhere that isn't effected by all the CSS as not inheriting from a bunch of elements / CSS rules above it? Need to research.

Need to add !important to my "display" CSS styles as this site overruled it and had it hidden with an !important.

Look at using iframe instead.
https://stackoverflow.com/questions/4172221/how-to-stop-injected-html-div-css-from-inheriting-styles-internet-explorer

https://stackoverflow.com/questions/36645570/javascript-create-element-that-does-not-inherit-css

Maybe avoid iframe. Look at this article about resetting css.
https://stackoverflow.com/questions/15901030/reset-remove-css-styles-for-element-only

Fixed this with Issue #82 as now using iframe so html css issues are no longer present.


#79 Setup cucumber tests

close #79
Signed-off-by: Donatien Eneman<EMAIL_ADDRESS>

mvn clean package fails on my computer, is there some step I'm missing?
could we rearrange our github action file to parallelize unit tests and cucumber test ?

mvn clean package fails on my computer, is there some step I'm missing?
could we rearrange our github action file to parallelize unit tests and cucumber test ?


TOC links seem to be crossed

[Enter feedback here]
If you navigate to https://learn.microsoft.com/en-us/sql/relational-databases/in-memory-oltp/a-guide-to-query-processing-for-memory-optimized-tables?view=sql-server-ver16, the highlighted link in the left-side table of contents says "Natively compiled" (under "Natively compiled").  That's the wrong TOC item for this topic.
Then, in the TOC on the left, if you click just below Natively Compiled, on the topic Performance of In-Memory, and then click on the first subtopic "Performance of in-memory", the topic you get is titled "Natively Compiled Stored Procedures and Execution Set Options".
It looks like there are some table of contents labels that are slightly messed up here.  Thanks.
David Walker

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

ID: 33e49268-9863-3be2-218c-c472fe6f3711
Version Independent ID: b104aa79-5b21-cd77-f24e-71a9fd93cf36
Content: Query processing for memory-optimized tables - SQL Server
Content Source: docs/relational-databases/in-memory-oltp/a-guide-to-query-processing-for-memory-optimized-tables.md
Service: sql
Sub-service: in-memory-oltp
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

Also, under "Performance of In-Memory" in the TOC, if you click on "In-Memory on Azure SQL Database", the TOC switches to a different place (and the TOC label then says "In-memory OLTP").  Is that intended?  The TOC is now in a completely different place, and other than using the Back button, I can't find the content I was browsing through.

@DWalker07 -- thank you for your feedback.  I am looking into this issue.

@DWalker07 thanks for pointing this out, nice catch! A doc update is in flight to fix the swapped TOC entries. Thanks for taking the time to point this out! The whole community will benefit from this doc improvement.
re: the TOC switch, this is intentional! Notice the version switcher in the dropdown. The article "Optimize performance by using in-memory technologies in Azure SQL Database and Azure SQL Managed Instance" is in the context of the Azure SQL products, not SQL Server products. Each product has articles that do and do not apply to it. The content of a TOC varies by product. For more information, see our navigation guide.

Thanks for that info.


Conditionally handle --apple_compiler & --apple_grte_top

Create a new repo rule that contains the Bazel version for access in the analysis phase (rules_ios_bazel_version). This will just write the version from getattr(native, "bazel_version", “”) into a variable in @rules_ios_bazel_version//:version.bzl
Use the Bazel version to conditionally handle the (now removed in Bazel 7) --apple_compiler & --apple_grte_top command line options.

apple_grte_top removed in https://github.com/bazelbuild/bazel/commit/fb4106bdbd23c365337ea99704921ada7b86c2df
apple_compiler removed in https://github.com/bazelbuild/bazel/commit/1acdfc422e724b4fe12c7bf5248086ab514ec4be

Work towards https://github.com/bazel-ios/rules_ios/issues/795.

Nice one @mattrobmattrob 👍


Check if assets path is writable on publish (#15850)

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#15850

Merged. Thank you!


Fixing reference include in example

https://stackoverflow.com/a/17689566/155005

@m0sa : Thanks for your contribution! The author, @mikejo5000, has been notified to review your proposed change.

@m0sa Thanks for the fix!

#sign-off


Vue.js UI

Add UI to the existing demo app, to more easily demonstrate how to create a simple chat app

Overall you can try using const wherever possible.

Use this.tabs = { active : "channelName", inactive : { "channelName" : {}, "channelName2" : {}}} instead of this.channels

LGTM : )


[homeassistant.components.withings] Webhook not registered - https and port 443 is required to register the webhook

Problem/Motivation
Getting a WARNING at each HA startup that I don't understand and don't know how to address.
Expected behavior
no warnings for HA Withings integration
Actual behavior
receiving systematically this warning at HA startup:
2024-11-15 14:39:05.168 WARNING (MainThread) [homeassistant.components.withings] Webhook not registered - https and port 443 is required to register the webhook
Steps to reproduce
Restart HA with Withings integration activated
Proposed changes
N/A

Hi, not sure it is the right place for this issue, please feel free to redirect if needed.
Clarification about this warning would be appreciated.
Thanks!

Well that means that your instance is not exposed on https and with port 443 so we can't get notified when new updates are available. If you use Home Assistant Cloud we automatically it will set up cloudhooks allowing the same.


Update media clusters per TV spec.

Problem

LaunchApp Request data argument is not OCTET_STRING as per spec.
Launcher Response data argument is not OCTET_STRING as per spec.
Media Playback start time should be EPOCH_US as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773542356)
Media Playback commands should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773542618)
Target Navigator command should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773544026)
Target Navigator argument should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773543881)
Application Launcher, Data Type Application.Endpoint should be endpoint-no as per spec. (https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/media/ApplicationLauncher.adoc#application-3)

Proposed Solution

Update per spec

Media clusters must comply with spec for v1.
Removing tag v1_triage_split_4

LaunchApp Request data argument is not OCTET_STRING as per spec. [url] (https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml#L31-L51)
Launcher Response data argument is not OCTET_STRING as per spec. [url] (https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml#L31-L51)
Media Playback start time should be EPOCH_US as per spec. url
Media Playback commands should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773542618)
Target Navigator command should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773544026)
Target Navigator argument should be optional as per spec. (https://github.com/project-chip/connectedhomeip/pull/13195#discussion_r773543881)
Application Launcher, Data Type Application.Endpoint should be endpoint-no as per spec. (https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/media/ApplicationLauncher.adoc#application-3)


Technical: DNS:  $3BotDoubleName.grid.tf goes to the right 3bot which terminates the ssl

https://github.com/threefoldfoundation/3bot/blob/master/specs/urls.md

[ ] collect IPs for the 3bots from blockchain

[ ] backport 3bot operations (at least parsing) them to js development

[ ] template to deploy the proposed infrastructure

[ ] coredns infrastructure that serves 3bot dns entries (utilizes etcd, etcd cluster, cordns templates)
[ ] traefik per location (utilize traefik template)

[ ] ssl certificate  by let's encrypt in the 3bot website

HA of the 3bots isn't a concern
Traefik configurations are coming from  etcd
CoreDNS configurations are coming from etcd

➤ xmonader commented:
AFAIK traefik template is deployed as 1 cluster and all sites are registered on each traefik instance
3bot instances will be cut off if the serving traefik failed
3bot no HA ( https://docs.google.com/drawings/d/e/2PACX-1vSFYG7Dyq7WVVocmtZpyZijBdI100cP2DBcIvFZT41R62mQicRIOiYllF9-e9tth_vj8IDJl_viMiuy/pub?w=2104&h=1017 )
not sure if something like traefik cluster exists
3bot infrastructure ( https://docs.google.com/drawings/d/e/2PACX-1vTMtU3bhf36SrGF6LoVZ_YELPrPi5Bih-LhIWsqpcUGsml1V4X4QBl-n8lf2fWRHFaq5nhAFDCP1P2v/pub?w=2104&h=1017 )
to resolve

SSL termination is done by traefik not the 3bot?

➤ Glen De Cauwsemaecker commented:
The dns service should be connected to the tfchain network, this way it can update the 3bot records as blocks get applied and reverted. Easiest would be if you write it in Go, as you can than just use tfchain ( http://github.com/threefoldfoundation/tfchain ) (Go) as a library (as well as Rivine ( http://github.com/threefoldtech/rivine ) (Go)), to have it as an embedded node to which you add your custom (ConsensusSetSubscriber ( https://godoc.org/github.com/threefoldtech/rivine/modules#ConsensusSetSubscriber )-) module that would only focus on 3Bot transactions to apply/revert in your (etcd?) registry.

➤ Christophe de Carvalho commented:

In a 3bot record on the blockchain, an ip address and doublename (xxxxx.yyyyy) are registered.

Just saw this sentence, and this actually raise a question.  There is nothing that force a threebot record to register an ip address. So it seems we also need to talk to another component then the blokchain to get the full flow.
So the component that will populate the configuration of the dns server needs to talk to both the blockchain to get the threebot double name (used as dns domain) and to the component that deploys the actual 3bot server on the grid cause he is the only one to know what is the ip of the 3bot server.

➤ Glen De Cauwsemaecker commented:

Just saw this sentence, and this actually raise a question. There is nothing that force a threebot record to register an ip address.

The blockchain code related to the 3Bot should work in function of the expected data/relationships/behaviour. Thus if a 3Bot without an address (whether it is a hostname, IPv4 or Ipv6) does not make any sense, than it is easy enough for us to add a rule to enforce that all 3Bot records have at least 1 address at all times.
For now a name is also optional, and thus again if a 3Bot without a name does not make sense, please do tell me, and than we need to make sure that is not possible either.
Lastly if we should only accept 2 groups per 3bot name, than we need to align on what exactly the validation of a 3Bot name needs to be, so that it is in line with what is expected.
It would be rediculous that you need to talk to many different components, while all information (3Bot ID, name(s), address(es) and public key) should already be available in a single record.
Just align, and make sure we know what we want, and than the rest can be done, I'm sure of that.

➤ Christophe de Carvalho commented:
@robvanmieghem what are your thoughts on this ?

➤ Christophe de Carvalho commented:
I compile a document about this question: https://docs.google.com/document/d/1peUfAGxJE90lmNSWwOfBAuIZDEHoOYz0VnbYHZn2h2k/edit
As far as I can see this issue should be closed cause deprecated now.
@robvanmieghem please do so if agree.


Updating lecli to fix issue #15 by making all nicknames case insenstive

Fix for issue #15 . @stopal-r7 @MarkLC-r7

+1

LGTM apart from the possible typo I mentioned above.

that should be only one commit (aka squash)

#squashOnMerge

+1


v-if is not updating

Why is this one not working: http://jsfiddle.net/asx9eh6b/
And this one is working: http://jsfiddle.net/ax3o95h9/
I need the first one to work i.e. v-if needs to get updated and the div displayed when the checkbox is checked.

Setting array by [] is not reactive use arr.$set(index, value)
https://vuejs.org/2016/02/06/common-gotchas/


Problem

I want to use this but my computer won't install Jupyter, please help.

I've tried just about everything including installing it on a flash drive it just won't work

I’m sorry you’re having trouble installing Jupyter. We do not make or maintain Jupyter Notebook, and I encourage you to seek help from the people who do.


Two layer files from now on 3.22 and 4.4

build layer throws: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src * 'unsafe-inline'".

https://github.com/Esri/jsapi-resources/blob/master/3.x/bower/dojo/build.profile.js#L86-L124

Not clear on what the problem is. Are you getting that error message from master? Is separating out the vector tiles stuff into a separate package the solution?

since [esri] loads dojo/dojo.js in the workers ... this makes sure dojo/dojo won’t try to load app deps and go wonky

This was closed somewhere in #200


Draggable Panel Tablet Landscape Support Similar to youtube 3-view slider.

I have been using DraggablePanel in phone as per the implementation and it is working perfectly fine for me.
I just want your help to understand how similar Experience can be achieved on Tablet Landscape view similar to Youtube.
I may add third fragment in right of player and proceed.It may be helpful if you guide me through the implementation.
Thanks in Advance.!

Hi,
I wanted to achieve diagonal slide animation similar to youtube.
I have made  changes on updatePosition method in ScaleTransformer class to calculate the new pivotX for landscape mode to drag the top fragment diagonally.
public void updatePosition(float verticalDragOffset) {
float maxScaleFactor = (1 - (1 / getXScaleFactor()));
int actualWidth = (int) getMinWidthPlusMarginRight();
int finalWidth = (int) (getMinWidthPlusMarginRight() * maxScaleFactor);
int translatedWidth = actualWidth - finalWidth;
int totalTanslatedWidth = getParentView().getWidth() - finalWidth;
xPosition = (int) (actualWidth * 1.0f / translatedWidth * totalTanslatedWidth);
ViewHelper.setPivotX(getView(), xPosition);
ViewHelper.setPivotY(getView(), getView().getHeight() - getMarginBottom());
}
This enable me to drag the video(Top Fragment)  from top left to bottom right in landscape mode, after settling down at bottom right, not able to drag vertically , only horizontal drag was working.
As I am playing with scaling the view, its actual properties remain the same. which is make it fail for isViewHit method of ViewHelper.
Thanks ..


Add top padding to typing indicators

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #feedback.

my nightly


Create CONTRIBUTING.md

We are not IPython, we do not use those bots here.
Therefore, this PR is being closed.


Data Science with Python : K Medoid Algorithm

Welcome to 'DSWP' Team, good to see you here
With this issue, readers will get introduced with core information to K Medoid Algorithm along with sample code completely in a effective way.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Machine Learning
Mentors Assigned : Jivitesh Jain / Kareem Negm
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

/assign

Name: Shiwansh Raj

Batch: 10
Sr. No: 368
GitHub Profile
[x]  Documentation
Approach: Introduction, properly commented code, images wherever required, proved conclusion
@prathimacode-hub , can you assign this to me manually , I have asked for the same on discord
:)

Issue assigned to @photon149 for documentation

Hello, could you assign this to me.
Name: Shubham Patel
Serial No. 104
Type: Video
Approach: Introduction to K medoid Algorithm, Working of K medoid algorithm and implementing it, And Application of K medoid  algorithm

Issue assigned to @ShubhamPatel01 for video contribution


Dead link for public API documentation

In the Documentation file (https://github.com/ultravideo/uvgRTP/blob/master/docs/README.md#public-api) the chapter "Public API" has a broken link to the API documentation. You should replace the .com extension with .io extension.

Thanks for noticing. Fixed by e7be4f7d899aa30a479bcc5324a86fc659611373

Updated the link to doxygen