New datasets and improved features

This adds following new datasets:

Css10
LinguaLibre
Zamia-Speech

The common voice reader now can import the new v5 release and has more languages.
Some dataset loading problems were fixed.
I also did add the progress logging bar again, because I missed this feature (but through audiomates logging interface that the used library can be easily exchanged)
Note: This also changes the license to LGPL  and I did use black for formatting

@DanBmh Could you in the future split your pull requests, please. So for example do one PR per corpus you're adding? This makes it easier to review the proposed changes.

Regarding the test, I will add them if you're ok with the license change. We can then also split the pull request into smaller parts.

Was integrated into https://gitlab.com/Jaco-Assistant/corcua

Was integrated into https://gitlab.com/Jaco-Assistant/corcua


Ability to pass additional args to comand

hi there!
I think that your package will be more cool, if it will have an ability to set and pass to build-system some args, like "python.exe my_scrypt.py arg1 arg2".
Can you add some fillable form like the one in script package (press ctrl+shift+alt+O to open it)?
It will be really usefull!
And thank you for you work, build is really good package.

You could create a custom build configuration. Does that suit your needs?

Technically - yes. But then if you need to edit this args you edit that .atom-build.json. And of course it requires to create of a file itself, which is inconvenient.
I'm making a simple custom build provider (you can find it here if you interested).
I think I could do some magic with setting args in some custom window, saving args in my package in variable and pass it dynamically, but (imho) it is a frequently used functionality, and it makes sense to add it into the main build package

I don't think this fits very well with the general setup. None of the existing build providers have had a need for this.
You can always add configurations and/or other ways of setting additional arguments in your build provider.
If more providers require this, I'm open to discussing it again. But for now I will close this.

hi, @noseglid. Thanks for your work.  As a newcomer to atom,  I think additional arguments can be very handy. For instance, when developing Elixir application, I am used to use mix test --only line:$line_number to run the closet test. It is quite helpful especially when I want to focus on one test. If additional arguments is supported, I can pass the current line number under cursor or anything I need directly to build

@codetender would an additional {FILE_LINE} replacement (see https://github.com/noseglid/atom-build#replacements for other replacements) help you? Then you could write a build provider that takes the current line and passes it directly to the call args

@oli-obk Thanks for your reply. In this case, yes. But If there is a more generalized solution, it would be very convenient :)

If I'm building a command-line tool, it would be elegant for me to do a build and pass arguments at the same time - is that possible? I'm talking about something like https://github.com/bilalba/InputArgs for Sublime

Really? No (easy) way to pass args to the targets?


(refactor) replace magic URL with BITFINEX_REST_URL constant

Substituted
async with client.get("https://api-pub.bitfinex.com/v2/conf/pub:list:pair:exchange", timeout=10) as response:
with
async with client.get(f"{BITFINEX_REST_URL}/conf/pub:list:pair:exchange", timeout=10) as response:
to eliminate magic URL.
The rest of the changes were introduced by isort commit hook.

P.S. I periodically rebase and force-push because the branch is getting stale due to updates in hummingbot/development.

@0xferit
Currently on this PR Unexpected error occurred when listening to order book streams still happened, however was able to place order/ got some orders fills
Crosschecked with development, was able to place orders/ get order fills there as well.
logs_bitfinex1.log
2023-12-21 06:30:09,344 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:10,083 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - Order filled -100 out of -100.00000 of the limit sell order sell-DOGE-USDT-1703140194002030
2023-12-21 06:30:10,084 - 2965466 - hummingbot.strategy.pure_market_making.pure_market_making - INFO - (DOGE-USDT) Maker sell order of 100 DOGE filled. [clock=2023-12-21 06:30:10+00:00]
2023-12-21 06:30:10,111 - 2965466 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "sell-DOGE-USDT-1703140194002030", "trading_pair": "DOGE-USDT", "trade_type": "TradeType.SELL", "order_type": "OrderType.LIMIT", "price": "0.091079999999999994297894545525196008384227752685546875", "amount": "100", "trade_fee": {"percent": "0", "percent_token": null, "flat_fees": [{"token": "USDT", "amount": "-0.009108"}]}, "exchange_trade_id": "1478236134", "exchange_order_id": "", "leverage": 1, "position": "NIL", "event_name": "OrderFilledEvent", "event_source": "bitfinex"}
2023-12-21 06:30:10,111 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - The market sell order sell-DOGE-USDT-1703140194002030 has completed according to Bitfinex user stream.
2023-12-21 06:30:10,112 - 2965466 - hummingbot.strategy.pure_market_making.pure_market_making - INFO - (DOGE-USDT) Maker sell order sell-DOGE-USDT-1703140194002030 (100.00000 DOGE @ 0.09108 USDT) has been completely filled. [clock=2023-12-21 06:30:10+00:00]
2023-12-21 06:30:10,124 - 2965466 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "sell-DOGE-USDT-1703140194002030", "base_asset": "DOGE", "quote_asset": "USDT", "base_asset_amount": "100", "quote_asset_amount": "9.10800", "order_type": "OrderType.LIMIT", "exchange_order_id": null, "event_name": "SellOrderCompletedEvent", "event_source": "bitfinex"}
2023-12-21 06:30:10,345 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:11,346 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:12,349 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:13,351 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:14,001 - 2965466 - hummingbot.strategy.pure_market_making.pure_market_making - INFO - (DOGE-USDT) Canceling the limit order buy-DOGE-USDT-1703140194001665. [clock=2023-12-21 06:30:14+00:00]
2023-12-21 06:30:14,353 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:15,006 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - Successfully canceled order buy-DOGE-USDT-1703140194001665.
2023-12-21 06:30:15,021 - 2965466 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "buy-DOGE-USDT-1703140194001665", "exchange_order_id": null, "event_name": "OrderCancelledEvent", "event_source": "bitfinex"}
2023-12-21 06:30:15,355 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2023-12-21 06:30:15,817 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - The market order buy-DOGE-USDT-1703140194001665 has failed/been canceled according to order status API.
2023-12-21 06:30:15,826 - 2965466 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "buy-DOGE-USDT-1703140194001665", "exchange_order_id": null, "event_name": "OrderCancelledEvent", "event_source": "bitfinex"}
2023-12-21 06:30:16,381 - 2965466 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 78, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/nikita/bitfinex6718/hummingbot/core/data_type/order_book_tracker_data_source.py", line 200, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError

Did this PR fixed https://github.com/hummingbot/hummingbot/issues/5919 for you?

I think you misunderstood, @nikspz. This PR does not intend to fix #5919 or is related to #6590, but it is a simple refactoring to fix a code quality issue I stumbled upon.
I'm indeed working on #6590 and #5919, but I'm still trying to understand the codebase. And when I stumble upon a problem, I fix it or at least submit an issue to let others fix it.


Change the return type of tune() in trainer.py to TypedDict

What does this PR do?

Change the type of return of tune() in pytorch_lightning/trainer/trainer.py to TypedDict. (related to #13616 and #13445)
More precisely, a new type _TunerResult, as suggested by @carmocca in #13616, has been defined in pytorch_lightning/tuner/tuning.py and assigned to the output of tune().
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Then let's upgrade the minimum typing_extensions version


Failed to take a screenshot. The screenshot is blank.

I found a problem with v0.3.6 where the screenshot would be blank. This problem seems to occur on sites that are reloaded using javascript like "https://0-0.energy"
I got around this by changing the source in async_crawler_strategy.py. I attached screenshot of souce code I changed

I changed the value of the argumen for page.wait_for_timeout from 100 to 3000. I think that the appropriate value will differ depending on the site. It is better to change to changrable parameter from API.

@ns-arakawa Thx for pointing this out, I am checking it right now

@ns-arakawa I tested with the give URL, I can't replicate your case unfortunately, on my end it works. Can you share your exact code? Thx

This case was caused by Javascript in Goddy's parked domain. This was not a crawl4ai bug.
I will close this ticket

Thx


Overwrite parameter for keras.models.save_weights

A patch for the FIXME (https://github.com/fchollet/keras/blob/df4e3a2d8d2195505ff2c744a37d1ecf467c2e9a/keras/models.py#L368) in the save_weights method.
If overwrite is not changed to True the method will throw an IOError when the file already exists.

I wonder if the default should be to overwrite instead...


Visualization of SyN's deformation field

Hi, @junyuchen245
I'm sorry to trouble you, I have some questions on how visual the deformation flow generated by SyN algotirhm.
My thought is to save the deformation flow file and visual this flow by using ITK-SNAP, but the result seems have something wrong.
This is my main code for saving deformation flow:
f_img_set = sitk.ReadImage("./fixed.nii.gz")
f_img = ants.image_read("./fixed.nii.gz")
m_img = ants.image_read("./moving.nii.gz")
mytx = ants.registration(fixed=f_img, moving=m_img, type_of_transform='SyN')
flow = np.array(nib_load(mytx['fwdtransforms'][0]), dtype='float32', order='C')
flow_save = torch.from_numpy(flow).to(device).float()
save_image(flow_save.permute(3, 0, 1, 2, 4)[np.newaxis, ...], f_img_set, fileName + "_flow.nii.gz")
where Function save_image() is defined as follows:
 def save_image(img, ref_img, name):
    img = sitk.GetImageFromArray(img[0, 0, ...].cpu().detach().numpy())
        img.SetOrigin(ref_img.GetOrigin())
        img.SetDirection(ref_img.GetDirection())
        img.SetSpacing(ref_img.GetSpacing())
        sitk.WriteImage(img, os.path.join('./result/', name))
After this operation, I found that the saved deformation flow(flow.nii.gz) is a little bit strange, just like:

So, nextly, I try to save this deformation flow, and try to warp the moving image by using this saved flow and STN function(I am confident that this function will work correctly for deformable flow generated by deep learning-based methods), but I found that the generated warped image is different  from warped image generated by ANTs, just like:

Left is warped image generated by saved deformation flow, right is warped image generated by ANTs function ants.apply_transforms
I have no idea what the problem is although I have tried many methods, so I come to you for help, thank you!
Yours,
Tzayuan

Hi @tzayuan ,
As this is unrelated to my scripts, I'll have to lower the priority of your question since I'm pressed for time for multiple tasks. I'll try to get back to you once I have more time to take a closer look at this.
Junyu

Hi @tzayuan ,
Here is the code that I used for SyN visualization:
x = data[0].squeeze(0).squeeze(0).detach().cpu().numpy()
y = data[1].squeeze(0).squeeze(0).detach().cpu().numpy()
x_seg = data[2].squeeze(0).squeeze(0).detach().cpu().numpy()
y_seg = data[3].squeeze(0).squeeze(0).detach().cpu().numpy()
x = ants.from_numpy(x)
y = ants.from_numpy(y)

x_ants = ants.from_numpy(x_seg.astype(np.float32))
y_ants = ants.from_numpy(y_seg.astype(np.float32))
start = time.time()
reg12 = ants.registration(y, x, 'SyNOnly', reg_iterations=(160, 80, 40), syn_metric='meansquares')
def_seg = ants.apply_transforms(fixed=y_ants,
                 moving=x_ants,
                 transformlist=reg12['fwdtransforms'],
                 interpolator='nearestNeighbor',)
end = time.time()
print(end - start)
def_out = ants.apply_transforms(fixed=y,
                 moving=x,
                 transformlist=reg12['fwdtransforms'],)

flow = np.array(nib_load(reg12['fwdtransforms'][0]), dtype='float32', order='C')
flow = flow[:,:,:,0,:].transpose(3, 0, 1, 2)

grid_img = mk_grid_img(8, 1)
grid_img = ants.from_numpy(grid_img.astype(np.float32))
def_grid = ants.apply_transforms(fixed=y,
                  moving=grid_img,
                  transformlist=reg12['fwdtransforms'], )
defout = def_grid.numpy()[:,:, slice_num]
plt.figure()
plt.imshow(defout, cmap='gray', vmin=0, vmax=1)
plt.axis('off')
plt.show()

flow_as_rgb(flow, slice_num)

def mk_grid_img(grid_step, line_thickness=1):
    grid_img = np.zeros((160, 192, 224))
    for j in range(0, grid_img.shape[1], grid_step):
        grid_img[:, j+line_thickness-1, :] = 1
    for i in range(0, grid_img.shape[0], grid_step):
        grid_img[i+line_thickness-1, :, :] = 1
    return grid_img

def flow_as_rgb(flow, slice_num):
    flow = flow[:, :, :, slice_num]
    flow_rgb = np.zeros((flow.shape[1], flow.shape[2], 3))
    for c in range(3):
        flow_rgb[..., c] = flow[c, :, :]
    lower = np.percentile(flow_rgb, 2)  # 算分位数
    upper = np.percentile(flow_rgb, 98)
    flow_rgb[flow_rgb < lower] = lower
    flow_rgb[flow_rgb > upper] = upper
    flow_rgb = (((flow_rgb - flow_rgb.min()) / (flow_rgb.max() - flow_rgb.min())))
    plt.figure()
    plt.imshow(flow_rgb, vmin=0, vmax=1)
    plt.axis('off')
    plt.show()
    print(lower)
    print(upper)

In theory, the spatial transformation function for deep-learning-based methods and 'ants.apply_transforms' are the same. However, in practice, there are a variety of possible explanations for the difference you are seeing. For instance, the coordinate system ('ij' or 'xy') and whether or not the displacement should be normalized. In general, I believe it is preferable to warp images using the method's dedicated spatial transformation.
Junyu

Hi, @junyuchen245
I am sorry that it has taken so long to give you feedback. The reason is that there is a problem with our computing server.
Thanks for your suggestions and codes. This has been very helpful and enlightening to me.
As you say, the setting of ordinate system should be careful, and I solved the problem of flow display by setting ordinate system rightly.
What's more, thank you very much for the reference code for RGB flow visualization.
Best regards,
Ztayuan


New Background

The plain white background is from base Portal 2 and is very boring. We have the capability to make something nicer.
What should a new background look like? Ideas, brainstorming, designs, etc. comment them here.

Is there something like a remote idea for a background?

What do you mean by this issue @ozxybox?

updated the comment

I really think background maps would be cool af.


Updated README file to be more specific.

This feature updates the README file by adding more specific and detailed information about how to implement map styles in Angular.

After parsing my JSON style file, I still can't get this to work. Can you be a bit clearer on how to implement this? Can't seem to create the necessary Style from the JSON to pass into the setStyles method.

What do you mean when you say it's not working?   Are you getting an error?   Are the styles not being applied at all?


Use Dir.home rather than tilde as shell expansion not working

The default path for the credentials file uses a tilde, rather than the cross-platform Dir.home (available on ruby 1.9.3 and later).
Tilde is only expanded to mean the users home directory by the shell (or by File.expand_path). On my system (Debian 8, bash, ruby 2.1.1), running any rake task (through strace) with the default settings results in an ENOENT for a literal/unexpanded file ~/.aws/credentials from the root of the filesystem.
I can see in RakeTerraform::PlanTask::Config that there is a default_credentials method that uses the tilde string, and then passes it through File.expand_path so the above tilde expansion would work; but as the default terraform_plan task explicitly configures the fall-through value to this string, the expanded default path is never used.
In any case - this one-liner fixes default behaviour.

So I've fixed the rubocop warnings that I could see caused by this PR, but there's a couple of others in there already?

Thanks! Yeah, I'm not sure where those rubocop warnings came from. I just had rubocop autocorrect the things it was upset about. If you rebase this PR, I'll gladly merge it.

I already rebased/squashed my commits; did you mean rebase it against a branch other than master, or?

I meant rebase against the latest commit to master, which fixed the rubocop warnings. But I just merged it manually. Publishing as v0.0.8, as soon as Travis catches up with all these builds.

Ah, that makes sense. Running low on caffeine today :)
If I get some time over the coming weeks I'll take a look at implementing some tests also.
Thanks!


Incorrect diffusers version for Dreambooth

I don't know what to do to fix this error.
Preloading Dreambooth!
No module 'xformers'. Proceeding without it.
[!] Not using xformers memory efficient attention.
Incorrect diffusers version for Dreambooth, running installer.: 0.9.0
loading Dreambooth reqs from C:\Users\Brian\Programs\Voldy\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt
Checking Dreambooth requirements.
Checking torch and torchvision versions
Dreambooth revision is 4684f0faea19c243216eac2278a42fcfcbbd756b
Diffusers version is 0.9.0.
Torch version is 1.12.1+cu116.
Torch vision version is 0.13.1+cu116.
Copying 8Bit Adam files for Windows.

windows11 64bit
RTX3090
venv
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)]

I noticed I had errors when using diffusers 0.9.0. When I downgraded to ver 0.7.2, it worked.

It's had several updates since that error, although the missing XFormers are something I still have to fix. Thanks anyhow for the help, kind regards.
Current scenario:
Python revision: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)]
Dreambooth revision: 9e3584f0edd2e64d284b6aaf9580ade5dcceed9d
SD-WebUI revision: 4af3ca5393151d61363c30eef4965e694eeac15e
Checking Dreambooth requirements...
[+] bitsandbytes version 0.35.0 installed.
[+] diffusers version 0.10.2 installed.
[+] transformers version 4.25.1 installed.
[ ] xformers version N/A installed.
[+] torch version 1.12.1+cu116 installed.
[+] torchvision version 0.13.1+cu116 installed.


Add option to add a reason to ForbiddenMethodCall

Same as #4909 but now adding it to ForbiddenMethodCall
Important: This introduces a breaking change in ForbiddenMethodCall. It no longer allows comma-separated imports as a String. It should use yml lists. I'm targetting this to 1.22.0 because on 1.21.0 we added make that all those usages will be a warning. Tell me is we should be more conservative.
The reason that this is a draft is just to avoid accidental merges. But the code should be ready to merge.
Related with #3501

How Do we go about breaking changes in minor releases? Do we need an upgrade gradle task for users to call?


Refinement of DirAccess logic

Fix #87274
Referred to the FileAccess related code, I roughly tested linux and android, may need more tests

I ignored the mixed directory traversal case, which was more complicated than I thought, so I turned this PR into a draft first.

Closing this pr for now because I can't think of an elegant solution, which requires more discussion.


multithreading request Prediction API to achieve concurrent operations

Can I use multithreading to request the Prediction API of Flowise to achieve concurrent operations?
Although I used multithreading in Python, I saw that another request was made after one request was completed in the background.

yeah but is up to the implementation on your python side to do the multithreading, flowise API by default is just an Node Express API. Moving to discussion


[Feature Request] Checkbox Group 'one checkbox must be checked'

Another need would be to have a Checkbox Group with one option checked, minimum.
The use case is the following :
Results from a search are displayed on list, on a map, or on a chart.
We give the possibility to the user to choose the display, and he can combine several visualisation.
But he must choose one minimum.
We could extend the need with a maximum options checked too.
If you agree with these use cases, I could make a PR too.

PR merged, I close.


TypeError: float() argument must be a string or a number, not 'DataFrame'

When I run a test code:

from empyrial import empyrial, Engine
portfolio = Engine(
start_date = "2018-08-01",
portfolio = ["BABA", "PDD", "KO", "AMD","^IXIC"],
weights = [0.2, 0.2, 0.2, 0.2, 0.2],  # equal weighting is set by default
benchmark = ["SPY"]  # SPY is set by default
)
empyrial(portfolio)

give me a following error:
TypeError: float() argument must be a string or a number, not 'DataFrame'

Could anyone to help me with this issue?
Thanks

pip install --upgrade matplotlib
pip install --upgrade quantstats

This fixed it for me. Idk if both need to be updated or just one of them.

Hi, yes I could fix it with @rokups solution. Thanks


Rule dependencies

A rule can specify a custom annotation depends_on with a string or a list of strings containing the code(s) of the rule(s) that a particular rule depends on. When a rule with dependents is reported as a failure, warning or it is skipped, dependent rules are filtered out and not reported.
Ref. https://issues.redhat.com/browse/HACBS-2208
Also includes:
Refactor successes computation
Pulls in the successes computation into a separate method.
Refactor and fix consistency
Two rules with the same code, possibly by adding the same policy source twice with different versions, may interfere with each other. Do not allow that. Collect successes when looping over the output.CheckResult rather than assign to the first result.

I think we need to talk about Refactor and fix consistency bit, so I won't merge this immediately...

I think we need to talk about Refactor and fix consistency bit, so I won't merge this immediately...

Discussed at standup, I think we agreed it was a sensible behavior change.


BUG: wasm_type_from_image_type for VariableLengthVector

And other fixes.

Is there some re-factoring also done along with the change for Variable Length Vector ?

Is there some re-factoring also done along with the change for Variable Length Vector ?

It wasn't supported before, which motivated these improvements. Test now present :-)


adding note about "Force Strict Encryption"

Some customers enabled "Force Strict Encryption" on FCI and it failed as it use older driver. As SQL Server 2022 ships with ODBC Driver for SQL Server 17 for now, many features will not work with it, so adding note should prevent many customers to avoid confusion. I have tested limited features, so if you can add more, it will be better.

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

@taroarai - Thanks Taro! I made some text edits.
@srdan-bozovic-msft - Hi Srdan, do you confirming this?
@MashaMSFT FYI

@MashaMSFT - Can we merge this?


Add Markdown formatting buttons to case study form

Add formatting buttons that add correct Markdown code for basic text formatting (e.g., bold, italic, link, lists) to the case study text boxes (like the GitHub issues submission text boxes).
If this is not possible, at least add a "Styling with Markdown is supported" help text with a link to instructions for using Markdown code.

Note that markdown code doesn't actually appear to be in place currently. I tried using it this description but the bullets remain as /*.

Hey Julian,
It works
http://hub.aashe.org/browse/publication/8707/Environmental-Literacy-and-Sustainability-as-Core-Requirements-Success-Stories-and-Models,
but I found that you have to use a hard return to separate the first
bulleted item from the line before it.
Chris Pelton
STARS Program Manager
Association for the Advancement of Sustainability in Higher Education
www.aashe.org |<EMAIL_ADDRESS>| +1<PHONE_NUMBER>
On Thu, Feb 25, 2016 at 3:53 PM, juliandsmith<EMAIL_ADDRESS>wrote:

Note that markdown code doesn't actually appear to be in place currently.
I tried using it this description
http://hub.aashe.org/browse/publication/8707/Environmental-Literacy-and-Sustainability-as-Core-Requirements-Success-Stories-and-Models
but the bullets remain as /*.
—
Reply to this email directly or view it on GitHub
https://github.com/AASHE/hub/issues/193#issuecomment-188850949.

--
Join us in Baltimore, Maryland from Oct. 9 - 12 for the AASHE 2016
Conference & Expo, themed Beyond the Campus.
Connect with us:   Website http://www.aashe.org/ | Facebook
https://www.facebook.com/aasheorg | Twitter
https://twitter.com/AASHENews | LinkedIn
http://www.linkedin.com/company/aashe

Email Confidentiality Notice
http://www.aashe.org/email_confidentiality_notice

Moving this to high priority after just spending 30 mins manually adding formatting an old case study submission. Without good and clear formatting, submissions end up being very difficult to read, which is frustrating to those who take the time to submit and means few people will actually use the material that was submitted.

Note: https://simplemde.com/

I've added this to all input fields that are text areas. I thought it would be confusing if it wasn't available in all of them.

This new text box is awesome! It is already making my life much easier on the submission side (I no longer have to manually create each bullet in a list!).
I'm reopenning because I'd like to add buttons for bold and italics as well. I have cause use bold pretty regularly (e.g. when submitting the abstract for any article in the International Journal of Sustainability in Higher Education like this) and I can see valid reasons for other submitters to use it when preparing case studies.


[Android] Implement XWalkView.getUserAgentString and test case

Implement API XWalkView.getUserAgentString for client to get its user agent.
Refine test cases for setUserAgentString and getUserAgentString.
BUG=XWALK-4817,XWALK-4918

@axinging @lincsoon

This API will be deprecated when XWalkSettings was exposed?

I though it over, because there's already setUserAgent in XWalkView, let's just add getUserAgent too. We can let them exist together with the ones in XWalkSettings.

There is a file named SetUserAgentStringTest.java in xwalk core test, it could be integrated with UserAgentTest.java

@axinging
Any comments about Hengzhi's suggestion:
There is a file named SetUserAgentStringTest.java in xwalk core test, it could be integrated with UserAgentTest.java

@lincsoon @halton

@lincsoon @halton @axinging

LGTM merging


Stop Factorio on Windows

There doesn't seem to be an easy solution to terminating Factorio gracefully on Windows. Until then, kill the process. The map will not be saved so it's not the best solution...

I'll fix this in a bit. I guess syscall is platform specific.


Browser Support for Azure DevOps Service

Hi,
According to Tools and clients that connect to Azure DevOps IE 11 is supported for Azure DevOps Service.
In the Azure DevOps client compatibility page it says that IE is not supported.
My experience is that for most parts IE 11 still works. There are some features where IE 11 doesn't work and users switch to Edge or Chrome it works perfectly fine.
Please let me know what to communicate to our users.
Thank you.
Ralf Viola
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 878f028a-4418-1f6c-bf27-d469b249b621
Version Independent ID: 7209b942-b6ab-e9f6-6cfd-bd5d89ea9aa8
Content: Tools and clients that connect - Azure DevOps
Content Source: docs/user-guide/tools.md
Product: devops
Technology: devops-new-user
GitHub Login: @chcomley
Microsoft Alias: chcomley

HI @RalfVio - Thanks finding this for us. We'll look into what to say in the docs.
You might want to bring this up in the Dev forum. They might have clearer answers about what is and isn't supported.

Hi Tim, Thank you for the quick reply.
Microsoft has already announced the end of support for IE 11.
If you remove IE from Tools and clients that connect to Azure DevOps we have a consistent statement.


feat: jupyter controller sidecar rewrite

https://github.com/canonical/notebook-operators/issues/232
Summary of changes:
- Added Pebble checks.
- Added integration test to verify that service is deleted after
removal.
- Updated requirements.
- Initial commit for sidecar rewrite. Unit/integration tests passing.
NOTE: upgrade and update-status events will be handled in another PR.

Can we also remove the existing class CheckFailed and replace it with chisme's ErrorWithStatus?  They should be interchangable.  I think this charm was last touched before chisme existed

@ca-scribner Added this issue to track proper notebook testing.


pkg-config panic when trying to build on win64 on win GNU Rust 32bit

I apologize if I'm just missing something obvious.
I'm trying to build a rust project which uses rgtk. I'm building on win7 64bit for win32.
I followed the instructions under "msys2 toolchain", but when running cargo build I get:
thread '' panicked at 'failed to run "pkg-config" "--libs" "--cflags" "gi o-2.0": Navedene datoteke ni mogoče najti. (I don't know the english version of this error verbatim, something like, the following file could not be located) (os error 2)', C:\Users\user.cargo
\registry\src\github.com-48ad6e4054423464\gio-sys-0.2.1\build.rs:17
This is lin 17 in build.rs
let lib = pkg_config::find_library(PACKAGE_NAME)
.unwrap_or_else(|e| panic!("{}", e));
I'm assuming I have to add something to the path, but I don't know what.

if I run cargo build --release, however, I get this:
thread '' panicked at 'failed to run "pkg-config" "--libs" "--cflags" "ca iro": Navedene datoteke ni mogoče najti. (os error 2)', C:\Users\Urban.cargo\r
egistry\src\github.com-48ad6e4054423464\cairo-sys-rs-0.2.1\build.rs:9

adding C:\msys32\mingw32\bin to the PATH resolved it. Maybe it should be added to the instructions, unless I'm missing something

No, you're absolutely right. Do you want to make the PR?

Ok, I submitted the pull request. I hadn't done that before, so I hope it's correct. If my edit isn't satisfactory, obviously feel free to substitute it with your own.

Don't worry, we're here to help.

I think it's there now. I forgot to press "create pull request".


PyPI version doesn't contain RelatedOnlyDropdownFilter

It seems the RelatedOnlyDropdownFilter option was added on 15 Nov, 2017 (bc40316), but the newest PyPI version is from 4 May, 2017.
Could the PyPI version be updated?

Right you are, I'll put that on my todo list.

In the meantime you can fork this repository and use
pip install git+https://github.com/<your_github_username>/django-admin-list-filter-dropdown.git
to install it manually, or add the following to your requirements.txt
-e git://github.com/<your_github_username>/django-admin-list-filter-dropdown.git#egg=django-admin-list-filter-dropdown

The PyPI version is now updated, v1.0.2 contains RelatedOnlyDropdownFilter. Thanks for the heads-up and sorry for the long delay in getting it out!


Merging Training into Workbook should only write the final version of the Training Game

In Training mode I made a mistake and played 19. Bd4. Coach commented that the only move in the workbook is 19.Rb8+ so I used Play 19.Rb8+instead of Your move function:

System cleared 19.Bd4 from the Training window. I played further moves and exited the training merging it into the Workbook. System updated the Workbook with my final play but also added variation for 19.Bd4

I think that with variations that user played in the training but then went back and played other move we can have 2 situation:

slip of a mouse or mistake of a user he does not want to continue with - those we do not want to save in the Workbook
user wants to see different moves and how the play will turn out and save those multiple variation in the Workbook.

Maybe we can add an option where user can select if to save only the final training game or all the variations played. Either by having:

merge dialog box below with 3 options:

Merge all played variations
Merge final variation
Do not merge

pop up another dialog box after the one above with 2 options:

Merge all played variations
Merge final variation

Consider also behavior if Auto-Save is on.


Update Blog “time-of-a-square”

Automatically generated by Netlify CMS

👷 Deploy Preview for famous-kulfi-ae21db processing.

Name
Link

🔨 Latest commit
a6dbf86cf0528068ecddf15a70b72d25af0d3d13

🔍 Latest deploy log
https://app.netlify.com/sites/famous-kulfi-ae21db/deploys/65841e29e1cbb60008f7dc5f


Code Release

Hi, when the code will be released?

The code still needs to be organized and annotated to make it easier to use. Due to the recent heavy workload, it will take a while to deal with the code issues. As soon as I finish the final organization, I'll open the source code.
------------------ 原始邮件 ------------------
发件人:                                                                                "BEBC-MIA/Retinal-lesion-Segmentation"                                                                                @.>;
发送时间: 2022年7月23日(星期六) 晚上10:40
@.>;
@.***>;
主题: [BEBC-MIA/Retinal-lesion-Segmentation] Code Release (Issue #2)
Hi, when the code will be released?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


ability to load Rego or CUE policies over OCI registries

Description
For example, conftest has the ability to share Rego policies^1 over OCI registries which means that users can pull or push rego policies to OCI registries, which we can do the same for CUE basically. So, we have support to verify attestation files via Rego or CUE-based policies. To do so, generally, we use file or directory formats to load policies, so, in addition to that, we can basically pull and load them over OCI registries.
cosign verify-attestation -policy devopps/cue-policies:latest $image

cosign verify-attestation -policy devopps/opa-policies:latest $image

+1!

Although I'd note that rego actually has a spec on how to bundle and fetch these, while I'm not sure cue does. Maybe we should start with rego?

Yes, I agree with you. Here are the mediaTypes defined for Rego policies 👇
https://github.com/open-policy-agent/conftest/blob/7d0099b5ed0d8c70a1e4eda9388e4e50bf068218/internal/commands/push.go#L48-L50
We should start implementing the OPA feature according to them. 🙋🏻♂

I think we should provide a scheme for the types of policies such as oci:// for OCI images,  file:// for files, dir:// for directories, WDYT @dentrax @dlorenc?

Do we need to do a full protocol like that? If it's a url, can we assume OCI? Otherwise local?


util: add export-all option to web splitter

Adds an "Export Entire Log" button to the web splitter.  It will be disabled if a particular fight is selected (essentially, it will toggle states with the "Export Selected" button), and will otherwise be enabled only if either "Anonymize Log" or "Filter Log for Analysis" is checked (since without one of those, it would just dump the entire file, unmodified, back to the user which is rather pointless).
Also cleans up a couple of the canAnonymize properties in netlog_defs.
Ref #96 - this is necessary to allow a full log file to be anonymized and exported (without being split), in case the splitter is not properly detecting encounters.

@JLGarber - would you mind taking a look at this, since you've reviewed the other recent PRs touching the log splitter?  Hoping to land this soon-ish, since it's blocking further troubleshooting on #96 right now.  Thanks!


Add a getting started example

Added a 'Getting Started' example to the crate's docs as requested by #14.

@pchampin
The build fails because Trait objects with no dyn keyword where recently depricated and now raise warnings. Should I correct these with this PR or will this be solved soon?

@MattesWhite thanks for this PR. I made some improvements to make it more "idiomatic" in 9079052.
Also, I had a very strange GIT error, which is why I didn't reuse your commit above.

@MattesWhite (sorry I didn't notice your previous message)
Yes, I intend to clean this soon.


Add a pointer to the list of newly supported languages

Point to https://github.com/slone-nlp/awesome-new-languages-in-machine-translation, a list that I will be continuously supporting.

Hi @avidale Looks interesting! Thank you for your contribution here, approved. Best wishes,


Move CI to the next macos image

v11 is not available any more
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#standard-github-hosted-runners-for-public-repositories
@fkiraly those jobs do not start
https://github.com/sktime/skbase/actions/runs/10212328626

I see, thanks!


change data types

What will happen if I change all the data types to double? Will the speed change a lot?

might be, worth testing. can you change the code, test it and issue a Pull-request?

hey  @lior-k  I'm hijacking this small thread instead of making a new issue to ask if you have some links towards documentation that helps getting started with ES plugin development... For example something simple as printing the document ID to the std out I can't get my head around... any help is much appreciated, i understand if you don't have time to do so ^^


bugfix7834

Motivation and Context
Bug: Browse experience provides inaccurate reference citations

Description

Contribution Checklist

[ ] I have built and tested the code locally and in a deployed app
[ ] For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
[ ] This is a change for all users of this app. No code or asset is specific to my use case or my organization.
[ ] I didn't break any existing functionality :smile:

@Avijit-Microsoft Please review it


cherry-pick add dependency for set operation node (#30203)

cherry-pick from master https://github.com/apache/doris/pull/30203
Proposed changes
Issue Number: close #xxx

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

run buildall


[sp] column view backend integration

Summary

see above
update styling to be closer to Figma

Tests

This PR will not work until Nathaniel's bugfix (#73) is merged as well, since that affects the dataset view used to get to this page.
In addition, the bug where NextJS's router doesn't allow direct paths affects this page too, so accessing /datasets/[id]/features directly does not work and causes an error. If there's a fix please let me know
cc: @johnson-mage @nathaniel-mage

I saw that you mentioned #73, how is the metrics table blocking the PR? Not sure if I'm missing something.

I saw that you mentioned #73, how is the metrics table blocking the PR? Not sure if I'm missing something.

It's not blocking, we just can't test the column view independently without your bugfix to the infinite rerender issue on the dataset view, because you can't directly access the /features page because of the NextJS routing bug. I tested it locally by making the change you sent, but I didn't want to recommit that, so I removed that before pushing this PR.

Oh yeah I didn't mean to add out files to this commit, don't know why it's in there. I'll try to remove that


[Feature Request]: Custom Versioning Strategy

The VersioningStrategy allows do choose between different Versioning strategies.
It would be great to have the chance to also use a custom Versioning Strategy as another option.
My idea is to define a path and in the al-go settings to the custom powershell which would then basically override the logic from
IncrementVersionNumber

The VersioningStrategy is mostly determining the Build and Revision part of the build number, currently supporting 2 modes:
1: RUN_NUMBER.RUN_ATTEMPT
3: yyyyMMdd.HHmmss
In IncrementVersionNumber it is only used to determine whether you want to use the same version number for all projects.
Not sure there are enough different versioningstrategies to justify making it overridable - but maybe you can describe how you would like versioning to work?


Dokka Documentation

Using Dokka documentation so that it can be pushed to github pages for easy reading

Fair enough. I believe it should be possible to configure gradle, and configure github actions to publish the documentation to pages.
So you know of another repository doing that so I can use it as reference?

So you know of another repository doing that so I can use it as reference?

Shosetsu's internal library uses dokka https://gitlab.com/shosetsuorg/kotlin-lib
And here is the Dokka documentation


Squash the size of Docker image by creating a base image and doing minor pushes between releases

We are now pushing Docker images of UmpleOnline. However the image is quite big (300MB ...) and each new branch, pr and merge to master creates a new one. However the most common changes are either replacement of one of the Jars or some other file in the umpleonline hierarchy. These can be pretty small. It should therefore be possible to set up a situation where there is a base umple image, with most pushes only pushing changed files.
The proposal is to push to an umpleonline-base image only on every release (tag on github), and then to only push other changed files between times.
That would require the publishing script to figure out the deltas, but that shouldn't be too hard.
There is a new --squash tag on the Docker build command. Could this be used to merge changes into the UmpleOnline layer? I note there are already two layers created ... one for the COPY and one for the change of permissions. At least these could be squashed.
Some ideas about making smaller Docker images are here: https://developers.redhat.com/blog/2016/03/09/more-about-docker-images-size/
https://opensolitude.com/2015/05/13/docker-images-should-be-small.html

I went through and generated a breakdown of the layers in our current (as of writing) latest image via docker history:
finn@nixos ~> docker history umple/umpleonline
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT

The actual UmpleOnline website, jars and all (~60MB):
f77abe997534        3 days ago          /bin/sh -c #(nop)  CMD ["/bin/sh" "-c" "su...   0B
<missing>           3 days ago          /bin/sh -c chown -R :nginx /var/www &&    ...   29.4MB
<missing>           3 days ago          /bin/sh -c #(nop) COPY dir:97381dbefedeffd...   29.4MB
<missing>           3 days ago          /bin/sh -c ln -s /usr/lib/jvm/default-jvm/...   0B

Support and configuration files (<1KB):
<missing>           3 days ago          /bin/sh -c #(nop) COPY file:6a5a739ee25a25...   121B
<missing>           3 days ago          /bin/sh -c #(nop) COPY file:dcd26e13956533...   481B
<missing>           3 days ago          /bin/sh -c #(nop) COPY file:e5bb0f55e714c8...   138B

Software dependencies (Java, PHP, Python, etc...) (233MB):
<missing>           3 days ago          /bin/sh -c adduser -D -H -h /var/cache/php...   233MB

More metadata:
<missing>           3 days ago          /bin/sh -c #(nop)  MAINTAINER Umple umple-...   0B

The base image, shared between containers so anything below this point is actually irrelevant:
<missing>           6 weeks ago         /bin/sh -c #(nop)  CMD ["nginx" "-g" "daem...   0B
<missing>           6 weeks ago         /bin/sh -c #(nop)  STOPSIGNAL [SIGTERM]         0B
<missing>           6 weeks ago         /bin/sh -c #(nop)  EXPOSE 80/tcp                0B
<missing>           6 weeks ago         /bin/sh -c #(nop) COPY file:1d1ac3b9a14c94...   1.09kB
<missing>           6 weeks ago         /bin/sh -c #(nop) COPY file:af94db45bb7e4b...   643B
<missing>           6 weeks ago         /bin/sh -c GPG_KEYS=B0F4253373F8F6F510D421...   11.5MB
<missing>           6 weeks ago         /bin/sh -c #(nop)  ENV NGINX_VERSION=1.13.5     0B
<missing>           6 weeks ago         /bin/sh -c #(nop)  LABEL maintainer=NGINX ...   0B
<missing>           6 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/sh"]              0B
<missing>           6 weeks ago         /bin/sh -c #(nop) ADD file:9d67752278c0e5a...   3.99MB

I read through the links you posted @TimLethbridge and it seems we're actually doing pretty well on those fronts. The only issue is that we depend on some heavyweight software like Java and co which are inflating the image. I looked into --squash and while it could be useful (it would save another 30MB in theory) it is still experimental and is unlikely to work on Travis's production docker instances due the flag you have to pass to the Docker daemon on startup.
A common base image containing the Java dependencies would indeed fix the main issue here. To avoid missing potential security patches due to our (relatively slow) release cycle, I would suggest rebuilding the base image in master instead of for every tag.


Sort by date

sort by date now adds a new section instead. Maybe a new key is in order?

hmm for me it does nothing. in fact none of the sorting shortcuts work for me. @mgsloan is this likely to be fixed soon? thanks very much

Yeah "s" does nothing for me either.  And the h (default home key) doesn't do anything either.

Fixed in version 105, though, the fix will only work in the english version of Todoist.


[#366] client side translation of numeric values

WIP
Translations for :-

Command
Output Format
Valid field
Compression field
Encryption field

@jesperpedersen PTAL

The idea is that all changes are in cli.c.
Maybe we can extract some static functions into in the public API once we have a good idea

@jesperpedersen PTAL

We are close with this

@jesperpedersen PTAL

Looks good to me besides some format issues. Would be nice if we can have some output demos~

Okay attaching some demos for commands:
Backup:

List Backup:

Status:

Staus Details:

@Jubilee101 Please have a look.

You can also look at converting sizes to "B", "kB", "MB", "GB", "TB" and "PB", so something like
UsedSpace: 15.3MB

and so on

You can also look at converting sizes to "B", "kB", "MB", "GB", "TB" and "PB", so something like
UsedSpace: 15.3MB

and so on

Can we also do for timestamp

I think timestamp is ok as is

@jesperpedersen
Do we need to limit the number of digits after decimal in the translated size?
If so, I am thinking of adding another function pgmoneta_append_double_setprecision(char* s, double d, int32_t precision) in utils.c to limit the number of digits.

Yes, you add a separate function for it - and set the default to 2 digits so XXX.YY

@jesperpedersen  @Jubilee101 PTAL

Looks like you are having some problems with rebasing, other than that it looks good

Looks like you are having some problems with rebasing, other than that it looks good

Not sure what is wrong with the rebasing. Kindly elaborate

Looks like you are having some problems with rebasing, other than that it looks good

Not sure what is wrong with the rebasing. Kindly elaborate

Nvm, it looks alright now. Probably a glitch on my side, apologies~

Looks like you are having some problems with rebasing, other than that it looks good

Not sure what is wrong with the rebasing. Kindly elaborate

Nvm, it looks alright now. Probably a glitch on my side, apologies~

No issues :)

@jesperpedersen @Jubilee101 Review!!

Comments like that doesn't work AT ALL.
Your pull request is open, so we will get to it

I am extremely sorry @jesperpedersen @Jubilee101
Never gonna happen again

Hey, can you rebase?

Hey, can you rebase?

Done

Merged, thanks for your contribution!


-no-pass flag is not working

When I try to use the -k -no-pass flag, bloodhound-python keeps asking for a password.
# echo $KRB5CCNAME
/home/<REDACTED>.ccache

# bloodhound-python -u <REDACTED> -k -no-pass -ns <REDACTED> -d <REDACTED> -c All --zip
Password:

Same when I specify the Kerberos authentication exclusively.
# bloodhound-python -u <REDACTED> -k -no-pass -ns <REDACTED> -d <REDACTED> --auth-method kerberos
Password:

If I insert a null password, I get the following error:
Traceback (most recent call last):
  File "/usr/local/bin/bloodhound-python", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/__init__.py", line 338, in main
    bloodhound.run(collect=collect,
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/__init__.py", line 79, in run
    self.pdc.prefetch_info('objectprops' in collect, 'acl' in collect, cache_computers=do_computer_enum)
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/ad/domain.py", line 523, in prefetch_info
    self.get_objecttype()
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/ad/domain.py", line 240, in get_objecttype
    self.ldap_connect()
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/ad/domain.py", line 69, in ldap_connect
    ldap = self.ad.auth.getLDAPConnection(hostname=self.hostname, ip=ip,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/bloodhound/ad/authentication.py", line 109, in getLDAPConnection
    bound = conn.bind()
            ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/ldap3/core/connection.py", line 635, in bind
    raise LDAPUnknownAuthenticationMethodError(self.last_error)
ldap3.core.exceptions.LDAPUnknownAuthenticationMethodError: NTLM needs domain\username and a password

I am also having this issue.

should be fixed thanks to @lefayjey in the latest version on git


only seeing limited amount of metrics

Hi There,
Trying this out....
I can hit http://localhost:8080/status OK and loads a lot of json as per what I see on the status.html
When I hit the metrics end point - All I see is the following;
HELP nginx_server_connections nginx connections
TYPE nginx_server_connections gauge
nginx_server_connections{status="accepted"} 2.3859827e+07
nginx_server_connections{status="active"} 23
nginx_server_connections{status="handled"} 0
nginx_server_connections{status="reading"} 0
nginx_server_connections{status="requests"} 0
nginx_server_connections{status="waiting"} 0
nginx_server_connections{status="writing"} 0
HELP nginx_server_info nginx info
TYPE nginx_server_info gauge
nginx_server_info{hostName="",nginxVersion=""} 0
HELP nginx_vts_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which nginx_vts_exporter was built.
TYPE nginx_vts_exporter_build_info gauge
nginx_vts_exporter_build_info{branch="HEAD",goversion="go1.10",revision="8aa2881c7050d9b28f2312d7ce99d93458611d04
Running the latest exporter release and nginx plus 1.2.2
What am I missing here?
Cheers...
Pete

maybe you forgot to compile nginx with nginx-module-vts, try it

Same problem, and nginx vts module install successfully.

@VR6Pete What was your issue?

Can’t remember now , it was over 2 years ago and left the organisation since then.

Solution for Seekers:
In you docker-compose fie put this:
nginx-exporter:
    image: sophos/nginx-vts-exporter
    container_name: nginx-exporter
    user: root
    privileged: true
    environment:
      - NGINX_STATUS=http://webserver/status/format/json
    restart: always
    ports:
      - 9913:9913

instead of:
  nginx-exporter:
    image: sophos/nginx-vts-exporter
    container_name: nginx-exporter
    user: root
    privileged: true
    environment:
      - NGINX_STATUS=http://localhost/status/format/json
    restart: always
    ports:
      - 9913:9913

Don't forget change webserver (Put your nginx container name)


NMH plan week Apr 06-Apr 10

Focus resolves folowing issues:
#1230
#1254
#1278
Follow the following issues:
#1180
#1229
#1235
#1239

thanks for finishing 2/3 of the planned work
this week, let's move  to https://github.com/iotexproject/iotex-explorer/issues/1284


Bug: Job not finished as expected

This is the reason why task was not finished as expected. ref: #96


Master branch activation codes are in base-58 not hexadecimal

I'm completely disappointed that KYC/AML activation codes for ICO end users are currently in hex format (this is something I would expect from Ethereum, not Tezos) instead of being base58check-encoded to minimize the chances of ICO users from making typo mistakes when they configure their wallets for the first time!
Will already generated KYC/AML activation codes be redistributed online in base58check-encode format?

@skaht Check out https://github.com/Cryptonomic/ConseilJS/blob/efb35a2982b9677042944d8d7a637a299d96d7af/src/tezos/TezosWallet.ts#L92 for generating private keys from activation codes.

@skaht We can't comment on the format of the activation codes. Please check with the Tezos dev team.

@vishakh - thanks for pointing to the L92:-)
Until the new KYC/AML activation codes, only the BIP 39 seed words, investor email address used during the ICO, and the investor password used during the ICO were required to back into private seeds associated with the ICO.
The public key hash can be synthesized from from the private key, see code at and around https://github.com/tezos/fundraiser-tools/blob/master/pykeychecker/keychecker.py#L45. Hence the unlockFundraiserIdentity function input argument pkh: string might not be needed.
I'm confident  KYC/AML activation codes will ultimately impact unlockFundraiserIdentity .

@skaht The pkh argument was recently added to ensure the user is unlocking the correct account. It's possible for the user to input one incorrect seed word and still end up with a valid Tezos address, just not the one they wanted. It will likely have zero balance and also refuse to activate. Think of it purely as a mitigation.
Yes, we expect an impact on that function and we will change the logic (maybe it's just a Base58Check decode) to accommodate the format change.

It is true a 15 word BIP 39 seed will only have 5 checksum bits. You are correct in asserting 5 checksum bits is not adequate from an end user perspective.
Let's hope it is a Base58Check-decode can be used.  However, the Tezos Core Team needs to ensure the AML/KYC activation codes are Base58Check-encoded.

@vishakh - From https://stephenandrews.github.io/activatez/ and https://www.reddit.com/r/tezos/comments/8v5qbr/commands_to_activate_fundraiser_accounts_with/, its looking like Tezos AML/KYC activation might be purely a network things that will be decoupled from unlockFundraiserIdentity behaviors. My original assertion might have been wrong. Do you concur?

Closing this issue since this issue can only be fixed (could have been avoided) by the Tezos core team.


Incorrect output shape when using dilations and strides > 1 with depthwise conv

Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.4 - v2.4.0-rc4-71-g582c8d236cb 2.4.0
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 18.04.6 LTS
Mobile device
No response
Python version
3.8.0
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
11.0
GPU model and memory
No response
Current Behaviour?
I am building a model which uses strides > 1 and dilation_rate > 1 in some DepthwiseConv2D layers.
However, with certain values, it seems like the output shape is incorrect.
Note: On the documentation, I see that using dilation_rate > 1 with strides > 1 is invalid, however, no runtime error is raised, in contrast with Conv2D, where the error is raised.
Standalone code to reproduce the issue
import tensorflow as tf

input = tf.keras.layers.Input(
            shape=(136, 136, 72),
            batch_size=1,
        )
x = tf.keras.layers.DepthwiseConv2D(
      kernel_size=3,
      strides=2,
      activation=None,
      use_bias=False,
      padding='valid',
      dilation_rate=(3, 3))(input)

print(f"output shape: {x.shape}")

The print statement shows:
output shape: (1, 64, 64, 72)

Interestingly, when doing the following:
conv = tf.keras.layers.DepthwiseConv2D(
      kernel_size=3,
      strides=2,
      activation=None,
      use_bias=False,
      padding='valid',
      dilation_rate=(3, 3))

conv.compute_output_shape((1, 136, 136, 72))

The output reported is:
(1, 65, 65, 72)

Interestingly, when using dilation_rate =(2, 2) instead, the outputs reported via these two examples, match.
Following the equation in: https://www.tensorflow.org/api_docs/python/tf/nn#notes_on_padding_2
for valid padding, the output shape is calculated as:
output = ceil((in_height - filter_height + 1) / stride_height)

where filter_height when using dilations is computed as:
filter_height: dilation*(filter_height - 1) + 1

Following these equations, the output shape as reported by compute_output_shape is correct. However, it doesnt match the shape reported when actually forwarding through the layer.
I also tried implementing this in Pytorch, and output shape reported matches the one reported by compute_output_shape
This might be related to this issue: https://github.com/keras-team/keras/issues/16092
Is this a bug ? I need to know how the output shape is computed, as I need to be able to calculate a certain amount of padding such to ensure the downsampling caused by the stride results in a certain shape.
Thanks in advance for your support!

@gadagashwini,
I was able to reproduce the issue on tensorflow v2.8, v2.9 and nightly. Kindly find the gist of it here.

Any update on this, team ?

@Hrayo712 ,
I confirm this is an issue. It has to do with the implementation of the Tensorflow tf.nn.*conv* ops, which Keras layers are based on.
In fact, there is an inconsistency. On TPU you do get the expected output shape. The inconsistency has to do with how dilation is implemented on CPU and GPU.
I reported this to the Tensorflow team who owns convolution ops. The original bug you create was actually at the right place.

Closing this in favor of the original https://github.com/tensorflow/tensorflow/issues/57128 as the issue is in tf.nn.depthwise_conv2d


Sliding VC extras

Add sliding VC delegate and a percentage method
@ide @ccheever

addressed comments on old commits (mainly small documentation errors)


Interaction of import list and hiding lists

Tries to implement the suggestion in #19 as I have understood it.
There are some rough edges regarding importing Data Constructors.
Tries to reuse as much code as possible.
Examples:
-- Main.hs
import Data.Text

> hsimport --hiding -m Data.Text -s isInfixOf Main.hs

-- Main.hs
import Data.Text hiding (isInfixOf)

> hsimport -m Data.Text -s isInfixOf Main.hs

-- Main.hs
import Data.Text

import Data.Text hiding (isPrefixOf, isInfixOf)

> hsimport -m Data.Text -s isInfixOf Main.hs

import Data.Text hiding (isPrefixOf)

import Data.Text (isPrefixOf, isInfixOf)

> hsimport --hiding -m Data.Text -s isInfixOf Main.hs

import Data.Text (isPrefixOf)

if we hide all constructors from a data type, just remove the whole import.
If there’s ‘import Foo (Bar(A))’ and ‘A’ gets hidden, then the result
‘import Foo (Bar)’ also seems to be sensible.

if we want to hide only a subset of the constructors, hide only those.

Ok.

if the currently imported Constructors only have an overlap with the constructors to hide, hide the constructors that intersect with the imports.
I don’t quite understand this one, can you please give me an example.

Greetings,
Daniel

It is very similar to the second point, what I had in mind:
import Foo(Bar(A, B, C))

> hsimport --hiding -m Foo -s Bar --with B C D # note, D is not currently imported

import Foo(Bar(A))

One more complicated case that I currently dont know a nice solution for:
import Foo(Bar(..))

> hsimport --hiding -m Foo -s Bar --with B

We dont know the constructors, so we cant do the right thing.

Thinking about the whole hiding of constructors I don‘t quite see a real
use case for it. Normally you just want to extend the import list and
not reduce it. A correct reduction anyway can only be done with compiler
support. So I‘ve to question a bit the usefulness of ´—hiding´ in
conjunction with ´—with´ and if we should just forbid it.
About the hiding of ´B´ on ´import Foo (Bar(..))´, like you‘re saying, it
can‘t be correctly handled and should at least result into an error.
But adding this kind of error handling with the increased complexity
in the code only makes sense if the functionality adds real value.
But I‘ve my doubts if that’s the case for the constructor hiding.

A use case I can think of is hiding a certain constructor if it causes a name clash. This can be utilised by an ide, e.g. Haskell-IDE-Engine, to provide code actions to hide a constructor. Granted, it does not seem like a common case, but it has a use-case in my opinion.
Does hsimport ever throw an error?  I dont think so, and I would prefer it, if it stayed that way.
Possible solutions may be:

Throw an error in that very specific case.
Forbid --with in combination with --hiding.
Dont do anything in that case.
Hide all constructors, thus forcing the user to import exactly the constructors they want.
Give up and add a second import line, similar to the previous behaviour.

I am leaning to the fourth possibility, but mainly since my personal use-case, Haskell-IDE-Engine, would profit from it the most. However, I dont think that this would be the most intuitive behaviour for HsImport.

Ok, if you see a use case for it then I‘m fine with it.
Then I would prefer if „importChange“ returns an „Either Error [ImportChange]“,
with „Error“ just being an alias for „String“, so that the „String“ can contain a
descriptive error message.
The higher level functions should then return an „IO (Maybe Error)“, like
„hsimportWithArgs“ already does.

Now the smarter Constructor implementation works.
However, the case
One more complicated case that I currently dont know a nice solution for:
import Foo(Bar(..))

> hsimport --hiding -m Foo -s Bar --with B

Is not fixed. The fix would be to change the signature of
removeSpecList :: SymbolImport -> HS.ImportSpecList Annotation -> Maybe (HS.ImportSpecList Annotation)

to something like:
removeSpecList :: SymbolImport -> HS.ImportSpecList Annotation -> Either Error (Maybe (HS.ImportSpecList Annotation))

but this actually complicates the code quite a lot.
I was thinking about using error and catching it somewhere to make it less convoluted, but this is just like a goto, so I am hesitant.
Is this increase of complexity tolerable or is the goto more acceptable?
I will push the changes for Either Error ... for comparison.

Now also integates the following case:
-- Main.hs
import Data.Text (isPrefixOf)

> hsimport -m Data.Text Main.hs

-- Main.hs
import Data.Text

Thanks for your changes!
I'm not absolutely happy with the Either Error [ImportChange] return type. ImportChange already contains the constructor NoImportChange so it seems somehow more natual to extend it with another Error constructor.
So instead of Either Error [ImportChange] having:
data ImportChange
= ReplaceImportAt SrcSpan ImportDecl
| AddImportAfter SrcLine ImportDecl
| AddImportAtEnd ImportDecl
| FindImportPos ImportDecldeclaration
| NoImportChange
| Error String
deriving (Show)
Seems like the overall nicer and more flexible solution.

I agree that it seems more natural, but I am not sure how to handle errors in that case.
The result would be now  [ImportChange], if any of these is Error String (or maybe ImportError which seems to be a nicer name to me), then one of the following may happen:

Perform ImportChanges that are not Errors and print the Error.
Do not execute any ImportChange and print the error.

Current behaviour is the latter.
Also, what happens in case of multiple errors? Just concatenate them and then print them?

(or maybe ImportError which seems to be a nicer name to me)

Yes, ImportError is a fine name.

• Do not execute any ImportChange and print the error.

I think I prefer this behavior.

Also, what happens in case of multiple errors? Just concatenate them and then print them?

Concatenate them and return them from hsimportWithSpec by changing its
return type to IO (Maybe Error).

Indeed, that is easier to read!
I also extended the error message to give an example why the execution we try to perform can not succeed.

Do you want to apply further changes or can I merge it?

I am done with the feature. If the code quality and documentation is to your satisfaction, you can merge it!

The '--hiding' option is now released with 'hsimport 0.11.0'.
Thanks for your work!
Greetings,
Daniel


Multi GPU in Keras

Hello,
Is it a way to configure multi gpu in Keras ?
Thanks, regards
Kevin

See https://github.com/fchollet/keras/issues/2436

Hi,
Thanks, but this is still not clear how to configure Theano...
It seems like an hacking exercice..... ( plug into the source code to see how it works....).

If you are using theano as backend, you have do do this by following this.
If you are using tensorflow, you can see this

Correct link to the TensorFlow examples is this.


Error while converting pixel data to ndarray or image

When I try to convert the pixel data from a RT Dose dicom to an image or an ndarray I get the following error: Error(InvalidBitsAllocated { backtrace: Backtrace(())) })
I have followed the examples described here and as a test file I have used this dicom: https://github.com/dicompyler/dicompyler-core/blob/master/tests/testdata/example_data/rtdose.dcm
The error appears in version 0.1.5 of dicom_pixeldata whether or not I enable the gcmrs feature.

Thank you for reaching out!
The given RT dose image uses 32-bit pixel values, which is currently not supported by DICOM-rs. I would love to support this though!
I will take this issue as a tracker for the functionality.

Thank you for your response. This function seems to work for my use case:
fn get_rtdose_pixel_data_as_ndarray(
    path: &str,
) -> Result<ndarray::Array3<u32>, Box<dyn std::error::Error>> {
    let obj = open_file(path)?;
    let pixel_data = obj.decode_pixel_data()?;
    let converted_data: Vec<_> = pixel_data
        .data()
        .chunks(4)
        .map(|i| u32::from_le_bytes([i[0], i[1], i[2], i[3]]))
        .collect();

    let ndarray = ndarray::Array3::from_shape_vec(
        [
            pixel_data.number_of_frames() as usize,
            pixel_data.rows() as usize,
            pixel_data.columns() as usize,
        ],
        converted_data,
    )?;
    Ok(ndarray)
}


Fixed broken links, and updated some to https

This PR fixes a couple of links and typos I noticed in the docs merge pr (sorry, was merged before I could comment).
ping @thaJeztah @moxiegirl @SvenDowideit
Signed-off-by: Christopher Jones<EMAIL_ADDRESS>

Thanks! LGTM
ping @moxiegirl for the merge

Yay https!

LGTM thank you @tophj-ibm for the contribution,


Provide more details in error message for decision and perf log files not found

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 72.02%. Comparing base (50e3008) to head (f4cd2d7).

Files with missing lines
Patch %
Lines

simulator/analysis/plot_utils.py
0.00%
2 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   72.16%   72.02%   -0.15%
==========================================
  Files          21       21
  Lines        1024     1026       +2
  Branches      125      126       +1
==========================================
  Hits          739      739
- Misses        235      236       +1
- Partials       50       51       +1

Flag
Coverage Δ

unittests
72.02% <0.00%> (-0.15%)
:arrow_down:

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

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


[Bug] error watching stream

Describe the bug
Error watching stream message in log.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
[2022-12-02 09:47:35] [error] Web socket frame error:{
"requestId": "70.390",
"timestamp": 1353956.139356,
"errorMessage": "Error during WebSocket handshake: Unexpected response code: 403"
}

[2022-12-02 09:49:06] [info] Waiting for page to load...
[2022-12-02 09:49:10] [info] Accepted mature content
[2022-12-02 09:49:41] [error] Failed to set stream to lowest quality!
[2022-12-02 09:49:41] [error] Error watching stream
[2022-12-02 09:49:41] [info] Watched stream for 1 minutes
[2022-12-02 09:49:41] [info] Found 29 good streams

[2022-12-02 09:54:53] [error] Web socket frame error:{
"requestId": "76.1104",
"timestamp": 181.072388,
"errorMessage": "Error during WebSocket handshake: Unexpected response code: 403"
}
[2022-12-02 09:54:56] [error] Web socket frame error:{
"requestId": "76.1225",
"timestamp": 184.080883,
"errorMessage": "Error during WebSocket handshake: Unexpected response code: 403"
}
[2022-12-02 09:54:58] [error] Error watching stream
[2022-12-02 09:54:58] [error] Stream failed too many times. Giving up for 45 minutes...

[2022-12-02 16:37:03] [error] Failed to set stream to lowest quality!
[2022-12-02 16:37:03] [error] Error watching stream
[2022-12-02 16:37:03] [error] Stream failed too many times. Giving up for 45 minutes...
[2022-12-02 16:37:03] [info] Watched stream for 1 minutes
[2022-12-02 16:37:04] [info] Found 15 good streams
[2022-12-02 16:37:04] [info] Watching stream: https://www.twitch.tv/...
[2022-12-02 16:37:32] [info] Waiting for page to load...
[2022-12-02 16:37:35] [info] Accepted mature content


Draft: Unify seafowl/splitgraph response shape, and get seafowl fields from content-type header

Unify the shape of responses from the splitgraph and seafowl clients, so that clients like a browser-based shell can switch between them (mostly) without worrying about differences. This also entails adding support for things like providing custom headers and fetch options to the client.
Also, get the fields from content-type header of seafowl response (see: https://github.com/splitgraph/seafowl/pull/367)
Probably will drop the arrow dependency since it's not strictly necessary here, but this branch was originally used for experimenting with arrow (which definitely proved that it will be useful, but it shouldn't need to be a dependency of http-client)
Draft because it's not done.

There is... a lot to clean up here. But I checked the examples locally, and they all remain functional with the new version. So I'm going to merge this, cut a new release, and then do the cleanups separately.


BN_mod_add / BN_mod crash

I'm writing code on a Windows platform using OpenSSL 1.1.1g and I think I've either found a bug or there's something seriously lacking in your documentation.
BN_mod_add(big_num.get(), root_big_num.get(), intermediate_big_num.get(), order_big_num.get(), nullptr);
And OpenSSL throws an Access Violation exception.  Now I've checked that all the inputs to the function call are correct and so I know it's not because any of the inputs are null.  Now I never needed to create a context as I'm not creating a lot of BIGNUM objects, but if you DON'T pass one to this function, it will crash.  The same applies to BN_mod().
What I don't understand is that I can use EC_POINT_mul and not pass a context, I can do BN_bin2bn and not pass a context.  So when do I actually need to pass a context???  Should you not document such things rather than having some functions crash if you don't pass one, rather than having to guess which functions care about a context or not????!!??

It looks like BN_add.pod does document it.
i.e:
'For all functions, I is a previously allocated B<BN_CTX> used for
temporary variables; see L<BN_CTX_new(3)>.'
The context is used to hold a pool of temporary BIGNUMs, which you really don't want to be doing on every call to the BIGNUM API's (especially when they are in a sequence). For this reason most of the BN functions which are fairly low level will assume that the context is not NULL.
BN_bin2bn() does not use a context as it does not have a need for a pool of temp bignums.

Sorry about that, I realised after that BN_bin2bn() doesn't require a context!  Anyway, this was really about consistency in documentation.  Nowhere in your man pages that you list online does it say that the BN_CTX has to be initialised.  I know what the BN_CTX is for, it's just that I rarely need to allocate more than about 1 or 2, so I don't really need a constant supply of Bignums.
Here's what I mean though, in terms of not needing a context:
EC_POINT_mul(ec_group, ec_point, big_num, nullptr, nullptr, nullptr);   <--- perfectly happy!
EC_KEY_set_public_key(ec_key, ec_point);

Marking as inactive to be closed at the end of 3.4 dev, barring further input


Update ASR help #94

Added documents link and describe.

Documentation

About Site Recovery

This document provides an overview and key features of Azure Site Recovery, explaining its benefits as a disaster recovery solution. It offers detailed information on how to protect virtual machines, configuration procedures, and how to support business continuity in the event of IT outages. By referring to this document, you can gain the knowledge required to effectively implement and operate Azure Site Recovery.

About Backup center for Azure Backup and Azure Site Recovery

Azure Backup Center is a centralized backup management solution designed to simplify the monitoring, operation, and analysis of backups for various workloads and Azure services. It offers a unified dashboard that provides visibility and control over your backup estate, allowing you to monitor and manage backup policies, track backup jobs, and handle backup-related issues. Azure Backup Center also supports integration with Azure Site Recovery, providing a comprehensive approach to ensuring business continuity and data protection across your organization.

General questions about Azure Site Recovery

Azure Site Recovery FAQ document addresses common questions and concerns about the Azure Site Recovery service. Topics covered include service availability, supported scenarios, replication, failover, recovery, pricing, and compliance. The FAQ also provides guidance on how to plan, configure, and troubleshoot Azure Site Recovery. By referring to this document, you can gain a better understanding of the service's capabilities and limitations, helping you make informed decisions about implementing and operating Azure Site Recovery in your organization.

@infosatheesh2020 Could you proofread this part if needed?

@tsubasaxZZZ - Ira's feedback was that the help section is already very verbose. That's why it was made hidden by default. We might want to drop adding additional general guidance. If there are any specific insights we can show, for example the number of protected VMs and health status, that would be a good value add.


Remove strict versioning on clap dependency

Addresses https://github.com/virtee/snpguest/issues/68. I think it should be fine to remove this strict semvar, but happy to make any changes you folks see fit!

I'll also update the MSRV in this repo as well so we can keep it consistent on snphost (see my PR in https://github.com/virtee/snphost/pull/74)

Can you update to 1.79 instead?

Looks like we can go up to 1.80, even:

Sure, 1.80 works. @CookieComputing do you mind updating this and snphost's PR to 1.80?

I'll update the toolchain. Thanks @CookieComputing

Thanks! I'll submit another PR for just updating the toolchain to 1.80 and check to see that it builds against cargo build for both repos


Documentation: how to write generic.nix

Problem
When multiple versions of a package are present in nixpkgs, we deduplicate the common logic into generic.nix. However there's no guideline on properly writing and calling generic.nix so that override and other functions still works. This issue surfaces from https://github.com/NixOS/nixpkgs/pull/281932 and related PRs/issues.

Proposal
Provide an example on how to properly write and call generic.nix.

Checklist

[ ] checked latest Nixpkgs manual (source) and latest NixOS manual (source)
[ ] checked open documentation issues for possible duplicates
[ ] checked open documentation pull requests for possible solutions

Add a :+1: reaction to issues you find important.

cc @SuperSandro2000


AVIF image not showing in release mode

Hi,
AVIF images show up just fine in debug mode.
Yet this:
AvifImage.network(
    "<image url>",
    height: 200,
    fit: BoxFit.contain,
),

is just blank in release. No error whatsoever. Not in logcat either.
I'm using the 2.3.0 version.

Hi. Did you setup network permissions? For android and macos you need to setup permissions to be able to load images over internet. https://docs.flutter.dev/data-and-backend/networking#platform-notes

If you did and still having the issue, can you please share sample code or a repo to reproduce the error?

Oh my... I completely fell for this.
Nice suggestion @yekeskin! That is indeed the missing bit i needed to get it working.
It's annoying that android has different permission in debug compared to release. IT sure has reasons but it's annoying too.
No issue in your code, closing.


Windows 11 Clone

🛠 Fixes Issue
Closes #

#175

👨💻 Changes proposed

1, Added Well defined Code n a folder
2. Added Well defined HTML,CSS,JS code .

✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

📷 Screenshots
1. Image Demo

2. Video Demo
https://user-images.githubusercontent.com/77873383/159519358-bec5b1e3-14cb-4bc2-bfca-ba1edfb8ab5d.mp4

@gurjeetsinghvirdee 😃😃😃 kindly check

buddy how u made projects this much fast are you copying?

@gurjeetsinghvirdee 😃😃😃 kindly check

buddy how u made projects this much fast are you copying?

I had made all these previously when I was in 2nd year..now I am updating a little and make PR

ok lets check them Then I will merge


Dot propagator prints the first dot before solving starts (according to logs)

While running the dot-propagator example, i got the following output:
$ clingo dot.lp test.lp
clingo version 5.3.1
Reading from dot.lp ...
.Solving...

UNSATISFIABLE

Models       : 0
Calls        : 1
Time         : 15.389s (Solving: 15.27s 1st Model: 0.00s Unsat: 15.27s)
CPU Time     : 0.055s

The first dot is printed before the «Solving...» print.
Why is that ?

If you check the decision level of the assignment at this point, you will see that it is zero. All consequences on this level are propagated before the actual solving starts. Also, if something is propagated on level 0, then there won't be a matching call to undo. So it might even make sense not to print a dot for such levels.

Sounds good to me. Thanks !


Use Mixer for reimbursement view tests

This change makes use of mixer[1] for fixtures in Reimbursement view tests.
[1] - https://github.com/klen/mixer/

@cuducos take a look. More than a pull request this is a proposal to improve tests.

Changes Unknown when pulling a35b6d93d710354b24e8a6e7e46bad534f7dea5d on cacarrara:use-mixer-for-fixtures into ** on datasciencebr:master**.

@cuducos do you think we should change all tests within only one PR? I think we could do it one PR by test file. It could be easier and better to review/approve so we could minimize chances for errors.
Have temprorarily only some tests running with mixer seems do not raise any issue.
I can handle the tests refactoring.

Changes Unknown when pulling 5268291aec99f6472e8d72b76a3da61ca359240c on cacarrara:use-mixer-for-fixtures into ** on datasciencebr:master**.

@cuducos and @jtemporal the changes was done. Take a look :stuck_out_tongue_winking_eye:

Wow! Many thanks, @cacarrara <3


(PUP-8099) Use fully qualified paths of VDevs in zpool provider.

Adds the -P parameter to "zpool status" to get back fully qualified device paths of VDevs.

CLA signed by all contributors.

The -P option doesn't appear to be valid on Solaris 11, or on FreeBSD 10. Looks like the flag should be confined to only being used on Linux.

Can one of the admins verify this patch?


Material Design Catalog page not loading

This page (https://flutter.io/material-design-catalog/) is not loading. Possibly related to recent commits from #294 and #291.
@Hixie Can you ptal and debug?

Works for me from home. Can you try again?

I have no idea what's going on here. The page is literally making Chrome hang for me.

Works fine in Firefox.

I'm now in Munich, and I see the delayed loading. The text in the page came up, but not the images. I see:

Chrome really is frozen. It hangs the tab hard. I've no idea why. Firefox works fine.

(I don't think my changes did anything that would affect this, but clearly they might have.)

I got this error message in the developer console when loading the catalog in Chrome: "Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError"
I suspect loading images from material.google.com is causing the problem, but then I don't understand why it appears to only affect Chrome.

Fixed by adding a missing


Challenge images

Here are some new images.  I am (I think) changed dimensions to 1280 by approx 720.   Also changed stroke to white for a lot of them.  What do you think of these?

These are fantastic!


Iterate on the PRPL pattern doc

Feedback from Alex R:

Using HTML Imports to keep the main thread interactive and parse in small chunks needs to be called out explicitly.
The use of lazy upgrades to help ensure there's a structure that can be styled before elements load should probably be called out as something that other frameworks need to work at
Small-module loading has a lot of complication; not sure how deeply you want to go into it?
Might be worth calling out the high-level goal of interactivity in 3s on a 3G connection on moderate (~$200) hardware

My understanding of why Imports are a performance primitive is because they take advantage of the off-main-thread preload scanner to parse imports and fetch them async unlike modules, because the preload scanner can't look inside script. We haven't really talked about this in great detail anywhere and may need to decide whether this belongs directly in this doc or elsewhere that we link to.
Alex also called out that Imports also function as a natural way of structuring your code and managing module dependencies; this means that your imported modules tend to be small. If you load them in this unvulcanized form (as Shop does), what you gets is that very, very nice highly-chunked eval pattern that you see at the end of a Shop trace. Imports lead you down the road of small evals without extra infrastructure, which is CRITICAL to staying interactive.
cc @graynorton as we're iterating on PRPL in one of his docs and he may have thoughts here

There's also some prior art at https://www.html5rocks.com/en/tutorials/webcomponents/imports/#performance on performance and ergonomic benefits.
There was also https://bugs.chromium.org/p/chromium/issues/detail?id=323096, which would have prefetched stylehsheets and subimports, making HTML imports even faster than they are today. That was marked as WontFix due to the lack of interest in Imports :\

We've been working on a set of specific improvements to the PRPL docs and will aim to get them in PR form this quarter.


Docs: Vector2Like args for Vector2 methods

This PR

Updates the Documentation

For methods like vector2.add(src), I changed src type from Vector2 to Vector2Like.

👍


Add JSON for little alchemy 2

Hey, we were chatting on HackerNews.
Here's what I got for https://littlealchemy2.com. The data comes from here, under a key named "2e77".
This is the script I used to transform that data:
const fs = require('fs')
const data = require('./raw.js')

// Converts the data to a format suitable for:
// https://github.com/redfast00/element-alchemy-cheater/tree/master/JSONrecipes

// "schema"
// {
//   "names": ["alpha", "bravo", "charlie"] // lower case strings
//   "recipes": [
//     {
//       // pair of item ids required by this recipe. length 2.
//       ingredients: [1, 2],
//       // id of recipe output. length 1.
//       results: [5],
//     }
//   ],
// }

const makeRecipes = (resultID, combinations) => {
  return combinations.map(combo => ({
    ingredients: [parseInt(combo[0]), parseInt(combo[1])],
    results: [parseInt(resultID)],
  }))
}

const transform = (data) => {
  const names = {}
  const recipes = []

  let newRecipes
  let i = 0
  for (key in data) {
    names[i] = data[key].n
    newRecipes = makeRecipes(key, data[key].p || [])
    newRecipes.forEach(recipe => recipes.push(recipe))
    i++
  }

  return { names, recipes }
}

const filename = "little_alchemy_2.json"

try {
  const out = transform(data)
  fs.writeFileSync(
    filename,
    JSON.stringify(out, null, 2),
    { mode: 0644 },
  )
} catch (e) {
  console.error(e)
  process.exit(1)
}

console.log("OK, wrote to", filename)

Let me know of any feedback, questions. Thanks!

Thank you! I'll review this tomorrow after I get some sleep.

It does not seem to work:
python3 cheat.py JSONrecipes/little_alchemy_2.json
:> recipe steam
{'ingredients': ['earth', 'combustion engine'], 'results': ['steam']}

(this should list fire and water as ingredients)
Could you please find out what's going on?
There's also a KeyError when executing usage steam.

Yes, my transformation script had a bug:
   const recipes = []

   let newRecipes
-  let i = 0
   for (key in data) {
-    names[i] = data[key].n // Item ids are not necessarily sequential
     newRecipes = makeRecipes(key, data[key].p || [])
     newRecipes.forEach(recipe => recipes.push(recipe))
-    i++
+    names[key] = data[key].n // The item id is actually the key from the original data source.
   }

   return { names, recipes }

I've regenerated the JSON with the fix, manually tested a few. It seems to work now.

Thank you! Since you said you wanted feedback:

I really like that you included the code you used to generate the data with the PR
I like that you used a named branch


Windows test on GitHub Actions

To validate this pull request against other sbt modules, please visit this link.


refactor(core): remove atomManager & listenerManager

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

424 of 424 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1202

Relevant Lines:
1202

💛  - Coveralls


ament_index: 1.3.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository ament_index to 1.3.0-1:

upstream repository: https://github.com/ament/ament_index.git
release repository: https://github.com/ros2-gbp/ament_index-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.0.6-1

Holding for a Rolling sync


Flip card animation added

Description
Flip card animation added to the cards.
Checklist

[x] I am making a proper pull request, not a spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
(Write your answer here.)
Fixes #266
Add relevant screenshot or video (if any)
(Add here)

Hey @Khushi-agarwal you have not implemented the feature completely (missing in the games and dance section). Please check it

Hey @Khushi-agarwal you have not implemented the feature completely (missing in the games and dance section). Please check it

@nilisha-jais it's added now.

You are more likely to face an issue.
You are more likely to face an issue. Your name might not appear in the Contributors list

No actually it's with a different id.

@nilisha-jais @niloysikdar any other changes required.

You are more likely to face an issue. Your name might not appear in the Contributors list

No actually it's with a different id.I hope that might not affect my contributions.

Please fix this then. Otherwise you won't appear as a contributor and even we would be unable to help

@Khushi-agarwal have'nt you setup your git bash with the same mail id as in your GitHub account?
You are more likely to face an issue. Your name might not appear in the Contributors list

No actually it's with a different id.I hope that might not affect my contributions.

Please fix this then. Otherwise you won't appear as a contributor and even we would be unable to help

I have fixed it but since this pr was made earlier so here the changes are not reflected. I will take care of it from the next pr. Thank you for telling about it:)

@nilisha-jais Its fixed now. Now my name is showing and also I have resolved all the conflicts.

Great! Thank you:)


Minor typo fix

Was importing Plutarch.Lift (DerivePConstantViaNewtype (DerivePConstantViaNewtype)) instead of Plutarch.DataRepr (DerivePConstantViaData (DerivePConstantViaData)) for the ViaData example

No problem :)


Can't compile python package

I am able to compile the CXX API, but the python package fails with the error:
fatal error: NvInfer.h: No such file or directory
 #include "NvInfer.h"
          ^~~~~~~~~~~
compilation terminated.

A quick search confirms that NvInfer.h is not in the repo, so I assume it is part of LibTorch / cuDNN / TRT, so I suspect bazel has an issue with the location of one of these, but I find it strange that I can compile the C++ API, so I was wondering if the python package is currently building correctly and, if so, what I can do to troubleshoot this.
My OS is Ubuntu 20.04, python 3.8 inside a conda environment, with bazel 3.3.1, cuda 10.2, TensorRT <IP_ADDRESS> and cuDNN <IP_ADDRESS>

Is it possible to tell if this error is coming from Ninja or Bazel? My guess is that it is coming from Ninja when compiling the PyBind module (post compilation of the core library).  We include TensorRT headers here for the python package build https://github.com/NVIDIA/TRTorch/blob/842a56723b74f64ca13001f66f2c396dfe19cc30/py/setup.py#L150 to use bazel managed dependencies. Are you pulling in dependencies with http_archive/dist_dir or using locally installed TensorRT/cuDNN?


Update governance.md

Replacing myself (Ananya, Microsoft) to Dan Mihai as TSC member
Signed-off-by: Ananya Garg<EMAIL_ADDRESS>

Signed-off-by: Ananya Garg<EMAIL_ADDRESS>


Changing Console Host breaks Win 11 boot

Windows Terminal version (or Windows build number)
10.0.22000.0
Other Software
Oh My Posh
Steps to reproduce

On Windows 11 (newest non-insider version)
Install PowerShell Core 7.2
Set as PowerShell as default shell
Change Console Host to Windows Terminal
Install and setup oh-my-posh
After restart, win 11 goes into recovery loop - autofix not working (event safe mode!)

Expected Behavior
System should restart properly.
Actual Behavior

Unable to start Windows
Unable to boot with SafeMode
No Srt logs created.

Reproduced twice on clean win install. Unfortunately I have no more time to test it - PC reset was required to make Windows boot again, everytime.
No issues on win 10

HUH, that's bad. Might be similar to #11676. I'd suspect that the PowerShell Core bits don't necessarily have anything to do with the root cause... If they do that would raise more questions. Also maybe related: #11164

We've not seen any other reports of this on any other channels; I'm going to bump it from 1.14 for now.

I've been unable to find a repro scenario of this even with all the other defapp issues I've seen recently. I'll have to resolve it for now.


[FEATURE REQ] Refine the xml document by adding cref for those that are referencing something in our code

Library name
Azure.*
Please describe the feature.
We have quite a few cases in our xml document which is referencing something in our code, but not using the cref, like this:
https://github.com/Azure/azure-sdk-for-net/blob/1660eec291fea10fb590eee75eacbdeeb6f20675/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyDetectorModelFactory.cs#L40
The LastDetectResponse in this line is actually a name of a class in another namespace (Models) which should be referenced here using cref.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.120700836,Azure.Core:0.09177178,Search:0.0738128'

Since there haven't been objections noted and the change is non-invasive, let's move forward with this.


Add Code Highlighting -- UI

UI should have code highlighting as well.

Not possible with the textbox implementation. Editable divs are not a great option either because they are HTML 5 exclusive.