Tons of errors with "FileNotFoundError: [Errno 2] No such file or directory"

I installed the tool with %pip install git+https:///github.com/amesar/mlflow-export-import/#egg=mlflow-export-import to a Databricks notebook and ran export_experiments("all", "dbfs:/mnt/databricks-common-assets/ml_platform/e2_migration/mlflow_export/", True, notebook_formats="DBC", use_threads=True).
However it ran into so many "No such file or directory" error which is rather weird as fs.mkdirs(notebook_dir) was called before it.
Is there some problem with DBFS or S3 mounts that could have caused this?
Exporting run 111: f2754468f148478a8e8553a3884f32ec
Wrote 3241 bytes.
Wrote 8605 bytes.
ERROR: run_id: f2754468f148478a8e8553a3884f32ec Exception: [Errno 2] No such file or directory: 'dbfs:/mnt/databricks-common-assets/ml_platform/e2_migration/mlflow_export/1036469/f2754468f148478a8e8553a3884f32ec/artifacts/notebooks/manifest.json'
Traceback (most recent call last):
File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-8ebc49b2-997d-4303-aa17-8b98b91cded1/lib/python3.8/site-packages/mlflow_export_import/run/export_run.py", line 76, in export_run
self.export_notebook(output_dir, notebook, run.data.tags, fs)
File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-8ebc49b2-997d-4303-aa17-8b98b91cded1/lib/python3.8/site-packages/mlflow_export_import/run/export_run.py", line 96, in export_notebook
with open(path, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'dbfs:/mnt/databricks-common-assets/ml_platform/e2_migration/mlflow_export/1036469/f2754468f148478a8e8553a3884f32ec/artifacts/notebooks/manifest.json'

Some recent updates broke the notebooks. Will look at them shortly.

Thanks Andre!

Checked in the fix. Refresh your notebooks from github too.

@amesar Thanks for the quick fix! A few follow-ups:

I am running export_models("all", "/dbfs/mnt/databricks-common-assets/ml_platform/e2_migration/mlflow_export/2022_03_21", notebook_formats="DBC", stages="", export_all_runs=False, use_threads=True). It seems to only imported top 100 models. This might need to pass in a really large max_results

When I am importing with import_all("/dbfs/mnt/databricks-common-assets/ml_platform/e2_migration/mlflow_export/2022_03_21", delete_model=False, use_src_user_id=False, import_metadata_tags=True, verbose=False, use_threads=True)

There are lots of errors while creating models:
2022/03/22 04:23:22 ERROR mlflow.utils.rest_utils: API request to https://oregon.cloud.databricks.com/api/2.0/preview/mlflow/registered-models/create failed with code 500 != 200, retrying up to 2 more times. API response body: {"error_code":"INTERNAL_ERROR","message":"Got unexpected exception for resource 'Registered Model', key ac_bias_adj_model_test_v2_11"}
And also this final error:
/databricks/python/lib/python3.8/site-packages/mlflow_export_import/bulk/import_models.py in import_all(input_dir, delete_model, use_src_user_id, import_metadata_tags, verbose, use_threads)
     76     dct = { "duration": duration, "experiment_import": exp_res[1], "model_import": model_res }
     77     fs = _filesystem.get_filesystem(".")
---> 78     utils.write_json_file(fs, "import_report.json", dct)
     79     print("\nImport report:")
     80     print(json.dumps(dct,indent=2)+"\n")

/databricks/python/lib/python3.8/site-packages/mlflow_export_import/utils.py in write_json_file(fs, path, dct)
     68
     69 def write_json_file(fs, path, dct):
---> 70     fs.write(path, json.dumps(dct,indent=2)+"\n")
     71
     72 def write_file(path, content):

/usr/lib/python3.8/json/__init__.py in dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, cls, indent, separators, default, sort_keys, **kw)
    232     if cls is None:
    233         cls = JSONEncoder
--> 234     return cls(
    235         skipkeys=skipkeys, ensure_ascii=ensure_ascii,
    236         check_circular=check_circular, allow_nan=allow_nan, indent=indent,

/usr/lib/python3.8/json/encoder.py in encode(self, o)
    199         chunks = self.iterencode(o, _one_shot=True)
    200         if not isinstance(chunks, (list, tuple)):
--> 201             chunks = list(chunks)
    202         return ''.join(chunks)
    203

/usr/lib/python3.8/json/encoder.py in _iterencode(o, _current_indent_level)
    429             yield from _iterencode_list(o, _current_indent_level)
    430         elif isinstance(o, dict):
--> 431             yield from _iterencode_dict(o, _current_indent_level)
    432         else:
    433             if markers is not None:

/usr/lib/python3.8/json/encoder.py in _iterencode_dict(dct, _current_indent_level)
    403                 else:
    404                     chunks = _iterencode(value, _current_indent_level)
--> 405                 yield from chunks
    406         if newline_indent is not None:
    407             _current_indent_level -= 1

/usr/lib/python3.8/json/encoder.py in _iterencode_dict(dct, _current_indent_level)
    403                 else:
    404                     chunks = _iterencode(value, _current_indent_level)
--> 405                 yield from chunks
    406         if newline_indent is not None:
    407             _current_indent_level -= 1

/usr/lib/python3.8/json/encoder.py in _iterencode_list(lst, _current_indent_level)
    323                 else:
    324                     chunks = _iterencode(value, _current_indent_level)
--> 325                 yield from chunks
    326         if newline_indent is not None:
    327             _current_indent_level -= 1

/usr/lib/python3.8/json/encoder.py in _iterencode(o, _current_indent_level)
    436                     raise ValueError("Circular reference detected")
    437                 markers[markerid] = o
--> 438             o = _default(o)
    439             yield from _iterencode(o, _current_indent_level)
    440             if markers is not None:

/usr/lib/python3.8/json/encoder.py in default(self, o)
    177
    178         """
--> 179         raise TypeError(f'Object of type {o.__class__.__name__} '
    180                         f'is not JSON serializable')
    181

TypeError: Object of type MlflowExportImportException is not JSON serializable

It seems to only imported top 100 models. This might need to pass in a really large max_results

Good catch. I'll look into it.

I checked in a fix with issue https://github.com/amesar/mlflow-export-import/issues/51. Try it again.

Thanks Andre! Do you know what's the problem with this error below please?
Somehow it's making a request to "https://oregon.cloud.databricks.com/api/2.0/workspace/mkdirs". I thought it would be our own databricks host.
Creating Databricks workspace directory<EMAIL_ADDRESS>Traceback (most recent call last):
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/bulk/import_models.py", line 39, in import_experiments
    _run_info_map = importer.import_experiment( exp["name"], exp_input_dir)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/experiment/import_experiment.py", line 36, in import_experiment
    mlflow_utils.set_experiment(self.dbx_client, exp_name)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/mlflow_utils.py", line 57, in set_experiment
    create_workspace_dir(dbx_client, os.path.dirname(exp_name))
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/mlflow_utils.py", line 48, in create_workspace_dir
    dbx_client.post("workspace/mkdirs", { "path": workspace_dir })
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 50, in post
    return json.loads(self._post(resource, data).text)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 46, in _post
    self._check_response(rsp,uri)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 63, in _check_response
    raise MlflowExportImportException(f"HTTP status code: {rsp.status_code}. Reason: {rsp.reason}. URI: {uri}. Params: {params}.")
mlflow_export_import.common.MlflowExportImportException: HTTP status code: 400. Reason: Bad Request. URI: https://oregon.cloud.databricks.com/api/2.0/workspace/mkdirs. Params: None.

Thanks for the quick fix! Wondering if you know what this error is about please?
Should it be calling "https://oregon.cloud.databricks.com/api/2.0/workspace/mkdirs"? instead our own databricks host?
I had export DATABRICKS_HOST=https://{my-comanpy}.cloud.databricks.com and also set the same env in python
Creating Databricks workspace directory<EMAIL_ADDRESS>Traceback (most recent call last):
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/bulk/import_models.py", line 39, in import_experiments
    _run_info_map = importer.import_experiment( exp["name"], exp_input_dir)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/experiment/import_experiment.py", line 36, in import_experiment
    mlflow_utils.set_experiment(self.dbx_client, exp_name)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/mlflow_utils.py", line 57, in set_experiment
    create_workspace_dir(dbx_client, os.path.dirname(exp_name))
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/mlflow_utils.py", line 48, in create_workspace_dir
    dbx_client.post("workspace/mkdirs", { "path": workspace_dir })
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 50, in post
    return json.loads(self._post(resource, data).text)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 46, in _post
    self._check_response(rsp,uri)
  File "/databricks/python/lib/python3.8/site-packages/mlflow_export_import/common/http_client.py", line 63, in _check_response
    raise MlflowExportImportException(f"HTTP status code: {rsp.status_code}. Reason: {rsp.reason}. URI: {uri}. Params: {params}.")
mlflow_export_import.common.MlflowExportImportException: HTTP status code: 400. Reason: Bad Request. URI: https://oregon.cloud.databricks.com/api/2.0/workspace/mkdirs. Params: None.

Not quite clear what the issue is. To externally access Databricks MLflow see https://github.com/amesar/mlflow-resources/blob/master/MLflow_FAQ.md#how-do-i-access-databricks-mlflow-from-outside-databricks

I ran everything inside the databricks cluster & notebook. Not sure why it is trying to connect to  "https://oregon.cloud.databricks.com/api/2.0/workspace/mkdirs"

https://docs.databricks.com/dev-tools/api/latest/workspace.html#mkdirs is legitimate endpoint. Needs to create the target folder if it doesn't exist.

Yes, the endpoint is legitimate but I thought it should be made to our databricks host instead of https://oregon.cloud.databricks.com?

Hi @amesar, why is this closed please?

Best to send me a zip file of your exported directory: andre at databricks.


SVG cloud word.

This lib generate SVG  cloud word?

At the moment it only outputs to a PNG file, but in theory it wouldn't be hard to modify it to support SVG.
https://github.com/isaackd/wcloud/blob/21aee448f98a1c4de5e4a11ccb6154daeb35c57d/src/lib.rs#L133-L168
This function could be changed to place the words in an SVG file since all the necessary data is there: word, font size, x, y.

Cool! i am starting change here will try make this feature.  Still not working yet
https://github.com/eufelipemateus/wcloud/commit/baf0f7aaba25ee64d0bf736d24bcd762ff320c57

Looks good! Excited to try it out.

This feature would be dope! have not found any other wordcloud implementation supporting svg

I checked out your branch and was able to modify it to get an SVG word cloud. Everything is slightly off because of the rendering differences between theab_glyph library used for calculating word positions and SVG though. Let me know if you're interested in trying to take this further and I can make a PR on your repo with the code.

Hello @isaackd  Yes, I am interested in help. If you can do the PR to fix it I'll be happy. I can generate the svg but I still can't create the cloud itself.

At the moment it only outputs to a PNG file, but in theory it wouldn't be hard to modify it to support SVG.
https://github.com/isaackd/wcloud/blob/21aee448f98a1c4de5e4a11ccb6154daeb35c57d/src/lib.rs#L133-L168
This function could be changed to place the words in an SVG file since all the necessary data is there: word, font size, x, y.

Yes, I couldn't generate the svg, now I can't create the cloud.
I want to create another function to allow me to generate only svg and keep the png generation function as it is today.


re-frame examples do not compile due to re-frame version unavailable on clojars

Error: Could not find artifact re-frame:re-frame:jar:0.11.0-rc2-SNAPSHOT in clojars (https://repo.clojars.org/)
Changed dependency version to "0.11.0-rc1" in project.clj and that fixes it.

Thanks for the bug report @thomaswilliams77 and apologies for the inconvenience.

No prob, great work on this project. And great examples. Thank you!
On Sun, Oct 13, 2019, 12:54 AM Isaac Johnston<EMAIL_ADDRESS>wrote:

Thanks for the bug report @thomaswilliams77
https://github.com/thomaswilliams77 and apologies for the inconvenience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/day8/re-frame/issues/556?email_source=notifications&email_token=AGBI6KBVLSNQQI2KTXC7XZLQOLAYVA5CNFSM4JAEWIJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCP32Y#issuecomment-541392363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBI6KBYIJ76NMLPQSZOGBLQOLAYVANCNFSM4JAEWIJA
.


PTRENG-3570_Azure setprivateip

PR Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Title of the PR starts with installer/product name (e.g. [ansible/artifactory])
[ ] CHANGELOG.md updated
[ ] Variables and other changes are documented in the README.md

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

There are no changes in the azuredeploy.parameters.json. This file should provide the identical set of parameters with createUiDefinition.json

azuredeploy.json has a problem, see the error below. I've tested the template from the master branch with the same parameters and the deployment was successful.
Artifactory UI is not starting btw, so looks like we have another problem to solve as well.
`{'code': 'InvalidTemplateDeployment', 'message': "The template deployment 'azuredeploy' is not valid according to the validation procedure. The tracking id is 'b09b9220-f079-46c9-beb3-2157a4c7f480'. See inner errors for details."}
Inner Errors:
{'code': 'InvalidResourceReference', 'message': 'Resource /subscriptions/<subscription_id>/resourceGroups/daniel-artifactory-test/providers/Microsoft.Network/loadBalancers/rthaos3qxlb/frontendIPConfigurations/rthaos3qxlbprimaryFepoolprimaryIpConfig referenced by resource /subscriptions/<subscription_id>/resourceGroups/daniel-artifactory-test/providers/Microsoft.Network/loadBalancers/rthaos3qxlb/loadBalancingRules/HTTPRulePrimary was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.'}`
Also, UI definition wasn't accepting master and join keys generated with openssl rand -hex 32, which is the recommended way. I've fixed that and committed.


Issue 41: Add support for NGINX containers in k8s

Created a distinct joblist for NGINX containers
At present it only collects nginx -T output
Updated readme to reflect support for NGINX and NGF containers

Closes #44


[management] improvements

Cleaned up management/src/lib
Enabled token from file per @mgorven  and BisonTrail's recommendation
Added CreateWaypoint ability to management

@bors-libra r=joshlind

:pushpin: Commit fbe6ed4 has been approved by joshlind

:hourglass: Testing commit fbe6ed4613ded9a9bed4450d097763543612d2ff with merge 406a29ef3017c8be3b11e8ab94232c0fe02b3bf8...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: joshlind
Pushing 406a29ef3017c8be3b11e8ab94232c0fe02b3bf8 to master...


[k8s-extension] Release Public Preview Version v0.2.0

Release the public preview version of k8s-extension v0.2.0
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

hi @fengzhou-msft could you pls help to support the release?


Upgrade to ex_doc 0.12

When run from master, you get some warnings based on changes to elixir 1.3
16:27 /src/httpotion (master)$ mix test
==> ex_doc
Compiling 12 files (.ex)
warning: function Cmark.to_html/1 is undefined (module Cmark is not available)
  lib/ex_doc/markdown/cmark.ex:18

warning: function Markdown.to_html/2 is undefined (module Markdown is not available)
  lib/ex_doc/markdown/hoedown.ex:29

Generated ex_doc app
==> httpotion
Compiling 1 file (.ex)
Generated httpotion app
............................................

Finished in 3.9 seconds
44 tests, 0 failures

Randomized with seed 66162

With the upgrade to 0.12, these go away
16:30 /src/httpotion (upgrade-elixir-1.3)$ mix test
............................................

Finished in 4.3 seconds
44 tests, 0 failures

Randomized with seed 952333

Thanks!


Default Font and Size

Thanks for a versatile and useful extension.  Is there a way to add type font and size in the format of a pasted HTML link?  A link now appears when pasted as 12pt Times and my (preferred) default is 13pt Georgia.

Hi, you can add style attribute to the format value of your HTML option:
{{text.s("<","<")}}

Hope this helps.

I'm glad it helps.
I'm closing this issue now.


Use transform property in docs instead of rotate

at the moment the "rotate" css properties have little browser support.
https://caniuse.com/?search=rotate

Thank you! 🙏


Unfocus event of nested tooltips

Unfocus event of nested tooltips were being ignored. Let me know what you think of the proposed fix.

Can you setup a jsfiddle to demonstrate this bug please?

http://jsfiddle.net/QS259/
I'll clean up the fiddle a little later on today, but this is the basic idea

Seems to work fine for me... what is it you think doesn't work properly?

click the first sub tooltip, and then click the second. you'll see that the first sub tooltip doesn't disappear, even though it was clearly "unfocused".

Ah I see, just merged up the change manually as you forgot to run the pre-hooks and generate the full minified files etc. cheers yshaul! :)


Feature: Disable/Enable Positive and Negative Buttons

At this time you can hide any dialog view (including positive and negative buttons) by setting its text string to null.
To hide buttons:
dialog.setPositiveButton(null, null);
dialog.setNegativeButton(null, null);


Configurable ore blacklist

As per https://forums.factorio.com/viewtopic.php?p=194011#p194011, by default it should contain only Homeworld sand (predictably named sand), and refer to the ore by entity name, not by category (so the category-based check can go away again, yay!).
Worth noting that with RSO, sand is reasonably distributed, so perhaps include some instructions to turn that back off. Or consider an admin-only settings screen to alter the config on the fly.

Sites have a size limit now so this is less awful than it used to be; we also don't eat so much script time just managing more resource entities. Perhaps we don't need this


Automated cherry pick of #2452: Update some Go module dependencies
#2464: Fix invalid client-go version

Cherry pick of #2452 #2464 on release-0.13.
#2452: Update some Go module dependencies
#2464: Fix invalid client-go version
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #2475 (c6eb097) into release-0.13 (20cf1fd) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-0.13    #2475      +/-   ##
================================================
- Coverage         40.96%   40.94%   -0.03%
================================================
  Files               116      116
  Lines             14617    14617
================================================
- Hits               5988     5985       -3
- Misses             8118     8120       +2
- Partials            511      512       +1

Flag
Coverage Δ

unit-tests
40.94% <ø> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/apiserver/certificate/certificate.go
71.05% <0.00%> (-6.58%)
:arrow_down:

pkg/apiserver/handlers/endpoint/handler.go
70.58% <0.00%> (+11.76%)
:arrow_up:


Dots style 'dots' problem with type canvas or image download

Dots style 'Dots' creates horizontal smears on the upper part of the QR image, in the preview and also the downloaded image if the data length is long.

the same issue that original repo:
https://github.com/kozakdenys/qr-code-styling/issues/177

I have the same issue for all styles except the 'square' only on PC.  on my IOS device all looks good.
Wonder if this is a Browser issue?  I'm using Chrome on Windows.

I don't know why this issue is fixed, but the following code fixes it.
/src/figures/dot/canvas/QRDot.ts
Add context.moveTo(0, 0); to line 66
  _basicDot(args: BasicFigureDrawArgsCanvas): void {
    const { size, context } = args;

    this._rotateFigure({
      ...args,
      draw: () => {
        context.moveTo(0, 0);
        context.arc(0, 0, size / 2, 0, Math.PI * 2);
      }
    });
  }

That's work for me

I don't know why this issue is fixed, but the following code fixes it.
/src/figures/dot/canvas/QRDot.ts Add context.moveTo(0, 0); to line 66
  _basicDot(args: BasicFigureDrawArgsCanvas): void {
    const { size, context } = args;

    this._rotateFigure({
      ...args,
      draw: () => {
        context.moveTo(0, 0);
        context.arc(0, 0, size / 2, 0, Math.PI * 2);
      }
    });
  }

That's work for me! :)

Hellou, i resolved this problem.
This is my library based in qr-code-styling, i fixed this issue and i added more styles to cornerDots and CornerSquares.
https://www.npmjs.com/package/felipe-qr-code-styling

@felipebel25 would you mind opening a pull request? Then I can also fix it in this fork

@felipebel25 would you mind opening a pull request? Then @KilianB  can also fix it in this fork 🙏🏼


 This dropdown is contained within the data table. But the dropdown continues to open downward at the bottom of the list resulting in a clipped and unusable dropdown for the last few items. I imagine this would be an issue for using this component at the bottom of a page as well but haven't tested.
I don't think I can attach an image in Github issues but this can be pretty easily reproduced within the admin panel on the users page. Scroll to the bottom and try to open the "Actions" menu for one of the last few users.

It appears clipped when I open it, but I can scroll down to see it.


Issues with Debugging

When using this lib debugging gets harder.
I cannot set a breakpoint in a File that gets proxied from this lib.
Can this be improved? I am using PHPStorm.

That's weird, for me it worked. I am using PhpStorm as well. Can you tell me what PhpStorm version you are using?

PhpStorm 2023.3.2
MacOS: Sonoma 14.1.1 (23B81)
My Debugging Settings:

I'll check it out. Can you also tell me in if the file you're trying to debug the line number of the breakpoint corresponds to the same line number in the proxy file? For example echo "Hello"; on line 27 should have the same code in the proxy on line 27.

I see what the problem is, cached files are not being handled the same as non-cached files. I have to route them through the StreamFilter first.
Just to make sure this is not a MacOS problem, could you delete your cache directory and test if the very first run of your code debugs the original file?

Just tested it. Without the cache it is working.

Any updates here? Would be really good if debugging would work properly.

Hi @djschilling,
sorry for the late reply, had some health problems I needed to take care of first.
I fixed it and tested it on Windows, let me know if this works for you :)


Added analysing_static_footprint article to the blog

This PR adds a new article named analysing_static_footprint to the blog.

PR: ready: https://github.com/espressif/developer-portal/pull/92


🚀 Implement FTP Client CLI and Enhance Build Process

Summary
This pull request introduces a robust FTP client CLI implementation and enhances the build process for the client. Key changes include:
Commits

build(client/makefile): update Makefile for improved compilation and directory handling

🛠 Use find command to locate all .cpp files inside the src directory, including subdirectories.
🗑 Remove -L$(LIB_DIR) from CXXFLAGS as no libraries are being linked yet.
⚙ Add new compilation flags: -Wall, -Wextra, -Werror, and -pedantic.
🧹 Fix issue in the re rule to clean, recompile, and clean again.
🚫 Remove unnecessary clean from the all rule.
📜 Add .PHONY directive for non-file targets (all, clean, fclean, and re).
🧽 Ensure fclean rule removes both object files and the binary target.

feat(client): implement FTP client CLI with logging and connection handling

🖥 CLI for FTP operations (connect, login, command execution).
🌐 NetworkService for socket communication and connection management.
🗂 FTPClient for executing FTP commands and handling login.
📝 Logger for multi-level logging (INFO, DEBUG, ERROR, FATAL) to console and file.
🎨 Colorized CLI output for enhanced readability.
⚙ Configuration support for network and logging settings.

Features:

🌐 Connect to FTP server with user input (host and port).
🔄 Retry mechanism on connection failure.
🔐 User login flow with retries on failure.
🔄 Command processing loop with graceful handling of the 'QUIT' command.
⏲ Socket reading with timeout handling and response sanitization.
📝 Logging for network events, FTP commands, and responses.
🏗 Modular architecture with clear separation of concerns.
⚙ Configurable log file output and log levels.
🧹 Clean console and log output without color codes in the log file.
⚙ Default configurations for network timeouts and logging paths.

chore(gitignore): add .DS_Store to ignored files

🗑 Added .DS_Store to .gitignore to prevent macOS system files from being tracked.

Impact

🚀 Enhances the build process, eliminates unnecessary warnings, and ensures a more robust and efficient workflow for compiling the FTP client.
🖥 Implements a fully functional FTP client CLI with comprehensive logging and connection handling capabilities.

Notes

📈 This PR significantly improves the code quality and maintainability of the FTP client project.
🔜 The FTP command handling after logging will be implemented in the next PRs.

C ok

oh yeah baby


unexpected result after a rollup task: native arguments variable is "overscoped"

reporting issue  rollup/rollup#848. take it a look for more informations.

Closing this as outdated and not actionable because it seems like it should be reported in babel itself. This repo contains a rollup plugin that just runs babel transforms over files, it doesn't specify what transforms are ran and it doesn't have anything to do with what transforms actually do. Feel free to open new issue.


Empty proof block makes the build-deploy github action fail

Maybe this behavior should not appear, or at least it should be documented for the authors that start with writing some paper skeleton and leave some environments empty. It just happened to me and took 30 minutes to find the cause.
::: {.proof}

:::

inside the .qmd file makes the build-deploy github action fail with this message error :

but with
::: {.proof}

Content
:::

everything is ok.

fixed in 1.6.*
https://github.com/quarto-dev/quarto-cli/issues/10624


Wrap const arguments and return type for python and SIL

Not sure what to do.  Maybe just copy and dup if argument copyable.  So you register a lambda as a shim that takes whatever pyd gives you and passes it to function in form required.  And it strips off const on return as I think pyd doesn't know what to do with that.

Duplicate of #42


--fields=sync state not working with box folder: get

when running 'box folders:get  --as-user=  --fields=sync_state'
only the type and ID fields are returned.
expected sync_state which is returned when doing the following in postman
curl -X GET
'https://api.box.com/2.0/folders/?fields=sync_state'
-H 'Authorization: Bearer <>'
-H 'Postman-Token: <>'
-H 'cache-control: no-cache'
I get the result
{
"type": "folder",
"id": "<>",
"etag": "2",
"sync_state": "synced"
}

@TonyHuckle This issue has already been resolved on master with #113 and will be fixed in the next CLI release!


2DArrays

We need a representation for 2-dimensional homogeneously-typed arrays.
Assumptions:

row-axis represents records, column-axis features
the number of columns is not known at compile-time

Use cases:

used as an input to covariance
clamp to a ball and chain with multivariate aggregators for n-D means, variances, etc.
systems of counting queries/matrix mechanism

I have a fair amount of experience with https://crates.io/crates/ndarray from work on SmartNoise-Core, so this might be a viable approach:
struct ArrayDomain<D: Domain> {
    element_domain: D,
    columns: usize
}
impl Domain for ArrayDomain<D: Domain> {
    type Carrier = Array2<D::Carrier>;
    fn member(&self, candidate: &Self::Carrier) -> bool {
        candidate.iter().all(|v| D::member(v)) && candidate.ncols() == self.columns
    }
}

Open to alternatives, as always.
I think there is more to explore in Arrow, but I don't see a homogeneous ndarray in arrow. There may be some data unloading into Array2's in situations where the kernels don't support our needs.

ndarray not active in development, did work in numpy instead
Polars will allow more work with 2Darrays #697

Closing for now.


Change the message loop to exit on error and add comments

Even though GetMessage returns a BOOL type, it is actually possible that the function returns a negative value (due to the fact that BOOL is defined as an int in WinUser.h).
Thus, if we just hand the return value of GetMessage to the loop itself, it'll ignore the occasional errors.
Also, I grabbed the comment from desktop-src/LearnWin32/painting-the-window.md so it fills the empty break lines in the WindowProc function.

@Zotyamester : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Feature Request] - Save extension and themes as a Favorite

I would like to be able to set both extensions and Themes into a favorites list.
and then be able to view that entire list
A. Favorite Extensions List
B. Favorite Themes List
This way people can their favorites , specially when it comes to themes,
so people don't have the scroll through an entire list of themes but instead
scroll through their favorites themes list and select the one they want that week or day to use  :D

Related to https://github.com/Microsoft/vscode/issues/68527

/duplicate
https://github.com/microsoft/vscode/issues/103391


mnist-training example - status code 404

$ cargo run --example mnist-training
    Finished dev [unoptimized + debuginfo] target(s) in 0.34s
     Running `target\debug\examples\mnist-training.exe`
Error: Api error: request error: https://huggingface.co/datasets/mnist/resolve/refs%2Fconvert%2Fparquet/mnist/mnist-test.parquet: status code 404
error: process didn't exit successfully: `target\debug\examples\mnist-training.exe` (exit code: 1)

Are you running main ? It's fixed there.  (Some files were mvoed on the hub)


24/09/25 changes

Mainly commits by @mbaldessari. Added fixes to the dev project manifest.

Ah best if we don't merge from my rhoi wip branch, I was mainly testing some local stuff. I'll push proper PRs your way if it is mergeable stuff (sorry if I created any confusion)

added commits by @mbaldessari and serving runtime modifications


chore(paeckchen): paeckchen moves to github org from personal repo

Coverage remained the same at 100.0% when pulling 2d90c74b0d1240b19dce7d75e3c70ef9ae8bc854 on repo-move into a7c025ea9909c159c046b52bb428b2cb5af05084 on master.

Coverage remained the same at 100.0% when pulling d29928db42e97778fcd3b8f0cb7d0acb579a3040 on repo-move into a7c025ea9909c159c046b52bb428b2cb5af05084 on master.


ast support TypeParam; inferType check instance

ast support TypeParam
inferType check instance

Codecov Report
Base: 94.63% // Head: 94.54% // Decreases project coverage by -0.08% :warning:

Coverage data is based on head (57dd2ca) compared to base (66d4fdc).
Patch coverage: 81.39% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   94.63%   94.54%   -0.09%
==========================================
  Files          14       14
  Lines        6076     6086      +10
==========================================
+ Hits         5750     5754       +4
- Misses        259      265       +6
  Partials       67       67

Impacted Files
Coverage Δ

ast.go
94.97% <0.00%> (-0.23%)
:arrow_down:

func.go
97.39% <ø> (+0.83%)
:arrow_up:

types_go117.go
15.38% <0.00%> (-4.62%)
:arrow_down:

types_go118.go
96.05% <100.00%> (+0.10%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Tag for v1.6.0 has an extra .

Part of openjournals/joss-reviews#580
The tag for the latest version is v.1.6.0 instead of v1.6.0.

fixed


Gulp error "config not defined"

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request
[ ] other (Please specify)

Provide information & explanation
On Tasks Elixir is required but then you are using config instead of Elixir.config, causing gulp to fail with a "config not defined" error

Got code samples?
.pipe(gulpif(!config.production, sourcemaps.init()))
please add  var config = Elixir.config; to prevent this.

Laravel & Angular version: 3.2.0

Hi @blackotruck
did you upgrade to Laravel 5.3 by yourself? Or did you update the laravel-elixir your package.json?
Because in 3.2 it should install version 5 so it shouldn't be an issue
This has been fixed in version-3.4 though

Hi @blackotruck
Any update on this issue?

I was able to make it work with what i mentioned about the config variable. As forpackage.json, it's requiring "laravel-elixir":"*" and composer.json requires "laravel/framework": "5.2.*".
Anyway, I haven't  got time to comeback to this, i'm switching to Ubuntu 16.04 (was previosuly using Windows 8).

The problem is that laravel-elixir:"*" which upgraded you to a newer version than requested
You might have changed this inadvertently..
I'm going to close the issue (and the related one) based on this issue.. Let me know if it's not the case
Cheers 😄


Change requirements to IDF >5.0 (AIV-660)

Updated documentation to reflect min requirement.
The change has been tested with IDF 5.2.
The following tests have been done:
Tested and ran a build of examples/human_face_detect on Seeed Xiao ESP32S3 with correct output. Unsure of the .rst files.
zh_CN translation using online translation tool.

Thank you @BlueSkyB for the review. The requested changes have been added.


chore: updated upload-artifact action to v4

Description
Upgrades the upload / download artifact job.
Fixes #4093
Tier (staff will fill in)

[ ] Tier 1
[ ] Tier 2
[ ] Tier 3
[x] Tier 4

Any reason the download artifact is locked to a specific version?
https://github.com/open-sauced/app/blob/49dfa031bee3d8e5528c6c2da753524cc624be64/.github/workflows/release.yml#L83-L87
Looks like this is only slightly behind their v4.1.8: probably a good idea to unlock that too, not blocking.

Any reason the download artifact is locked to a specific version?
https://github.com/open-sauced/app/blob/49dfa031bee3d8e5528c6c2da753524cc624be64/.github/workflows/release.yml#L83-L87
Looks like this is only slightly behind their v4.1.8: probably a good idea to unlock that too, not blocking.

I can update it @jpmcb.


Add offline functionality

User Stories

As a user, I want to use the Food Festival application even if I don't have an internet connection

Added service worker for offline cache


AssertionError

Hi, thanks for this great work!
I met the AssertionError when I was trying to test my model:
2022-07-28 10:42:54,233 - mmseg - INFO - OpenCV num_threads is `<built-in function getNumThreads>
2022-07-28 10:42:54,233 - mmseg - INFO - Loaded 791 images
load checkpoint from local path: ./trained_models/unreal/iter_20000.pth
./tools/test.py:252: UserWarning: SyncBN is only supported with DDP. To be compatible with DP, we convert SyncBN to BN. Please use dist_train.sh which can avoid this error.
  'SyncBN is only supported with DDP. To be compatible with DP, '
[                                                  ] 0/791, elapsed: 0s, ETA:Traceback (most recent call last):
  File "./tools/test.py", line 306, in <module>
    main()
  File "./tools/test.py", line 269, in main
    format_args=eval_kwargs)
  File "c:\ganav-offroad-new\mmseg\apis\test.py", line 91, in single_gpu_test
    result = model(return_loss=False, **data)
  File "C:\Anaconda\envs\ganav\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Anaconda\envs\ganav\lib\site-packages\mmcv\parallel\data_parallel.py", line 50, in forward
    return super().forward(*inputs, **kwargs)
  File "C:\Anaconda\envs\ganav\lib\site-packages\torch\nn\parallel\data_parallel.py", line 166, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "C:\Anaconda\envs\ganav\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Anaconda\envs\ganav\lib\site-packages\mmcv\runner\fp16_utils.py", line 110, in new_func
    return old_func(*args, **kwargs)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\base.py", line 110, in forward
    return self.forward_test(img, img_metas, **kwargs)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\base.py", line 92, in forward_test
    return self.simple_test(imgs[0], img_metas[0], **kwargs)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\encoder_decoder.py", line 264, in simple_test
    seg_logit = self.inference(img, img_meta, rescale)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\encoder_decoder.py", line 247, in inference
    seg_logit = self.whole_inference(img, img_meta, rescale)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\encoder_decoder.py", line 209, in whole_inference
    seg_logit = self.encode_decode(img, img_meta)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\encoder_decoder.py", line 75, in encode_decode
    out = self._decode_head_forward_test(x, img_metas)
  File "c:\ganav-offroad-new\mmseg\models\segmentors\encoder_decoder.py", line 101, in _decode_head_forward_test
    seg_logits= self.decode_head.forward_test(x, img_metas, self.test_cfg)
  File "c:\ganav-offroad-new\mmseg\models\decode_heads\ours_head_class_attn.py", line 194, in forward_test
    out, maps = self.forward(inputs)
  File "c:\ganav-offroad-new\mmseg\models\decode_heads\ours_head_class_attn.py", line 138, in forward
    out, attn = self.attn(x)
  File "C:\Anaconda\envs\ganav\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "c:\ganav-offroad-new\mmseg\models\backbones\transnet.py", line 179, in forward
    assert h==self.h
AssertionError

I'm using the new code updated on 25th of July.
I think the error is the same as a previous issue #2, so I added this line of code in test=dict() in the config file:
dict(type='Pad', size=(300, 375), pad_val=0, seg_pad_val=255),
Then the error disappered, but I found that the result iamges were vertically compressed and has a black border at the bottom (compared with the original image):

I'm not sure if it's because the padding, cause when I tried to run the 'visulize.py' in the previous code and there is no black border of the tested image:

I also met this two errors when I tried to test the RUGD dataset with the pre-trained model:
KeyError: 'RUGDDataset_Group is not in the dataset registry'
So I changed the code of the config file 'ganav_rugd_6' at line 71, 116, 138 and line from RUGDDataset_Group  to RUGDDataset_Group6, and it works.
Another error is :
KeyError: "EncoderDecoder: 'OursHeadClassAttNew is not in the models registry'"
For this, I changed the code in the same file at line 20 from OursHeadClassAttNew to OursHeadClassAtt. Then the testing code is ready to run.
Hope it helps

Thanks for the catch! The config is only updated in the trained_model folder but not updated on the google drive. This has been fixed.
Regarding your Q1, I'm actually not sure why this happened. What is your current resolution on the test image? I think you might have to choose a good padding for your own dataset (not too disproportional), if you are training from scratch. For example, if you want to use trained RUGD model to test on your own image, you have to use the same padding size for inference ((300, 375) for RUGD). But you have training image and labels, you can change the padding in the training and testing pipeline that fit you data best.

Hi, Thanks for the quick reply!
My current resolution on the test image is 960*540. It's a small dataset trained it based on the pre-trained model of the RUGD dataset, I didn't change the padding during the training process (it's still (300,375)), should I change it in this case?

I don’t have a good answer to this since I have not used this size. You can try both and see which works for you best. If you have a small dataset, I assume it would not generalize well.
I’m closing this issue since it’s regarding assertion error. Please open another issue if you have more questions.

Yeah, I understand.
I tried to change the crop size in the code, but I always get the AssertionError when the crop size is not (300, 375), I'm not sure if it's because the 'RUGDDataset_Group6' dataset type only compatiable with (300, 375).
And May I ask how did you define the dataset type (line 2) in /base/dataset/rugd_group6.py, it seems that the mmcv will check if this string is in the library. I'm wondering if the type of dataset is related to the crop size.

You can search for “ RUGDDataset_Group6” globally to figure out how to define the dataset. You need to create your own py files in base and config folder.
The provided model weight only takes 300 by 375 patches. But if you train your own model, the model weight can be anything. Everything including the dataset is define by yourself, so you need to walk through the code, figure out the details and see how to define your own dataset. You should also check the assertion and see what it’s checking. Another good source is from the original mmseg GitHub(https://github.com/open-mmlab/mmsegmentation/blob/master/docs/en/tutorials/customize_datasets.md). The structure of our code is based on mmseg, but only support our method.

The link provided just to help you understand the structure of the config definition, but we also made some changes in our repo as well. As to the assertion, as long as the training patch size and testing patch size are the same, there should be no error. (If you train with crop size (x, y), the model is created with weights that fits (x,y) patches, so there would be no problem during training and testing. I have not personally test other size, but I started from rugd and generalize the crop size to rellis-3D, so there should be no problem.

Thank you so much! I will read the tutorial carefully.
It did no errors when I changed the image size to 688*550, I think the crop size need to be adjusted according to different datasets.


UI: Key icon not displayed for source db columns when multiple columns are part of primary key

Second column missing a 🔑.

MySQL schema statement to generate this:
CREATE TABLE `payments` (
  `customerNumber` int NOT NULL,
  `checkNumber` varchar(50) NOT NULL,
  `paymentDate` date NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  PRIMARY KEY (`customerNumber`, `checkNumber`),
  KEY `amountIndex` (`amount`),
  KEY `paymentIndex` (`paymentDate`,`amount`),
  CONSTRAINT `payments_ibfk_1` FOREIGN KEY (`customerNumber`) REFERENCES `customers` (`customerNumber`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

This is relevant to the older experimental UI which is now deprecated.


No Equivalent of the Tile Ridge Edge for the Tile Ridge Top

The Tile Ridge Top block can't be used with the Tile Ridge Edge and there's no equivalent for it
The Tile Ridge Top also can't form T or + junctions, and it has some z-fighting issues on the sides. I assume the block is a work-in-progress?

Thanks! All Z-fighting problems will be fixed in the next version.
Explainable images


Hotfix: Missing robots.txt

@andrew noted that Robots file (https://ipfs.io/robots.txt) is missing :upside_down_face:
We may want to add it and exclude things like /ipns/*.wikipedia.org/ from being crawled/cached by search engines, among other things.
I suggest we simply exclude Gateway paths from being crawled by automated robots that respect /robots.txt:
User-Agent: *
Disallow: /ipfs/
Disallow: /ipns/
Disallow: /api/

Are there any cons to this?

It might be a con or it might be a pro, but that'll drop a lot of traffic to the gateways that come from search: https://www.alexa.com/siteinfo/ipfs.io


[Feature] Merge CommonConfigPostProcessor and ConfigPostProcessor

What is the purpose of the change
Merge CommonConfigPostProcessor and ConfigPostProcessor #13959
Brief changelog
remove CommonConfigPostProcessor
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.71%. Comparing base (a12975a) to head (d938842).
Report is 137 commits behind head on 3.3.

Additional details and impacted files
@@            Coverage Diff             @@
##              3.3   #14264      +/-   ##
==========================================
+ Coverage   38.55%   38.71%   +0.16%
==========================================
  Files        1895     1732     -163
  Lines       79272    75630    -3642
  Branches    11528    11197     -331
==========================================
- Hits        30560    29281    -1279
+ Misses      44439    42196    -2243
+ Partials     4273     4153     -120

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


[AutoPR] compute/resource-manager

Created to accumulate context: compute/resource-manager

(message created by the CI based on PR content)

Codecov Report

Merging #3437 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3437      +/-   ##
==========================================
- Coverage   37.61%   37.61%   -0.01%
==========================================
  Files        8679     8676       -3
  Lines      263743   263740       -3
==========================================
- Hits        99211    99208       -3
  Misses     164532   164532

Impacted Files
Coverage Δ

...compute/v2018_06_01/models/image_disk_reference.py
62.5% <ø> (ø)
:arrow_up:

...ute/v2018_06_01/models/image_disk_reference_py3.py
38.46% <ø> (ø)
:arrow_up:

...-luis/azure/cognitiveservices/language/__init__.py

...-language-luis/azure/cognitiveservices/__init__.py

azure-mgmt-advisor/azure/mgmt/__init__.py

Continue to review full report at Codecov.

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


Change name passed in to renderToString

Hey guys! First of all, great library! It's the best React code splitting library I've used. I may have found something in the docs that needs a correction or clarification. I didn't see <YourApp /> declared anywhere and using app works for me. If I've got that correct, here's a PR to help with make the change.
Thanks again for the great work!

Thanks!


Add missing Japanese translations

Description
Add missing Japanese translations.
Verification
Translated by a native.

I added some missing translations on master, can you rebase and add them?

@ambientocclusion do you mind doing some new unfinished translations?

@sshane
I made new PR for new translations.
https://github.com/commaai/openpilot/pull/26482


cmd/link: go test -c on darwin/arm64 produces invalid code signature in combination with cgo

What version of Go are you using (go version)?

$ go version
go version go1.21.3 darwin/arm64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/tomas/Library/Caches/go-build'
GOENV='/Users/tomas/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/tomas/.local/share/rtx/installs/go/1.21.3/packages/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/tomas/.local/share/rtx/installs/go/1.21.3/packages'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/tomas/.local/share/rtx/installs/go/1.21.3/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/tomas/.local/share/rtx/installs/go/1.21.3/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.3'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/tomas/Code/go-test-cgo-fail/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/ls/998j2q9x6n5fjlgrcbrbbnqh0000gn/T/go-build3647025484=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
Exact same steps as https://github.com/golang/go/issues/43105, but using -c instead, so:
git clone https://github.com/oxisto/go-test-cgo-fail
cd go-test-cgo-fail
go test -c -work pkg/native_test.go
./pkg.test

What did you expect to see?
This works with Go 1.20.3 so I thin the bug was introduced in Go 1.21.0
./pkg.test
hello
PASS

What did you see instead?
[1]    10186 killed     ./pkg.test

Here's the macOS crash report if it's useful:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               pkg.test [10186]
Path:                  /Users/USER/*/pkg.test
Identifier:            pkg.test
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        zsh [7042]
Responsible:           kitty [6785]
User ID:               501

Date/Time:             2023-10-16 20:29:18.3757 +0200
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        D83D4DD4-DB7D-8E82-903F-FC1B0B18DE9A

Sleep/Wake UUID:       CFB433B1-6490-476F-B547-60BE63FD26E3

Time Awake Since Boot: 6200 seconds
Time Since Wake:       3436 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x0000000104d6ebd0
Exception Codes:       0x0000000000000032, 0x0000000104d6ebd0

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x104d6ebd0 is in 0x104d68000-0x104e8c000;  bytes after start: 27600  bytes before end: 1168431
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  __TEXT                      104d68000-104e8c000    [ 1168K] r-x/r-x SM=COW  ...ER/*/pkg.test
      __DATA_CONST                104e8c000-104ec4000    [  224K] r--/rw- SM=COW  ...ER/*/pkg.test

Kernel Triage:
VM - (arg = 0x0) A memory corruption was found in executable text

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   pkg.test                      	       0x104d6ebd0 */bytealg.IndexByteString.abi0 + 0
1   pkg.test                      	       0x104dbd29c runtime.findnull + 124

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000016b096e48   x1: 0x00000000000001b8   x2: 0x0000000000000000   x3: 0x000000016b096e48
    x4: 0x0000020000000002   x5: 0x0000000104fb8578   x6: 0x0000000000000000   x7: 0x000000016b0969b0
    x8: 0x000000016a89b978   x9: 0xffffffffffffc000  x10: 0x0000000000800000  x11: 0x0000000000004000
   x12: 0x0000000104e5bd30  x13: 0x000000016b0968f0  x14: 0x0000000000000004  x15: 0x0000000000008000
   x16: 0x000000016a89bd18  x17: 0x00000001ee2010b0  x18: 0x0000000000000000  x19: 0x00000001053f9bd0
   x20: 0x0000000104dd5980  x21: 0x00000001053f9d38  x22: 0x00000001053f9910  x23: 0x000000016b096a70
   x24: 0x000000016b096ab0  x25: 0x000000018da0fb1b  x26: 0x0000000000000000  x27: 0x0000000104f83000
   x28: 0x0000000104f847a0   fp: 0x000000016b0968d8   lr: 0x0000000104dbd29c
    sp: 0x000000016b0968e0   pc: 0x0000000104d6ebd0 cpsr: 0x20001000
   far: 0x0000000104d6ebd0  esr: 0x82000007 (Instruction Abort) Translation fault

Binary Images:
       0x104d68000 -        0x104e8bfff pkg.test (*) <694e69e9-cadb-348f-8551-b591f21d4736> /Users/USER/*/pkg.test
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18d98b000 -        0x18da1e873 dyld (*) <ffd8ab66-c9ab-31df-ab80-3a3dff367ddd> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 2
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=529.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=529.6M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                   32K        1
MALLOC                           521.2M       11
MALLOC guard page                   96K        6
STACK GUARD                       56.0M        1
Stack                             8176K        1
__AUTH                             339K       65
__AUTH_CONST                      4041K      147
__DATA                            2082K      141
__DATA_CONST                      4993K      150
__DATA_DIRTY                       363K       58
__LINKEDIT                       886.6M        2
__OBJC_RO                         70.6M        1
__OBJC_RW                         2153K        1
__TEXT                           120.8M      156
dyld private memory                272K        2
shared memory                       16K        1
===========                     =======  =======
TOTAL                              1.6G      744

-----------
Full Report
-----------

{"app_name":"pkg.test","timestamp":"2023-10-16 20:29:18.00 +0200","app_version":"","slice_uuid":"694e69e9-cadb-348f-8551-b591f21d4736","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.0 (23A344)","roots_installed":0,"incident_id":"18EF39FF-85EB-4254-B42B-2F2C09905AC1","name":"pkg.test"}
{
  "uptime" : 6200,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "coalitionID" : 1571,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A344",
    "releaseType" : "User"
  },
  "captureTime" : "2023-10-16 20:29:18.3757 +0200",
  "codeSigningMonitor" : 1,
  "incident" : "18EF39FF-85EB-4254-B42B-2F2C09905AC1",
  "pid" : 10186,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-10-16 20:29:18.3722 +0200",
  "procStartAbsTime" :<PHONE_NUMBER>85,
  "procExitAbsTime" :<PHONE_NUMBER>25,
  "procName" : "pkg.test",
  "procPath" : "\/Users\/USER\/*\/pkg.test",
  "parentProc" : "zsh",
  "parentPid" : 7042,
  "coalitionName" : "net.kovidgoyal.kitty",
  "crashReporterKey" : "D83D4DD4-DB7D-8E82-903F-FC1B0B18DE9A",
  "responsiblePid" : 6785,
  "responsibleProc" : "kitty",
  "codeSigningID" : "pkg.test",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 587334144,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" :<PHONE_NUMBER>,
  "instructionByteStream" : {"beforePC":"AAAAAAAAAADgB0D54gtA+eGDQDnoowCRwP\/\/FwAAAAAAAAAAAAAAAA==","atPC":"4AdA+eILQPnhY0A56IMAkbj\/\/xcAAAAAAAAAAAAAAACQC0D5\/2Mw6w=="},
  "wakeTime" : 3436,
  "sleepWakeUUID" : "CFB433B1-6490-476F-B547-60BE63FD26E3",
  "sip" : "enabled",
  "vmRegionInfo" : "0x104d6ebd0 is in 0x104d68000-0x104e8c000;  bytes after start: 27600  bytes before end: 1168431\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  __TEXT                      104d68000-104e8c000    [ 1168K] r-x\/r-x SM=COW  ...ER\/*\/pkg.test\n      __DATA_CONST                104e8c000-104ec4000    [  224K] r--\/rw- SM=COW  ...ER\/*\/pkg.test",
  "exception" : {"codes":"0x0000000000000032, 0x0000000104d6ebd0","rawCodes":[50,4376161232],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x0000000104d6ebd0"},
  "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "ktriageinfo" : "VM - (arg = 0x0) A memory corruption was found in executable text\n",
  "vmregioninfo" : "0x104d6ebd0 is in 0x104d68000-0x104e8c000;  bytes after start: 27600  bytes before end: 1168431\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  __TEXT                      104d68000-104e8c000    [ 1168K] r-x\/r-x SM=COW  ...ER\/*\/pkg.test\n      __DATA_CONST                104e8c000-104ec4000    [  224K] r--\/rw- SM=COW  ...ER\/*\/pkg.test",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":2},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":113952,"threadState":{"x":[{"value":6090747464},{"value":440},{"value":0},{"value":6090747464},{"value":2199023255554},{"value":4378559864,"symbolLocation":0,"symbol":"runtime.test_z64"},{"value":0},{"value":6090746288},{"value":6082378104},{"value":18446744073709535232},{"value":8388608},{"value":16384},{"value":4377132336,"symbolLocation":0,"symbol":"x_cgo_init"},{"value":6090746096},{"value":4},{"value":32768},{"value":6082379032},{"value":8290046128},{"value":0},{"value":4383022032},{"value":4376582528,"symbolLocation":0,"symbol":"main"},{"value":4383022392},{"value":4383021328},{"value":6090746480},{"value":6090746544},{"value":6671104795},{"value":0},{"value":4378341376,"symbolLocation":1280,"symbol":"runtime.itabTableInit"},{"value":4378347424,"symbolLocation":0,"symbol":"runtime.g0"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4376482460},"cpsr":{"value":536875008},"fp":{"value":6090746072},"sp":{"value":6090746080},"esr":{"value":2181038087,"description":"(Instruction Abort) Translation fault"},"pc":{"value":4376161232,"matchesCrashFrame":1},"far":{"value":4376161232}},"queue":"com.apple.main-thread","frames":[{"imageOffset":27600,"symbol":"*\/bytealg.IndexByteString.abi0","symbolLocation":0,"imageIndex":0},{"imageOffset":348828,"symbol":"runtime.findnull","symbolLocation":124,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" :<PHONE_NUMBER>,
    "size" : 1196032,
    "uuid" : "694e69e9-cadb-348f-8551-b591f21d4736",
    "path" : "\/Users\/USER\/*\/pkg.test",
    "name" : "pkg.test"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" :<PHONE_NUMBER>,
    "size" : 604276,
    "uuid" : "ffd8ab66-c9ab-31df-ab80-3a3dff367ddd",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" :<PHONE_NUMBER>,
  "size" :<PHONE_NUMBER>,
  "uuid" : "7906534c-5d2b-3ba8-b9c6-93a5cf1b7b50"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=529.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=529.6M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           521.2M       11 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \n__AUTH                             339K       65 \n__AUTH_CONST                      4041K      147 \n__DATA                            2082K      141 \n__DATA_CONST                      4993K      150 \n__DATA_DIRTY                       363K       58 \n__LINKEDIT                       886.6M        2 \n__OBJC_RO                         70.6M        1 \n__OBJC_RW                         2153K        1 \n__TEXT                           120.8M      156 \ndyld private memory                272K        2 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              1.6G      744 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "197d4b63ea1b5f32782139a96c82cc8aab50b904",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "639124e81d92412bfb4880b3",
      "factorPackIds" : {

      },
      "deploymentId" : 240000012
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000334
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    },
    {
      "treatmentId" : "a092db1b-c401-44fa-9c54-518b7d69ca61",
      "experimentId" : "64a844035c85000c0f42398a",
      "deploymentId" : 400000019
    }
  ]
}
}

This seems to be caused by CC and CXX being set to the homebrew installed llvm versions rather than the Apple versions.


Instrumentation of hidden-definitions generator

Problem
hidden-definitions is taking at least 5 minutes on my medium-sized Rails app, and some other people in Slack have reported 40-45 minute generations for their large apps. Right now, it's essentially a black box and we don't have any insight into what's causing these to take so long.
For example, I have some seeders that fill the database with randomly-generated records for games, users, etc. By default, it gets user profile pictures from an external source but it's been acting up lately and the requests to the profile picture generation site take ~2 minutes to timeout. This causes the generation task to get stuck on my users seeder for a while, and I had a bit of trouble figuring out the source of that problem without instrumentation. (Thankfully I figured it out because the srb rbi update command prints the files it runs - only sometimes, though? - so I noticed it had gotten stuck for a while on db/seeds/users.rb).
The point is, I'd like to know how much time is being spent running each file in my project and dependencies, and then how long the resolver is taking to generate the hidden-definitions.rbi file, and anything else is generates.
Proposed solution
I'd like to have some means of getting instrumentation data out of the hidden definitions generator (and the sorbet rbi init/update process in general), that'd tell the user where time is being spent (e.g. it took 30 seconds to run the file in vendor/bundler/foo/bar/baz.rb, etc.).
From dmitriy in Slack:

we manually add prints with timing to it, but we never commited it. We'll be happy to merge a pr with some kind of tracing
web-trace-file is what we use

just wanted to chime in here and say we're seeing this too. we have a large rails 5.2 app that takes 5-10 minutes to finish srb rbi hidden-definitions. i'm in the process of upgrading to rails 6, and on that branch srb rbi hidden-definitions doesn't ever seem to finish. i have no idea how or why this is, so having some output would be super useful.

Going to close this in favor of Tapioca
https://sorbet.org/blog/2022/07/27/srb-tapioca


Example '7-stretch-enabled.js' does not work

Hi,
Using Expo android emulator I see nothing.
Using Expo and really i-phone device I see only 'footer'
I added the example inside my project which use other modules.
These are my dependencies from my package.json
"dependencies": {
"antd-mobile-rn": "^2.2.1",
"axios": "^0.18.0",
"connected-react-router": "^4.3.0",
"expo": "^27.0.1",
"history": "^4.7.2",
"immutable": "^3.8.2",
"intl": "^1.2.5",
"react": "^16.3.1",
"react-intl": "^2.4.0",
"react-native": "~0.55.2",
"react-native-responsive-layout": "^1.1.0",
"react-redux": "^5.0.4",
"react-router-native": "^4.3.0",
"redux": "^3.6.0",
"redux-saga": "^0.16.0"
any idea what is the problem?
All the other examples work fine ( 7-stretch-disabled.js too). It's seems that there is problem with prop 'stretchable'
Thank you

The problem was that my router had 'View':
  <NativeRouter>         <View>           <Route exact path={'/'} component={main} />           <Route exact path={'/screen1'} component={screen1} />         </View>     </NativeRouter>
I changed to Switch and now works fine
  <NativeRouter>         <Switch>           <Route exact path={'/'} component={main} />           <Route exact path={'/screen1'} component={screen1} />         </Switch>     </NativeRouter>


migrating lib

I'm doing a library migration from @adiwajshing/baileys for @whiskeysockets/baileys, but I had a problem that is to find a substitute for the import "import makeWALegacySocket from './LegacySocket';", does anyone have any ideas to help me or went through something similar?.
I'm also having trouble replacing the "import { LegacyAuthenticationCreds } from "@whiskeysockets/baileys";

Everything related to Legacy was removed after 4.4
It doesn't exist, you can remove all Legacy references from your application

mais uma coisa, sobre o AnyWASocket tambem foi descontinuado?

I have same problem.
Then, I replace makeWALegacySocket with makeWASocket.
But, I have new problem with creds.update on
const wa = makeWASocket.default(waConfig)
wa.ev.on('creds.update', saveState)

Cannot read properties of undefined (reading 'creds')

English only.


Only build master

Set Travis-CI and AppVeyor to only build the master branch (preventing duplicate builds on PRs).
Also only clone the last 10 commits.

Awesome, this has annoyed my for quite some time, particularly AppVeyor :smirk:
If we're going to do Git shallow clones, then setting to 1 is all that is needed rather than 10, could you update the pull request so the clone depth is 1 please.

Sure, just a sec.

Actually, would you prefer a shallow clone? (download + extract the zip)

Just changing From:
git:
   depth: 10

To:
git:
   depth: 1

That should be fine, Travis will pass that as $ git clone --depth=1 --branch=master https://github.com/ntwb/bbPress.git ntwb/stylelint-config-wordpress when checking out the repo in each job

Updated :wink:

Thanks :+1:

This would mean the local folder isn't a git repo, but is probably faster if you don't need that.

Its still a Git repo as far as I  understand it:

https://git-scm.com/docs/git-clone
--depth

Create a shallow clone with a history truncated to the specified number of commits. Implies --single-branch unless --no-single-branch is given to fetch the histories near the tips of all branches.

I was talking about the shallow_clone option here. (I'm not sure if there is an equivalent option for Travis-CI.)

Oh, I've kind of always treated them the same ¯_(ツ)_/¯
See Travis CI doc here

I think in this instance AppVeyor is confusing terminology, I've always heard of setting the clone depth as a "shallow clone" myself.

Thanks again :+1:


Binary not available ?

Hello,
would very nice to have binary instead of source because it's a big problem to compile it in an airgapped machine.
My router and my pc are infected and I want take a ram dump by avml but I need to built it in an offline machine, if I connect the clean machine to internet by the infected router even the clean machine will be infected. Then I have to take everything i need to built avml by the infected and online machine. Then to be honest it's a complicated and not risk less job.
To have binaries for main distributions like ubuntu would be very appreciated.

Binaries are distributed as part of the releases on GitHub.
https://github.com/microsoft/avml/releases

Note, as binaries these are built with musl, they should work on any X86_64 linux distro.  That said, we test almost exclusively on Azure using these images.


what is the difference between predictions[...,0:2] and box_xy

why can not use predictions to calculate IOU

hi, I wanna know how to use the detect, i already convert successfully, but i donnot know how to run it, could you help with a example?


Option to encrypt reaper queue

I'd like to propose a change to make it possible to encrypt the reaper queue. It seems this is not possible currently (but it is quite possible I'm missing something): https://github.com/CloudSnorkel/cdk-github-runners/blob/2f059ea1da1c500fb5379393000b9cb6e5b1df6a/src/runner.ts#L648
We have a general policy to encrypt everything at rest, including SQS queues. While sometimes this is overkill encrypting things that are not sensitive, it is often easier to just encrypt everything than it is to perform a thorough analysis to be sure that no sensitive data will ever be stored there, and to make exceptions to our alerting tooling.

CDK escape hatch can help you there.
const runners = new GitHubRunners(stack, 'runners', {});

const queue = runners.node.findChild('Idle Reaper Queue').node.defaultChild as sqs.CfnQueue;
queue.addPropertyOverride('SqsManagedSseEnabled', true);

If it just works, maybe we can consider some boolean to enable encryption on everything. I assume this is a common compliance request. I bet there are other parts of the system that would need encryption too.

Thanks, that seems to work for me!


Throw an IllegalArgumentException when a file name or comment in gzip parameters encodes to a byte array with a 0 byte

When gzip parameters' filename or comment are encoded into bytes, no verification was made to avoid the \0 that internally terminates those gzip fields.
Thus, the string argument could have a \0, and/or encode into bytes that have a \0 (like with UTF-16 charsets).
This would silently corrupt the gzip member, as a reader would prematurely stop reading the filename or comment and begin reading the next piece, either the comment but inevitably the deflate stream, which would fail.
I thought also about limiting the length on write but the gzip spec has no limit. Limiting length on read (to protect memory) would be imposing an arbitrary limit too, like some gzip tools do. Either way, it would have to be an option like the charset on write, and it would be unusual to ask for such option on the GzipDecompressorInputStream. Using jdk 17 ScopedValues is not possible yet and it would be a very forgettable option to set anyway. Without some discussion, there is no point in placing another api facing change on constructors.

@ddeschenes-1
Merged 🚀 TY!


Can PDF/SVG saved figures maintain text as text for further processing?

[ ] Additional function parameters / changed functionality / changed defaults?

Hi there, I have continuously tried to save my dotplots and umaps from scanpy in PDF or SVG
format with the hope to be able and import it on Illustrator for further processing for publication
purposes. Everything works fine with the images, but the text of the labels is not any more recognized
as text and thus I cannot change the family font/size or correct the text if need be.
Any chance you guys have a plan to allow for this type of functionality shortly?
Best,
Anastasia

Does it get better if you run the following before saving the figure as PDF:
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42

@ivirshup Does it make sense to add this to sc.set_figure_params()?

Thanks @gokceneraslan, I had no idea, and this is super useful!
Also, the option for svg (so fonts won't be paths) is:
"svg.fonttype": None

I think I'd want to know why matplotlib doesn't have that as the default. For the svg option, it looks like it can lead to issues with viewing the output file on other machines – so I don't think this is a good default.

@ivirshup Not having Type 2 fonts by default in mpl might be due to the increasing file size  https://github.com/matplotlib/matplotlib/issues/11303, but considering that plots we make in scanpy are typically used in publications so they likely get edited in vector graphics software, we should maybe consider making it the default, my 2 cents.

@gokceneraslan thanks so much for your suggestion, that did the trick for me! I was trying to figure this out via sc.set_figure_params() and kept failing. It did not occur to me that the matplotlib parameters could overwrite the scanpy figure parameters, and then it would definitely take me some more time to find the specific matplotlib.rcParams['pdf.fonttype'] = 42 setting. I think adding it as an option editable_fonts=True/False in set_figure_params would be a good idea, at least I am sure it will save time for other bioinformaticians trying to incorporate figures with editable text in their publications.Thanks again! : )

@gokceneraslan A few thoughts on this:

In general, I don't like messing with global configurations for other packages.
I generate many plots, but only a few are actually going to go to a manuscript. I'm not sure it's justified to increase all PDF sizes so that they're all editable. Maybe it should be opt-in? And do we need to mess with global settings to do this, or can we just make finding out about this easier for users?

What if there was an "Plotting output options" tutorial, which went over saving of figures? This could include a section on how to export for publication.

can we just make finding out about this easier for users?

That’s what I feel like most of our plot options are. Kinda like an executable FAQ.
Python’s itertools docs have a recipes section instead, which are copyable code for less common use cases.
I think going for docs here make sense because we’re not wrapping something complex, just increasing visibility for some useful option.
Maybe we can add a table that shows what some of our plot options do with rcParams behind the scenes (and also some rcParams like this one which aren’t covered by our plot options)

I think this could be a good how to guide. Arguably this should be a how to guide for matplotlib though.


Add Minting.tools

Minting.tools is a free, no-code, ERC20 token generator and deployer. It uses OpenZeppelin smart-contracts to create tokens for people. 100% client-side, with 0 cost.
Checklist

[x] The URL is not already present in the list (check with CTRL/CMD+F in the raw markdown file).
[x] Each description starts with an uppercase character and ends with a period.Example: solc-js - JavaScript bindings for the compiler.
[x] Drop all A / An prefixes at the start of the description.

Thank you! :)

You're welcome ✌🏼


Set offline flag after connection error exception from central API client for the current build

Description:
Current implementation looking up central even after the first connection failure or timeout to the central. Need to find a way to set the offline flag after connection failure for the current build only. In the next build again should look up for central.
Related Issue: https://github.com/ballerina-platform/ballerina-lang/issues/30911
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Since our remote repository resolution logic has changed to resolve all the packages in a single request, There is not much impact on this. Hense closing the issue.


compatibility: setting Error.prepareStackTrace results in an error

the popular express (15.5m/week)
has a dependency depd (16m/week) used for creating deprecation messages.
depd uses some weird voodoo to get v8's object version of the stack by temporarily overriding Error.prepareStackTrace.
There is discussion of making setting this field to fail silently, instead of loudly. depd's implementation will not work gracefully under a silent failure of setting .

I'm running into this now too, as cosmic-swingset uses express. This pattern has appeared in a couple of libraries so far:

callsite, used by better-assert
stack-trace, used by insist
bindings (popular: 6m/week, used directly by 2k other packages, including LMDB which we use in cosmic-swingset)

also seeing it a lot around tooling for loading native modules, like bindings and node-gyp-build

The most immediate consequence of this for me is that tape tests, when they fail, cannot tell me which assertion failed: it wants to use this Error fiddling to build a stack trace to the assertion, and instead I get a stack trace to the internal code where the Error fiddling failed. I can work around it by making sure my unit tests always pass (which means doing a lot of console.logs).

@kumavis @warner
Now that #359 is merged, could you check if we still have the errors? If not, please close. Thanks.

Now that #359 is merged, could you check if we still have the errors? If not, please close. Thanks.

Closing. Please reopen if this is still a problem.


[feature] Using WASM as custom language parser

⭐ Suggestion
Currently ast-grep can only load custom language parser via dynamic library in the CLI.
However, dynamic library is platform dependent and it is hard for users to distribute their own language parser.
We can follow Zed's approach to use web assembly runtime to load custom language.
This will also be easier to use custom language in JS/Py.

[x] Upgrade tree-sitter parser version
[ ] Add wasm-time as deps
[ ] add WASM dynamic library config
[ ] add wasm support to JS
[ ] add wasm support to Py

Sadly wasmtime is not ready yet. Closing now.


[IOTDB-2153][IOTDB-2157] fix wildcard issues

See: https://issues.apache.org/jira/browse/IOTDB-2153 and https://issues.apache.org/jira/browse/IOTDB-2157

@zyk990424 Please have a look at this PR. Thanks!
I decided to remove PartialPath#alterPrefixPath for 2 reasons:

the meaning of the method is not clear
returning multiple possible results means the caller need to query (or delete) each of the returned path, which is a waste of time.

@zyk990424 Please have a look at this PR. Thanks!
I decided to remove PartialPath#alterPrefixPath for 2 reasons:

the meaning of the method is not clear
returning multiple possible results means the caller need to query (or delete) each of the returned path, which is a waste of time.

This method currently is mainly used for dividing logic path set, represented by the given path pattern, into several buckets identified by storage group.
Maybe using both the origin path pattern and the prefix path as parameters to filter series is fine.

@qiaojialin @LebronAl please have a look

I checked the result of the cluster IT.

The failure of aligned-by-device tests is expected.
IoTDBFillIT failed because the env is unstable.
The failure of the precision issue of float numbers is expected. Please see: https://github.com/apache/iotdb/pull/4570
The failure of tag tests is expected. Please see: https://github.com/apache/iotdb/pull/4613

@qiaojialin @LebronAl Does this PR have any other issues to solve? If not, I think we should merge it as soon as possible because the query with wildcards in cluster is a high frequency operation. Other refining works about MTree can be done later.


upload_to_app_store Could not find ipa file at path

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
fastlane run build_app and upload_to_app_store in different lane
lane :build do
increment_build_number
build_app
end
lane :release do
upload_to_app_store
end
fastlane build
fastlane release
It doesn't work because the IPA package can't be found and can't be uploaded to the App Store
I did this because I was integrating Fastlane into Jenkins and Jenkins needed different steps to get a better look at the task
https://user-images.githubusercontent.com/16730031/110562389-5f54ef00-8184-11eb-8570-95a67f631776.png
Command executed
upload_to_app_store
Complete output when running fastlane, including the stack trace and command used

 13:11:56  [13:11:56]: Error setting value '/Users/liming/jenkins/jenkins/workspace/test-ios-app/AntaiApp/packages/AntaiApp-v2.0.37-Release-app-store-2021-03-17~13:09.ipa
13:11:56  ' for option 'ipa'
13:11:56  [13:11:56]: You passed invalid parameters to 'upload_to_app_store'.
13:11:56  [13:11:56]: Check out the error below and available options by running `fastlane action upload_to_app_store`
upload_to_app_store(
submit_for_review: true, # 是否自动提交审核
automatic_release: options[:automatic_release], # 是否审核通过后立刻上架发布
force: true, # 设置true 会跳过预览页面 直接上架
skip_metadata: false, # 是否跳过上传元数据 true时候release_notes无效
metadata_path: nil,
skip_screenshots: true, # 是否跳过上传截图
skip_binary_upload: false, # 是否跳过上传ipa或pkg到App Store Connect
run_precheck_before_submit: true, # 是否在提交到app review之前运行precheck 审核规则检测 以避免被拒绝
precheck_include_in_app_purchases: false, # 是否预先检查应用内购买
ipa: lane_context[SharedValues::IPA_OUTPUT_PATH], # ipa包路径
app_version: lane_context[SharedValues::VERSION_NUMBER] , # 版本号
release_notes: {
#'default' => "Release By Fastlane",
#'en-US' => "Release By Fastlane",
'zh-Hans' => options[:release_note] # "Fastlane自动化发布 #{Time.now.strftime("%Y-%m-%d %H:%M")}"
},
app_review_information: {
first_name: "高",
last_name: "洋",
phone_number: "+86<PHONE_NUMBER>7",
email_address<EMAIL_ADDRESS>demo_user: options[:demo_user], # App测试审核账号
demo_password: options[:demo_password], # App测试审核密码
notes: ""
}
)

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
11.2.3

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
macOS 11.2.3 (20D91)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.4

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.178.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.79.0

faraday-net_http
1.0.1

ruby2_keywords
0.0.4

faraday
1.3.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

gh_inspector
1.1.3

mini_magick
4.11.0

naturally
2.2.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
1.17.2

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

httpclient
2.8.3

google-api-client
0.38.0

CFPropertyList
3.0.3

fastimage
2.2.3

json
2.5.1

multi_json
1.15.0

signet
0.15.0

os
1.1.1

memoist
0.16.2

googleauth
0.16.0

rake
13.0.3

digest-crc
0.6.3

webrick
1.7.0

rexml
3.2.4

google-apis-core
0.3.0

google-apis-storage_v1
0.3.0

google-apis-iamcredentials_v1
0.2.0

google-cloud-errors
1.1.0

google-cloud-env
1.5.0

google-cloud-core
1.6.0

google-cloud-storage
1.31.0

emoji_regex
3.2.2

aws-eventstream
1.1.1

aws-sigv4
1.2.3

aws-partitions
1.432.0

jmespath
1.4.0

aws-sdk-core
3.113.0

aws-sdk-kms
1.43.0

aws-sdk-s3
1.91.0

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

zlib
1.0.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

libxml-ruby
3.1.0

psych
3.1.0

mutex_m
0.1.0

generated on: 2021-03-17

But packages do exist

@minuscorp Is there anyone who can help me? This problem has not been solved for a long time. Thank you

The sh command generates a string that has a newline result


fix: Table breaks on adding binding to column name

Description
When user adds any sort of binding to the column name of a table from property pane Columns section, the table breaks.
This was happening because of the column label getting stored as undefined or as an object that the binding evaluates to.
Only string values are expected in column label. Hence the table was breaking for non string values of column label.
This PR fixes this issue by replacing the column name with a default text "customColumn" whenever the column label is not of type string
https://www.loom.com/share/1c5feab1aafa43abaac757d853a02770
Fixes #20663
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Cypress

Test Plan

https://github.com/appsmithorg/TestSmith/issues/2188

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[x] Test plan has been approved by relevant developers
[x] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/build-deploy-preview

Tested this PR and LGTM

/build-deploy-preview

Re-tested this PR and LGTM

/ok-to-test sha=923c04e

/perf-test


configure drone to build images on different branches

https://github.com/longhorn/longhorn/issues/2600
Signed-off-by: Mohamed Eldafrawi<EMAIL_ADDRESS>

@innobead I can't assign a reviewer on backing-image-manager.
please review this PR.


Best Undress AI Tool (100 Tools Tested)

After testing over 100 undress AI tools, I found this tool that produce realistic and accurate undressed images in seconds.
1. Undress.cc

Undress.cc is the ultimate AI tool designed to revolutionize the way you undress images with precision and speed. Our cutting-edge technology ensures seamless and accurate results for all your image editing needs. Say goodbye to manual editing and hello to the future of undressing images effortlessly.
Key Features:
AI-Powered Undressing: Our advanced artificial intelligence algorithms enable precise removal of clothing in images with just a few clicks.
Customizable Options: Tailor the undressing process with adjustable settings to achieve the desired level of nudity or modesty.
Batch Processing: Save time and effort by undressing multiple images simultaneously, perfect for bulk editing tasks.
Realistic Results: Enjoy high-quality outputs that maintain the natural appearance of the subjects, ensuring a seamless undressing effect.
User-Friendly Interface: Intuitive and easy-to-use interface makes undressing images a breeze for both beginners and experienced users.
Privacy Protection: Rest assured that your images are processed securely, with strict privacy measures in place to safeguard your data.
Pros:
Saves time and effort compared to manual editing methods.
Offers customization options for tailored results.
High level of accuracy and realism in undressing images.
Ideal for various applications, including photo editing, design, and more.
User-friendly interface for a seamless editing experience.
Ensures privacy and security of your images throughout the process.
Cons:
Limited to undressing images only, may not cater to all editing needs.
Requires an internet connection for AI processing, which may affect speed in low connectivity areas.
Try Undress.cc For Free

Yeah, I have tried this app and am impressed with the quality of the images it produces. You also forgot to mention the features: like undressing mode, age selection, hip size customization, and more.
Along with it, I also use another app (undress.app) that produces the same kind of images as Undress cc but this app is faster in image generation.


Intrusion detection schedules

Under system - intrusion detection -administration - schedule, even if schedule already exists GUI is always opening ADD new schedule window, it is not possible to edit or delete already configured schedules under schedules tab. (version 18.1.4)

The schedule tab is only intended for editing the IDS schedule. Go to System: Settings: Cron to edit the others.
Furthermore, it's not possible to delete the IDS schedule because it is linked to the subsystem, but it can be deactivated just fine.

I have IDS rules update scheduled...i can access/edit this via system - cron but not via IDS - schedules...also I cant disable it..every time i click on Schedules add new widnow pops up. Maybe this it how it should work, but its a little confusing..I have no problem to edit it via cron..just want to check if the behavior is correct.

It's disabled by unchecking "enabled" on top + save


⚠ SceneTime has degraded performance

In bec80f3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 12354 ms

Resolved: SceneTime performance has improved in 2033dde after 6 minutes.


docs(GroupTheory/SpecificGroups/Cyclic): change "Cycle" to "Cyclic"

Two declaration about cyclic groups had "cycle" in their name. This PR rename them.

bors r+


Channels 2 upgrade

Thank you @atb00ker for your outstanding work! I've fixed the test and performed clean up.
Let's see if the travis build passes.
Closes #7 and #8.

Coverage decreased (-6.4%) to 93.636% when pulling 45d957e8cee826f109fc59d6b5e722bae276c7c3 on channels2 into 7fe814e0ba7733f703188f2c1186c104226b56d0 on master.

@nemesisdesign , the file pytest_channels.py needs to be renamed to back test_channels.py.
I changed the name because i was running the file in a different manner! Currently that file is not running!

@atb00ker oh I didn't notice that.. I already changed the logic again.. but anyway, I think now it's better, the result is cleaner and I undertsood how to make sure the pytest suite runs fast (it was running very slowly in my env because the db was being recreated at each test).
What do you think? Can we merge?

PS: coveralls now reports 100%, not sure why it hasn't posted the result here: https://coveralls.io/builds/18793941


Add multi-tenancy pimpmytheme with request

The current_site should be processed from the request.
PR incoming for adding this possibility

Thanks