darwin: python: sphinx build fails for python 3.4

Building python34Packages.sphinx fail in darwin sandbox,
because setlocale call required for passing all tests fail, possibly to checking impure locale paths:
1.11.2015 5.02.42,000 kernel[0]: Sandbox: python3.5m(67569) deny(1) file-read-metadata /usr/share/locale/en_US.UTF-8/LC_COLLATE
1.11.2015 5.02.42,000 kernel[0]: Sandbox: python3.5m(67569) deny(1) file-read-metadata /usr/share/locale/en_US.UTF-8/LC_CTYPE

Do you know whether this has been solved? We really need CI of Python packages again.

No, unfortunately. I haven't been using much Nix on OS X since I moved to NixOS :(

Sphinx now succeeds for me on macOS.


channels 1 and 2 of HmIP-SMI and HmIP-SPI not shown in room and device overview

Describe the bug
since FW 3.55.5 from 26.12.2020 channels 1 and 2 from HmIP-SMI and HmIP-SPI are not shown in
room and device overview.
Steps to reproduce the behavior

...
...
...
...

Expected behavior
...
Screenshots

System information:

RaspberryMatic Version: <IP_ADDRESS>10213
Used Hardware: Raspberry Pi4
Used HomeMatic RF-Module: ...

Additional context
...

This isn't a general problem/issue but must be related to your own installation only. See here:

This is with <IP_ADDRESS>10213. Please also check the browser console for any potential javascript errors. However, I still think that re-teaching the device might help to get the channels back.


Port to SpiDev

It’s maybe good to use SPIDEV instead of SPI-Py.
See https://github.com/mxgxw/MFRC522-python/issues/31
As long as I am aware of (I am not a pro), SpiDev is more popular than SPI-Py.
It doesn’t make much sense in my setup to run two different SPI lib, since it may cause compatibility issues.

I tried and succeeded. Will probably open a PR soon ;)

Not sure of the root cause of https://github.com/mxgxw/MFRC522-python/issues/21 yet, but I had the same problem (reader stops registering new cards after some time).
Leaving a card on the reader over night (2 second reading interval) resulted in continuous reads throughout. Next test is seeing if cards still register after a prolonged period of no activity.

Nice, the driver seems to work robustly with spidev. A couple hours of inactivity did not result in an unresponsive device anymore.


Better DESC extraction

Current implimentation fails for sample below DESC, since the attribute will cause raw_string.startswith("<DESC>") to fail
<DESC TI="some_attribute_value">some value <p> other value</p> end</DESC>

Solution based on https://stackoverflow.com/a/3446055/1438522

nice! thanks for the contribution :)


Add 9 discovered appcasts

all appcast urls have been stable for at least 7 days

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[X] brew cask audit --download {{cask_file}} is error-free.
[X] brew cask style --fix {{cask_file}} reports no offenses.
[X] The commit message includes the cask’s name and version.

This one is odd:
audit for hiarcs-chess-explorer: failed
 - exception while auditing hiarcs-chess-explorer: invalid byte sequence in UTF-8

On my side it works fine. Any advice?
$ brew cask audit hiarcs-chess-explorer --download
==> Downloading http://www.hiarcs.com/mhce/HIARCS-Chess-Explorer-Installer-v1.9.1.pkg
Already downloaded: /Users/dunnc/Library/Caches/Homebrew/Cask/hiarcs-chess-explorer--1.9.1.pkg
==> Verifying checksum for Cask hiarcs-chess-explorer
audit for hiarcs-chess-explorer: passed

I can reproduce the error. It’s the brew cask _appcast_checkpoint --calculate http://www.hiarcs.com/mac-chess-explorer.htm that does it.

Well damn, doesn't for me:
$ brew cask _appcast_checkpoint --calculate http://www.hiarcs.com/mac-chess-explorer.htm
4d2bb8ad7cfb48c48d6051f91bb9b524023f378690ee7e6166f8dc4e2e07a5b5

I'll just remove that one


SUM table alias alias is wrong

$totalsale = $db->SUM("order_header", "order_total(a)", [ 	"AND" => [ 		"branch_code" => "FRKH001", 		"order_status" => 0, 		"end_date[<>]" => ['2018-12-01', '2019-01-11'], 	], ]); echo $db->last();
Result
SELECT SUM(order_totalASa) FROM order_header WHERE (branch_code= 'FRKH001' ANDorder_status = 0 AND (end_date BETWEEN '2018-12-01' AND '2019-01-11'))
Thank For Help.

The sum() will return the value of total number. Why you need to use alias for that?

Some cases of my work. I have to set the variable In order to match the work of the customer.
Now, I solved the problem by using $db->query
Thankz catfan.
Medoo is the best.

@deawx You may consider using raw object for this case.
https://medoo.in/api/raw
The first example code provided how to use with sum() for select() just right.

Thank you very much catfan.


checkbox button (outlined) doesnt seem to function correctly on iOS

Prerequisites

[X] I have searched for duplicate or closed issues
[x] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I have used checkbox buttons to select a bunch of flags on my website and it seems to work ok on Windows 10 and Linux browsers but it doesnt seem to work correctly on iOS devices (ipad and iphone). I've tried Safari and Chrome on iOS and both appear to be the same

Click the button first time and the button is selected i.e. the background colour changes
Click the button a 2nd time (to unselect it) and on ios it remains selected but on anything else it becomes unselected i.e. the background goes back to being clear (which is what expect)

Reduced test cases
http://mandell.org.uk/tester.html
What operating system(s) are you seeing the problem on?
iOS
What browser(s) are you seeing the problem on?
Safari and Chrome
What version of Bootstrap are you using?
v5.0

Same problem on Android

worked around the issue

it was a while ago, but I think I did something with putting the checkbox inside the label, here's some of my code (php), it gave me what I needed
echo "
\n";
    echo    "
\n";
    $items = $data['nose']['primary'][$tag];
    foreach ($items as $item) {
        echo "{$item['attr_name']}\n";
        echo "<input type='checkbox' class='form-check-input' name='nose-primary' id='{$item['html_id']}' value='{$item['html_id']}'>\n";
        echo "\n";
    }

    echo    "
\n";
    echo  "
\n";


UI polishing

The UI has been done over the last months but lacks consistency and could use some polishing.

[x] Bug with logo in safari
[ ] Bug with input padding with long prefix
[ ] "Write something" placeholder should be changed when not possible to edit and the click should trigger edit mode if possible


dockerd command not working

I'm trying to run the powershell script, but I get an error at the dockerd --register-service command.
Program 'dockerd.exe' failed to run: This function is not supported on this system.
+ CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
I am using IOT Core 17134.
How can I install the edge/docker containers?

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

ID: 14fb91f8-c4c9-c18c-0547-e6c9822a836f
Version Independent ID: dd7c9e62-a637-91ae-ec26-d3ea5e4879e9
Content: Install Azure IoT Edge on IoT Core
Content Source: articles/iot-edge/how-to-install-iot-core.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@sovanny Thanks for the feedback. We are actively investigating and will get back to you soon.

@Mike-Ubezzi-MSFT I had made the mistake of trying to install on an incompatible device, I'm sorry my bad.
However I am now trying to install on a x64-based device ( an Intel NUC NUC6CAYH to be precise) , and have the 16299 image (APL BSP) installed, and I got to the next step. start-service docker seemingly runs fine, but on a closer inspection the service is not started. I run the start-service docker command again and get the following error:
start-service : Failed to start service 'Docker Engine (docker)'.
    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
   ServiceCommandException
    + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand

What could I be doing wrong this time?

@sovanny I am trying to track down a board so that I can reproduce this; assist you with this issue.

@sovanny Is any log output generated? Can you type: docker logs -f  and is there anything possibly logged as output?

Any docker command will give:
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v
1.23/containers/json: open //./pipe/docker_engine: The system cannot
find the file specified.
The docker service is not running and can't be started when I try to start
it.
2018-06-19 2:08 GMT+02:00 Mike Ubezzi<EMAIL_ADDRESS>
@sovanny https://github.com/sovanny Is any log output generated? Can
you type: docker logs -f and is there anything possibly logged as output?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/10215#issuecomment-398233319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF1KmGFMZnphNj1_b9BBqfOmfhs7YzzKks5t-EDogaJpZM4UoH4l
.

@sergaz-msft Do you have any insight to this?

@sovanny This article walks through provisioning the run-time on a MinnowBoard Turbot development board running Windows IoT Core. Windows IoT Core supports Azure IoT Edge only on Intel x64-based processors. IT appears you are running an x64-based processor.
You may submit this as an issue to the IoT product group: Common issues and resolutions for Azure IoT Edge
You can track down the appropriate board: Find your IoT device
Please let me know if you have any additional questions.
Regards,
MIke

@sovanny We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Make tf.random_uniform([0], maxval=0, dtype=tf.int32) not crash

For integers, tf.random_uniform enforces a nonempty range with minval < maxval.  However, an empty range is fine if we're producing no output values, and this degenerate case occurs naturally for some code patterns.
Thus, tf.random_uniform now allows empty ranges for integer random numbers if the output shape is empty.

I believe the Windows failure is unrelated.

The windows bazel error looks real.  Could it be related?
ERROR: T:/src/github/tensorflow/tensorflow/contrib/resampler/BUILD:51:1: C++ compilation of rule '//tensorflow/contrib/resampler:python/ops/_resampler_ops_gpu' failed (Exit 2): msvc_wrapper_for_nvcc.bat failed: error executing command
  cd T:/tmp/bigvaudl/execroot/org_tensorflow

Nevermind; I'm seeing it on other builds too.

Does it need some sort of ready-to-merge label?

Looks like this never got merged due to the failing unrelated tests.  I rebased and pushed in hopes that the tests will now pass.  As a meta question: why did merging stall for this PR and how can I prevent that in future?

Add tags force kokoro and merge when tests are done
On Tue, Sep 18, 2018, 8:00 AM Geoffrey Irving<EMAIL_ADDRESS>wrote:

Looks like this never got merged, possibly due to the failing unrelated
tests. I rebased and pushed in hopes that the tests will now pass. As a
meta question: why did merging stall for this PR and how can I prevent that
in future?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22147#issuecomment-422428207,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim32NbVhW2J-k5F7CE5D2i4szW4C5ks5ucQqbgaJpZM4WfGC1
.

(if you cant set tags; then ask the assignee to ping the on-call)
On Tue, Sep 18, 2018 at 9:00 AM, ebrevdo<EMAIL_ADDRESS>wrote:

Add tags force kokoro and merge when tests are done
On Tue, Sep 18, 2018, 8:00 AM Geoffrey Irving<EMAIL_ADDRESS>wrote:

Looks like this never got merged, possibly due to the failing unrelated
tests. I rebased and pushed in hopes that the tests will now pass. As a
meta question: why did merging stall for this PR and how can I prevent
that
in future?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<https://github.com/tensorflow/tensorflow/pull/
22147#issuecomment-422428207>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABtim32NbVhW2J-
k5F7CE5D2i4szW4C5ks5ucQqbgaJpZM4WfGC1>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22147#issuecomment-422449446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtimyAsCuWn3CKKm7X_sjc8azu533PBks5ucRi2gaJpZM4WfGC1
.

The failure is test
ExhaustiveF32ElementwiseOpTestInstance/ExhaustiveF32ElementwiseOpTest.LogF32/64.
I doubt it's related.  If it is we'll check it out internally.  Let's push
this one.
On Tue, Sep 18, 2018 at 9:28 AM, Geoffrey Irving<EMAIL_ADDRESS>wrote:

@ebrevdo https://github.com/ebrevdo XLA test still fails in I think the
same way. Can you check whether that failure shows up in other builds as
well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22147#issuecomment-422458512,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtimwKcxzUfrq7nRoj0PjX-Xt5iuA8Zks5ucR8hgaJpZM4WfGC1
.

@ebrevdo Looks like I'm not authorized to merge.

Yes; I'm finding the oncall now :)
On Tue, Sep 18, 2018 at 10:02 AM, Geoffrey Irving<EMAIL_ADDRESS>wrote:

@ebrevdo https://github.com/ebrevdo Looks like I'm not authorized to
merge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22147#issuecomment-422470992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim2uMUmGbPxKFn545-Fzd-mIQarzpks5ucScugaJpZM4WfGC1
.

Thank you!
On Fri, Sep 21, 2018 at 1:42 PM, TensorFlow Copybara <
<EMAIL_ADDRESS>wrote:

Merged #22147 https://github.com/tensorflow/tensorflow/pull/22147 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22147#event-1861117002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim2A_vlHHuniz0KPikybFBDV0zY3Lks5udU9HgaJpZM4WfGC1
.


Add constraints and service_portal api mustache template for routes

Add Constraints and Preload them via initializers.
Add new routes.mustache template in a new directory `swagger-codegen-templates'
Apply new Constraints to the reconfigured routes file.
Pull out / vs /r/insights code and allow for manual configuration for dev env testing

@mkanoor, @hsong-rh please review.

LGTM 👍

@Fryguy @gmcculloug
After talking with QE team the consensus was that the base path is a highly configurable parameter for different environments (production, test, local) and should be set by the caller.


only eng?

hi, how to switch language in this component?

In my fork, I've collected text in StringConstants.[lang].cs file. For example StringConstants.zh-TW.cs.
It's far from perfect, but I think it's easy to modify this single file for your target language.

In the fork of @VPKSoft, we added support for localization using normal .resx files, see https://github.com/VPKSoft/ScintillaNET-FindReplaceDialog/pull/3 and https://github.com/VPKSoft/ScintillaNET-FindReplaceDialog/pull/5.
@huanlin maybe you want to convert your zh-Hant translation to that and submit a PR there?


Run Name is cut short in the Runs Table - Single Dataset Page

Bug description: When run names are long, the title gets cutoff because the column width is too narrow
Expected Result: wider column to decrease likelihood of the run name getting cutoff

Link: https://cryoetdataportal.czscience.com/datasets/10004

@junxini @manasaV3 @codemonkey800 @kne42
Here is the updated spec for the runs table spacing (just frame 1.10 Min/Max sizing, it's marked for this ticket/ready for dev):
https://www.figma.com/file/0UT1iyRVRkIdH4qLfh8JDd/3---Single-Dataset?type=design&node-id=94%3A9403&mode=dev

The pink text with "update" in bold at the end are the changes from the original spec.

Run Column:

Remove max width
changed min width to 400px
defined Run name text wrap up to max content height (100px), then overflow

Button Column:

Add 300px max width

These changes favor more space for the run name to minimize instances of cut-off. Some run tables will have a large gap of space because they are short, but I think as a stop gap to a better overflow solution, its better to have too much space than important info being cut off.

Let me know if there are any questions or concerns!


Split to modules

Move akka-http and swagger to submodules
Also get rid of akka http domain types in the swagger

Fixed in #30


Call a Java functions from duktape

It would be useful to be able to call native Java/Android functions from within JavaScript, similar to how Rhino allows importing native functions.
For my specific case there is no need to implement full support for conversion between Java and JS objects, it would be enough to just be able to call a function with primitive arguments like double, String, int.

I was messing with this a while ago. I wrote an API but not an implementation :grinning:
interface Math {
  int add(int one, int two);
}

// Bind a JS object to Java API.
Math math = duktape.proxy("math", Math.class);

class Listener {
  void onSomething(String result) {
    System.out.println(result);
  }
}

// Bind a Java instance to a JS object.
duktape.bind("listener", new Listener());

This looks quite fun.

That looks awesome! And much simpler than the API of Rhino.

Any news on this?

I'm hoping to get to this soon, likely in the next week or two.

That's good news, thanks for the update!

This has been implemented!

Ah, that's cool! Thanks. Going to give it a try soon.
I found some example usages in the unit tests, looks easy to use. A bit of docs/examples would be welcome though.

Absolutely, I'm updating the README next..

I just fiddled around with this new feature, it works great, also gives back useful error stack traces. I really love the minimalist interface. Thanks!
Just as a side note: I worked a lot with rhino, which supports not only primitives but also passing Java classes as arguments and return types. In practice this works really painful though, and we ended up passing objects as stringified JSON. So... please just stick to support for primitives :).
One question: what is the reason that you only support a class interface? It would be convenient if you can also just pass a class I think.

We use an interface to discourage users from passing arbitrary types like ArrayList or BigInteger. We want the types shared between Java and JavaScript to be designed specifically for that purpose.

That makes sense, thanks for the explanation.


2D Follow up: Sample code

After this lands:

https://github.com/flutter/flutter/pull/125437

add a lot sample code.
In particular:

Custom paint point plotter (with hover widget builder)

see this comment in the design doc

DiagonalDragBehavior

nice interactive sample for different options

Basic grid

Hey @Piinks - I apologize for the direct ping here, but I re-watched your preview video for the 2D Scrolling widgets from a few months back where you mentioned this GH project and wanted to try and get in touch.
My company is building a tool (pieces.app) that requires rendering large and small code snippets in a code editor. Of course, this is a major use case for 2D scrolling, so I'm super excited to use your tools when they become available.
I do have a quick question about these future tools to identify whether or not they'll solve a huge problem pertaining to the TextSelection behavior when selecting text within a 2D scrollable.
Today, when rendering a TextField (with built-in scroll behaviors) inside a SingleChildScrollView (scrollDirection: Axis.horizontal || Axis.vertical), the scroll moves with the selection and the selection experiences some significant glitches.
Here's a super short video showing what I'm talking about:
https://github.com/flutter/flutter/assets/30325757/59943766-a5a7-4c69-8005-bcdf1998a4e2
I'm curious, is this something that may be addressed with this project? If I'm totally off base here please let me know and I'll move to create a fresh Flutter issue.
Thanks so much.
Mack

Today, when rendering a TextField (with built-in scroll behaviors) inside a SingleChildScrollView (scrollDirection: Axis.horizontal || Axis.vertical), the scroll moves with the selection and the selection experiences some significant glitches.

Hi @mack-at-pieces please file an issue for this. This issue is for sample code for the upcoming 2D scrolling classes.

Oh good point! That seems to have gotten lost in all the changes. I've filed a new issue specifically for that case: https://github.com/flutter/flutter/issues/148582
Thank you for mentioning it!


STOR-1432: cso: add envvars for CSI driver controller images

Next step after https://github.com/openshift/cluster-storage-operator/pull/392
cc @jsafrane @gnufied

/lgtm

/lgtm


feed.xml hasn't been updated in 4 days

https://web3isgoinggreat.com/feed.xml has not been updated in 4 days. (I just noticed this because I'm that far behind on my feed reading...)

Should be okay now, thanks for letting me know there was an issue!

WFM. As always, thanks!


Question about the MSE on the boundary.

I'm so thankful for your excellent codes on PINNs. Your idea enlights me a lot!
However, when I want to try some other PDEs, I always failed to calculate the right MSE for the boundary.
For example, I have a PDE written as follows:

It has a Neumann boundary condition so I rewrite your code (from the Schrodingers Equations)
def mse_b(model, t_b):
    ...

    # x_b is the boundary points on +5
    x_b_right = torch.zeros_like(t_b)+5
    x_b_right.requires_grad = True
    # evaluating the function on the right side boundary
    h_b_right = model(torch.stack((x_b_right, t_b), axis = 1))
    # extracting the u and v values from the model output
    h_u_b_right = h_b_right[:, 0]
    h_v_b_right = h_b_right[:, 1]
    # evaluating the derivative of the parameters of the function on the right boundary
    h_u_b_right_x = derivative(h_u_b_right, x_b_right, 1)
    h_v_b_right_x = derivative(h_v_b_right, x_b_right, 1)

    mse_drichlet = (h_u_b_left-h_u_b_right)**2+(h_v_b_left-h_v_b_right)**2
    mse_newman = (h_u_b_left_x-h_u_b_right_x)**2+(h_v_b_left_x-h_v_b_right_x)**2

to
x_b_lower = 2*numpy.pi*torch.exp(-t_b)  # as in the equation
x_b_lower.requires_grad = True # doing this make an error, but if I don't track the grad, it fails to converge
u_b_upper = model(torch.stack((x_b_upper, t_b), axis =1)) # get the model's predict
u_x_b_lower = derivative(u_b_lower, x_b_lower,1) # get the 1st order derivative (u_x)
mse_nuemann = ((u_b_lower - u_x_b_lower)**2).mean() # calculate the mse

As I write in the comments, I calculate the exact $u_x$ at the first line, but since it's involved calculation, the required_grad property fails since the variable is no longer a leaf of the grad graph, so I delete this line. But it fails to converge at last.
I'm confused about this, can you give me some advice? Thank you so much, I stuck here for days and have no means but to bother you. Again, thank you for your great work!

Hi @BeteixZ
Glad I was of any help!
Can you also put here what the error is?
Currently, I see two errors in your code; first I don't think that torch has a torch.pi, you can use numpy.pi instead.
and I believe that you have a typo in writing requires_grad

@erfanhamdi, Thank you so much for your reply!
I'm sorry I made a typo here, I've edited the post.
The error is:
  File "/home/beteix/PINNs/PINN_torch/test2.py", line 98, in mse_b
    x_b_lower.requires_grad = True
RuntimeError: you can only change requires_grad flags of leaf variables.

If I set requires_grad to be true to the code:
t_x_train = Variable(torch.from_numpy(t_x_train.astype(np.float32)),requires_grad=False).to(device)

The error occurs, otherwise, it can run but does not converge.
I upload the notebook and this is the link:
https://github.com/BeteixZ/PINNs/blob/main/PINN_cont_customized_rev.ipynb

I think I made some stupid mistakes on how to construct f and some dimension errors and now I've fixed them. Again, thank you for your detailed codes!
By the way, the result is highly depended on the activation function of the model, do you have any comment about this? Is this related to the derivative of the activation function?

great!
there is this great article by Karniadakis that has a specific section on the choice of activation functions for PINNs I recommend you read that:
https://arxiv.org/abs/2209.02681

Many thanks, I really appreciate that!


Desktop - Full colon when editing in compose does not trigger or fillter emojis

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

Action Performed:

write something in compose.
Try to use :smi to filter smily emojis
Notice that a popover will show to filter emojis
Send the message
Try to edit the message you sent
Notice that when you try to use a full colon : emoji picker does not get triggered .

Expected Result:
When you enter a full colon an emoji picker should show just like when you are composing a message for the first time.
Actual Result:
A emoji picker didn't get triggered when typing a full colon :
Workaround:
Unknown
Platforms:

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

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

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/12b03267-dc19-4dd8-9b92-a0af83cb40d6
https://github.com/Expensify/App/assets/93399543/c07f888e-8b0a-4d4a-bcaa-7b8e28051257
Expensify/Expensify Issue URL:
Issue reported by: @brianmuks
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692912989265419
View all open jobs on GitHub

Isn't this a dupe of https://github.com/Expensify/App/issues/26363?

Closing - thanks for flagging, based on this comment I'm going to close this one too: https://github.com/Expensify/App/issues/26363#issuecomment-1701761900


[ONEToolchain] modified testcase in ToolchainProvider.test.ts and InstallQuickInput.test.ts

ONE-vscode-DCO-1.0-Signed-off-by: Hyeryeong Jeong<EMAIL_ADDRESS>

LGTM✨


[Typo/Mistranslation] 06-design-report-in-power-bi-desktop

On Practice 1, task 6 step 2 and 4, the column and table names need to stay in English so it will align with the lab environment. It is very confusing for the learners to see the column/table names in Korean on the instruction and then have to match it with the corresponding English names on the lab VM.
Current:
영업 직원(성과)
영업 직원
날짜
연도
To be:
Salesperson (Performance)
Salesperson
Date
Year

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Discussed with the PM - update made to the older HB locfiles and this will seed the TM when handedback


Why four slashes after safkeyring: ? Why not just two?

Description
The Zowe docs refer to safkeyring:////, with four consecutive slash characters following the colon.
Why four? Why not just two?
For example (just to pick one among many), see Creating Security Key Lifecycle Manager for z/OS configuration file.
Pages to update
This issue occurs in various pages in the Zowe docs. For example:
https://docs.zowe.org/stable/user-guide/configure-instance-directory
Source file: docs-site/docs/user-guide/configure-instance-directory.md
Expected behavior
Two consecutive slashes should be enough. (There's a joke in there involving Australian slang, but I'll let it pass. 😃)
I gather that four consecutive slashes works, but it looks very odd to me.
Am I missing something? Is there some "escaping" behavior going on here, in the context of Zowe configuration files, that collapses those four slashes down to two? (If so, where is that behavior described?)
Additional context
I wish the docs for com.ibm.crypto.ibmjcehybrid.provider.safkeyring offered clearer advice on the safkeyring:// format.
I believe it's valid to omit the user ID, if the current user is the key ring owner (note the three consecutive slashes following the colon):
safkeyring:///MYring

It's not a documentation mistake, the servers really need 4 slashes there.
I don't know the fully story but the app server (powers the desktop) doesn't need 4 slashes internally but respects it due to some limitation in the java code (either zowe or inhereted by zowe).

Thanks for the reply. Interesting:

the servers really need 4 slashes there.

I don't want to raise anyone's hackles—I'm just gonna leave it here, and move on—but I would be strongly tempted to call that a bug. At best: an unfortunate idiosyncrasy that has the potential to confuse users who are familiar with the 2 slashes used in other contexts, outside of Zowe.

Just to close this out the extra escape characters are required because of the way spring-boot parses the keyStore URL. This is specific to embedded tomcat. The code is here


Eval

Implements task 4 eval function.
Example of how to use is in pytorch_trainers.py:620, but I expect we'll delete that whole block. Just an example.
Also, the function is not extensively tested, though I did a few manual examples that were accurate

Related to #63

Superseded by #70


Make the folding environment working with ProvableTrace

Allow to define a folding scheme without selectors, i.e. with only the columns that are really used. For MIPS, it is the 93 columsn for the state + the error term and the halt.
The pull request includes functions to build a whole trace for a single MIPS instruction, addiu, and can be replicated for other.

Back to solving conflicts

I hope it is fine now!!!


Adding new API version tests

Purpose
Adding new API version tests

Codecov Report
Patch coverage has no change and project coverage change: +55.62% :tada:

Comparison is base (a90ec23) 24.48% compared to head (f40bebe) 80.10%.
Report is 15 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1504       +/-   ##
===========================================
+ Coverage   24.48%   80.10%   +55.62%
===========================================
  Files         267        9      -258
  Lines       31638      548    -31090
  Branches     4845      246     -4599
===========================================
- Hits         7747      439     -7308
+ Misses      23621      109    -23512
+ Partials      270        0      -270

Flag
Coverage Δ

adapter
?

common-controller
?

config-deployer-service
?

idp-domain-service
80.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 258 files with indirect coverage changes

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


npx cdk bootstrap works but npx cdk deploy FAILS

Bundling asset ApolloLambdaWebsocketStack/ConnectionHandler/ConnectionHandler/Code/Stage...
npm ERR! canceled
npm ERR!      /Users/rickross/.npm/_logs/2023-12-17T19_47_30_666Z-debug.log
/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:398
throw new Error(Failed to bundle asset ${this.node.path}, bundle output is located at ${bundleErrorDir}: ${err});
^
Error: Failed to bundle asset ApolloLambdaWebsocketStack/ConnectionHandler/ConnectionHandler/Code/Stage, bundle output is located at /Users/rickross/apollo-server-on-aws-lambda/cdk/cdk.out/bundling-temp-bb4be2f356ae6c255f5178df453a9790383b2acc9c7825921664c5360339deb5-error: Error: bash exited with status 1
at AssetStaging.bundle (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:398:13)
at AssetStaging.stageByBundling (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:246:10)
at stageThisAsset (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:137:35)
at Cache.obtain (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/private/cache.ts:24:13)
at new AssetStaging (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:162:44)
at new Asset (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-s3-assets/lib/asset.ts:68:21)
at AssetCode.bind (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda/lib/code.ts:183:20)
at new Function (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda/lib/function.ts:331:29)
at new NodejsFunction (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda-nodejs/lib/function.ts:51:5)
at new SimpleLambda (/Users/rickross/apollo-server-on-aws-lambda/cdk/lib/apollo-lambda-websocket-stack.ts:36:15)
Subprocess exited with error 1

Bundling asset ApolloLambdaWebsocketStack/ConnectionHandler/ConnectionHandler/Code/Stage... npm ERR! canceled
npm ERR!  /Users/rickross/.npm/_logs/2023-12-17T19_47_30_666Z-debug.log /Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:398 throw new Error(Failed to bundle asset ${this.node.path}, bundle output is located at ${bundleErrorDir}: ${err}); ^ Error: Failed to bundle asset ApolloLambdaWebsocketStack/ConnectionHandler/ConnectionHandler/Code/Stage, bundle output is located at /Users/rickross/apollo-server-on-aws-lambda/cdk/cdk.out/bundling-temp-bb4be2f356ae6c255f5178df453a9790383b2acc9c7825921664c5360339deb5-error: Error: bash exited with status 1 at AssetStaging.bundle (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:398:13) at AssetStaging.stageByBundling (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:246:10) at stageThisAsset (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:137:35) at Cache.obtain (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/private/cache.ts:24:13) at new AssetStaging (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/core/lib/asset-staging.ts:162:44) at new Asset (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-s3-assets/lib/asset.ts:68:21) at AssetCode.bind (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda/lib/code.ts:183:20) at new Function (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda/lib/function.ts:331:29) at new NodejsFunction (/Users/rickross/apollo-server-on-aws-lambda/cdk/node_modules/@aws-cdk/aws-lambda-nodejs/lib/function.ts:51:5) at new SimpleLambda (/Users/rickross/apollo-server-on-aws-lambda/cdk/lib/apollo-lambda-websocket-stack.ts:36:15) Subprocess exited with error 1

This issue was due to the difference between the runtime environments between the CDK and the nodejs de environment. Solved now.


Facet within facet

This PR implements the changes described in #2544. Summary of changes:

Deprecated chaise-config's showFaceting in favor of the new maxFacetDepth property of facetPanelDisplay.
While discussing the UI, we realized that we should add a "context" above the title of facet popups to distinguish between different layers of facet popup. To implement this I added the uiContextTitles prop to recordset component. This property captures a list of titles:

For the facet popups in recordset page, the first element is the title of the recordset page. The next item would be the name of the facet that is opened.
For the foreign key popups in recordedit page, the first element is the name of the foreign key column.
For the popups in record page, the first element is the name of the visible column.

The bulk of changes in this P.R. are related to testing. Supporting multi-level facets is something that we had in ermrestjs for a long time, and we just never allowed it in Chaise. While the unit tests in ermrestjs ensure parser can understand such urls, we're not testing all the cases in ermrestjs. Since testing this in Chaise is much more straightforward, I decided to do the main testing here. The new facet-within-facet spec goes through all different types of entity facets that we allow, and ensures the second level facet shows up and the parser doesn't throw any errors.
P.S. I originally added the spec to all-features. But I didn't realize all-features is disabling parallelism since multiple test cases change the catalog annotation. So, I moved it to default-config in my last commit.

@jrchudy This PR is ready to be reviewed. I updated the PR description to reflect the latest changes.


Add files via upload

@TranTsorro Pull request merged. Thank you!
FTR: domain ownership proof is at https://www.bkb-europaschule.de/logineo/


v2.10.3 alignment bug

When we change the alignment of second line it change the alignment of first line.

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


irmin: Improve cache usages in Tree

!!Make sure to tick hide whitespace changes if reviewing on gitHub!!
This PR prepares the terrain for the arrival of Tree.Node.Portable and Tree.Node.cached_portable.
Features:

It gets rid of the wildcards when matching Contents.v Node.v.
It gets rid of the t.info.XX <- YY; which are made within the cached_* functions. This removal already started on 2.10, I finished it.
It adds assert false in places which are already covered by cached_* calls.
It splits Node.findv and Node.to_portable_value in 2
It bases the Node.cached_* functions on new Node.iter_cached_* functions. This feature allows:

The let dispatch trick at 10 places in the Node module
Avoids the allocation of many option values.

The dispatch functions bring several small functional changes as they now cover more cases than before. For example, the trick showcased initer_cached_repo_key was only used in findv and it is now used in several places.
The cached_* calls are gone from the 10 more important functions. Around 40 calls to cached_* remain throughout the file, we could get rid of most of them in order to allocate less.
closes #1719

This PR increases the number of minor words allocated by 20% (and 10% with flambda). The timings and the other stats are not affected.
These words are allocated in the continuations that are passed to dispatch. `[@inline] did not help.
I'm not sure how to improve this. I'm not sure it is a problem at all.


How can I upgrade the Android API level

How can I upgrade the Android API level? I want to compile using API 29 instead of API 28

You should be able to update the compile API here:
https://github.com/kittinunf/fuel/blob/master/buildSrc/src/main/kotlin/Constants.kt#L6


fix(client): ensure autoinstall looks for the correct client

Extracted from @millsp PR
Fixes https://github.com/prisma/prisma/issues/7579

We can merge after we check that e2e worked

Passing e2e test, let's merge!


Implemention of np.gradient

I wanted to compute the gradient of a Dask Array, currently on version 0.16 Python3.5, but it doesn't look like it is implemented. Is there a way to compute the gradient, other than simply using numpy.gradient?

It looks like numpy.gradient is implemented with just straight numpy syntax.  It may be that some large sections of it would just transfer over to dask.arrays with small effort.

If someone else doesn't do it, I'll probably implement this. Though it likely won't happen right away, but probably before the next release.
In the interim, would suggest taking a look at dask-ndfilters. It's a little filter library I built on top of Dask and SciPy. It wraps up some common SciPy filters like, gaussian_gradient_magnitude, which may be close to what you want. Also there is generic_filter, which could wrap up something like gradient or just about anything else you can think of. If none of those options cut it, map_overlap is probably sufficient to wrap up NumPy's gradient.

I am also in need of this feature.

Do you have any thoughts on the approaches outlined above?

Adding an implementation of gradient for Dask Arrays in PR ( https://github.com/dask/dask/pull/3434 ).


feat(aws): Add new AWS Lambda check to check public access via other services

Lambda test case not working @jfagoagas

Hi @abant07, we're about to review this PR but I don't get the point of the title and the PR body, can you elaborate it a little bit? Are you trying to fix an issue or just creating two new checks?

Hey @jfagoagas
Sure, so for this PR I was adding a new feature to prowler where it would detect resources behind an internet facing ALB and ELB. I have written the two new checks for EC2 and it was working fine, however, I wrote a check for lambda and it was giving some trouble.
the check for lambda is giving a client token id error when I test it using mock_aws.
Thanks

Hey @jfagoagas
Sure, so for this PR I was adding a new feature to prowler where it would detect resources behind an internet facing ALB and ELB. I have written the two new checks for EC2 and it was working fine, however, I wrote a check for lambda and it was giving some trouble.
the check for lambda is giving a client token id error when I test it using mock_aws.
Thanks

So both are present in this PR right?

Review these new checks
Fix the issue with the new Lambda check called awslambda_function_not_directly_publicly_accessible_via_elbv.

Am I right?
Thanks!

Yup you got it.
Thanks

@abant07 we need push permissions to your branch in order to fix and improve some parts of the code.

Sure, I have just invited you.
Thanks

Closed in favor of #3801


Hotfix/#2988 - #2991

Related issues
#2988
#2989
#2990
#2991
Short description and why it's useful
#2988
Proposed change blur to input event becouse Firefox doesn't support focus on number input
https://bugzilla.mozilla.org/show_bug.cgi?id=1012818
#2991
If detected window.ApplePaySession then don't display Instant Checkout Button
Screenshots of visual changes before/after (if there are any)
#2988

#2989

#2990

#2991

Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[x] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[ ] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

@patzick please take care of this PR


[REQUEST]

I have an issue with the endereyes. Players are unable to use them. Need some help pls
-Latest Version is downloaded and installed

This is not a bug. Use discord for support.


Multiple Constructors require different syntax

When adding constructors to to an F# class the required syntax changes, e.g. is different for the last constructor (for single parameter .ctors).
Repro steps
While the following code is valid…
type A (a : int option, b : string option) =
    new a = A (a, None)
    member __.X = ""

… adding another .ctor with one parameter in a similar fashion does not validate anymore:
type A (a : int option, b : string option) =
    new a = A (a, None)
    new b = A (None, b)
    member __.X = ""

The error on the = on the third line is: error FS0010: Unexpected symbol '=' in expression
Known workarounds
Parameters of the not-last .ctor must be wrapped in braces. For a yet bigger example this gives:
type A (a : int option, b : string option, c : float option) =
    new (a) = A (a, None, None)
    new (b) = A (None, b, None)
    new c = A (None, None, c)
    member __.X = ""

(Also omitting the first brace (in new (a)) does break the thing.)
Related information
Observed on Win 10 in VS and Ionide with latest releases installed.
Severity is most probably low.

@ChrSteinert This is a parser thing where it is thinking new c is an expression, e.g. new Object()
In the first line it is not seen as ambiguous because there is no possibility of an expression at that point in the syntax (it's one of the only points where that's not possible).
I suppose we should track this as something to give a warning since I can see how you could hit this.Te warning would ask the user to write new (arg1, ... argN) in constructor definitions, always using parentheses.
Per CONTRIBUTING.md could you reopen this in http://github.com/Microsoft/visualfsharp please? thanks


travis passed: ntr small intestinal bacterial overgrowth issue #769

Addition of small intestinal bacterial overgrowth to the ontology. Additional information in issue #769

@cmungall I resolved the conflicts here. It is ready for your review/ready to merge

conflicts :-(

conflict...

Conflicts resolved.


Modify and export registers data from peripheral view

Type: Feature Request

I am currently working with vscode-peripheral-inspector, and it has been extremely useful in managing peripheral registers through the peripheral view.
As part of my project, I would like to implement additional functionality, specifically the ability to modify and export the registers data from the peripheral view programmatically. While the current API allows for loading and reading the data, I have not found an exposed method to modify or export the registers's value.
Would it be possible to extend the current API to include such functionality?
I am implementing the peripheral view for the hardware device, it requests to send a couple of gdb commands to read-write the IO registers:
-data-write-memory-bytes --thread-group i1 0x10020028 01000000
-data-read-memory-bytes --thread-group i1 0x10020028 4
These gdb commands should be sent from the adapter layer, could it be possible to provide the API to do it?

Would it be possible to extend the current API to include such functionality?

Yes that should be possible.

These gdb commands should be sent from the adapter layer, could it be possible to provide the API to do it?

Do you have a proposal for providing such API?
While I think this idea would be ok, I think you will need to provide the appropriate PRs for it. As a first step you can provide some details to what your new API would look like so it can be reviewed by the primary maintainers of this project (such as @thegecko)

Hi @jonahgraham ,
cc @thegecko ,
Sorry for not getting back to you sooner, I took some time to investigate the source code and noticed that the read memory feature is already implemented. Building on this, I plan to develop an export feature that extends the read memory functionality.
My proposal involves adding a new Export button next to the existing Copy and Update buttons. I'll declare the corresponding command across the node hierarchy and utilize the data tracker (src/plugin/peripheral/tree/peripheral-data-tracker.ts) to invoke the read memory methods, exporting the values to a file. The file path will be determined using the definitionPath argument.

OK, so this isn't an API, rather an additional button?
You should be able to trivially use the existing Copy functionality as a template and I doubt you would need to call read memory again.
Out of interest, is the existing Copy operation not enough (pasted into a file)?
Other things to consider:

Will this only be supported on leaf nodes (e.g. a single register at a time), or do you want to save part of the tree into a CSV file (or similar)?
When accessing files, please use the vscode filesystem operations and check that it works in a browser environment.

I intend to export the data in XML format. An example output would be:
<module name="MODULE_name">
<register name="REGISTER_name" address="0x000000" size="B" value="00" format="H" access="RW">
<bitfield name="LEAF_name" bit="[7]" bitlength="1" value="0"></bitfield>
</register>
</module>
While debugging, the data tracker manages node information. I'll use methods like getCDTTreeItem to access this data. Unlike the Copy function, which retrieves only register or leaf values, this export will save all module information to a file. I've verified locally that it doesn’t re-read memory, as the data is already loaded in the tracker.
The export functionality will handle entire modules by default, with an option to export selected subtrees if needed. This approach leverages the existing data tracker without re-reading memory, ensuring efficiency. The generated XML will comprehensively represent module structures, including registers and bitfields.

Hmm, any XML library will need to be pure JavaScript to ensure the extension remains portable. What size increase would this have?
I'm thinking a PR would be the best next step.

I’ve tested the feature with a Renesas device (RH850-U2A) and the resulting XML file is approximately 50MB. I’ll ensure that any XML library used is lightweight and compatible with the extension’s requirements. I appreciate your feedback and plan to start a PR soon for a detailed review. Thank you!

Fixed in #33


[docs] Prefer useEnhancedEffect to avoid server side warnings

Fixes the warning:
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
    at LanguageNegotiation (webpack-internal:///./pages/_app.js:134:103)
    at UserLanguageProvider (webpack-internal:///./src/modules/utils/i18n.js:61:5)
    at AppWrapper (webpack-internal:///./pages/_app.js:225:5)
    at MyApp (webpack-internal:///./pages/_app.js:342:5)
    at StylesProvider (webpack-internal:///../packages/mui-styles/src/StylesProvider/StylesProvider.js:64:5)
    at ae (D:\workspace\mui\node_modules\styled-components\dist\styled-components.cjs.js:1:13296)
    at InnerApp
    at StyleRegistry (D:\workspace\mui\node_modules\styled-jsx\dist\stylesheet-registry.js:231:34)
    at AppContainer (D:\workspace\mui\node_modules\next\dist\server\render.js:340:29)
    at AppContainerWithIsomorphicFiberStructure (D:\workspace\mui\node_modules\next\dist\server\render.js:370:57)
    at div
    at Body (D:\workspace\mui\node_modules\next\dist\server\render.js:638:21)

Oops, thanks for the fix.


[RFC] define Module to be MultiIOModule? and unifying the Module type hierarchy

Currently, the type hierarchy for modules is:
(superclasses upwards)
BaseModule (block with ports, blackbox-type modules also extend this)
chisel3.experimental.RawModule = chisel3.frontend.UserModule (contains user RTL with no IOs defined by default)
chisel3.experimentalMultiIOModule = chisel3.frontend.ImplicitModule (defines IOs clock and reset with mechanism to automatically connect those by clock and reset scopes)
chisel3.Module = chisel3.frontend.LegacyModule (additionally defines IO io, and enforces no other IOs are defined)
(subclasses downwards)
(note: chisel3.frontend._ is an internal name for these classes, chisel3._ or chisel3.experimental._ is the name exposed to the public API in package.scala)
So there's several points to this proposal:
Does Module extending MultiIOModule make sense?
Currently, chisel3.Module is defined as a LegacyModule, which is actually a subclass of chisel3.experimental.MultiIOModule. However, IMO, a plain reading of the names would imply the opposite relationship - MultiIOModule is-a Module, not the other way around (unless you know the details of implementation).
Possible solutions are to change the naming so the relationship is more obvious, or:
Does it make sense to redefine Module to MultiIOModule?
Since chisel3.Module is-a MultiIOModule, redefining chisel3.Module to be MultiIOModule should be safe. However, from way back when, there were also concerns about whether allowing multiple top-level IOs was a good idea. Now that MultiIOModule has been in experimental for a significant time, it might be worth discussing this again based on people's experiences.
A second question would be whether to keep LegacyModule at all, either exposed under a different name in chisel3._ (maybe chisel3.SingleIOModule?) or in compatibility Chisel._. Are there any advantages to restricting modules to a single IO such that we shouldn't remove that feature?
Can we unify internal and external (interface / API) names?
The idea here would be to rename the internal names to match the external names. I don't expect this to be too controversial, this will mostly affect implementation details.

Type of issue: feature request

Impact: API addition (no impact on existing code)

Development Phase: proposal
Other information

If the current behavior is a bug, please provide the steps to reproduce the problem:
What is the current behavior?
What is the expected behavior?
Please tell us about your environment:

What is the use case for changing the behavior?

If you remove LegacyModule, doesn't that break backwards compatibility since most chisel3 modules are that sort of single-IO bundle module?
Also, I recall last time there was some concern about dropping single IO since it was a preferred style for some people. (Maybe this was discussed already at the recent dev meeting.)

This would be an API addition change, not an API breaking change, so no existing code should stop working.
I also remember some concerns about supporting multiple IO, but those were hypothetical. It would be interesting to see how many of them are actually problematic, and what the trade-offs are now that this is used in the wild. From there, we can hopefully have a discussion about whether that should be standard or opt-in behavior.
The people at the dev meeting were in favor of this, it made module inheritance easier.

So would import chisel3._; class foo extends Module still pull in the single IO module?

Proposal is to have it pull in the multi IO module (well maybe, depending on what people thing). But that's not expected to break code, since the single IO module is actually a subclass of the multi IO module with extra checks to enforce that only io is used.

How does it affect libraries which rely on chisel3.module? (e.g. midas may use the io field of a Module to get the I/Os)

Depends on how it's implemented.
There are several possibilities, we're keeping implicit clock and reset in any case. Whether we want to include at least io is an open question. But that should depend on how often certain features are used (and if they're being used in a good way).
From your example, it would appear that midas does not work well with multi IO modules. So then that goes back to a question of trade-offs, are the benefits of multi IO module worth it? Are there alternative APIs we could expose to allow midas to continue working? Are there other uses of this feature in the wild?

This not a problem in midas as we use getPorts to inspect the IO of modules.

This may not break source compatibility, but it will definitely break binary compatibility. It seems to me weird things could happen with sbt using versions like 3.0.+ unless this is done on a major version boundary.

This has been done in Chisel 3.5.0.


Would it be possible to have the timestamps in ISO 8601 (extended)?

This would make it more human readable.
ISO 8601 : YYYY-MM-DDTHH:mm:ss
Example: 2021-09-27T15:59:16

Yes, good idea.

Hmm I might be doing it wrong but it doesn't seem to work, the timestamps in the YAML header are still in epoch time rather than ISO 8601.
I ran keep_export -u<EMAIL_ADDRESS>-p XXXX --iso8601

That's an oversight, it'll be fixed.

Great, thank you very much!


Beautify existing tutorials

Ended up touching almost all tutorials, including 4, 5, 6, 8, 9, 10, 13 and 14.

Thanks for this valuable retouching, @Chengcheng-Xiao. Merging this now, I didn't notice this PR until today.


how i can get project id by project name?

now  i get project name easily, but how i get project id by project name?

@yxxhero
FYI, you can use harbor-go-client :
root@harbor-service-new-stag:/opt/apps# ./harbor-go-client -h
Usage:
  harbor-go-client [OPTIONS] <command>

Help Options:
  -h, --help  Show this help message

Available commands:
  configurations_create      Modify system configurations. (set configuration in conf/config.yaml)
  configurations_get         Get system configurations.
  configurations_reset       Reset system configurations.
  jobs_repl_job_del_by_jid   Delete replication job with specific ID.
  jobs_repl_list_by_filters  List jobs filtered by specific policy and repository.
  jobs_repl_log_get_by_jid   Get replication job logs by specific job ID.
  jobs_repl_stop_by_policy   Update status of jobs. Only "stop" is supported for now.
  jobs_scan_log_get_by_jid   Get scan job logs by specific job ID.
  login                      Log in to Harbor.
  logout                     Log out from Harbor.
  logs                       Get recent logs of the projects which the user is a member of.
  prj_create                 Create a new project.
  prj_del                    Delete a project by project_id.
  prj_get                    Return specific project detail information.
  prjs_list                  List projects.
  repo_del                   Delete a repository by repo_name.
  repos_list                 Get repositories accompany with relevant project and repo name.
  repos_top                  Get public repositories which are accessed most.
  rp_repos                   Delete repos by retention policy.
  rp_tags                    Delete tags of repo by retention policy.
  search                     Search for projects and repositories.
  statistics                 Get projects number and repositories number relevant to the user.
  sysinfo_general            Get general system info.
  sysinfo_rootcert           Get default root certificate under OVA deployment.
  sysinfo_volumes            Get system volume info (total/free size).
  tag_del                    Delete a tag in a repository.
  tag_get                    Get the tag of the repository.
  tags_list                  Get tags of a relevant repository.
  targets_create             Create a new replication target.
  targets_delete_by_tid      Delete specific replication's target.
  targets_get_by_tid         Get replication's target.
  targets_list               List targets filtered by name.
  targets_ping               Ping validates target.
  targets_ping_by_tid        Ping target.
  targets_policies_by_tid    List the target relevant policies.
  targets_update_by_tid      Update replication's target.
  version                    Show version info.
  whoami                     Show info about current login user only.

root@harbor-service-new-stag:/opt/apps#
root@harbor-service-new-stag:/opt/apps# ./harbor-go-client prjs_list -h
Usage:
  harbor-go-client [OPTIONS] prjs_list [prjs_list-OPTIONS]

This endpoint returns all projects created by Harbor, and can be filtered by project name.

Help Options:
  -h, --help           Show this help message

[prjs_list command options]
      -n, --name=      The name of the project (for filtering).
      -k, --public=    The project is public or private. (default: "")
      -o, --owner=     The name of project owner.
      -p, --page=      The page nubmer, default is 1. (default: 1)
      -s, --page_size= The size of per page, default is 10, maximum is 100. (default: 10)

root@harbor-service-new-stag:/opt/apps#
root@harbor-service-new-stag:/opt/apps# ./harbor-go-client prjs_list -n backend-rls
==> GET https://localhost/api/projects?name=backend-rls&public=&owner=&page=1&page_size=10
<==
<== Rsp Status: 200 OK
<== Rsp Body: [
  {
    "project_id": 5,
    "owner_id": 1,
    "name": "backend-rls",
    "creation_time": "2016-12-23T06:26:25Z",
    "creation_time_str": "",
    "deleted": 0,
    "owner_name": "",
    "public": 1,
    "Togglable": false,
    "update_time": "2016-12-23T06:26:25Z",
    "current_user_role_id": 0,
    "repo_count": 87,
    "enable_content_trust": false,
    "prevent_vulnerable_images_from_running": false,
    "prevent_vulnerable_images_from_running_severity": "",
    "automatically_scan_images_on_push": false
  }
]
root@harbor-service-new-stag:/opt/apps#

@yxxhero please try the go-client as @moooofly mentioned above.

harver version: v1.5.1-8bbd84ea
ui.log
Jul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018-07-15T07:14:12Z [INFO] delete tag: go/tomcat:latest
Jul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018-07-15T07:14:12Z [INFO] Handle notification with topic 'OnDeletion': notification.OnDeletionNotification{Image:"go/tomcat:latest"}
Jul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:12 #033[1;44m[D] [server.go:2619] |     <IP_ADDRESS>|#033[42m 200 #033[0m|  27.558699ms|   match|#033[46m POST    #033[0m /service/notifications   r:/service/
notifications#033[0mJul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:12 #033[1;44m[D] [server.go:2619] |   <IP_ADDRESS>|#033[42m 200 #033[0m| 101.057459ms|   match|#033[41m DELETE  #033[0m /api/repositories/go/tomcat   r:/api
/repositories/*#033[0mJul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:12 #033[1;44m[D] [server.go:2619] |   <IP_ADDRESS>|#033[42m 200 #033[0m|   3.954116ms|   match|#033[44m GET     #033[0m /api/repositories   r:/api/repositor
ies#033[0mJul 15 15:14:12 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:12 #033[1;44m[D] [server.go:2619] |   <IP_ADDRESS>|#033[42m 200 #033[0m|   3.115085ms|   match|#033[44m GET     #033[0m /api/repositories   r:/api/repositor
ies#033[0mJul 15 15:14:16 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:16 #033[1;44m[D] [server.go:2619] |      <IP_ADDRESS>|#033[42m 200 #033[0m|   2.228737ms|   match|#033[44m GET     #033[0m /     r:/#033[0m
Jul 15 15:14:28 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:28 #033[1;44m[D] [server.go:2619] |      <IP_ADDRESS>|#033[42m 200 #033[0m|   6.982821ms|   match|#033[44m GET     #033[0m /api/ping   r:/api/ping#033[0m
Jul 15 15:14:46 <IP_ADDRESS> ui[4546]: 2018/07/15 07:14:46 #033[1;44m[D] [server.go:2619] |      <IP_ADDRESS>|#033[42m 200 #033[0m|   2.250631ms|   match|#033[44m GET     #033[0m /     r:/#033[0m

registry.log
Jul 15 15:14:09 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:09 +0000] "GET /v2/go/tomcat/blobs/sha256:2d084b11164d1d05bfe0a28afc966153e43efa6760dd2b4707b5764395def4f7 HTTP/1.1" 200 16049 "" "Go
-http-client/1.1"Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: time="2018-07-15T07:14:12.313165147Z" level=info msg="response completed" go.version=go1.7.3 http.request.host="registry:5000" http.request.id=6d572938-a213-4ae5-b271-
548916b6a8b0 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:36526" http.request.uri="/v2/go/tomcat/tags/list" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.902137ms http.response.status=200 http.response.written=39 instance.id=b811ad7f-b51e-4eef-ae32-89d68ca36b93 service=registry version=v2.6.2 Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:12 +0000] "GET /v2/go/tomcat/tags/list HTTP/1.1" 200 39 "" "Go-http-client/1.1"
Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: time="2018-07-15T07:14:12.31964847Z" level=info msg="response completed" go.version=go1.7.3 http.request.host="registry:5000" http.request.id=f06e2105-4bb2-4a35-83ad-e
75d77d30e8b http.request.method=HEAD http.request.remoteaddr="<IP_ADDRESS>:36526" http.request.uri="/v2/go/tomcat/manifests/latest" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=5.123149ms http.response.status=200 http.response.written=2836 instance.id=b811ad7f-b51e-4eef-ae32-89d68ca36b93 service=registry version=v2.6.2 Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:12 +0000] "HEAD /v2/go/tomcat/manifests/latest HTTP/1.1" 200 2836 "" "Go-http-client/1.1"
Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: time="2018-07-15T07:14:12.348291854Z" level=info msg="response completed" go.version=go1.7.3 http.request.host="registry:5000" http.request.id=17fd102d-c976-4939-9a34-
787ea402f150 http.request.method=DELETE http.request.remoteaddr="<IP_ADDRESS>:36526" http.request.uri="/v2/go/tomcat/manifests/sha256:1c39cc2e882b41691998886186bb932f7abcfc9a6e9526f4d04e7d8332289174" http.request.useragent="Go-http-client/1.1" http.response.duration=3.257592ms http.response.status=202 http.response.written=0 instance.id=b811ad7f-b51e-4eef-ae32-89d68ca36b93 service=registry version=v2.6.2 Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:12 +0000] "DELETE /v2/go/tomcat/manifests/sha256:1c39cc2e882b41691998886186bb932f7abcfc9a6e9526f4d04e7d8332289174 HTTP/1.1" 202 0 ""
"Go-http-client/1.1"Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: time="2018-07-15T07:14:12.352409879Z" level=info msg="response completed" go.version=go1.7.3 http.request.host="registry:5000" http.request.id=e515259e-77a6-4f2d-bbb8-
56265774388f http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:36526" http.request.uri="/v2/go/tomcat/tags/list" http.request.useragent="Go-http-client/1.1" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.711635ms http.response.status=200 http.response.written=33 instance.id=b811ad7f-b51e-4eef-ae32-89d68ca36b93 service=registry version=v2.6.2 Jul 15 15:14:12 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:12 +0000] "GET /v2/go/tomcat/tags/list HTTP/1.1" 200 33 "" "Go-http-client/1.1"
Jul 15 15:14:28 <IP_ADDRESS> registry[4546]: <IP_ADDRESS> - - [15/Jul/2018:07:14:28 +0000] "GET / HTTP/1.1" 200 0 "" "curl/7.59.0"

[root@Server-0hmnyy harbor]# docker ps
CONTAINER ID        IMAGE                                  COMMAND                  CREATED             STATUS                    PORTS                                                              NAMES
94f1aedd6233        vmware/harbor-jobservice:v1.5.1        "/harbor/start.sh"       34 minutes ago      Up 30 minutes                                                                                harbor-jobser
vicea1c46700bb27        vmware/nginx-photon:v1.5.1             "nginx -g 'daemon of…"   34 minutes ago      Up 31 minutes (healthy)   <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:4443->4443/tcp   nginx
2108118dc133        vmware/harbor-ui:v1.5.1                "/harbor/start.sh"       34 minutes ago      Up 30 minutes (healthy)                                                                      harbor-ui
09f8d0fe6682        vmware/clair-photon:v2.0.1-v1.5.1      "/docker-entrypoint.…"   34 minutes ago      Up 34 minutes (healthy)   6060-6061/tcp                                                      clair
88f9d866728f        vmware/registry-photon:v2.6.2-v1.5.1   "/entrypoint.sh serv…"   34 minutes ago      Up 30 minutes (healthy)   5000/tcp                                                           registry
6773c294ac7b        vmware/harbor-db:v1.5.1                "/usr/local/bin/dock…"   34 minutes ago      Up 31 minutes (healthy)   3306/tcp                                                           harbor-db
3cbcdbbeb656        vmware/redis-photon:v1.5.1             "docker-entrypoint.s…"   34 minutes ago      Up 31 minutes             6379/tcp                                                           redis
c6799d226236        vmware/harbor-adminserver:v1.5.1       "/harbor/start.sh"       34 minutes ago      Up 30 minutes (healthy)                                                                      harbor-admins
erver9165ecdc075d        vmware/postgresql-photon:v1.5.1        "/entrypoint.sh post…"   34 minutes ago      Up 34 minutes (healthy)   5432/tcp                                                           clair-db
05b8799bec60        vmware/harbor-log:v1.5.1               "/bin/sh -c /usr/loc…"   34 minutes ago      Up 30 minutes (healthy)   <IP_ADDRESS>:1514->10514/tcp                                          harbor-log


Missing instructions

Very glad to see you've uploaded your code, howerer, it seems associated intructions to run the code are missing in the Wiki, quite appreciate if you could upload this part

Issue resolved. Instructions added.


Support shared files and directories

Solves #107
TODO:

[ ] Is it necessary to have to separated entries for files and directories? At the end of the day the link is a file and it can be linked to anything (file or directory) that is in /shared.
[x] Update documentation (README.md).
[x] Prepare a new release (pvp in cabal file) and update CHANGELOG.md.

@sestrella @juanpaucar Do you think it is necessary to have separated entries for files and directories? At the end of the day a symlink is a file that can be linked to anything (file or directory) that might be in /shared. Let me know your thoughts.

@sestrella @juanpaucar Could you please take another look?


Add binary tree traversal

What a great code :smile: !
Just a little tip, its good to always put a description on your PRs to make more understandable.
Thank you for contributing! :rocket:


MockNetworkProvider .network should return 'mocknet'

currently it returns chipnet
export default class MockNetworkProvider implements NetworkProvider {
  private utxoMap: Record<string, Utxo[]> = {};
  private transactionMap: Record<string, string> = {};
  public network: Network = Network.CHIPNET;

bug got fixed today with release v0.10.1


Connect-AzureAD not working with Powershell 7.1.0-preview.1 - Could not load type 'System.Security.Cryptography.SHA256Cng'

Steps to reproduce
Run the script below
Login using the pop-up window
The exception below is logged in the console
install-module azuread
import-module azuread
$ctx = Get-AzContext
Connect-AzureAD -TenantId $ctx.Tenant.Id -AccountId $ctx.Account.Id

Expected behavior
Login succeeds and the user is able to query the AAD

Actual behavior

One or more errors occurred. (Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.):
Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Environment data

----                           -----
PSVersion                      7.1.0-preview.1
PSEdition                      Core
GitCommitId                    7.1.0-preview.1
OS                             Microsoft Windows 10.0.15063
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

See #11070

@iSazonov I dont see how this resolves the issue.  Upgrading to PS 7 breaks this module.  Until PSy is fixed, how can this be resolved?

SHA256Cng is not supported in .Net Core. We can fix nothing in PowerShell Core. You should report the issue in AzureAD module.

@pmozbert
Just an FYI
All azure modules issues goes to the Azure Github repo: https://github.com/Azure/azure-powershell
Also, any Azure module from the PowerShell Gallery that doesn't start with Az.* means that's a Windows-specific module and could not work in PowerShell 7.
Only the Az.* modules can work with PowerShell Core.
Keep in mind, because PowerShell 7 allows compatibility with Windows modules, this doesn't mean that it will work.  This is why it has to be reported to the proper repo area.
Hope this helps!
:)

If some Azure modules are windows-specific, and if windows-specific modules cannot work on powershell 7,does then that would mean that users of Azure powershell are stuck with the older powershell.  That's not great.  Also, the azure powershell extension for vscode seems to be broken for pre-7 powershell.  So i have to develop with 7, and then run in 5.

@pmozbert
I understand your frustration!
This is the reason why Windows PowerShell will not go away any time soon.
The Azure PowerShell team is working hard to get things working with PowerShell 7.
Think of it as PowerShell as a language. All the investment in learning PowerShell is not lost and the difference between the old and new one are minimal.
Reporting the issue in their repo help speed up the process to get this done, and the best... you get a quick interaction with both the team and the community to help with the issue.
Hang in there!

@MaximoTrinidad
Your comment was not very helpful, because it contains incorrect and inaccurate statements.
Azure PowerShell team is not responsible for AzureAD module.
With a little help from the -UseWindowsPowerShell parameter, you can now import and use the AzureAD module in #PowerShell 7.

Thanks @alexandair
I don't think my statement was that incorrect. Direct him to the PowerShell Azure team is the best way to help him find the answer.
Sample provided truly helps but still is just a bandaid.  This is not the place to post the issue, as this is not a PowerShell 7 issue. It needs to be addressed to who's responsible for this module.
The documentation don't provide any information about what version of Powershell this version runs on:
https://docs.microsoft.com/en-us/powershell/module/Azuread/?view=azureadps-2.0
@pmozbert
I should have done a little more research. In the PowerShell Gallery:
https://www.powershellgallery.com/packages/AzureAD/<IP_ADDRESS>
You can reach out to the Module owner via email.
I hope this will help you!


Remove Dropna limitation of quote_df of Exchange

Description

Motivation and Context

How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[ ] Fix bugs
[ ] Add new feature
[ ] Update documentation

Hi, @lihuoran   Will this be enough for remove the fill_missing_data  in https://github.com/microsoft/qlib/pull/1332 ?

MARK:
The backtest result  of  qrun benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml does not change

@lihuoran  The CI fails when it tests the RL part.
It may conflict with https://github.com/microsoft/qlib/pull/1332  fill_missing_values.
Maybe we should cherry-pick this PR  and test it with  https://github.com/microsoft/qlib/pull/1332 together.

The merge target is changed to microsoft:huoran/fix_rl_todos
The new PR is https://github.com/microsoft/qlib/pull/1334


DropdownMenu keyboard navigation is broken

Steps to reproduce

Run sample code on  Windows platform
Press tab until the handle of the DropdownMenu is focused
Press enter to open the menu
Press the down key to navigate

Expected results
The menu opens with the first option selected and when pressing the Down key the options should cycle downwards.
Actual results
The menu opens with the second option selected and when pressing the down key cycles until the option g (which is the initial selection).
If I instead try to cycle upwards using the Up key, the cycle completes and restart from the end once the start of the list is reached. However, the initially selected option is skipped.
There are also other glitches like the text not being in sync with the selected menu option, as shown on the screenshot below.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

enum Units {
  unit,
  kg,
  g,
  l,
  cc;
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  Units? _unit = Units.g;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: DropdownMenu<Units>(
          initialSelection: _unit,
          dropdownMenuEntries: Units.values
              .map((unit) => DropdownMenuEntry(
                    value: unit,
                    label: unit.name,
                  ))
              .toList(),
          onSelected: (value) {
            setState(() {
              _unit = value;
            });
          },
        ),
      ),
    );
  }
}

Screenshots or Video
Screenshots
Mismatched text and menu option when cycling upwards:

Logs
No response
Flutter Doctor output
Doctor output
> flutter doctor -v
[✓] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Versi¢n 10.0.22631.3447], locale es-AR)
    • Flutter version 3.19.5 on channel stable at D:\diego\PROGRAMACION\Tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (4 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at D:\diego\PROGRAMACION\SDKs\Android
    • Platform android-34, build-tools 33.0.1
    • Java binary at: D:\diego\PROGRAMACION\Tools\android-studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.2)
    • Android Studio at D:\diego\PROGRAMACION\Tools\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[✓] VS Code (version 1.88.0)
    • VS Code at C:\Users\diego\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Versi¢n 10.0.22631.3447]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 124.0.6367.61
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 123.0.2420.65

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Removing the initial selection doesn't workaround the issue. I'll test changing the name of the g option; I suspect that letter being shared with the kg option could be the issue.

Yeah, changing g to grams is a workaround for the issue.

Thank you for filing the issue. I'm able to reproduce this on macOS app target. This could be related to TextEditingValue's selection calculation.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (31 hours ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.124

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-16.0.pre.39, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.0-16.0.pre.39 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 49770cd929 (24 minutes ago), 2024-04-23 22:55:10 -0400
    • Engine revision d4f63383d3
    • Dart version 3.5.0 (build 3.5.0-92.0.dev)
    • DevTools version 2.35.0-dev.8
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 124.0.6367.79

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


KYLIN-4753 Merging job stop working after Kylin upgrade

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[x ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[x] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[x] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] If this change need a document change, I will prepare another pr against the document branch
[x] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

@shaofengshi  Hi, this is a simple patch and the failed test seems to be irrelevant. Would you please take a look?

@jshmchenxi  Thank you for this patch, it looks good to me.


Tensor Forest generates TWO sets of files while training

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS
TensorFlow installed from (source or binary): Tensorflow CPU installed with pip
TensorFlow version (use command below): 1.8.0
Python version:  3.6.4

Describe the problem
I am building a simple classification model using pre-made Tensor Forest Estimator. While training, my classifier generates one graph and one file with checkpoints but TWO sets of model data, here are the files generated after model fitting the training data:
checkpoint
events.out.tfevents.1526645293.Iulias-MacBook-Air.local
graph.pbtxt
model.ckpt-1.data-00000-of-00002
model.ckpt-1.data-00001-of-00002
model.ckpt-1.index
model.ckpt-1.meta
model.ckpt-299.data-00000-of-00002
model.ckpt-299.data-00001-of-00002
model.ckpt-299.index
model.ckpt-299.meta

While training I'm also getting multiple warnings from TF about errors during serializing, like:
WARNING:tensorflow:Error encountered when serializing resources. Type is unsupported, or the types of the items don't match field type in CollectionDef. '_Resource' object has no attribute 'name'
Could it be the reason?
My code is below:
import pickle
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import f1_score
import tensorflow as tf
from sklearn.metrics import f1_score
from sklearn.metrics import confusion_matrix
import matplotlib.pyplot as plt
from tensorflow.contrib.tensor_forest.client import eval_metrics
import itertools
resale_postback_df = pd.read_pickle('./stats')

features_list = ['feature_1', 'feature_2','feature_3','feature_4','feature_6', 'feature_7', 'feature_8']
labels_list = ['tf_labels']

print(labels_test.values)

features_train, features_test, labels_train, labels_test = train_test_split(resale_postback_df[features_list],
                                                                            resale_postback_df.tf_labels,
                                                                           test_size=0.3,random_state = 42, shuffle = True)
#defining custom input function for Tensor Forest
def generate_tf_input_fn(x_input,y_input,num_epochs=None):
    #this is the function we are generating
    def _input_fn_():
        # generate a standard input function
        train_input_fn = tf.estimator.inputs.pandas_input_fn(
            x= x_input,
            y= y_input,
            num_epochs=num_epochs,
            shuffle=True
        )
        #execute the standard input function
        x, y = train_input_fn()
        # expand the shape of the results (necessary for Tensor Forest)
        for name in x:
            x[name] = tf.expand_dims(x[name], 1, name= name)
        return x, y

    return _input_fn_

train_input_fn = generate_tf_input_fn(features_train,labels_train,num_epochs=None)
test_input_fn = generate_tf_input_fn(features_test, labels_test, num_epochs=None)

tf.logging.set_verbosity(0)
hparams = tf.contrib.tensor_forest.python.tensor_forest.ForestHParams(num_classes=len(resale_postback_df.tf_labels.unique()),
                                          regression= False,
                                          num_features=len(features_list),
                                          num_trees=50,
                                          min_split_samples=2,
                                          verbose = 0).fill()

SAVE_PATH = './save'

classifier = tf.contrib.tensor_forest.client.random_forest.TensorForestEstimator(hparams,model_dir = SAVE_PATH)
classifier.fit(input_fn = train_input_fn)

Can somebody explain to me hpw to solve this problem ?

Hi. Could you please share some experience to solve this problem. I met it also.

Hi. Could you please share some experience to solve this problem. I met it also. Thanks a lot.


Improve horizontal alignment of tasks with different versions

The current task-list table layout is suboptimal when we have tasks with

N>1 versions
1 version
no version

I guess we should force an alignment scheme that covers all three cases (naive idea: we always display the box around the version, independently on whether there are 0, 1, or N versions).

I put the info buttons in a separated column:

That looks like a good solution to me


[ESLINT] missing rhino environemnt

Reminder to process this

Not much value on this one. closing.


where to edit code for text on display?

Hi, sorry this is not really an issue, I just can't seem to figure out where the code is to write the artist name, song, and album on the display. I'd like to remove it for now and just simply show the album art.
There are many classes of classes from https://github.com/pimoroni/pidi-spotify/blob/master/pidi_spotify/st7789.py to https://github.com/pimoroni/pidi-plugins/blob/fdacf9409dcfb839c49c4e7ea16fe28417bf9493/pidi-display-st7789/pidi_display_st7789/init.py to https://github.com/pimoroni/pidi-plugins/blob/master/pidi-display-pil/pidi_display_pil/init.py to https://github.com/pimoroni/pidi-plugins/blob/master/pidi-display-pil/pidi_display_pil/init.py
I wonder if I could make a new class of one of these and just overwrite whatever method is inevitably responsible for writing the text to the screen.
Sorry, just looking for some help. I figured it couldn't hurt to ask.
Thanks

This is a deeep rabbit hole, but the actual display rendering code mostly lives in the very root plugin- pidi_display_pil which just handles rendering the album art, track title, etc to an image - https://github.com/pimoroni/pidi-plugins/blob/master/pidi-display-pil/pidi_display_pil/init.py
This is then used by pidi_display_st7789 which takes that image and displays it on an ST7789-based display: https://github.com/pimoroni/pidi-plugins/blob/master/pidi-display-st7789/pidi_display_st7789/init.py#L35
And this, in turn, is used by PiDi Spotify's st7789 class which makes a few tweaks to remove stuff that wont work: https://github.com/pimoroni/pidi-spotify/blob/master/pidi_spotify/st7789.py#L6
Sooooooooo... you need to grab the pidi-plugins repository from here- https://github.com/pimoroni/pidi-plugins, tweak pidi_display_pil and then install it with python3 setup.py install...

Awesome! Thanks for the direction.

hm I cloned the repo and straight up deleted __init.py__ from pidi_display_pil and then ran its setup with sudo python3 setup.py install but pidi_spotify still seems to be working just fine

Yes! In pidi_display_pil/__init__.py in DisplayPIL.update_album_artI just needed to comment out the Gaussian blur at line 125 and in  DisplayPIL.update_overlay I commented out the self.update_text_layer() call in line 135.
Now the display simply shows the buttons, volume, progress bar, & album art, which is perfect for my needs


Reactivate Ticking sound at least as a configurable option

I've just installed the latest beta version and found out that the ticking sound was removed, even though most users don't like it, I do and it helps me focus better.

I agree with you. I use tomighty because it has ticking sound. I make focus on a work with ticking sound.
Please, add options.

I switched from Tomighty to the commercial PomoDoneApp, and I've been very happy with it.
Pomodone starts each Pom with a loud "tick...tick..tick..", which quickly fades to nothing after eight ticks. I find it very good for focusing. There isn't an option for continues ticking, however. It's the eight, or nothing.


DataMapper not recognizing nullable json schema values on import

Description:
When loading json schemas in the data mapper diagram, values defined as nullable in the schema are not being imported as nullable.
Affected Product Version:
7.0.0
OS, DB, other environment details and versions:
Windows 10 Enterprise, version 1903
Steps to reproduce:
Open a datamapper diagram
Right click either Input heading
Choose Load Input
Choose JSONSCHEMA as the resource type
Load a json schema file from the filesystem
The input section will now be populated, however, values defined as being nullable in the schema are not enabled as nullabe and must then be manually set.
JSON Schema Files
Insert_Client_element_i2.json.txt
Insert_Client_element_i2.json.txt
Related Issues:
The same issue exists when loading Output

incorrect repo


fix: import labels.json in setup

PR Checklist

[x] Addresses an existing open issue: fixes #547
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Imports from the local ./labels.json instead of reading the file as JSON. This is actually a bit simpler as an approach!

Hmm, looks like Istanbul is calling to Babel in a way that can't run with import assertions:
src/setup/steps/labels/hydrateRepositoryLabels.test.ts [ src/setup/steps/labels/hydrateRepositoryLabels.test.ts ]
SyntaxError: /home/runner/work/template-typescript-node-package/template-typescript-node-package/src/setup/steps/labels/hydrateRepositoryLabels.ts: Support for the experimental syntax 'importAttributes' isn't currently enabled (3:43):

I could debug this and/or file an issue... but there's no real need to make it labels.json. I'll just switch to labels.ts.