filtering dependencies on keypress

adopt https://code.visualstudio.com/updates/v1_31#_workbench. for java dependency

i'm happy to contribute to this issue. help where to get started

@cedric05 Could you do some research whether these API mentioned could be used in extension? I'm not sure whether these APIs are public.


Test additional RP values

The navigation document.referrer test currently only tests whether there is a referrer at all.
Several browsers restricted the allowed values (in a different way and with different exceptions), might make sense to test for some of them, e.g. whether 'unsafe-url' is allowed for subresources or window.open.

@JannisBush are you aware of the approach Firefox or Brave take?
I'm currently trying to learn about document.referrer and learn why none of the desktop browsers pass this test. Currently, this is the only test that none of the desktop browser pass.


Sprites can clip through walls if hit correctly

If a sprite hits the top left or bottom left corner of a wall perfectly, the sprite will clip through the wall. Sometimes, the sprite will disappear off the tile map entirely.

Here is a program that demonstrates this.
It does have to hit the wall perfectly diagonally, but it is possible to also do this manually with the moveSprite block.

Great repro


How to use the device with arduino IDE

My company is currently considering using this device and im the developer in charge to test different devices and see what meets our expectations. Currently we are testing T-SIMCAM with a PCIE sim module to take pictures and send the data to our servers.
Is there some example code or tutorial to use the device with the arduino ide, or is it just default settings overall?
If not, Im wondering about what settings and etc to get the device working and what libraries if necessary that might be needed to get it to work with the arduino ide.
Any help would be greatly helpful. Thanks.


Support mqtt5 last will message with user properties.

Master Issue: #369
Motivation
Support MQTT5 last will message with user properties.
Documentation

[x] no-need-doc

Codecov Report

Merging #632 (1ca7b60) into master (4a8be74) will increase coverage by 0.01%.
The diff coverage is 94.11%.

@@             Coverage Diff              @@
##             master     #632      +/-   ##
============================================
+ Coverage     77.95%   77.96%   +0.01%
- Complexity      898      900       +2
============================================
  Files           108      108
  Lines          3879     3890      +11
  Branches        267      268       +1
============================================
+ Hits           3024     3033       +9
  Misses          694      694
- Partials        161      163       +2

Impacted Files
Coverage Δ

...e/pulsar/handlers/mqtt/utils/MqttMessageUtils.java
86.15% <90.90%> (-0.06%)
:arrow_down:

...e/pulsar/handlers/mqtt/support/MessageBuilder.java
27.84% <100.00%> (+1.87%)
:arrow_up:

...native/pulsar/handlers/mqtt/utils/WillMessage.java
100.00% <100.00%> (ø)

...pulsar/handlers/mqtt/MQTTCommonInboundHandler.java
82.35% <0.00%> (-1.48%)
:arrow_down:

Continue to review full report at Codecov.

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


Grafana mapping

Couple of changes here:

Introduce mapping from service type into Grafana types
Fix the JSON output so that keys are produced in the order they were inserted into the map
Update unit and e2e tests

(Apologies for the large JSON files - they were copied from the spec-golang repo, and then slightly tweaked for the test cases)
You'll be wanting https://github.com/TempleEight/temple/pull/158/files?file-filters[]=.scala

no too big


replace toJson method with JsonMixin (or kill it) also add tests

yak_utils
/
lib
/
src
/
mixin
/
json_mixin.dart

less is more... killed JsonMixin


Fix Typo

Fix a typo

Just trying to fix a typo.

Thanks for submitting this. However, this is our public repo and we don't accept PRs here. I've reproduced your fix in the correct repo and it'll be published soon.


update docs to reflect changed function name

Readme not using current name

@abrandoned Thanks for pointing this out. Actually, the whole paragraph need to be removed since this API has been deprecated and will be removed in the future: http://nats-io.github.io/cnats/deprecated.html.
I am going to close this PR and remove the paragraph from README.md.
Thanks!


Watch the video

Uploading Screenrecorder-2023-04-03-20-33-50-292.mp4…

Uploading Screenrecorder-2023-04-03-21-57-51-773.mp4…


A error in 2.16.0

When I added<EMAIL_ADDRESS>he reported an error：

When i use import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.min.js",this way, the error above will not be reported.But he told me add Controls is undefined.

Release notes:

This is only relevant for projects using very old versions of babel/webpack loaders
This version introduces new build tools in the library build toolchain. More specifically we have swapped webpack for eslint. This has improved our build speeds and made the build pipeline simpler and easier to maintain going forward.
However the move to esbuild has also caused the library build assets (minified js files) to be compiled using a more modern version of ECMAScript. The current build files now use the optional chaining ?. syntax and this can cause issues with projects using older versions of webpack/babel or similar loaders.
If you face issues with upgrading to version v2.16.0 we suggest that you upgrade your own loaders and build toolchain to a version compatible with modern ECMAScript syntax.

Duplicate of #1458

This is an old project, and if I upgrade, it means I have to redevelop many things


[FEATURE] Optional width and height for overlay

Description of the requested feature
The overlay widget is awesome for creating tabs. For example, this snippet:
(defwindow settings
  :monitor 0
  :geometry (geometry :x "0"
                      :y "0"
                      :anchor "top right")
  (settings))

(defwidget settings []
  (box :orientation "v"
    (overlay :valign "start"
      (box :class "phantom-tab")
      (expander :expanded {current-tab == "foo"}
        (foo-tab))
      (expander :expanded {current-tab == "bar"}
        (bar-tab)))
    (box :class "tab-row"
         :orientation "h"
         :valign "end"
      (button :class "tab-btn" :onclick "${EWW_CMD} update current-tab=foo" "foo")
      (button :class "tab-btn" :onclick "${EWW_CMD} update current-tab=bar" "bar")
      (button :class "tab-btn" :onclick "${EWW_CMD} close settings" "close"))))

(defwidget foo-tab []
  (box "Foo menu"))

(defwidget bar-tab []
  (box "Bar menu"))

(defvar current-tab "foo")

Will create a nice window with three buttons:
+-------------------+
| Foo menu          |
|                   |
|                   |
|                   |
+-----+-----+-------+
| foo | bar | close |
+-----+-----+-------+

Pressing "bar" will hide the foo-tab widget and draw bar-tab in it's place. Awesome! However, there is a catch: overlay uses the first child's size, and if the first child is hidden by an expander, the size is zero. That's why I have to use "phantom-tab" here in order to set min-height and min-width in scss. It would be just easier to pass the values directly to the overlay.
Proposed configuration syntax
(overlay :width <x>
         :height <y>)

Additional context
No response

I just realized it's possible to set the expander width to gain exactly what I want. Sorry for the noise :)


Ideas for Object stack allocation/SROA

The simplest approach for OSA is Scalar Replacement of Aggregates (or struct promotion), which works by deconstructing the constituent fields of an object into local variables:
class ImmutableArray<T>.Builder {
    T[] data;
    int index = 0;

    Builder(int capacity) => data = new T[capacity];
    void Add(T value) => data[index++] = value;
    ImmutableArray<T> MoveToImmutable()
        => index == data.Length ? new(data) : throw Something();
}
ImmutableArray<int> Method1() {
    var builder = ImmutableArray.CreateBuilder<int>(1);
    builder.Add(123);
    return builder.MoveToImmutable();
}

Assuming we could inline all calls where the object is passed to, the code could be rewritten into something like this:
ImmutableArray<int> Method1_SROA() {
    var builder_data = new int[1];
    int builder_index = 0;
    builder_data[list_index++] = 123;
    return builder_index == builder_data.Length ? new(builder_data) : throw Something();
}

This transform would preferably be done before SsaTransform, so that we can just replace fields with local load/stores without having to build SSA again.

Proper OSA is significantly more complicated but possible to some extent at CIL level, by replacing objects with struct refs when passing to methods where it doesn't escape.
This approach will obviously destroy the API surface (and thus reflection access), but it allows for much more impactful opts such as rewriting arrays/generics to the payload definition (in addition to a IsNull field if the compiler can't prove that there won't be null objects):
class Data { int x, y; }
void Method1(Data data) => data.x += data.y;
void Method2(Data[] arr) {
    if (arr[0] != null) Method1(arr[0]);
}

//Output
class Data {
    Payload__ p__;
    struct Payload__ { int x, y, z; bool IsNull__; }
}
void Method1(ref Data.Payload__ data) => data.x += data.y;
void Method2(Data.Payload__[] arr) {
    if (!arr[0].p__.IsNull__) Method1(ref arr[0].p__);
    //null check must be added before getting ref to p__ to preserve behavior
}

Closing this since the later idea is quite unrealistic atm, it would be easier to do escape analysis and hackalloc non-escaping objects.


Rough first conversion to display-interface

Tested with SPI display
Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

Lots of room for optimisation still, only wanted to test the water whether this is going to be accepted. 😅

This is definitely welcome!
I didn't know about display-interface, but it makes a lot of sense.
Thanks for working on this!


Is there a chance that this lib will work with Camera 0.9 as we go?

Just wondering.

Not just wondering, but kindly asking for it. 0.8.* crashes on several devices, so a dependency upgrade would be fabulous.

+1

Bump @am15h is this scheduled soon ?

@Puspharaj any sense of whether this will happen soon ?

We need this ASAP.

Sorry for late update on this, I will do it by Monday.

thank you so much. looking forward to the camera 0.9 support.

Can anyone try v0.3.1, and verify if things work fine? @sircambridge @dimitribocquet @espbee

will tomorrow, apologies for the lag

@am15h it is not working for me-- I'm wondering if anyone else has tried this and had more success?
It's not actually executing the predictions. Code the same as it was when it worked (and still works) using tf_flutter 8.0 and helper 2.0. In runForMultpleInputs I can getInputTensors() but  inputTensors.elementAt(i).setTo(inputs[i]); seems to fail. In the end, classifier.predict(image) is always null.
I'm also getting more errors in didChangeAppLifecycleState .
Part of my issue to obegin with was the same as issue #163 in the tflite_flutter_plugin where the TFLiteC.framwork is not recognized when dropped into ~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-/ios/ .
I placed the framework into PROJECT/ios/.symlinks/plugins/tflite_flutter/ios which let the app build and run, but then I wind up with no predictions, as described.
Let me know if you could use any more info from me along these lines--

Thanks, @espbee for testing it. I will try to dig deeper into what exactly could be going wrong here.

For me, 0.3.1 works with Android. I will check on iOS as well...

@bazinac indeed, please do if you can--  i didn't get to android, stopped with ios. seemed to be pulling camera frames incorrectly. could certainly be something in my own code, though it worked perfectly till the update-- . curious what you find in ios.

Upgrade from tflite_flutter 0.9.0 / tflite_flutter_helper 0.2.1 to  tflite_flutter 0.9.0 / tflite_flutter_helper 0.3.1 does not work for me (tested only on Android)

@espbee I have just build iOS version of my app with tflite_flutter 0.9.0 / tflite_flutter_helper 0.3.1 and it works without issues... I am also using runForMultpleInputs. I was upgrading from  tflite_flutter_helper 0.3.0.

@bazinac thanks for this info, wonder if it's just something silly on my end. One more question-- do you have the TFLightC.framework in the (sytem wide) .pub-cache/hosted/.. path or in your app structure? Or no issues with that?
@MoodPatterns you're having problems too? Mind if I ask if you had any issues getting the above framework to be recognized?  Anyway if I figure out what the issue was generally I'll write back. Curious what we're doing that isn't troubling for bazinac.

@am15h if you have a moment-- can I ask if there's anything basic that I may have missed from the helper lib 2.0 till now? Something obvious that I would have had to have changed at some point? I'm attempting to solve it but so far am not successful. The specific issue is that running prediction on the frames pulled from the camera (which seem to be legit frames) returns null, rather than predictions or an empty list. The call to setTo() seems to fail silently. If I shift back to 8.0 + 2.0, zero problems.
Anyway thanks again for this library in general.

@espbee It definitely has to be related to bad input data. Probably you are using some function from the camera API that has changed its behaviour. For example: It might started capturing the image in different orientation and the preprocessing you were doing turns the data into something else which is not acceptable by the interpreter.
My suggestion on how you should debug it:

See if it fails on both android and ios.
Make two clones of your project one with older version  and another with the latest.
Now at each point of your app right from capturing the frame through the camera API, you need to print the data and see what's different with 0.3 as compared to 0.2.
As you must be taking the input from camera you can use the emulator/simulator which will virtualize the camera and you will be able to given the same raw input.
Now you can compare the image data. Maybe in bytes format.
Once you figure out the exact line of code where the data becomes different you can dig into whats going wrong more easily.

I think this whole process would take around 1-2 hour and you will be able make some conclusions.

@am15h indeed, i get bad state: failed precondition when i wrap the setTo() logic in a try catch. i'll use your advice and proceed. thanks for the help.

@am15h  Not solved but I'm going to close this snice I think the issue has to do with tflite_flutter 8.0 to 9.0. Finally check back with prior helper libs and they all break in the same way. So the issue doesn't really belong here.
In case you see this, and have a sense (by chance) of what this sounds like--
I'm prepping for a custom Yolo model like this:
  imageProcessor ??= ImageProcessorBuilder()
      .add(ResizeWithCropOrPadOp(padSize!, padSize!))
      .add(ResizeOp(INPUT_SIZE.toInt(), INPUT_SIZE.toInt(), ResizeMethod.NEAREST_NEIGHBOUR))
      .add(NormalizeOp(1, 255))
      .build();

  inputImage = imageProcessor!.process(inputImage);

All of this runs, and returns the modified TensorImage inputImage that was made from a camera frame that converted, in turn, to an im.Image . Although the modified, ostensibly prepped TensorImage dimensions are correct, its buffer length is about one quarter the length as it is when running 8.0 + 0.2.0 -- around 500K compared to about 2 million. It's tough to pinpoint the trouble more closely. imageProcesser seems to iterate correctly through its list of tasks.
Anyway I'm going to dive into the other lib update and see what I can find. Thanks for the help here, and the update, even if i can't yet enjoy it.

I remember that I ran into simmilar issue when migrating from tflite_flutter 8.0 to 9.0 due to null safety. Unfortunatelly I do not remember the details - I was also getting "bad state: failed precondition". I believe it was somehow connected with TF binary. I will have a look later today when I get home how is it set up now on my mac currently. I use my mac solely for compiling the flutter app there and rarely turn it on otherwise, so I do not have good overview.

@bazinac i'm still in there trying to figure it out-- if you can indeed write back it'll be extremely helpful. thanks.

I notice this when I run the app, with the note that one of the two will be used, though which is undefined.
/private/var/containers/Bundle/Application/[long number]/Runner.app/Frameworks/tflite_flutter.framework/tflite_flutter
/private/var/containers/Bundle/Application/[long number]/Runner.app/Runner
Could this possibly be causing an issue?

@espbee I have checked my mac setup and I have placed the framework
directly into* ~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-0.9.0
http://pub.dartlang.org/tflite_flutter-0.9.0 *(note no /ios subfolder at
the end). Could not that be the culprit? I remember I had issue with
placing framework but unfortunately forgot the details.
čt 30. 12. 2021 v 18:15 odesílatel Elliot P @.***>
napsal:

I notice this when I run the app, with the note that one of the two will
be used, though which is undefined.
/private/var/containers/Bundle/Application/[long
number]/Runner.app/Frameworks/tflite_flutter.framework/tflite_flutter
/private/var/containers/Bundle/Application/[long number]/Runner.app/Runner
Could this possibly be causing an issue?
—
Reply to this email directly, view it on GitHub
https://github.com/am15h/tflite_flutter_helper/issues/40#issuecomment-1003114753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWGBGHHAXMPMXHXWMCB243UTSHTZANCNFSM5EZDZ34Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@bazinac you know it could be. weird stuff has been happening. when i switch back and forth between the two set ups (0.8.0 / 0.2.0 and 0.9.0 / 0.3.1) - sometimes - it seems to confuse things. the app that works will break, then work after various caches are cleared - sometimes - but sometimes not - it works again. and etc. i actually blanked a laptop and fresh installed everything but i wound up dropping the framework into the same place as before, inside the specific app's ios/.symlink/plugins/tflite../ios folder (which is ostensibly the windows path? but this is a mac) because otherwise the app sometimes - but not always - won't build. then i spent several hours last night again going through line by line, in a functional app, using the older libs, from the camera frame to the spot where it's setting a tensor float 32 image buffer to the model tensor, i believe..... in the setTo function that breaks in a non-functional app. i already tracked this but thought it'd do it again. the divergence seems to come from the helper lib Image ops, padding, resizing, and standardizing... but it's unclear why exactly. anyway.
thanks a ton for checking this out. i will try the folder shift and see what happens.
two quick final questions if you see this and have a moment--

@am15h mentions above "virtualizing the camera" with the simulator to get the same raw input. i'm not sure i need that since i can see where the byte volume diverges (between the two lib set ups) but it would still be nice... is this possible to your knowledge? i thought the simulator was out for all of this

and are you using the helper lib ImageProcesser to run re-size / padding / standardizing ops? and it works?

happy new year in any case.

Not working for me. Maybe flutter and camera version is also something we should consider when tracking the issue down (e.g., on flutter 2.5 0.9.0 was not working for me). Anyways, I am on 2.8.1 (stable) with camera 0.9.4+5 and tried to upgrade from 0.9.0/0.2.1, which was working,  to 0.9.0/0.3.1.

@BernardoGui I'm running the same Flutter as you. The camera frames seem legit. I think I've isolated my problem though-- I'm going to open a new issue.  When I run with 0.3.1 the ImageProcessBuilder doesn't build correctly. It does build an instance of ImageProcessor, but it's not actually going through the tasks-- I don't get any points or rects when I print stuff in image_process.dart. I'll write it out in a fresh issue.

just getting caught up on this thread. I can confirm tflite_flutter_helper 0.3.1 works for me on iOS without any issue. it now uses camera "0.9.4+5" I upgraded from 0.2.1 and it all just worked.

Can anyone try v0.3.1, and verify if things work fine? @sircambridge @dimitribocquet @espbee

It's perfect for me on iOS running 0.9.0 and 0.3.1.
The only hitch was that I had to declare a Tensor Image as Float 32 in the newer lib, wheras 0.2.0 seemed to not care if I did that or not. But once I corrected as much it all just worked without issue.


Markdown + Mermaid template

Description

ETA TEMPLATE
...
...

Related issue(s)

Hi @nikhilkalburgi, I am considering rendering using the ETA template and, instead of directly generating the markdown (MD), display the content in HTML format first. This way, we will be able to establish a clear relationship between the HTML and the corresponding MD. Also, we could include a button at the end to allow users to export the content in MD or even PDF format. What do you think ?
https://www.markdownguide.org/basic-syntax/

Hi @josephinoo,
That's a great Idea. We can also discuss this on Slack in details.
In Short:

We need to install Template engine like EJS or ETA to render HTML on preview
We need a tool to convert HTML to MD like Eg. turndown for export
Design the prototype for the final UI with options for export etc... (I have built the initial wireframe, but more to be done )
Build the individual objects like servers, schema, operations, diagrams by creating template files(.ejs or .eta) for each in the newly added ./components folder.
Other issues like support for avro schema etc.

Hi @ivangsa @josephinoo,
Below you will find the prototype that I have designed on Figma
https://github.com/asyncapi/vs-asyncapi-preview/assets/70331875/7e1919a5-514f-445c-bfd2-073c077bbb70
I would appreciate your input on this to improve it further.
I also tried to set the template engine ETA but found that it is not very compatible with VS Code Env. So, I have used EJS instead and have developed the project structure with it. Soon I will raise a PR.

hi @nikhilkalburgi
I think the diagram in second 0:09 doesn`t make too much sense but it would require something similar for the payload of each message
I would create a separate one for each message, because maybe they are shared objects between messages and it's nice to to have everything mixed up..
I think EJS is good, it has more traction behind and ETA features are not that definitive for this usage..

Hi @ivangsa,
I had implemented it like below:
In webpack.confi.js:
plugins: [
    new CopyPlugin({
      patterns: [
                . . .
        {
                  from: 'src/components',
                  to: 'components'
        }
      ]

This will copy the .ejs files in ./components folder into ./dist/components
then:
const templatePath = path.join(context.extensionPath,'dist', 'components','Asyncapi.ejs');
await ejs.renderFile(templatePath , { ... });

But, now I am following your suggestion.
Initially, I will build the markdown for the objects and later integrate the mermaid diagrams

@nikhilkalburgi if it works in all cases, development and packaged, don't need to change it..

@nikhilkalburgi if it works in all cases, development and packaged, don't need to change it..

Okay!


update the fetch ADR recommendations

Now that we are on node 18+, we should move toward native fetch. This does unfortunately affect proxying.
I rearranged the proxy doc a bit to highlight global-agent and undici as the sole primary path, and proxy-agent as a separate alternative at the bottom.

@Rugvip alright, i removed the change of recommendation, but kept a slightly cleaned up version of the doc change. I hope that it does clarifiy some things, and also ensures that it works for both native fetch (if it's used by third party libraries for example) and node-fetch.


chore: for better accesibility

What is it?

[X] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description
chore: for better accesibility
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

thx


Yeoman-Environment Issue

This issue originated from this StackOverflow Question.
Bug
My environment

OS version/details:  Windows 11 64-bit
Node version: v20.9.0
npm version: 10.2.2
Version of yo : 4.3.1

Expected behavior
The generator should work without --ignore-version-check
Current behavior
The generator should doesn'twithout --ignore-version-check
Steps to reproduce the behavior
Install any type of generator using the latest version of yeoman (e.g. npm install -g generator-discord)
Run the generator. (e.g. yo discord)
Command line output
This generator (discord:app) requires yeoman-environment at least 4.0.0-rc.0, current version is 3.19.3, try reinstalling latest version of 'yo' or use '--ignore-version-check' option

npm install yo@next
If it’s working as expected, I can promote as stable.

Works as expected, great work! Thanks!

Will update the StackOverflow question when published.

Please promote as stable

Update the yeoman generator using npm i -g yo


Add release notes for v2.1.0-rc.2

See https://github.com/cockroachdb/cockroach/issues/31767.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/69322b2bfe64bd1800c00ae320d729eb5dc099c2/


Company Page - Swap Position / Contact Positions on Menu

Change "Position" Menu on 3rd Position
Change "Contacts" Menu on 4th Position
Initiated by @vinpahilwani
Verified by @mitulpanch


3.4.2

@rultor release tag is 3.4.2

@rultor release tag is 3.4.2

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.4.2

@portlek Done! FYI, the full log is here (took me 8min)


Add direct support for changing partials to Ractive instances - RFC

Even after getting support for expressions in partial sections, I still have times that I need to change the template for a partial and have it propagate to all of places that it is rendered. This replaces the hacky
{{#rendered}}{{>partial}}{{/}}

ractive.partials.partial = 'new partial';
ractive.set('rendered', false);
ractive.set('rendered', true);

with
{{>partial}}

ractive.setPartial('partial', 'new partial');

Beyond not littering the template with special conditionals, the latter also has the benefit (?) of updating the partial everywhere it is rendered, including down the component hierarchy where the component is using an inherited partial.
This is definitely not ready for merging, as I haven't added any tests and am not sure that this is even something that is desirable for general inclusion.
Here's another sample that I think is fun for demo purposes and might be useful in a docs refresh move to Ractive:
Config:
<textarea rows="5" cols="40" value="{{cfg}}">{{{ 'Name: <input value="{{name}}" />' }}}</textarea>
<button on-click="setPartial('config', cfg)">Update Config</button>

Template:
<textarea rows="5" cols="40" value="{{tpl}}">{{{ 'Hello, {{name}}!' }}}</textarea>
<button on-click="setPartial('partial', tpl)">Update Template</button>

{{>config}}

Output:
{{>partial}}

You can add Name: <input value="{{name}}" /> to the config box and Hello, {{name}}! to the template box and get an interactive form after clicking the buttons.

Bug with resetTemplate on dynamic components. Example
http://jsfiddle.net/1vt64zd7/1/
Works only if the component is explicitly placed. If you .toHTML it you will see it updated internally it just doesn't re-render correctly back where it was.
This is a must for dynamic applications that require hot-reloading. I myself am building an app that uses this exact setup. I'm also working on a hot reload plugin for exotic use cases like this.


Folder overwrite on shared files doesn't works correctly on copying file

Describe the bug
Steps to reproduce
Steps to reproduce the behavior:

as admin create folders sfold/sfold2/sfold3
as einstein create folders new/new2
as admin share sfold to einstein
as einstein accept the share offered by admin
as einstein try to copy new to Shares/sfold/sfold2

curl https://localhost:9200/remote.php/webdav/new -XCOPY -H Destination:https://localhost:9200/remote.php/webdav/Shares/sfold/sfold2 -vk -u einstein:relativity

Expected behavior
As einstein folder Shares/sfold/sfold2/sfold3 should not exist and Shares/sfold/sfold2/new2 should exist
Actual behavior
As einstein folder Shares/sfold/sfold2/sfold3 exists and Shares/sfold/sfold2/new2 doesn't exists
Setup
Please describe how you started the server and provide a list of relevant environment variables.

OCIS_VERSION=vX.X.X
BRANCH=vX.X.X
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false

Additional context
Add any other context about the problem here.

re-tested with local server oCIS version 1.11.0 and oC10 version 10.8
@dpakach are you sure that the expected behavior is correct?
have the same behaviors:
Directory structure OC10:

all files

sfold

sfold2

sfold3
new

new2

Directory structure oCIS:

all files

Shares

sfold

sfold2

sfold3
new

new2

@ScharfViktor yes, the expected behavior is correct.
I just rechecked it and seems like it has been fixed now.
I'm closing this issue.


Suggest - Allow remove alias option

I suggest allow to remove the alias option. If i pass a expression or function in field option, give an error because the alias always is setted with dot (alias.field)
i suggest allow remove this, eg:
change this:
    $queryBuilder->$queryType(
        $queryBuilder
            ->expr()
            ->eq($option['alias'] . '.' . $option['field'], ':' . $parameter)
    );

to
   $queryBuilder->$queryType(
        $queryBuilder
            ->expr()
            ->eq( ($option['no-alias'] ? '' : $option['alias'] . '.' ) . $option['field'], ':' . $parameter)
    );

I think this is a fine idea.  Create a PR and we'll get it into master.

@fabiopaiva do you still want to pursue this?

Sorry @TomHAnderson , i was so busy.
I will try to do this at this weekend.

You will join this PR to master?

@SilverioMiranda this is an issue, not a PR.


Add Terms page from registry

First pass on building out page for Terms.
@japierce1028 we will need to add some Introduction text. You can add here if you like and I'll add to a commit.
This is being marked as a draft until we get the page sorted as we like it.

Looks good

We're going to pub as is, structure in DCNC site will be adjusted later as per convo with @japierce1028.


mono50 doesn't include msbuild

Issue description
As of mono 5.0 mono's xbuild tool is being deprecated in favor of the finally-open-sourced msbuild. Mono now ships with msbuild.
Current mono nix 5.0 package includes xbuild but msbuild is nowhere to be found in my /nix/store, nor on the PATH.
Steps to reproduce
(I will improve these)

Run nix-shell -p mono50
which msbuild

Technical details

System: ProductName: Mac OS X; ProductVersion: 10.12.6; BuildVersion: 16G29
Nix version: nix-shell (Nix) 1.11.10
Nixpkgs version: 17.09pre108299.ec9a23332f
Sandboxing enabled: No

Flagging for some people who've had interest in Nix + mono in the past: @viric @thoughtpolice @obadz @vrthra @vbgl @kuznero

I will try to have a look. Mono 52 is also in the pipeline.

We now have mono 5.4 in nixpkgs, but still no msbuild. From what I've been able to glean, xbuild is deprecated, but msbuild is still not bundled with the mono distribution. It's not clear to me how one is supposed to go from zero to a mono distribution with msbuild included but perhaps someone else knows? @kuznero?

xbuild is missing some features and I can't build a project I'm working on. @kuznero

Here's what I found out when I asked about the switchover: https://github.com/mono/mono/issues/7068
It sounds like we should just create a dotnetPackages.msbuild and let them move independently.

update on this?

Won't be able to work on this for a week or two, but how would I go about fixing this?

This should really be fixed.

It uses a custom build system: https://github.com/Microsoft/msbuild/blob/master/build/build.sh
Any advice on packaging this? @copumpkin

Here's the binaries used to bootstrap it: https://github.com/mono/msbuild/releases/download/0.06/mono_msbuild_xplat-master-3c930fa8.zip

It appears to not use the system .NET Core for bootstrapping, which is inconvenient.

Notes on manual compilation so far:

dotnet-install is automatically downloaded every build, and attempts to download prebuilt .NET SDK binaries whether they're already installed or not. I fixed it by cancelling the download with Ctrl-C, commenting out the lines to actually install it, and using chmod -w to keep it from being redownloaded (as there's no error handling for curl in the build script)
The bootstrapped MSBuild needs it's interpreters patched. This caused an error, so I just patched the interpreter manually.

It was quite easy to install the MSBuild Ubuntu package into my home directory via GNU Stow. I don't know how to package a deb, and even then it's definitely not the right way to package an open-source utility. If anyone can give me any advice (either on packaging the deb or building in an FHS chroot), I'll package it, but it's not necessary for me right now.

#43680

This was fixed in #66299.

According to https://github.com/NixOS/nixpkgs/pull/66134#issuecomment-525492564, msbuild was packaged in https://github.com/NixOS/nixpkgs/pull/66299, and it looks like that's true:
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/build-managers/msbuild/default.nix
I think this can be closed?


jQuery conversion generates "Overload resolution ambiguity"-prone methods

Converting jQuery doesn't yield any direct errors, but I was expecting to be able to write
jQuery("#foo")

as a result. However, this is invalid, as all of the four overloads match equally well:
    @nativeInvoke
    operator fun invoke(selector: String, context: Element? = definedExternally /* null */): JQuery
    @nativeInvoke
    operator fun invoke(selector: String, context: JQuery? = definedExternally /* null */): JQuery
    @nativeInvoke
    operator fun invoke(`object`: Any): JQuery
    @nativeInvoke
    operator fun invoke(html: String, ownerDocument: Document? = definedExternally /* null */): JQuery

/home/max/IdeaProjects/kiq
├──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>

as a workaround, You can manually add
    @nativeInvoke
    operator fun invoke(selector: String): JQuery


feat: Update test shard limits

Fixes #1241
Test Plan

How do we know the code works?

Virtual test shards limit increased to 500

Codecov Report

Merging #1256 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1256   +/-   ##
=========================================
  Coverage     79.75%   79.75%
  Complexity      714      714
=========================================
  Files           233      233
  Lines          4387     4387
  Branches        753      753
=========================================
  Hits           3499     3499
  Misses          492      492
  Partials        396      396


Adds a 'NotProvided' solution state to the SolutionState enum

This is not well documented but one of the values in the SolutionState bit at 0x32 is 0x0002, which indicates that the solution is not present in the file. In practice I think almost every client treats it just about the same as 0x0004 in that spot (suppressing or disabling "reveal" tools) but it may be the case that some clients will correctly not offer an attempt to unscramble either.

Thanks for this @thisisparker . Have you encountered a puzzle in the wild that does not provide a solution? Would be nice to add to tests. thx

I have created puzzles that have this bit set, and testers have confirmed that it does lead to some "expected" different behavior in e.g. Across Lite — in particular, as I mentioned above, the "reveal" options are not provided, and the completion screen expresses some uncertainty about whether you've completed the puzzle. For that to work, though, the solution bits still needed to be filled, and I did so with Xes as is conventional.
Happy to share one such puzzle if it would help for testing! But I didn't really encounter it in the wild. To be honest I was surprised to learn about this SolutionState before opening this issue.

I would be interested in getting a copy of the test file. Puzzazz does
respect this flag, but we've never seen a puzzle that has it. It's largely
irrelevant because Puzzazz also automatically detects puzzles with redacted
solutions. e.g., all Xes. (send to @.***) Also, FYI, we chose to
not support unscrambling. It seemed to us that nobody was scrambling
puzzles any more. Haven't seen one in many years.


Save Jupyter Notebook (Python VS Code)

For the upcoming Native Jupyter experience release in the Python extension for VS Code, we are using a webview instead of an editor. We would like the ability to intercept the File menu save to trigger a save of the webview Jupyter notebook, such that when a user presses FIle->Save, it should save the Jupyter notebook file.
Also, currently CTRL + S works only when the webview has focus, It doesn't save when it does not have focus.
Relevant Issues:
https://github.com/microsoft/vscode-python/issues/7238
https://github.com/microsoft/vscode-python/issues/7258
https://github.com/microsoft/vscode/issues/76863

Duplicate of #77131


Implement starknet.rs support for call endpoints

Implement autogenerated starknet.rs support for the following endpoints.

starknet_call
starknet_estimateFee
starknet_estimateMessageFee

Additional Context:

https://github.com/NethermindEth/rpc-request-builder/issues/2
https://github.com/NethermindEth/rpc-request-builder/blob/main/src/api/rpcspec/methods.ts

assign this to me @jelilat

Hey @malik672 I don't know if you're still working on this but it's been implemented in #20 by now.

still working on it, implemented all of it tbh, just want to see a pr get merged to see the standard, don't want to pull any unnecessary pr, most guys here have a different standard for the same code

Hey @malik672 I don't know if you're still working on this but it's been implemented in #20 by now.

will still make the pr, anyone that want to get merged should do, our implementation is different

@i don't actually need to pull for the error propagation, just make it idiomatic that's all


Update whats-new-in-credential-protection.md

Added RS2 change for RCG

@GITMichiko,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[FEA]: OT use case

Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
A model that works on a power system dataset for operational technology use case
Describe your ideal solution
XGBoost multiclass classifier
Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I have searched the open feature requests and have found no duplicates for this feature request

This is closed by PR #35


All patterns result

I put in my totals for sun, Mon, Tues, and then after wed am entered, it showed the result as "all patterns" with 0-999 under every prediction. It is a first week input.

This sounds like the app was not able to identify a prediction for you. Please post your week's values in this issue: https://github.com/mikebryant/ac-nh-turnip-prices/issues/40

Closing this, not enough data to work with


fix(button-group): add button overrides fix for button group style

Description
Fixes issue with button-group button overrides where the border radius styles wouldn't get passed in if you set the style of the BaseButton. Code below to reproduce.
import React from 'react';
import {ButtonGroup} from 'baseui/button-group';
import Upload from 'baseui/icon/upload.js';
import {Button} from 'baseui/button';

export default () => (
  <React.Fragment>
    <ButtonGroup>
      <Button
        overrides={{
          BaseButton: {
            style: props => ({color: '#000'}),
          },
        }}
      >
        Label
      </Button>
      <Button
        overrides={{
          BaseButton: {
            style: props => ({color: '#000'}),
          },
        }}
      >
        Label
      </Button>
      <Button
        overrides={{
          BaseButton: {
            style: props => ({color: '#000'}),
          },
        }}
      >
        Label
      </Button>
    </ButtonGroup>
  </React.Fragment>
);

Scope

[x] Patch: Bug Fix

 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.

Thanks for the contribution @illogikal ! One small comment - can we drop the new dependency? We are trying to keep the size as small as possible

We could but object-path is by far the best object deep key accessor in my opinion and it could probably be sprinkled around the codebase to reduce some LOC, but I haven't looked at everything. If you insist am happy to comply, but for use cases like where I used it, it's really convenient :)

how about the following - let's merge this PR without the extra dependency, and after that we can take a look at the codebase if we should pull it in ?

Fixed

it seems like there is an issue with type checking - can you run npm test locally and fix the issue?

we may want to wait for @sandgraham's changes to the button styles. It should remove the extra override logic when mapping over ButtonGroup children

thank you for the contribution @illogikal. I'm going to close this pr since the button redesign has been merged. we plan to make a release in the next couple days. Feel free to re-open if you are experiencing this problem once v7 is released


Feature/downsample

This adds the downsampling rule that takes config parameters for depth and replicate.  The replicate gets used to seed the downsampling. Depth is provided as the number of total reads desired.  This follows seqkit's recommendation to sample  a proportion rather than an exact number of reads in order to avoid reading the whole file into memory.  So this calculates the number of reads in the sample, calculates  a generous downsampling proportion, samples that proportion, and selects the exact number or reads with seqkit head.

what do you think about putting the two main rules into a rule group? https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#defining-groups-for-execution

I haven't worked with job groups, and I am a bit hesitant to add additional complexity.  Since our primary use case is HPC with a shared file system I don't think we need to optimize.  Would totally make sense on AWS or something, to avoid transferring the fastqs to a new VM.  Feel free to add it as a milestone for version 2.0.

job groups aren't necessary, for our purposes they would just group rules into the same LSF job in order to reduce scheduler overhead. Could be helpful for when the cluster is busy.
Feel free to merge if you feel there's no issue with re-using seqkit temp files 👍

I've added an issue for the job groups. https://github.com/vdblab/vdblab-shotgun/issues/39


Net::FTPTempError: 426 Transfer aborted.  Data connection closed.

Using FTP as storage.
Config:
   Storage::FTP.defaults do |server|
    server.username   = "..."
    server.password   = "..."
    server.ip         = "..."
    server.port       = 21
    server.path       = "..."
    server.keep       = 5
    server.passive_mode = true
  end

Today 4 tryouts of backup crushed with error:
Net::FTPTempError: 426 Transfer aborted.  Data connection closed.
Manual connection to FTP and working using FTP client do well. FTP server stable and always availably.
gem version 4.1.2
backup size 1Gb
split size 100Mb

hi @noff, I don't have any problems here? Did this suddenly start occurring or is this a new setup?
If it was running before did you update anything? Either the ruby version, backup gem or packages on the server?

Hi.
It suddenly start occurring this Friday. Updated from 4.1.2 to 4.1.5 - same problem. Contacted with hoster - their trying to define problems on their side but no success.
Ruby 2.1.5. Current gem version 4.1.5 (last).

@noff  So the problem occurred before you updated?
It would be unlikely that it would just stop working.

Hi. Solved by storage hosting company.
But may be need some feature to prolong "waiting time" if connection "halt" and reconnecting on dropped connection.


Tooltip formatter for multiple y-axis

[x] I am using English in this issue. 在这个 Issue 中我使用了英文（强烈建议）。

General Questions

[x] Required: I have read the document and examples and tried to solve it by myself. （必填）我读过了文档和教程，并且曾试图自己解决问题。
[x] Required: I have searched for similar issues and that didn't help. （必填）我搜索过 issue 但是没有帮助。
[x] Required: I have tried with the latest version of ECharts and still have this problem. （必填）我试过最新版本的 ECharts，还是存在这个问题。

In this issue, I have provided information with: 在这个 issue 中我提供了以下信息：

[x] Required: issue type；（必填）issue 类型
[x] Required: one sentence description in issue details；（必填）一句话的问题描述
[ ] Required: demo；（必填）能反映问题的例子（如果你想提问或报 bug）
[x] Required: ECharts version；ECharts 版本

Issue Type

[ ] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[ ] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[x] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details

I have multiple Y axis with different tooltip formatters. And I would like to know in the tooltip callback for which Y axis the data refers to.
Expected Behavior

I would like to be able to format data that correspond to the first y axis using a different formatter than data that correspond to the second y axis. E.g. in the screenshot below the first y axis has data that should be formatted with 10% for example and in the second y axis has data that should be formatted with 0.5 for example.

Current Behavior

In the params returned by the tooltip.formatter when using a callback function, there is no y axis index returned. You can see the params currently returned as the x object in the screenshot below.

You can see the chart configuration (without the data) below. Note the different yAxisIndex (0 and 1) in the series part.
{
  "options" : {
    "tooltip" : {
      "trigger" : "axis",
      "formatter" : [
        "x",
        "xf=month(MMM YYYY)",
        "yf=decimal({\"output\":\"percent\", \"average\":true, \"mantissa\":0, \"optionalMantissa\":true})",
        "debugger;var z = []; for (var i=0; i<x.length; i++) if (x[i].data[1]) z.push(x[i]); z.sort(function(a,b){return b.data[1]-a.data[1];});var s = '
'+''+xf(x[0].data[0])+'<\/b>

';var cols = Math.min(2,Math.ceil(z.length/20));var rows = Math.ceil(z.length/cols);for (var i=0; i<rows; i++) {  s += '
';  for (var k=0; k<cols; k++) {    var index = i*cols+k;if (index<z.length && z[index]) {     if (k>0) s+= '  <\/td>';      s+= '' + z[index].marker + ' ' + z[index].seriesName + '<\/td>  ' +  yf(z[index].data[1]) +'<\/td>'; }  }  s += '<\/tr>';}s += '<\/table>';return s;"
      ],
      "textStyle" : {
        "fontFamily" : "notosans,'Helvetica Neue',Helvetica,Arial,sans-serif"
      },
      "show" : true
    },
    "legend" : {
      "textStyle" : {
        "fontSize" : 13,
        "fontFamily" : "notosans,'Helvetica Neue',Helvetica,Arial,sans-serif"
      },
      "show" : true
    },
    "grid" : {
      "containLabel" : true,
      "left" : 35,
      "right" : 30,
      "bottom" : 4
    },
    "xAxis" : [
      {
        "type" : "value",
        "axisLabel" : {
          "formatter" : "year(YYYY)"
        },
        "splitLine" : {
          "lineStyle" : {
            "type" : "dashed"
          }
        },
        "max" : "dataMax",
        "scale" : true,
        "offset" : 0
      }
    ],
    "yAxis" : [
      {
        "show" : true,
        "type" : "value",
        "name" : "Volatility",
        "axisLabel" : {
          "formatter" : "decimal({\"output\":\"percent\", \"average\":true, \"mantissa\":0, \"optionalMantissa\":true})"
        },
        "splitLine" : {
          "lineStyle" : {
            "type" : "dashed"
          }
        },
        "offset" : 0,
        "nameLocation" : "middle",
        "nameTextStyle" : {
          "padding" : 35
        }
      },
      {
        "show" : true,
        "type" : "value",
        "name" : "Auto-Correlation",
        "axisLabel" : {
          "formatter" : "decimal({\"output\":\"number\", \"average\":true, \"mantissa\":2, \"optionalMantissa\":false})"
        },
        "splitLine" : {
          "lineStyle" : {
            "type" : "dashed"
          }
        },
        "offset" : 0,
        "nameLocation" : "middle",
        "nameRotate" : -90,
        "nameTextStyle" : {
          "padding" : 25
        }
      }
    ],
    "series" : [
      {
        "smooth" : false,
        "lineStyle" : {
          "color" : "#ec853f",
          "width" : 1
        },
        "legendHoverLink" : true,
        "yAxisIndex" : 0,
        "name" : "Residual Volatility",
        "type" : "line",
        "itemStyle" : {
          "normal" : {
            "color" : "#ec853f"
          }
        },
        "symbol" : "circle",
        "showAllSymbol" : false,
        "showSymbol" : false,
        "data" : [
        ]
      },
      {
        "smooth" : false,
        "lineStyle" : {
          "color" : "#3d90c0",
          "width" : 1
        },
        "legendHoverLink" : true,
        "yAxisIndex" : 1,
        "name" : "Auto-Correlation",
        "type" : "line",
        "itemStyle" : {
          "normal" : {
            "color" : "#3d90c0"
          }
        },
        "symbol" : "circle",
        "showAllSymbol" : false,
        "showSymbol" : false,
        "data" : [
        ]
      }
    ]
  }
}

Online Example

Topics

[ ] Legend
[x] Tooltip
[x] Event
[ ] Performance
[ ] SVG
[ ] Map
[ ] ECharts GL
[ ] Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

I found this part of the code that I think will be helpful in implementing this feature
https://github.com/apache/incubator-echarts/blob/b4ce0dbfa1d8646b79bfc5caf86429dd4b59e48f/src/component/tooltip/TooltipView.js#L401
Environment

ECharts version；ECharts 版本: v4.2.0.rc2

[] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

Hello there @100pah ,
do you have an update on this ?

In your case, the tooltip.trigger is 'axis' and it is based on x axis.
So there is only axis info in the tooltip.formatter: function (params) { ... } callback.
But when you travel the params, you can get the series info.
each series is either using the left y axis or using the right y axis,
then the y axis can be determined.

Hi @100pah ,
from the params I can access the seriesId, seriesIndex, seriesName and seriesType.
I can then use the seriesIndex and the chart options to retrieve the y axis index for the specific series.
But I believe it is too much effort for something that is commonly needed in the tooltip formatter callback.
It seems that now this issue it addressed with this commit : https://github.com/apache/incubator-echarts/pull/10437/commits/cba87b0ce1489a0e092d39689ab38af3e5505871 which includes the axis info in the params. Hopefully this axis contains both X and Y axis information.

Hi there @100pah !
Wondering if adding the xAxisIndex and yAxisIndex to the tooltip callback is possible !
Because the axis returned by the commit  I mentioned is not very useful in this case, and I believe this information is commonly needed in the tooltip formatter callback.
Because I have two y axis and want to format the values with a different formatter function.
Best regards,
Sergios.


Lookup API to keyserver v2

The lookup verify API is largely based on https://github.com/yahoo/coname/blob/master/cnclient/client.go. As of now, it assumes the struct is readily decoded.
VRF and sha3 are refactored and moved into the coname directory

p.s. will rebase before this gets merged.
@andres-erbsen , @daniel-ziegler , @diracdeltas. please see if you can give it a review. thanks

I checked that

the constants match my understanding of the protocol; charCodeAt evaluations match my browser's understanding
e2e.coname.toBits_ and e2e.coname.toBytes_ perform big-bit-endian decoding
e2e.coname.getRealmByUser_ performs a key-value lookup based on the part after the last @ sign; it is up to the caller to make sure that all domains in the configuration are valid.
I ignored the commented-out merkle tree code.
e2e.coname.checkCommitment_ performs the commitment check specified in client.proto, which matches my understanding of the protocol
 e2e.coname.checkQuorum_ and e2e.coname.flattenQuorum_ correspond to the Go counterparts assuming the javascript && and !object mean what they look like they mean (which they did based on my limited experiments).
e2e.coname.verifyQuorumSignature_ verifies the signature under the specified signature scheme
e2e.coname.verifyConsensus_ matches the Go counterpart and my understanding of the protocol.

I think @daniel-ziegler  is more qualified to check https://github.com/yahoo/end-to-end/blob/feature/treeproof/src/javascript/crypto/e2e/coname/lookup_verify.js#L378 and onwards; I will check in with him and do it myself in case he is not available.

The realm name check we discussed over email is now present in the Go code: https://github.com/yahoo/coname/pull/34/files#diff-a53cc11e5be81686d4eee400a9d85c86R102. Please incorporate it to the JS version as well.

Thanks @andres-erbsen. I'll let you or @daniel-ziegler to check the rest of it (line 378 and onwards).
I prefer to leave this PR as is, and will incorporate the realm name check in a separate PR, which I expect to have all protobuf and the whole ajax request ready. Gotta rewrite some of the code due to the 32 vs 64 bit issue due to the JS protobuf.

merging for now. we'll need another review on the complete lookup client. thanks @andres-erbsen

reversed the merge from master. will merge again with the changes rebased


Keep state among Workspace windows

Given the user is on Monitoring Methods and wishes to go to QA & Certifications or Emissions
When in the Workspace
Then the UI should keep the state of the data throughout the different selections.

Test Case: TC216

Test Passed


BlockSkylineMatrix–Diagonal arithmetic, fix BlockDiagonal

I implemented a fix for #57 and made sure BlockDiagonal does not use BlockSizes anymore. I also exported BlockDiagonal.
The MulAdds still need to be fixed though:
https://github.com/JuliaMatrices/BlockBandedMatrices.jl/blob/657b48059ab3d5f720fdf7efb2cd9eecb1dfbdd3/src/linalg.jl#L113-L148

My fix for #57 basically mirrors LinearAlgebra's implementation for UniformScaling:
https://github.com/JuliaLang/julia/blob/18783434e9c0e48152b99d5e3717deb8711f492b/stdlib/LinearAlgebra/src/uniformscaling.jl#L163-L179
I don't know if that is a good idea, since LinearAlgebra.copy_oftype is not exported.

I use internal functionality in Base all the time, for some things there's no other way, for others its easier to just fix bugs introduced by this in future versions when they arise.

Fair enough. I should mention that I consciously did not try to support arithmetic with a BlockSkylineMatrix which does not have blocks on the diagonal. My rationale is that you want to be sure you get the same structure back (and figuring out which blocks to add is maybe ill-defined?, beyond growing the bandwidths to at least zero). What do you think?

What BlockArrays.jl does is to take the union of all blocks, that is, if you add a vector with block sizes [1,2,2] to one with block sizes [3,1,1] you get one with block sizes [1,2,1,1].
I feel like block skyline structure would be preserved under this, though perhaps I haven't thought it through enough

What I mean is this slightly odd case:
4×4-blocked 10×10 BlockSkylineMatrix{Float64,Array{Float64,1},BlockBandedMatrices.BlockSkylineSizes{Tuple{BlockArrays.BlockedUnitRange{Array{Int64,1}},BlockArrays.BlockedUnitRange{Array{Int64,1}}},Fill{Int64,1,Tuple{Base.OneTo{Int64}}},Fill{Int64,1,Tuple{Base.OneTo{Int64}}},BandedMatrices.BandedMatrix{Int64,Array{Int64,2},Base.OneTo{Int64}},Array{Int64,1}}}:
  ⋅   │   ⋅    ⋅   │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 ─────┼────────────┼─────────────────┼────────────────────
 1.0  │   ⋅    ⋅   │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 1.0  │   ⋅    ⋅   │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 ─────┼────────────┼─────────────────┼────────────────────
 1.0  │  1.0  1.0  │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 1.0  │  1.0  1.0  │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 1.0  │  1.0  1.0  │   ⋅    ⋅    ⋅   │   ⋅    ⋅    ⋅    ⋅
 ─────┼────────────┼─────────────────┼────────────────────
  ⋅   │  1.0  1.0  │  1.0  1.0  1.0  │   ⋅    ⋅    ⋅    ⋅
  ⋅   │  1.0  1.0  │  1.0  1.0  1.0  │   ⋅    ⋅    ⋅    ⋅
  ⋅   │  1.0  1.0  │  1.0  1.0  1.0  │   ⋅    ⋅    ⋅    ⋅
  ⋅   │  1.0  1.0  │  1.0  1.0  1.0  │   ⋅    ⋅    ⋅    ⋅
10×10 Diagonal{Float64,Array{Float64,1}}:
 2.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅
  ⋅   2.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅
  ⋅    ⋅   2.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅
  ⋅    ⋅    ⋅   2.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅
  ⋅    ⋅    ⋅    ⋅   2.0   ⋅    ⋅    ⋅    ⋅    ⋅
  ⋅    ⋅    ⋅    ⋅    ⋅   2.0   ⋅    ⋅    ⋅    ⋅
  ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   2.0   ⋅    ⋅    ⋅
  ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   2.0   ⋅    ⋅
  ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   2.0   ⋅
  ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   2.0

I think the easiest is to just grow the block-bandwidths to be at least 0.

I finally got around to fixing the general case as well, so now we can do:
julia> M
4×4-blocked 10×10 BlockSkylineMatrix{Int64,Array{Int64,1},BlockBandedMatrices.BlockSkylineSizes{Tuple{BlockArrays.BlockedUnitRange{Array{Int64,1}},BlockArrays.BlockedUnitRange{Array{Int64,1}}},Array{Int64,1},Array{Int64,1},BandedMatrices.BandedMatrix{Int64,Array{Int64,2},Base.OneTo{Int64}},Array{Int64,1}}}:
 ⋅  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ───┼────────┼───────────┼────────────
 ⋅  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ⋅  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ───┼────────┼───────────┼────────────
 1  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 1  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 1  │  ⋅  ⋅  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ───┼────────┼───────────┼────────────
 ⋅  │  1  1  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ⋅  │  1  1  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ⋅  │  1  1  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ⋅  │  1  1  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅

julia> T
10×10 Tridiagonal{Int64,Array{Int64,1}}:
 2  3  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅
 1  2  3  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅
 ⋅  1  2  3  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅
 ⋅  ⋅  1  2  3  ⋅  ⋅  ⋅  ⋅  ⋅
 ⋅  ⋅  ⋅  1  2  3  ⋅  ⋅  ⋅  ⋅
 ⋅  ⋅  ⋅  ⋅  1  2  3  ⋅  ⋅  ⋅
 ⋅  ⋅  ⋅  ⋅  ⋅  1  2  3  ⋅  ⋅
 ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  1  2  3  ⋅
 ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  1  2  3
 ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  ⋅  1  2

julia> M+T
4×4-blocked 10×10 BlockSkylineMatrix{Int64,Array{Int64,1},BlockBandedMatrices.BlockSkylineSizes{Tuple{BlockArrays.BlockedUnitRange{Array{Int64,1}},BlockArrays.BlockedUnitRange{Array{Int64,1}}},Array{Int64,1},Array{Int64,1},BandedMatrices.BandedMatrix{Int64,Array{Int64,2},Base.OneTo{Int64}},Array{Int64,1}}}:
 2  │  3  0  │  ⋅  ⋅  ⋅  │  ⋅  ⋅  ⋅  ⋅
 ───┼────────┼───────────┼────────────
 1  │  2  3  │  0  0  0  │  ⋅  ⋅  ⋅  ⋅
 0  │  1  2  │  3  0  0  │  ⋅  ⋅  ⋅  ⋅
 ───┼────────┼───────────┼────────────
 1  │  0  1  │  2  3  0  │  0  0  0  0
 1  │  0  0  │  1  2  3  │  0  0  0  0
 1  │  0  0  │  0  1  2  │  3  0  0  0
 ───┼────────┼───────────┼────────────
 ⋅  │  1  1  │  0  0  1  │  2  3  0  0
 ⋅  │  1  1  │  0  0  0  │  1  2  3  0
 ⋅  │  1  1  │  0  0  0  │  0  1  2  3
 ⋅  │  1  1  │  0  0  0  │  0  0  1  2

i.e. the block-bandwidths are grown as necessary. I've implemented + and - for combinations of BlockSkylineMatrix and Diagonal, Bidiagonal (upper and lower), Tridiagonal, and SymTridiagonal. It is trivial to add support different BandedMatrices as well, should we want to.

I also added UniformScaling.

BTW, nightly is failing: https://travis-ci.org/github/JuliaMatrices/BlockBandedMatrices.jl/jobs/704067097#L326

Don’t worry about nightly. I’ll get 1.5 working once it’s rc2 as I’m waiting for a backport

Ok, then this PR is good to go from my point of view.


Default log level to debug

Set the default log level to debug so the console will show what it's handling during a demo.

Thanks!


Add category "archives"

Show an "archive" when visiting a folder root. Possibly allow override with index.md as with homepage.

@gilbitron, I don't see where this "archive" category will fit.
Personally, adding an archive feels very much like a blog as opposed to a "single source of truth" set of documentation
Do you feel the project has shifted direction since 2014 where the "archived" category would not be needed?
If it's still desired, please go into more depth on how you'd like to see it function

It is probably quite "bloggy" but might still be useful to have. I imagine it would work like this: If a user visits a folder without an index.md the page would output a list of links to pages within the folder. For example:
http://docs.raneto.com/usage/authentication
If the user visited http://docs.raneto.com/usage just now you get a 404. Instead we would show the list of links in the page content (same links in the sidebar menu).

This would be a great enhancement, this is the main issue that I've noticed, apart from this it's pretty much perfect for a knowledgeable.


Rework windows build/linkage

The windows wheel build and delivery should be reworked to remove the usage of VCPKG.
Reference issue: https://github.com/pybamm-team/PyBaMM/issues/3603

The first part here is to use just one Vcpkg registry instead of two, but if we can remove both at the same time, so be it.
Switching to Meson might have been great here, which would allow us to use git submodules via Meson subprojects to do it.

While we are at it, another thing to do with this is to switch to Clang instead of MSVC

Yeah I am re-working a bunch of the build stuff. I will take care of this one soon


Remove compileStatic annotation.

Remove compileStatic annotation.
It was preventing the keys call in the LdapObject populate method from using the subclass' getKeys method.
CompileStatic was added recently in this commit https://github.com/xh/hoist-core/pull/364/commits/2c85e6ab644d95f53b91d6cd490aa76ff3cac7ad merged in this PR: https://github.com/xh/hoist-core/pull/364
The bug was found by a client using the findGroups method. He noticed that the member key on the retunedLdapGroup result was always null.  The findGroups method is not used in any production code, so this does not require an urgent release.
This does not affect the  DefaultRoleService because it uses the lookupGroupMembers method.

We don't 100% understand this, and it points to something we are doing wrong with static methods in java.
Reverting the change to compilestatic is pragmatic for the quick fix.

I think we ran into the difference between "overriding" normal methods and "hiding" static methods in Java: https://docs.oracle.com/javase/tutorial/java/IandI/override.html

The version of the hidden static method that gets invoked depends on whether it is invoked from the superclass or the subclass.

I had the same thought - that this is likely some kind of code smell here and that there might be a better way to be handling this. I'd like to start using @CompileStatic more, as it does catch several entire classes of bugs that we hit somewhat regularly on our server-side code.
But obviously we need to understand it and how to detect + properly workaround any behavior changes or restrictions it puts in place. Apologies for causing some trouble with the addition on this class, makes sense to pull it back until we can revisit. 👍


mj-social align not working on Outlook 2007 / 2013 / 2016

mj-social should be centered by default
This is working in Outlook 2003 - but with higher versions the social block is left aligned
Using MJML v 3.3.3
MJML (from the doc)
<mj-social
	display="google facebook"
	google-icon-color="#424242"
	facebook-icon-color="#424242"
	facebook-href="My facebook page"
	google-href="My google+ page" />

Hi @Skinwalker
I'm unable to reproduce your issue as you can see it's perfectly aligned in Outlook 2013 and so on :

https://mjml.io/try-it-live/ryOSaE5jW
Might be an issue from your side, try to send your email through putsmail.com to see if it fix it. If so your ESP alter the HTML you send and there's nothing we can do about it.

Same problem as with #814
In my Litmus Previews the Social Icons gets left aligned

Did you check this : https://github.com/mjmlio/mjml/issues/820#issuecomment-332555504
Because no one is able to reproduce your issue here with almost the same setup

Same Problem when sending to litmus through putsmail

See my Litmus Test here: https://litmus.com/pub/5267a00

Found out that im using MJML Version 3.3.2 (version comes from gulp-mjml)
Can this might be the problem?

Problem seems to be this:

where the align attribute is "undefined".
If I enter "center" it's working.
Even when ich copy my MJML into your Live Editor the conditional align is "undefined"
Happens also with the vertical-align attribute of the mj-section conditional code

It shouldn't be an issue, this align should be removed. Can you share the HTML produced from the litmus link ?


add spec for TRUE/FALSE/NIL constants that are no longer defined

Hello 👋
This PR covers

TRUE/FALSE/NIL constants are no longer defined.

from #823
I am uncertain if I found the right file to put the tests, can you please verify.
I hope I got the version guards right this time.
Again, thanks a lot.

@eregon Thanks for the hint. I moved and adopted the specs accordingly.
Right now it is structured like this:
describe "The predefined global constants" do
  describe "TRUE" do
    ruby_version_is "3.0" {}
    ruby_version_is "2.7"..."3.0" {}
  end

  describe "FALSE" do
    ruby_version_is "3.0" {}
    ruby_version_is "2.7"..."3.0" {}
  end

  describe "NIL" do
    ruby_version_is "3.0" {}
    ruby_version_is "2.7"..."3.0" {}
  end

  # ...
end

Would it make sense to do it that way:
describe "The predefined global constants" do
  ruby_version_is "3.0" do
    describe "TRUE" {}
    describe "FALSE" {}
    describe "NIL" {}
  end

  ruby_version_is "2.7"..."3.0" do
    describe "TRUE" {}
    describe "FALSE" {}
    describe "NIL" {}
  end

  # ...
end

Re structure I like it as-is for consistency.
Duplication in specs is not necessarily a bad thing, especially trivial things like guards.


Externalize some configuration elements (task name, outputdir) in Plu…

Allow use to retrieve computed task name and output dir.
(This one has no conflict)

I already merged this and resolved conflicts


python311Packages.dnspython: 2.4.1 -> 2.4.2

Changelog: https://github.com/rthalley/dnspython/blob/v2.4.2/doc/whatsnew.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg build python311Packages.dnspython python310Packages.dnspython python311Packages.aiodiscover python311Packages.celery python311Packages.certipy-ad


[Bug] 星穹铁道背景图片、公告无法加载 / Cannot load background image and notice page of Honkai: Starrail

Description
启动时若在星穹铁道则可正常加载背景，切换至其他游戏或启动时是其他游戏再切回没有正确加载背景。公告无法加载
Reproduction Steps

Expected Behavior
No response
Screenshots

Starward Version
0.9.1-preview.2
Windows Version
22621.2215
Log
[13:01:09.812] [INFO]
Welcome to Starward v0.9.1-preview.2
System: Microsoft Windows NT 10.0.22621.0
Command Line: "C:\Program Files\Starward\app-0.9.1-preview.2\Starward.dll"

[13:01:09.873] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward\data'

[13:01:09.902] [INFO] Starward.Services.DatabaseService
Database version is 6, target version is {DatabaseSqls.Count}.

[13:01:09.971] [INFO] Starward.Pages.MainPage
Select game region is hkrpg_cn

[13:01:09.979] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[13:01:10.584] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[13:01:10.656] [WARN] Starward.Services.GameService
Game uninstalled (hk4e_global)

[13:01:10.656] [WARN] Starward.Services.GameService
Game uninstalled (hk4e_cloud)

[13:01:10.657] [WARN] Starward.Services.GameService
Game uninstalled (hkrpg_global)

[13:01:10.657] [WARN] Starward.Services.GameService
Game uninstalled (bh3_cn)

[13:01:10.657] [WARN] Starward.Services.GameService
Game uninstalled (bh3_global)

[13:01:10.657] [WARN] Starward.Services.GameService
Game uninstalled (bh3_jp)

[13:01:10.658] [WARN] Starward.Services.GameService
Game uninstalled (bh3_kr)

[13:01:10.658] [WARN] Starward.Services.GameService
Game uninstalled (bh3_overseas)

[13:01:10.658] [WARN] Starward.Services.GameService
Game uninstalled (bh3_tw)

[13:01:10.797] [EROR] Starward.Pages.MainPage
Update background image
System.NullReferenceException: Object reference not set to an instance of an object.
   at Starward.Services.LauncherService.GetBackgroundImageAsync(GameBiz gameBiz, Boolean disableCustom) in D:\a\Starward\Starward\src\Starward\Services\LauncherService.cs:line 124
   at Starward.Pages.MainPage.UpdateBackgroundImageAsync(Boolean force) in D:\a\Starward\Starward\src\Starward\Pages\MainPage.xaml.cs:line 583

[13:01:10.800] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)

[13:01:11.186] [INFO] Starward.Services.UpdateService
Current version: "0.9.1-preview.2", latest version: "0.9.1-preview.2", ignore version: null

[13:01:11.754] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[13:01:11.760] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[13:01:11.849] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[13:01:12.523] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[13:01:12.526] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[13:01:12.541] [EROR] Starward.Pages.MainPage
Update background image
System.NullReferenceException: Object reference not set to an instance of an object.
   at Starward.Services.LauncherService.GetBackgroundImageAsync(GameBiz gameBiz, Boolean disableCustom) in D:\a\Starward\Starward\src\Starward\Services\LauncherService.cs:line 124
   at Starward.Pages.MainPage.UpdateBackgroundImageAsync(Boolean force) in D:\a\Starward\Starward\src\Starward\Pages\MainPage.xaml.cs:line 583

[13:01:12.622] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[13:01:14.717] [INFO] Starward.Pages.MainPage
Navigate to "GameNoticesPage" with param hkrpg_cn

[13:01:14.750] [EROR] Starward.Pages.GameNoticesPage
Initialize bg
System.NullReferenceException: Object reference not set to an instance of an object.
   at Starward.Services.LauncherService.GetBackgroundImageAsync(GameBiz gameBiz, Boolean disableCustom) in D:\a\Starward\Starward\src\Starward\Services\LauncherService.cs:line 124
   at Starward.Pages.GameNoticesPage.InitializeBgAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameNoticesPage.xaml.cs:line 74

[13:01:15.496] [EROR] Starward.Pages.GameNoticesPage
Insert bg
System.NullReferenceException: Object reference not set to an instance of an object.
   at Starward.Pages.GameNoticesPage.InsertBgAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameNoticesPage.xaml.cs:line 148

Additional Context
No response

原因是这个 api 中背景图片数据 adv 突然变成了 null，我没有考虑到这个情况（确实也不应该发生这种问题）。
https://api-launcher-static.mihoyo.com/hkrpg_cn/mdk/launcher/api/content?filter_adv=false&key=6KcVuOkbcqjJomjZ&language=zh-cn&launcher_id=33

已在 0.9.1-preview.3 中修复


Namecoin: Fix name wallet command usage

This PR fixes various bugs in the usage of name wallet commands that were introduced by upstream refactors.

I'll merge this if the Travis build (modulo the Regtest job) passes.


Firefox problems

This plugins it seems to have an error on Firefox, at least in my application. I'm using Bootstrap v3.3.2.
This is a piece of my html code:
 <form data-toggle="validator" role="form" class="form">

                Your message

                    <textarea class="form-control" id="message" rows="10" minlength="10" name="message" placeholder="Your message" data-error="At least 10 characters" required></textarea>

                    <button type="submit" class=" btn btn-primary">  Send</button>

        </form>

Problem was solved by using regular expressions.

accroding to documentation the attribute should be named data-minlength instead of minlength


Minor correction to websocketsClient

Extra "s" was removed.
wss://localhost:8484 and wss://raspberrypi.local:8484 changed to ws://

Hi @AndreMaz actually the extra "s" stands for secure, so it should be there if you run the WoT server in secure mode (suggested option).


In the exported isolate table, distinguish between "not tested" (-), "not resistant" (0) and "resistant" (1) AMRs.

Issue moved to SiLeBAT/zoonotify-server #133 via ZenHub


@fannnzhang is the issues similar to this? #45217

          > @fannnzhang is the issues similar to this? #45217

I think it doesn't seem to be the case. There are quite a few memory leaks in the current new version. So far, I have discovered at least two. One is related to this PR, and the other is in the call chain of FabricUIManager, where a reference to the Activity is held and not released. I will take some time to organize this issue further and might raise an issue and a PR for it later.
Originally posted by @fannnzhang in https://github.com/facebook/react-native/issues/45261#issuecomment-2213159253

Closing this and I'd let @fannnzhang open a proper issue with reproducer once he's ready


What to return if a collection is empty?

What should be returned when an empty collection is queried?
a hash with an empty array?
example 1
GET /photos

HTTP/1.1 200 OK
Content-Type: application/json

{
  "photos": []
}

example 2
GET /photos

HTTP/1.1 200 OK
Content-Type: application/json

{
  "photos": [],
  "meta": {
    "client-ids": true
  }
}

or an empty hash?
example 3:
HTTP/1.1 200 OK
Content-Type: application/json

{}

example 4:
HTTP/1.1 200 OK
Content-Type: application/json

{
  "meta": {
    "client-ids": true
  }
}

I think a hash with an empty array is probably less likely to cause surprises and would be happy to provide a patch if you agree.

I believe this is all clarified in the spec as of #341 (RC2)


automatically cleanup virtualenv on keyboard interrupt

Thanks for your first GitHub contribution! This is a great improvement.
💫✨🍰✨💫

Waiting for tests to pass, then will merge.


Adding support for JDBC

Description

Initial code of JDBC driver
Uses native java client to execute queries

Anything remaining for this PR to be merged?

We can merge it. There are few things in parser that needs to be fixed. But independent of this PR.


Version 0.7.4 is not working well in window 7 64bit

I use it like this way : F:\createjs\easejs\EaselJS-master\examples>http-server
but when i enter the link in my browser like this : localhost:8080
it does not work well , and show the information : Invalid forward slash character
(i think it should list all the files/folders in current path)
i do not know the reason , so i using the version 0.7.0 now , it seems work well.

I have the same issue on Windows 8 (64 bit). It seems going to http://localhost:8080 will result in
Error: Invalid forward slash character

But, going to http://localhost:8080/index.html will work.
To run my site,  I do the following:
> http-server D:\my-site

Within that directory I have: index.html, style.css

I just hit this also.  I believe I tracked this down to an issue in the "ecstatic" package.  I have a pull request out that fixes the issue for me ( https://github.com/jfhbrook/node-ecstatic/pull/131 ).  It's a very simply fix you could apply manually to see if this resolves the issue for you.
Note the package dependency will need the version updated if/when the ecstatic packge is fixed and published, as it's currently snapped to an older version in the package.json.

I have windows 7 64 and tried to use http-server 0.74, cos I already had node, but when browsing localhost:8080, instead of compiling the html, it downloads the html file, that I can open then but browser opens this: file:///C:/Users/gabriel/AppData/Local/Temp/AaWmhRTR
I guess I will have to install ngninx :(


[lit-next] cache fails to remove DOM if it's the last node in a container

If the cached part is the last node in a container
html`<div>${cache(v)}</div>`

then if the part DOM should be removed, it is not. This is because we don't correctly detect a "move to a new parent." To fix this, we could add a parent check in the move code. However, this would fail because when the part is moved, the parent is not updated.
To address this, if the part is moved (1) the parent chain needs to be updated and (2) the implications for the "connection state" should be separate from that. This suggests that we should not have connected/reconnected but instead activate/deactivate and the user can just decide what that state is. So, for example, in cache, the container cache part could be set to be inactive.

There is a failing test related to this issue in #1525.

There is a failing test related to this issue in #1525.

Fixed via #1536.

Fixed via #1536.


raftstore: report has_commit_merge in unsafe recovery

Signed-off-by: v01dstar<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #12627
What's Changed:

Include `has_commit_merge` info in the store report

Related changes

N/A

Check List
Tests

Integration test
Side effects

Performance regression
N/A

Breaking backward compatibility
N/A

Release note
None

/merge

/test

/merge

/test

/merge

/test

/test

/test

/test

/test


Replace mkdirp with fs-extra usage

As a part of #130

Coverage decreased (-0.003%) to 94.39% when pulling 4ecf5e1cbdea43d98bf9b7b4d2d5ef34401429cb on mkdirp-to-fs-extra into 9aad592e6e3d122a64e674b68fb3c565c1855e7f on master.

Coverage decreased (-0.007%) to 94.387% when pulling 432557714a677bc078b809ba958173679493fd58 on mkdirp-to-fs-extra into 9aad592e6e3d122a64e674b68fb3c565c1855e7f on master.

Looks good!


getting error while bootstraping the node or in knife node list

bootstraping process:

copy the ec2(node) pem file  to your chef-repo folder
knife bootstrap nodeipaddress -U username -i pemfilepath -N nodename/nodeprivatedns --sudo
goto chef server and check your node is added or not, if the node is added successfully
knife node list command display  the nodes added by chef server


Fix console errors/warnings

This replaces #446 and fixes the errors in the debug console:

Unable to preventDefault inside passive event listener
Some three js warnings

fyi @dudv

Thanks for your review!


Rebased version of "Implementation of equality for the Settings class"

This is a rebased version of #464, presented as a single commit.
Trying the merge/rebase locally was causing sufficiently many issues/merge conflicts for Git that I just did it by hand rather than trust GitHub to get it right. Diff is now identical to the previous PR, save one typo which I fixed. (Still had one reference to anInstance floating around; I corrected to an_instance.)

want to go ahead and add a changelog entry for this?

Done.

@alexwlchan :heart: You're my hero. When the builds go green I'll merge.

🍏


Water Wheel Crashing

Describe the Bug
Whenever me or my friend break a water wheel or place it down or do anything with it, it crashes the game and sometimes the launcher
Reproduction Steps

Place It down/Break it/Interact with it in anyways
Thats it, dont know what else to say

...
Expected Result
We can break the water wheel
Screenshots and Videos
https://www.youtube.com/watch?v=uSilcvXNy04&feature=youtu.be
Crash Report or Log
https://pastebin.com/ZW1gisH4
Operating System
Windows 11
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods

Additional Context
No response

0.4.1 is very old and unsupported, update to newer create


Ensure module lists are sorted by name

On the development version of the packages page, we currently have:

but:

The apparent reason is that in http://package.elm-lang.org/packages/elm-lang/core/2.1.0/documentation.json the modules are stored in alphabetic order, whereas in the corresponding version for 3.0.0 on the development server, there is no such order.
It does make sense to not make any assumptions on the order in documentation.json and instead simply do a sort (on the module names as key) after reading that file in.

Actually, this also affects the current production version of the page. See, for example, http://package.elm-lang.org/packages/Apanatshka/elm-signal-extra/5.6.0. Probably already in 0.15 or 0.15.1 the elm-package publish step stopped sorting the modules by name in documentation.json. But then the reader of that file should do a sort before showing the module list on screen.
This pull request achieves this for old and upcoming documentation.

I was wondering why that was happening!
I'd like to continue on my fork, so I'm not sure it makes sense to merge this. Just wanted to say "thanks for tracking this down!" for now. I was not sure what the deal was.


aiopg/aiomysql as optional dependecies

Right now when installing peewee-async, aiopg/aiomysql has to be added as my project dependency, which can be confusing. I have to wonder if someone added it and forgot to use it or some external (peewee-async) lib uses it. I would expect I can just:
install_requires=[
        'peewee-async[aiopg]==0.5.7',
],

which I feel is the correct way to go with optional dependencies.

Thank you @bmlis, sounds reasonable, I'll add such dependencies for convince.


feat: add sbom generation to jx-pipeline

Signed-off-by: ankitm123<EMAIL_ADDRESS>

/approve


Enable skipped tests in test_audio_functionality

This doesn't require any changes from #2525? What is the result of running this test suite with these changes?

Right now on the #2525 branch I see 6 test failures that look like requires changes on the TF side, rather than the test. I propose letting the tests be active and if changes are needed to made to the tests, we can do it in a separate PR after #2525 is complete and merged.

If stuff shouldn't be skipped any more, I think we should just delete those lines of code rather than comment them out.

If the tests you're un-skipping are failing, they need to be marked xfail instead of skipped.

And to be clear, this PR should reflect the test state on master, not with #2525. That PR should update the tests accordingly, after this goes in

I don't think we need this PR anymore. I think @TobyRoseman already enabled the skipped tests in #2535 which is now in master.

Tests working. Skipping no longer needed.


Use newly added constants from github.com/sorcix/irc.

Got these in upstream, better to use them from there.

thanks! :+1:


when calling https on locahost I get "Cannot read property 'status' of undefined"

Hi,
here is my test code:
var request = require('supertest');
describe("test", function () {
  it("should pass", function (done) {
    request("https://localhost:8443")
      .post("/path")
      .send({})
      .expect(200)
      .expect({status: 'success'}, done);
  });
});

when I run it get the error:
TypeError: Cannot read property 'status' of undefined
      at Test._assertStatus (node_modules/supertest/lib/test.js:247:10)
      at Test._assertFunction (node_modules/supertest/lib/test.js:265:11)
      at Test.assert (node_modules/supertest/lib/test.js:153:18)
      at assert (node_modules/supertest/lib/test.js:131:12)
      at node_modules/supertest/lib/test.js:128:5
      at Test.Request.callback (node_modules/superagent/lib/node/index.js:587:12)
      at ClientRequest.<anonymous> (node_modules/superagent/lib/node/index.js:539:10)
      at TLSSocket.socketErrorListener (_http_client.js:306:9)
      at emitErrorNT (net.js:1272:8)
      at _combinedTickCallback (internal/process/next_tick.js:74:11)
      at process._tickCallback (internal/process/next_tick.js:98:9)

while with curl I get a valid answer:
curl -d "" https://localhost:8443/path -k

the answer:
{"status":"success"}%

any idea what am I doing wrong?
btw - I'm using latest version (2.0.0)
thanks.

+1

+1

Putting process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; before the test solved it for me.
I'll create a pull request to add it to the docs.

@royts do you want to upgrade to 2.0.1 and see if that resolves the issue?

+1
Having same issue after upgrading from 1.0.1 to 2.0.1 without any code changes.
Neither NODE_TLS_REJECT_UNAUTHORIZED nor 2.0.1 helps.

+1
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' does does help.
at Test.< anonymous > (src/xxxxx.js:81:29)
at Test.assert (node_modules/supertest/lib/test.js:156:6)
at assert (node_modules/supertest/lib/test.js:127:12)
at node_modules/supertest/lib/test.js:124:5
at Test.Request.callback (node_modules/superagent/lib/node/index.js:687:12)
at ClientRequest. (node_modules/superagent/lib/node/index.js:639:10)
at TLSSocket.socketErrorListener (_http_client.js:265:9)
at connectErrorNT (net.js:996:8)

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

Fixed it for me, thanks! Maybe SSL could be a boolean option passed in somewhere?

https://github.com/visionmedia/supertest/pull/446 should help reveal the underlying error here.

V3.1.0 has been published which includes #446 to solve handling for this error case.


TIM-151 fix(search): pfp on search results

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#106  👈
#105
#104
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite


[Model Request] mistralai/Mixtral-8x7B-Instruct-v0.1

⚙  Request New Models

Link to an existing implementation (e.g. Hugging Face/Github): https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1
Is this model architecture supported by MLC-LLM? I am not sure, I know you support Mistral but this is a MoE which may be a first

I think @vinx13 already got it working nicely. What's our timeline getting it merged?

There's a prototype in my branch https://github.com/vinx13/mlc-llm/tree/moe https://github.com/vinx13/tvm/tree/moe. Once cleaned up and have quantization refactored we can upstream it

Nice, will there be a Vulkan binary lib (.so)? Mistral-7B didn't have one...

Bumping on this, Any status update?

It has been added to SLM flow. More performance optimizations will come soon
https://github.com/mlc-ai/mlc-llm/tree/main/python/mlc_chat/model/mixtral


[GUI] A blank page appears when user clicks on 'manage firmware'

A blank page appears when user clicks on 'manage firmware' in template management

After I delete a template and create another one with same name this error began to happen.  I'm not able to reproduce this again.
Console in Chrome:

Console in Firefox:

Ticket analysis meeting (April, 3rd): Investigate.

It worked here when I reproduced (version 0.6).


TypeError: list indices must be integers, not str

Hi!
I am trying to test out the get-leaf-info.py script, by I keep getting this message. Any idea what might be causing it? Most of the info output seems fine (line VIN, mail etc.) I'm using the latest git code.

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gdcportalgw.its-mo.com
DEBUG:urllib3.connectionpool:https://gdcportalgw.its-mo.com:443 "POST /gworchest_160803A/gdc/BatteryStatusRecordsRequest.php HTTP/1.1" 200 None
DEBUG:pycarwings2.pycarwings2:Response HTTP Status Code: 200
DEBUG:pycarwings2.pycarwings2:Response HTTP Response Body: {"status":200,"BatteryStatusRecords":[]}
Traceback (most recent call last):
File "./get-leaf-info.py", line 28, in
leaf_info = l.get_latest_battery_status()
File "/usr/local/lib/python2.7/dist-packages/pycarwings2/pycarwings2.py", line 372, in get_latest_battery_status
return CarwingsLatestBatteryStatusResponse(response)
File "/usr/local/lib/python2.7/dist-packages/pycarwings2/responses.py", line 514, in init
bs = recs["BatteryStatus"]
TypeError: list indices must be integers, not str

I've updated get-leaf-info.py in my repo.  It now checks if the server date changes as well as checking if a response is received.  Do you get the same issues here?
Please note I'm not really testing on python2, but welcome checks/fixes.


Uncraftable Saws

https://github.com/GreateBeyondTheHorizon/Greate/blob/d94c161c3d5c286893c13ea82003c5776fccb9bf/src/main/java/electrolyte/greate/foundation/data/recipe/GreateRecipes.java#L92
CONVEYOR/MOTORs aren't supplied by GTCEU at ULV and UHV tiers, and result in invalid recipes for Andesite and Neutronium saws.
[14:25:19] [KubeJS Recipe Event Worker 0/WARN] [KubeJS Server/]: Error parsing recipe greate:shaped/andesite_alloy_mechanical_saw[minecraft:crafting_shaped]: {"type":"minecraft:crafting_shaped","pattern":["MHE","CSC"],"key":{"H":{"item":"gtceu:ulv_machine_hull"},"C":{"tag":"gtceu:circuits/ulv"},"S":{"item":"create:shaft"}},"result":{"item":"create:mechanical_saw","count":1}}: Pattern references symbol 'M' but it's not defined in the key
[14:25:19] [KubeJS Recipe Event Worker 0/WARN] [KubeJS Server/]: Error parsing recipe greate:shaped/neutronium_mechanical_saw[minecraft:crafting_shaped]: {"type":"minecraft:crafting_shaped","pattern":["MHE","CSC"],"key":{"H":{"item":"gtceu:uhv_machine_hull"},"C":{"tag":"gtceu:circuits/uhv"},"S":{"item":"greate:neutronium_shaft"}},"result":{"item":"greate:neutronium_mechanical_saw"}}: Pattern references symbol 'M' but it's not defined in the key

As for UHV conveyors/electric motors, you'll have to add a recipe yourself, as GT does not have one by default.


allow late migration

Proposal to allow tokens to be migrated after the lockup period, in order to let us decouple the lockup period from 100% of token holders migrating.

yeah i wasn't sure if we needed that event at all but i wanted to match the tests


variant-ghost-error not displaying the color

Current Behavior
I have an element with the following classes: "card text-center variant-ghost-error"
and its fine if I just touched the code, but after a few clicks and navigation this card looses its colour.
Note that I'm adding the -error part dynamically in code. I suspect it could just be svelte loosing context or something.
Expected Behavior
the red color shows up all the time.
Steps To Reproduce

			{#each Object.entries(services) as [title, {icon, tags, state}]}

 drawerStore.open({id: title, tags})}
					on:keydown={_ => drawerStore.open({id: title, tags})}
					class={'card p-4 hover:ring-surface-500/50 cursor-pointer space-y-4 hover:scale-105 transition-transform' + (state ? ' variant-ghost-' + state : '')}>
					{title}
					{#each tags as {tag, status}}
						<p class={`card text-center variant-ghost-${status}`}>{tag}

					{/each}

			{/each}

Link to Reproduction / Stackblitz
No response
More Information
I'm actually exporting the services variable and using it like so:
<Component services={someLetVariable} />

Tailwind doesn't support constructing class names dynamically.
https://tailwindcss.com/docs/content-configuration#dynamic-class-names
something like this should work for you:
{state === 'success' ?  'variant-ghost-success' : 'variant-ghost-error' }

Yep as @Mahmoud-zino mentioned, it's a limitation of how Tailwind works. His solution is the technique we use for this sort of thing within our features. It should do the trick!

@adminy you're seeing a bit of a red herring - if that class is used in other parts of your application then the Tailwind compiler will bundle that class. But if your only instance of the class is dynamically generated then it will be "missed" and won't be included in the bundle, meaning it won't work. So my guess is you used that class somewhere else in your app - which is why it worked. But definitely not a safe way to go about this!

:o You are correct. This is strange way to optimise class usage detection I guess. I can see a lot of use cases especially for colours where users will do intensity based on some variable, but I see that they also let you tell the compiler to load certain classes anyways, which is nice.
I'm quite new to tailwind, jumped from bulma sass where classes can be extended with @extend syntax making it really difficult in some cases to programatically address a class since its only useful information for the compiler and you can't really make use of it. But here you rely on the apply feature to group classes together, not sure if it behaves the same way as the extend yet. where you can't do a querySelector for a class that's being selected. On the other hand I understand that that is bad practice for the svelte compiler. Tricky treads everywhere with everything ever so slightly loosing touch with how the dom really behaves under the hood.

Yeah, there's some odd quirks like this that aren't immediately obvious, but a lot of it is covered in their docs.
I think their primary thing is they are aiming to boil down the final stylesheet to only the classes they detect you're using. Which is a good optimization, but causes situations like this.
Per @apply - it's honestly kind of considered bad practice to use unless you know what you're doing. It's like a sharp knife - very useful when used properly, but easy to cut yourself on. They provide some docs on this here:
https://tailwindcss.com/docs/reusing-styles#extracting-classes-with-apply
Our use of it is technically outside of their recommendation, but we're making some changes to our plugin in v2 that might help work around some of this. Still very much a work in progress, but early testing is promising.

Thanks for linking the page. Its good to learn about apply and I agree with all the points made why not to use it. honestly I'm quite happy with as little to no css files if at all possible. Its a fresh way of looking at designing pages. its like doing everything with shell commands instead of scripting it with python or js. you get the huge advantage of not needing to install an interpreter in the first place. same here with not having to remember which css files where has which class names.
I'm curious about the upcoming changes, please tag me whenever they land.

We actually disclose progress publicly through our roadmap here:
https://github.com/skeletonlabs/skeleton/discussions/1367


Code cleanup: Remove unused imports

Remove unused imports which contribute nothing to the code, and just take up screen real estate.

Coverage increased (+0.006%) to 90.709% when pulling 2d14b517c3beaeaa6766ede9f14cffa416cfeb52 on mureinik:imports into 450dadfd59a442eed6db0080ff30727836fdf97c on apache:master.


Custom Properties not Readable or Writable

Background:
The AzureServiceBus provides adding additional information for message called CustomProperties (some refer to it as Message Header, the java sdk com.azure.azure-messaging-servicebus refers to it as application properties).
See official documentation
At the moment the Purple Explorer is not able to read those when reading a message or to send them when creating a new message to a queue or topic.
The goal is to add the functionality to

read the custom properties of a messsage inside a queue or topic
Add additional custom properties when creating a new message at a queue or topic

Hi @landkommunenhippie
Is there specific properties you have in mind? OR the ability to work with properties in general?

I would like to work with properties in general.
In my experience any properties can be added here freely.
I already had a look in the code but was not able to dive deeper at the moment.

Properties are heavily used in some scenarios. In example, imagine a pubsub where you publish information about factories in a topic. Some subscribers will be interested in the messages for all factories , but others will only be interested in the messages related to a particular factory. This is commonly done by adding a property with the factory name and using SQL or correlational filters in the subscription to receive only the desired messages.