Show plots in the Plots pane and in an interactive backend simultaneously

The plot panel is useful but I have a few problems with it:

The images are saved by default as low quality png. I would prefer svg and therefore need to:

from IPython.display import set_matplotlib_formats
set_matplotlib_formats('svg')

before plotting. I think it would be nice to have a setting in the plot widget to choose one of 'png', 'retina', 'jpeg', 'svg', 'pdf'.

The images are not shown if the backend is interactive (For example qt5). I think it would be great if there was a button to change the backend between inline and interactive, and if the interactive  backend plots where shown in the widget. This works by:

%matplotlib qt5
from IPython.core.display import display
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot()
ax.plot([1, 2, 4])
display(fig)

But this also displays the plot inline. One implementation could patch the figure show method and get the image data by:
%matplotlib qt5
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot()
ax.plot([1, 2, 4])
format = get_ipython().kernel.shell.display_formatter.format
format_dict, md_dict = format(fig)

and then send format_dict by the comm channel.

@jnsebgosselin ?

I think it would be nice to have a setting in the plot widget to choose one of 'png', 'retina', 'jpeg', 'svg', 'pdf'

There's one already:
Preferences > IPython console > Graphics > Inline backend > Format

but it only covers png and svg. Retina is basically png with twice the size and @dalthviz is considering a good UI to include it at the moment.
Adding an option for pdf doesn't make much sense because we don't have a way to render pdfs using Qt only. But you could add an entry for jpeg there, if you want.
Also, to display SVG's we're using QtSvg. But that's not so good because Qt doesn't support the entire svg spec. Instead, we could use in Plots a QWebView and use it to better render svg's. You could also work on that, if you want.

The images are not shown if the backend is interactive (For example qt5).

This is simply not possible at the moment because we can't embed an interactive Matplotlib backend on Plots. Besides, I have no idea how to capture the content that comes from a call to an interactive Matplotlib backend and redirect it to a Qt widget.
If you plan to work on that, please address it for Spyder 5 though.

This is simply not possible at the moment because we can't embed an interactive Matplotlib backend on Plots. Besides, I have no idea how to capture the content that comes from a call to an interactive Matplotlib backend and redirect it to a Qt widget.

I do not think it is what @impact27  is suggesting here. I think he is suggesting that even when in interactive mode, the plots should be added to the plots plugin, either in a svg or bitmap format, when show is called on the Figure.
I think this would be a great addition if we could add this functionality.

So like something like the animation below. That way, we have an interactive figure on an independent window as well as a static image added to the plots plugin, which is very nice and exactly what I want most of the time! I would love to see this implemented.

I know this is a topic that is very popular, but I do not see how embedding interactive matplotlib figures in Spyder is a good idea. The figures are going to look horrible most of the time because of size scaling...

I think it would be great if there was a button to change the backend between inline and interactive.

That also would be very cool.

I think it would be great if there was a button to change the backend between inline and interactive.

That also would be very cool.
If we could make it work without requiring a restart of the console, that would be even cooler.

We can just send %matplotlib qt5 and %matplotlib inline messages to the console

Adding an option for pdf doesn't make much sense because we don't have a way to render pdfs using Qt only. But you could add an entry for jpeg there, if you want.
Also, to display SVG's we're using QtSvg. But that's not so good because Qt doesn't support the entire svg spec. Instead, we could use in Plots a QWebView and use it to better render svg's. You could also work on that, if you want.

I think this would be solved nicely by:
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('pdf', 'png')

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot()
ax.plot([1, 2, 4])
format = get_ipython().kernel.shell.display_formatter.format
format_dict, md_dict = format(fig)

Format dict contains a png that you can show in the widget and a pdf that you can save somewhere. Same for svg, you don't need Qt to read the svg as you could simply send both the svg (for saving) and the png (For showing).

Yes, we should do this, this is a good idea.

I can do the communication with the kernel:

Alternatively, the main reason to turn on interactive plotting is due to the [plots] tab's inability to Zoom/pan etc.
If the plot window operated more like a "docked" interactive Figure window (retaining zoom/pan buttons, at least for the threads still running), then one may not need to display Interactive figures in a separate window at all.


Feature template models

Pull Request summary:
Add Cisco VPN Feature Template Model

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/329


libyaml: 0.2.1 -> 0.2.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

python*Packages.pyyaml is broken now (tests): https://hydra.nixos.org/build/96093071

Reported upstream https://github.com/yaml/pyyaml/issues/320.

This yaml-0.2.2.tar.gz seems very suspicious (see the last link).

Should fetch from https://github.com/yaml/libyaml

That would have the disadvantage of having to use autotools during the build.
In any case, it seems we have to make a libyaml rebuild (not too bad, ~3k together).  I suggest to just use the "new" tarball:
-    sha256 = "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q";
+    sha256 = "4a9100ab61047fd9bd395bcef3ce5403365cafd55c1e0d0299cde14958e47be9";

as the tarball seems OK to me and pyyaml tests also pass with it.  What do you think?


OBJ example

I couldn't figure out how to include OBJLoader and MTLLoader without modifications, so there is some stuff added to those files to work with RequireJS.

The scene doesn't have lights, so the obj appears black.

I'll take a look at modularizing the geolocation code soon so we can add some lights relatively easily.


It usta wave

The flagwaver hasn't waved for me for a couple of weeks or so. I just get intermittent stills. Kinda gives me the idea, but it's just not the same.

Can you please provide some details? What browser, and what OS are you on? What kind of images are you uploading?

Closing because of lack of info


how to cancel paid GRIDA account

I upgraded my account (cors.sh) to a paid account on Nov 27 - but found out it was not what I needed. I have been trying to find out how to cancel it since then. How can I do this please? Thanks -

I had to cancel my credit card to get rid of it. Also no way to find receipts for accounting.


Buyer login using their Mobile Number

Very important for Semi Literate Buyers in country like India
In India, still a lot of people do not have email or even if they have they rarely use it. So allowing a user to login using Mobile Number or Social Login like Facebook and Google is important for success of an e-commerce here in India.
Proposed solution
We should be having a Login configuration in Saleor Dashboard to configure for Mobile number based login and Optional login using Social Sites.

The same feature will be very useful for China!

Is there any update on this feature


Gradle bug

[.../it.neokree/MaterialTabs/0.11/AndroidManifest.xml:7] Invalid instruction 'overrideLibrary', valid instructions are : REMOVE,REPLACE,STRICT

please see what gradle version are you using in your project, from this answer you are using an old version.
In my project I use this classpath 'com.android.tools.build:gradle:1.0.0'


Uncaught Can't encode file content to base64

[Enter steps to reproduce:]

...
...

Atom: 1.57.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Home
Thrown From: emmet package 2.4.3
Stack Trace
Uncaught Can't encode file content to base64
At C:\Users\sully\.atom\packages\emmet\node_modules\emmet\lib\action\base64.js:60

undefined

Commands
     -0:30.9.0 live-doc-viewer:toggle (input.hidden-input)
     -0:14.5.0 emmet:encode-decode-data-url (input.hidden-input)

Non-Core Packages
atom-live-server 2.3.0
emmet 2.4.3
live-doc-viewer 1.2.0

i need to know what codeing im missing


Provide reachability info with describe task queue for the new versioning API (Backward incompatible)

What was changed

Provides an enhanced mode (by default) to temporal task-queue describe that provides task reachability information
for Build IDs. The goal is to facilitate retiring workers with old code that use the new worker versioning API.
The old behavior of describe is available using the legacy-mode flag.

Reachability could be an expensive operation and many time the callers may only be interested in pollers only. I think we should make it disabled by default and only report it when user sets a flag such as --report-reachability or similar.

Also similarly, one may not want poller info so ideally there should be a way to disable that such as --report-pollers=false.
Note that a new section will be added soon (BacklogInfo). That should also have a flag (maybe true by default).

Reachability could be an expensive operation and many time the callers may only be interested in pollers only. I think we should make it disabled by default and only report it when user sets a flag such as --report-reachability or similar.

I was thinking whether to export the flags or not. I thought it was a bit confusing not providing the info by default, and this is the cli, so I'm not expecting lots of calls using it, and create a real overhead problem. I'm assuming that most demanding users will use the SDK directly, and they can apply there the flags. Also, even with report off it provides info in json mode (e.g., similar to no pollers found), something that is confusing.
Maybe we can revisit after we get more experience with the pre-release?

:+1: Would like to know how expensive. It is a common use case for people to poll reachability I assume so you know when you can shut a worker down?

The expense comes from the fact that it needs to make up to 2 Visibility queries per build ID. Although those queries will not be needed for the "default" build ID (when no --select-* flag is used). We do caching of the Visibility queries in server, so maybe at the end of the day it is OK. We plan to do some more optimizations to reduce the visibility query cost.
I'm fine with keeping this as is and revisit after prerelease if we are OK adding the flags (and change default behavior) at a later stage if needed.

I'm fine with keeping this as is and revisit after prerelease if we are OK adding the flags (and change default behavior) at a later stage if needed.

Hrmm, I'm not sure we are ok w/ removing this from default and making a flag later. I noticed in the pending Go SDK update we require users to opt-in to this data as well. @antlai-temporal - if this data is not available by default in SDK or API and has an expense, can we put it behind a flag here too?

Hrmm, I'm not sure we are ok w/ removing this from default and making a flag later. I noticed in the pending Go SDK update >we require users to opt-in to this data as well. @antlai-temporal - if this data is not available by default in SDK or API and has >an expense, can we put it behind a flag here too?

There is caching and rate limiting built-in @ShahabT mentioned, and I'm not expecting cli users to be doing heavy stuff. More advanced users will use the SDK, where there is by default more control.
I really hate it when you issue a command in the cli, and nothing useful comes back, and you need to start digging with the options to get anything sensible... I prefer to get the info back by default, and if we need to save, have a disable flag. But instead of falling for premature optimization, I wanted to wait and see whether the flag was actually needed...

nothing useful comes back

But something useful is coming back by default (poller info), just not this. Many users don't need reachability anyways because they are not using versioning.

But something useful is coming back by default (poller info), just not this. Many users don't need reachability anyways because they are not using versioning.

In the SDK poller info is also gated by a flag, so if we do the same nothing would be returned by the cli by default. We could just add the enableReachability flag and get rid of the enablePollerInfo flag in the cli...

We could just add the enableReachability flag and get rid of the enablePollerInfo flag in the cli...

Yes, I vote this. Lets show the cheap valuable-to-everyone poller info by default and the more expensive valuable-to-versioning-users-only reachability info a flag is set.

Adding report-reachability flag. Note that there is a bug in the current server version that makes a new unit test fail. This will be fixed upgrading the server hash in the next "NOT FOR MERGE" commit in the versioning-2 branch.


Set the GitHub website url to https://metacontroller.app/

Its really convenient to have a website on the github title line for a repository. I personally look for a link there first, I'm sure some others do the same thing. It's more of a NIT than anything else and I would do it myself but I'm not a maintainer.

Done, and thanks! I didn't know about that setting.


wrangler publish has inconsistent behavior

Steps to reproduce

wrangler generate <name here> Use a name that isn't used currently, as wrangler will overwrite an existing one.
set a name, route, zone_id, account_id, and private=true in wrangler.toml.
run wrangler publish
output says worker was successfully published but it only appears in the editor UI and isn't actually published anywhere. this is issue #357.
run wrangler publish --release
output says worker was successfully published. You can view it at <route>. which is True.
make a change to your worker so it returns something else
run wrangler publish
output says worker was successfully published but in reality, the script running at route was also updated without passing in the --release flag. This is confusing.

I find the publish versus publish --release confusing, too. I think the context is that we can think of a workers.dev subdomain as a sort of staging environment, and releasing the app to a zone is where that terminology comes together. I'm imagining that if we were to switch the commands, and have something like publish --staging publish to workers.dev, while publish goes to a zone, I would find that set of commands confusing too.
Thinking about #385, I do wonder if it might make sense to just become very explicit about zoned deploy targets. Publishing with now will default to a random now.sh domain (basically analogous to our wrangler publish), and you can pick a "target" to deploy to (functionally, they're aliases) using now --target $target (where $target might be staging or production).
Makes me wonder if it would make sense to deprecate the --release subcommand in favor of just using the --env flag from #385. That way, it always defaults to workers.dev, and a zoned deploy is wrangler publish --env production (or staging, etc)

I would also quite like that, I find the wrangler publish -> zoneless and wrangler publish --release -> zoned to be quite confusing. Especially if people's primary worker use case is zoneless and they really are doing releases every time they publish. We would definitely need to discuss if we are trying to keep this reverse compatible and what that would mean.

I think introducing --env instead of --release might still lead to confusion between zoneless and zoned workers; honestly, running publish where the env file is read by default and people specify both zoneless or zoneful configs there would be simpler and more explicit. This would possibly change #385 but I think this is worth it in the name of maximal clarity and cohesive dev experience between zoned and zoneless workers.

we think this will be mostly addressed by the work being done in the Environments milestone; however, there may still be some surprising behavior if users deviate from best practices. Should reassess after Environments is released.


AVRO-2872: Fix bug in SpecificCompiler which prevents Logical Types being registered for union fields

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Avro Jira issues and references them in the PR title.

https://issues.apache.org/jira/browse/AVRO-2872
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

TestSpecificCompiler#testLogicalTypeUnionProducesConversionField
Commits

[x] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

What do I need to do to get eyes on this? @RyanSkraba ?

Thanks for the contribution and your patience!   I asked a question on the JIRA -- what symptoms are you seeing in this bug?
I'm wondering what would happen if passed a record with a UNION field that had two logical types (something compatible like a date and a timestamp-millis).  Is it currently unusable, and what would change with this fix?

I'm running into an issue which I think is related but building this PR locally and testing it hasn't fixed the issue.
I have a schema
  record MaybeLogicalTypes {
    union {null, date} dateType = null;
    union {null, time_ms} timeMsType = null;
    union {null, timestamp_ms} timestampMsType = null;
  }
  MaybeLogicalTypes getMaybeLogicalTypes();

I have server code which returns a MaybeLogicalTypes object with all the fields set however when the client code calls
SpecificRequestor.getClient(TestService.class, new HttpTransceiver(url)).getMaybeLogicalTypes()

I get an error when  union {null, date} or union {null, time_ms} or union {null, timestamp_ms} is populated.
e.g.
org.apache.avro.AvroRuntimeException: org.apache.avro.AvroRuntimeException: Unknown datum type java.time.Instant: 2021-03-31T11:26:20.123888Z
                                                at org.apache.avro.ipc.specific.SpecificRequestor.readError(SpecificRequestor.java:160) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Requestor$Response.getResponse(Requestor.java:566) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Requestor$TransceiverCallback.handleResult(Requestor.java:366) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Requestor$TransceiverCallback.handleResult(Requestor.java:330) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Transceiver.transceive(Transceiver.java:73) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Requestor.request(Requestor.java:152) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.Requestor.request(Requestor.java:101) ~[avro-ipc-1.10.2.jar:1.10.2]
                                                at org.apache.avro.ipc.specific.SpecificRequestor.invoke(SpecificRequestor.java:108) ~[avro-ipc-1.10.2.jar:1.10.2]

This looks related, but not exactly the same issue.  This would fix the conversions array in the specific, generated MaybeLogicalTypes, but it looks like the IPC responder doesn't take it into account in any case.  Can you create a new JIRA?

Raised AVRO-3102 (sorry for the noise in the PR)

Shouldn't LogicTypes be resolved recursively? Curious if it will be registered in the case of an Array of Logical Types

Shouldn't LogicTypes be resolved recursively? Curious if it will be registered in the case of an Array of Logical Types

There's some discussion about this on the Jira. We've established that this fix works for a union of exactly two elements where one of them is null, but unions with more branches is still an open question. The current conversion resolver doesn't have flexibility to provide different implementations based on the runtime time. As an aside, are nested unions allowed? Even if they are, how are they functionally different from a single union with multiple elements?

Good news: a UNION can't contain other unions, among other limitations (such as not containing two different logical types with the same underlying primitives, or even two ARRAY with different type contents.
It currently looks like an ARRAY of timestamp-millis does generate the methods with the correct type List<Instant>, but does not create the conversions[] array in the specific record.

This is ready for review following our discussions 👍

Nudge @RyanSkraba

I would like to bring this one up again, as we experience issues while using an optional string with logicalType UUID, which is represented as a union of null and the string itself:
{
  "name": "id",
  "type": {
    "logicalType": "uuid",
    "type": "string"
  }
}

As a result the conversion array is not populated and therefore we're not able to serialize avro messages with the same exception as described in the description.
We're using version 1.11.3. For me it looks like this issue could be fixed with this PR.


Sweep does not properly remove sketch from pending

I think sweep is not properly removing a sketch from pending objects, see below example:
with BuildLine() as l:
    m0 = Line((0,0),(30,0))
    m1 = JernArc(m0@1,m0%1,75+30,45)
    m2 = Line(m1@1,m1@1+(m1%1)*40)

with BuildLine() as l2:
    n1 = Line(m2@1,m2@1+(-70*(m2%1).Y,70*(m2%1).X))
    n2 = Line(n1@0,n1@0+(n1%0)*-40)
    n3 = JernArc(n2@1,n2%1,75+30,45)
    n4 = Line(n3@1,n3@1+(n3%1)*30)

with BuildPart() as p:
    with BuildSketch(Plane.YZ) as s:
        Circle(60/2)
    sweep(s.sketch,l.line)

    with BuildSketch(Plane.YZ.offset((n4@1).X)) as s3:
        Circle(60/2)
    sweep(s3.sketch,l2.line)

    with BuildSketch(Plane.YZ.offset((n4@1).X)) as s5:
        Circle(85/2)
    extrude(amount=-20) #results in incorrect behavior of screenshot with extrusion of both s5.sketch and s.sketch
    #extrude(s5.sketch,amount=-20) #works properly

Maybe this is intended behavior? I see that pending_faces is not altered when sections are manually specified (as I did above in the two sweeps).

Yes this is intended.  When a face is passed as a parameter there is no attempt to figure out if it's one of the pending faces and remove it as this would be a dangerous side effect in some situations.  When the user doesn't provide a face the Builder is under control and should always clean up after itself.


How difficult is to create an offline-first app?

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

I only discovered this project today.
Congratulations for this great job!
In your opinion, how difficult is it to create an offline-first Web/Desktop/Native application with this project?
Anything that respects these rules?

This is a general question. I can't answer this without knowing what you need to do. Sorry, but I don't have time to dive into the article.

We are evaluating your project because we want to build a CRM-like that must have all the data and a 100% offline CRUD with synchronization once online.
I cannot understand if we can achieve this with your project.
Some of the questions in the article:

Are conflicts handled? How?

How much data does the client need to store to fully replicate (full offline data access & editing)?

Does it require all data to live in memory, or can it work with mostly-persisted data? (such that large datasets are usable)

Does it correctly handle working on multiple tabs in the same browser session?

Akita is a state management solution. You can persist the data to web storage. You can keep browser tabs in sync using localStorage.

Anything else you'll have to manage yourself

Thanks.

It would be amazing to sync state from browser to server just to handle offline situations.
And I'm not talking about conflicts for now (I don't care at this stage, I can use "last writer wins" or handle the error in the server and communicate it to the single client).
What do you suggest as an effective sync system to any backend?

I'm not sure what you mean by "an effective sync system to any backend"? Can you elaborate?

Hey @frederikhors, have you checked Pouchdb? It basically is a solution for your problem. However, you will need to have a backend running CouchDB our that implements CouchDB API.
Akita is a state management library.
It basically tracks the entities that exist and what happened to get them to a specific state.
Using localStorage or other browser storages, you can save the "final" state of your app so, when opening it again, you dont have to fetch all that data you previously had.
With that being said, and complement what @NetanelBasal said, you can use Akita to BUILD your own solution.
The simplest way to do it is to have a modified boolean field on your model.
So, you can have a service that queries Akita for entities marked as modified and push them to the backend.
For sure you can do something more advanced, something like a CQRS + event system - but that will need you to work on the backend.
Why Im telling you all this:
Im using Akita on a project and using it offline, doing the "simplest" approach. The biggest downside is the overhead. You never know what you need to get back from the backend, what was deleted, what the user lost permissions... So, we need to download everything again and again and again...
For the sake of quickly delivering an offline first solution, it works. But then you will want to move to something with less overhead.
Which means building something that forces the app to do validations on timestamps or versioning, as well as the backend, so the app can send and request only the required data (thus the CQRS + event system pattern).
It is not easy, but doable.

I'm not sure what you mean by "an effective sync system to any backend"? Can you elaborate?

Something to synchronize the operations Akita saves in the browser once the connection with the server is restored.

We don't have this functionality. Can you give me an example of how you imagine a JSON representation of this?

Something to synchronize the operations Akita saves in the browser once the connection with the server is restored.

May be you can use a service-worker for this: https://developers.google.com/web/ilt/pwa/introduction-to-service-worker
When your user performs an action, add the result of the action to Akita and send the HTTP request through the service-worker. The service worker, on the other hand, would listen to successful requests and push the results back to Akita.

I am implementing something similar using Service Workers, IndexedDB and Akita ngEntityStore

@mattbodman I know this is not the scope for a/this github issue, but Id love to read about how you guys are implementing it, challenges and victories.


Any input while in dark mode UI breaks when autofilled

Basically, when you autofill an input it will change the background to white for that input while in dark mode.

I added the following code to my style.css and it fixed the issue, but just wanted to share. I am not sure if I used the right variables, but it was tested with default theme and dark theme.
Keep in mind this will only fix single line autocomplete, since I am using 50px. Also, maybe use a different color so the user knows what fields were autofilled.
input:-webkit-autofill {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 50px var(--mud-palette-surface) inset;
    -webkit-text-fill-color: var(--mud-palette-text-primary) !important;
}

//*** Credit to the original author who suggested that using the box shadow would fix the problem.
https://stackoverflow.com/questions/58263122/google-chrome-autofill-background-color-change

Is that something we could/should fix in the main library (MudBlazor)?

Is it maybe related to https://github.com/MudBlazor/ThemeManager/issues/16
It has already been fixed, but we didn't publish a new release yet

Is it maybe related to #16 It has already been fixed, but we didn't publish a new release yet

No, in this case the agent css is overriding the components css. Thus, looking like the image I posed above. I don't know if you are considering in fixing it, but I do think this is an issue whenever someone uses your components, and the user uses autofill, it looses the look and feel of dark mode. I am one of those users, because I honestly like your components a lot. I was able to fix it, and here is how I did it.  Since I don't have access to be able to add a variable for dark mode and light mode, and keep in mind those are the only two themes I am using, I had to extend your MudThemeProvider.
public class CustomMudThemeProvider : MudThemeProvider
{
    protected override void GenerateTheme(StringBuilder theme)
    {
        base.GenerateTheme(theme);

        if (base.IsDarkMode == true)
        {
            //*** Background color for dark mode autofilled fields. It makes it a little bit darker.
            theme.AppendLine($"--mud-palette-autofill: rgba(0, 0, 0, 0.8);");
        }
        else
        {
            //*** Default background color for autofilled fields
            theme.AppendLine($"--mud-palette-autofill: -internal-light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));");
        }
    }
}

Then on the MainLayout.razor I changed it from the MudThemeProvider to CustomMudThemProvider.
<CustomMudThemeProvider @bind-IsDarkMode="_isDarkMode" />

Finally on the css I used that defined color variable for the autofill in the site.css, since it is an issue everywhere. Keep in mind that it only works with autofill fields, which are mostly one line so I used 50px for the box shadow. I couldn't find any other way to use the background-color, it just wouldn't work.
/* Fix autofill agent override */
input:-webkit-autofill {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 50px var(--mud-palette-autofill) inset;
    -webkit-text-fill-color: var(--mud-palette-text-primary) !important;
}

Maybe you can find a more elegant fix, but setting the background-color to something else doesn't work, unsetting the background doesn't work. The box shadow was the only way I could figure out how to override it.
From what I found this only happens in Chrome and Edge.
Thank you!


use iframe instead of web worker for sandboxing

This fixes related issue #2551

@remy Hi. Sorry for bothering, but this will finally enable ClojureScript on JS Bin :)


WIP: Add IPv6 listener config option

Changes
Adds config option to enable listening on IPv6 (default false)

:bug: Enable listening on IPv6

/kind bug

Fixes #1299

Release Note

Add ability to change address family used for kourier listeners (default IPv4 value unchanged)

Docs

pending

Hi @covert8 thank you for the contribution!
Should we make this configurable as in Contour https://github.com/projectcontour/contour/issues/4385.
For example be able to configure the address and the port instead of using a boolean?

/ok-to-test

@covert8 hi, gentle ping.


Training data for NQ?

Thanks for the great contribution!
I found that the downloaded data of NQ only contains test files and corpus, where can I get the training files?
Thank you!

Hi @ReyonRen,
Actually, the evaluation corpus is a subset of the training set. Because in NQ (original dataset) often you can have duplicated pages present, i.e. identical Wikipedia pages from let's say 2014, 2015, etc.
While creating the BEIR NQ evaluation corpus, we only evaluate a single question for a Wikipedia passage, because if we add other passages with the same title but from a different year let's say 2014 or 2015, you introduce duplicates within your dataset.
However, during training, you do not care about duplicates and train with all passage and question combinations!
Kind Regards,
Nandan Thakur

Thank you for the kind reply!

Hi @NThakur20, is it possible to make the preprocessing code from jsonl to TSV available for the NQ dataset? Or if the .tsv is available for download, that'd be helpful too.

The tsv format is here: https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/nq-train.zip
Discussed here: https://github.com/beir-cellar/beir/issues/108


Kafka raw encoder

Add RawRowEncoder and RawRowEncoderFactory
Add test case in io.prestosql.plugin.kafka.TestKafkaIntegrationSmokeTest#testRoundTripAllFormats
blocked by https://github.com/prestosql/presto/pull/4287
@losipiuk @aalbu

have to open a new pr to merge into presto/master


Select target namespace in Cluster Compare

When comparing a set of local resources to a cluster I need to be able to specify which namespace to compare to - since I am deploying these resources to a different namespace than the default one (at deploy time - not in the manifests themselves)
For example - argocd is traditionally installed in an argocd namespace. If I do a cluster-compare on one of the argocd kustomization previews they will compare to the default namespace (since no namespace is set in the manifests) - which doesn't contain my argocd installation - hence not really allowing me to compare my resources to my installed version:

perhaps we can add a "Target Namespace" drop-down on top of the local resources containing a list of the namespaces in the cluster!? Selecting one would use that for all local resources.. @devcatalin @tommywhitehead ?

Should we find a solution that solves this as well - https://github.com/kubeshop/monokle/issues/616 ?

Decided to

move existing namespace filter under the Local Resources
add a "namespace" selector under the Cluster Resources (which would set the target namespace!)

@devcatalin is this covered by the latest compare improvements?


no documentation for server and client

As is readable, the CL4 default client has not been finished so there is no documentation.
CL4 python server is very simple, just look at this file and you'll see if you know python enough.

I wrote some server and client documentation into the CL4 docs, hope that's okay. It's basic but it should get people started with a simple server they could use for their games.
https://hackmd.io/g6BogABhT6ux1GA2oqaOXA?view#Python-Client
https://hackmd.io/g6BogABhT6ux1GA2oqaOXA?view#Server
Originally posted by @hdboye in https://github.com/MikeDev101/cloudlink/issues/81#issuecomment-1312774257

@hdboye Mentioning this in this issue instead, but I'm currently working on a heavily optimized documentation page.
https://hackmd.io/@MikeDEV/HJiNYwOfo

Edit: i wrote some basic documentation for the server.

kudos to you, this looks alot better and fleshed out than mine! i'll be using that then from now on since it's alot more developed

when i made this issue i was actively deving #78

I might do this and maybe I could make a website for the docs using replit or github idk

Python client/server 0.2.0 has been released. Future documentation will be moved to https://github.com/MikeDev101/cloudlink/wiki . Will keep this open while I finish documenting Python client/server 0.2.0.


Add highlighting for selected thread state slices

Selected thread state slices are now highlighted with a white outline around them.
Bug: http://b/236945046
Screenshot: http://screenshot/7CMYJLydwTzopRE.png

Selected thread state slices are now highlighted with a white outline around them.
Bug: http://b/236945046
Screenshot: http://screenshot/7CMYJLydwTzopRE.png


Add menu item to go to a specified line

Relies on google/xi-editor#192

Looks good. I think we can move this to Edit (or have a separate Goto menu like Sublime, since there are a lot of things to go to) fairly soon, as soon as we figure out whether the modal dialog or mini-pane or whatever. But it plays pretty nice as is. Thanks!


Service Principal authentication with MySQL

This page shows how to use AAD authentication for regular users. Is the same supported for Service Principals?

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

ID: 0b2910bd-55dc-3618-b128-2ac858829ec0
Version Independent ID: a9cab8cc-fb10-f3f3-6dbc-ce657609258d
Content: Use Azure Active Directory - Azure Database for MySQL
Content Source: articles/mysql/howto-configure-sign-in-azure-ad-authentication.md
Service: mysql
GitHub Login: @lfittl-msft
Microsoft Alias: lufittl

@kosinsky we'll review your feedback and get back to you shortly. Thanks.

@kosinsky To understand correctly, are you looking to use an Azure AD application for authentication?
(we already have Managed Identity documented here, which is our recommended approach: https://docs.microsoft.com/en-us/azure/mysql/howto-connect-with-managed-identity)

@lfittl-msft
Managed Identity will not work for my case because client is outside of Azure. Using Service Principals created via (az ad sp create-for-rbac ...) instead of passwords allows to revoke permissions etc.
However, Managed Identities gave me an idea to combine approach for MSI and regular users to make service principals work.
Here is the steps:

As AAD Admin, create MySQL user for SPN in the same way as for MSI

SET aad_auth_validate_oids_in_tenant = OFF;
CREATE AADUSER 'myuser' IDENTIFIED BY 'CLIENT_ID';

To login

# az login as SPN first
az login --service-principal -u CLIENT_ID -p CLIENT_SECRET --tenant TENANT_ID
# Use token to access MySQL
mysql -h SERVER --user USER@SERVER \
--enable-cleartext-plugin \
--password=`az account get-access-token --resource-type oss-rdbms --output tsv --query accessToken`

@kosinsky Nice - that makes sense, and happy you were able to find a solution.
I'm wondering how we could highlight this best in the docs. Maybe we can include a snippet like the one you shared here, after the "Creating Azure AD groups in Azure Database for MySQL" section on the How-To Guide.
Do you think that would have helped?

I think it will be great to have separate page for "Connect with Service Principals (applications)" that will include how to create  user mapped to SPN, how to authenticate using az account get-access-token and code sample how to do that with C# and other languages or at least lower level C# only level version with direct HTTP calls to allow simple translation.

Thank @kosinsky for the information shared.
@lfittl-msft This is being assigned to the you, could you please evaluate and update as appropriate? Thanks

@lfittl-msft can you please provide an update.

@kosinsky Thanks for those details - we've added this to our documentation backlog and will address this as discussed.
@AnuragSharma-MSFT I think we can close this issue for now, as the question was addressed, and we'll improve the docs separately based on the further discussion.

@lfittl-msft Thanks a lot for all the efforts you spent here.
@kosinsky We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@NavtejSaini-MSFT This is still not properly documented. An extension of this question would be if it is possible to make a service principal AAD MySQL Administrator, and supply the proper steps for that as well.

@NavtejSaini-MSFT  This is still not properly documented.


Feature/user alert rules

Implemented AlertRulesClient .
Design:
Added AlertRulesModule and created clients:
AlertRulesClient : Creates session of fed-observer host
AlertRulesManagerClient: Creates session of alert-service host
Since  the need was to have different session instance, did not create different properties for each rule type, such as exfiltration, cloudshare, typemismatch , I kept this as is based on our earlier design discussion, as only one method needs to pass rule_type
Need to fix failing tests, right now they are marked as skipped.

Could you add a changelog entry?

@unparalleled-js @kiran-chaudhary what do you think about accessing these methods as sdk.alerts.rules instead of sdk.alertrules? This would essentially involve:

Renaming AlertRulesModule to AlertModule
passing AlertClient into AlertModule
exposing all of AlertClient's methods on AlertModule
expose AlertRulesClient as a rules property.

@unparalleled-js @kiran-chaudhary what do you think about accessing these methods as sdk.alerts.rules instead of sdk.alertrules? This would essentially involve:

Renaming AlertRulesModule to AlertModule
passing AlertClient into AlertModule
exposing all of AlertClient's methods on AlertModule
expose AlertRulesClient as a rules property.

Based on swagger doc there are 3 types of rules so at some point if we need creation of these rules, we might need something like
sdk.alerts.rules.exfiltration,
sdk.alerts.rules.cloudshare
Then alike User-Criteria ,  current work, there are multiple criteria's we might need to support
so that would make it,
sdk.alerts.rules.users
sdk.alerts.rules.[criteria2]. e.g fileActivity and so on.
Or may be we want to make it...
sdk.alerts.rules.exfiltration.[criteria1]
sdk.alerts.rules.exfiltration.[criteria2] and so on

Could you add a changelog entry?

Added.

@kiran-chaudhary see my comment above for some clarification on to implement add/remove user. I apoligize for not clarifying this earlier -- I am unfamiliar with this api and this was also news to me.  https://github.com/code42/py42/pull/97#discussion_r416193133

Based on swagger doc there are 3 types of rules so at some point if we need creation of these rules, or adding/updating/removing other criteria we might need something like
sdk.alerts.rules.exfiltration,
sdk.alerts.rules.cloudshare
Then alike User-Criteria , current work, there are multiple criteria's we might need to support
so that would make it,
sdk.alerts.rules.users
sdk.alerts.rules.[criteria2]. e.g fileActivity and so on.
Or may be we want to make it...
sdk.alerts.rules.exfiltration.[criteria1]
sdk.alerts.rules.exfiltration.[criteria2] and so on

Based on what I learned above, we will want the api to be something like
sdk.alerts.rules.add_users(rule_id, list_users)
sdk.alerts.rules.remove_users(rule_id, list_users)
sdk.alerts.rules.get(rule_id)
sdk.alerts.rules.get_all <--- as is
get, remove_users, and add_users would implemented as follows:

call get_all
find matching rule_id in collection returned by get_all
inspect the type property of that rule. it will be one of the following:

FED_ENDPOINT_EXFILTRATION
FED_CLOUDSHARE_PERMISSIONS
FED_FILE_TYPE_MISMATCH

based on the type, call the appropriate query and update commands.

Let me know if you have any questions. Thanks!

@kiran-chaudhary see my comment above for some clarification on to implement add/remove user. I apoligize for not clarifying this earlier -- I am unfamiliar with this api and this was also news to me. #97 (comment)

Based on swagger doc there are 3 types of rules so at some point if we need creation of these rules, or adding/updating/removing other criteria we might need something like
sdk.alerts.rules.exfiltration,
sdk.alerts.rules.cloudshare
Then alike User-Criteria , current work, there are multiple criteria's we might need to support
so that would make it,
sdk.alerts.rules.users
sdk.alerts.rules.[criteria2]. e.g fileActivity and so on.
Or may be we want to make it...
sdk.alerts.rules.exfiltration.[criteria1]
sdk.alerts.rules.exfiltration.[criteria2] and so on

Based on what I learned above, we will want the api to be something like
sdk.alerts.rules.add_users(rule_id, list_users)
sdk.alerts.rules.remove_users(rule_id, list_users)
sdk.alerts.rules.get(rule_id)
sdk.alerts.rules.get_all <--- as is
get, remove_users, and add_users would be implemented as follows:

call get_all

find matching rule_id in collection returned by get_all

inspect the type property of that rule. it will be one of the following:

FED_ENDPOINT_EXFILTRATION
FED_CLOUDSHARE_PERMISSIONS
FED_FILE_TYPE_MISMATCH

based on the type, call the appropriate query and update commands.

Based on everything we've learned, I don't feel the "dynamic" approach will be very safe -- it assumes too much about what future urls, etc will be named. if we add a new type of rule, we will have to update our library to accommodate it.
Let me know if you have any questions. Thanks!

@alanag13
Even I had the same impression while analysing the API first time, that we need whole response to make an update request, I raised it here on slack and in the thread @mikemccollowc42  pointed us to the correct endpoints. Those endpoints are not specific to System rules only, they do work for normal rules as well.
I can explain the same with current py42 implementation.
>>> rules_client = sdk.alertrules
Now  I intend to update this rule
{'type$': 'RULE_METADATA', 'modifiedBy'<EMAIL_ADDRESS>'modifiedAt': '2020-04-24T16:49:42.9767920Z', 'name': 'Explore cloud user rule alerts', 'description': '', 'severity': 'LOW', 'isSystem': False, 'isEnabled': True, 'ruleSource': 'Alerting', 'tenantId': '1d71796f-af5b-4231-9d8e-df6434da4663', 'observerRuleId': 'e57ae2e7-b1f8-4332-92e7-1ff4d47bd951', 'type': 'FED_CLOUD_SHARE_PERMISSIONS', 'id': '6930a1fe-73fc-4f89-8c45-96cba5547b71', 'createdBy'<EMAIL_ADDRESS>'createdAt': '2020-04-20T06:51:10.9420250Z'}
>>> rules_client.add_user('e57ae2e7-b1f8-4332-92e7-1ff4d47bd951', "RANDOM-KEY"<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><Py42Response [status=200, data='']>
Check whether rule is updated.
`>>> updated_rule = rules_client.get('cloudshare', 'e57ae2e7-b1f8-4332-92e7-1ff4d47bd951')

updated_rule.text
'{"type$": "CLOUD_SHARE_PERMISSIONS_RULE_DETAILS_RESPONSE", "rules": [{"type$": "CLOUD_SHARE_PERMISSIONS_RULE_DETAILS", "tenantId": "1d71796f-af5b-4231-9d8e-df6434da4663", "name": "Explore cloud user rule alerts", "description": "", "severity": "LOW", "isEnabled": true, "fileBelongsTo": {"type$": "FILE_BELONGS_TO", "usersToAlertOn": "SPECIFIED_USERS", "userList"<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>"notificationConfig": {"type$": "NOTIFICATION_CONFIG", "enabled": false}, "fileCategoryWatch": {"type$": "FILE_CATEGORY_WATCH", "watchAllFiles": true}, "ruleSource": "Alerting", "watchGoogleDrive": {"type$": "WATCH_GOOGLE_DRIVE", "publicOnTheWeb": true, "publicViaLink": true, "outsideTrustedDomains": true}, "watchMicrosoftOneDrive": {"type$": "WATCH_MICROSOFT_ONE_DRIVE", "publicViaLink": false, "outsideTrustedDomains": false}, "watchBox": {"type$": "WATCH_BOX", "publicViaLink": false, "outsideTrustedDomains": false}, "id": "e57ae2e7-b1f8-4332-92e7-1ff4d47bd951", "createdAt": "2020-04-20T06:51:12.0585280Z", "createdBy"<EMAIL_ADDRESS>"modifiedAt": "2020-04-28T06:43:05.9087800Z", "modifiedBy"<EMAIL_ADDRESS>"isSystem": false}]}'`

So we might not need the approach of get_all, the current implemented endpoints should suffice.  However as you advised we need the design changes.

@unparalleled-js @kiran-chaudhary what do you think about accessing these methods as sdk.alerts.rules instead of sdk.alertrules? This would essentially involve:

Renaming AlertRulesModule to AlertModule
passing AlertClient into AlertModule
exposing all of AlertClient's methods on AlertModule
expose AlertRulesClient as a rules property.

In design context this is better, but in our current implementation there are two clients (based on hosts ), so are you ok with current naming convention used.
Apart from above point, whether this would suffice in future ? i.e as we see that there are two ways to update a rule:

one where we pass the whole response with the updated criteria.

second where we have new endpoints for add_users, remove_users, etc...

Now if similar changes would be done for other criteria in API and if we need to support adding/updating those criteria to the rule, will this design hold ?
I am sorry if I am not able to convey the point and adding confusion, may be we can have a call if that is convenient.

@kiran-chaudhary okay, so after our call and after asking the team for additional clarifications, let's start from beginning and define the design:
sdk.alerts.rules.add_user(rule_id, user_id)
sdk.alerts.rules.remove_user(rule_id, user_id)
sdk.alerts.rules.remove_all_users(rule_id)
sdk.alerts.rules.get_all <--- as is

youll notice that I have useras singular -- this is because there will not be a good way of tracking failures to a single item in a large list. Ifadd_userorremove_user` fails, we need to know which user caused the failure.
secondly, aliases have been removed, this is because as we discussed, these are intended to be the cloud aliases for DetectionListUserClient -- so the implementation will need to look up the user's aliases and send them all.
sdk.alerts.rules.exfiltration.get(rule_id)
sdk.alerts.rules.cloudshare.get(rule_id)
sdk.alerts.rules.filetypemismatch.get(rule_id)

I changed my mind about these because i don't want a generic get method that returns different JSON schemas. The user will need to figure out which one to call based on the type field that you get back from get_all, which you are going to have to call in order to get the rule_id, anyway. I also like that the get and any future related update functions for each will be in the same place.

@kiran-chaudhary i got this updated to use the structure that I was trying to articulate. Could you finish this up by adding tests for AlertRulesModule and AlertsModule classes that I created, and also change docs to use those classes instead of AlertClient?


Commands Loading

The ability to add logs of which commands are loaded would be nice.

Added in 0e7482d6342c8e74d57063ef37a1aef2c96b4f23


RNN lstm trainer not working

I was not able to make the LSTM layer work. I have the following code
...
model =
  Axon.input({nil, sequence_length, 1})
  |> Axon.lstm(256)
  |> elem(1)
  |> Axon.dropout(rate: 0.2)
  |> Axon.dense(vocab_count, activation: :softmax)

params =
  model
  |> Axon.Loop.trainer(:categorical_cross_entropy, :adam)
  |> Axon.Loop.run(Stream.zip(training_batches, result_batches), epochs: 1)

and I get the error:
no match of right hand side value: %{prediction: {#Nx.Tensor<
     f32[1][1][256]

     Nx.Defn.Expr
     parameter a:1   f32[1][1][256]
   >, #Nx.Tensor<
     f32[1][1][256]

     Nx.Defn.Expr
     parameter a:2   f32[1][1][256]
   >}, state: %{}}

    (axon 0.1.0-dev) lib/axon/recurrent.ex:69: Axon.Recurrent."__defn:lstm_cell__"/7
    (axon 0.1.0-dev) lib/axon/recurrent.ex:176: anonymous fn/3 in Axon.Recurrent."__defn:dynamic_unroll__"/6
    (nx 0.2.0) lib/nx/defn/expr.ex:279: Nx.Defn.Expr.defn_while/5
    (axon 0.1.0-dev) lib/axon/recurrent.ex:172: Axon.Recurrent."__defn:dynamic_unroll__"/6
    (axon 0.1.0-dev) lib/axon/compiler.ex:834: Axon.Compiler.recur_predict_fun/5
    (axon 0.1.0-dev) lib/axon/compiler.ex:182: Axon.Compiler.to_predict_fun/5
    (elixir 1.13.4) lib/enum.ex:1715: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (axon 0.1.0-dev) lib/axon/compiler.ex:225: Axon.Compiler.recur_predict_fun/5

Which was easy to fix by changing line 69 in recurrent.ex to %{prediction: {cell, hidden}} = carry but the I get this error from the while do block in recurrent.ex:
** (Axon.CompilerError) error while building prediction for lstm:

** (CompileError) /home/alisina/Projects/axon/lib/axon/recurrent.ex:172:
the do-block in while must return the shape, type, and names as the initial arguments. Got body {s64, {f32[1][1][256], f32[1][1][256]}, f32[1][100][256], f32[1][100][1], {f32[1][256], f32[1][256], f32[1][256], f32[1][256]}, {f32[256][256], f32[256][256], f32[256][256], f32[256][256]}, {f32[256], f32[256], f32[256], f32[256]}} and initial {s64, %{:prediction => {f32[1][1][256], f32[1][1][256]}, :state => %{}}, f32[1][100][256], f32[1][100][1], {f32[1][256], f32[1][256], f32[1][256], f32[1][256]}, {f32[256][256], f32[256][256], f32[256][256], f32[256][256]}, {f32[256], f32[256], f32[256], f32[256]}}

I'm not quite sure if this is a bug or I'm doing something wrong.
Update
I was able to fix the issue with changing the following line but I don't think it is the right approach.
# lib/axon/compiler.ex:814
     input = safe_as_type(res, compute)
-    carry = deep_new(hidden_state, &safe_as_type(&1, compute))
+    carry =
+      case deep_new(hidden_state, &safe_as_type(&1, compute)) do
+        %{prediction: carry} -> carry
+        carry -> carry
+      end

@alisinabh Can you retry your code without the applied fixes on main? I recently pushed some compiler updates that might have broken this more or fixed it :D
Thank you for all your work making Axon better!

@seanmor5 Yes it is working now without any errors both on the train stage and prediction. I will close this.
My pleasure. I will be happy to learn and help. :green_heart:


Cleanup and fix for #1

Removes build artifacts and cleans up tree commit: d6529197a66dcccfeba9513f2ce76866422f9697

Add better .gitignore based on this.
Also fixes line endings.

To view the broken commit check:
git cat-file -p d6529197a66dcccfeba9513f2ce76866422f9697

First line of this object:
40000 tree 419289233a3dce6546535b90ac5d3e2ecea8fdb8    "..\\..\\Source\\eBay.Service.SDK\\Core\\Soap"
100644 blob 528339035ac6eab1c6b0fd72284e820d6b2eef66    CodeGen.exe
100644 blob cdaf75a3f9ce3f79075f12b480129e3021e8e42b    CodeGen.exe.config
100644 blob 19cee1a707cf584157f7fe4f80101cd0b3b1683d    CodeGen.pdb
100644 blob aa45e293482fae820d46762c3530b9e9442091f0    Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime.dll
100644 blob e7d257ebb39a04b9421714af896b50eeacf1b07e    Microsoft.VisualStudio.Interop.dll
100644 blob 588e078285255d602720da264bd752084e6c7b64    Microsoft.VisualStudio.Interop.xml
100644 blob 29a3c4ff579a62420b7351024eca625bbab70587    eBayCodeGenerator.dll
100644 blob 9a79baf6cf74724194f0a6fc87a01e125c867ab5    eBayCodeGenerator.pdb

@LunicLynx Overall the PR looks good, but I noticed around 150 files were deleted.

Yes, those files are build artifacts. They are recreated when you run a build.
See the updated .gitignore, which is now based on the default for .net projects.
What is the endgoal of this repository if I might ask?
Source preservation or is further development planed?

@LunicLynx Regarding the repository's goal, it's both for source preservation and future development.
Your contributions are appreciated!


Check 23 and Check 26 are failing when using centralised bucket

We have a centralised bucket for our CloudTrail logs that is only accessible from CloudTrail for putObject within our organisation, therefore we get access denied on check 23 and 26 before this used to give us an Info message, now it's just giving us a fail.
if the check is getting access denied the bucket is not publicly accessible.
I think I have found the PR that is causing the issue here

Hi @capps1994, I get what you mean, @zfLQ2qx2 made that change and I knew it could be a bit controversial. What is better in that case? To get info message saying that can't tell you the truth because Prowler can't get the configuration bit or give you a fail and you have to look at it and, if needed, you can add that resource to a whitelist? I think I prefer the whitelist option, I mean, to get to know the case then to whitelist that FAIL. What do you guys think?

Thanks for getting back quickly, I think the whitelist option may work for us. We'll try it and let you know

We went with the whitelist approach, that that is working as expected now.

awesome, thanks for let me know.


Reports and Charts Filter Arrangement

Make the filters in the charts and reports spaced evenly in two rows 3 x 3. The client may also want them rearranged in Sprint 6.

Test document: https://drive.google.com/open?id=1OkHunXnIMkDfWWAVwjgncpS_m5Oc381aZv10p72VW9M


No messeges with multiple instances

Still unable to send and receive messages when there are multiple instances. Especially with offline and restarting servers .
Minimal reproduction code:
server side:
var WebSocketServer = require('uws').Server;
var wss = new WebSocketServer({ port: 3000 });

wss.on('connection', function (ws) {
	ws.on('message', function (message) {
		console.log('received: ' + message);
		ws.send('echoed: ' + message)
	});
});

client side:
var url = 'ws://your.server.address:3000';
var connections = [
	url,
	url + 's', // simulate server offline
	url
];

document.addEventListener('deviceready', initConnections);
function initConnections()
{
	connections.forEach(function(url, i){
		var name = 's' + i;
		initConnection(name, url);
	});
}

function initConnection(name, url)
{
	var ws = new WebSocket(url);

	ws.onopen = function () {
		console.log('Server ' + name + ': open');
		this.send('hello');         // transmit "hello" after connecting
	};

	ws.onmessage = function (event) {
		console.log('Server ' + name + ': ' + event.data);    // will be "hello"
		alert('Server ' + name + ': ' + event.data)
		this.close();
	};

	ws.onerror = function () {
		console.log('Server ' + name + ': error occurred!');
	};

	ws.onclose = function (event) {
		console.log('Server ' + name + ': close code=' + event.code);
	};
}

I could not reproduce the issue.
Server s0: open
Server s0: hello
Server s1: error occurred!
Server s2: open
Server s2: hello

The s2 was succeeded even though the s1 was failed.
The plugin is not used by default if your app is running on Android 4.4 and later. If so, the issue might be unrelated to the plugin. What is version of Android you are testing?

Thank you for looking into this.
With Android 4.4 and later there is no problem as the plugin uses the BuiltinWebSocket. I can connect to multiple servers, reconnect on server restarts and handle server failures.
With Android 4.0.x, 4.1.x, 4.2.x I can only send/receive messages to/from only one uws server. If I try to connect to a second server then the client cannot send and receive messages anymore. If the one connected server restarts the plugin cannot send and receive messages as the new connection triggers the problem.
Note: With ws://echo.websocket.org works but not with the minimal server side code above, which uses uws and it is the needed one.

Removed the comments?

Yes, removed the sample code as it was not needed any more.
Thanks again.


Is there a way to disable Resource Linkage?

It seems resource linkage is enabled by default, but this may explode the size of the json response if the has-many relationship is big.
Thanks!

@cecemel sort of. You can just omit it in the output:
function output (context, record) {
  delete record.hasManyRelationshipField
}

That would be a server-side approach to prevent anyone from reading that data.
Or you could just use fields on the client to selectively request what fields you want in the response.

thx


custom config support init

@gaborh-da  I added support for the custom config file. This makes Finlib dar file load possible. Please, have a quick look at these forum discussions to grab the idea of a problem
https://discuss.daml.com/t/sandbox-upload-dar-error-disallowed-language-version-in-package/5618
https://discuss.daml.com/t/uploaded-a-dar-compiled-with-a-1-dev-target/4486/3
To be bulletproof I might add new tests that cover this feature in action... + it looks like the new feature works only if your daml is >=2.4.0


no connection to rtorrent

Fresh Debian 7
tried to add seems to be missing?
      location /RPC2 {
           include scgi_params;
           scgi_pass localhost:5000;
       }

in nginx, no luck :(
01.03.2015 21:58:09] WebUI started.
[01.03.2015 21:58:09] No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
[01.03.2015 21:58:10] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not connect: (111) Connection refused

Don't need the /rpc2 location as rutorrent addon httprpc manages that. Try rerunning the script using -l option to create a log file.

http://pastebin.com/Hq761gPW

the install with -l seems to work atm :/
tried 2 installs before that with same error

All the -l does is create a detailed log, of the script.
If you run into this problem again make sure rtorrent is running. You can start it with the command 'rt start'
As this appears to be resolved I will close this, but if you run into any other problems, please do start a new issue.


ProjectKey should be used while connecting with Jira, Domain was used…

… so changed that

Merged it, please update related ticket


Fix InspectStringMultipleRulesTests to use large enough string to det…

…ect properly

Please go ahead and merge this if it looks good.


Creating multiple ServicePrincipalRole for the same instance profile leads to non-deterministic results

Describe what happened
When creating several ServicePrincipalRole instances, randomly some of the principals don't get assigned to the instance_profile users. This seems to happen because the request to assign them can probably not be executed in parallel and even takes some time to take effect (?) so even setting depends_on does not help in this scenario.
Even worse, pulumi thinks that the state was correctly updated and does not even fail. As such, the state in pulumi does not reflect the actual state in databricks.
Sample program
import pulumi
import pulumi_databricks as databricks

service_principal_1 = databricks.get_service_principal(application_id='service-principal-1')
service_principal_2 = databricks.get_service_principal(application_id='service-principal-2')
service_principal_3 = databricks.get_service_principal(application_id='service-principal-3')

role_1 = databricks.ServicePrincipalRole(
    f"role_1",
    service_principal_id=service_principal_1.id,
    role=instance_profile.id,
)
role_2 = databricks.ServicePrincipalRole(
    f"role_2",
    service_principal_id=service_principal_2.id,
    role=instance_profile.id,
    # still does not help, if I have a loop with a few roles it drops about a third or half of them (randomly)
    opts=pulumi.ResourceOptions(depends_on=[role_1]),
)
role_3 = databricks.ServicePrincipalRole(
    f"role_3",
    service_principal_id=service_principal_3.id,
    role=instance_profile.id,
    # still does not help, if I have a loop with a few roles it drops about a third or half of them (randomly)
    opts=pulumi.ResourceOptions(depends_on=[role_1, role_2]),
)

Log output
Resources:
+ 5 created
Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.129.0
Go Version   go1.22.6
Go Compiler  gc
Plugins
KIND      NAME        VERSION
resource  databricks  1.48.0
language  python      unknown
resource  random      4.16.0
Host
OS       darwin
Version  14.5
Arch     arm64
This project is written in python: executable='/Users/userabc/.pyenv/shims/python3' version='3.11.5'
Current Stack: organization/databricks-workspace/dev
NAME               VERSION
pip                24.2
pulumi_databricks  1.48.0
pulumi_random      4.16.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

seems to be related to issues in databricks so I am closing this bug. Thanks for your help


Build an ImageRectangle graphics primitive.

Currently the Renderer has a function to draw rectangles that are textured. While this works it's really not the job of the Renderer to perform this function. Additionally, the current implementation requires references to individual image parts (basically 9 separate images) and is extremely inefficient.
That is where the ImageRectangle comes in. This class will replace the image rect function from the Renderer class.
Related Tasks
Task #36
Task #38

This makes sense. The task is accomplished by delegating to other simpler Renderer methods. It can be effectively implemented outside the Renderer class. In particular, none of the overloads are virtual, and there would be no reason to expect a Renderer specific implementation would provide higher efficiency.


Set security plugin 3.0.0 baseline JDK version to JDK-21

Description
Set security plugin 3.0.0 baseline JDK version to JDK-21

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Why these changes are required?
What is the old behavior before changes and new behavior after changes?

Issues Resolved
Closes https://github.com/opensearch-project/security/issues/4407
Testing
N/A
Check List

[X] New functionality includes testing
[X] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

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

Seems like the GA cannot be changed at the same time as JDK baseline, opening https://github.com/opensearch-project/security/pull/4461

Needs https://github.com/derek-ho/start-opensearch/pull/6

@peternied @cwperks @scrawfor99 folks could you please help to review? there are changes in Github branch checks that needs this pull request in. Thank you.

@reta I'm not able to re-run the CI checks that are stuck. You may need to push a change to get the CI checks to re-run.

@reta I'm not able to re-run the CI checks that are stuck. You may need to push a change to get the CI checks to re-run.

Yes, taking to @gaiksaya , thanks @cwperks !

@reta I'm not able to re-run the CI checks that are stuck. You may need to push a change to get the CI checks to re-run.

They were created by me in PR which I closed. I'm wondering why they appeared in all PR :-)

They were created by me in PR which I closed. I'm wondering why they appeared in all PRs :-)

These checks are configured in repo settings, asked to remove them for now

@reta I'm not able to re-run the CI checks that are stuck. You may need to push a change to get the CI checks to re-run.

They were created by me in PR which I closed. I'm wondering why they appeared in all PRs :-)
I got it why.

They were created by me in PR which I closed. I'm wondering why they appeared in all PRs :-)

These checks are configured in repo settings, asked to remove them for now

We do not need them. It was an experiment.


Added possibility to open urls on win32 platforms with MS Edge

On Win10 the Edge browser can be launched via:
(cmd /c) start microsoft-edge:
Or to launch a url directly:
(cmd /c) start microsoft-edge:http://www.some.url

Thanks, but I'm not interested in adding custom workarounds for apps. That's a gigantic slippery slope. If Edge doesn't work with the start command you should report it to the Edge developers.


SQLite Query: Translate more methods

Comparing the method translation support in our SQL Server provider with what we have in our SQLite provider and the functions that SQLite can support it seems to me that there a few translations that should be inexpensive to add to SQLite because it should be a matter of copying the SQL Server implementation and tests, in some cases generating a different function name.
Note that I am not trying to make any value judgement on the things that are missing in SQL Server or on relational. That is a separate conversation and as everybody knows "LINQ is never done" :trollface:

Easy wins:

Math.Max ➡ max
Math.Min ➡ min
Math.Round ➡ round
string.IndexOf ➡ instr
string.Replace ➡ replace
string.Substring ➡ substr

I started doing this in bricelam:sqlite, but probably won't have any time soon to finish it.

@bricelam - Want me to finish this?

Yes please, if you have some spare time.

Hi @smitpatel,
If you are not in a hurry, I plan to work on it. Just let me know so we don't do the same thing.

@fujiy - I am not in rush. Feel free to submit a PR for this.

Here are some DateTime ones:

CLR
SQLite

DateTime.AddDays(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X days')

DateTime.AddHours(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X hours')

DateTime.AddMinutes(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X minutes')

DateTime.AddMonths(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X months')

DateTime.AddSeconds(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X seconds')

DateTime.AddYears(X)
strftime('%Y-%m-%d %H:%M:%f', $original, 'X years')

DateTime.Date
strftime('%Y-%m-%d %H:%M:%f', $original, 'start of day')

DateTime.Day
strftime('%d', $original)

DateTime.DayOfWeek
strftime('%w', $original)

DateTime.DayofYear
strftime('%j', $original)

DateTime.Hour
strftime('%H', $original)

DateTime.Minute
strftime('%M', $original)

DateTime.Month
strftime('%m', $original)

DateTime.Now
strftime('%Y-%m-%d %H:%M:%f', 'now', 'localtime')

DateTime.Second
strftime('%S', $original)

DateTime.TimeOfDay
strftime('%H:%M:%f', $original)

DateTime.Today
strftime('%Y-%m-%d %H:%M:%f', 'now', 'localtime', 'start of day')

DateTime.UtcNow
strftime('%Y-%m-%d %H:%M:%f', 'now')

DateTime.Year
strftime('%Y', $original)

Note 1: strftime returns TEXT so some operations may need to CAST to INTEGER or REAL.
Note 2: %f only returns three decimal places so these results may be lossy.

Hi @bricelam, I couldn't start working in this issue yet, if you want to assign it to somebody else

Oh no, I'm just adding notes. 😄 Not working on it. Feel free to pick it up in your spare time. You can break it up into multiple PRs too--no need to add all of them at once.

Also discuss about DateTimeOffset functions.
According to @bricelam

See my notes on DateTime functions, but these won't work on DateTimeOffset without losing timezone information.

Personally, I don't think we should translate any DateTimeOffset methods.
I'm also on the fence about whether we should translate DateTime methods that would be lossy.

Some TimeSpan methods could be enabled in 2.1 by setting parameter.SqliteType = SqliteType.Real. See the sample.

@bricelam - "%f" is causing an issue here. SQLite parameters don't append .000 if they are all 0s but %f does causing string mismatch.

Ugg... we definitely don't want the .000 since our goal was to stay compatible with datetime() when there are no fractional seconds. Can we conditionally generate %f? If not, we should discuss whether it's acceptable to lose sub-second precision.

lol, we could: rtrim(strftime(...), '.0')

Ugly as hell but works
            AssertSql(
                @"@__myDatetime_0='1998-05-04T00:00:00' (DbType = String)

SELECT ""o"".""OrderID"", ""o"".""CustomerID"", ""o"".""EmployeeID"", ""o"".""OrderDate""
FROM ""Orders"" AS ""o""
WHERE rtrim(rtrim(strftime('%Y-%m-%d %H:%M:%f', ""o"".""OrderDate"", 'start of day'), '0'), '.') = @__myDatetime_0");

cc: @anpete

@bricelam - Since there is no native support for DateTime.Millisecond,
how about fractional and taking last 3 digits and convert to int?

%Y-%m-%d %H:%M:%f ?
Why not:
%Y-%m-%d %H:%M:%S

%Y-%m-%d %H:%M:%S is the same as datetime. If we're ok loosing milliseconds, we should use datetime. The queries will be a lot prettier.

Looks like SQL CE has "an accuracy of one three-hundredth second, or 3.33 milliseconds. Values are rounded to increments of .000, .003, or .007 milliseconds."
So rounding to full seconds might be relatively bad.

When I started to do, I thought about using SQLite date and datetime, but I was confused with %f (fraction), so I decided to use strftime.
As smitpatel, we also realize, we have a limitation with this, it is wiser to eliminate the possibility of milliseconds.
In any case we will not have the same results compared to the SQLITE server

#10528 Implements most of the DateTime members & DateDiff function implementation. I have filed separate issues to track rest of the functions mentioned here.

Separate issues: #10522, #10525, #10526, #10527


Use current theme for the panel

Thanks for the suggestion. However, I'd like to keep the existing styles as the default.
If there are changes we could make to help customize the appearance while preserving the default, I'd definitely consider it.

Update: I'd like to keep the existing styles (or something close to) as an easily selectable option for the built-in dark themes. I would agree it's a little mismatched with the light theme currently.


Integration test for a helm chart upgrade

How to categorize this PR?

/area helm-deployer
/kind test
/priority 3
What this PR does / why we need it:
This pull requests enhances the integration tests of the helm deployer. It adds a test for the upgrade of a helm chart.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test


Add simple Spring Boot example including tests

I created a very simple Spring Boot application including test to help with #758. I followed the structure of the android module concerning examples,

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

This looks really great, thanks! I'll update the wiki to link to this


Update to latest YamlDotNet

There is a critical security vulnerability in v4, moving to latest.

@fearthecowboy I suppose all the generators will need to update as well when they pull in this commit?

When they pull forward, yeah.
Shouldn't be much trouble, since everyone builds their own copy now.

@fearthecowboy are these builds running on VSTS ? i was looking there and nothing seems to be queued

@fearthecowboy All autorest.go tests pass with this change.

Looks like I have to go update the build tasks.


compact lock cf periodically

Reduce lock cf's delete tags

@BusyJay @siddontang @ngaut @disksing PTAL

CI failed.

Please add test to cover the operation.

I think if we can add a threshold later, if the total deleted lock keys > threshold, we can trigger the compaction too.

If in the interval (10m), we only have little delete locks operations, do we need to trigger compaction?

If in the interval (10m), we only have little delete locks operations, do we need to trigger compaction?
Compact range for lock cf is a trivial operation because the amount data of lock cf is mostly below several or dozens of MB, at the same time the compact frequency is limited at one time per 10 minutes.

I think if we can add a threshold later, if the total deleted lock keys > threshold, we can trigger the compaction too.
This is a good idea, but I think compact range periodically also can fulfill this task and is very simple. Maybe we can do this after we add statistics(as guidance for GC) modular for scheduler.

I think we should reduce the config time to test it.

I think we should reduce the config time to test it.
Is it test the time cost by compact task or others?

I reduce the manual compaction interval to 1 minute and trace the compaction task. Here are some logs about manual compaction.
tikv's log:
2016-10-08 10:46:13,445 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 108975 }
2016-10-08 10:47:13,445 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 99231 }
2016-10-08 10:48:13,644 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 62543 }
2016-10-08 10:49:13,645 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 93541 }
2016-10-08 10:50:13,769 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 24995100 }
2016-10-08 10:51:13,771 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 26336319 }
2016-10-08 10:52:13,760 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 15339832 }
2016-10-08 10:53:13,767 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 22528965 }
2016-10-08 10:54:13,768 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 22362935 }
2016-10-08 10:55:13,972 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 27311961 }
2016-10-08 10:56:13,974 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 29464734 }
2016-10-08 10:57:13,965 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 20317008 }
2016-10-08 10:58:13,964 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 19505623 }
2016-10-08 10:59:13,963 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 18111600 }
2016-10-08 11:00:13,967 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 22122679 }
2016-10-08 11:01:13,993 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 47772900 }
2016-10-08 11:02:13,973 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 27795037 }
2016-10-08 11:03:14,159 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 14596270 }
2016-10-08 11:04:14,158 compact.rs:123 - INFO  - compact range for lock cf take duration Duration { secs: 0, nanos: 13143089 }

rocksdb's log
2016/10/08-10:46:13.445716 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:47:13.445777 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:48:13.644795 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:49:13.645349 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:50:13.763073 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:50:13.763149 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:50:13.769802 7fcd329ff700 (Original Log Time 2016/10/08-10:50:13.763206) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:51:13.763868 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:51:13.765551 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:51:13.765797 7fcd315ff700 (Original Log Time 2016/10/08-10:51:13.765722) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:52:13.757778 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:52:13.760208 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:53:13.760851 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:53:13.761725 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:53:13.761866 7fcd33dff700 (Original Log Time 2016/10/08-10:53:13.761827) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:54:13.763864 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:54:13.764984 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:54:13.767917 7fcd335fe700 (Original Log Time 2016/10/08-10:54:13.765120) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:55:13.961336 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:55:13.962199 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:55:13.962365 7fcd309ff700 (Original Log Time 2016/10/08-10:55:13.962333) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:56:13.972491 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:56:13.974753 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:57:13.955727 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:57:13.965394 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:58:13.961700 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:58:13.962104 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-10:58:13.964652 7fcd335fe700 (Original Log Time 2016/10/08-10:58:13.962139) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-10:59:13.959281 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-10:59:13.963569 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:00:13.964794 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-11:00:13.965208 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:00:13.967587 7fcd321fe700 (Original Log Time 2016/10/08-11:00:13.965280) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-11:01:13.986602 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-11:01:13.987696 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:01:13.987846 7fcd329ff700 (Original Log Time 2016/10/08-11:01:13.987816) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-11:02:13.966357 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-11:02:13.973553 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:03:14.155614 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-11:03:14.155851 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:03:14.155922 7fcd309ff700 (Original Log Time 2016/10/08-11:03:14.155905) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)
2016/10/08-11:04:14.156061 7fcd2c9fd700 [lock] Manual compaction waiting for all other scheduled background compactions to finish
2016/10/08-11:04:14.156287 7fcd2c9fd700 [lock] Manual compaction starting
2016/10/08-11:04:14.158619 7fcd33dff700 (Original Log Time 2016/10/08-11:04:14.156337) [lock] Manual compaction from level-0 to level-1 from (begin) .. (end); will stop at (end)

As we can see, the compact lock cf task takes about several milliseconds, and waiting for all other scheduled bg compactions to finish take the most of time, the time actually cost by compaction of lock cf is trivial.

CI failed @BusyJay

Rest LGTM

LGTM

LGTM


Don't Copy, Move Instead.

Hi, can i have info on how to move instead of copying the file to ipfs? thanks.

Hey @S1m1B1lly, I missed this issue. Did you still need a feature like this? How would it work in your eyes?

@TheDiscordian thanks but I don't need it anymore


Bundle grpc server with controller-manager in the operator pod spec

Is your feature request related to a problem? Please describe.
We have the capability to ship the grpc server along with the operator in one yaml instead of trying to drive them separately.  Currently we do not ship the grpc server and it doesn't allow the installation outputs to work without them.
Describe the solution you'd like
Create the yaml that is going to be deployed and allow that to be used with the deployment of the operator.  That deployment should include the grpc service to be used by the porter operator within the context of creating a porter operator.  The binary for this we can create a generic grpc server and inject the service necessary as well as provide the service during deployment into the porter-operator namespace.
Describe alternatives you've considered
What is described above but this effort will have to come in phases as this will require that porter main can install this properly
Additional context
None

If we decide to have the controller create the deployment of the grpc server, we could do that but not when an installation is applied.  This could happen on startup but I want to make sure that this is the direction we want to go in.

The porter config is what drives the grpc server to save state.  The dynamic creation of the grpc server needs to allow the porter config (if it exists) to be the backend storage of the grpc server.  In resolvePorterConfig the backend is described by the mongodb deployment/service which can be used to settle the grpc server in each namespace.


As a participant I want to switch between questions in single choice questions with one click for more comfort.

Duplicate of #211.


TLS configs seem to race

1. What version of Caddy are you running (caddy -version)?
Caddy 0.8.3
2. What are you trying to do?
Serve whoami.filippo.io and cve-2016-2107.filippo.io on the same IP, but with different TLS certificates and settings. I do realize this will only work with browser supporting SNI. I don't care about non-SNI.
3.   What did you expect to see?

cve-2016-2107.filippo.io asks for client certificates and serves a custom cert
whoami.filippo.io does the classic LE dance

6. What did you see instead (give full error messages and/or log)?
whoami.filippo.io is asking for a client certificate. Before upgrading, whoami.filippo.io was not asking for a client cert, but serving the cve-2016-2107.filippo.io certificate. (In the middle actually #828 happened.)

Although this could be done better, Caddy works as intended by asking for a client certificate on both domains.
https://github.com/mholt/caddy/blob/bac29cc20a881b213be3ecd674c54d1c9b8d4a1f/server/server.go#L390-L394

Huh, yeah, it's an underlying limitation. I suggest documenting this better, though.
Opened golang/go#15707

Hey @FiloSottile -- lookie @ https://go-review.googlesource.com/#/c/30790/ ! Caddy may be able to take advantage of this in Go 1.8 then.


Prefix internal recipe names with underscore

This makes it a bit easier to read the list of recipes that a user can directly include.

LGTM


The 'ASK ASSISTANT!' user custom pompt feature isn't functioning when KB_ID is null

Describe the bug
The 'ASK ASSISTANT!' user custom pompt feature isn't functioning through the LMA GUI for me; it shows the error message: 'Default message - you'll see this only if the lambda hook failed'
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
This is caused by the KB_ID not specified to the Cloudformation template during stack deployment time. KB_ID should be a required parameter for the Cloudfomation template.
Screenshots

Additional context
Add any other context about the problem here.

Thanks!  Request is added to our backlog, and we'll investigate making Bedrock KB optional for the next release, allowing users to select simply 'BEDROCK' as the assistant service to get best effort answers from the LLM own world knowledge.

In develop branch now, queued for next release. See - https://github.com/aws-samples/amazon-transcribe-live-meeting-assistant/pull/14
Please test it if you can, and report back.

Bedrock KB is now optional in v0.1.2.  Additionally, if Bedrock KB is selected, the template now enforces that KB ID is provided.


⚠ Bofrost.be has degraded performance

In 5e56bcb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1309 ms

Resolved: Bofrost.be performance has improved in 2cb3d48.


unable to locate the App Tracking Transparency permission request when reviewed on iOS 17.5.

Guideline 2.1 - Information Needed
We're looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 17.5.
Next Steps
Please explain where we can find the App Tracking Transparency permission request in your app. The request should appear before any data is collected that could be used to track the user.
If you've implemented App Tracking Transparency but the permission request is not appearing on devices running the latest operating system, please review the available documentation and confirm App Tracking Transparency has been correctly implemented.
If your app does not track users, update your app privacy information in App Store Connect to not declare tracking. You must have the Account Holder or Admin role to update app privacy information.
Resources

Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking.
See Frequently Asked Questions about the requirements for apps that track users.
Review developer documentation for App Tracking Transparency.

Same issue here.

@deniza  Could you help? As PR https://github.com/deniza/app_tracking_transparency/pull/55 is not accepted, what can be solution?


DBuzz - A censorship-resistant microblogging platform powered by decentralized infrastructure built on the HIVE Blockchain.

@hivephilippines please consider creating PR, it is quite simple, you can use exact text you used here on issues title as content within PR.


interface/editor/editor_screen setting has no effect once window position is remembered

Tested versions
4.4 dev2
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>33) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
There is interface/editor/editor_screen editor setting, which defines where the editor should appear at startup. After #76085, the editor will use the last window position (including screen), making the setting effectively useless. It has effect only when a project is opened for the first time.
Maybe we should just remove this setting now.
Steps to reproduce

Change interface/editor/editor_screen to Screen 1
Restart the editor while it is on screen 2
It starts on screen 2

Minimal reproduction project (MRP)
N/A

We can either remove the setting, or change it to default to "Auto" that would be remembering the last position, and the other options should be treated as overrides.

I like the idea of an "Auto" setting. Perhaps we can merge in the separate interface/editor/remember_window_size_and_position setting into this "Auto" option?
Also some alternatives names for "Auto"

Persist
Remember

I have a really rough PR of what this might look like. https://github.com/godotengine/godot/pull/97333/files
I'm a total C++ beginner though, so it's not entirely functional yet 😅


Update promise-polyfill dependency to 8.1.3

Due to the requirements of some clients requiring updated dependencies, this PR simply updates the promise-polyfill dependency to 8.1.3

Thanks @elkelk!


TS2307: Cannot find module 'component-library' - Build fail on Windows 10

@adamdbradley @mhartington
Related #5
Install rimraf to build react library on Windows 10.
Repo: https://github.com/peterennis/stencil-ds-plugins-demo/tree/ae-test
This commit: https://github.com/peterennis/stencil-ds-plugins-demo/commit/c164430e922f5462a2e6492faef998cb4dc575e3
This result:

I have tried with some other experiments and get the same result.
It seems related to Windows. Upgrading stencil did not help.

Chances are this is due to the mono-repo setup, since the packages are not linked.
git clone <repo>
npm install
npx lerna bootstrap

there's some quirks here and there though, specifically with symlinks and webpack

@mhartington
I will try that and report back. Thanks.

@mhartington
9 high severity vulnerabilities, a deprecated warning, but down to 1 error
src/components.ts:7:54 - error TS2307: Cannot find module 'component-libraryloader'.
7 import { defineCustomElements, applyPolyfills } from 'component-library\loader';
This deprecated warning:
node-resolve: setting options.module is deprecated, please override options.mainFields instead
New repo here: https://github.com/adaept/stencil-ds-plugins-demo
This commit: https://github.com/adaept/stencil-ds-plugins-demo/commit/db169686141c6c3df9649d359f8ec62e29d5c53b
found 9 high severity vulnerabilities in 43755 scanned packages
  run `npm audit fix` to fix 9 of them.

C:\ae\stencil-ds-plugins-demo>npx lerna bootstrap
lerna notice cli v3.18.3
lerna info versioning independent
lerna info Bootstrapping 5 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna success Bootstrapped 5 packages

C:\ae\stencil-ds-plugins-demo>cd C:\ae\stencil-ds-plugins-demo\packages\component-library

C:\ae\stencil-ds-plugins-demo\packages\component-library>npm run build --prod

><EMAIL_ADDRESS>build C:\ae\stencil-ds-plugins-demo\packages\component-library
> stencil build --docs

[02:29.4]  @stencil/core v1.7.5
[02:30.3]  build, demo, prod mode, started ...
[02:30.3]  transpile started ...
[02:33.0]  transpile finished in 2.63 s
[02:33.0]  type checking started ...
[02:33.0]  copy started ...
[02:33.0]  generate styles started ...
[02:33.0]  generate webcomponents module started ...
[02:33.0]  copy finished (0 files) in 27 ms
[02:33.3]  generate styles finished in 250 ms
[02:33.8]  generating angular-library started ...
[02:33.8]  generating react-library started ...
[02:33.8]  updated readme docs: demo-component
[02:33.8]  generate angular-library finished in 51 ms
[02:33.9]  generate react-library finished in 130 ms
[02:36.0]  generate webcomponents module finished in 2.98 s
[02:36.0]  bundling components started ...
[02:42.5]  bundling components finished in 6.47 s
[02:42.6]  type checking finished in 9.61 s
[02:42.8]  build finished in 12.49 s

C:\ae\stencil-ds-plugins-demo\packages\component-library>cd C:\ae\stencil-ds-plugins-demo\packages\component-library-angular

C:\ae\stencil-ds-plugins-demo\packages\component-library-angular>npm run build --prod

><EMAIL_ADDRESS>build C:\ae\stencil-ds-plugins-demo\packages\component-library-angular
> npm run build.ng

><EMAIL_ADDRESS>build.ng C:\ae\stencil-ds-plugins-demo\packages\component-library-angular
> npm run build.es2015 && npm run build.es5

><EMAIL_ADDRESS>build.es2015 C:\ae\stencil-ds-plugins-demo\packages\component-library-angular
> ngc -p tsconfig.json && rollup --config ./scripts/rollup.config.js

node-resolve: setting options.module is deprecated, please override options.mainFields instead

build/es2015/core.js → dist/fesm2015.js...
created dist/fesm2015.js in 146ms

><EMAIL_ADDRESS>build.es5 C:\ae\stencil-ds-plugins-demo\packages\component-library-angular
> ngc -p tsconfig.legacy.json && rollup --config ./scripts/rollup.config.legacy.js

node-resolve: setting options.module is deprecated, please override options.mainFields instead

build/es5/core.js → dist/fesm5.js...
created dist/fesm5.js in 128ms

C:\ae\stencil-ds-plugins-demo\packages\component-library-angular>cd C:\ae\stencil-ds-plugins-demo\packages\component-library-react

C:\ae\stencil-ds-plugins-demo\packages\component-library-react>npm run build --prod

><EMAIL_ADDRESS>build C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> npm run clean && npm run compile

><EMAIL_ADDRESS>clean C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> rimraf dist

><EMAIL_ADDRESS>compile C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> npm run tsc

><EMAIL_ADDRESS>tsc C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> tsc -p .

src/components.ts:7:54 - error TS2307: Cannot find module 'component-libraryloader'.

7 import { defineCustomElements, applyPolyfills } from 'component-library\loader';
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>tsc: `tsc -p .`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\peter\AppData\Roaming\npm-cache\_logs\2019-12-19T04_04_22_801Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>compile: `npm run tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\peter\AppData\Roaming\npm-cache\_logs\2019-12-19T04_04_22_879Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `npm run clean && npm run compile`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\peter\AppData\Roaming\npm-cache\_logs\2019-12-19T04_04_22_936Z-debug.log

C:\ae\stencil-ds-plugins-demo\packages\component-library-react>