Connection errors with Chroma template

I'm attempting to deploy the Chroma template (introduced  in https://github.com/railwayapp/templates/issues/434) and connect it to a Flask app.
Connection code:
import chromadb

db = chromadb.HttpClient(host=os.getenv('CHROMA_DB_HOST', 'chroma.railway.internal'))

Flask service stack trace
[2024-04-05 13:42:46 +0000] [11] [INFO] Worker exiting (pid: 11)

[2024-04-05 13:42:46 +0000] [7] [INFO] Shutting down: Master

[2024-04-05 13:42:46 +0000] [7] [INFO] Reason: Worker failed to boot.

[2024-04-05 13:43:13 +0000] [7] [INFO] Starting gunicorn 20.0.4

[2024-04-05 13:43:13 +0000] [7] [INFO] Listening at: http://<IP_ADDRESS>:6731/ (7)

[2024-04-05 13:43:13 +0000] [7] [INFO] Using worker: sync

[2024-04-05 13:43:13 +0000] [11] [INFO] Booting worker with pid: 11

[2024-04-05 13:43:19 +0000] [11] [ERROR] Exception in worker process

Traceback (most recent call last):

File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 198, in _new_conn

sock = connection.create_connection(

File "/opt/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 60, in create_connection

for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):

File "/root/.nix-profile/lib/python3.8/socket.py", line 918, in getaddrinfo

for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

socket.gaierror: [Errno -2] Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 793, in urlopen

response = self._make_request(

File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 496, in _make_request

conn.request(

File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 400, in request

self.endheaders()

File "/root/.nix-profile/lib/python3.8/http/client.py", line 1251, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)

File "/root/.nix-profile/lib/python3.8/http/client.py", line 1011, in _send_output

self.send(msg)

File "/root/.nix-profile/lib/python3.8/http/client.py", line 951, in send

self.connect()

File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 238, in connect

self.sock = self._new_conn()

File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in _new_conn

raise NameResolutionError(self.host, self, e) from e

urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0x7fa4a5e09190>: Failed to resolve 'chroma.railway.internal' ([Errno -2] Name or service not known)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/opt/venv/lib/python3.8/site-packages/requests/adapters.py", line 486, in send

resp = conn.urlopen(

File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 847, in urlopen

retries = retries.increment(

File "/opt/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment

raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='chroma.railway.internal', port=8000): Max retries exceeded with url: /api/v1/tenants/default_tenant (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7fa4a5e09190>: Failed to resolve 'chroma.railway.internal' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/venv/lib/python3.8/site-packages/chromadb/api/client.py", line 438, in _validate_tenant_database

self._admin_client.get_tenant(name=tenant)

File "/opt/venv/lib/python3.8/site-packages/chromadb/api/client.py", line 486, in get_tenant

return self._server.get_tenant(name=name)

File "/opt/venv/lib/python3.8/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 127, in wrapper

return f(*args, **kwargs)

File "/opt/venv/lib/python3.8/site-packages/chromadb/api/fastapi.py", line 197, in get_tenant

resp = self._session.get(

File "/opt/venv/lib/python3.8/site-packages/requests/sessions.py", line 602, in get

return self.request("GET", url, **kwargs)

File "/opt/venv/lib/python3.8/site-packages/requests/sessions.py", line 589, in request

resp = self.send(prep, **send_kwargs)

File "/opt/venv/lib/python3.8/site-packages/requests/sessions.py", line 703, in send

r = adapter.send(request, **kwargs)

File "/opt/venv/lib/python3.8/site-packages/requests/adapters.py", line 519, in send

raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPConnectionPool(host='chroma.railway.internal', port=8000): Max retries exceeded with url: /api/v1/tenants/default_tenant (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7fa4a5e09190>: Failed to resolve 'chroma.railway.internal' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker

worker.init_process()

File "/opt/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process

self.load_wsgi()

File "/opt/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi

self.wsgi = self.app.wsgi()

File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()

File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load

return self.load_wsgiapp()

File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp

return util.import_app(self.app_uri)

File "/opt/venv/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app

mod = importlib.import_module(module)

File "/root/.nix-profile/lib/python3.8/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "<frozen importlib._bootstrap>", line 1014, in _gcd_import

File "<frozen importlib._bootstrap>", line 991, in _find_and_load

File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked

File "<frozen importlib._bootstrap>", line 671, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 843, in exec_module

File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed

I set up a simple report here:

Railway project
Flask app

Help!

Hey, Gitub issues aren't to be used for support, please open a help thread in either of the Forum or Discord links the bot has sent above.

@brody192 Apologies -- my assumption was that this is either a bug with the template or a lack of documentation, which I had thought was appropriate here:

This repository handles GitHub focused discussions about Railway templates. We handle Template bounties, feature requests, and bug reports here.

I'll move the discussion to the forum and report back if it is in fact a bug.


Updating Dataflow Python worker container

This change updates Dataflow Python worker container version to beam-master-20181106.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

+R: @charlesccychen @tvalentyn
+cc: @aaltay

Run Python Dataflow ValidatesRunner

Thanks! This LGTM. Will wait for tests before merging.


Server-side issues (tracker)

What
Issues that probably are server-side (please file an issue in openfoodfacts-server, and link it here)

[ ] Duplicate Environnement title

[ ] Untranslated title (French)

Part of

#525

@stephanegigandet this is an on-going tracker of issues that are probably server side. Feel free to invalidate them if they are client-side.


Fixing Frame not found for the given storage id

refs https://github.com/k1LoW/runn/pull/379#issuecomment-1399414226
refs https://github.com/chromedp/chromedp/issues/1233

@k2tzumi GREAT!!!!!


Refs #22078 -- Added syndication test for feeds with callable objects.

This PR applies the felixxm's comment about cover two lines of syndication views code:
Before:

After:

To run the new specific test please do:
./runtests.py syndication_tests.tests.SyndicationFeedTest.test_rss2_feed_with_callable_object

@mgaligniana Thanks :+1:


Use generic kubeconfig in ccm

How to categorize this PR?

/kind bug
/platform equinix-metal
What this PR does / why we need it:
Fixes a bug that causes the ccm to not be correctly deployed due to a missing generic kubeconfig.
The currently used kubeconfig is not deployed anymore since newer Gardener versions.
This PR now injects the correct dynamic kubeconfig similar to the other extensions.
Release note:

Fixes a bug in the CCM deployment that caused it to not be correctly deployed due to an outdated secret reference in newer Gardener versions.

Thank you @schrodit for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.


:sparkles: Add get projects function and call

Waiting for the database's table to be ready

Waiting validation @ImJustLucas


How to update properly?

What is the proper way to update BookStack to the latest release?
I executed the steps listed in the installation doc, but got errors in the end. Therefore, I did a fresh install while reusing my database.

Just copy and paste the new commits instead of updating in CLI.

@TribuneX  - Would be good to know what errors you got after the update.

Will do next time. Unfortunately, I do not have the version with errors any more, since I installed from scratch.
Looking at my Google history, errors like those showed up:
https://github.com/laravel/framework/issues/17377

@TribuneX To update use these instructions

Thanks @Shackelford-Arden.
@TribuneX Feel free to continue this discussion if you have any issues running the official update instructions as linked above otherwise I'll close this issue for now.


No view or template files generated for PowEmailConfirmation

Duplicate of #423
This is to be expected for extensions that doesn't have templates like PowEmailConfirmation. I've reworded it in #487 so it's more clear.


Support JDK11 in generated maven project

add javax.annotation dependency

this fixes #170

Perhaps also update the CircleCI config to build on both jdk8 and jdk11


Update maven.yml remove java versions

It is sensible to test a well used library against all LTS version of Java. You may not use Java 8, but others may do.

-1, I agree with @aherbert. We build to the Java 8 target.


Unable to locate module 'opennebula'

When attempting to load this NPM module through Meteor.JS and meteorhacks:npm , I receive the following error message: "Error: Unable to locate module 'opennebula'".
The module is installed both locally (app/public/node_modules) as well as globally (/usr/lib/node_modules) as per the norm with ' npm install ' and ' npm -g install ' both.
It is worth noting the directory structure is COMPLETELY DIFFERENT than that of this GIT directory, when installed via the npm of the latest Node, perhaps there is something wrong h ere?
fox2 app # ls public/node_modules/opennebula/
./  ../  lib/  node_modules/  .npmignore  package.json  README.md  test/

Some more information (stack trace for example):
I20150222-00:35:08.313(-5)?     at Function.Module._resolveFilename (module.js:338:15)
I20150222-00:35:08.313(-5)?     at Function.Module._load (module.js:280:25)
I20150222-00:35:08.314(-5)?     at Module.require (module.js:364:17)
I20150222-00:35:08.312(-5)? Exception while invoking method 'onLoad' Error: Cannot find module '/root/app/.meteor/local/build/programs/server/npm/npm-container/node_modules/opennebula'
I20150222-00:35:08.314(-5)?     at require (module.js:380:17)
I20150222-00:35:08.314(-5)?     at Object.Npm.require (/root/app/.meteor/local/build/programs/server/boot.js:136:18)
I20150222-00:35:08.314(-5)?     at Object.Meteor.npmRequire (packages/npm-container/index.js:2:1)
I20150222-00:35:08.314(-5)?     at [object Object].onLoad (app/server/__main__.js:6:31)
I20150222-00:35:08.314(-5)?     at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1599:1)
I20150222-00:35:08.315(-5)?     at packages/ddp/livedata_server.js:648:1
I20150222-00:35:08.315(-5)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)

And again, an ls of the directory shows:
fox2 app # ls .meteor/local/build/programs/server/npm/npm-container/node_modules/opennebula
./  ../  lib/  node_modules/  .npmignore  package.json  README.md  test/

https://github.com/OpenNebula/addon-nodejs/pull/3

Why do you say it's completely different?
As you metioned:
fox2 app # ls public/node_modules/opennebula/
./  ../  lib/  node_modules/  .npmignore  package.json  README.md  test/
node_modules is obviously created in install, that .npmignore suspect something dynamic on your side.
Basically is exactly the same as in here. O.o


Measuring the distance between two distributions of vectors

I have 2 buckets.
Each bucket holds documents.
Each document has a vector field.
I want to measure the distance between them.
To measure the distance, I need to take the mean vector out of each bucket, and calculate the delta between them.
What the best way to save the vectors (knn_vector ? spread the vector to discrete field x0, x1, x2?) and perform the calculation of the mean vector? (Painless script that iterates the vector, save in the state the sum of each dimension and calculate the average in the reduce_script?)

This feels like a job for https://github.com/opensearch-project/k-nn, https://opensearch.org/docs/latest/search-plugins/knn/index, specifically https://opensearch.org/docs/latest/search-plugins/knn/painless-functions/. Does this help?
This is probably best asked in https://forum.opensearch.org/, GH is for issues/bugs, I'll close the issue for now, but feel free to reopen if you feel like there's a problem.

I don't see how can I utilize the sources you sent to perform my task.
I'll ask in the forum. Thank you!


Crash when RMT mem_block_num > 1 (IDFGH-2915)

Environment

Development Kit: ESP32-WROOM
Module or chip used: ESP32D0WDQ5 (revision 1)
IDF version: v4.1-dev-2079-g5dbabae9d
Build System: make
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System: Windows subsystem for Linux
Using an IDE?: No
Power Supply: external 5V

Problem Description
When rmt_config is called with rmt_config_t containing mem_block_num value > 1, then a hard crash occurs in rmt translation function.
Expected Behavior
Using > 1 mem_blocks used to work (I think on v4.0)
Actual Behavior
Hang, resulting in WDT trigger
Steps to reproduce

start with the rmt/led_strip sample
set RMT_TX_CHANNEL == 0
add the following at line 83 of led_strip_main.c
config.mem_block_num = 8;
build and run

Code to reproduce this issue
https://gist.github.com/cskilbeck/6ce188fd980637f194f454d5bdd43037
Debug Log
https://gist.github.com/cskilbeck/56da4ad34c9c9bb4d04efe092b5cb632
Other items

sdkconfig https://gist.github.com/cskilbeck/f2dd85b335054355558e3a6deb0bec4f
-elf led_strip.zip

Init function:
void neopixel_init()
{
    rmt_config_t config;
    config.rmt_mode = RMT_MODE_TX;
    config.channel = LED_RMT_TX_CHANNEL;
    config.gpio_num = LED_RMT_TX_GPIO;
    config.mem_block_num = 1;
    config.tx_config.loop_en = false;
    config.tx_config.carrier_en = false;
    config.tx_config.idle_output_en = true;
    config.tx_config.idle_level = RMT_IDLE_LEVEL_HIGH;    // high because level shifter inverts it
    config.clk_div = 2;

    ESP_ERROR_CHECK(rmt_config(&config));
    ESP_ERROR_CHECK(rmt_driver_install(config.channel, 0, ESP_INTR_FLAG_IRAM));
    ESP_ERROR_CHECK(rmt_translator_init(config.channel, rmt_translate));
}

write function:
    ESP_ERROR_CHECK(rmt_wait_tx_done(LED_RMT_TX_CHANNEL, portMAX_DELAY));
    ESP_ERROR_CHECK(rmt_write_sample(LED_RMT_TX_CHANNEL, rgb, num_leds * 3, false));

@cskilbeck Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

Hi, @cskilbeck
Do you want to  drive an WS2812 LED strip with RMT?  you can refer to https://github.com/espressif/esp-idf/tree/master/examples/peripherals/rmt/led_strip
thanks !!

I'll see if I can make a minimal repro, hang on

OK, the repro is as follows:

start with the rmt/led_strip sample
add the following at line 83 config.mem_block_num = 8;
build and run
result is a crash

From looking at the debug log, it seems to be having a problem in rmt_ll_write_memory, called from line 519 in driver/rmt.c
static void IRAM_ATTR rmt_fill_memory(rmt_channel_t channel, const rmt_item32_t *item,
                                      uint16_t item_num, uint16_t mem_offset)
{
    RMT_ENTER_CRITICAL();
    rmt_ll_set_mem_owner(p_rmt_obj[channel]->hal.regs, channel, RMT_MEM_OWNER_SW);
    rmt_ll_write_memory(p_rmt_obj[channel]->hal.mem, channel, item, item_num, mem_offset);
    rmt_ll_set_mem_owner(p_rmt_obj[channel]->hal.regs, channel, RMT_MEM_OWNER_HW);
    RMT_EXIT_CRITICAL();
}

Also worth mentioning (although this is really a separate bug) that when mem_block_num == 1 and # of items is large (1200 bytes in this case), occasional flickering occurs, possibly because the ISR is not servicing the RMT peripheral adequately. This is the reason for using 8 mem_blocks, which seemed to fix the flickering.

Hi,@cskilbeck
Thanks for reporting this issue, this is a issue introduced by driver refactoring. We will fix it soon.
thansk !!

Great, thanks for looking into it, let me know if you want anything tested.

Having the same issue. I think I'm using version 4.0 but I could be wrong. I would happily apply a patch to the driver so as to not wait for a full version release (in case you already have it).

I haven't looked into it, sorry, just waiting for a new version.
On Sun, 5 Apr 2020, at 4:30 PM, atwoz wrote:

Having the same issue. I think I'm using version 4.0 but I could be wrong. I would happily apply a patch to the driver so as to not wait for a full version release (in case you already have it).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/espressif/esp-idf/issues/4959#issuecomment-609434867, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGDOK45D3ORUBVAU2HRCULRLCPZ7ANCNFSM4LO55OJQ.

@cskilbeck @atwoz Thanks for reporting and follow-up, we have a fix which is now under internal reviewing, will update once it is available on GitHub. Thanks.

Hi, @atwoz
release 4.0 do not have this breaking change, Can you check your IDF version?

Hi, @cskilbeck
the fix of this issue will remove the line
length = (off + length) > SOC_RMT_CHANNEL_MEM_WORDS ? (SOC_RMT_CHANNEL_MEM_WORDS - off) : length;
in
static inline void rmt_ll_write_memory(rmt_mem_t *mem, uint32_t channel, const rmt_item32_t *data, uint32_t length, uint32_t off)
Can you help check if this fix is OK?
@atwoz Can you provide you IDF version?
thanks

I'll give it a go and report back.

@koobest I can confirm that the crash goes away when removing that line. Tested on v4.2.


iproute: 4.15.0 -> 4.16.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/iproute2/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/ctstat -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/ctstat --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/ifstat help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/lnstat -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/lnstat --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/nstat help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/routef -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/routef --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/routef help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/routel --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/routel help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/rtpr -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/rtpr --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/rtpr help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/rtstat -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/rtstat --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/ss -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/ss --help’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/tc -h’ got 0 exit code
ran ‘/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin/tc help’ got 0 exit code
found 4.16.0 with grep in /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0
directory tree listing: https://gist.github.com/3cbeb932502256cc3c7505200003d620

cc @edolstra @wkennington @fpletz for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: iproute
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: iproute
Partial log (click to expand)
shrinking /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/sbin/nstat
shrinking /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/sbin/tc
shrinking /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/sbin/rtmon
gzipping man pages under /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/lib  /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/sbin
patching script interpreter paths in /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0
checking for references to /tmp/nix-build-iproute2-4.16.0.drv-0 in /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0...
moving /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/sbin/* to /nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0/bin
/nix/store/m3b8yhqabqfzamhgnrxy1nffy7dmf4zy-iproute2-4.16.0

Success on aarch64-linux (full log)
Attempted: iproute
Partial log (click to expand)
shrinking /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/sbin/tc
shrinking /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/sbin/rtmon
shrinking /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/sbin/ip
gzipping man pages under /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/lib  /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/sbin
patching script interpreter paths in /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0
checking for references to /build in /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0...
moving /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/sbin/* to /nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0/bin
/nix/store/h800kpi9dkfja5j9hkp0bfzlwwsk8vii-iproute2-4.16.0

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: iproute
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: iproute
Partial log (click to expand)
shrinking /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/sbin/nstat
shrinking /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/sbin/tc
shrinking /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/sbin/rtmon
gzipping man pages under /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/lib  /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/sbin
patching script interpreter paths in /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0
checking for references to /tmp/nix-build-iproute2-4.16.0.drv-0 in /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0...
moving /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/sbin/* to /nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0/bin
/nix/store/07jzv5nwz5p1rn7nmw9fnf9gikir7ivg-iproute2-4.16.0

Success on aarch64-linux (full log)
Attempted: iproute
Partial log (click to expand)
shrinking /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/sbin/tc
shrinking /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/sbin/rtmon
shrinking /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/sbin/ip
gzipping man pages under /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/lib  /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/sbin
patching script interpreter paths in /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0
checking for references to /build in /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0...
moving /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/sbin/* to /nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0/bin
/nix/store/wk7fql3ag8aq1n2zy5v7r25h2cjnfqr0-iproute2-4.16.0


Cannot install on Windows 10, marisa-trie dependency error; plaintext data possible?

Installing the dependency marisa-trie runs into this:
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.22.27905\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory     error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.22.27905\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2     ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\********\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\********\\AppData\\Local\\Temp\\pip-install-w5unt35s\\marisa-trie\\setup.py'"'"'; __file__='"'"'C:\\Users\\********\\AppData\\Local\\Temp\\pip-install-w5unt35s\\marisa-trie\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\********\AppData\Local\Temp\pip-record-2nqt16fl\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
I found this issue in the marisa-trie repo hinting that the latest versions need be built on some platforms, and other issues pointing at problems with Windows 10, and marisa-trie seems to be abandoned. I just need the word frequencies for some words in some languages, that's all; is there perhaps a way to bypass this? Thanks.
P.S.: While the Python package is convenient (if one is a Python user), having the frequencies available in a more universal, platform and language independent format too (e.g. just csv) would be super neat!

...and already solved it by using conda-forge; but maybe will be useful for somebody:
conda config --add channels conda-forge conda config --set channel_priority strict conda install marisa-trie


RAINCATCH-485: Data Reset Feature Branch

Feature branch for the data reset functionality.

Change base branch so we can release this along with the rest of the issues in the Epic.

@paolobueno @nialldonnellyfh Should we merge that?

Going to go ahead and merge this. Issue has been verified along with the data-manipulation ones from the same epic and is a for shipping the feature.

@paolobueno Not sure if we should get that into development branch?

@wtrocki Yes, that's what I thought too, the feature branch is already merged, so this can go straight to development


update SELinux enforcer

Support SELinux-enabled environment
Add a new example (vagrant-selinux) with test files and host policies
Make AppArmor profile generation concise
Upgrade protobuf version

Signed-off-by: Jaehyun Nam<EMAIL_ADDRESS>

Codecov Report

Merging #657 (e6d549c) into main (925a26a) will decrease coverage by 5.26%.
The diff coverage is 3.81%.

@@            Coverage Diff             @@
##             main     #657      +/-   ##
==========================================
- Coverage   43.35%   38.08%   -5.27%
==========================================
  Files          23       25       +2
  Lines        8530     9620    +1090
==========================================
- Hits         3698     3664      -34
- Misses       4378     5509    +1131
+ Partials      454      447       -7

Impacted Files
Coverage Δ

KubeArmor/enforcer/SELinuxEnforcer.go
0.00% <0.00%> (ø)

KubeArmor/enforcer/SELinuxHostProfile.go
0.00% <0.00%> (ø)

KubeArmor/enforcer/SELinuxProfile.go
0.00% <0.00%> (ø)

KubeArmor/enforcer/appArmorHostProfile.go
0.00% <0.00%> (ø)

KubeArmor/monitor/processTree.go
86.14% <0.00%> (-5.00%)
:arrow_down:

KubeArmor/monitor/systemMonitor.go
38.23% <6.66%> (-11.12%)
:arrow_down:

KubeArmor/enforcer/appArmorProfile.go
38.19% <15.56%> (-0.15%)
:arrow_down:

KubeArmor/feeder/policyMatcher.go
40.58% <60.00%> (-0.07%)
:arrow_down:

KubeArmor/monitor/logUpdate.go
72.91% <100.00%> (+1.97%)
:arrow_up:

... and 4 more

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 7d78301...e6d549c. Read the comment docs.


Image resize did not work on WPML sites

Hi,
tl;dr: Using the resize filter on a site with WPML translations resulted in broken resized image links, I fixed it (and added non-regression tests).
More details:

WPML works by changing home_url() from 'example.com' to 'example.com?lang=en'
timber resize used to build resized url by doing home_url().'...path...'
mixing the 2 resulted in broken url of 'example.com ?lang=en /wp-content/.../img-300x500-c-default.jpg'
I updated resize to use content_url(), which WPML does not touch
I very slightly refactored timber-image-helper in the process.

Thanks

Thanks much @xavierpriour. I finally got my hands on a dev copy of WPML to test against. The code and the tests were :+1:.


Give more time to wait the large topics

在建立大型 topics (a bunch of partitions) 的時候需要更多的等候時間

failed test is traced by https://github.com/skiptests/astraea/issues/653


Unable to compile/serve angulardart project

Dart version: Dart VM version: 2.0.0-dev.63.0 (Fri Jun 15 00:42:43 2018 +0200) on "macos_x64"
Angular: angular: ^5.0.0-alpha+13
OS: MacOS
Browser: Chrome
IDE: WebStorm 2018.1.5

Yesterday everything was working fine in the project I'm working on, however, today since I tried to build the project I've been getting the following error:
NoSuchMethodError: Class 'List<ConstructorElement>' has no instance method 'retype'.
Receiver: Instance(length:1) of '_GrowableList'
Tried calling: retype()

Duplicate of https://github.com/dart-lang/angular/issues/1406.
This is fixed in the latest version, +15, or you can downgrade to an older SDK to continue using +13.

awesome! thanks @matanlurey


Could you demonstrate the practical use of sizeof() in C#?

It might be useful to see an example that actually uses the value of sizeof() in some way (instead of simply printing it to the console).
For instance, in plain C, sizeof() might be used to allocate a block of memory large enough to hold an array of a certain type of struct or later to write such an array to disk as a block of raw bytes.

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

ID: 191acdd8-8e36-8bd4-1172-140717c36a85
Version Independent ID: 7e28a662-f550-d202-9a97-e684ae1b074d
Content: sizeof operator - C# reference
Content Source: docs/csharp/language-reference/operators/sizeof.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for writing this @matthew45052
The sizeof operator in C# would be used for similar operations in C#: either to allocate a block of memory, or to increment pointers in unsafe code.

@BillWagner

...to increment pointers in unsafe code

How one would do that? As far as I know, one doesn't need to use the sizeof  operator explicitly for pointer arithmetic. sizeof is used implicitly in p++, p+n, where p - pointer, n- integer. So, that's not a practical use for a programmer, but practical use for the compiler.
As for the allocation of a block of memory, what would be an example of that? Ideally, such an example where Span<T> is less preferred.
It looks that, in later versions of C#, the practical use of sizeof has dropped.

Thanks for correcting me here @pkulikov
Incrementing pointers would not be a good use case. And, I heartily agree that its use has diminished in recent versions.
What would you suggest for a good example?

What would you suggest for a good example?

@BillWagner I don't know, I don't have a good one. Maybe someone from the .NET or C# team can provide an example (which still would be for advanced scenarios, I guess, but fine)?
Worth to note the Stack Overflow answer of @ericlippert from seven years ago:

What are you going to do with that information in safe code? It's not useful for anything. It doesn't tell you how many unmanaged bytes you need to allocate to marshal; that's Marshal.SizeOf. It's only useful for pointer arithmetic, so why should it be in the safe subset?
...
... But the fact remains that sizeof was designed specifically for pointer arithmetic

So, it looks that the practical use of sizeof is an under-the-hood use for pointer arithmetic.

Yeah, for example, BitConverter implementation in CoreCLR uses sizeof when converting primitive types to bytes: https://github.com/dotnet/runtime/blob/master/src/libraries/System.Private.CoreLib/src/System/BitConverter.cs#L69
Another case would be interop with unmanaged functions that take buffers of primitive values. For example, NtQueryInformationProcess takes pointer to buffer of type void* and size of that buffer, but when retrieving ProcessBreakOnTermination flag the buffer is actually uint variable. So we can declare P/Invoke as follows:
 [DllImport("NTDLL.DLL")]

static extern int NtQueryInformationProcess(IntPtr hProcess, uint pic,
ref uint pi, int cb, out int pSize);
And use it as follows:
uint val = 0;
int size;
int res = NtQueryInformationProcess(
     handle, ProcessBreakOnTermination, ref val, sizeof(uint), out size
     );

Normally Marshal.SizeOf is used for this purpose. But for uint it's known that it has the same representation in unmanaged code, so we can use sizeof, which is compile-time constant.


After upgrading to 3.24.0 the android release build is broken on several packages giving the error "AAPT: error: resource android:attr/lStar not found."

See further in https://github.com/flutter/flutter/issues/153281
So please update your compileSdk = 34 anstead of compileSdkVersion = 34 (according to https://developer.android.com/google/play/requirements/target-sdk)

We've just release 0.4.0 to use compileSdk = 34.
https://pub.dev/packages/add_to_gallery
Feel free to re-open this issue if this doesn't fix your problem.


Provide access to the Exception attributes of formats

We need the following accessors

TypeMismatchException::GetPath()
TypeMismatchException::GetExpected()
TypeMismatchException::GetActual()
OutOfBoundsException::GetPath()

I have found these accessors in code. I think issue outdated.

Yes, already fixed. Thanks for the hint!


could you have a better readme that give the steps in detail

Self Checks

[X] I have searched for existing issues search for existing issues, including closed ones.
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue，否则会被关闭。谢谢！:）
[X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.
the main problem is that i wantched a youtube video and when tru the steps that they said and i am just going into errors. there is not clear process to run this amazing tool
2. Additional context or comments
No response
3. Can you help us with this feature?

[ ] I am interested in contributing to this feature.

you have provided a index file some whare inside a assets folder, it would be great if it can be added to the main readme


process exits 0 when errors/warnings are reported

i expect linters to return non-zero exit codes when they find something so that they may be used during build processes.

I've actually changed this to completely ignore the linter status code, as it's not reliable. Now, if any lint messages are printed, gometalinter exits with a non-zero status. You can also now use --errors to only report errors, in which case gometalinter will only exit with a non-zero status if there are errors.


No support for Xcode 8

This due to you not using the latest Xcode, this project requires Xcode 9+


[FEATURE] Get started button does not stand out

Detailed description
The get started button being the primary button should catch a visitor's attention as he visits the page, but currently it kindof blends into the background
Context
The get started button should be shown as a primary button which it is
Possible implementation
Have a more border with more saturated color (if you wouldn't like it to have a background)
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Detailed description
The get started button being the primary button should catch a visitor's attention as he visits the page, but currently it kindof blends into the background
Context
The get started button should be shown as a primary button which it is
Possible implementation
Have a more border with more saturated color (if you wouldn't like it to have a background)
Additional information
No response
Code of Conduct
* [x]  I agree to follow this project's Code of Conduct

Yes, we have to remove these buttons and have to add something new after the website got completed

If you have any idea let us know

Yeah, just a button with more prominent borders or background colour should work fine

Can I go ahead to work on this?

Can I go ahead to work on this?

Yes, i am assigning you this issue

@kabir0x23 kindly review this 🤗


cargo crev crate verify hangs for a long time (15+ seconds) when processing the local crate.

Is this expected? The Getting Started Guide doesn't mention that I should expect that. I tried two different projects and they both quickly showed all the crates.io dependencies and then seemed to freeze for quite a while before printing the local crate's line at the end.
Also, and this could be related, when ogl33 was a local crate it was reported as having 94,107 lines and 3,783 geiger hits. When it was used as a dependency in the second project i tried it was reported as 19,172 lines and 757 geiger hits.
Is it over calculating the local crate in some way that's super computationally intensive? That should probably be documented in the Getting Started guide if so.
(Version 0.13.0)

I think it is taking a long while to calculate the digest of the local crate. Maybe you have a lot of additional data that it has to go though. I should probably disable calculating digest for local crates at all.

I pushed a fix to master branch. I hope it will help. geiger and tokei will still do its job.
I'm not sure about the geiger count. Maybe there's something inside your local source code (or ./target that confuses geiger?

I think this is fixed.


Query (get) helper

One of the main new features we need to add to Ghost is a 'query helper' for themes. This is a helper that gives theme developers access to the API to make custom queries for data they'd like to display.
This helper will only provide access to the GET API endpoints that don't require user authentication - that is getting published posts, and all tags, with all the sorting and filtering options which are available.
I propose that this helper be a block helper called 'fetch':
{{#fetch}}
  .. do stuff with the data here
{{/fetch}}

After that, there are a number of ways we could specify the details of the API call we want to make:

Just accept a string parameter that contains the API call URL:
{{#fetch "/posts/?limit=5"}}
{{#fetch "/posts/12/?include=tags"}}

Take the resource as a parameter, and use named attributes for the query params:
{{#fetch "posts" limit="5"}}
{{#fetch "posts" id="12" include="tags"}}

Also have the resource be a named attribute:

{{#fetch resource="posts" limit="5"}}
{{#fetch resource="posts" id="12" include="tags"}}

Some other format?

We need to find a format that makes sense to theme developers. Using the API call URL as a string is very simple to implement, but all the /'s and ?'s and &'s look quite complex even though URLs are fairly well understood thing.
The second option is kind of inconsistent with itself, but it looks nice. It's also similar to doing something like {{date published_at format="dd mm YY"}} where there can be a parameter and an attribute, and just like the date helper defaults to published_at, the fetch helper can default to posts.
The third one makes everything consistent, but as soon as you start using named parameters you need to do something like id="12" or slug="welcome-to-ghost" if you want to specify an id, or a slug etc to fetch a specific resource.
Thoughts on a postcard please!

The more I think about it, the more I prefer the second option as well:
{{#fetch "posts" limit="5"}}
{{#fetch "posts" id="12" include="tags"}}
However, I'm leaning towards using get instead of fetch?
{{#get "posts" limit="5"}}
{{#get "posts" id="12" include="tags"}}

Personally, I like #get over #fetch and I like option 2 as well. Seems the most straight forward and readable.

Here's a little bit of how I imagine it working:
In post.hbs, display the 5 most recent posts in a sidebar:
{{#post}}

{{title}}

{{content}}

  Published at {{date format="DD MMMM YYYY"}}

{{/post}}
{{#get "posts" limit="5"}}
  {{#if posts}}

      {{#foreach posts}}

{{title}}

      {{/foreach}}

  {{/if}}
{{/get}}

In index.hbs, display a list of all tagsin a sidebar:
{{#foreach posts}}
    {{! output partials/post.hbs}}
    {{> "post"}}
{{/foreach}}
{{#get "tags" limit="all" order="alpha"}}
  {{#if tags}}

      {{#foreach tags}}

{{name}}

      {{/foreach}}

  {{/if}}
{{/get}}

Instead of the {{#if resource}} wouldn't it make sense to not execute the block if the query result is empty?

@halfdan good catch!! Updated my comment to demonstrate this + else.

An update on the status of this issue, which also applies to #4799.
I began work on implementing this, and ran into a small oversight - express-hbs's fancy async helpers don't work for block helpers. Essentially, the options don't get passed around the same way so access to fn and inverse are lost. I started investigating the whys and what-fors to see if this could easily be resolved in express-hbs or is better suited to a custom workaround in Ghost and haven't come to a conclusion just yet. Once this is fixed the implementation of {{#get}} is straightforward.
Note: Handlebars itself has no intention of supporting async helpers.

My current workaround with redefined registerAsyncHelper function
https://gist.github.com/ofstudio/e13276a9c587ecd41a95

@ofstudio thanks for dropping by and sharing that gist with us - it gave me some inspiration and now the issue is fixed in express-hbs 0.8.3 ;)

@ErisDS +1 :+1: For this feature! Certainly theme developers are running into a wall without this.
2 Questions though:

Expected time of readiness (without testing and all)?
Would be great if we could see work on this issue in a branch or a fork? I would like to contribute to this effort but see no PRs or branches linking to this issue?

This helper is relatively simple, the problem at the moment is the API itself is still very, very limited so even if I put it in master, the helper wouldn't do enough things. As it has (so far) not been accessible except for in the admin interface, it's got a few gnarly bits and limitations which are far too tailored to that scenario and not any where near general enough.
There's a balance to be had here, because I know as soon as the {{#get}} helper becomes available the limitations will become obvious and more people will likely be interested in fixing them. The flip side is that if we make the helper available and then make major changes to the API, themes will break everywhere. So the balance is to make a few major changes up front:
The most important one of those is the horrid staticPages parameter, which I just raised an issue for:  #5151, which itself is blocked on #5093. If we could get these things smoothed out, I think it'd be OK to ship a {{#get}} helper with lots of warnings that it's beta only - and see how it goes.
Some other notes on API limitations:

there is no way to affect the order of posts, tags or users. There's an open issue for adding the ability to do reverse-chronological posts, but it's one of the oldest issues we have open! - issue #889
there's no way to fetch posts filtered by the featured flag yet, although I think someone is working on that - issue #5152
the tag & user endpoint will let you fetch a single resource, a page of resources, or all resources - there are no filters available at all (as well as no orders)

So I imagine the second we put a helper out there, theme devs are going to want more options :grin:

+1
I want this feature so badly!!!
Do think it will be available in 0.6.5 even as beta with a lot of deep red warnings?

Sorry, this issue totally deserves an update.
I've been working on it for quite a while. Now that I've fixed express-hbs to allow for block ajax helpers, the helper itself is a relatively simple PR. However, all the work that is needed to make it useful is quite extensive.
Firstly, the API needs to support 'public access' permissions, permitting access to published posts and active users, whilst keeping drafts etc private. I've been working on this in PR #5496, but there is more work to do so there will be an issue for this soon.
Secondly the API needs to do useful things like filtering and sorting. I explained many of these in my previous comment but not a great deal of progress has been made. I recently opened a new issue describing my plan for how to implement this and am planning to break this down into smaller issues over the coming days.
Thirdly, there are considerations for the design of the helper itself - like how to allow for passing local data in so that it is possible to do dynamic queries. E.g, I'm on a post and I want to list the most recent 5 posts which have the same tags (a rough version of related posts). That means making the following work:
{{#post}}
{{#get "posts" limit="5" tag=post.tags}}{{/get}}
{{/post}}

Or following the new parameter design, making something like this work:
{{#post}}
{{#get "posts" limit="5" filter="tag:{{post.tags}}" }}{{/get}}
{{/post}}

In summary, there's quite a lot to do, but not really for this particular issue. The plan is to provide a 'beta' of the get helper in the next release.

Totally dope!

I'm still working away on this, looking to put together an initial WIP PR which covers this + the filter parameter in the next day or so, such that both things can be tested out and played with in a useful setting.
I thought I'd update with a few things that have come up as a result of putting the get helper together.
Path Expressions and JSONPath
The first is the obvious need to be able to pass in data from the local context to form queries, as mentioned in my previous comment. Doing this with the filter query stuff in place in a rudimentary form, I've managed to get the following working:
{{#post}}
  {{#get "posts" limit="5" filter="tag:{{post.tags}}" }}

    {{#foreach posts}}

{{title}}

    {{/foreach}}

  {{/get}}
{{/post}}

The handlebars data expressions inside the filter query are being parsed out by simply looking for matched pairs of {{ and }} and JSONPath is being used to take the path between them and fetch the correct piece of data from the context. This works surprisingly well :) It should be possible to do the same thing for other parameters, as well as the filter parameter.
Block params
Handlebars has a new feature for helpers called block params. I found out about this when working on the {{#foreach}} helper, essentially it allows you to rename the data coming out of the helper so....
{{#get "posts" filter="featured:true" as |featured|}} lets you fetch posts which are featured as an array of objects called featured. The result is:
{{#get "posts" filter="featured:true" as |featured| }}

  {{#foreach featured}}

{{title}}

  {{/foreach}}

{{/get}}

I think that's the key points!

Any news on this issue. I'm currently working on a theme that will take advantage of the GET feature, so I was wondering if I should work around it or wait.

If you look at the links above your comment, you'll see there are currently 2 open PRs against this issue - they are the news :wink:. Rather than working around or waiting, I recommend testing them out and letting us know how you get on - feedback will help us ship.

:confused:
Fine I'll do it, but just cause you seem nice. And you have like 230 day strike on Github :astonished:

Hi @ErisDS I want to help with the testing of this feature. Do I have to wait for the WIP to be merged into master or can I check it out already? Thanks

@gazpachu You can checkout PRs for local testing. There's a good guide to make the process super simple on the dev blog - http://dev.ghost.org/easy-git-pr-test/

Thanks @kevinansfield. I was able to checkout the PR and test it. I've placed the get helper in the post template (like in ErisDS example). It returns all the posts correctly, but the filter doesn't seem to be working. I've tried to filter only the 'getting-started' tag but it still renders links to posts without that tag. The error handling doesn't render any error message either. I've also noticed in the admin area that the tags field is not present, so I can't add tags to new posts from the admin. Is that expected? Are you adding tags manually using an external DB GUI? What else can I test?

Hi @gazpachu, #5496 is already merged and so is included whenever you check out one of the get helper PRs. If you want to play with the more advanced filter features then I recommend checking out #5608, rather than #5619.
The tag field for adding tags to posts is now under the post settings menu, but you'll need the latest copy of the PRs as it was missing entirely for a while.
I have updated both of the PRs - #5619 is just the get helper & #5608 is the get helper & filter feature - they have both been rebased on master today so when you check one of them out you'll have all of the code as of today + these extra features, which should make it easier to test.

Hello. How is this going? I'm currently developing a theme for Envato Ghost Theme Contest and would like to know the status.

i need offset of post

Hi,
I am deverloper. I am really looking forward to this feature.

@ThienNguyenMinh :+1:

+1 waiting looking forward to this feature. @ErisDS I agree with your syntax. I'm looking for:
{{#get "tags" limit="all" order="alpha"}}
Please, let me know if further testing is needed. Since you are working on it, do you have any updated branch with that feature? I can test and give feedback.

:+1:

I'm just wondering when this feature will be available?
Thanks in advance.

It is coming in Beta in the next release. That's the only thing I can say for certain :wink:

I'm So damn excited for this feature @ErisDS !

Hi!
Someone seen theme that supports the new query {{#get}} to display all tags in the sidebar or elsewhere? I use a standard theme Casper.

@online the beta version of the get helper just came out so i doubt any themes already have it running. You can however check out how to do it yourself here (http://themes.ghost.org/v0.7.2/docs/get#section-make-a-tag-cloud) or here (https://www.ghostforbeginners.com/how-to-add-a-tag-menu-to-your-blog/)

@dbalders thank you, this is just what I need! :wink:

I've looked a bit through the roadmap and I'm still wondering when the get helper will be able to get static pages. I want to be able to get a page via the slug of the page just like you can with regular posts.
Any insights? :)


PsiphonInc.Psiphon version<PHONE_NUMBER>0204657

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I will also remove old version 3.0

Done. waiting for merge...


Didn't see FD-GLGAN

Hi! I started to disassemble the article repository (https://d197for5662m48.cloudfront.net/documents/publicationstatus/171167/preprint_pdf/79a9882af71506c082b12969e3fb439c.pdf). There are various algorithms in the repository, but I didn't see FD-GLGAN clearly. Can you tell me which of the algorithms in the repository should be used for FD-GLGAN?

Hello, because we just submitted it to TGRS, so we temporarily do not plan to upload the code of this work. We will update that as soon as we have a positive review.

Got it, thanks for the answer


Samplestack extensions not compatible with MarkLogic 9 JavaScript

Hi Charles—
I’m playing around with the Optic EA3 stuff (instructions at https://ea.marklogic.com/features/data-integration/optic-api/) and I’m trying to use the UI. The port is open, no errors in the log, but the server is throwing this error:
2016-09-27 11:42:34.839 Info: Status 500: JS-JAVASCRIPT: var sourceDoc = fn.doc(uri).next().value; -- Error running JavaScript request: TypeError: fn.doc(...).next is not a function
The UI is giving me this exception:
{"data":{"status":400,"message":"com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: JS-JAVASCRIPT: var sourceDoc = fn.doc(uri).next().value; -- Error running JavaScript request: TypeError: fn.doc(...).next is not a function"},"status":400,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null,null],"url":"/v1/search","data":{"search":{"qtext":["","sort:active"],"start":1,"timezone":"America/New_York"}},"timeout":60000,"headers":{"Accept":"application/json, text/plain, /","Content-Type":"application/json;charset=utf-8"}},"statusText":"Bad Request”}
$scope.runSearch/<@http://localhost:8090/app/states/explore.js:300:21
processQueue@http://localhost:8090/deps/angular/angular.js:13170:27
scheduleProcessQueue/<@http://localhost:8090/deps/angular/angular.js:13186:27
$RootScopeProvider/this.$get

This would appear to be a compatibility issue that arose when we changed the iterable api in ML. I believe the solution would be to fix the JS transform in the server.

https://github.com/marklogic/marklogic-samplestack/blob/master/database/transforms/search-response.sjs#L98
var answersSource = sourceDoc.xpath(answerNodePath).next().value;

to something like
const pos = sourceDoc.xpath(answerNodePath);
const answersSource = pos.toArray ? pos.toArray()[0] : pos.next().value;

would probably do it, I think, but not tested.

fn.head(…) will work in MarkLogic ≥8.

Verified that this bug prevents the application from working, and also prevents loading of RDF data.  The database is other wise loaded correctly.

After making these changes in search-response.sjs following tests are giving assertions error at the time of deploying samplestack.
DatabaseQnADocumentSearchIT. guestSearchSeesOnlyResolvedQuestions
DatabaseQnADocumentSearchIT. testAcceptedSearch
DatabaseQnADocumentSearchIT. testActivitySearch
DatabaseQnADocumentSearchIT. testResponseExtracts
QnADocumentControllerIT. testAnonymousAccessToAccepted
TagControllerIT. testRelatedTags
TagControllerIT. testSortFrequency


Colab notebooks to parse dataset

Using pandas to parse PathwayCommons12.reactome.hgnc.sif.gz dataset on google colab

https://colab.research.google.com/drive/1jY7Y_M6hU84jPtDDO-gRuamTzTxuEK6A?usp=sharing

Created colab notebook to show the parsing of data from cBioPortal (ACC, data_clinical_patient.txt and data_mrna_seq_v2_rsem.txt)
https://colab.research.google.com/drive/16irWREQOMOOSuv-aBWLwUERZ8_gqWu8V?usp=sharing

@Favourj-bit Do you want me to review this? You can choose to merge this with or without review.


Add a icon

Embedding icon on windows seems a bit involved, but the crate winres seems to simplify it: https://crates.io/crates/winres
For macOS icons, one need to build an app bundle, for example using: https://crates.io/crates/cargo-bundle
I am not sure about how to add icons to a Linux package.

Thank you for the suggestion. I’ll try to find an appropriate icon for the application. For linux, it varies depending on how the app js deployed. I think an appimage is probably easiest and setting an icon for it should be straightforward.


Revert "test(bridge withdrawer): remove unit tests and add blackbox tests"

Reverts astriaorg/astria#1232
This PR broke main of bridge-withdrawer. Was not caught by tests due to faulty test setup which does not override bridge withdrawer correctly.

fixed break with fix instead of revert


incbin directive

Hello!
Thank you for your great assembler for eZ80.
If it's possible, please add support of including binaries directly from sources.

Hi Alexander!
That's a great idea; I'll put it on my to-do list for the next release.

Currently I did something like this: https://github.com/nihirash/Agon-MOS-Tools/tree/main/bin2asm
I did it using your assembler but I think native solution will work a bit better.

It's included now in the latest code, commit [8c6f78c]


Fix for Colombian phone numbers

For issue:
https://github.com/floere/phony/issues/500

@davemcginnzendesk Thanks so much for this PR! 🥳 I've re-added the old fallback rule to also handle outdated numbers (without failing). Released in 2.19.14 🚀


Automate creating user event

It would be handy if the user event was created automatically on installation of the package (and deleted on uninstallation).

Fixed!


Appstudio update test-component-pac-izba

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-izba-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
44 seconds
build-container

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
52 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
17 seconds
sbom-json-check

✅ Succeeded
8 seconds
optional-label-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
17 seconds
show-summary


Should typeof x === "object" refine x to { [k: string]: mixed } or Object?

I was toying around with the following code:
type JSON = | string | number | boolean | null | JSONObject | JSONArray;
type JSONObject = { [key:string]: JSON };
type JSONArray = Array<JSON>;

function typedJSON(x: mixed): JSON {
  if (typeof x === "object" && x !== null) {
    // Flow would accept `return x;` here, but that would be wrong :(
    let o: JSONObject = {};
    for (let k of Object.keys(x)) {
      o[k] = x[k]; // flow also accepts `x[k]` here, when `typedJSON(x[k])` is correct
    }
    return o;
  }

  if (Array.isArray(x)) {
    return x.map(typedJSON);
  }

  if (x === null ||
      typeof x === "string" ||
      typeof x === "number" ||
      typeof x === "boolean") {
    return x;
  }

  throw new Error("Invalid JSON");
}

Everything works fine, except the object branch. Since the refinement goes to Object, all the recursive coercing of properties to JSON are not necessary to type check. We could have simply returned x from that branch, but that code wouldn't be correct.
Is it worth being stricter here?

definitely think that the typeof check for objects should only assert that it's an object. since the whole thing was mixed to begin with, totally makes sense to me for the values to still be mixed too.

A note here is that typeof Object.create(null) === 'object' but it does not inherit from Object.prototype

Remember, strings are not the only type of keys.  Really JS objects accept any type, defined or not, inside [ ], but this should at least support Symbol in addition to string.


Cannot buid sketches for empty set

theta_sketch_union does not treat null as empty set. https://github.com/apache/datasketches-postgresql/issues/27
select theta_sketch_get_estimate(theta_sketch_union(theta_sketch_build(1), theta_sketch_build(2)));

select theta_sketch_get_estimate(theta_sketch_union(theta_sketch_build(1), null));

First query returns "2", but second one returns "NULL".
How can I build empty set sketches?

In datasketches-hive, null is treated as empty set.
https://github.com/apache/datasketches-hive/blob/master/src/main/java/org/apache/datasketches/hive/theta/UnionSketchUDF.java
In this case, theta_sketch_union(null, null) returns empty sketch, not null.

In datasketches-hive, null is treated as empty set.
https://github.com/apache/datasketches-hive/blob/master/src/main/java/org/apache/datasketches/hive/theta/UnionSketchUDF.java
In this case, theta_sketch_union(null, null) returns empty sketch, not null.

This is because theta_sketch_union function is declared "strict" in datasketches_theta_sketch.sql
I will fix this.

This is because theta_sketch_union function is declared "strict" in datasketches_theta_sketch.sql
I will fix this.

FYI. To build empty sketch, theta_sketch_a_not_b(theta_sketch_build(1), theta_sketch_build(1)) works.
@AlexanderSaydakov Could you add simpler solution? For example theta_sketch_build() without any argument returns empty sketches. (Or you can introduce other function.)
It can be helpful. In SQL, we can easily manipulate as coallesce(sketches_may_be_null, theta_sketch_build()).

FYI. To build empty sketch, theta_sketch_a_not_b(theta_sketch_build(1), theta_sketch_build(1)) works.
@AlexanderSaydakov Could you add simpler solution? For example theta_sketch_build() without any argument returns empty sketches. (Or you can introduce other function.)
It can be helpful. In SQL, we can easily manipulate as coallesce(sketches_may_be_null, theta_sketch_build()).

Why would you need an empty sketch having this fix?

Why would you need an empty sketch having this fix?


Streamline Setup And Render Process

Added some options to the setup process to accommodate people who do not use Google Drive for their blend file while not affecting those who do
Added some options to the Render Process to make it easier to render all frames, one specific frame, or frame in between a range.
This is my first time using github so please forgive any mistakes.

This is my first time using github so this is quite confusing to me.

Looks good to me! Before I merge could you reduce the noise in changes lines?
How do I do this?

I will try to handle it then.

Removed the drive init from setup and made execution_count = null

Cool!
Can I now close the pull request?

I believe I fixed up everything. Would you mind checking my changes and report back ? I could merge your proposals if you are okay with it?

Cool!
Can I now close the pull request?
What do I do with the fork?

Once I merged this Pull Request you could delete the fork. Did you check my changes to your Pull Request if they are working and working as you intended?

Yeah I checked. Looks fine.

Thanks!


Kafka 4507: The client should send older versions of requests to the broker if necessary

KAFKA-4507
The client should send older versions of requests to the broker if necessary.
Note: This builds on top of KAFKA-3600, which has not yet been committed yet.

Previously, there were many places in the code that were creating AbstractRequest objects directly and passing them to the NetworkClient. Unfortunately, AbstractRequest objects are version-specific.  For example, a ListOffsetRequest object of version 0 will have different fields inside its Struct than a ListOffsetRequest object of version 1.  As soon as the message constructor is invoked, the contained Structs are formatted in the version-specific format.
This change adds the AbstractRequest#Builder types.  Client code in the Fetcher and Producer, and other places, can create these objects and pass them to the NetworkClient.  The NetworkClient can then decide what version of each request  to use based on the ApiVersionsRequest data.  When the version that needs to be used is too old to support a necessary feature, an error is returned to the     upper layer, which can then decide what to do.

@cmccabe, can you please rebase this branch? Thanks!

Rebased on trunk and fixed some unit tests

Rebased

Also removed a few places where this change duplicated KAFKA-4548, and reverted a change to the test log4j.properties file

Fix AuthorizerIntegrationTest, FetchRequestTest, SaslApiVersionsRequestTest, PlaintextConsumerTest.
Fixed a bug where Fetcher#beginningOffsets and Fetcher#endOffsets incorrectly required a broker with the new ListOffsetsRequest RPC.  Will add this to CompatibilityTest.

Good point about KIP-74 compatibility handling.  it sounds like we will have to reproduce the pre-KIP-74 behavior of "getting stuck" when messages are too big rather than the new behavior of returning at least one message.  I'll add back in that code shortly and work on a compatibility test for it.  The other comments should be addressed now in the latest patch.

I posted an update with a lot of fixes.  I still need to address:

Brokers should not send ApiVersionsRequest
Implement pre-KIP-74 message-too-big behavior
More centralized handling of versionMismatch exception
some other stuff

@ijuma I think your builder suggestion seems worth investigating.. If we continue with the model of delayed version determination, I was considering whether we could decouple the Struct representation from the request objects. Haven't really thought this through, but I was thinking something like this:
public abstract class AbstractRequest {
  abstract Struct toStruct(short version);
}

That way the request objects remain immutable. I think you also had a suggestion which allowed us to construct the right version up-front.

Brokers no longer send ApiVersionsRequest, to allow inter-broker communication with versions before 0.10
Addressed some style comments

@hachikuji, @ijuma : unfortunately github doesn't let me post comments on the thread you have going about refactoring AbstractRequest.  So I'll comment here.
There are really two questions here:

Should the AbstractRequest objects represent serialized data or unserialized data?
Can we know the version of the request that we need before we send it to NetworkClient

For #1, currently, AbstractRequest objects represent serialized data, so they inherently have a version and a binary format.  A lot of the methods in AbstractRequest focus on serialization.. for example, AbstractRequest#getRequest deserializes, AbstractRequestResponse#sizeOf gets the size of the serialized data, etc.  You have to change the whole class hierarchy to modify this assumption.  Probably if you do that you would want to use a different name, such as Message, to represent the fact that the new class hierarchy you are creating has nothing to do with serialized data.  This might be worth doing.  It would be a very big change.
For #2, there are methods in NetworkClient such as leastLoadedNode that send the request to a node of the NetworkClient's own choosing.  This doesn't really work unless the NetworkClient is in charge of picking a version.  There also seems to be a bit of a layering violation here if the users of NC need to start concerning themselves with questions like has the peer they're talking to restarted or dropped its TCP session since we last learned about its version?
#1 might make sense as part of a general refactor of the RPC class hierarchies.  Getting rid of the Request class altogether might be a good idea since it invites confusion with ClientRequest.  I'm not sure I see a big win from #2 or a way to do it (but perhaps I am missing something).

I submitted a PR with some clean-ups: https://github.com/cmccabe/kafka/pull/1

@ijuma: Thanks for the cleanup pull request.  Looks good... I merged it into this branch.

There are a number of failures in the system tests run. I started another one to double-check that it's not an environmental issue. In the meantime, I submitted another PR with clean-ups:
https://github.com/cmccabe/kafka/pull/2
I think we can merge after that and do additional work in follow-up PRs.


Add Dockerfile for building with Python 3.12

Instead of setting up Python 3.12 on the machine itself, this allows users to use Docker to generate the relevant Linux binaries.
Example output:
$ sudo docker run --rm -v $(pwd):/usr/src/app logosinstaller
Collecting pyinstaller
  Downloading pyinstaller-6.10.0-py3-none-manylinux2014_x86_64.whl.metadata (8.3 kB)
Collecting altgraph==0.17.4 (from -r requirements.txt (line 1))
  Downloading altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting certifi==2023.11.17 (from -r requirements.txt (line 2))
  Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
Collecting charset-normalizer==3.3.2 (from -r requirements.txt (line 3))
  Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting distro==1.9.0 (from -r requirements.txt (line 4))
  Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
Collecting idna==3.6 (from -r requirements.txt (line 5))
  Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting packaging==23.2 (from -r requirements.txt (line 6))
  Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting psutil==5.9.7 (from -r requirements.txt (line 7))
  Downloading psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting pythondialog==3.5.3 (from -r requirements.txt (line 8))
  Downloading pythondialog-3.5.3-py3-none-any.whl.metadata (12 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 9))
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting urllib3==2.1.0 (from -r requirements.txt (line 10))
  Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting setuptools>=42.0.0 (from pyinstaller)
  Downloading setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pyinstaller-hooks-contrib>=2024.8 (from pyinstaller)
  Downloading pyinstaller_hooks_contrib-2024.8-py3-none-any.whl.metadata (16 kB)
Downloading altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
Downloading distro-1.9.0-py3-none-any.whl (20 kB)
Downloading idna-3.6-py3-none-any.whl (61 kB)
Downloading packaging-23.2-py3-none-any.whl (53 kB)
Downloading psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285 kB)
Downloading pythondialog-3.5.3-py3-none-any.whl (54 kB)
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
Downloading pyinstaller-6.10.0-py3-none-manylinux2014_x86_64.whl (703 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 703.3/703.3 kB 7.9 MB/s eta 0:00:00
Downloading pyinstaller_hooks_contrib-2024.8-py3-none-any.whl (322 kB)
Downloading setuptools-75.1.0-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 9.3 MB/s eta 0:00:00
Installing collected packages: altgraph, urllib3, setuptools, pythondialog, psutil, packaging, idna, distro, charset-normalizer, certifi, requests, pyinstaller-hooks-contrib, pyinstaller
Successfully installed altgraph-0.17.4 certifi-2023.11.17 charset-normalizer-3.3.2 distro-1.9.0 idna-3.6 packaging-23.2 psutil-5.9.7 pyinstaller-6.10.0 pyinstaller-hooks-contrib-2024.8 pythondialog-3.5.3 requests-2.31.0 setuptools-75.1.0 urllib3-2.1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
90 INFO: PyInstaller: 6.10.0, contrib hooks: 2024.8
91 INFO: Python: 3.12.6
93 INFO: Platform: Linux-6.1.0-25-amd64-x86_64-with-glibc2.31
93 INFO: Python environment: /root/.pyenv/versions/3.12.6
95 INFO: Module search paths (PYTHONPATH):
['/root/.pyenv/versions/3.12.6/lib/python312.zip',
 '/root/.pyenv/versions/3.12.6/lib/python3.12',
 '/root/.pyenv/versions/3.12.6/lib/python3.12/lib-dynload',
 '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages',
 '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/setuptools/_vendor',
 '/usr/src/app']
218 INFO: Appending 'datas' from .spec
218 INFO: checking Analysis
240 INFO: Building because /root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py changed
240 INFO: Running Analysis Analysis-00.toc
240 INFO: Target bytecode optimization level: 0
241 INFO: Initializing module dependency graph...
242 INFO: Caching module graph hooks...
262 INFO: Analyzing base_library.zip ...
1449 INFO: Processing standard module hook 'hook-encodings.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
2193 INFO: Processing standard module hook 'hook-heapq.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
3526 INFO: Processing standard module hook 'hook-pickle.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
5542 INFO: Caching module dependency graph...
5654 INFO: Looking for Python shared library...
5664 INFO: Using Python shared library: /root/.pyenv/versions/3.12.6/lib/libpython3.12.so.1.0
5664 INFO: Analyzing /usr/src/app/main.py
6199 INFO: Processing standard module hook 'hook-_tkinter.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
6400 INFO: Processing standard module hook 'hook-psutil.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'
6583 INFO: Processing standard module hook 'hook-platform.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
6720 INFO: Processing pre-safe-import-module hook 'hook-packaging.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
6721 INFO: SetuptoolsInfo: initializing cached setuptools info...
12228 INFO: Processing standard module hook 'hook-packaging.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
12859 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
13101 INFO: Processing standard module hook 'hook-charset_normalizer.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'
13595 INFO: Processing standard module hook 'hook-certifi.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'
13831 INFO: Processing standard module hook 'hook-xml.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
13865 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dialog.py:3648: SyntaxWarning: invalid escape sequence '\s'
  """Display a treeview box.
14390 INFO: Processing module hooks (post-graph stage)...
14552 INFO: Processing standard module hook 'hook-pkg_resources.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
15012 INFO: Processing standard module hook 'hook-sysconfig.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
15049 INFO: Processing pre-safe-import-module hook 'hook-jaraco.text.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15049 INFO: Setuptools: 'jaraco.text' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.text'!
15058 INFO: Processing standard module hook 'hook-setuptools.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
15075 INFO: Processing pre-safe-import-module hook 'hook-distutils.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15109 INFO: Processing pre-safe-import-module hook 'hook-jaraco.functools.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15109 INFO: Setuptools: 'jaraco.functools' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.functools'!
15174 INFO: Processing pre-safe-import-module hook 'hook-more_itertools.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15175 INFO: Setuptools: 'more_itertools' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.more_itertools'!
15534 INFO: Processing pre-safe-import-module hook 'hook-importlib_metadata.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15534 INFO: Setuptools: 'importlib_metadata' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.importlib_metadata'!
15578 INFO: Processing pre-safe-import-module hook 'hook-zipp.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15578 INFO: Setuptools: 'zipp' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.zipp'!
15626 INFO: Processing pre-safe-import-module hook 'hook-importlib_resources.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
15627 INFO: Setuptools: 'importlib_resources' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.importlib_resources'!
16039 INFO: Processing pre-safe-import-module hook 'hook-tomli.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
16039 INFO: Setuptools: 'tomli' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.tomli'!
16758 INFO: Processing pre-safe-import-module hook 'hook-wheel.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
16758 INFO: Setuptools: 'wheel' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.wheel'!
17029 INFO: Processing pre-safe-import-module hook 'hook-jaraco.context.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
17029 INFO: Setuptools: 'jaraco.context' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.context'!
17040 INFO: Processing pre-safe-import-module hook 'hook-backports.tarfile.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
17041 INFO: Setuptools: 'backports.tarfile' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.backports.tarfile'!
17175 INFO: Processing standard module hook 'hook-backports.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'
17176 INFO: Processing pre-safe-import-module hook 'hook-platformdirs.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
17177 INFO: Setuptools: 'platformdirs' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.platformdirs'!
17282 INFO: Processing standard module hook 'hook-_tkinter.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
17282 INFO: TclTkInfo: initializing cached Tcl/Tk info...
17348 WARNING: TclTkInfo: Tcl module directory '/usr/share/tcltk/tcl8' does not exist!
18002 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks'
18629 INFO: Processing pre-safe-import-module hook 'hook-autocommand.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
18629 INFO: Setuptools: 'autocommand' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.autocommand'!
19357 INFO: Processing pre-safe-import-module hook 'hook-typeguard.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'
19358 INFO: Setuptools: 'typeguard' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.typeguard'!
19895 INFO: Performing binary vs. data reclassification (429 entries)
19912 INFO: Looking for ctypes DLLs
20005 INFO: Analyzing run-time hooks ...
20010 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20012 INFO: Including run-time hook 'pyi_rth_pkgres.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20018 INFO: Including run-time hook 'pyi_rth_setuptools.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20020 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20022 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20024 INFO: Including run-time hook 'pyi_rth__tkinter.py' from '/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'
20055 INFO: Looking for dynamic libraries
20608 INFO: Warnings written to /usr/src/app/build/LogosLinuxInstaller/warn-LogosLinuxInstaller.txt
20672 INFO: Graph cross-reference written to /usr/src/app/build/LogosLinuxInstaller/xref-LogosLinuxInstaller.html
20706 INFO: checking PYZ
20712 INFO: Building because /root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/_distutils_hack/__init__.py changed
20712 INFO: Building PYZ (ZlibArchive) /usr/src/app/build/LogosLinuxInstaller/PYZ-00.pyz
21401 INFO: Building PYZ (ZlibArchive) /usr/src/app/build/LogosLinuxInstaller/PYZ-00.pyz completed successfully.
21439 INFO: checking PKG
21444 INFO: Building because toc changed
21444 INFO: Building PKG (CArchive) LogosLinuxInstaller.pkg
36563 INFO: Building PKG (CArchive) LogosLinuxInstaller.pkg completed successfully.
36588 INFO: Bootloader /root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run
36589 INFO: checking EXE
36598 INFO: Building because toc changed
36598 INFO: Building EXE from EXE-00.toc
36609 INFO: Copying bootloader EXE to /usr/src/app/dist/LogosLinuxInstaller
36610 INFO: Appending PKG archive to custom ELF section in EXE
36749 INFO: Building EXE from EXE-00.toc completed successfully.

What has not been assumed has not been healed
– St. Gregory of Nazianzus

I've tested this, and the only comment I have is that you add to the README something that explains that the resulting LogosLinuxInstaller binary will be found at ./dist/LogosLinuxInstaller.

@n8marti I have added the note regarding the output directory of the Docker binary.


Repeated ESP-NOW transmissions failure (IDFGH-5788)

Environment

Development Kit: ESP32-DevKitC
Kit version (for WroverKit/PicoKit/DevKitC): v4
Module or chip used: ESP32-WROOM-32
IDF version (run git describe --tags to find it): v4.3-356-g48ae2309fd
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it): 8.4.0
Operating System: macOS
(Windows only) environment type: -
Using an IDE?: No
Power Supply: USB

Problem Description
When transmitting repeatedly ESP-NOW packets, the send callback is not called after 1 or 2 transmissions (ESP32-WROOM-32).
Expected Behavior

When the periodic timer goes off, if the previous frame has been sent, esp_now_send is called and returns success
The ESP-NOW packet is sent
The ESP-NOW send callback is called

Actual Behavior
The ESP-NOW send callback is not called after 1 or 2 transmissions.
Steps to reproduce

Connect to an access point
Start a periodic timer with a 50-millisecond period
In the timer callback, if the previous frame has been transmitted, send another frame
Count the send and send callback calls

Code to reproduce this issue
https://gist.github.com/ynormend/12204530fc7c5c5325212ed6e27d4701
Debug Logs
I (28) boot: ESP-IDF v4.3-356-g48ae2309fd-dirty 2nd stage bootloader
I (29) boot: compile time 16:43:35
I (29) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed      : 40MHz
I (45) boot.esp32: SPI Mode       : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=13868h ( 79976) map
I (141) esp_image: segment 1: paddr=00023890 vaddr=3ffb0000 size=0414ch ( 16716) load
I (148) esp_image: segment 2: paddr=000279e4 vaddr=40080000 size=08634h ( 34356) load
I (163) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=6c328h (443176) map
I (323) esp_image: segment 4: paddr=0009c350 vaddr=40088634 size=0c4f4h ( 50420) load
I (344) esp_image: segment 5: paddr=000a884c vaddr=50000000 size=00010h (    16) load
I (355) boot: Loaded app from partition at offset 0x10000
I (355) boot: Disabling RNG early entropy source...
I (366) cpu_start: Pro cpu up.
I (366) cpu_start: Starting app cpu, entry point is 0x40081220
0x40081220: call_start_cpu1 at /Users/yoan/esp/esp-idf/components/esp_system/port/cpu_start.c:141

I (0) cpu_start: App cpu up.
I (381) cpu_start: Pro cpu start user code
I (381) cpu_start: cpu freq: 160000000
I (381) cpu_start: Application information:
I (385) cpu_start: Project name:     nami-esp-csi
I (391) cpu_start: App version:      2780407-dirty
I (396) cpu_start: Compile time:     Aug 31 2021 16:43:30
I (402) cpu_start: ELF file SHA256:  db0fcb032c994f7a...
I (408) cpu_start: ESP-IDF:          v4.3-356-g48ae2309fd-dirty
I (415) heap_init: Initializing. RAM available for dynamic allocation:
I (422) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (428) heap_init: At 3FFB7EE0 len 00028120 (160 KiB): DRAM
I (434) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (441) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (447) heap_init: At 40094B28 len 0000B4D8 (45 KiB): IRAM
I (454) spi_flash: detected chip: generic
I (458) spi_flash: flash io: dio
I (463) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (539) wifi:wifi driver task: 3ffc1960, prio:23, stack:6656, core=0
I (539) system_api: Base MAC address is not set
I (539) system_api: read default base MAC address from EFUSE
I (549) wifi:wifi firmware version: 42b8729
I (549) wifi:wifi certification version: v7.0
I (559) wifi:config NVS flash: enabled
I (559) wifi:config nano formating: disabled
I (559) wifi:Init data frame dynamic rx buffer num: 32
I (559) wifi:Init management frame dynamic rx buffer num: 32
I (569) wifi:Init management short buffer num: 32
I (569) wifi:Init dynamic tx buffer num: 32
I (579) wifi:Init static rx buffer size: 2212
I (579) wifi:Init static rx buffer num: 10
I (589) wifi:Init dynamic rx buffer num: 32
I (589) wifi_init: tcpip mbox: 32
I (589) wifi_init: udp mbox: 6
I (599) wifi_init: tcp mbox: 6
I (599) wifi_init: tcp tx win: 5744
I (609) wifi_init: tcp rx win: 5744
I (609) wifi_init: tcp mss: 1440
I (609) wifi_init: WiFi IRAM OP enabled
I (619) wifi_init: WiFi RX IRAM OP enabled
I (619) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (729) wifi:mode : sta (24:0a:c4:f5:4b:f8)
I (729) wifi:enable tsf
I (729) main: wifi started
I (739) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (739) wifi:state: init -> auth (b0)
I (749) wifi:state: auth -> assoc (0)
I (749) wifi:state: assoc -> run (10)
I (759) wifi:connected with nami, aid = 4, channel 11, BW20, bssid = f4:92:bf:84:23:54
I (759) wifi:security: WPA2-PSK, phy: bgn, rssi: -64
I (759) wifi:pm start, type: 1

I (769) main: Connected to nami (bssid: f4:92:bf:84:23:54, channel: 11)
I (769) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (779) main: got ip: <IP_ADDRESS>
I (779) ESPNOW: espnow [version: 1.0] init
I (839) wifi:AP's beacon interval = 102400 us, DTIM period = 3
I (1789) main: send = 2, sent = 1, missed = 17
I (2789) main: send = 2, sent = 1, missed = 37
I (3789) main: send = 2, sent = 1, missed = 57
I (4789) main: send = 2, sent = 1, missed = 77
I (5789) main: send = 2, sent = 1, missed = 97
I (6789) main: send = 2, sent = 1, missed = 117
I (7789) main: send = 2, sent = 1, missed = 137
I (8789) main: send = 2, sent = 1, missed = 157
...

After the second transmission, the send callback was never called.

hi @ynormend thanks for reporting this issue, we are debuging now.
BTW, you can just call esp_wifi_set_ps(0) to disable modem sleep in your application to workaround for this issue.

@ynormend Can you try latest v4.3 b137ae42592ef67a4f145c3d067dafca0d6bf612 with esp_wifi_set_ps(1).

Thanks for reporting, feel free to reopen.


Validated URL, and reported correct error

This is reference to #43.

@JasonEtco added validator package.

@JasonEtco made all the changes.

@knrt10 I've pushed some code, take a look. Its true that the error isn't being logged as part of Smee's logger, but by throwing an error we're ensuring that whatever process created the instance of the Client class knows about the error and will handle it appropriately.
I've also added a test so you can see how it should work.

@JasonEtco Thanks.

I'm seeing this issue when my probot app got deployed in k8's. I'm using rest client for making api call to Jira


MDF [conf] increase the default value of max packet size

* MDF [conf] increase the default value of max packet size

Codecov Report
Patch coverage: 11.11% and project coverage change: -0.07 :warning:

Comparison is base (2aaa84b) 53.24% compared to head (fcb6a6d) 53.17%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #557      +/-   ##
==========================================
- Coverage   53.24%   53.17%   -0.07%
==========================================
  Files         120      120
  Lines       36619    36590      -29
==========================================
- Hits        19498    19457      -41
- Misses      17121    17133      +12

Impacted Files
Coverage Δ

src/core/message.c
89.04% <ø> (ø)

src/sp/protocol/mqtt/auth_http.c
0.00% <ø> (ø)

src/supplemental/mqtt/mqtt_msg.c
46.97% <0.00%> (-0.48%)
:arrow_down:

src/supplemental/mqtt/mqtt_public.c
32.94% <0.00%> (-0.20%)
:arrow_down:

src/supplemental/nanolib/conf_ver2.c
0.00% <ø> (ø)

src/supplemental/nanolib/conf.c
8.16% <10.52%> (-0.02%)
:arrow_down:

src/supplemental/mqtt/mqtt_codec.c
44.80% <100.00%> (+0.02%)
:arrow_up:

... and 19 files with indirect coverage changes

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


Duplicate paths in HTML file

I have searched relative issues, but seems not match this problem, I suddenly find that html file might show duplicate file path.
When I disable extension, everything to be good. But in my memory, this problem have not happened before. I cannot find any vscode updated changelog may effect this, and not found any settings may disable path auto show to fix it.
Here is image below

Btw, another extention named Path Intellisense has no problem.
Any idea to solve this problem?

I did some research on this and vscode comes with a built in extension html-language-features which uses the vscode-html-languageservice package to provide the path completion in HTML files and HTML attributes (src would be one of them).
https://github.com/microsoft/vscode-html-languageservice/blob/master/src/services/pathCompletion.ts
Unfortunately I don't see any options to disable those path completions.
What you can do to avoid duplicates is use the "path-autocomplete.excludedItems" option.
// disable all suggestions in HTML files, when the current line contains the href or src attributes
"path-autocomplete.excludedItems": {
        "**": {
            "when": "**/*.html",
            "context": "(src|href)=.*"
        }
}

Please try it out and if it works close the issue.

Thanks a lot 👍, I'll try it  : )


Ensure there is no fallback for Buffer, util, or crypto.

Adds resolve.fallback. node stuff = false to ensure karma doesn't have polyfills for crypto or buffer.

Why is this needed? I don't think any node lib deps are used in the karma or build process?

it's just to replace the older statement that ensured there were no node polyfills. Technically as webpack 5 no longer auto includes node polyfills this shouldn't be needed, I just added it to be sure. Maybe I should close this?

feel free to ignore this PR if it speeds up the process @davidlehn

Rebased on main, but I think this can be closed.

Closing per @davidlehn's comment.


Cannot find the file createEquiFromSquareFiles

Hello, I cannot find the file createEquiFromSquareFiles you said in README
Whether I have misunderstanding?

great job!tks ,and so
http://www.paul-reed.co.uk/programming.html

Apologies, missed this. It's there now.


feat: input add hasIcon and textHelper props

Related issue
Closes #1104
Scope of work
hasIcon, heleperText and requiredMessage props added.
Stories changed accordingly.
requiredMessage props added to myaccount and checkout pages (it doesn't work on shippng details)

add required and helperText to SfSelect component

Checklist

[x] No commented blocks of code left
[ ] Run tests and docs
[x] Self code-reviewed

@AdamPawlinski good job. I think we should improve few thinks.

Resolve conflicts, maybe we can you can create a new branch from develop, IMO it's the easiest way to do it.
Ad. messages, we shoud have
:hintMessage="*Required", [String / Boolean] use for required but when it's false you shoud disable it for required fields.
:errorMessage="", String
:successMessage="", String
and kept in one line with priority
hintMessage: 0
successMessage & errorMessage: 1

you can do it something like that:

...

  <slot :name="computedMessageSlotName" v-bind="computedMessageSlotData">

{{computedMessage}}

  </slot>

Ad. icon inside input, mayby we can use show-password slot like that

<slot name="computedIconSlotName">
<SfButton v-if="isPassword">...</SfButton>
<SfIcon v-if="hasIcon" :icon="icon" :color="icon-color" :size="icon-size"/>
<slot>

computed: {
  computedIconSlotName() {
    return this.isPassword ? 'show-passowrd' :'icon'
  },
  hasIcon(){
   return !!this.icon
  }
}

Summary:
we should add these props to exist SfInput: hintMessage, successMessage, icon, icon-color, icon-size
and hintMessage, successMessage for SfSelect
what do you think @AdamPawlinski❓

Work continued on #1238