Bump to Next.js 11

What should this PR do?
Resolves DEVED-115 by moving us to Next.js 11.
It does not implement a complete img overhaul, for the following reason: the Image component does not play well with next export, so it seems like we will need to circle back to this once we have decided what we are doing about our images more generally.  We have the option to configure a custom loader, which would enable us to use an image optimization provider (like Cloudinary), or to write a custom loader that interfaces with a CDN. Here's a thread that lays out some of the stakes.
From the discord: "[...] You can still use next/image with next export and choose an external image optimization provider
You just can't use the default Next.js one, because you're opting not to use a server with export. [...] The next release of Next.js is improving this experience, with a static loader and better docs around using next/image with next export.
And, just to reiterate, build time image optimization is one of the most requested features we have, and we are working on an RFC for our proposed solution!" <-- this last remark dated 7/21/2021
Another option might be using next-optimized-images, as described here, for example.
Either way, let's definitely come back to it.
Why are we making this change?

We want the project to stay current with Next.js

What are the acceptance criteria?

Everything should work as it currently does in production.

How should this PR be tested?

Check out the branch, remove node_modules, and run npm ci to install dependencies.
Verify the above.

Pull request process
Reviewers:

Test functionality using the criteria above.
Offer tips for efficiency, feedback on best practices, and possible alternative approaches and things that may not have been considered.
For shorter, "quick" PRs, use your best judgement on #2.
Use a collaborative approach and provide resources and/or context where appropriate.
Provide screenshots/grabs where appropriate to show findings during review.

Reviewees:

Prefer incremental and appropriately-scoped changes.
Leave a comment on things you want explicit feedback on.
Respond clearly to comments and questions.

Sounds good!


MWPW-159126: Load gnav/footer based on locale

Load gnav/footer with locale prefix if metadata is authored without locale (eg. /edsdme/partners-shared/footer)

Resolves: MWPW-159126
Before: https://stage--dme-partners--adobecom.hlx.page/de/channelpartners/drafts/ratko/test
After: https://mwpw-159126-gnav-footer-locale--dme-partners--adobecom.hlx.page/de/channelpartners/drafts/ratko/test

Codecov Report
Attention: Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.59%. Comparing base (83b1666) to head (43b248b).
Report is 2 commits behind head on stage.

Files with missing lines
Patch %
Lines

edsdme/scripts/utils.js
92.85%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #69      +/-   ##
==========================================
+ Coverage   83.41%   83.59%   +0.17%
==========================================
  Files          10       10
  Lines        3165     3169       +4
==========================================
+ Hits         2640     2649       +9
+ Misses        525      520       -5

Flag
Coverage Δ

83.59% <92.85%> (+0.17%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


chore: remove table logging in update:view

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
Tables mostly don't belong in CLIs

How
Replace with some basic formatting we use in build/submit-related UI:

/changelog-entry chore remove table logging in update:view

Merging this one, @byCedric is doing the other ones.


[Prototype] Modal Navigation

Prototype for Drawer-less Modal based navigation. Currently works only on iOS as 'modal' mode is not supported for Android in react-navigation.

Compared to a hamburger menu, this does not appear to have any benefit.
The huge downside is that the user has no idea the header is clickable.

You should add a thumb menu on each stream view. This will solve the UX problem.

@sapkra Could you elaborate on "Thumb Menu"? Didn't quite get what it is.

@nashvail You already implemented the thumb menu in your popup view. I mean the bar with the hashtag and persons icon.

Thanks for prototyping this, Nash.
While I find it weird and wouldn't work for us, it was definitely helpful and I played with it few times to see we can be doing things differently.
As with any prototyping, many don't get implemented, but they contribute value by helping us understand how alternative interactions could work.


Databricks notebook with python 3 as default

When will we be able to set the python version of the Databricks notebook? Right now it can only be python 2.7, but would like to use Python 3.6.

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

ID: a176f27b-f9fc-e0ff-0a48-aa42036051f2
Version Independent ID: d2356b83-3101-4b56-baaf-8bdf31e3bb57
Content: Run a Databricks Notebook with the Databricks Notebook activity in Azure Data Factory
Content Source: articles/data-factory/transform-data-using-databricks-notebook.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@dovijoel We will now proceed to close this thread. If you have any comments or questions, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


common_type function deprecated by return_type

Description
The function common_type is used for determining the promoted type from two input types:
template <typename T1, typename T2>
struct common_type {
  typedef typename boost::math::tools::promote_args<T1, T2>::type type;
};

This has been superseded by return_type, which determines the promoted type from any number of inputs:
template <typename T, typename... Types_pack>
struct return_type {
  typedef typename boost::math::tools::promote_args<
      double, typename scalar_type<T>::type,
      typename return_type<Types_pack...>::type>::type type;
};

template <typename T>
struct return_type<T> {
  typedef typename boost::math::tools::promote_args<
      double, typename scalar_type<T>::type>::type type;
};

Current Version:
v2.19.1

It's making me happy every time I see one of these issues and even happier with the PRs.  Metaprogram bloat has been an ongoing problem, so it's great you've achieved a high enough vantage point to start diagnosing the problems.  Thanks!

Happy to help, it's nice to make an effective change!

I had a look at this, and it seems to me that the only effective use of common_type is inside stan/math/prim/mat/fun/promote_common.hpp. Unfortunately, replacing it with return_type is not currently possible, as the latter doesn't have specializations for vector and matrix types.
So is the right approach to add those specialization to return_type (and remove common_type) or should we just close this? Perhaps there's a third way, but with my current understanding of metaprogramming I can't see it.

I'm hitting a snag, in that common_type for mat would produce an Eigen::Matrix, but return_type would return the base scalar type. So at this stage I can't see how to replace common_type with return_type without changing existing assumptions.

Thanks.  Got it.
I'm running into similar issues with complex numbers, which feel like scalars on the one hand and containers on the other.

On Nov 27, 2019, at 4:59 PM, Marco Colombo<EMAIL_ADDRESS>wrote:
I'm hitting a snag, in that common_type for mat would produce an Eigen::Matrix, but return_type would return the base scalar type. So at this stage I can't see how to replace common_type with return_type without changing existing assumptions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Initial pendo integration

This first of all turns dev-mode into a feature flag, because I wanted it available on the front end to tag traffic from developer machines separately from end-users - anyway, we might want to flash something if someone has turned off cookie verification that they really shouldn't.
Then, it adds an inital pendo integration for extra telemetry data. It is completely, 100% turned off by default - the javascript isn't even loaded unless the user opts in.
This turns on the feature in tilt, so we can see that it actually works - but I expect we'll turn it off eventually.
The frontend integration is done using a "component" that does nothing - I don't think this is good react, and I'm happy to try something else, but I need it to run after contexts have been initialized so the feature flags are in place, which this seems to accomplish.
There's a backend bit to it to get a unique cluster value. This completely abuses the feature flag system to smuggle out a unique string value using this mechanism we already have. Again, this is not enabled or active unless the user opts in.
There's two "secret-looking" things - one is the pendo application id, the other is the key I've hashed all user data with. Both are committed in the open:

The pendo application ID is write-only - the worst you could do is to push fake data.
While the key are used together with user info (emails), it is only there to make sure we can't use the hash against a password dump to cross-reference users - there is no way to figure out who is who other than complete brute force.

Both the visitor ID and the account ID have been mnemonic encoded, so that they're easier to remember - they're probably unnecessarily long, but we can always make changes later.
This resolves #2451.

This is what I see when going to the login page in this branch (doesn't happen in main). Do I need to enable smth. else?
I think it didn't happen if I was already logged in from main.

No, no that's not what's supposed to happen.


[DO NOT MERGE] Use mkl cmake flag to force DNNL to delegate FC op to MKL

Description
Currently, for GEMM ops [DNNL delegates that op to MKL]
However, for FC DNNL doesn't.
Workaround : export USE_MKL & pass location of MKL installation.
This forces DNNL to delegate ops to MKL
This PR tries to verify correctness of the workaround [if it breaks any unit-tests]
@leezu @PatricZhao @TaoLv @kpuatamazon @kpu
This PR is not meant to be merged. But to serve as a proxy for internal releases.
If it passes the CI without issues, PR will be closed.
Pipelines to be watched for : windows-cpu, unix-cpu & centos-cpu
Specifically mkldnn/mkl builds.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:

Related issue : https://github.com/apache/incubator-mxnet/issues/17980

@mxnet-bot run ci[all]

In favor of upcoming fixes due to oneDNN v1.6.1 & v1.7.0 this kludge is no longer required. Details in the linked issue.


High CPU Usage

With the latest changes to the code, (run) now induces very high CPU load. Need to find out why, and then fix that.
To duplicate:

Start REPL: lein repl
Start the system: (run) -- ~one CPU core will jump a little, due to the new service starting up, and then it will settle down.
Reload the system: (reload) -- all CPU cores will jump, and then 1-2 will stay maxed at 100%; subsequent, repeated (reload)s will cause all CPU cores to peg out at 100%.

Depends on #3.

With the new JMX instrumentation in place, I used VisualVM to look at the service JVM started by (run). Actually running the service doesn't seem to be an issue, rather upon calling (stop) is where it runs into issues:

In particular, (stop) was called just after 2:17, seen easily in the CPU and Heap graphs.

Working on another task (that will allow services to be enabled/disabled in configuration), I've further narrowed this down: the CPU spike happens specifically in the ProcessRunner component's stop method.

Fantastic! In the latest change to use the messaging component  (see 0b9f5c2a896d4cf01b6d83aa18617450abdfb336), this bug has gone away :-)


Android: Viewing Image as a Basemap Crashes App

Describe the bug
Viewing Image as a Basemap Crashes App
To Reproduce
Are you able to reproduce the problem in a new project after restarting the app?
Yes
Steps to reproduce the behavior:

Go to spot with an image
Click on toggle to view image as basemap
Press 'View as Basemap'
Boom...

Expected behavior
Not crash and show image as a basemap.
Smartphone (please complete the following information):

Device: Android S7 tablet
OS: [e.g. iOS8.1]
StraboSpot Version 1.12.1

Fixed with commit #23b5927dc1a43e10d6a13db7251ae6012366271e


Incompatibility with PM4 due to extra packet data in LoginPacket

Version of Waterdog

Waterdog-Bootstrap:1.15-SNAPSHOT:9c87c52:6
Expected Behavior

Player connection is passed through to PocketMine-MP 4.0.0 Endpoint
Actual Behavior

PocketMine-MP 4.0.0 Endpoint rejects/kicks the player connection due to a bad Login Packet
Crashdump, Backtrace or Other Files

 [Server thread/ERROR]: [NetworkSession: <IP_ADDRESS> 44315] Bad packet (error ID 00d71b70f17f): Error processing LoginPacket: JSON property "Waterdog_OriginalUUID" does not exist in object of type pocketmine\network\mcpe\protocol\types\login\ClientData

Describe the bug

Waterdog Proxy adds unexpected data to the login packet for MCBE which causes PocketMine-MP 4.0.0 to reject the packet.   This information appears to be added here:
https://github.com/yesdog/Waterdog/blob/master/BungeeCord-Patches/0059-Waterdog-PE-additions.patch#L2615
To Reproduce

Setup Waterdog with a single endpoint of PocketMine-MP using PocketMine-MP 4.0.0 (master branch).
Attempt to connect to the proxy.
Screenshots

Server software used:

PocketMine-MP 4.0.0
Additional context

This happens here:
https://github.com/pmmp/PocketMine-MP/blob/master/src/network/mcpe/handler/LoginPacketHandler.php#L210
While I understand that this error is happening because of how PocketMine-MP 4.0.0 handles the LoginPacket, it is not feasible to implement a fix in the server software with a plugin and would require PocketMine-MP to include a Waterdog specific property to their login packet.  It would be best if Waterdog could avoid adding additional properties to MCBE packets.  This would help ensure better compatibility with various MCBE Server software solutions.

Hello, Waterdog forwards extra attributes in client data of LoginPacket. This attributes contains original uuid assigned by microjang, original address ... To disable it, if you really do not need any of it you must edit source. Probably best would be to handle this extra attributes by pmmp.

Fixed by PM4 now skipping unknown properties

This bug contains!


small enhancements

add extra check of 'x' and 'x_lens' to earlier point in Transducer model
specify 'utf' encoding when opening text files for writing (recogs, errs)

Thanks!


REALMC-8823: fix log type bug

Also, just a note on the commit message, something a bit more descriptive here would be useful: REALMC-8823: Use Realm formatted log types based on user flags


Chile large update

holidays relevance period fixes
historical holidays added
special holidays added
tests for all holidays

Coverage remained the same at 100.0% when pulling 36059c2f0b517c7a2e75674bf871d734606ad8fe on KJhellico:upd-chile into d37b6650a87ab039d9f46d4536363266b94fdc46 on dr-prodigy:beta.

Thank you @KJhellico for the work (and for fixing conflicts too).. merged! :+1:


Starting Profile Page

I changed the "name" variable in the schema.prisma file to "displayName" since I think it's more readable (and it's what I'm used to). Also, I'll start working on the profile page, its pathname will be "/profile".

This does not follow our PR conventions.
Please always have the reference issue in the PR title and mention your discord handle.
If this doesn't have it later when I check again, I'll be forced to reject it, sorry...


[Bug] Fix the broken CI and release next version

problem 1: android
https://github.com/fzyzcjy/flutter_rust_bridge/runs/5137000331?check_suite_focus=true
[+31113 ms] > Configure project :integration_test
[        ] Warning: The plugin integration_test requires Android SDK version 31.
[   +1 ms] One or more plugins require a higher Android SDK version.
[   +2 ms] Fix this issue by adding the following to /Users/runner/work/flutter_rust_bridge/flutter_rust_bridge/frb_example/with_flutter/android/app/build.gradle:
[        ] android {
[        ]   compileSdkVersion 31
[        ]   ...
[        ] }

...

[ +101 ms] > Task :app:mergeDebugResources
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 15 actionable tasks: 14 executed, 1 up-to-date
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':app:checkDebugAarMetadata'.
[        ] > Multiple task action failures occurred:
[        ]    > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
[        ]       > The minCompileSdk (31) specified in a
[        ]         dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
[        ]         is greater than this module's compileSdkVersion (android-30).
[        ]         Dependency: androidx.window:window-java:1.0.0-beta04.
[        ]         AAR metadata file: /Users/runner/.gradle/caches/transforms-2/files-2.1/625039eaad011f884ddd84f857a44b7f/jetified-window-java-1.0.0-beta04/META-INF/com/android/build/gradle/aar-metadata.properties.
[        ]    > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
[        ]       > The minCompileSdk (31) specified in a
[        ]         dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
[        ]         is greater than this module's compileSdkVersion (android-30).
[        ]         Dependency: androidx.window:window:1.0.0-beta04.
[        ]         AAR metadata file: /Users/runner/.gradle/caches/transforms-2/files-2.1/a78fdf90e4c1f8464b19895cfb365f3f/jetified-window-1.0.0-beta04/META-INF/com/android/build/gradle/aar-metadata.properties.

problem 2: windows
https://github.com/fzyzcjy/flutter_rust_bridge/runs/5137000113?check_suite_focus=true
[2022-02-10T07:07:26Z WARN  flutter_rust_bridge_codegen::commands] command="cmd" "/C" "rustfmt \"D:\\a\\flutter_rust_bridge\\flutter_rust_bridge\\frb_codegen\\..\\\\frb_example\\\\pure_dart\\\\rust\\\\src\\bridge_generated.rs\"" stdout= stderr=Error: file `"D:\a\flutter_rust_bridge\flutter_rust_bridge\frb_codegen\..\\frb_example\\pure_dart\\rust\\src\bridge_generated.rs"` does not exist

@Desdaemon @SecondFlight Seems that you are using windows. Could you please share the debug outputs so we can see whether such strange \\ things are correct or not? (I am using macos so hard to reproduce this)

@Desdaemon I agree. Thus I wonder is it the cause of the failure of execution.

The above PR fixes the issue for me locally. Not sure if it causes other issues, so I guess we'll see what CI says.
In my experience Powershell usually behaves a bit less strangely than cmd, and I believe all Windows installs ship with Powershell.

I'm able to reproduce locally using the same command as in the build script. Here's the output:

Great! So this means that the CI is correct - my efforts of setting up CI pays off ;)


Document Caching

Currently, document caching isn't working.
Need to find solution.

This won't work after all.
Cycling serialization, by the way.


feat: Enhance Sharing Popup with Sharing Profile on Various Platforms

What feature?
Issue Description:
Currently, the sharing popup on our platform lacks support for sharing profiles on various social media platforms. We should enhance the sharing popup by including icons for popular social media platforms, such as Twitter, Facebook, LinkedIn, Reddit, WhatsApp, Email, Telegram, Pinterest, Tumblr, Slack, and Discord. Additionally, we need to implement the functionality to open a popup with the respective social media sharing option when the corresponding icon is clicked.
Proposed Enhancements:

Included Icons for Social Media Platforms: Add icons for the following social media platforms within the sharing popup:

Twitter
Facebook
LinkedIn
Reddit
WhatsApp
Email
Telegram
Pinterest
Tumblr
Slack
Discord

Social Media Sharing Popup: Implement functionality to open a popup window with the appropriate sharing option for each social media platform. When a user clicks on a social media icon in the sharing popup, a new window should appear, allowing them to share the project link or content to the chosen platform directly.

Copy Button Functionality: Add a "Copy" button to the sharing popup to enable users to copy the project link to the clipboard when clicked. This will provide an additional sharing option for users who prefer to manually share the link.

Add screenshots
DEMO

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

I think it's not needed we already have link & user can share the link to any platform


fix: add defaultLabel prop to WorkflowPort and OperationData

Description
Before there was just a label property for ports. This got overwritten by the name of the data passed to it. If the edge was deleted the original default label is lost. Here I added a defaultLabel property that the port labels will fallback on.
https://github.com/DARPA-ASKEM/terarium/assets/28237258/34a46b80-0618-49f0-b91f-b10b3f702074

I am not really a fan of having both label and defaultLabel as concrete - I think mostly it is the naming than anything else. Maybe the terms "label" and "itemName/assetName" would be better since we are effectively carrying forth the name of the dataset, model, configuration ... and what not.
But thinking about this a bit more - we enforce (or should enforce if we are not) type information, and it might be better to derive your default-labels from a typing-system rather than hardwiring them into individual operations which seems a little redundant. So for example, instead of this:
{{ input.label ?? input.defaultLabel ?? input.type ?? '' }}

We should be able to do something like:
{{ getLabel(input) }}
...
const getLabel = (input) => {
  if (input.label) return input.label;

  if (input.type === 'modelConfigId') return 'Model Configuration';
  if (input.type === 'datasetId') return 'Dataset';
  if (input.type === 'modelId) return 'Model';
}


Should "ng serve" be able to serve static html files?

I have a app that runs just fine with "ng serve". BUT if I try to retrieve another (static) html file that is in my src directory, I get a 304 and it just serves up the angular app again.  The only way that I can see that static html file is to change the app->index value in the .angular-cli.json file.  But then my angular 2 app does not run.  Is "ng serve" only meant for SPA so that it CANNOT serve up separate static html files?  I wanted to have some exterior (not logged in) pages with a very different look than my "app".  Just trying to find the least painful way, if there is one.

Any extra files you want to include in the build/serve should be added to the assets property in .angular-cli.json.

Thank you! works great now!

ng-build with your index.html set properly with its components. (or conditional app-components)
rename and copy the rendered to (for example) /src/search.html
in angular.json (angular-cli.json for pre v5) find "assets":

"assets": [
"src/favicon.ico",
"src/search.html",
"src/assets"
],

browse localhost:4200/search.html
enjoy :)
source

... aaaaand restart "ng serve" so the change takes effect.  :)

I have spent literally hours trying this, with long directory/file names, restarting constantly and still nothing appears for my http request either in the browser or by using HttpClient.
http://localhost:4203/badge1.html
Not sure what it could be.

did you put it in "assets" in the angular json?

I did, but actually it seems I inadvertently was not setting it up correctly. Even though my target asset is down the directory structure a bit, I was able to access it finally.
angualr.json:
        "assets": [
          "src/favicon.ico",
          "src/assets",
          "src"
        ],

Reference - finally got a '200' - yay!
http://localhost:4203/app/sample/examples/elements/badge-example/badge1.html
Thanks for making me re-look at it.

well, now we all learned something new


Allow sorting relationships by their creation date

Is your feature request related to a problem? Please describe.
When the relationship list is getting extensive, adding a new relationship results in the relationship getting added at the bottom of the list. When we then want to label that relationship, we need to scroll down every time.
Describe the solution you'd like

Be able to order by creation time, ascending or descending. (something like the "Regions" tab already has)

Describe alternatives you've considered

Scrolling down all the way every time we add a relationship, to give it a label.
Adding the newest relationships at the top instead of the bottom would also be a good alternative.

Additional context

Pledged $50 via gitpay.me.
https://gitpay.me/#/task/761

@robinclaes could you clarify how does your last message work?

yes i am going to implement the feature for 50$

Issue has been resolved you can close this @robinclaes


Added ODOMeter and Modification to Mobile UI

https://github.com/tananaev/traccar/commit/0350d762a7c08199e79dc401b6c6821d7e2a21bd

Thanks. I like the implementation, but there a couple of issues:

Odometer is a single word, not two. Applies to all names in your code.
Please exclude your branding.
Use spaces instead of tabs.

Thanks for your feedback, can you please check and take my latest modifications
earlier was my mistake, after sending a pull request i have added my branding commit. some how it shows to you in pull request. I removed everything from my source files and committed back.
thanks
Amila Silva

Tabs and naming issues are still there.

"Odometer is a single word, not two. Applies to all names in your code." -

I made it to a single word, "Applies to all names in your code" means do you want to add it to all the language files is it?

"Use spaces instead of tabs."

how do i identify this?. please let me know which files do i need to do this

I want to change odoMeter/ODOMeter to odometer/Odometer in all places (classes, methods, variables etc).
All files should use 4 spaces indention instead of tabs. You can search all files using you IDE (examples is whole ODOMeterHandler class and couple of other places).

Thanks for guidance. Please check now I have made those requested changes.
Refactoring - tabs to spaces and naming convention
https://github.com/mungingLabs/traccar/commit/a70f478740514e6e60ffbe49906a9c6150b2ec99s

Looks good now. I will try to merge it over the weekend. Thanks.

Ok, you are welcome

I have merged the changes, but I've done some modification. The most significant one is that I renamed odometer to distance and moved it into other field.

Thanks Anton,


python controller implement getFabricId API

python controller implement getFabricId API for the script to query

@yufengwangca  could you take a look at this issue?


Fix platform checking logic

I think we have messed up some of the code base but it was not working properly as it should
Let me make it simple, in flutter we can check the current platform using dart:ui which will works on all platforms except web since it working differently, however the flutter package include a solution to that, it will get the platform even if it’s on web
import 'package:flutter/foundation.dart'
    show kIsWeb, TargetPlatform, defaultTargetPlatform;

So we need to be more specific if we weren’t to check the current working app platform or the platform that is using a browser to run the web app
Feel free to share your thoughts about this
Note:
The parameter supportWeb might need to be renamed, share a suggestion before we merge the code
There is also a failure but it will be fixed once we publish the flutter_quill and flutter_quill_extensions

@singerdmx
I merged this as we have more changes to flutter_quill_extensions and we want to focus on it a little
But let me know if we should revert or do any changes

ok

I need to publish right?

I need to publish right?

Sure, but the extension package is not ready yet for publishing


Fix findByIdempotencyKey return type

Currently the interface does not match the reality of what both the in memory adapter and the mongo adapter returns (they both can return null). This is creating a burden for library consumers when implementing their own custom adapters.  Additionally, I updated a few express definitely typed dependencies that were causing build issues.
closes #22

Thank you @dmmulroy for the pull request. It seems good to me. I will merge it and prepare an official release this week.

Thanks @joscelynjean!


Dijkstra’s Algorithm – Shortest distance

Problem Statement: Given a weighted, undirected, and connected graph of V vertices and E edges, Find the shortest distance of all the vertex’s from the source vertex S.
Note: The Graph doesn’t contain any negative weight cycle.
solves #141

pls add the question statement in the file itself

@HemangJoshi I have added the problem statement in the file.


[YBUG.IO] doesnt load

doesnt load
Source url: https://live.sovryn.app/
Reported by:
Reported at: 30 Apr at 08:59 UTC
Location: AU, Queensland, Brighton
Browser: Chrome 89.0.4389.128
OS: Windows 10.0
Screen: 1920x1080
Viewport: 1920x937
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/1pzn4j28ymh7g5m6snna

Issue should be resolved now


Test routine only logs metric of last dataloader item ?

https://github.com/ZhikangNiu/encodec-pytorch/blob/036c443e9f49bfa8967c13fc9c078b39ac2a9471/train_multi_gpu.py#L127-L128
Hey there! Thanks again for your effort on this repo. Very minor detail; it looks like the test function currently only logs the metrics for the last dataloader item (maybe I misunderstood how this plays out with DataParallel, if so my apology). Any reason behind that ?

yes, it only log the metrics for the last dataloader item (in rank 0 when use ddp). You can feel free to change it :)

Thanks for clarifying, just wanted to ensure I understood that right.


IDE functionality

some housekeeping things with IDE:

Please maintain all last set window/pane sizes inside IDE when using and on exit/restart. Basic example if you move split between console display and lower input section then switch to another tab and come back they have reset.

maintain scroll bar positions. fe If you have large enough history of messages in console then switch to another tab and switch back the scroll bar has reset to the top.

if VE is open on tab anytime you switch between any two other tabs (like between 2 drivers etc.) you see VE flash through.

if you have "send" property pane expanded for a command & then expand "General" the send toolbar will show through below

yup, i know that by hear. it isn't really easy but I am trying to get it for you.


[QUESTION] Advantages & Disadvantes of ApiOps Extractor vs Built-In APIM Git Repository

Hi, im new to the ApiOps topic. I found good guidance in Microsoft documentation and Architecture Center as well as in this repo. From my current understanding the built-in Git Repository that comes with Azure APIM is doing a similar job as the ApiOps Extractor Pipeline. So ... is ApiOps easier to use? Or what are some advantages and disadvantages of using ApiOps compared to saving the configuration in the built-in APIM Git Repository? So yea, looking for general guidance and advise :)
Thanks in advance!

@nschoenberg I am assuming you are referring to this.
The on-service git repository is one of many mechanisms to get APIs defined, which also include Terraform and Bicep.  It doesn't cover all scenarios, and may be preferable to other techniques if it fits your operations model.  APIOps has been proven to be suitable for scalable multi-team operations models.
You can start with the git edition and then transition to APIOps when you bump into requirements that preclude the git edition.  We predict handling the API definition capabilities for multiple teams and/or large numbers of APIs that have their own lifecycle is likely to be the top reasons for reaching for APIOps.


Client bundle size for client-side application

I use @diplodoc/transform and @gravity-ui/markdown-editor in my client project to display and edit user messages. While working on it I noticed while throttling the internet connection, that the page bundle that contains both of these components takes up 2.4mb gzipped and it takes a long time to load on a throttled connection.
After reviewing the bundle with bundle analyzer, I noticed that lowlight and higlight.js takes up a lot of space in the bundle. Due to the fact that these are optional deps, I removed them, but still, the bundle takes up 1.4mb, although I don't use custom plugins in @diplodoc/transform and use the minimal commonmark preset in @gravity-ui/markdown-editor. In the bundle I see a lot of packages that are not being used (like plugins and table module).
I prepared a sample project here. You can use it to see the lazy-loaded bundle on the /editor page, that takes up 2.4mb.
I believe that both of these libraries can be optimized a bit, so that the size is adequate for a client application. I will also create an issue in the @gravity-ui/markdown-editor repo regarding this.

@gravity-ui/markdown-editor issus is here.


Extension stopped working and unable to re-load

Browser extension stopped working for me this week in Chrome. When I went into Extensions to manage it, there were a bunch of error. I removed the installed extension, re-downloaded the .zip, expanded it and tried to reload and I get the following:
Failed to load extension
File
~/Desktop/mist_browser_extension-main
Error
Manifest file is missing or unreadable
Could not load manifest.

Hi Andy,
It seems you are trying to load the source code, and not the extension code.
Can you download the file mist_extension-3.3.1.zip from https://github.com/Mist-Automation-Programmability/mist_browser_extension/releases/tag/3.3.1 and try again?
Also, if the extension is not showing in the browser top bar, please check this issue: https://github.com/Mist-Automation-Programmability/mist_browser_extension/issues/58

That fixed it... was weird that it just died on Monday. Thanks Thomas!!
Thank You,
Andy Pandolfino
615-614-3231
On Thu, Sep 28, 2023 at 1:34 AM Thomas Munzer @.***>
wrote:

Hi Andy,
It seems you are trying to load the source code, and not the extension
code.
Can you download the file mist_extension-3.3.1.zip from
https://github.com/Mist-Automation-Programmability/mist_browser_extension/releases/tag/3.3.1
and try again?
Also, if the extension is not showing in the browser top bar, please check
this issue: #58
https://github.com/Mist-Automation-Programmability/mist_browser_extension/issues/58
—
Reply to this email directly, view it on GitHub
https://github.com/Mist-Automation-Programmability/mist_browser_extension/issues/60#issuecomment-1738549854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEGP6GPPTSLSVWHGEKE5XOTX4ULALANCNFSM6AAAAAA5J4RYRU
.
You are receiving this because you authored the thread.Message ID:
<Mist-Automation-Programmability/mist_browser_extension/issues/60/1738549854
@github.com>

Thanks for the confirmation!


Use Azure file shares in a hybrid environment

By integrating them with Active Directory Directory(the second Directory should be replaced with Domain) Services (AD DS), you can control and limit access to AD DS users. Azure file shares then can replace traditional file servers.

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

ID: d20e646f-ab65-35af-4eb1-2d3e96070a81
Version Independent ID: 36462251-e273-3b97-1754-98178aa46e92
Content: Azure file shares in a hybrid environment - Azure Architecture Center
Content Source: docs/hybrid/azure-file-share.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @raunakjhawar
Microsoft Alias: ancoughl

@jersoltech Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will file a PR to fix this.

Thank you for your feedback.  We have created internal ticket 143216 to track and investigate this issue.

#please-close


Output embeddings dimensions

When loading the FashionCLIP model from HF using only the image encoder, like this:
fashion_clip = 'patrickjohncyh/fashion-clip'

model = CLIPVisionModel.from_pretrained(fashion_clip)
processor = CLIPProcessor.from_pretrained(fashion_clip)

image = Image.open("image1.jpg")
inputs = processor(images=image, return_tensors="pt")

with torch.no_grad():
    outputs = model(**inputs)
numpy_outputs = outputs.last_hidden_state.numpy()

This outputs an array of shape (1, 50, 768).
Two concerns here:

Does this mean that the FashionCLIP image encoder divides the image in 50 patches? Why isn't the original architecture of CLIP kept for FashionCLIP?
Also, are these the patch embeddings? Or are they a result after projection layers that reduce dimensionality to 768? Because the original CLIP model outputs dimension 1024 embeddings right after the Vision Transformer Encoder

Thanks

Hello! Sorry for the late reply, I was just able to test this now.
I get the same result from laion/CLIP-ViT-B-32-laion2B-s34B-b79K you might want to try to ask the question the LAION folks!


travis/stand alone scripts

Host OSX builds will be easier if we could organize the process in this way.

Seems i did some things in an incorrect order (again :( ).. These have been merged

I do lots of wrong stuffs too!
This is my first real contribution to a such bit project like this so, if something is not going as it should plz tell me :)


Fix scipy dependency in probability module

Scipy is an optional dependency of mxnet. Requiring it breaks the website build (and will also break mxnet in other environments where scipy isn't present)
Fixes https://github.com/apache/incubator-mxnet/issues/18680

Here is the preview with this fix: http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/api/python/docs/api/gluon/index.html

@mxnet-bot run ci [unix-cpu]

@mxnet-bot run ci [unix-cpu, miscellaneous]

@mxnet-bot run ci [unix-cpu]


Padding a little bit weird

Description
The padding inside CKEditor is a little bit weird.
Screenshots

It's not weird. I just left like it was, without the left vertical bar (for blockquote session) and padding.
I'll look to modify this, having the same presentation with the final result.


Add toast notifying user if a dataset has been revised or deleted

Prior to beginning dev work, check how many revisions have happened in the past month. If there have been more than a couple:
A user should be notified if a dataset has been revised. The genes/genesets/diffexp commands should continue to work against the revised dataset (this works as is now).
A user should be notified if they have an active session on a dataset that has been deleted.
This is follow-up work for the Caching Redesign epic.

This will no longer be an issue after the Portal Data Mgmt Redesign, since deleted DatasetVersions will still be available.


about test data split

Dear author, you mention in your paper dividing the test data into three subsets based on whether two proteins have been present in the training data, including: (1) BS: both have been present; (2) ES: one of the proteins is present; (3) NS: neither occurs. How is this implemented and where is the code for this part?

This is not hard to implement, a simple indicator function can divide the test set into different subsets and then just calculate the metrics for each subset separately. This part of the code was not included in the Github submission. An example is as follows:
prot_seen = set(list(ppi_list[ppi_split_dict['train_index']].reshape(-1)))

BS_list = []
ES_list = []
NS_list = []

if ppi_list[index][0] in prot_seen and ppi_list[index][1] in prot_seen:
     BS_list.append(num)
elif ppi_list[index][0] not in prot_seen and ppi_list[index][1] not in prot_seen:
     NS_list.append(num)
else:
     ES_list.append(num)


[AUTOPATCHER-CORE] Upgrade nginx to 1.26.1 Fix CVE-2024-31079

[AUTOPATCHER-CORE] Upgrade nginx to 1.26.1 Fix CVE-2024-31079
Upgrade pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=621523&view=results
buddy build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=621534&view=results

also fixes CVE-2024-32760, CVE-2024-31079, CVE-2024-35200, CVE-2024-34161


Remove relevance detection code

We have had problems with it:

it was slow
it is a non-standard extension of RuboCop's config
Include option exists
department-specific (e.g. FactoryBot) config was ignored
for the same department (i.e. FactoryBot) files to inspect are different for different cops

Close #967
Close #1062
Fixes #1044
It's all interconnected in this PR, here's the path I had to go through:

Remove the code that checks file relevance
Replace Patterns with Include
Adjust config/default.yml
Adjust specs, specifying the file for other departments
Tweak config shared example to respect department settings
Adjust config formatter
Fix spec that failed to detect offences in an unrelated file

TODOs

[x] extract 7 into a separate PR (extracted to #1064)
[x] adjust #1013 to mention Patterns -> Include migration (added a TODO there)

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have modified an existing cop's configuration options:

[x] Set VersionChanged in config/default.yml to the next major version.

@fatkodima Please take a look, what do you think about memory consumption? Is this faster, or worse than previously?
For some reason, I can't invite you as a reviewer.

For some reason, I can't invite you as a reviewer.

I think that's because I'm not a member of a rubocop organization.
Just measured - memory is good, good job! 👏 👏

memory is good, good job!

@fatkodima Thanks! 🙌

not a member of a rubocop organization.

Just not yet. Keep up the good work!

@sl4vr Appreciate it if you could take a look.
I have the impression that this change will make #956 simpler. WDYT?

Rebased. It's down from  +194 −162 to +113 −106 now.
@bquorning please take a look, but no rush.

@bquorning @Darhazer Please merge at will. Addressed your concerns.


Documentation of attribute accessor ignored if the accessor is optional

I have code of this form:
# ...
#
# @return [Type]
#   the things
attr_reader :things if condition?

Inch reports that there is no documentation.

Re: [U] LogParser#scope_changes_by_line in reitzig/texlogparser

Probably related to #213.


Brings in a port the DinnerParty project as a sample application for marten

Addresses #272, would still like to port from NancyFX to ASP.NET MVC and eventually maybe even ASP.NET MVC Core.

Awesome! I'll get this in one way or another today.


dark mode compatible transparent background logo

Description

Closes  #3363
and maybe: #1406
Link to documentation:

I added a new version of ESMValTool-logo-2.png and kept the previous version (white background) as ESMValTool-logo-2-white.png. Not sure how to proceed with the pdf version. If I'd know where its used, I can try to do the same with the pdf file.

[x] PDF version
[x] Documentation
[x] Website
[ ] ESMValCore
Are there other places where the logo is used?

Before you get started

[x] ☝ Create an issue to discuss what you are going to do #3363

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[ ] 🛠 The list of authors is up to date
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

New or updated recipe/diagnostic

[ ] 🧪 Recipe runs successfully
[ ] 🧪 Recipe is well documented
[ ] 🧪 Figure(s) and data look as expected from literature
[ ] 🛠 Provenance information has been added

New or updated data reformatting script

[ ] 🛠 Documentation is available
[ ] 🛠 The dataset has been added to the CMOR check recipe
[ ] 🛠 The dataset has been added to the shared data pools of DKRZ and Jasmin by the @ESMValGroup/OBS-maintainers team
[ ] 🧪 Numbers and units of the data look physically meaningful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

Then let's merge this logo as it is, and we can make a separate issue about the absolute paths in the README?

am ready to merge this BTW, if you think it's good to go :+1:

Then let's merge this logo as it is, and we can make a separate issue about the absolute paths in the README?

ah, was just saying at the same time :grin:


Fixes verdverm/frisby#5

SetCookie,SetData,SetParam always panic because it's nil
We need do some check and init map before inject data.

@lysu  good call, I fixed a few of these locally and never pushed :[
This is also an issue in global.go, do you mind fixing it there too?

@verdverm Hi~ global.go has fixed, too; also AddFile~ thx.

@lysu, thank you!


It's not working with ollama

I'm using this extension in VSCodium, but it doesn't seem to be working properly. I have set up the Provider and model, and I can also see API logs in ollama's server.log, but there is no response when I chat or use auto-complete features.
logs like these
[GIN] 2024/03/08 - 10:14:33 | 404 |       505.1µs |       <IP_ADDRESS> | POST     "/api/chat"
[GIN] 2024/03/08 - 10:15:15 | 404 |       504.4µs |       <IP_ADDRESS> | POST     "/api/generate"

Try updating the extension to version 3.2.3 and restarting Ollama

Try updating the extension to version 3.2.3 and restarting Ollama

I am confused why the dropdown selections for Ollama are not even the correct repository names. @vfraloo I think you will need to type in the correct repository such as "Deepseek-Coder:6.7b-Instruct" instead of just selecting the default selections from the dropdown menu. This is what was so confusing to me at first. What is the point of having the wrong named menu options?

See this answer, a simple python asyncio proxy with model name replacement I'm using daily:
https://github.com/davila7/code-gpt-docs/issues/227#issuecomment-2142803287
Edit the MODEL_SWAP to your liking, and replace llama3:8b with any fine-tunes, like ChatQA-v1.5 or any other models.


The chart can't start from the left

Hi, lightweight-charts team
I am facing an issue with lightweight-charts. I want to display my chart from left edge, I used
fixLeftEdge: true,  but it won't make the chart start on the left.

Can you provide link to jsfiddle/minimal repro of your problem?

https://jsfiddle.net/t7rahbxn/

Currently, it is aligned to the right. Is it possible to move the chart to the left like this?

It looks like a bug. As workaround you can try to apply this option after data is set - chart.timeScale().applyOptions({ fixLeftEdge: true }); (but currently it moved chart a little, we'll fix it too).

Thanks for the quick response and this wonderful library.


Discord Installation on Windows 11 is not installed correctly

Describe the bug
Discord installation appears to not integrate with Windows Desktop Environment when installed via winutil on Windows 11
Windows Version: Professional Version 10.0.22631 Build 22631
To Reproduce
Steps to reproduce the behavior:

Install Discord via winutil on a fresh Windows11 host
Open and log into Discord
Pin Discord and move it to the left on the taskbar
Restart Computer
On restart, Discord is no longer pinned

Expected behavior
Discord should remain pinned.

Hello @hambrosia
This issue is not because of winutil, nor should be the issue of winget.
I am on the same build as you and tested it out, but it stayed pinned as expected.

I found this reddit post with a user that has the same issue but with firefox.
Another way of fixing it was tried over here, but it looks like that did not work.

I suggest running discord with admin, while running right click on the taskbaritem and pin it from there, since I could not recreate the issue and neither of the links seem to be marked as fixed I can't promise that something will work.

@MyDrift-user thanks for trying to repro.
It's not a company-provided device.
I also noticed issues when trying to uninstall Discord via the winutil and afterward via "add or remove programs."
It would remove the icon when uninstalling but a blank icon would remain and the settings and login data were not removed.
Possibly just something went wrong with my particular install, it may not be the winutil but I wanted to raise it in case there is something happening here. I'm fine to close this if we can't reproduce on other machines though.
I installed quite a few other applications at the same time via winutil so I wonder if there was some interaction or contention for the same resources at some point.

I also noticed issues when trying to uninstall Discord via the winutil and afterward via "add or remove programs."
It would remove the icon when uninstalling but a blank icon would remain and the settings and login data were not removed.

I have actually noticed this issue with Windows in general. Some applications leave behind shortcuts sometimes, and Windows just leaves broken links constantly.

I installed quite a few other applications at the same time via winutil so I wonder if there was some interaction or contention for the same resources at some point.

This is unlikely, as the downloads aren't threaded and happen one after the other. (This is mostly a Windows limitation, in general. MSIX packages can have 6 installations at once, while EXE and MSI packages are limited to 1 installation at a time, even if we were to try to find a way to do parallel downloads.)

This is a known problem for Discord, (maybe please rename title?). It would be very great if Chris or a Maintainer could create a fix for this. The cause is, that Discord creates a new folder/path on each update → so Windows keeps forgetting the Taskbar-Settings for Discord on each Discord-Upate. Would be very great if one could program a scheduler task which sets the tray settings on each reboot (discord has lots of updates). I did try it with PowerShell/ChatGPT but it couldn't find the right Registry keys.

I never noticed this issue until using the winutil to install Discord. Could it be winutil is using a version of the Discord application that is susceptible to this problem?


question: howto use the next parameter in the controller functions?

for example the user api has this route:
router.put('/:id',
  token({ required: true }),
  body({ name, picture }),
  update);

The update function has this prototype:
export const update = ({ bodymen: { body }, params, user }, res, next)
And it uses next in the promise catch:
    .then(success(res))
    .catch(next);

How can I pass this next function to the update function please?
The thing is I'd like to catch the MongoDB/Mongoose exceptions in this function to send a proper description of the exception formatted in JSON.

I'm really not skilled in express but I think I figured it out. In src/services/express/index.js I added this last app.use:
  app.use(bodyParser.urlencoded({ extended: false }));
  app.use(bodyParser.json());
  app.use(routes);
  app.use(queryErrorHandler());
  app.use(bodyErrorHandler());
  app.use((err, req, res, next) => {
    if(err) {
      res.status(500).json(err);
    }
    else {
      next(err);
    }
  });

Is this ok?


Fix blocked request filtering in the dev-tools panel UI

Apparently base.css is clashing with the devtools-panel stylesheet,
causing rows for blocked requests to be displayed incorrectly. The
workaround for that appears to have prevented the rows from being
hidden, when the toggle to show blocked requests is used. Without
digging more deeply into it for now, let's just ensure that blocked
requests are hidden with a more specific selector.
Reviewer: @GuiltyDolphin
CC: @tagawa, @laghee

Thanks, I tested by pasting the new CSS into the live extension debugger and it worked!
LGTM :)


Travis: Cache bundler and use containers

This will speed up tests

Hello,
Sorry, I know it's been a long time ago, but I just noticed that Travis cache: was enabled by this pull request, whereas Travis caching feature was available since December 17, 2014 (about a year before). I am interested in understanding the reason behind delaying the cache feature in this repository.
Thank you.


Way to access identity endpoint doesn't match running instance behavior

Container app with a managed identity exposes the identity endpoint by defining two environment variables:
IDENTITY_ENDPOINT - local URL from which your container app can request tokens.
IDENTITY_HEADER - a header used to help mitigate server-side request forgery (SSRF) attacks. The value is rotated by the platform.
But the IDENTITY_ENDPOINT variable is not present inside the container:
printenv | grep IDENTI
IDENTITY_API_VERSION=2020-05-01
IDENTITY_SERVER_THUMBPRINT=a6f221acd...6b3e2
IDENTITY_HEADER=xxxxxx

Also, looks like the auth endpoint that works is the regular metadata endpoint:
curl -H "Metadata: true" 'http://<IP_ADDRESS>/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://management.azure.com/'
{"access_token":"xxxxxxxxxxxxxx"}

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

ID: 1bae7356-5237-f004-16e8-3f89b1dfeac6
Version Independent ID: 841a9a04-8bc8-8bfd-a57d-f57945829a66
Content: Managed identities in Azure Container Apps
Content Source: articles/container-apps/managed-identity.md
Service: container-apps
GitHub Login: @v-jaswel
Microsoft Alias: v-wellsjason

Miss opened the issue on container apps instead of container instance.


change icon size in course outline

@aleffert  please review.
change icon size in assessment screen

as it is the simple change... i will merge the code for Mirza to test now.

:+1:


Apex language auto suggest not working

My code is:
function createDependencyProposalsApex() {
  // returning a static list of proposals, not even looking at the prefix (filtering is done by the Monaco editor),
  // here you could do a server side lookup
  var classes = allClasses;
  var pages = allPages;
  if(typeof classes == "string"){
      classes = JSON.parse( classes );
  }
  if(typeof pages == "string"){
      pages = JSON.parse( pages );
  }
  /*chrome.storage.local.get('AllClasses', function (result) {
         classes= JSON.parse(result.AllClasses);
         chrome.storage.local.get('AllPages', function (result) {
	         pages= JSON.parse(result.AllPages);
	*/
  suggestions = [];
  for (var i = 0; i < classes.length; i++) {
    var classObj = {
      label: classes[i].Name,
      kind: monaco.languages.CompletionItemKind.Function,
      insertText: classes[i].Name
    }
    suggestions.push(classObj);
  }
  for (var i = 0; i < pages.length; i++) {
    var pageObj = {
      label: pages[i].Name,
      kind: monaco.languages.CompletionItemKind.Function,
      insertText: pages[i].Name
    }
    suggestions.push(pageObj);
  }
  return suggestions;

}

monaco.languages.registerCompletionItemProvider('apex', {
      provideCompletionItems: function(model, position) {
        var suggestions = createDependencyProposalsApex();
        return suggestions;
      }
    });

It id showning only the class text as suggestion

This is a breaking API change in 0.15.x, documented in the release notes:

The sample here has also been updated.
	export interface CompletionList {
		suggestions: CompletionItem[];
		incomplete?: boolean;
		dispose?(): void;
	}

	/**
	 * The completion item provider interface defines the contract between extensions and
	 * the [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense).
	 *
	 * When computing *complete* completion items is expensive, providers can optionally implement
	 * the `resolveCompletionItem`-function. In that case it is enough to return completion
	 * items with a [label](#CompletionItem.label) from the
	 * [provideCompletionItems](#CompletionItemProvider.provideCompletionItems)-function. Subsequently,
	 * when a completion item is shown in the UI and gains focus this provider is asked to resolve
	 * the item, like adding [doc-comment](#CompletionItem.documentation) or [details](#CompletionItem.detail).
	 */
	export interface CompletionItemProvider {
		triggerCharacters?: string[];
		/**
		 * Provide completion items for the given position and document.
		 */
		provideCompletionItems(model: editor.ITextModel, position: Position, context: CompletionContext, token: CancellationToken): ProviderResult<CompletionList>;
		/**
		 * Given a completion item fill in more data, like [doc-comment](#CompletionItem.documentation)
		 * or [details](#CompletionItem.detail).
		 *
		 * The editor will only resolve a completion item once.
		 */
		resolveCompletionItem?(model: editor.ITextModel, position: Position, item: CompletionItem, token: CancellationToken): ProviderResult<CompletionItem>;
	}

It is showing only custom suggestion .How to get default suggestion along with custom suggestion.


Don't store build listeners registered by buildSrc to the config cache

Since the buildSrc build is never restored from the cache.
Resolves #20001

@bot-gradle test ACC

OK, I've already triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test and merge

Thanks, @eskatos!

OK, I've already triggered a build for you.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Improve guide

I've installed the lib today and I encountered some small frictions, the main one being coping the version 0.1.0 instead of 0.4.0.
Have a nice day!

:+1:  Thanks


Total charge of organization is bigger than the sum of charges for each space

I have been playing with the cf-bridge and the report that it generates off of a local Cloud Foundry instance and stumbled upon some strange behaviour.
I have one organization containing two spaces each of which has one application running. One app has one instance and the other has two. The bridge is reporting the linux-container resource that comes with Abacus. What I notices is that in the final report the sum of the charges for each space is less than the total charge for the entire organization.
As the linux-container metric is somewhat complex I decided to simplify the formulae so that it is easier to track what is going on. Here is what I ended up with:
    meter: (function (m) {
      return {
        consuming: m.running_instances,
        since: m.start
      };
    }).toString(),

    accumulate: (function (a, qty) {
      return qty;
    }).toString(),

    aggregate: (function (a, prev, curr) {
      return a ? {
        consumed: a.consumed + curr.consuming,
        consuming: curr.consuming,
        since: curr.since
      } : {
        consumed: 0,
        consuming: curr.consuming,
        since: curr.since
      };
    }).toString(),

    rate: (function (price, qty) {
      return {
        burned: qty.consumed * 1,
        burning: qty.consuming * 1,
        since: qty.since
      };
    }).toString(),

    summarize: (function (t, qty) {
      return qty.consumed;
    }).toString(),

    charge: (function (t, cost) {
      return cost.burned;
    }).toString()

Basically adding up the total number of instances in consumed, keeping track of current number of instances in consuming and then charging only for consumed instances.
Here is the report I got:
{
  "organization_id": "91a2e8bc-1d6d-4e99-84bf-0b78b664db75",
  "start":<PHONE_NUMBER>000,
  "end":<PHONE_NUMBER>999,
  "resources": [
    {
      "resource_id": "linux-container",
      "plans": [
        {
          "plan_id": "basic",
          "aggregated_usage": [
            {
              "metric": "memory",
              "quantity": {
                "consumed": 1,
                "consuming": 1,
                "since":<PHONE_NUMBER>000
              },
              "cost": {
                "burned": 1,
                "burning": 1,
                "since":<PHONE_NUMBER>000
              },
              "summary": 1,
              "charge": 1
            }
          ],
          "charge": 1
        }
      ],
      "aggregated_usage": [
        {
          "metric": "memory",
          "quantity": {
            "consumed": 1,
            "consuming": 1,
            "since":<PHONE_NUMBER>000
          },
          "summary": 1,
          "charge": 1
        }
      ],
      "charge": 1
    }
  ],
  "spaces": [
    {
      "space_id": "cf639c05-b275-48ae-8b1f-b56ff84d53c6",
      "resources": [
        {
          "resource_id": "linux-container",
          "plans": [
            {
              "plan_id": "basic",
              "aggregated_usage": [
                {
                  "metric": "memory",
                  "quantity": {
                    "consumed": 0,
                    "consuming": 2,
                    "since":<PHONE_NUMBER>000
                  },
                  "cost": {
                    "burned": 0,
                    "burning": 2,
                    "since":<PHONE_NUMBER>000
                  },
                  "summary": 0,
                  "charge": 0
                }
              ],
              "charge": 0
            }
          ],
          "aggregated_usage": [
            {
              "metric": "memory",
              "quantity": {
                "consumed": 0,
                "consuming": 2,
                "since":<PHONE_NUMBER>000
              },
              "summary": 0,
              "charge": 0
            }
          ],
          "charge": 0
        }
      ],
      "consumers": [
        {
          "consumer_id": "ALL",
          "resources": [
            {
              "resource_id": "linux-container",
              "plans": [
                {
                  "plan_id": "basic",
                  "aggregated_usage": [
                    {
                      "metric": "memory",
                      "quantity": {
                        "consumed": 0,
                        "consuming": 2,
                        "since":<PHONE_NUMBER>000
                      },
                      "cost": {
                        "burned": 0,
                        "burning": 2,
                        "since":<PHONE_NUMBER>000
                      },
                      "summary": 0,
                      "charge": 0
                    }
                  ],
                  "charge": 0
                }
              ],
              "aggregated_usage": [
                {
                  "metric": "memory",
                  "quantity": {
                    "consumed": 0,
                    "consuming": 2,
                    "since":<PHONE_NUMBER>000
                  },
                  "summary": 0,
                  "charge": 0
                }
              ],
              "charge": 0
            }
          ],
          "charge": 0
        }
      ],
      "charge": 0
    },
    {
      "space_id": "20cf3eb5-6750-4929-83d2-b1c6d80fd35a",
      "resources": [
        {
          "resource_id": "linux-container",
          "plans": [
            {
              "plan_id": "basic",
              "aggregated_usage": [
                {
                  "metric": "memory",
                  "quantity": {
                    "consumed": 0,
                    "consuming": 1,
                    "since":<PHONE_NUMBER>000
                  },
                  "cost": {
                    "burned": 0,
                    "burning": 1,
                    "since":<PHONE_NUMBER>000
                  },
                  "summary": 0,
                  "charge": 0
                }
              ],
              "charge": 0
            }
          ],
          "aggregated_usage": [
            {
              "metric": "memory",
              "quantity": {
                "consumed": 0,
                "consuming": 1,
                "since":<PHONE_NUMBER>000
              },
              "summary": 0,
              "charge": 0
            }
          ],
          "charge": 0
        }
      ],
      "consumers": [
        {
          "consumer_id": "ALL",
          "resources": [
            {
              "resource_id": "linux-container",
              "plans": [
                {
                  "plan_id": "basic",
                  "aggregated_usage": [
                    {
                      "metric": "memory",
                      "quantity": {
                        "consumed": 0,
                        "consuming": 1,
                        "since":<PHONE_NUMBER>000
                      },
                      "cost": {
                        "burned": 0,
                        "burning": 1,
                        "since":<PHONE_NUMBER>000
                      },
                      "summary": 0,
                      "charge": 0
                    }
                  ],
                  "charge": 0
                }
              ],
              "aggregated_usage": [
                {
                  "metric": "memory",
                  "quantity": {
                    "consumed": 0,
                    "consuming": 1,
                    "since":<PHONE_NUMBER>000
                  },
                  "summary": 0,
                  "charge": 0
                }
              ],
              "charge": 0
            }
          ],
          "charge": 0
        }
      ],
      "charge": 0
    }
  ],
  "id": "k/91a2e8bc-1d6d-4e99-84bf-0b78b664db75/t/0001443744000000",
  "charge": 1
}

In the per-space aggregation I am getting the expected {consumed: 0, consuming: x} where x is the number of instances for the app, but in the per-resource aggregation I get {consumed: 1, consuming: 1} and I do not understand why.
Apart from that it seems that the total charge = total charge for resources + total charge for spaces which looks like a bug. After all these resources are used by the same spaces so we have double counting. Or maybe I don't get something. Thoughts?

IIUC the expected result should be total charge for the org == total of the charges for the spaces == total charge for the resources. You are correct that the charges for the spaces should not added to the charges for the resources, so there must be a bug in the aggregation or rating code.

Ben, now that the time window support is in place can you take a look at this? Thanks!

The charges don't add up due to the functions defined in the resource configuration. There was an issue in the sample linux-container resource config as well in the charge and summary functions. That has been addressed by 4c2ac1ec3c95f2b8ad16fbabd4068c93727d1b92. These two functions were trying to divide by hour in milliseconds, but they ended up only dividing the real-time calculation portion and did not touch the consumed/burned values that were from the document leading to an addition on two different timescales.
In terms of the functions that have been provided in this issue, there's a couple of things I think I can point out.
Simplifying the aggregation function to not use the time can cause the consumed value to not be properly represented by the time of the usage submissions. This can affect the charge & summarize functions if they include calculations based upon the time of report.
Charge & summarize do not take into account the time different between the the last submitted usage and the time of the report. Since that's the case, any immediate charges in the space won't be calculated.
In aggregation for this particular case, the consumed value will always be 0 on the first accumulated usage. In the spaces, I'm assuming that there is only one accumulated usage per space. When it gets to the organization level, that is no longer the case and consumed will be potentially calculated beyond 0(in this case, it's 1). Since rate (and subsequently charge) is based off of just the consumed value, the spaces that aggregated to 0 consume will have 0 charge while the organization is returning 1.
Changing the aggregate/charge/time functions to be wary of the time should make it so the quantity/costs/charge/summary match up on the space and organization levels.
Does that help in any way?

Tested again on v0.0.2-rc.1 and the charges look good to me now. Closing, please reopen if needed.


Critical: Popup editing freezes consistently

@dazzariti was attempting to use the curation chrome extension v1.5 during a zoom call and it would consistently prevent her from entering override fields or notes.
We attempted to reload the extension from scratch and restart chrome and compare chrome versions with my environment which was working at that very time. We also reviewed the other extensions @dazzariti had loaded but nothing seemed vastly different.
Further analysis is needed.
Heidi was also mentioning that she consistently had to restart chrome after each curation she saved - which is unacceptable.

Danielle and I tried several methods in terms of removing, installing the chrome extension (even re-downloading it). We cleared the chrome cache, disabled all other extensions and we did get it to work once or twice but then it quickly reverted to not allowing Danielle to change or modify fields in the popup window.
It did always let her choose the SCV.
It sometimes allowed her to choose a different action.
NOTE: the one or two times it worked in a row was after we cleared the cache and restarted chrome and did NOT change the action and selected a predefined reason and hit submit. This recorded in the google sheet.
As soon as we tried to change the action and got as far as filling everything out (one time - most times it did not allow her to change values in the "new value" field) and hit submit, it did not record that entry and set us back into a non-usable state for the extension.
Since Danielle does not currently need to curate we are closing this issue and will revisit if others have a problem.
NOTE2: on the upside I was able to get Heidi's "restart chrome after each use of the extension" fixed by clearing her cache and reloading the v1.5 version of the extension (she had v1.4 loaded).


Due to fixing the memory leak problems, PreparedSQL field was removed in gorm repo, but this repo still references the problematic gorm version v1.25.11. Can you consider upgrading the dependent Gorm version?

i followed the gorm doc code
import (
  "gorm.io/driver/postgres"
  "gorm.io/gorm"
)

dsn := "host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai"
db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})

However, when i build, go complained as follows.
# gorm.io/plugin/dbresolver
..\..\..\..\go\pkg\mod\gorm.io\plugin\dbresolver@v1.5.0\dbresolver.go:147:5: unknown field PreparedSQL in struct literal of type gorm.PreparedStmtDB

After some searching and analysis, I found that the problem lies in the gorm repository v1.15.11, which was updated to v1.15.12 due to fixing a memory leak issue. And during this repair, the PreparedSQL field for PreparedStmtDB struct, which in gorm.io/gorm/prepare_stmt.go was removed.

However in this repo, still use the old gorm version(v1.25.7)
At present, i specify the particular older gorm version to ensure my project build successfully. But since the update is a bug fix, I hope this repo can be upgraded accordingly.

unknown field PreparedSQL in struct literal of type gorm.PreparedStmtDB

Can you consider upgrading the dependent Gorm version.

https://github.com/go-gorm/dbresolver/pull/144

upgrade to v1.5.3


Add Forecasting Metrics

Hi,
Is it possible to add the following metrics?
https://user-images.githubusercontent.com/87130252/248551500-5b8062c9-230f-42f9-a000-0dcfec0626c3.png
Thanks very much.

Hey. We're moving the metrics to utilsforecast. Can you please open an issue there if this is still relevant for you?


Cwl Segmentation workflow

@bengtl For security purposes, the CI has been configured to only run code from trusted users. Hamdah simply needs to change her github user to be a public member of the polusai organization.

@bengtl For security purposes, the CI has been configured to only run code from trusted users. Hamdah simply needs to change her github user to be a public member of the polusai organization.

Ok, thanks for clarifying @jfennick!


kep: support for peremption based on flavor order

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #582
Special notes for your reviewer:
Does this PR introduce a user-facing change?

/release-note-none
/ok-to-test

@KunWuLuan would you mind adding an extension interface proposal for this KEP?

would you mind adding an extension interface proposal for this KEP?

Do you mean

We were initially targeting the release of 0.4 by the end of June. I think we might be too late for a feature like this for which we don't have a clear API yet.
We could still make progress and target 0.5 for this feature. WDYT?

No problem, I think more discussion lead to a better design.

cc @mwielgus

work in #849

We still should have the accompanying KEP merged. Could you have it up-to-date?

Sorry I had a misoperation. I have updated the kep.

Can you run make toc-update?

Readme is updated already. All comments were resolved.

/approve
Please run make toc-update again.

/label tide/merge-method-squash

Have run make toc-update

/lgtm

/retest
due to #1090


Add monitoring to Shared Service (4a9599) namespaces

Grafana Agent has been deployed in dev, test, prod, and tools
Logs from the above environments are being pushed to Loki.
Metrics data sources for each of the namespaces have been added to DTS Grafana.


Fix CI build by downloading latest Chrome

Description
Currently our Build/CI is failing in the e2e test phase with the following error:
[20:36:40] E/launcher - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 90
Current browser version is 89.0.4389.114 with binary path /usr/bin/google-chrome

This is a tiny PR which ensures we have the latest version of Chrome in our CI environment by adding the Google repository (as v90 is not yet available in standard Ubuntu repositories).
As the current main branch is failing CI with this error, if this PR fixes it then it should be merged immediatel.

UGH, so my first fix didn't work because Chrome v90 is still considered "beta" (not on the "stable" branch yet), and strangely the latest ChromeDriver wants us to use a beta version of Chrome.  Instead of that, I've tried a new approach of using this GitHub Action: https://github.com/nanasess/setup-chromedriver
I've reviewed the code in that Action, and it appears to:

Grab the latest version of Chrome
Then download the version or ChromeDriver which matches that version

Here's the main code behind the action: https://github.com/nanasess/setup-chromedriver/blob/master/lib/setup-chromedriver.sh
We'll see if this works for us. If not, we may need to either switch (temporarily) to using a beta version of Chrome (v90)...or create our own script to install ChromeDriver v89.

@artlowel : I'm leaving for the night... So, I'm hoping this next build succeeds.  If not, I'll have to see if I can find a better fix tomorrow (if you don't figure one out first).

Closing in favor of #1100, as that is a better fix for our environment (and none of the attempts in this PR actually worked)


Use browser fetch on renderer

For performance reasons.

Closing this because it seems that node-fetch seems to be ok (it was logger causing performance issues).


Remove capability to override images

The current behavior to override the image by default is can result in an expected behavior, especially when someone wants to test a change which updates the image name in sample CR definition.
Some components (eg. nova) do not support customizing images which is also confusing.
In addition, the current implementation requires that we maintain the image names in Makefile to keep these consistent with sample files in individual repo, but this requirement is redundant.

@kajinamit Is there another PR where you are hitting difficulties that motivated you to create this patch? Also, how is nova-operator behaving differently here (it shouldn't be!?)

I was updating the default service images used by operators but install_yaml "reverts" the change in sample files and deploys CR with old images. This is causing the failure in https://github.com/openstack-k8s-operators/keystone-operator/pull/215 .
We can workaround the problem by merging the change in install_yamls first but in general defining defaults in mutliple layers causes tricky dependencies when updating defaults so I'm trying to fix it.

Probably https://github.com/openstack-k8s-operators/install_yamls/pull/148 (just removing the hard-coded defaults) would be a better short-term solution for now. I'm still not sure how we can implement support for customizing multiple container images using current implementation but that can be revisited later.


[NEW]: CEO in Charge of FTX Restructuring Calls Case an ‘Unprecedented’ Mess

Date
2022-11-17
Description
The man who had to clean up the mess at Enron says the situation at FTX is even worse, describing what he calls a “complete failure” of corporate control.
Links
https://www.cnn.com/2022/11/17/business/ftx-ceo-complete-failure/index.html
New Chief Calls FTX’s Corporate Control a ‘Complete Failure’ https://nyti.ms/3UO6F0C
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Patrick Wood
Personal link
No response

Mentioned in my newsletter, but not something I'll add to the timeline.


Allow distinct precision_config values in DotGeneralOp

(C1) lhs and rhs have the same element type.
Investigate the use case of allowing different lhs and rhs element types for DotGeneralOp. This would allow specifying different precision config values for lhs and rhs as discussed in #755 and #879.

Merging this issue with #755 as they are related.


[proposal] CI/CD automatically supporting tools

Background

@Loyalsoldier has contributed several CI/CD automatically related PR include #41 and #43. These PRs will introduce dependabot[1] and GitHub actions[2] to Easegress.
These tools seem cool to us, but we still need to figure out the usage and purpose before applying them.

Discussion

Does Easegress's daily development routine can get huge benefits from these tools?
What are the Pros/Cons?
Are these tools the best practice for CI/CD automatically supporting(focus on dependence updating and auto-testing scenario)?

(once we come to a conclusion, we will take the corresponding action immediately, feel free to join our discussion :-) )
Reference
[1] https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
[2] https://lab.github.com/githubtraining/github-actions:-continuous-integration

I think GitHub Actions is the best toolchain for open source projects on GitHub. And I'm glad to help to migrate the release process to GitHub Actions too if possible.

The free version of GitHub limits the concurrent workflow runs to about 15 tasks at a time, which is not a problem.

After months of operating, we chose to use these Github actions for Easegress

Code analysis: Using Revive Action, gofmt formatting checking, and sobolevn/misspell-fixer-action.
Automatically testing: Using go test and codecov/codecov-action.
Regression testing: Using Jenkins PR triggered task.
Dependency checking: Using Dependabot
Releasing: Using goreleaser


Update upgrade-22h2-to-23h2-windows-admin-center.md

Recommended updates.

@alkohli
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@Jak-MS The changes look good. Please merge. #sign-off


Listening on http://<IP_ADDRESS>:8080 not working

When I run the examples in Win10, the terminal says Listening on http://<IP_ADDRESS>:8080
This shows 'This site can’t be reached' error in chrome.
If instead I browse to localhost:8080 I get the 'hello world'
Also, http://<IP_ADDRESS>:8080 works fine.
deno 1.11.3
deployctl 0.3.0

We can probably just change the line printed to the console to say localhost instead of <IP_ADDRESS> as that also works on Linux and MacOS, and I suspect is what most people will use anyway.

This is something I could tackle.  I don't have much experience with git.  How can I learn to contribute?

Also, Deno ... new URL() has a major issue at least on Win10. Where  should I report this?

This is something I could tackle. I don't have much experience with git. How can I learn to contribute?

This can help you: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github

Hi @nhrones thanks for your interest! If Git and Github are pretty new to you, I recommend GitHub's learning material it's pretty good and covers a lot of ground. If you have specific issues, don't hesitate to contact me directly, I'm always happy to help.
As for the new URL() issue, that would probably go on the denoland/deno repo, though it might be a good idea to bring it up on the Discord server first

in Chrome-v8 ...
<script>
    	console.log(new URL("c:/docs", "file:///"))
</script>

returns      file:///C:/docs
in Deno ...
	console.log(new URL("c:/docs", "file:///"))

returns      c:/docs
This was a big issue in trying to run deployCtl on Ein 10
If Deno URL not browser compat? I can see this creating many ;Deno-Windows; Issues!

Read docs ... watch videos ... still couldn't create a new pull request.  Getting to old(73) I guess.  Wish I could contribute.

Read docs ... watch videos ... still couldn't create a new pull request. Getting to old(73) I guess. Wish I could contribute.

You'll need to fork the repository and push your changes to your fork first. We can take this offline if you prefer, that way we don't spam the issue with comments. Feel free to email me at<EMAIL_ADDRESS>


Audio latency

I noticed audio latency when playing audio with the wasm build (it was also noticeable on the Linux desktop build, but that doesn't concern me). It might be due to the way cpal currently works with wasm (old thread, maybe still relevant: https://github.com/RustAudio/cpal/pull/372). I ended up making bindings to howler.js for audio on wasm. This is a video with the same sounds being played via howler.js bindings and notan_audio/oddio/cpal: https://youtu.be/lyZKoDjTZY0. I was able to confirm that the delayed sound is from Notan.

Thanks for the report @troyc! I'll take a look.

These are the bindings I used: https://gist.github.com/troyc/9be9b26b1b8af61ef0e2e54ec2077d0a

This is interesting, is it the video showing the latency? I think that I can hear at first two sounds with a short time amount between then, and then after a few seconds the same sounds have a bigger gap between them. Is that the issue? My guess it that the first one is using howler and the last one is using notan right?

I guess that could be something related to cpal, or to the notan's implementation of how notan starts sound, maybe the code is awaiting for the sound to end to start other? Could be a few things, but I am not too worried about this because I have a few ideas to fix it, and at the end of the day we can always implement WebAudio directly in the web backend.
Thanks, I'll investigate it!


Homematic classic-Geräte nach ca. 3 Wochen nicht erreichbar

Describe the issue you are experiencing
After an uneventful uptime of 3 weeks the Homematic Classic devices were unreachable, could not be controlled from the CCU anymore, and the duty cycle of the CCU was not displayed in the UI anymore. Only the duty cycle of the HmIP-HAP I am also running. However, as far as I see that duty cycle does not increase significantly. I am not sure if the CCU modem failed or if it is a software bug. After restrating the CCU, everything worked again. Approx. 3 weeks later, it happened again. Again I restarted the CCU.
Describe the behavior you expected
The CCU should not fail, the Homematic devices should stay reachable and the duty cycle should not disappear from the CCU UI after 3 weeks runtime.
Steps to reproduce the issue
Unfortunately, unknown. It did run for over a year without problems. I started to add more Homematic classic devices the last few months, but I really cannot say how to reproduce the issue.
What is the version this bug report is based on?
<IP_ADDRESS>21005
Which base platform are you running?
rpi3 (RaspberryPi3)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
I am using an original CCU as sold by elv/eQ3 with the latest stable raspberrymatic on it. :-)

Additional information
No response

Sorry, but this is no support or discussion fora here. This is a bug and issue tracker. So please open a new discussion thread in the discussion fora of this GitHub project or use the external german speaking RaspberryMatic Discussion fora (https://homematic-forum.de/) for discussing your matter. This was also already mentioned in the ticket template!

Tut mir leid, aber das hier ist kein Supportforum, sondern ein Bug/Issuetracker, d.h. für Dinge die DEFINITIV ein Bug darstellen oder Funktionserweiterungen sind. Daher bitte entweder hier im Diskussusionsteil des GitHub Projektes einen neuen Beitrag eröffnen oder das externe RaspberryMatic Forum (https://homematic-forum.de/) dafür nutzen.  Dies stand übrigens auch so im Ticket Template!

How is this not a bug? I am surprised by the harsh tone in this project.

This is not a harsh tone, this is clear procedure of not getting overwhelmed by tons of open issue reports which in the end in 80% of the cases often are local user problems. So sorry, if this sounds harsh, but the clear procedure for such things is (and is also clearly documented in the issue template): Find help in a user community forum like homematic-forum.de or the github discussion part here and if you find other users who can reproduce your problem or you have detailed technical information/details pointing at a specific bug come back here and reopen the issue or create a new one.

Okay, well, I was trying to describe the issue as best as I can and was hoping to get some hints what exactly you want me to do to try to narrow down and identify the issue. Experiencing communication loss with your devices is most certainly a bug. But don't worry, I will not make any more reports.


container file tweaks

Allow for file.urls and fixes a bug with file url parsing.

What was the bug this was trying to fix out of interest?
Also, if we no longer need the validators package could you remove it from poetry and also from pipeline/container/docker_templates/dockerfile_template.txt?

Yeah good shout, have removed the validators package as doesn't seemed to be used anymore. As discussed, originally we had:
 if validators.url(path_or_url):
            url = str(urllib.parse.urlparse(path_or_url).geturl())

But it doesn't return a bool when it fails, but an error object, e.g.:
>>><EMAIL_ADDRESS>ValidationError(func=url, args={'value'<EMAIL_ADDRESS>


[#772] add transaction synchronization strategy for Hibernate 5 that …

…uses JtaPlatform

Beaks a lot of tests: https://travis-ci.org/Blazebit/blaze-persistence/jobs/520463573


Fix visualizations

[x] Fix the order of histogram (flag)
[x] Fix the color of boxplot - should be grey (see #260)
[x] Remove gradient from histogram (use grey)
[x] Add space between heatmap = border
[ ] Remove the border around rowbase visses if the rows are small

Histogram Color:

Boxplot:

Not everything on the list is fixed yet. Reopening issue.

Sorting histogram

Add space between heatmap = border
Done with https://github.com/Caleydo/mothertable/commit/075f165778386aaa72971a5a3866fdcc6626b59f

Remove the border around rowbase visses if the rows are small
For the remaining todo I opened a new issue https://github.com/Caleydo/mothertable/issues/271.

-> I close this issue.


npm run dev fails out of the box

$ git clone https://github.com/keithamus/npm-scripts-example.git
$ npm install
$ npm run dev

Produces the following output
><EMAIL_ADDRESS>dev /apps/home/daver/code/npm-scripts-example
> npm run open:dev -s && parallelshell "npm run live-reload -s" "npm run serve -s" "npm run watch -s"

Starting up http-server, serving dist/ on: http://<IP_ADDRESS>:9090
Hit CTRL-C to stop the server
live reload server listening on port 9091 reloading on files dist/
/apps/home/daver/code/npm-scripts-example/node_modules/nodemon/lib/config/exec.js:158
  extension = extension.match(/\w+/g).join(',');
                                     ^

TypeError: Cannot read property 'join' of null
    at exec (/apps/home/daver/code/npm-scripts-example/node_modules/nodemon/lib/config/exec.js:158:38)
    at /apps/home/daver/code/npm-scripts-example/node_modules/nodemon/lib/config/load.js:56:29
    at callback (/apps/home/daver/code/npm-scripts-example/node_modules/nodemon/lib/config/load.js:161:5)
    at ReadFileContext.callback (/apps/home/daver/code/npm-scripts-example/node_modules/nodemon/lib/config/load.js:171:14)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)

It looks like this happening with nodemon, I filed a separate report there, but the issue should be addressed here as well.
https://github.com/remy/nodemon/issues/743

Is it fixed since https://github.com/remy/nodemon/issues/743 was closed with the release of<EMAIL_ADDRESS>?

I updated nodemon yesterday if you want to test it out.
I did not get errors running dev on my side...


Negative TTL behavior for 0-TTL instances

Consider the following contrived example:
$ cat t.lua
local mlcache = require("resty.mlcache").new("foo", "foo", {
  ttl = 0,
  neg_ttl = 0,
})

mlcache:get("foo", nil, function() return true end)
mlcache:get("bar", nil, function() return nil end)

ngx.sleep(3)

local ttl, err, value = mlcache:peek("foo")

ngx.say(ttl)
ngx.say(require("cjson").encode(value))

local ttl, err, value = mlcache:peek("bar")

ngx.say(ttl)
ngx.say(require("cjson").encode(value))

$ resty --shdict 'foo 1m' ./t.lua
-3.0039999485016
true
-3.0039999485016
null

It feels a bit odd to see a negative TTL here? In a way it's a neat little hack that lets us calculate the age an object has been in cache, but it feels incongruous with the rest of the module.

It's maybe slightly odd, but is does make sense to me, especially for a peek function that doesn't touch anything. For a get I can understand the request to return 0 or higher, but then the question becomes consistency in return values between the different methods.
Maybe best to align with behaviour of the shm and lru implementations?


Unroot docker examples

Commit Message: Update examples to use non-well known ports and not root user
Additional Description:
I have updated 80 -> 8000 for any ports i could see that were exposed by an envoy container.
I left one example (load-reporting-service) using port 80 and instead added the ENVOY_UID env var
I have committed each example separately for ease of review, but will happily squash if that is preferable
Im also noticing that there are some docs (eg docs/root/start/sandboxes) that have port 80 coded in relation to these examples - i can update these also
Risk Level: low
Testing: n/a
Docs Changes: Sandbox examples updated to reflect port changes, note added about uid/gid of container user
Release Notes: Will add if PR is acceptable
[Optional Runtime guard:]
[Optional Fixes #Issue] Fixes #11506
[Optional Deprecated:]

@junr03 i have updated the relevant docs - not sure if there are others - but these seem to be the ones that directly referenced the port 80 settings.
I have again committed separately - but will happily squash

also, im wondering if i should add a doc about the ENVOY_UID setting. Adding to the existing load_reporting_service example seems a bit arbitrary

also, im wondering if i should add a doc about the ENVOY_UID setting.

Yes, please.
/wait

documentation added

Adding a comment and link to this issue:
https://github.com/envoyproxy/envoy/issues/11679
as @dio requested....

@lu4t @dio - i updated the docs to use py3-pip - but then i saw #11679 so i can remove this commit in favour of that pr if required

@lu4t @dio does this look good to both of you?

Looks good, just a question: @phlax, do you want to tackle the access issue to /dev/stdout here as well (since it is related to privileged access too)? Thank you!

@dio i added a fix for permissions on /dev/stdout.
I also added it for /dev/stderr on the basis that a config may well use that pipe too.
I have tested the built image with the fault-injection example and this seems to work ok.
I wasn't entirely clear where the envoy-dev image is built - but im assuming its based on the recipe in ci/Dockerfile-envoy

I wasn't entirely clear where the envoy-dev image is built - but im assuming its based on the recipe in ci/Dockerfile-envoy

Yes, you're right.


Fix high volume notes.

Whenever you type in MPP.press(...), and make the volume greater than 100 in the console. The site will allow you to play an impossible note that exceeds the regular limit of volume, and maybe break your speakers if you set it really high.

The server already filters notes with invalid velocity (should be between 0 and 1), so it's client-side only. I don't think I'd consider that an issue, since you can't do that in the frontend without accessing the console or using userscripts. Shouldn't be that hard to fix, though — just clamp the velocity in MPP.press.


Enable protection against long lines

Feature Request

Q
A

New Feature
yes

BC Break
no

Proposal
openspout allows passing a value to the limit in fgetcsv which can be used to protect against giant lines in user input files. This is necessary to prevent DDOS attack by forcing the load of say a 1GB long line into memory, when under normal operation, a 1GB file streamed with only each row a few 100 chars would be fine. This can happen via malicious actor, or just user error, such as opening a quote and never closing it.
I am not proposing we directly copy their implementation, but suggesting we do something better, to enable detection of such bad lines and stop their processing and continue, leaving that row partial, ideally we some kind of marker.
Checks before submitting

[x] Be sure that there isn't already an issue about this. See: Issues list
[x] Be sure that there isn't already a pull request about this. See: Pull requests
[x] Tell if you have the option to provide the code for this proposal.
[x] This issue is about 1 feature proposal and nothing more.
[x] The issue has a descriptive title. For example: "Add JSON render option".

It's not exactly clear how to do this, without needing to be able to rewind the stream. We'd have to know if the last character was a newline, to determine if parsing was aborted mid-line.

Hmmm, even that is actually incorrect. Consider the following file with an fget length set to 5:
foo,"
bar"

We would incorrectly thing we are done processing the line. 😭

I will close this issue as a won't fix because of the argument I put forward.


Xbox ONE controller does not work

Xbox ONE controller returns with a null gamepad.pose field.  This is when running the demonstration link.  The axis and button fields seem valid.
Is this a known limitation?
Details:
Windows 10
id"Xbox 360 Controller (XInput STANDARD GAMEPAD)"
Google Chrome | 65.0.3325.181 (Official Build) (64-bit) (cohort: Stable)
Chrome flags:  chrome://flags/#enable-webvr, chrome://flags/#enable-gamepad-extensions, chrome://flags/#openvr
No VR display hardware attached
I am going to try Firefox.

This is expected behavior. I wrote VRController with the conviction that it should only care about controllers that have either a 3DoF or 6DoF pose. But there seems to be recurring demand for 0DoF as well... What are everyone’s thoughts on the best way to implement this?

My requirement was just for debugging on my desktop.   I was hoping that the joysticks would work like a first person shooter and tilt the scene left/right/up/down and allow you to walk/fly through the scene.   I was able to coerce Chrome into going into VR mode but there was no convenient control mode.  I suppose I could have gotten a different FPS controller to work but I ran out of time.
Sent from my iPhone

On Aug 2, 2018, at 10:58 PM, Stewart Smith<EMAIL_ADDRESS>wrote:
This is expected behavior. I wrote VRController with the conviction that it should only care about controllers that have either a 3DoF or 6DoF pose. But there seems to be recurring demand for 0DoF as well... What are everyone’s thoughts on the best way to implement this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


iOS 9 fixes

These are the two initial fixes to build and run the application on iOS 9. Tested with Xcode 7 GM.
The exception in the .plist is as a result of the existing api.joind.in SSL certificate being SHA1.

Merged


Fix SSL_pending() for DTLS (1.1.0)

DTLS was not correctly returning the number of pending bytes left in
a call to SSL_pending(). This makes the detection of truncated packets
almost impossible.
Fixes #5478
This is the 1.1.0 version of #6020.

Pushed. Thanks.