Should not be able to copy/paste the background layer

Bug Description
fun bug: I can copy the background and then paste it a couple of times to have unlimited background layers
Expected Behaviour
Copy/pasting the background layer / page should do one the following instead:

Not do anything (MVP)
Insert the picture in non-full-bleed state (maybe?)
Duplicate the page (that would be pretty cool, but curious what @samitron7 and @o-fernandez think).

Steps to Reproduce

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

I'd say it can "replace" the background layer in the page it is pasted. So, if pasted on the same page, do nothing (in essence). If pasted in another page, replace that page's background. At least that'd match my expectation.

I'd say it can "replace" the background layer in the page it is pasted. So, if pasted on the same page, do nothing (in essence). If pasted in another page, replace that page's background. At least that'd match my expectation.

ah yes, haven't considered that..that makes a lot of sense!

This somewhat conflicts with Sam's expectations in https://docs.google.com/presentation/d/1ZiZWrmLiX40rt3n_1LMSGJxYWI-xsWFsS9bkzdbRIV8/edit?ts=5ec35b92#slide=id.g780d0a5251_0_88:

I expect it to paste it into the page as a fg image.

Sam describes expecting the copied bg image to paste as regular inline image, whereas Paul and Omar in this issue expect it to paste as (replacement) background image.
Which is it?

Discussed with Sam, we'll go with the approach proposed here. If I copy/paste the background image it replaces the background image of the page it is pasted in.

Discussed with Sam, we'll go with the approach proposed here. If I copy/paste the background image it replaces the background image of the page it is pasted in. (reference thread)

I assume the same goes for background shape, even if it's just a color (but can also be some complex gradient)?

Discussed with Sam, we'll go with the approach proposed here. If I copy/paste the background image it replaces the background image of the page it is pasted in. (reference thread)

Oh, I assume we want to copy the background overlay too, right? Even though it's technically not an attribute of the image, but the page. We'd need some way of actually having that attribute in both places (or moving it when copying, if that's possible) and re-sync to page when pasting.

@barklund Q: Will this be addressed in #1925 since it'll be relevant for when copying overlays?

I will fix this in a separate PR after #1925 - I'm just making sure #1925 is made to make this one easier.

Testing in QA Env. - PR#2387
Tested on a PC so using ctrl-c/ctril-v but it isn't working (unable to test on a mac at the moment). Unable to cut-and-paste

Tested on a PC so using ctrl-c/ctril-v but it isn't working (unable to test on a mac at the moment). Unable to cut-and-paste

@csossi, please re-test on Mac. There will be a new issue addressing copy-paste on Windows.

Created #2709 for windows copy and paste bug.

Verified in QA


Making POST requests in files

I would like to know if it is possible to make post requests from Python to tkinterweb, when the web is in a file. ex:
myhtmlframe.load_url(f "file:///webpage/index.html")
Or if there is the possibility to pass variables from python to it

I would like to know if it is possible to make post requests from Python to tkinterweb, when the web is in a file. ex:
myhtmlframe.load_url(f "file:///webpage/index.html")
Or if there is the possibility to pass variables from python to it

It might be hard. Because what tkwebview2 does is just embed an Edge Webview 2 into your tkinter window.


[Consumer Refactor] Define event handler interface and events

https://cwiki.apache.org/confluence/display/KAFKA/Proposal%3A+Consumer+Threading+Model+Refactor

We want to abstract away the queues from the new KafkaConsumer using an EventHandler.

poll: Retrieve a response from the eventHandler
add: Add a request to the handler

In the subsequent PRs, I'll add a backgroundThread inside of the eventHandler to actually consume the events.
*Unit tests
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @guozhangwang @hachikuji @dajac for review.

Thanks @hachikuji and @guozhangwang - I just updated the PR.  I'm settling with ApplicationEvent and BackgroundEvent.  Also, brief definitions for the abstract classes have been added.

Thanks @philipnee , I think we can merge the PR as is since it's new interfaces and if we found anything in follow-up developments we can always come back and change them. So LGTM.

Thanks @guozhangwang! Agreed, we can make incremental changes to these implementation as we make more progress.


[BUG] Azure batch sdk not working with java 17.

Describe the bug
azure batch sdk not working with java 17.
Exception or Stack Trace
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.util.UUID.serialVersionUID accessible: module java.base does not "opens java.util" to unnamed module @45afc369
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
	at com.microsoft.rest.Validator.validateClass(Validator.java:77)
	at com.microsoft.rest.Validator.validate(Validator.java:64)
	at com.microsoft.rest.Validator.validateClass(Validator.java:115)
	at com.microsoft.rest.Validator.validate(Validator.java:64)
	at com.microsoft.azure.batch.protocol.implementation.TasksImpl.deleteWithServiceResponseAsync(TasksImpl.java:1050)
	at com.microsoft.azure.batch.protocol.implementation.TasksImpl.delete(TasksImpl.java:990)
	at com.microsoft.azure.batch.TaskOperations.deleteTask(TaskOperations.java:579)
	at com.microsoft.azure.batch.TaskOperations.deleteTask(TaskOperations.java:552)

To Reproduce
Steps to reproduce the behavior:
Use azure batch sdk with java 17.
Setup (please complete the following information):

OS: macOs monetery, centos 7
IDE: IntelliJ
Library/Libraries:  com.microsoft.azure:azure-batch:10.0.0
Java version: 17

Additional context
I suspect the issue is due to below code:
Problem due to accessing the private fields using reflection:
package com.microsoft.rest;
class: Validator.java

Reflective access not permitted with java 17

Information Checklist

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@srnagar can you please follow up from the autorest / codegen side?

Hi, we hit this issue recently after migrating to Java 17, I saw this issue is one year old is there any news about it ?

I'm also facing this bug. Hope, that this will be fixed soon. I didn't expect this because of:

All libraries are baselined on Java 8, with testing and forward support up until the latest Java long-term support release (currently Java 17).

See: Prerequisites

Hello,
as I am also facing this issue and it blocks my team in migration to Java 17  and it's been a while since it's reported,  I've decided to debug the code and try to fix it for the community. I've tried to push new branch and create a PullRequest (in repository https://github.com/Azure/autorest-clientruntime-for-java ) however I have no sufficient rights to do it.
Issue is located in this file https://github.com/Azure/autorest-clientruntime-for-java/blob/master/client-runtime/src/main/java/com/microsoft/rest/Validator.java and it throws runtime exception for a field private static final long java.util.UUID.serialVersionUID accessible in class JobGetOptions.  Please note that this file is both private and static.
The root cause of this issue is order of methods calls. In reflection it's not necessary to make a field accessible before getting both modifiers: static and/or final.  Since Java17 it's not possible to make accessible fields which are part of java.util without opening modules etc, that's why this exception happens.
Below you can find a diff-patch which fixed the issue for me.
index 84ac58aea..6ab110f81 100644
--- a/client-runtime/src/main/java/com/microsoft/rest/Validator.java
+++ b/client-runtime/src/main/java/com/microsoft/rest/Validator.java
@@ -88,12 +88,12 @@ public final class Validator {
             return;
         }
         for (Field field : c.getDeclaredFields()) {
-            field.setAccessible(true);
             int mod = field.getModifiers();
             // Skip static fields since we don't have any, skip final fields since users can't modify them
             if (Modifier.isFinal(mod) || Modifier.isStatic(mod)) {
                 continue;
             }
+            field.setAccessible(true);
             JsonProperty annotation = field.getAnnotation(JsonProperty.class);
             // Skip read-only properties (WRITE_ONLY)
             if (annotation != null && annotation.access().equals(JsonProperty.Access.WRITE_ONLY)) {

Final code should look like:
        for (Field field : c.getDeclaredFields()) {
            int mod = field.getModifiers();
            // Skip static fields since we don't have any, skip final fields since users can't modify them
            if (Modifier.isFinal(mod) || Modifier.isStatic(mod)) {
                continue;
            }
            field.setAccessible(true);

           // more code here
      }

I hope it helps to fix this issue for the community. I didn't test it on all versions of Java between 8 - 16 but it should work as there were no changes in getModifiers() method as far as I know.
@loicmathieu  @vipintrnal  If you wait for this fix, you can apply above patch on your own and deploy adjusted version to internal artifactory and change dependency in pom.xml file of your project. It will also help to test on different scenarios on configuration setup.
If you need any further support, please do not hesitate contacting me.

At the moment, I don't have any issues with Java 17. Maybe it's because I'm using azure batch sdk 11.0.0? I don't know.

At the moment, I don't have any issues with Java 17. Maybe it's because I'm using azure batch sdk 11.0.0? I don't know.

Would you mind sharing your pom dependency? In my project it looks like below
:
<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure-batch</artifactId>
    <version>11.0.0</version>
</dependency>

And I'm still facing this issue.

Ah... Found it! You are right. I'm using the "open workaround".

Ah... Found it! You are right. I'm using the "open workaround".

Ok. So it looks that this issue still exists and we must wait for @joshfree and/or @srnagar for code review process and release of new version.

@mario-guerra could you help get this track1 batch issue discussed in the Batch team, and/or provide any updates on Batch release timelines?

@dpwatrous for comment.

@dpwatrous please provide your input.

Just a small update from the Batch team: @skapur12 was able to reproduce this issue and confirmed that the problem appears to be with the azure-client-runtime package. It looks like this is the issue we're hitting: https://github.com/Azure/autorest-clientruntime-for-java/issues/709
If this is fixed in a new version of azure-client-runtime we will happily update our dependency to resolve this, but I don't see a way we can fix this inside the Batch SDK.
Also, we are actively working on shipping a preview of a new package based on the more modern azure-core SDK libraries instead of azure-client-runtime, so if the workaround mentioned in this PR gets you past this error for now, that may be a better long-term option.

@dpwatrous this workaround (opening modules widely to reflection) reduces security of the applications. It is there for a reason IMHO.

Agreed the workaround isn't ideal. We'll patch the Batch SDK as soon as there is a fix available in the client-runtime package.

I am looking at this issue and will have an update on the best path forward for this issue.

We are currently working on a track 2 version of the Azure Batch SDK which is expected to preview in early 2024. The newer version of this library will support Java 17 and will also follow the track 2 design guidelines for Azure SDKs. We recommend migrating from the existing Azure Batch library to the new version as the older versions of the library will be deprecated and will only have patch releases for security issues or critical bug fixes.
cc: @mario-guerra


Slow loading time on first use

Windows Terminal Version: 1.7.1033.0
Windows Version 20H2 (OS Build 19042.928)
I use Windows Terminal with Ubuntu WSL2 and Windows Command Prompt profile.
In some previous version it would load quickly, but for some time when I first load a terminal it takes several seconds before the window loads. During this time there does appear an icon in the system tray with the title "DesktopWindowXamlSource" which eventually is replaced with the profile name when the window finally appears.
This occurs regardless if which profile I'm initially loading.
After the terminal has loaded, if I close the window and load it again, it opens quickly. I can still see the original DesktopWindowXamlSource icon but it's only there for a split second. I can continue loading terminal windows, even after they are all closed, with no delay.
However, if I don't open a terminal window for some time (several minutes), there is a delay on loading the first instance again.
There was a previous issue Slow startup time #4886 reporting a similar problem in a previous version, which has been closed. I'm not sure if this is the same issue or not, but it hasn't been resolved.
I also experience this on both my desktop and laptop computers.

days since I've been annoyed by WSL's lack on an API: 0
This is basically the same thing as #4886, with a touch of #9541 and #7199. Basically, the entire UI is waiting while we query the OS for the list of WSL distros. Unfortunately, that involves booting up WSL entirely just to ask it this question.
We've got a deliverable on them for "make an API for us that doesn't require booting WSL.exe". We might have another issue laying around on this repo that's actually tracking that. @DHowett do you remember where that one is?
I'm seriously 🤏 close to changing that code to the registry lookup that won't hang.

Windows Terminal
Version: 1.8.1521.0
Windows 10 version 21H1, Supporting the issue.

I'm seeing slow startup in  1.11.2921.0 -- just installed today. I think this happened after enabling WSL and installing ubuntu 20.04.


Reconfigured backend to query SeatGeek API

Hi @devinowen, here's a summary of what I've done since we last met. I could use your input on a few questions below.

I overhauled ShowQuester's backend so that all venue and event data is now pulled from SeatGeek instead of Songkick. Downstream data structures and Spotify pipelines are the same as before, so the frontend will see the same json objects.
I restored the frontend to be responsive to the backend by commenting out the hard coded stuff we added (should we keep these bits for testing or just remove entirely before I merge?)
I have updated the S3 file of client credentials to include SeatGeek keys. I'll get these to you so that you can add them to your local secrets.json file.
Everything functions beautifully when I run ShowQuester locally, but I anticipate some debugging will be necessary to get everyone to play nice on AWS. Given the frontend is continuously deployed, it seems I'll need to merge this branch into main before I can test on AWS.
To reflect the new Elastic Beanstalk environment, I updated the backend URL within the Amplify and Spotify consoles.

Let me know if you can think of anything else I missed that needs to be updated. I'm excited to get the new and improved ShowQuester live!

I merged this for now so I can see how it runs on AWS, but I'll make my next task reorganizing the flask code.


to fix error in "Slack Notify on Star" job under GitHub Actions

Description
Under GitHub Actions of this repository "Slack Notify on Star" job is failing for which Slack.yaml is to be Updated.
Fix
To fix this issue, update the code of slack.yaml just by copy/pasting the code from slack.yaml of meshery

I can work on this issue. Please assign it to me.

Go @Aayush987 😎🚀

Hi @saurabh100ni , My PR is still waiting for approval. Do I need to do something?

Oh! I see, thanks for bringing this up.
// @ritiksaxena124 @Mohith234 @sudhanshutech @Yashsharma1911


"NextPart: EOF" error when moving DigitalOcean emails

For some reason, I cannot move emails from DigitalOcean.
❯ ~/h  search subject DigitalOcean

UID |FLAGS |SUBJECT                                                |SENDER       |DATE
14  |      |[DigitalOcean] Your January 2021 invoice is available  |DigitalOcean |2021-01-31 22:16:42
11  |      |[DigitalOcean] Your February 2021 invoice is available |DigitalOcean |2021-03-01 09:01:43
7   |      |[DigitalOcean] Your March 2021 invoice is available    |DigitalOcean |2021-04-01 02:22:07

❯ ~/h -o json search subject DigitalOcean | jq '.[].uid' | xargs -n 1 -I {} ~/h move {} Folders/FinanceLog
Cannot append message to `Folders/FinanceLog`
 ↳ No Response: failed to create new parser: multipart: NextPart: EOF
Cannot append message to `Folders/FinanceLog`
 ↳ No Response: failed to create new parser: multipart: NextPart: EOF
Cannot append message to `Folders/FinanceLog`
 ↳ No Response: failed to create new parser: multipart: NextPart: EOF

❯

(Same behaviour with "search from DigitalOcean".)
I can read an individual message using himalaya read 14, however.

It looks like there is an issue with the mail itself. Do you think you can share the raw mail with sensitive data hidden?

I noticed that when I copy or move a mail, the attachments are lost. It may be related to your problem. I will investigate.

Indeed, some part where missing when I was copying / moving messages. I fixed this issue, it should be fixed in the next release. Feel free to reopen if the problem persists after the release. Thanks for the feedback!

Added in v0.2.3 :tada:


Invert / Flip display?

I have a situation where I would like to mount the Sinilink clock upside down using it's mounting holes. Is there a way to flip the display? I can change the segment order string to flip the digits, but the order if the digits needs to be reversed as well. Is this possible?

Oh!  You inverted the numbers by changing segment_mapping: PGFEDCBA to something else!  Would you mind sharing that?  It'll save me a bit of work!  And yeah, it should be fairly easy to manipulate the digits to go 4321 instead of 1234 and with the digits flipped, it should work perfectly...  Let me take a look after a few days.  I've got a trip to go on but I'll get to it when I get back and just make it an option setting in the YAML.

For sure! Inverted digit segment_mapping is: PGCBAFED. (Normal is PGFEDCBA.)
The segments are designated as such:
     A
    ---
 F |   | B
    -G-
 E |   | C
    ---
     D

The segment mapping tells the code which bits are mapped to which segments in the physical hardware (reference). I simply turned it upside down and translated the new mapping sequence to the existing one.
I'm not sure if it will be of any help, but the TM1537 ESPHome component has an inverted: option that you could potentially get some code ideas from?

It absolutely is a good idea to just add it to the config of the device.  And the inverted code in the official TM1637 looks pretty easy to add so would work seamlessly.  I'll get back to you in a few days!

I think I got it.  By the way, we were both thinking about the segment map in the wrong way... that pic is just for the regular TM1650 and how the original font is mapped.  It's more like:
//
//      A
//     ---
//  F |   | B
//     -G-
//  E |   | C
//     ---
//      D   P
// Regular TM1650 is PABCDEFG

// For others, you will need to remap as such: 0b12345678,
//      2
//     ---
//  7 |   | 3
//     -8-
//  6 |   | 4
//     ---
//      5   1

So upside-down Sinilink XY-Clock is PDCBGFEA
Regular TM1650 makes it more easy to see what happens (because that's what this font was designed for: PABCDEFG -> PDEFABCG)
In any case, an invert option would have made things possibly screwy with other segment mappings so you'll have to continue to use a segment remap as well as a new option backward: true in the Display: section.
But just grab the new YAML and it'll be fine.  Got some other minor updates in there too.  OTA will show status now.  😄

I was out, but finally got to try this and it is working great! Thank you so much!


bug: flat orientation on ios

Plugin(s)

[X] Barcode Scanning
[ ] Face Detection
[ ] Face Mesh Detection
[ ] Selfie Segmentation
[ ] Translation

Version
5.3.0
Platform(s)

[X] Android
[X] iOS
[ ] Web

Current behavior
(PR incoming)
For the flat orientation bug, the x/y gets flipped as if it's in landscape - Ideally it should pick out the current window orientation instead of the device orientation. I can't see a way to do that without juggling  with the main UI thread?
Further, the scale for the coordinates is unknown, so it's difficult to figure out how to scale for the webview, so having a screen size would be useful
Expected behavior
coordinates that are consistent with the window orientation, and a way to scale the barcode coordinates to match the webview.
Reproduction
N/A
Steps to reproduce
SVG polygon overlay on a div with barcode coordinates from scans.
Other information
I have created a fork and cutting a PR, but creating this issue to go with it.
Capacitor doctor
💊   Capacitor Doctor  💊
Latest Dependencies:
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0
Installed Dependencies:
@capacitor/cli: 5.5.1
@capacitor/core: 5.5.1
@capacitor/android: 5.5.1
@capacitor/ios: 5.5.1
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting

[X] I have read and followed the bug report guidelines.
[X] I have attached links to possibly related issues and discussions.
[X] I understand that incomplete issues (e.g. without reproduction) are closed.

Thank you for your request. Did you take a look at the demo app? It shows you how to scale the coordinates, see https://github.com/robingenz/capacitor-mlkit-plugin-demo/blob/main/src/app/modules/barcode-scanning/barcode-scanning-modal.component.ts#L151:L175

Ah! I looked around the code a bit, but didn't spot this - I remember trying to run it, but failing somehow (probably locally).. that could have saved me some time 🙈, thanks! I didn't look hard enough at the js side because I didn't trust it as the underlying source of truth 🤣 oh well, I learnt a bunch in the process.
So it's just the device orientation bit - I'm not overly convinced by this implementation (it alters the way things work for landscape users) - do you know of a way to get the actual window orientation?

I've updated the issue title and PR to remove the screen size bit

Any update on this one? o/

Not yet, i will try to take a look at it next week.

@CmdrDats I would like to test your pr. What exactly do I have to do to reproduce the issue?

Ideally it should pick out the current window orientation instead of the device orientation.

What do I have to do so that the window orientation is different from the device orientation? Do you have a screen recording?

@robingenz it's a bit tricky to get a screen recording (given that I need to record my iphone itself), but I can try and see what I can do.
However, I use the capacitor screen locking https://capacitorjs.com/docs/guides/screen-orientation to lock it into portrait mode:
window.screen.orientation.lock('portrait');

and then without the PR, when the device goes from portrait to flat the camera coordinates change as if in landscape (because flat = landscape in the old method).
The PR pulls through the window orientation (which gets locked to portrait by capacitor, in my case) and uses that instead of the device orientation, so there is no 'flat' orientation to get mixed up with, it will be the actual interface orientation.
A bit more of a pain, since it's not quite as straightforward to get to as the (technically incorrect) UIDevice.current.orientation - the BarcodeScannerViewDelegate does that work, so I decided to bubble it through, though maybe there's a simpler way?

Thank you! I will take a look and try to reproduce it.


Mobile rendering is borked

This seems new -- do a git bisect

This commit seemed to have broken mobile:
https://github.com/gkjohnson/three-gpu-pathtracer/commit/2a437a907831ac845450e2815776215e5e157d4f
Perhaps structs are too large?

Fixed in https://github.com/gkjohnson/three-gpu-pathtracer/commit/81120a00af0cc8fcb5ec7552366f2a4ab039b396


Refactor NewClient with options pattern

Describe the change
Some organisations may have their own GPT proxy, so when using this library, they would need to specify their proxy url. In this case, seems NewClientWithConfig is the only function that they can use, but right now the authToken field in ClientConfig is not exposed, so they won't be able to pass in auth token.
Describe your solution
Refactor NewClient to use options pattern, so that user can use it with custom configs
Tests
Added new unit tests.
Issue: 480

@MarkusZhang
FIY We can already.
cfg := openai.DefaultConfig("openai_api_key")
cfg.BaseURL = "proxyUrl"

@vvatanabe Oh thanks for telling, but this kinda unintuitive for the users IMO

@vvatanabe Hi, I did a refactoring on NewClient method, by using the options pattern. It makes it very intuitive to the users what input is compulsory, and what is optionally configurable. This does affect any existing usage. Please help review again. Thanks
More about options pattern: https://golang.cafe/blog/golang-functional-options-pattern.html

@MarkusZhang You are right, it's less intuitive, but prevents token to be accidentally leaked.

@sashabaranov could you elaborate a bit more? As in leak to who? what issue do you envision?

@MarkusZhang basically you can accidentally log the client struct and have auth token printed out

@sashabaranov Ok, then. what about this:
`type Config struct {
BaseURL              string
OrgID                string
APIType              APIType
APIVersion           string
AzureModelMapperFunc func(model string) string
EmptyMessagesLimit uint
}
func NewClientWithConfig(authToken string, config Config) *Client {
// initialise client ....
}`
Then we change ClientConfig to be for the library's internal use only, this way it's more intuitive to use and won't have the accidental logging issue


Swift 3.0 support

Coverage remained the same at 96.011% when pulling 9e4a3e93c928e6bc155ccfc63e5e82c169d11b6a on swift/3.0 into 29a8853346189841385cdbde93794675d8fc7d32 on development.


Please invite me to the community

Name
Senior Full Stack Developer
Additional Context
Hi,
I'm a Full-stack developer now.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈

Hello, how're you doing?


Added plugin for focusable="false" attribute.

Internet Explorer and Edge (prior to version 14) make all embedded  elements keyboard focusable by default, which is not consistent with the SVG specification. To prevent this behaviour, you can add focusable="false" to the <svg>.
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8090208/

I think it's not worth adding non-optimizing plugin only for rather outdated browser.

IE11 may be an outdated browser, but it is a component of the operating system in Windows 7, Windows 8.1, and Windows 10. And so unfortunately, supporting it is a reality for many websites until Microsoft end support of Windows 10 (mainstream end support date 10/13/2020).
I understand you don't want a plugin specifically for IE11 so I have opened PR #817 which updates the addElementsToSVGElement plugin to support attribute values, as well as attribute names.


Cannot send requests with angular-jwt in IE9

Hi,
First of all, thanks for this great module, it helps me a lot!
I have an issue here, this module works great in FF/Chrome, but when I want to test my app in IE9(I did not tried other IE versions), it is not working any more! The IE Dev tool showed that only requests with "skipAuthorization: true" can be sent and respond the correct response, while requests without "skipAuthorization: true" cannot even be sent.
I have checked that the token has been saved to localStorage correctly.
AngularJS 1.2.26
angular-jwt The latest version
IE9
Could you please help me with this? Thanks in advance!

+1 sounds like a similar problem we're having here

Unfortunately, I don't have any IE to debug (nor windows :(). Could you help me out with it? Where is it failling if you debug the code?
Thanks for the report!

@mgonto Actually I did debug the code but got nothing. It just didn't send requests with angular-jwt. I also did some research and got nothing neither. I doute that this is not a problem of angular-jwt, maybe IE8/9 have problems with custom http header.
Is there any way I can do to send token not in the header but in the query string?
Thanks!

Hi guys! I have the same issue - an error in IE9. Console says "Object doesn't support this property or method 'atob' "
IE9 doesn't support the method atob() (support IE10+)
If someone knows how to fix this issue can you share it please?

Line number 75 on angular-jwt.js is causing the IE9 issues.
return decodeURIComponent(escape(window.atob(output)));

As per W3School .atob is only supported on IE10 +
http://www.w3schools.com/jsref/met_win_atob.asp

Thanks for the mentions.
Is anybody up for a PR to fix this :)?
Thanks!

Hi guys,
has anybody solved this problem?
Thanks.

I have solved this with base64.js
https://github.com/client9/stringencoders/tree/master/javascript
I have Included the base64.js and then in angular-jwt service called "jwtHelper" I have replaced "windows.atob" to "base64.decode".

Thanks for the comment with the fix.
Closing!


Link broken

Please read https://docs.microsoft.com/sharepoint/information-barriers documentation to understand Information barriers in SharePoint Online.
The link doesn't work

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

ID: 2fbda735-74ec-2f4e-9c75-dd133e87320e
Version Independent ID: 599c8c2e-6e02-f27f-1009-2640296d5d10
Content: Get-SPOSite (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md
Service: sharepoint-powershell
GitHub Login: @trent-green
Microsoft Alias: trgreen

@officedocsbot assign @yogkumgit

Thanks for reporting @hwkwicre

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @hwkwicre Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Cannot find module ... /dist/ncc/sourcemap-register

I'm getting this error just trying to run a hello world example:
Error: Cannot find module '[redacted]/node_modules/@zeit/ncc/dist/dist/ncc/sourcemap-register'

I'm guessing it has something to do with the double /dist/ in the path.
To run my quick example:
mkdir test
cd test
yarn add -D @zeit/ncc
echo "console.log('hello world')" > index.js
./node_modules/.bin/ncc run index.js

Versions:
> node --version
v10.14.1
> yarn --version
1.12.3
> cat package.json # this is of the package.json that get generated with the above commands
{
  "devDependencies": {
    "@zeit/ncc": "^0.2.0"
  }
}

Apologize for this. Seems like the tests somehow didn't catch this.

Fixed on 0.2.1 and 0.3.0


Usage records are not being created for L2 networks

ISSUE TYPE

Bug Report

COMPONENT NAME

Usage

CLOUDSTACK VERSION

4.11

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

Created a 3 L2 networks and one isolated and let the usage job took place (deployed VMs in all of them). List usage records shows records for the isolated networks but not for the L2 ones..
STEPS TO REPRODUCE

1. Create a couple of L2 networks and deploy VMs in them
2. Let the usage job run
3. List the usage records

EXPECTED RESULTS

I should see usage records for these networks

ACTUAL RESULTS

Instead no records shown
MariaDB [cloud]> select id,type,created,resource_id,offering_id from usage_event where type='NETWORK.OFFERING.ASSIGN';
+-----+-------------------------+---------------------+-------------+-------------+
| id  | type                    | created             | resource_id | offering_id |
+-----+-------------------------+---------------------+-------------+-------------+
|   5 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:11:45 |           3 |           8 |
|  19 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:15:16 |           5 |           8 |
|  41 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:26:13 |           7 |           8 |
|  60 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:35:28 |           9 |           8 |
|  74 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:37:34 |          11 |           8 |
|  88 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:39:27 |          13 |           8 |
| 100 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:41:34 |          15 |           8 |
| 114 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:46:50 |          17 |           8 |
| 130 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:51:43 |          19 |           8 |
| 141 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:53:50 |          21 |           8 |
| 147 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:55:16 |          21 |           8 |
| 159 | NETWORK.OFFERING.ASSIGN | 2019-02-04 11:58:31 |          23 |           8 |
| 173 | NETWORK.OFFERING.ASSIGN | 2019-02-04 12:28:57 |          25 |           8 |
| 191 | NETWORK.OFFERING.ASSIGN | 2019-02-04 12:40:54 |          27 |           8 |
| 211 | NETWORK.OFFERING.ASSIGN | 2019-02-12 11:10:57 |          32 |           8 |
| 215 | NETWORK.OFFERING.ASSIGN | 2019-02-12 11:19:06 |          34 |          14 |
| 219 | NETWORK.OFFERING.ASSIGN | 2019-02-12 11:25:40 |          35 |          14 |
| 221 | NETWORK.OFFERING.ASSIGN | 2019-02-12 11:48:02 |          31 |          14 |
+-----+-------------------------+---------------------+-------------+-------------+
18 rows in set (0.00 sec)

MariaDB [cloud]> select name from network_offerings where id=14;
+--------------------------+
| name                     |
+--------------------------+
| DefaultL2NetworkOffering |
+--------------------------+
1 row in set (0.00 sec)

MariaDB [cloud]> Ctrl-C -- exit!
Aborted
[root@ref-trl-915-v-M7-bstoyanov-mgmt1 ~]# cat test | grep name
      "name": "test-a-TestCreateVolume-ATVT7C-network",
      "name": "test-a-TestVolumes-test_01_create_volume-AZN10I-network",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",
      "name": "isolated",

Please note that in my test file I've listed all usage records for type 4 in the time period.
test.log

It's not a bug, since we don't have VR we can't track for type 4 and 5 which is bytes send/received. I've double checked and usage records appear for assigned offering with L2 networks


MNT: Add range of supported CMakes patch

Allow modern CMake to be used.
Add docs url: https://qcdloop.web.cern.ch/
Bump build number.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[N/A] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Compatibility with Community Edition images

Just wondering if I could change the image from aerospike-server-enterprise to aerospike and use the community edition.
Is there anything about the operator that requires the enterprise edition of aerospike?

@robd003 the intention of this project is to provide a Kubernetes Operator for Aerospike Enterprise Edition. It leverages enterprise features such as quiescing a node, and is intended to work with non-CE images.  It also deals with ACLs, TLS setup, encryption-at-rest and other enterprise features. See our developer blog post Developing a Kubernetes Operator for a Real Time Data Platform.
There is an older Kubernetes Operator for Aerospike Community Edition from Travel Audience (see aerospike-operator: Aerospike atop Kubernetes made easy), which we promote on our Launchpad.
If you're interested in a CE Operator, I suggest getting involved with the community project travelaudience/aerospike-operator. Otherwise, this EE Operator project aerospike-kubernetes-operator is the one that engineers from Aerospike and multiple enterprise customers are working on together.


[AKS] Support updating from SPN cluster to MSI cluster

Description

This PR add the implementation for supporting updating from SPN cluster to MSI cluster. The feature has been in preview state for a while, and we're going to GA it. The PR is a combination of following two PRs in aks-preview extension:

https://github.com/Azure/azure-cli-extensions/pull/2571
https://github.com/Azure/azure-cli-extensions/pull/2680

Testing Guide

History Notes

[AKS] Support updating from SPN cluster to MSI cluster.

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

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Rebased on latest dev branch.

Rebased on latest dev branch again.


fix: MailHog installation guide

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #XXXXX
Description

I just setup MailHog locally by following the current guide. But, it doesn't work as the mailhog is not getting installed in the root. So, I am suggesting a minor change in this PR so that the mailhog is installed in the root.

@varunzxzx, thank you making those changes. Everything LGTM!


Build pipeline

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: luuk-codebeez sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


return tx["from"].transfer( AttributeError: 'function' object has no attribute 'transfer'

Hello, it seems that my LinkToken.sol returns an issue while I run scripts/deploy_lottery.py. The issue occurs after the writing of the start_lottery( ) in deploy.py which is run perfecly, this is when I write the code of the  enter_lottery() in deploy.py. I guess the attirbute of transfer function in LinkToken.sol doesn't work.
return tx["from"].transfer(
AttributeError: 'function' object has no attribute 'transfer'
thank you for your help

Can you please edit your issue to have:

Your script you're running (deploy_lottery.py)
Your directory layout
Your lottery code

Yes sure, I see, I've checked the directory layout and, yes, I'll chek twice...

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>contract Lottery is VRFConsumerBase, Ownable {
address payable[] public players;
address payable public recentWinner;
uint256 public randomness;
uint256 public usdEntryFee;
AggregatorV3Interface internal ethUsdPriceFeed;
//0,1,2
enum LOTTERY_STATE {
    OPEN,
    CLOSED,
    CALCULATING_WINNER
}
LOTTERY_STATE public lottery_state;
uint256 public fee;
bytes32 public keyhash;

constructor(
    address _priceFeedAddress,
    address _vrfCoordinator,
    address _link,
    uint256 _fee,
    bytes32 _keyhash
) public VRFConsumerBase(_vrfCoordinator, _link) {
    usdEntryFee = 50 * (10**18);
    ethUsdPriceFeed = AggregatorV3Interface(_priceFeedAddress);
    lottery_state = LOTTERY_STATE.CLOSED;
    fee = _fee;
    keyhash = _keyhash;
}

function enter() public payable {
    // inscription et entrée dans le jeu
    // 50$ minimum
    require(lottery_state == LOTTERY_STATE.OPEN);
    require(msg.value >= getEntranceFee(), "not enough eth!");
    players.push(msg.sender);
}

function getEntranceFee() public view returns (uint256) {
    // envoyer des commissions
    (, int256 price, , , ) = ethUsdPriceFeed.latestRoundData();
    uint256 adjustedPrice = uint256(price) * 10**10; //18 decimals
    // $50, $2 000 /eth
    // 50*100000/2000
    uint256 costToEnter = (usdEntryFee * 10**18) / adjustedPrice;
    return costToEnter;
}

function startLottery() public onlyOwner {
    require(
        lottery_state == LOTTERY_STATE.CLOSED,
        "Can't start a new lottery yet!"
    );
    lottery_state = LOTTERY_STATE.OPEN;
} // démarrer la lotterie sur commande de l'administrateur

function endLottery() public onlyOwner {
    // uint256(
    //     keccack256(
    //         abi.encodePacked(
    //             nonce, // nonce is predicitble (aka, transaction number)
    //             msg.sender, //msg.sender is predicttable
    //             block.difficulty, // can be manipulated by the miners
    //             block.timestamp // is predictible
    //         )
    //     )
    // ) % players.length;
    lottery_state = LOTTERY_STATE.CALCULATING_WINNER;
    bytes32 requestId = requestRandomness(keyhash, fee);
} // arrêter la loterie

function fulfillRandomness(bytes32 _requestId, uint256 _randomness)
    internal
    override
{
    require(
        lottery_state == LOTTERY_STATE.CALCULATING_WINNER,
        "YOU AREN'T HERE YET"
    );
    require(_randomness > 0, "random-not-found");
    uint256 indexOfWinner = _randomness % players.length;
    recentWinner = players[indexOfWinner];
    recentWinner.transfer(address(this).balance);
    //reset
    players = new address payable[](0);
    lottery_state = LOTTERY_STATE.CLOSED;
    randomness = _randomness;

    //7 players
    //22
    //22% 7 = 1
    //7 * 3 = 21
    // 7 * 4 = 28
}

}

Something wrong here right?

Forgot () sorry ....

Nice work :)


Lab 2 / reg-acr.sh

Lab 2
1.Please add in "cd" below at the beginning of Lab 2.   I know this is implied however people will still ask this question.
"cd kubernetes-hackfest/labs/build-application"

2.I'd suggest changing the variables in reg_acr.sh to the following or updating this script
AKS_RESOURCE_GROUP=$RGNAME
AKS_CLUSTER_NAME=$CLUSTERNAME
ACR_RESOURCE_GROUP=$RGNAME
ACR_NAME=$ACRNAME

reg-acr.sh updated to accept env variables


Feat: Added Event Recorder to the Work Controller

Description of your changes

Fixes #

Recorder has been added to the Work Controller.
Event for reconciliation success was added
Event for Work Object Patch was added

I have:

[x] Read and followed Caravel's Code of conduct.
[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

Comment > General
I think there is a misunderstanding on when to record an event. For the purposes of how we are using the event recorder we only record events of entities which change state. A resource that is created, modified, deleted should record (or emit) an event.


Make

Sample code:
module "s3_bucket" {
  source = "terraform-aws-modules/s3-bucket/aws"

  bucket = "sample-bucket-1234567890"
  acl = "private"

  server_side_encryption_configuration = {
    rule = {
      apply_server_side_encryption_by_default = {
        sse_algorithm = "AES256"
      }
    }
  }

}

Expected outcome: Bucket created with SSE-S3 encryption.
Real outcome:
Error: Unsupported attribute

  on .terraform/modules/s3_bucket/terraform-aws-modules-terraform-aws-s3-bucket-f778720/main.tf line 190, in resource "aws_s3_bucket" "this":
 190:               kms_master_key_id = apply_server_side_encryption_by_default.value.kms_master_key_id
    |----------------
    | apply_server_side_encryption_by_default.value is object with 1 attribute "sse_algorithm"

This object does not have an attribute named "kms_master_key_id"

PR #5 fixes this issue

I'm hitting this exact issue too, @antonbabenko is there anything holding up merging this PR?

Yes, New Year! :)
Happy holidays everyone!

30 груд. 2019 р. о 04:35 Michael Robbins<EMAIL_ADDRESS>пише:

I'm hitting this exact issue too, @antonbabenko is there anything holding up merging this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks @aboroday for the report and fix.
v1.5.0 of this module has been just released.


Additional pthread functions for DragonFly.

These are needed in order to fix/implement the guard page code of Rust
for DragonFly.

@dhuseby: This probably applies to FreeBSD as well.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton : I will come up with a patch that also includes support for FreeBSD. Closing this pull request.


Create devfile for devfile registry deployments

Which area this feature is related to?

/area registry
/area releng
Which functionality do you think we should add?

Why is this needed? Is your feature request related to a problem?
Create a devfile for making deployments of our devfile registries to devfile adopted platforms such as Red Hat Trusted Application Pipeline.
Detailed description:
Currently our community devfile registry is using a OpenShift template for deployment on our dedicated hosting environment. It would be great to have a outerloop devfile with resource deployment specs under the source repository to allow deployments using devfile consumers. In addition, this could also give more options of deployments to those wanting to deploy to their own Kubernetes or OpenShift environments.
Describe the solution you'd like

[x] Create a devfile which defines the deployment layout for the devfile registry

[x] Convert existing OpenShift template into compatible deployment spec which can be referenced by the devfile or independently used with other methods

[x] Make any necessary modifications to scripts

[x] Update documentation to describe these changes

[ ] Add tests for at least the existing platforms

Apply both tasks for the community devfile registry ~and the product devfile registry~.
Describe alternatives you've considered

Alternatively, we can do one of the following:

Use existing deployment template and handle other components using existing methods
Convert the existing deployment template to be compatible with more deployment methods without a devfile

Still needs to handle other components using existing methods

Additional context

Changing priority to blocker as it is blocking changes in the deployment setup of the community devfile registry.

Using inline for openshift components to inplace variables. Support for passing OpenShift template parameters in devfiles would simplify this step.

kubernetes components defines the deployment neutral resources and k8s ingress. openshift component continues to define OpenShift Route resource.
This will let us deploy to OpenShift and Kubernetes using common specs.

Using inline for openshift components to inplace variables.

Now using separated resources files with variable references.

Devfile confirmed compatiblity with odo v3 and ODC:

PR ready for review: https://github.com/devfile/registry/pull/256


babel presets have been deprecated, replace

babel presets have been deprecated, replace

Deploy preview for affectionate-nobel-f3a8ec processing.
Built with commit 1617a6229fc398f5d9c9072ec0e254698a168183
https://app.netlify.com/sites/affectionate-nobel-f3a8ec/deploys/5bf2a2ff53545d7d016d3ded

Codecov Report

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

@@           Coverage Diff           @@
##           master     #471   +/-   ##
=======================================
  Coverage   99.73%   99.73%
=======================================
  Files          80       80
  Lines         381      381
  Branches       15       15
=======================================
  Hits          380      380
  Misses          1        1

Continue to review full report at Codecov.

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


eb deploy sometimes returning an InvalidParameterValueError error

Description
Using Elastic Beanstalk in production since 5 month, I always deploy my PHP code via 'eb deploy' command, using the default environnement. My .elasticbeanstalk/config.yml was automatically generated by the eb cli when starting the projet, I didn't edit this file since this time.
In this file, the default_platform line is filled as this :
default_platform: arn:aws:elasticbeanstalk:eu-west-3::platform/PHP 7.3 running on 64bit Amazon Linux/2.9.4
The eb deploy is usually working well, but I got sometimes an error since 2 days :
ERROR: InvalidParameterValueError - Platform 'arn:aws:elasticbeanstalk:eu-west-3::platform/PHP 7.3 running on 64bit Amazon Linux/2.9.4' does not exist.
Steps to reproduce
launching eb deploy
Observed result
Since 2 days, the following error is occurring most of times, but the same command was also working well 2 times :
ERROR: InvalidParameterValueError - Platform 'arn:aws:elasticbeanstalk:eu-west-3::platform/PHP 7.3 running on 64bit Amazon Linux/2.9.4 does not exist.
Expected result
Deployment to my preprod environnement, working well since 6 month, and 2 times since 2 days, sliced by many times in error
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

OS: MacOS
eb cli installed by brew

I'm sorry for this bug report, i opened it too quickly, this seems to be due to a wrong platform version due to updates to be done. Please close this ticket without spending more time on it.


Add R CMD check badge to README

Similar to how it's done on te dplyr repo. Once admiral is on CRAN I'd love to see that badge as well.

I think the CRAN one would say something like "not published" as long as the package is not on CRAN. That's not an issue, though. Let's add it 🙂


Mi Notebook Pro GTX bios dump

Hello everyone, does anyone have a BIOS dump for MI Notebook Pro GTX version?
More specifically, XMAKB5RRP0804 version. I stupidly try to mod BIOS myself but did not test my backup dump. Now end up with a programmer and a brokon dump.
Really appreciate any help. Thank you very much.

Got a working dump. Fully recovered with ch341a flasher :)


[RHOAIENG-3984] Make sure analytics.js is loaded via proxy

Description
The previous setting (from #2557 ) was still loading the analytics.js directly from Segment.
The cdn setting in the options did not override this.
This is a followup on RHOAIENG-3984.
How Has This Been Tested?
Manual testing in browser console without dev-mode.
Network calls should look like this:

Test Impact
Should be none, as the tracking itself has not changed.
Request review criteria:
Self checklist (all need to be checked):

[X] The developer has manually tested the changes and verified that the changes work
[X]  Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/ok-to-test

Screenshot on situation before:

and after:


All Page - When we open any page from bookmark of browser then it redirects to setting page By Suresh sir

Describe the bug

In morning or after 1 hour if we open website page using bookmark then it redirects to setting page

I guess Company was asking some required field on Settings Page,
If so then this is not a problem. its Ideal flow, we do this everyday for all user to collect basic information from company


Also build and push bundle and index image

Signed-off-by: Nico Schieder<EMAIL_ADDRESS>

/lgtm


contract compile should compile all contracts by default

Overview (What and Why)
If there are multiple contracts, thy are mostly gonna be a part of the same project, and therefore should all be compiled with swanky contract compile command.
Compiling individual contracts should still be possible by passing the contract name flag
How

[ ] modify contract compile command

[ ] remove required arg
[ ] add contract name flag to take one or more contract names

[ ] queue all existing contracts or those specified and compile them in series
(not much would be gained by compiling in parallel threads since the compiler already uses them)
[ ] extract the core of test command into a function and call it for all contracts

Definition of Done

[ ] above changes are implemented and merged
[ ] readme page and docs.astar page are updated

Open Issues and Blockers

swanky contract test should also have the same functionality.
This is part of requirements for e2e CI test

Updated


Review of API schema

Right now our API schema is relatively flexible. We only define a single external version, v1alpha1, and we give no guarantees on the stability of this API.
Now that we're at a point where the project does function, we should review our schema to make sure it's consistent and makes sense. This specifically relates to the 'Issuer' and 'Certificate' resource type.
An example for ACME can be found here: https://github.com/jetstack-experimental/cert-manager/blob/master/docs/acme-cert.yaml and here: https://github.com/jetstack-experimental/cert-manager/blob/master/docs/acme-issuer.yaml. The full type definitions can be found in types.go.

/cc @whereisaaron @simonswine @mattbates

Currently Certificate.spec.issuer is required.
will it be possible to have a default issuer? Or select the issuer by policy?
For example, dns providers will often be set up to only work for names under a single subdomain (e.g. the route53 provider, having the credentials to a single zone)
It's more burden on users if they have to select a specific issuer. Instead could the system figure it out? (e.g. if the Issuer is set up to know it can handle any dns challenge under *.example.com, it can act on any relevant Certificate objects that haven't made a specific choice?
Along similar lines, if Certificate.spec.acme.config is empty will it be able to issue the certificate, using a default challenge provider?

Hey @mikebryant - sorry this message slipped through my inbox.
So right now, no it's not possible. It is something that I want to support however, it's just the details of how we do it that are complex. This is a blocker for #19, unless we start exposing more API surface through Ingress annotations.
Open questions:

Where should the designation for 'default' exist? We could follow the storage class pattern and have an is-default annotation on Issuers? Alternatively, it could exist as an annotation on the Namespace itself.

If we go the annotation route, what happens if two Issuers specify themselves as default?

How does this inter-play with non-namespaced issuers (#91)? Ideally, a user should be able to specify a namespace default as well as a global one.

Should this be done via an Initializer (i.e. admission controller), so that Certificate resources ultimately do have the Issuer field set, it's just set automatically set by the apiserver through introspection of cluster state? The alternative is to determine the Issuer to use each time the resource is processed, however that means that the Issuer could actually change over time, causing issues with renewal.

Regarding specifying Certificate.spec.acme.config - so this field is tied to the ACME implementation, and others don't have it. This means that not all issuing backends will have additional config on the Certificate, and thus means we cannot generalise the fields needed to specify a default. I'm open to ideas on how this should be approached, but have a feeling we should implement default ACME config as a separate feature (with it's own design considerations)

I'm personally not a huge fan of Issuers specifying lists of supported domains. It feels like it's over-complicated for provisioning an Issuer, and isn't applicable in all cases (think: ACME HTTP01). It's also further tied to the providers specific config. e.g. the supported domains are actually on a per-challenge provider basis in ACME, which is specific to ACME itself.

I support following the StorageClass pattern - annotation on the Issuer itself.

Like in StorageClass, the initializer can refuse to process it - https://kubernetes.io/docs/admin/admission-controllers/#defaultstorageclass

I would image we use the default in the Namespace if available, if not fall back to the non-namespaced default

Yes, initializer sounds good. It also means it's easy for people to opt in/out of this behavious, by not specifying any defaults, or we can provide an option to disable the initializer processing. In particular this means we could also defer functionality relating to picking an issuer based on domain etc, if someone wants this they could potentially write their own initializer to take care of their particular policy details.

For ACME config, a simple solution might be to just say - Make the Certificate.spec.acme section optional. If the Issuer it gets routed to only has a single provider defined, it just uses that one. Or we add something like Issuer.spec.acme.dns-01.providers[].is-default. Happy to have a separate discussion on this.

I would be happy to leave the complicated semantics like policy based on lists of domains out etc. If we leave open the possibility to do the autoconfiguration by initializers, that would let anyone with such needs sort it out themselves, without needing to fork or reimplement all the certificate managing stuff.
My use-case is just to have a single default Issuer per cluster, with a single root domain that everything will be subdomains off. But I do want to avoid needing that configuration in the Certificate objects themselves, so I can provide a clean boundary between what users request (A certificate, not caring where it comes from), and the cluster level configuration that provides these things.

@mikebryant I've created #97 to track adding a default annotation to Issuers (and supporting Initializer for Certificate resources).
I like the idea of a simple solution regarding picking a challenge provider - I think it'd be great if we didn't require all the extra config, especially in single-Issuer, single-config scenarios. The only edge-case I can see here, is that right now, all ACME issuers are 'configured' for solving HTTP01 challenges (as there's no configuration required). This means it'd be impossible to create a default issuer that always uses DNS01.
If we require a user specify http-01: {} in their Issuer spec, we could then observe the lack of http-01: {} to mean that http01 support is disabled, but once again, this may be confusing for first-time users that only want http-01 challenge support! Any thoughts here? Is this an acceptable requirement that we put on users?
+1 for leaving policy stuff out for now. Perhaps in future we can provide a some built in initializers for policy that can be enabled by advanced users.

I would prefer to be explicit.
In our environment, the cluster isn't generally accessible to the internet, so I wouldn't want to have http-01 enabled by default, it would just cause confusion.
So definitely +1 on requiring it to be specified to be enabled with http-01: {}
I wouldn't have thought it would be hugely confusing for users, if that's one of the default examples. My expectation would be someone starts using the project by copying and pasting an example Issuer manifest, they're unlikely to type it out from scratch and forget?

We could consider having http-01 as a default only if no other method is defined, but I think that'd cause more confusion if http-01 disappeared as soon as another method was added (for example, after http-01 had already been used for a while for obtaining certs).
So yeah I agree with being explicit in the methods you want to enable

I've opened https://github.com/jetstack-experimental/cert-manager/pull/115 which adds the functionality that @mikebryant and @dippynark have described.
Once merged, an ACME Issuer will require some config on it in order to start issuing certificates. The docs/examples need updating correspondingly.
Unfortunately we don't currently have test coverage on this part of the codebase, but post-0.0.1 I'm going to work on getting Boulder running for tests so we can properly test out the ACME provider.

I'm going to close this issue off once #118 is closed as that's the final API change for this release at least.
We should spend some time getting used to the new schema, and we can re-open discussions in a new issue if we need to address anything next time around.


Deployment bug when you change remote repository

Dear Capistrano team,
Recently I changed my repository from bitbucket to gitlab and face problem with deploy. My deployment, even if it was changed in deploy.rb, still wanted to connect to bitbucket.
Yes, I figure it out. I had to go to my server, and change repo/config file manualy. Basically, it's not a big deal and if you know what to correct and why problem appears it's easy to fix.
But still, as a suggestion. I think it would be more user friendly to correct this behavior to more logical => if you change repo in deploy.rb - then it's connection to changed repo, not to the old one.

Thanks for the report; it is a good suggestion. We are already tracking this in #1545. If you have the capacity to help fix this, we would appreciate the contribution!
Closing as duplicate of #1545.


Bump promql/regexp severity to bug

Codecov Report

Merging #188 (a37871f) into main (e4a8c23) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   93.18%   93.18%
=======================================
  Files          67       67
  Lines        4531     4531
=======================================
  Hits         4222     4222
  Misses        235      235
  Partials       74       74

Impacted Files
Coverage Δ

internal/checks/promql_regexp.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[DI] Add samples and update README

This PR includes:

New samples for how to convert AnalyzeResult to a JSON serializable dict, it's asked in this customer issue.
New samples for analyzing document as base64 source, it's asked in this customer issue.
Update: we have renamed base64_source to bytes_source and added samples sample_analyze_invoices_from_bytes_source.py and sample_analyze_invoices_from_bytes_source_async.py. So removed base64 samples after first round review.
Disclaim available regions for API 2024-02-29-preview, it's asked in this customer issue.
Added links for some DI docs which were not available when shipping first release.

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

Looks like this PR isnt changing anything related to the base64->bytes_source change mentioned in the description. The samples added lgtm!

The base64 rename is already merged in another PR, so I reverted any related changes here. Thanks for your review!


Refactor NR backend

Currently we use a JSON file for each NR type x UHF 42. The code ranges over elements in report_topic_data, which have the indicator data "rows" in them for that topic.
The code should instead range over topics in a YAML file in the root data folder. Topics have names and descriptions, and have indicator IDs nested underneath. The indicator IDs and neighborhood names are used to subset a single data file with all indicators. indicator_name and indicator_description can be taken from IndicatorData/indicator_names.json, or another file derived from indicators.json.
The idea to refactor the NRs arose while designing our new database, but the transition to that new database will be easier if we do the refactoring now-ish. In the bargain, we get a simpler NR dataflow sooner.

Done, but waiting on NR Print Styles to be implemented before finalization.

With this work, can we also add the data source to the NRs? I forget exactly what this refactoring was accomplishing, and I'm not sure if we have source info in the NR json - but, would be great to add that and find a place in the modal (toward the button?) for it.

A few notes from conversation:

NR data flow is last legacy of old site - refactoring can help bring everything into the future
We can move NR specs to the front-end, to a data file - one for each report topic, with headers and indicator/measure IDs. This will let content managers revise each NR. We'll probably need both indicator ID and measure ID.
We'll probably need UHF_ID in each output's frontmatter, to reference in each report and help filter data
That should give us the pieces to filter indicator files - since we'll need to get [indicatorID].json , filter by UHF42, get the correct measure, get the most recent year, get the citywide, boro, and UHF values.

A few things:

We have some NR-only indicators that are not in the DE. We'll need them in /indicators even if they're not in the DE.
In re-working it, we can visualize the UHF / Boro / NYC-value comparison
May want to reconsider use of trend charts

Re: Indicators: It should be easy to include the NR-only files in /indicators. They'll only appear in the DE if we add them to the topic markdown frontmatter.
Re: Trend chart: we could use that as one way to visualize UHF / Boro / NYC-value comparison. If we make the lines different colors, then it'll be easy to get the gist. Should be simple to filter the data, since it'll always be the same comparison.

re: "should be simple to filter the data" - yeah, we can do if statements re: the UHF_id, and use that to filter for the correct boro. That was part of the original plan for the NRs that didn't quite get operationalized.

Completed with Jan 2024 major site change push. #963

Here's how we solve the NR build / export dilemma:
Create an update- branch in the site repo. Create a branch with the same name in the data repo. Edit the NR_content YAML files in the site repo, then in the data repo run the export scripts to re-export the data.
The data export scripts will fetch the report topic indicators from the site repo, by default using the update branch name (which has the same name in both repos). So, it'll pick up on the latest changes.
Then, in the data repo, merge the update branch into production. Then do the same thing in the site repo. This will trigger a build, which will use the updated data files thanks to the merge in the data repo.
Will it break things?
The only changes will be in the NR data export files.  Files in report/ are only used by Hugo, and those in viz/ will be filtered. If we add an indicator to a topic, nothing breaks. If we remove an indicator, that indicator will break on the prod site until we deploy, when it will totally disappear, so not too much harm done.


Fix youtube music not playing when i change sc to yt. And run command !play or /play its automaticly clearing the song queqe

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
If possible

NodeJS version:
Bot version:

Additional context
Add any other context about the problem here.

YT was shut down a long time ago. You would know this if you had discord for a few years now.
Also your error is not a bug -_-

YouTube has banned bots from playing music as its against their TOS (bypasses ads). They have a partnership with Discord now. People have managed to still use the YouTube to play music, but I would suggest you don't as that risks your bot being banned from Discord and/or your account.


refine travis logging for plugin runner

All logging for plugin environment setup and teardown is suppressed unless an error occurs.

Travis output for a single plugin now looks like

@mschrimpf in the interest of further reducing noise around the plugins, do we want to filter pytest warnings (e.g. suppress DeprecationWarning)?


32 bit version?

Is there a 32bit version for greenclip for this old netbook please? I am a new user and building from source is beyond what I can do atm.

Hello,
Sadly no and as i don't own any 32bit architecture since a long time. It will be difficult for me to create a build for it.
You should try to build from source, if there is no imprévu it should only a matter of executing those commands https://github.com/erebe/greenclip#building-the-project


Dataloss while editing a notebook

Issue Type: Bug
No repro steps right now.
I was editing a TypeScript Jupyter notebook. I started from an empty notebook and added around 8 cells while intermittently running them and restarting the kernel. While was editing in the cell at the bottom, the editor refreshed on my and lost all but 3 cells. Since I run with AutoSave enabled, I lost 5 cells and their contents.
VS Code version: Code - Insiders 1.55.0-insider (Universal) (5d80c30e5b6ce8b2f5336ed55ad043490b0b818f, 2021-03-08T05:24:34.127Z)
OS version: Darwin arm64 20.3.0
Remote OS version: Linux x64 5.4.0-1031-azure
Remote OS version: Linux x64 5.4.0-1036-azure
Remote OS version: Linux x64 5.4.0-1031-azure

System Info

Item
Value

CPUs
undefined

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
16.00GB (0.10GB free)

Process Argv
--enable-proposed-api lszomoru.lszomoru-proposed-api-sample --crash-reporter-id ef10dfea-3602-4c74-ba1a-109ce7da7825

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: az-devbox

OS
Linux x64 5.4.0-1031-azure

CPUs
Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (4 x 2294)

Memory (System)
15.64GB (5.94GB free)

VM
0%

Item
Value

Remote
Codespaces

OS
Linux x64 5.4.0-1036-azure

CPUs
Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz (8 x 2693)

Memory (System)
15.64GB (7.90GB free)

VM
0%

Item
Value

Remote
SSH: az-devbox

OS
Linux x64 5.4.0-1031-azure

CPUs
Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (4 x 2294)

Memory (System)
15.64GB (5.94GB free)

VM
0%

Extensions (52)

Extension
Author (truncated)
Version

tsl-problem-matcher
eam
0.4.0

vsc-material-theme
Equ
33.1.2

vsc-material-theme-icons
equ
1.2.2

codespaces
Git
0.8.1

Kotlin
mat
1.7.1

theme-monokai-pro-vscode
mon
1.1.18

remote-ssh-edit-nightly
ms-
2021.3.12420

remote-ssh-nightly
ms-
2021.3.12420

remote-wsl
ms-
0.54.2

azure-account
ms-
0.9.7

github-browser
ms-
0.0.15

vscode-github-issue-notebooks
ms-
0.0.70

material-icon-theme
PKi
4.5.0

vscode-ruby
win
0.28.0

vscode-track-build-errors
aes
0.0.3

git-branch
ale
1.7.0

github-markdown-preview
bie
0.0.2

markdown-checkbox
bie
0.1.3

markdown-emoji
bie
0.1.0

markdown-preview-github-styles
bie
0.1.6

markdown-yaml-preamble
bie
0.0.4

vscode-svgviewer
css
2.0.0

vscode-eslint
dba
2.1.16

typescript-notebook
don
1.1.0

gitlens
eam
11.3.0

tsl-problem-matcher
eam
0.4.0

vsc-material-theme
Equ
33.1.2

vsc-material-theme-icons
equ
1.2.2

graphviz-markdown-preview
gee
0.0.8

codespaces
Git
0.8.1

vscode-pull-request-github
Git
0.24.0

vscode-pull-request-github-insiders
Git
2021.3.12063

mdmath
goe
2.5.1

lszomoru-proposed-api-sample
lsz
0.0.1

Kotlin
mat
1.7.1

rainbow-csv
mec
1.8.1

theme-monokai-pro-vscode
mon
1.1.18

vscode-docker
ms-
1.10.0

python
ms-
2021.2.636928669

jupyter
ms-
2021.4.625511240

azure-account
ms-
0.9.7

azurecli
ms-
0.5.0

hexeditor
ms-
1.4.0

js-debug-nightly
ms-
2021.3.817

vscode-github-issue-notebooks
ms-
0.0.70

vscode-js-profile-flame
ms-
0.0.14

vscode-markdown-notebook
ms-
0.0.14

material-icon-theme
PKi
4.5.0

ruby
reb
0.28.1

vscode-xml
red
0.15.0

code-spell-checker
str
1.10.2

vscode-ruby
win
0.28.0

(9 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30263608
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30244315
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
openwslfolder:30268768
vscoresta800:30265947
vspre833:30267464

Adding @bpasero who is working on a unified editor save logic

First of all this needs good understanding where exactly data loss occurs and how to trigger it.
Then, if this turns out to be a consequence of reloading the model based on file events, then I suggest to disable this feature until a more generalised solution is available. I think data loss should be resolved as soon as possible and not depend on my work because I cannot make any estimates when those changes are available.

I'm happy to have a video call (with screen share) with anyone from MS who wants to understand what the issue is.

Adding a note: I discovered this issue on not only ns remote within Azure ML's compute instances / vms but also on my local PC's version of VS Code.

I've experienced this 3 times when saving (auto save was off). The intact file can sometimes be found in the git tab and re-opened but is read only and can't be saved (but can be exported to .py/.html for people who want to save the code).
However, the git version will also eventually revert back especially if changes are committed.
See issue here: https://github.com/microsoft/vscode-jupyter/issues/5134

Even I've faced some strange issues like this. I remember two instances:

I had a notebook open in both jupyter (web) and VSCode. If I'd make a change in VSCode, and on pressing Ctrl+S, the notebook state would get reverted to the version last saved from jupyter (web). If i pressed Ctrl+Z next, it'd revert to the 'correct' state in VSCode and pressing Ctrl+S again worked fine.

I observed a similar behaviour like this another time, but that time Jupyter (web) wasn't open. I'm not sure how VSCode would revert to an old state (don't know where the state is stored). Ctrl+Z again worked.

Apart from this, however, I've observed this once: if I close VSCode (File>Exit), the next time I open it, some of the code cells which I definitely had saved, were empty. I'll report if I observe this again.

@thakkarparth007 @aparente-nurix Please share what version of VS Code you are using

@jrieken I'm using this:
Version: 1.55.0-insider (user setup)
Commit: 84fe402d655e029eb1a5c04e675bf64788fa7fcf
Date: 2021-03-15T05:14:29.836Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

@thakkarparth007 @aparente-nurix Please share what version of VS Code you are using

See the link I included to the issue on the vscode-jupyter repo for the full bug report.
https://github.com/microsoft/vscode-jupyter/issues/5134
Extension version: 2021.3.619093157
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:31.419Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 3.10.0-1062.18.1.el7.x86_64

@thakkarparth007 @aparente-nurix Please both use latest insiders which has a potential fix for this

@jrieken, the latest insiders build is quite broken for me. I don't see any option to select the notebook kernel, and the cells cannot be executed. The "Run" buttons don't show next to the cells, nor does pressing Ctrl+Enter work.
The developer console showed two errors, not sure if they're both relevant:

@thakkarparth007 Make sure to be on latest and greatest jupyter too

Marking verified based on "positive feedback" -- if there are specific steps to take for verification let me know


Stupid question

If I don't want to do:
require __DIR__ . '/../vendor/autoload.php';

use Monolog\Logger;
$logger = new Logger('my_logger');

And want to do:
require __DIR__ . '/../vendor/autoload.php';

$logger = new Monolog\Logger('my_logger');

Why doesn't it work?
 Fatal error: Uncaught Error: Class 'Logger' not found

It should work, if you do new \Monolog\Logger, or new Monolog\Logger but then you need to be in the global namespace. Your second code block works fine for me..

I know this should work, that's why I'm pulling my hair one by one since so many hours! :P
Could it be my composer.json that is not set correctly?
{
    "require": {
        "monolog/monolog": "^1.21"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        }
    }
}

When I look in composer/autoload_namespaces.php, the array is empty but when I look in composer/autoload_psr4, I have this:
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog')
So technically, if I do $log = new Monolog\Logger('APP'); it should work.
I'm really confused.

@XecuteFire  new Monolog\Logger('APP') works only if your file is in the global namespace. If your file has a namespace declared, this relative class name means you are trying to use  new <current namespace>\Monolog\Logger('APP'), which likely does not exist (the rule is not different for the global namespace, but applying this rule gives the right class)
This looks to me like a misunderstanding of how PHP namespaces are working

@stof I admit that I am new with namespaces in PHP.
So if my structure goes like this:
app/
config/
    bootstrap.php
public/
    index.php
vendor/
composer.json

And that my front-controller public/index.php require config/bootstrap.php, and the bootstrap looks like this:
<?php
/*
 *---------------------------------------------------------------
 * COMPOSER AUTOLOADER
 *---------------------------------------------------------------
 */

    require __DIR__ . '/../vendor/autoload.php';

/*
 *---------------------------------------------------------------
 * APPLICATION LOGGER [MONOLOG/MONOLOG]
 *---------------------------------------------------------------
 */

    $log = new Monolog\Logger('APP');

    $log->pushHandler(new Monolog\Handler\StreamHandler(__DIR__ . '/../app/logs/app.log', Logger::DEBUG));
    $log->pushHandler(new Monolog\Handler\FirePHPHandler());

What should I do exactly to be able to call $log = new Monolog\Logger('APP'); without the need of use Monolog\Loger;?
Even with $log = new \Monolog\Logger('APP');, I still get the Fatal error: Uncaught Error: Class 'Logger' not found in D:\Documents\Documents\DaPHPCode.dev\config\bootstrap.php on line 16

I am so dumb, it's unbelievable.
Guys, the problem was a missing namespace on  $log->pushHandler(new Monolog\Handler\StreamHandler(__DIR__ . '/../app/logs/app.log', Logger::DEBUG)); where Logger::DEBUG need to be Monolog\Logger::DEBUG
Problem solved, and a night wasted. :3


Feedback from Victoria

Hi @nathanh93 !
Here is my feedback on your research proposal.
Firstly, I think that you did a great job. One of the strong points of your research proposal that I would like to emphasize on is the clearness and understandability of your report. The readers can easily perceive what your objective and motivation are as they are very well stated. The explanations provided were straight to the point. Moreover, you provided definitions for almost all the concepts introduced which enabled me to understand all financial notions despite not having a background in finance.
Regarding potential improvements, I would recommend that you further develop your data description and analysis section. Here is a to-do list of a few potential improvement points that you could consider:

[x] As someone who does not have a strong background in finance, I would appreciate more information on the 10 indices that you included. Where are these indices from (which country)? How many stocks do they include? You could for instance create a table where this information could be summarized for each stock index.
[x] It could be a good idea to motivate your choice of using the “Oxford Man Realised Library” and justify the relevance and reliability of this source of data. Has previous literature established the reliability of this database for instance?
[x] You could mention the timeframe of your data. Example: variables ranging from 2000/1/1 to 2022/12/31.
[x] You could add a short explanation on why you chose to plot only 4 of the 10 indices in your research proposal. Was it because the same comments could be applied to all other variables?
[x] You mentioned that the plots tend to favor the hypothesis of non-stationarity in the data. In my opinion, it could be interesting to perform the Augmented Dickey–Fuller test to formally test for stationarity.
[ ] You could include a table of summary statistics of your variables (number of observations, mean, st. dev., min and max).

Side note: no references are included in your report. However, as you introduced several definitions and concepts, I guess that you probably got those from some sources.
Regarding the potential changes that I made in your index.qmd file, I did the following:

I defined p_t presented in one of the formulas.
I merged the values and dates of the variables in a dataframe as it will probably be easier for you to store them in an object. Then, I implemented a for loop for the plots to simplify and improve the efficiency of the code.
I did the same as above for the log transformed values.
I changed the maximum value of the y axis because some observations of FTSE daily RV were cut from the graph.
I added a title for both of your figures.
I removed a “the” in front of “model” present in a heading as others do not have a determinant.

Good luck for the continuation of your project !

Hi @vsonnemans!
Thanks very much for your feedback and amendments to my proposal! You raised some great points and I agree with pretty much all of your suggestions. Likewise, your improvements to the R code make a lot of sense and were very clear and concise to read. Thank you!
I have made the amendments to my file to provide further clarity on the chosen indices, motivate the choice of data, explain the charts and provide ADF tests to test for stationarity. I have chosen to leave out the summary statistics on the RV series' only because I feel that the absolute value of a daily variance is fairly unintuitive to interpret as a number and as such I prefer to display them as charts to provide a clear picture of the characteristics of the data.
Thanks again for the help!

What a nice and fruitful exchange! Thank you @vsonnemans and @nathanh93 🥇


Occasional bad use of unsafe.Pointer? panics during GC

Rarely, Tempo compactors will panic with a message like the following:
runtime: marked free object in span 0x7fe7b258fb40, elemsize=64 freeindex=0 (bad use of unsafe.Pointer? try -d=checkptr)
0xc0a06da000 free  unmarked
0xc0a06da040 free  unmarked
...
fatal error: found pointer to free object

goroutine 17 [running]:
runtime.throw({0x205b1e2?, 0xc0a06daf80?})
	/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc00008e5e8 sp=0xc00008e5b8 pc=0x43a0fd
runtime.(*mspan).reportZombies(0x7fe7b258fb40)
	/usr/local/go/src/runtime/mgcsweep.go:787 +0x2e5 fp=0xc00008e668 sp=0xc00008e5e8 pc=0x4285c5
runtime.(*sweepLocked).sweep(0x363a0e0?, 0x0)
	/usr/local/go/src/runtime/mgcsweep.go:611 +0x8d2 fp=0xc00008e740 sp=0xc00008e668 pc=0x427fd2
runtime.sweepone()
	/usr/local/go/src/runtime/mgcsweep.go:369 +0xf4 fp=0xc00008e790 sp=0xc00008e740 pc=0x427434
runtime.bgsweep(0x0?)
	/usr/local/go/src/runtime/mgcsweep.go:281 +0x105 fp=0xc00008e7c8 sp=0xc00008e790 pc=0x4271e5
runtime.gcenable.func1()
	/usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc00008e7e0 sp=0xc00008e7c8 pc=0x41be06
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008e7e8 sp=0xc00008e7e0 pc=0x46e641
created by runtime.gcenable
	/usr/local/go/src/runtime/mgc.go:178 +0x6b

Complete dump:
logs.txt
Vendored commit: 7efc157d28afda607e07e1f003e3c2c6922932df
Go Version: 1.18
This actually used to happen more often and was reported here. The latest parquet-go commit reduced the occurrences and changed where it occurred.

Yes, the problem does appear to be the same as ours:
Your stack fragments:
runtime: bad pointer in frame github.com/segmentio/parquet-go.writeRowsFuncOfStruct.func2 at 0xc0d9237200: 0x18
github.com/segmentio/parquet-go.writeRowsFuncOfRequired.func1({0xc05bf6fc00?, 0x35?, 0x35?}, {{0x18?, 0x0?, 0x0?}}, {0x4?, 0x1?, 0x3?})
Our stack:
runtime: bad pointer in frame github.com/segmentio/parquet-go.writeRowsFuncOfStruct.func2 at 0x401f087740: 0x20
github.com/segmentio/parquet-go.(*optionalColumnBuffer).writeValues(0x40070e4b60, {{0x20?, 0xc000?, 0x2000?}}, {0x0?, 0x60?, 0xbd?})
The 0x18 in your case and the 0x20 "address" in the first argument (rows sparse.Array -> {0x18?, 0x0?, 0x0?}) of the respective functions is the result of adding an offset to a nil pointer which is incorrect.  You can try one of the suggested fixes in my report.  We have not experienced any crashes yet since we applied the fix.

I'm not seeing that function (writeRowsFuncOfRequired) in the linked stacktrace. Did you mean for this reply to go to #299?
I almost commented on that issue with these details, but this felt distinct to me.

Oops, it was someone else's stack.  Ignore my comment.

Following up on this. We continue to see this issue several times per day. It occurs to me though that we may be using the library incorrectly and I'd like some confirmation about whether or not this is true.
In our compactors we read 4 different parquet files and combine them into 1. In doing this we use parquet.Reader and parquet.Writer to read parquet.Rows and write them to the output block.
Is it ok to take a parquet.Row read from one parquet.File and write it to a different parquet.File?

We ran some tests in our operational cluster and I can confirm that this issue does not exist on this commit:
https://github.com/segmentio/parquet-go/commit/d84ed320251d0c762d7188ca10154b2f9c66060e
and is present on this commit:
https://github.com/segmentio/parquet-go/commit/7efc157d28afda607e07e1f003e3c2c6922932df


feat(uptime): monitor agent

for multi LAN or other network limit environment.
exec monitor remotely and report to main to show and to storage.

For my use case，I want start up one instance on my TrueNAS at home.
run an agent on openwrt to monitor tunnels which may have same dst ip so specify iface necessary.
also I want run an agent on unraid at university, because the unraid is J1900 and HDD,  It is not up to the task of processing so much historical data.

ic, did you have interesting to submit a PR? i have no enough device environment to test it.
just need to modify this file
reporter/utils/utils.go
getTrafficVnstat
i think vnstat can do it

Perhaps I did not express clearly enough, let you have some misunderstanding, let me clarify my idea.
There are three objects, the server, the agent, and the monitor object.
For some reason, the server can not connect directly to the monitoring object, or the monitoring effect of direct connection does not meet the expectation. In this case, the server sends the monitoring configuration to the agent, which executes the monitoring task and reports the data to the server.
At the same time, we can enhance the agent, such as specifying the request iface, to satisfy more complex monitoring tasks.
I think this may be a more complex requirement that needs more discussion and research.

FRP or SSH tunnel does not seem to support ICMP forwarding.
And some options, such as ping -i <iface> , must be executed on the local machine.

ok,
link a issue here: https://github.com/msgbyte/tianji/issues/133
i think its same question.


ac-go-live

Docs Build status updates of commit 9d7f8fc:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/bots/bots-with-tabs.md
:warning:Warning

Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded

msteams-platform/concepts/apps/apps-package.md
:white_check_mark:Succeeded

msteams-platform/concepts/connectors/connectors-creating.md
:white_check_mark:Succeeded

msteams-platform/concepts/connectors/connectors-using.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/create-extensions.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/messaging-extensions-common.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/search-extensions.md
:white_check_mark:Succeeded

msteams-platform/publishing/apps-localization.md
:white_check_mark:Succeeded

msteams-platform/publishing/office-store-checklist.md
:white_check_mark:Succeeded

msteams-platform/resources/dev-preview/developer-preview-features.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/localization-schema.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/manifest-schema-dev-preview.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/manifest-schema.md
:white_check_mark:Succeeded

msteams-platform/whats-new.md
:white_check_mark:Succeeded

msteams-platform/concepts/bots/bots-with-tabs.md

Line 17: [Warning] Invalid file link:(~/concepts/authentication/authentication).
Line 23: [Warning] Invalid file link:(~/concepts/deep-links).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 618fae9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded

msteams-platform/concepts/apps/apps-package.md
:white_check_mark:Succeeded

msteams-platform/concepts/bots/bots-with-tabs.md
:white_check_mark:Succeeded

msteams-platform/concepts/connectors/connectors-creating.md
:white_check_mark:Succeeded

msteams-platform/concepts/connectors/connectors-using.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/create-extensions.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/messaging-extensions-common.md
:white_check_mark:Succeeded

msteams-platform/concepts/messaging-extensions/search-extensions.md
:white_check_mark:Succeeded

msteams-platform/publishing/apps-localization.md
:white_check_mark:Succeeded

msteams-platform/publishing/office-store-checklist.md
:white_check_mark:Succeeded

msteams-platform/resources/dev-preview/developer-preview-features.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/localization-schema.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/manifest-schema-dev-preview.md
:white_check_mark:Succeeded

msteams-platform/resources/schema/manifest-schema.md
:white_check_mark:Succeeded

msteams-platform/whats-new.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Spark Job Checklist

Running task list for complete spark jobs. Please leave notes as comments.
Instititutions

[x] build_institutions
[ ] match_institutions

Catalog

[ ] load_loc
[x] load_otl
[ ] load_viaf
[ ] load_crossref
[ ] build_unified

Corpus

[ ] extract_text.py
[ ] list_v2_paths.py
[ ] load_bennington_documents.py
[ ] load_v1_documents.py
[ ] load_v2_warcs.py
[ ] merge_documents.py

Ran and validated build_institutions

Ran and validated load_otl

Ran load_loc, about 10 million records

validateload_loc at 10091977 records

ran load_bennington

ran list_v2_paths

ran load_v1_documents

ran load_v2_warcs

ran load_viaf, 28304528 records

So should this ticket be updated/closed, now that all the jobs have been run?


Nuget v3.7.2 Namespace broken

In v3.7.2 the TokenMatcher is being used and imported from Xrm.Templating namespace, which is not included.
Should probably move the TokenMatcher into the XTLInterpreter.
Adding some auto imports for system libraries for InvalidDataException and Regex would be useful too.

Fixed in v3.7.3


update readme from branch example

I updated readme file. Please accept it

I like the update. Thank you!


Include interaction description in verification results

The verification results published from the Rust verifier are extremely streamlined, containing only the interaction ID, success boolean and any mismatches. This is easier to parse than the old verification results, which contained a myriad of data even if the test was successful.
However, interaction IDs are not an easy way of understanding which test failed, as they must then be cross-referenced with a separate document to track them back to the test in code.
To make this easier, could you add the interaction description to the verification results too? This would make it much easier to get a quick understanding of what's broken from the results themselves.

The verification results format is defined by the Pact broker project. I think it will just ignore additional fields, but I am waiting on conformation of that.

Closing this as @rholshausen appears to have implemented the issue and the internal ticket has been marked is done :)


Create git workflow for Unit Tests

When there is a PR raised or a merge happens on the main branch CI should trigger.

Blocked by Issue #2

Blocked by Issue #2


Step missing for Connect to a virtual network with ExpressRoute

In the section Connect to a virtual network with ExpressRoute, step three tells us to Navigate to the Virtual Network Gateway you created in the previous step and under Settings, select Connections. On the Connections page, select + Add..
There is no such step in previous sections.

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

ID: a0183b40-0deb-0ee0-45fb-f760b6317b39
Version Independent ID: c7dd1085-6d5e-29c0-6917-c838e8676425
Content: Deploy and configure Azure VMware Solution - Azure VMware Solution
Content Source: articles/azure-vmware/deploy-azure-vmware-solution.md
Service: azure-vmware
GitHub Login: @shortpatti
Microsoft Alias: tredavis

#assign @shortpatti

@brthurr, I'll put some clarification in the content.  Thank you for letting us know 👍

I've updated the content and it will be published later today.
#please-close


Stuck Loading Screen

I am getting the same issue as mentioned by jaxonsie on Curse Forge with the latest update of this mod.
Mojang loading screen loads all way up main menu flashes then it goes back to loading screen and continues this in a loop.
.Mod List.txt
Previous version still works fine.

I assume you've uploaded the "old" modlist, since build 3.0.1 is relatively old. 3.0.2 is what I released yesterday, I'm pretty sure that's what you're using and this is a duplicate of #25. I released a fixed build (3.0.3) earlier today, so you should update to that.

Yes sorry I was using the 3.0.1 As was working looks like for some reason the curse forge app was not downloading the 3.0.3 updated but still the older 3.0.2.
Thanks for the fix.


Congratulation

Thanks for your awesome work! BTW, would you plan to release the training code or not?

Thanks for your code. I am from CSDN. I write your RANet at my blog. Thank you!. Great Work.


bump github.com/iovisor/gobpf

Seems the previous version no longer exists
error was:
go<EMAIL_ADDRESS>unknown revision f9e9df81702a
I picked https://github.com/iovisor/gobpf/commit/a3c161dcff4fd8645c4dde22179d1e1f250e8e75 as the nearest commit and it seem useful enough.
I probably haven't done the module updates correctly.

You need to regenerate the ebpf/statics/bindata.go (this is the reason forthe skydive-compile-tests job to fail)

run functional-tests-backend-orientdb

run functional-tests-backend-orientdb

I tried regeneration and it failed and then I lost track of this. Thanks for updating it.

run create-docker-images

Thanks @safchain


VSCode keyboard input stops with omnisharp plugin

VSCode Version: 1.43.0
OS Version: Windows 10

Steps to Reproduce:

Install ms-dotnettools.csharp
Install vscodevim.vim (also same with neo vim)
Open VSCode and edit a file.

Note keyboard will work for a 20-30 seconds, then it will stop.  Developer: Reload Window can get it working briefly, but it will stop again after 20-30 seconds.
I've tried using older versions of Vim, uninstalling all plugins and VSCode and reinstalling.
I noticed that the reload window does trigger an OmniSharp refresh, so it must be related.   I've tried various C# projects, and they all seem to behave in the same manner.

Looks like the C# extension blocks the extension host. The VIM extension also runs on the extension host.
Please file this against https://github.com/OmniSharp/omnisharp-vscode