DFU supported for hci_uart sample ?

Hi guys,
Now I am research on the DFU function by uart. I use nrf52832 running hci_uart sample as controller to connect with the Host. All I want to do is to upgrade the firmware of nrf52832 by the host via uart. I learned some articles on the website, but it seems not to work with the hci_uart sample. Here is the conf I added into the config file of hci_uart sample.
CONFIG_MCUMGR_SMP_UART=y CONFIG_MCUMGR=y CONFIG_MCUMGR_CMD_IMG_MGMT=y CONFIG_BOOTLOADER_MCUBOOT=y
but error occurs during the compilation.

In file included from /home/icephyr/projects/ams/zephyrproject/zephyr/subsys/mgmt/buf.c:10:
/home/icephyr/projects/ams/zephyrproject/zephyr/include/mgmt/buf.h:11:10: fatal error: cbor_encoder_writer.h: No such file or directory
#include "cbor_encoder_writer.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
zephyr/subsys/mgmt/CMakeFiles/subsys__mgmt.dir/build.make:62: recipe for target 'zephyr/subsys/mgmt/CMakeFiles/subsys__mgmt.dir/buf.c.obj' failed
make[2]: *** [zephyr/subsys/mgmt/CMakeFiles/subsys__mgmt.dir/buf.c.obj] Error 1
CMakeFiles/Makefile2:1948: recipe for target 'zephyr/subsys/mgmt/CMakeFiles/subsys__mgmt.dir/all' failed
make[1]: *** [zephyr/subsys/mgmt/CMakeFiles/subsys__mgmt.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

So I wonder if the hci_uart sample can work with DFU by mcumgr, or any solutions to solve the compilation error.

You want to update the hci_uart sample with mcumgr? That is not going to work because mcumgr requires the Bluetooth Host, and this sample only enables the Controller. Here are the options that you have:

Use mcumgr on the main CPU, the one that you use to connect to the CPU running hci_uart
Use MCUboot's serial recovery mode. Enable that in the chip running hci_uart and then the main CPU can update the firmware using it.

Thanks @carlescufi , I will have a try.

@icephyr could this question be closed?

I think this is a problem with the SMP Server example code. When I try to build on master I get the same error:
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v1.14.0-116-g21609c25621b -DKERNEL -DNRF52832_XXAA -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/mattia/bitbucket/diamond/zephyr/kernel/include -I/home/mattia/bitbucket/diamond/zephyr/arch/arm/include -I/home/mattia/bitbucket/diamond/zephyr/include -I/home/mattia/bitbucket/diamond/zephyr/include/drivers -Izephyr/include/generated -I/home/mattia/bitbucket/diamond/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/mattia/bitbucket/diamond/zephyr/soc/arm/nordic_nrf/include -I/home/mattia/bitbucket/diamond/zephyr/lib/libc/minimal/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/crypto/tinycrypt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/fnmatch/. -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/cmsis/Include -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/nordic/nrfx -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/nordic/nrfx/hal -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/nordic/nrfx/mdk -I/home/mattia/bitbucket/diamond/zephyr/ext/hal/nordic/. -I/home/mattia/bitbucket/diamond/zephyr/subsys/bluetooth -I/home/mattia/bitbucket/diamond/zephyr/subsys/bluetooth/controller/ll_sw/nordic -I/home/mattia/bitbucket/diamond/zephyr/ext/fs/nffs/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/cborattr/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/cmd/fs_mgmt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/cmd/img_mgmt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/cmd/os_mgmt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/cmd/stat_mgmt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/mgmt/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/mgmt/port/zephyr/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/smp/include -I/home/mattia/bitbucket/diamond/zephyr/ext/lib/mgmt/mcumgr/util/include -isystem /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include -isystem /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include-fixed -Os -nostdinc -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/mattia/bitbucket/diamond/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -fno-common -mthumb -mcpu=cortex-m4 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -Wpointer-arith -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c ../src/main.c
In file included from ../src/main.c:12:
/home/mattia/bitbucket/diamond/zephyr/include/mgmt/buf.h:11:10: fatal error: cbor_encoder_writer.h: No such file or directory
 #include "cbor_encoder_writer.h"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

It seems tinycbor was moved out of zephyr repo and into https://github.com/zephyrproject-rtos/tinycbor. How are you compiling exactly?

@icephyr could this question be closed?

Sorry for replying so late, yes , the issue can be closed, thanks a lot for your suggestion.

It seems tinycbor was moved out of zephyr repo and into https://github.com/zephyrproject-rtos/tinycbor. How are you compiling exactly? And what branch are you on of zephyr? For me it compiles on latest master but it does not on v1.14-branch.

so you compile successfully on the latest master ? I use the master branch, but failed.


[FEATURE] Nested/multi level progress

This is a handy feature in tqdm and it works well for a row based table UX like progress-table has. I'd like to use it to show both the overall progress of the table (since the user doesn't know how many rows are to come) as well as the progress for the current row.

This feature was added in version 1.1.0.
First progress bar can be either "embedded" or "non-embedded", depending on your settings. All the nested progress bars will be standard. Moreover, "non-embedded" progress bar is not obscuring the latest row anymore, they are printed "below" the table.


indent filter uses \n always rather than following api newline_sequence

Environment:

Python version: 3.8.10
Jinja version: 3.1.4

Ok...instructions on creating bug not great IMO...sorry about that
indent filter uses \n always rather than following api newline_sequence
To replicate, configure api environment with newline_sequence="\r\n"
Call a multi-line macro
The returned output is using \n (rather than the expected \r\n as set in environment)
https://github.com/pallets/jinja/blob/main/src/jinja2/filters.py#L835

@jmbraben are you able to test #2031 with your use case?

I'm out of office, but I'll try when I get back...if you don't hear from me, please ping me in a couple weeks

@mjeromin Sorry for the delay in replying, yes the #2031 changes you made address the problem I was seeing.


Setup Linux Readme seems to be outdated

The project UaMqttConsole/UaMqttConsole.csproj mentioned in https://github.com/OPCFoundation/UA-IIoT-StarterKit/blob/master/docs/setup/linux/README.md does not exist (anymore?).

I also just ran into this. MQTT Spy is very outdated, as well. The whole tutorial could do with a refresh.

What free alternatives are there for MQTT spy?


Error installing per instructions in readme

brew install datanymizer/tap/pg_datanymizer
Error: pg_datanymizer: wrong number of arguments (given 1, expected 0)

brew -v
Homebrew 3.5.3
Homebrew/homebrew-core (git revision 0ce29cf4914; last commit 2022-06-30)
Homebrew/homebrew-cask (git revision f943fd1285; last commit 2022-06-30)

The line bottle :unneeded is causing the error. After removing this the formula runs correctly.


Remove undefined fields after an object is created

If the builder didn't define those fields then we should not include them in the created object

Closed by https://github.com/Avocarrot/openrtb/pull/16


Message level processing

This feature will enable users to add their transformation logic at message level before dumping it into Amazon S3.
https://github.com/pinterest/secor/issues/119

Any update on merging this request?
Regards,
Ashish

There are conflicts that need to be resolved before merging. Also, please squash the commits.

Thanks Pawel for mentioning these points. I'll update the code base for the same.

Hi Pawel, Code modified as suggested and verified.

@ashubhumca next time you make changes, would you mind squashing the commits?

I'm facing some issue while squashing the commits. So, I'm closing this pull request and will raise new one from latest forked repo.


GitHub: use bitcoind v26.0 for CI

Change Description
See if things break in the CI if we update to bitcoind v26.0.

Okay, so the failed unit tests were due to a number of reasons:

bitcoind v26.0 doesn't have support for Unix Sockets (ipc://) in ZMQ anymore. Broken by https://github.com/bitcoin/bitcoin/pull/22087, will be fixed by https://github.com/bitcoin/bitcoin/pull/27679
We had frequent TCP listening port collisions, at least when running the tests locally
We didn't clean up temporary directories for bitcoind sometimes

I added a couple of commits to address these issues.

Unit tests still failing. One of the itest failures has uncleaned shutdown that still occupying a port, werid
 unable to create server: listen tcp <IP_ADDRESS>:6563: bind: address already in use

Yeah, it seems like I have to do some more digging into failures.

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

@Roasbeef can you see the logs of the failed Travis build?
I only get this error message (not sure if we need to re-auth the app somehow?):

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

@guggero, remember to re-request review from reviewers when ready

Yeah, new failures keep popping up that I cannot easily reproduce locally. Or only with spending a lot of time on it, which I haven't found yet. Not sure if this is a priority, @saubyk?

Yeah, new failures keep popping up that I cannot easily reproduce locally. Or only with spending a lot of time on it, which I haven't found yet. Not sure if this is a priority, @saubyk?

I am not aware of any critical dependency on bitcoind v26.0 for our imminent releases, so we can keep this at a lower priority

@bitromortac: review reminder
@ellemouton: review reminder
@crypt-iq: review reminder
@guggero, remember to re-request review from reviewers when ready

Our CI is using bitcoind v23.0, and I think it's very important to test lnd against a newer version of bitcoind, there are new RPCs used but never checked in our CI, also the upcoming sweeper will also need a newer version of bitcoind.
Can take over if needed @guggero

@yyforyongyu feel free to take over! I'm sure the failures are something small, just hard to find with some rounds of debugging required.

cc: @ProofOfKeags for taking this over

So here's what I've found out. The success/failure of the FilteredChainView tests is highly sensitive to whether other unit tests are running as well. This makes me think that our unit test suite somehow doesn't isolate the instances of the bitcoin node it is talking to.

If I run just the FilteredChainView tests, it always succeeds.
If I run the tests naively (allowing test caching), it usually succeeds in the limit case. Since only passing tests cache, I suspect that repeatedly running it stabilizes the test because fewer and fewer tests are competing for the same resource each run, reducing the race-y behavior
If I run the tests with nocache=1 it always fails.
Extending the timeout on the FilteredChainView tests does not seem to have an impact. I increased it from 20s to 30s since the test seems to reliably run in 20s. A 50% boost should be enough if it was truly a time budget issue.

Taking into consideration that this broke by upgrading from Core 23 to Core 26 is more perplexing. I'd expect race-y behavior to not depend on that.

Thank you @ProofOfKeags for investigating! Your insights have given me another idea what the problem might be.
The fact that running things in parallel causes the test to fail make me think the "per process unique port" generation mechanism doesn't work as expected. So I changed it to be unique per system, using a single file. Let's see how far that gets us...

Okay, I think I have a version that should work. Wish me luck!

Okay, I fixed a couple of more issues:

Postgres: Needed to increase the number of allowed connections. Now the "connection not found" should be gone.
Travis: They seem to filter on the branch name and refuse to build because the word "bitcoin" appears in it. They suck anyway and GitHub now has a macOS build on M1 that we can use for our ARM (arm64) builds. So I replaced the Travis build with an additional GitHub run (let's see how that one fares).
The sporadic failures in the routing/chainview tests were caused by not waiting for the backend node to fully start up. There seems to be an issue with the chain.BitcoindClient that it can get weirdly de-synchronized if Start() and NotifyBlocks() are called while the node is syncing with the chain still (if things are very slow and blocks come in between Start() and NotifyBlocks(), weird things start to happen). Waiting one second before using a chain backend solved that issue for now.

Things look way better now IMO. There still are a couple of flakes, but I think those were all pre-existing.

Okay, this is as green as it will probably ever get. There are still a couple of (pre-existing!) flakes in there. But I vote to get this merged since they very likely don't have anything to do with bitcoind.

btw can we update our merge rules to exclude the build from macOS?

btw can we update our merge rules to exclude the build from macOS?

It's currently not included in the list of required tests. So merges shouldn't be blocked on it (same for Windows).

FWIW https://github.com/bitcoin/bitcoin/pull/27679 is updated, has two ACKs and a review from an LND dev would be helpful to get a merge ;-)


feat: 🎸 add backfill tasks, and button to launch backfill

See it in action. Here we see than a repo that does not exists shows an error (we could improve it), and then when the repo is created (but empty), the cache entries are created. Note that currently, the setup is a bit weird:

the local hub does not send webhooks to the local datasets-server
but: as the local hub has tried to get the list of first rows from the datasets-server, it has triggered an update of the dataset (see how service/api works when a cache entry is missing)
thus: some cache entries have been created
BUT: it was done using the "job runner" logic, where every step creates the following steps after the job has been finished. This logic has some flaws, which is why the backfill plan shows some missing tasks: some other jobs should have been created

https://user-images.githubusercontent.com/1676121/233086733-133866c0-bcaf-4f62-903b-9bb7a5c29f40.mov
Here we show that, once we add files to the empty repository, the backfill plan is to refresh a lot of cache entries. We execute the backfill, and then the dataset viewer works.
https://user-images.githubusercontent.com/1676121/233087075-d8aeeb11-817f-4bae-b412-ea792e32796a.mov

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


DOC: Is there a way to conditionally create/update a Pandas DataFrame agent?

Issue with current documentation:
Is there a way to conditionally create a Pandas agent using create_pandas_dataframe_agent or update the DataFrame the agent has access to?
Say I have an agent that has access to tools like so:
@tool()
def f(query: str) -> pd.DataFrame:
    ...

agent = initialize_agent(
    tools=[f, PythonREPLTool()],
    llm,
    agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
    verbose=True,
    handle_parsing_errors=True,
)

Since create_pandas_dataframe_agent takes the df argument, I can't create this agent unless/until the tool f is called, producing the DataFrame. But without the specialized Pandas agent, the regular agent seems to be producing bad/bogus Python, trying to filter the DataFrame (either with syntax errors or just doing the wrong thing). Is there a way to either 1) callcreate_pandas_dataframe_agent ahead of time and then later update the contents of the df after the function call or 2) create a Pandas agent on-the-fly inside f to answer the question (I haven't found a way to pass the current Thought content to the nested agent in this case)?
Idea or request for content:
It would be helpful to see how to work with Pandas data when reading dynamically created DataFrames coming from functions that agents may or may not call.

Hi, thanks for the attempt but this is not quite applicable. In the scenario that I described, the agent will be calling the function (get_dataframe(...)) with input based on the conversation, so it is not possible to preemptively call create_pandas_dataframe_agent.


LUCENE-10119: Do not set singleSort with search after

We should not set singleSort when the search_after is non-null; otherwise, we will incorrectly skip documents whose values are equal to the value from the search_after and docIDs are greater than the docID from the search_after.

Thanks Mayya!


Steps for installing Bazelisk are not new-developer friendly

The current instructions for installing Bazelisk are not user-friendly.
Generally, the widely expected ways to get a tool on the following platforms are:

Windows: Download an .exe installer that guides users through installation.
macOS: Download .deb or .pkg that guides users through installation.
Linux: apt get install bazelisk or similar through a preferred package manager.

Today, the instructions are:

Windows: choco install bazelisk
macOS: brew install bazelisk
Linux: There's essentially a decision tree here.

Often, when I direct people to install Bazel via https://bazel.build/install, they end up directly using a release of Bazel rather than Bazelisk. I know the reason I've done this in the past is because of the lack of clarity in the installation process for Bazelisk.

On macOS, I don't use brew (I've had it corrupt frequently for various reasons, so I now avoid it entirely).
On Windows, I've never once used or installed choco despite doing a decent amount of development on Windows.
On Linux, I know how to take a binary and add it to PATH, but I know for a fact that someone just getting started with development would stumble over that.

Generally speaking, the recommended flows for installing Bazelisk are atypical at best, and frustrating at worst. Bazelisk should strive to make the installation experience as frictionless as possible to ensure Bazel is approachable for new developers.

As a step in the right direction, I think attaching Debian binary packages to the https://github.com/bazelbuild/bazelisk/releases page would be a nice start.  I opened a PR for that at https://github.com/bazelbuild/bazelisk/pull/563.

I totally agree. Trying to use this for the very first time I find the instructions lacking.
There is no way I'm gonna install choco when I can just run the stand-alone release installer or use winget.
At the end of the day, I still fail to see why this is needed. Long text there, but not very to the point. What is the problem Bazel, that this is trying to solve? (A use case scenario would have been enlightening.)
Then also for building, you are not saying anything on the requirements of having WiX and the unknown Make-MSI package, used in here:

https://github.com/bazelbuild/bazel/blob/master/scripts/packages/msi/make_msi.ps1

Absolutely. I've gotten interest in a program called QuarkGL, which I have been trying to compile Bazelisk for

+1. I actually stumbled onto this thread, because I wasn't sure this was "the right way", surely I was missing something? Nope.


Fix semantic issues in manifests/p/PsiphonInc/Psiphon per repology

Related to microsoft/winget-pkgs#113794

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installer Verification Analysis Context Information:
Specified hash doesn't match.
Actual hash:   3D2EFBB6AE27B007340156E778F09AE31A41E4EC65DA6FF18E1A2280641A4C11
Expected hash: d9811ce8b791596c596fd12c02d2c7785eadcdffdf2a6936456c5ebec6b811c8

3/15/2024 7:31:26 PM

Installer Validation

(Automated response - build 870.)

Automatic Validation ended with:

Installer Verification Analysis Context Information:
Installer https://psiphon.ca/psiphon3.exe
Scan request id: '8d0f3c1c-ecdb-40be-9b10-ca195ae89d48'
Error information: BlockingDetectionFound

3/16/2024 6:16:14 PM

Installer Validation

(Automated response - build 870.)

This might be due to a network block of data centers, to prevent automated downloads.
(Automated response - build 870.)


Installing podping-hivewriter in other projects.

Trying to add podping-hivewriter in another project:
❯ poetry add podping-hivewriter
Using version ^1.2.6 for podping-hivewriter

Updating dependencies
Resolving dependencies... (16.4s)

Package operations: 1 install, 0 updates, 0 removals

  • Installing podping-hivewriter (1.2.6): Failed

  EnvCommandError

  Command ['/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/bin/pip', 'install', '--no-deps', 'file:///Users/gbishko/Library/Caches/pypoetry/artifacts/04/c9/67/05ddce10054f44cd8158da6aa95b7b9798a58c1832b6d93f6ff8a61622/podping-hivewriter-1.2.6.tar.gz'] errored with the following return code 1, and output:
  Processing /Users/gbishko/Library/Caches/pypoetry/artifacts/04/c9/67/05ddce10054f44cd8158da6aa95b7b9798a58c1832b6d93f6ff8a61622/podping-hivewriter-1.2.6.tar.gz
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
  Building wheels for collected packages: podping-hivewriter
    Building wheel for podping-hivewriter (pyproject.toml): started
    Building wheel for podping-hivewriter (pyproject.toml): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/bin/python /Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/tmplntualb3
         cwd: /private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-req-build-zo0rx633
    Complete output (25 lines):
    A setup.py file already exists. Using it.
    Traceback (most recent call last):
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-req-build-zo0rx633/setup.py", line 2, in <module>
        from setuptools import setup
    ModuleNotFoundError: No module named 'setuptools'
    Traceback (most recent call last):
      File "/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
        main()
      File "/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
        return _build_backend().build_wheel(wheel_directory, config_settings,
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-build-env-z1fu1xi4/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 68, in build_wheel
        return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-build-env-z1fu1xi4/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 78, in make_in
        wb.build()
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-build-env-z1fu1xi4/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 110, in build
        self._build(zip_file)
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-build-env-z1fu1xi4/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 162, in _build
        self._run_build_command(setup)
      File "/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-build-env-z1fu1xi4/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 190, in _run_build_command
        subprocess.check_call(
      File "/Users/gbishko/.pyenv/versions/3.9.4/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/bin/python', '/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-req-build-zo0rx633/setup.py', 'build', '-b', '/private/var/folders/lr/3c_q67jx1xj89pdr229hq5jm0000gn/T/pip-req-build-zo0rx633/build']' returned non-zero exit status 1.
    ----------------------------------------
    ERROR: Failed building wheel for podping-hivewriter
  Failed to build podping-hivewriter
  ERROR: Could not build wheels for podping-hivewriter, which is required to install pyproject.toml-based projects
  WARNING: You are using pip version 21.3.1; however, version 22.2.2 is available.
  You should consider upgrading via the '/Users/gbishko/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cnYEIp-w-py3.9/bin/python -m pip install --upgrade pip' command.

  at ~/.poetry/lib/poetry/utils/env.py:1183 in _run
      1179│                 output = subprocess.check_output(
      1180│                     cmd, stderr=subprocess.STDOUT, **kwargs
      1181│                 )
      1182│         except CalledProcessError as e:
    → 1183│             raise EnvCommandError(e, input=input_)
      1184│
      1185│         return decode(output)
      1186│
      1187│     def execute(self, bin, *args, **kwargs):

Failed to add packages, reverting the pyproject.toml file to its original content.

Currently working on separating schema generation into their own projects so this project wont require a compiler.  It's a lot of work.


Error Channel Timeout Exception

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
How do i change my channel setting to avoid this error.
Line : 723 | Exception | Error channel | TimeoutException |
Please help me,
Thanks
Environment
- OS : Windows 10
- Python : EXE without Python
- Script version : 1.7.6

config.json
{
    "http_api": {
        "enabled": true,
        "host": "<IP_ADDRESS>",
        "port": 5000
    },
    "database": true,
    "views": 100,
    "minimum": 20.0,
    "maximum": 25.0,
    "proxy": {
        "category": "p",
        "proxy_type": "http",
        "filename": "GoodProxy.txt",
        "authentication": true,
        "proxy_api": false,
        "refresh": 0.0
    },
    "background": false,
    "bandwidth": false,
    "playback_speed": 3,
    "max_threads": 5,
    "min_threads": 2
}

This error is usually caused by slow proxies, does it fail every time or only sometimes?

This error is usually caused by slow proxies, does it fail every time or only sometimes?

Thanks, its fail every time ... Is there anything that needs to be changed from my channel settings ?
Thanks

Is it waiting 30 seconds and then crashing? If so, then the proxy is too slow to be usable

Thanks for the answer, but i have premium proxy and no problem with the speed, then i try to install proxy in my pc with speed 50mbps for just 2 - 3 threads but still fail for only the channel ... for search and url its run smoothly ...
Thanks

If it works for direct and search but fails its probably a bug with MShawon’s bot, what proxy service are you using?

Im using sock and http proxy ... and using premium service proxy

Which provider are you using?

im using local provider in my country ... sorry cant say the name

Its either a timeout (proxy too slow), bug in the bot, or youtube changed the webpage and now the hot doesnt work

ok thanks ... the problem maybe from the bot and need to update


RFC: Nix flake based build

This is an RFC for the nix build infra we discussed during office hours.
Attached in this PR is documentation on how to interact with the nix build.
Please see that for reference.
If we decide to move forward with this, we can at the very least replace/remove:

All the docker based build stuff in the CI
build-libs.sh
STATIC_BPF_BCC in cmake config
The vendored libbpf + bcc repos

We also get for free:

Reproducible builds / tests (modulo kernel until vmtest comes) between CI
and your development host. Ideally it'll just be nix develop --command run-tests.sh
that's both run in CI and locally.
The ability to patch libbpf, bcc, llvm, really any of our deps, completely through
flake.nix configs. This is something that cannot be done through traditional,
non-functional package managers. You can sort of see in the current flake.nix
how I'm patching nixpkg's upstream libbpf and bcc. This is easily extended to
include .patch as well.

Downsides:

Nix's DSL is quite difficult to understand. You can probably already see that.

That being said, I got somewhat productive with it in one weekend. I'd also
be happy to walk people through what I've learned.
It's also quite beautiful (the semantics, not the syntax) when you piece it all together.

One more thing to learn (but hopefully not maintain, as we'll delete stuff if this goes in)

But the industry is moving towards this direction so hopefully another tool in your tool kit

What's left to do:

Fix all the tests
Hook up to CI
Delete all the will-be-deprecated stuff

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

Hi @JakeHillion, @RyanGibb , thank you for the reviews! It is much appreciated b/c I am quite new to nix.

Thank you for doing this, more Nix flake adoption in upstream repos is great to see! I commented on some more specific parts but generally.
* Rather than including the tests in the binary output they should really be included as flake checks (`outputs.checks."${system}".tests = ...`). This will make the whole local testing/CI run with `nix flake check`.

Thanks for the tip. I will look into that. Looks like it's uncovering a few (maybe bad) assumptions already b/c it's running in a hermetic environment.

* I'm not entirely convinced by the default dev build mode. My assumption would be that the build is a prod build, with a user dropping into a dev shell (`nix develop`) if they need anything special. Worth discussing.

So the goal of this flake is to address some the pain points in CI we have. I'd like to start off with fixing development pain first and then if possible, make it a flake suitable for downstream users. Unless there's an easy way to satisfy both that I'm missing (and I probably am), I'd prefer to stick with dev in mind first.

* Having `bpftrace` in the `apps` part of the output would be nice, allowing `nix run`. This wouldn't interact very well with `sudo` though. Again, worth discussing.

Ack. Might as well add it even if really only --help works.

* I don't think we need `devShells.default` at all in its current form, as it's effectively set to the default (`+runTests`, which can be covered with `nix flake check`). Not sure how other projects have handled this though.

Yeah makes sense. Will address it when I fix nix flake check.

* I think there are some dependencies missing as `cmake -B build; cd build; make` didn't work on my NixOS system in `nix develop` (a really clean external path). This is minutia though.

Hmm, that's weird. It's the same deps as nix build right? And that seems to work ok.
[...]

This patch makes it so tests are run (but they fail for various reasons): https://pastes.dxuuu.xyz/f8tnu6
Running into this issue:
$ nix flake check --allow-new-privileges
warning: Git tree '/home/dxu/dev/bpftrace' is dirty
error: builder for '/nix/store/b2px0hqb5i8l3m52jii5za99rg7bmy0z-bpftrace.drv' failed with exit code 1;
       last 10 log lines:
       > [192/196] Linking CXX static library src/ast/libast.a
       > [193/196] Linking CXX static library src/libbpftrace.a
       > [194/196] Linking CXX executable src/bpftrace
       > /nix/store/9n9gjvzci75gp2sh1c4rh626dhizqynl-binutils-2.39/bin/ld: warning: libbpf.so.0, needed by /nix/store/qbrgk50h4z64vxfdx5z7a31knwszsd9n-bcc-0.27.0/lib/libbcc_bpf.so, may conflict with libbpf.so.1
       > [195/196] Building CXX object tests/CMakeFiles/bpftrace_test.dir/semantic_analyser.cpp.o
       > [196/196] Linking CXX executable tests/bpftrace_test
       > /nix/store/9n9gjvzci75gp2sh1c4rh626dhizqynl-binutils-2.39/bin/ld: warning: libbpf.so.0, needed by /nix/store/qbrgk50h4z64vxfdx5z7a31knwszsd9n-bcc-0.27.0/lib/libbcc_bpf.so, may conflict with libbpf.so.1
       > running tests
       > sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
       > sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
       For full logs, run 'nix-store -l /nix/store/b2px0hqb5i8l3m52jii5za99rg7bmy0z-bpftrace.drv'.

Can't seem to get sudo to work even with --allow-new-privileges

I think the best solution to this long term is to run the tests in VMs using https://nixos.org/manual/nixos/stable/index.html#sec-nixos-tests. However this has a bit of a conflict of interest with your existing https://github.com/iovisor/bpftrace/pull/2607. As far as I can tell, it would be possible to achieve the same thing by pinning kernels in the NixOS testing framework.

Looks neat. Will take a look. That looks like a great option when the entire workflow has already been onboarded to nix.
That being said, there's 1 big blocker in the way of all the VM testing stuff: nested virtualization support. Right now it took over 6 hours to run the runtime tests (and it still didn't finish) in a VM in standard GHA. GH supports large runners with nested virt now but we need a paid plan.

I asked around in the nix matrix room and thought about it overnight. Basically they're saying that flake checks cannot run anything that requires root. Disappointing but understandable.
In light of this, I think we should scale back the ambitions of the nix flake build a bit. I've pushed changes to make it more of a dependency manager rather than an all-in-one CI thing.  This will still immediately solve some developer pain. We'll just have multiple steps in the CI that runs stuff inside nix developer shells rather than just with nix flake check.
I've also incorporated the feedback about making the flake geared towards downstream users. The cmake flags and such will be manually chosen in the developer shell now.

@viktormalik @fbs @ajor any thoughts? At the very least this would provide an easy way to get started with developing on bpftrace.
I am planning on replacing ci.yml workflow using this nix flake (to get better local reproducibility). I am also hoping we can replace the embedded builds as well with the help of https://github.com/rsms/llvmbox . But I am less certain about embedded builds.
I have no strong opinion on whether we should wait for ci.yml replacement work to be done before merging this, but like I mentioned, the flake here is enough for smoother onboarding of new developers.

Ack these changes, I think this looks a lot nicer now. Agreed on the scaled back ambitions too, as everybody gets a clean development environment with consistent dependencies and can work from there.
With luck fixing the sudo issues can be solved with some form of vm testing, but if this goes in as is it'll be an excellent base for both new developers and the CI - extensions can come later.

I think the Docker-based build system will still be useful for confirming that bpftrace builds on various Linux distros, so wouldn't get rid of it entirely. It seems fair enough to move the general CI builds and the LLVM matrix across to Nix though.

I agree it's useful in principle. But I'd like to point out in practice that ci.yml only builds with ubuntu 20.04 and embedded.yml builds with ubuntu 18.04, 20.04, and alpine 3.12. So at minimum reworking ci.yml is status-quo.
Long term I'd like to revisit the embedded llvm builds. We pay a heavy maintenance cost for that. I am hoping (praying perhaps) that we can externalize that cost to llvmbox. But that will come later, if at all.


Update vector_wos.py

made observation date full correct format for geoserver

Codecov Report

Merging #3 (6faa453) into make_time_UMT (e4cf581) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@                Coverage Diff                @@
##           make_time_UMT       #3      +/-   ##
=================================================
+ Coverage          93.57%   93.63%   +0.05%
=================================================
  Files                  4        4
  Lines                218      220       +2
=================================================
+ Hits                 204      206       +2
  Misses                14       14

Impacted Files
Coverage Δ

dea_vectoriser/vector_wos.py
100.00% <100.00%> (ø)

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 e4cf581...6faa453. Read the comment docs.


Check that clients can request compressed content when proxying to S3 via Nginx

If the current default mechanism responds with compressed files when a client says it accepts them (e.g. using a Accept-Encoding: gzip request header), then we should ensure the new mechanism also supports this.

There's probably some useful info under "Serving compressed assets" in our Google doc (not public, unfortunately).

The following shows a comparison of what happens if we request a plain text asset specifying an Accept-Encoding: gzip request header either (a) when Nginx serves the file from NFS; or (b) when Nginx proxies the request to S3:
Nginx serves the file from NFS
$ curl -s -v -H "Accept-Encoding: gzip" http://asset-manager.dev.gov.uk/media/59a5647f759b7445a47/tmp.txt >/dev/null
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to asset-manager.dev.gov.uk (<IP_ADDRESS>) port 80 (#0)
> GET /media/59a5647f759b744518bdaa47/tmp.txt HTTP/1.1
> Host: asset-manager.dev.gov.uk
> User-Agent: curl/7.54.0
> Accept: */*
> Accept-Encoding: gzip
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 30 Aug 2017 14:01:05 GMT
< Content-Type: text/plain
< Last-Modified: Tue, 29 Aug 2017 12:56:32 GMT
< Transfer-Encoding: chunked
< Connection: close
< Vary: Accept-Encoding
< Content-Disposition: inline; filename="tmp.txt"
< Cache-Control: private
< X-Frame-Options: DENY
< Content-Encoding: gzip
<
{ [60 bytes data]
* Closing connection 0

Nginx proxies the request to S3
$ curl -s -v -H "Accept-Encoding: gzip" http://asset-manager.dev.gov.uk/media/59a5647f759b744518bdaa47/tmp.txt?proxy_to_s3_via_nginx=1 >/dev/null
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to asset-manager.dev.gov.uk (<IP_ADDRESS>) port 80 (#0)
> GET /media/59a5647f759b744518bdaa47/tmp.txt?proxy_to_s3_via_nginx=1 HTTP/1.1
> Host: asset-manager.dev.gov.uk
> User-Agent: curl/7.54.0
> Accept: */*
> Accept-Encoding: gzip
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 30 Aug 2017 14:01:21 GMT
< Content-Length: 29
< Connection: close
< Content-Disposition: inline; filename="tmp.txt"
< Cache-Control: max-age=0, private, must-revalidate
< Last-Modified: Tue, 29 Aug 2017 12:56:32 GMT
< ETag: "59a56480-1d"
< Accept-Ranges: bytes
< Content-Type: text/plain
<
{ [29 bytes data]
* Closing connection 0

The above demonstrates that the server cannot currently serve compressed assets when configured to proxy requests to S3.
However, given that the vast majority of mainstream assets are PDFs, we don't think it is a significant issue and are happy to proceed.
I've captured the idea of making it possible to serve compressed assets when proxying to S3 in a new issue.
@chrisroos, @chrislo: Are you happy for me to close this issue?

I'm happy for this to be closed, @floehopper.

Cool. Closing.


Support for multi step profiles

Fields (all take strings unless specified)
identifier, workInfo, company, role, interests (takes an array), branch, militaryStatus, schoolInfo, schoolLevel


resolve problem when use SDWebImageDelayPlaceholder and dequeued tabl…

when use SDWebImageDelayPlaceholder ，
tableViewCell.imageView.image will use image in dequeued cell temporarily.

Sorry to bother, but I think maybe you misunderstand the SDWebImageDelayPlaceholder options? It means if the download failed, then to set your placeholder(the default behavior is to set the placeholder before any thing happed). And this change will break current behavior (previous version will keep your UIImage.image until it download finished but not set it to nil).
SDWebImageDelayPlaceholder will set the placeholder on UIView+WebCache.m:71, it will use the placeholder image you provided after the download finished. I read your description and think the reason here is that you use the reused placeholder image to use sd. When you called sd_setImageWithURL:placeholderImage, it's the placeholder to current cell, but after scrolling and reuse happend, the placeholder is not what you need. You should fix it by your logic such as reset your current placeholder in completion block. Or to think whether SDWebImageDelayPlaceholder is suitable to do what you expect.


Doesn't scrap any article on http://www.nzherald.co.nz/road-accidents/news/archive.cfm?c_id=663

Either the extracted text is ambiguous or the site shows the error: "Cannot convert html to string"

Same as the result of the demo page: http://newspaper-demo.herokuapp.com/articles/show?url_to_clean=https%3A%2F%2Fwww.forbes.com%2Fsites%2Falexcapri%2F2017%2F06%2F21%2Fchina-obor-qatar-middle-east-america
with reason : "Error converting html to string".
Any solutions?

got the same problem
thanks in advance


Why tf.image.decode_jpeg is slower than cv2.imread ?

Could you quantify how much slower tensor flow's read is vs opencv's?  They are both using libjpeg, so it seems like they should be close.

@aselle Thanks for your reply. I just use the following code to test the speed of tf.image.decode_jpeg. It takes about 10ms + for one image.  However, cv2.imread only takes 1ms.
def test_tf_image(path):
with tf.device('/cpu:0'):
img = tf.read_file(path)
image = tf.image.decode_jpeg(img, channels=3)
with tf.Session() as sess:
start = time.time()
out = sess.run(image)
print time.time() - start

@aselle  Because of this, I can't find the solution to extract AlexNet fc7 features 1000 images per second. It's easy to make it in Caffe. Can you give me some suggestions?

If you built tensorflow yourself make sure you used "-c opt" on the bazel command line to compile in optimized mode.

@FangxiangFeng: Can you check whether the slowness is the tf.read_file bit or the tf.image.decode_jpeg bit?  As Andy said, I don't know why our call into libjpeg would be slower than opencv's.

@aselle I have tried both the released  v0.8 package and tensorflow built by myself. They produced the same result.
@girving tf.read_file takes about 5ms.

You may be timing initialization cost, not just the actual operations.  When you call sess.run the first time it does some setup work.  What do you get for
def test_tf_image(path):
  with tf.device('/cpu:0'):
    img = tf.read_file(path)
    image = tf.image.decode_jpeg(img, channels=3)

  with tf.Session() as sess:
    start = time.time()
    for i in xrange(1000):
      out = sess.run(image)
    print time.time() - start

@girving Thanks.  I will close this issue.

@FangxiangFeng: Does that mean the timings with 1000 iterations looked different?  If so, what were they?

@girving. Yes, your code takes about 100ms to process 1000 images.

@lin65505578 that could be from the way tensorflow decodes the images. try the decode_jpeg method with dct_method='INTEGER_ACCURATE' argument


Using Git Bash, "electron-forge make" will create folders in the temp directory but will not be able to remove them (failing the command)

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.4.2
Electron version
24.8.5
Operating system
Windows 11 22H2 (22621.2361)
Last known working Electron Forge version
6.4.2
Expected behavior
A successful output from electron-forge make --platform=win32 (using Squirrel).
Actual behavior
❯ npm run make

><EMAIL_ADDRESS>make
> env-cmd -f .env.production rm -rf .vite && electron-forge make --platform=win32

✔ Checking your system
✔ Loading configuration
✔ Resolving make targets
  › Making for the following targets: squirrel
❯ Running package command
  ✔ Preparing to package application
  ✔ Running packaging hooks
    ✔ Running generateAssets hook
    ✔ Running prePackage hook
  ❯ Packaging application
    ❯ Packaging for x64 on win32
      ✖ Copying files
        › EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\ctp-mod-manager-win32-x64-d1Tm1y\resources\app\src\components'
      ◼ Preparing native dependencies
      ◼ Finalizing package
  ◼ Running postPackage hook
◼ Running preMake hook
◼ Making distributables
◼ Running postMake hook

An unhandled rejection has occurred inside Forge:
Error: EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'

This happens whether or not I am using env-cmd, and this tmp directory was created fresh (so there was definitely no interference from elevated command prompts, etc). This is just using straight Git Bash, non-elevated through the VS Code integrated terminal (with VS Code not being elevated, either). The components folder is also not empty.
Steps to reproduce
I am using the Vite-Typescript preset.
This is my full make command copied from package.json:
    "make": "env-cmd -f .env.production rm -rf .vite && electron-forge make --platform=win32"

Here is my forge.config.ts:
module.exports = {
  makers: [
    {
      name: '@electron-forge/maker-squirrel',
      config: {},
    },
  ],
  packagerConfig: {
    ignore: ['^\\/public$', '^\\/node_modules$', '^\\/.github$'],
    asar: true,
    tmpdir: 'C:\\tmp',
    overwrite: true,
  },
};

I used overwrite, asar and tmpdir each to try to fix this issue (with none of them fixing it).
Additional information
Output of debug:
❯ DEBUG=electron-forge:* npm run make

><EMAIL_ADDRESS>make
> env-cmd -f .env.production rm -rf .vite && electron-forge make --platform=win32

⠋ Checking your system
✔ Checking your system
[STARTED] Loading configuration
  electron-forge:project-resolver searching for project in: C:\Users\justin.farrell\Documents\app +0ms
  electron-forge:project-resolver package.json with forge dependency found in C:\Users\justin.farrell\Documents\app\package.json +3ms
[SUCCESS] Loading configuration
[STARTED] Resolving make targets
  electron-forge:require-search searching [
  '@electron-forge/maker-squirrel',
  'C:\\Users\\justin.farrell\\Documents\\app\\@electron-forge\\maker-squirrel',
  'C:\\Users\\justin.farrell\\Documents\\app\\node_modules\\@electron-forge\\maker-squirrel'
] relative to C:\Users\justin.farrell\Documents\app +0ms
  electron-forge:require-search testing @electron-forge/maker-squirrel +1ms
[DATA] Making for the following targets: squirrel
[SUCCESS] Resolving make targets
[STARTED] Running package command
[STARTED] Preparing to package application
  electron-forge:project-resolver searching for project in: C:\Users\justin.farrell\Documents\app +1s
  electron-forge:project-resolver package.json with forge dependency found in C:\Users\justin.farrell\Documents\app\package.json +4ms
[SUCCESS] Preparing to package application
[STARTED] Running packaging hooks
[STARTED] Running generateAssets hook
[SUCCESS] Running generateAssets hook
[STARTED] Running prePackage hook
[SUCCESS] Running prePackage hook
[SUCCESS] Running packaging hooks
[STARTED] Packaging application
[DATA] Determining targets...
  electron-forge:packager packaging with options {
  asar: true,
  overwrite: true,
  ignore: [ '^\\/public$', '^\\/node_modules$', '^\\/.github$' ],
  tmpdir: 'C:\\tmp',
  quiet: true,
  dir: 'C:\\Users\\justin.farrell\\Documents\\app',
  arch: 'x64',
  platform: 'win32',
  afterFinalizePackageTargets: [ [AsyncFunction (anonymous)] ],
  afterComplete: [ [AsyncFunction (anonymous)] ],
  afterCopy: [ [AsyncFunction (anonymous)] ],
  afterExtract: [ [AsyncFunction (anonymous)] ],
  afterPrune: [ [AsyncFunction (anonymous)] ],
  out: 'C:\\Users\\justin.farrell\\Documents\\app\\out',
  electronVersion: '24.8.5'
} +0ms
  electron-forge:packager targets: [ { platform: 'win32', arch: 'x64' } ] +5ms
[STARTED] Packaging for x64 on win32
[STARTED] Copying files
[FAILED] EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'
[FAILED] EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'
[FAILED] EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'
[FAILED] EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'

An unhandled rejection has occurred inside Forge:
Error: EPERM: operation not permitted, rmdir 'C:\tmp\electron-packager\win32-x64\app-win32-x64-d1Tm1y\resources\app\src\components'

The rest of the asked-for info is in the "Steps to reproduce" section

I have managed to reproduce this on a fresh vite-typescript template here: https://github.com/justinfarrelldev/minimal-repro
I have been using Git Bash specifically for this, not sure if it will reproduce on other terminals.

I couldn't reproduce the issue, could you provide another repro? From the logs you've provided, looks like you can hit this error just with electron-forge package instead of electron-forge make — this would help limit the issue scope.
Are you using Git Bash somewhere else along the process (e.g. to run create-electron-app or to create the tmp directory) or are you just trying to make/package the app with it?

I couldn't reproduce the issue, could you provide another repro? From the logs you've provided, looks like you can hit this error just with electron-forge package instead of electron-forge make — this would help limit the issue scope.
Are you using Git Bash somewhere else along the process (e.g. to run create-electron-app or to create the tmp directory) or are you just trying to make/package the app with it?

I figured it out (definitely this time). I think there are permission issues within the Documents folder or something on my setup - when I cloned the repo a level up ("~" in Git Bash), suddenly I was able to make and package just fine. Sorry about that!


Add refpool, refarray and levels for DictEncoded

add unexported methods for DataAPI.refarray, DataAPI.refpool, and DataAPI.levels for DictEncoded
closes #120

I'm not sure why codecov claims that dictencoding.jl:L283-L285 wasn't covered.  It should have been covered in the test of  eltype(DataAPI.levels(x)) at runtests.jl:L215

I have a thinko in there.  In the tests that I added I applied the functions to x when it should have been x2.  What is the best way to correct this?

I restored the branch and made the change here so that it would trigger the CI runs.  I will leave it up to you, @quinnj , if you want to cherry-pick the commit or back out the merge to the main branch.


YARN-11749. Skip unnecessary node-askingRequest match in RegularContainerAllocator

Description of PR
For multi node placement, if there is no need of resource for one app, it should fast skip out the node matching loop to save the async scheduling thread effective cpu time.
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

cc @TaoYang526 @slfan1989

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
21m 58s

trunk passed

+1 :green_heart:
compile
0m 34s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
0m 31s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 30s

trunk passed

+1 :green_heart:
javadoc
0m 32s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 32s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 11s

trunk passed

+1 :green_heart:
shadedclient
20m 26s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 27s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 22s

the patch passed

+1 :green_heart:
mvnsite
0m 25s

the patch passed

+1 :green_heart:
javadoc
0m 26s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 26s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 10s

the patch passed

+1 :green_heart:
shadedclient
23m 33s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
88m 37s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 25s

The patch does not generate ASF License warnings.

170m 15s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler

hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities

hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesForCSWithPartitions

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7248/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7248

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 7e5ad0835a7d 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / f06ef13dbfdc21f73b3eb5a2ae107998ebdc047c

Default Java
Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7248/1/testReport/

Max. process+thread count
1146 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7248/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Update build system

Update build system to support live reload and debug modes.

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


Optimize and improve experience calculations.

This PR has two primary changes. First, it replaces the float-based "experience since level" calculations with integer-based ones to avoid rounding errors. Second, it replaces the loops used to calculate experience in a given level with Math.pow() and Math.sqrt() for performance and ease of updating.

Have you tested performance of this? Loops can be potentially vectorised, and sqrt is generally slow. May be worth setting up a micro benchmark to compare so the performance claim holds up.

Test code:
DataManipulatorBuilder<ExperienceHolderData, ImmutableExperienceHolderData> builder =
        Sponge.getDataManager().getManipulatorBuilder(ExperienceHolderData.class).get();
long startTime = System.nanoTime();
for (int i = 0; i < 100000; i++) {
    builder.create().set(Keys.TOTAL_EXPERIENCE, 9001);
}
long endTime = System.nanoTime();
p.sendMessage(Text.of(String.format("%.6f milliseconds", (endTime - startTime) / 1000000.0)));

Original:

Modified:

(Note that I ran both of these in the debugger. However, I did nothing else in it before running the tests, and I did not change any configurations.)


Fix: TypeScript declarations

TypeScript declarations are now installable like so:
typings install --save-dev npm:chai-iterator

The "chai" module is now imported at the top of the declarations file
The README has been updated accordingly

Changes Unknown when pulling 7c31b852944bd108d4112a0258bec0049fed4dce on fix/typings into ** on master**.


feedback on item being dragged

Currently there is feedback on the item being dragged, but the item is also duplicated and remains in the list... I cannot find a way to give feedback about the item that remains in the list's new position on release... sure it moves but it's difficult to see it move - this limits the UX greatly.
Would be best to be able to render a different component when it is the one being dragged (such as just a simple coloured bar)... or add a class to the component in the list so it can be styled to show it's new position... currently it just jumps around and it's hard to tell what's happening with complex items.

So you can do both with 0.0.4: simply style ".SortableItem.is-placeholder" and/or replace the placeholder using getPlaceholderContent() in your SortableItemMixin component. The latter will apply the same classes to your customized placeholder, so you can still target ".SortableItem.is-placeholder".
Hope that helps and thanks for all your suggestions!


Inner corner block recipe requirment not accurate?

Minecraft Version 1.12.2
Forge Version <IP_ADDRESS>5
Mod Version architecturecraft-1.12-2.62.jar
I am not sure why but I am unable to craft roof inner corner
Client Latest
https://gist.github.com/P3rf3ctXZer0/ec7c3508f35b01c37b3a35831885c696
Latest
https://gist.github.com/P3rf3ctXZer0/26413930211e659674a4bb982dccecfc

Similar issues with stairs.


Add Android Vulkan backend

split Android renderer implementation (OpenGL/Vulkan flavors)
different sourceSets for MapRenderer and Surface/Texture views
fixed suboptimal swapchain events https://github.com/maplibre/maplibre-native/issues/2680
reverted some of the https://github.com/maplibre/maplibre-native/pull/2631 changes to keep surface/renderer lifetime linked

pre-commit.ci run

The viewport rotates clockwise 90 degrees when I run it on the inside screen of my foldable. Touch controls still function as if the map wasn't rotated though.

 The viewport rotates clockwise 90 degrees when I run it on the inside screen of my foldable. Touch controls still function as if the map wasn't rotated though.

My proposal is if the user rotates on Android we just pop up a little window that says 'No' until they rotate back.

@mwilsnd The rotation should be fixed. This was due to my incomplete implementation of a surface pre-rotation. Leaving it to the Android compositor for now.

Maybe @alexcristici and @TimSylvester can have a final look over this.
I think all conversations can be resolved and we can merge this.


Feature Request: global language filter

like tvdb_language can be set globally; would be great to have this for tmdb (and maybe others like flixpatrol) aswell.
right now my collections with tmdb are in english instead of german (both poster and summery).
and the language setting is only working with tmdb_discover... :/

oh.. sorry, i overlooked that one ..
got confused by the global setting where tvdb_language is stored.

Yea I would change some of the settings locations if I started over


assert in uglify-js from #40228

Can't get the declaration of a symbol marked as an alias.
Error: Debug Failure.
    at resolveAlias (/home/nathansa/ts/built/local/tsc.js:45400:37)
    at symbolIsValue (/home/nathansa/ts/built/local/tsc.js:46120:98)
    at /home/nathansa/ts/built/local/tsc.js:46186:50
    at Map.forEach (<anonymous>)
    at getNamedMembers (/home/nathansa/ts/built/local/tsc.js:46185:21)
    at setStructuredTypeMembers (/home/nathansa/ts/built/local/tsc.js:46194:74)
    at resolveAnonymousTypeMembers (/home/nathansa/ts/built/local/tsc.js:52117:17)
    at resolveStructuredTypeMembers (/home/nathansa/ts/built/local/tsc.js:52384:25)
    at getPropertiesOfObjectType (/home/nathansa/ts/built/local/tsc.js:52402:24)
    at getPropertiesOfType (/home/nathansa/ts/built/local/tsc.js:52446:17)

I'll add a repro when I get one.

The binder marks element access expression as export aliases, but the checker doesn't recognise them as alias declarations.
tools/exports.js:
exports["Dictionary"] = Dictionary;

https://github.com/microsoft/tsserverfuzzer/issues/297


Unable to pickle BayesianNeuralFieldMLE

with open('/content/drive/MyDrive/Colab Notebooks/models.pkl', 'wb') as f:
  pickle.dump(models["states"]["birth_rate"], f)

Results the error message.
AttributeError                            Traceback (most recent call last)
[<ipython-input-87-db6752b3d600>](https://localhost:8080/#) in <cell line: 1>()
      1 with open('/content/drive/MyDrive/Colab Notebooks/models.pkl', 'wb') as f:
----> 2   pickle.dump(models["states"]["birth_rate"], f)

AttributeError: Can't pickle local object 'structtuple.<locals>.StructTuple'

Thanks for the report, this issue is being tracked here: https://github.com/google/bayesnf/issues/36

Specifically, this is coming from using a JointDistributionCoroutine, which dynamically generates a StructTuple to represent the state, which means pickle can't represent it.
Depending on what kind of object models['states']['birth_rate'] is, you may be able to use arviz
import arviz as az

idata = az.from_pytree(models['states']['birth_rate'])
idata.to_netcdf("models.nc")


Table Queries sample is bit complex

 Issue by Susankha
Monday Jul 30, 2018 at 14:46 GMT
Originally opened as https://github.com/ballerina-platform/ballerina-examples/issues/952

Description:
In the "Table Queries sample" [1] we can see few complex queries together and that might get the use confuses. Can we split this into few samples?
[1] - https://github.com/ballerina-platform/ballerina-examples/blob/master/examples/table-queries/table_queries.bal

Table Queries will be re-designed and Samples will be rewritten as per https://github.com/ballerina-platform/ballerina-spec/blob/master/lang/proposals/query/query.md in a minor release

Fixed in #19790


CamelCase -> Underscores

Would be pretty useful to have a configuration option in Process that automatically inserts underscores for camel case field names, as in your MultiWordVar ->  MYAPP_MULTI_WORD_VAR example. Just because it's tedious to specify custom envconfig annotations for every field.

#66 Should close this when it's merged.

Yay!


Nrf52 nffs example

Codecov Report

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

@@            Coverage Diff             @@
##           master    #6123      +/-   ##
==========================================
- Coverage   52.88%   52.88%   -0.01%
==========================================
  Files         412      412
  Lines       40274    40274
  Branches     7801     7801
==========================================
- Hits        21298    21297       -1
- Misses      15760    15761       +1
  Partials     3216     3216

Impacted Files
Coverage Δ

samples/philosophers/src/main.c
96.87% <0%> (-1.57%)
:arrow_down:

Continue to review full report at Codecov.

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

I've update my Readme.rst as per your suggestion. Please consider it.

I've updated my Readme.rst as per your suggestion. Please consider it.
Thanks !!
On Sun, Feb 11, 2018 at 12:17 AM, David Kinder<EMAIL_ADDRESS>wrote:

@dbkinder requested changes on this pull request.
Doc needs to follow sample doc guidelines please.
In samples/boards/nrf52/nffs/README.rst
https://github.com/zephyrproject-rtos/zephyr/pull/6123#discussion_r167407530
:

@@ -0,0 +1,48 @@
+To successfully run this demo example,

This document needs to be in ReST format, so please follow the sample doc
template found in doc/templates/sample.tmpl or start with an existing
sample doc such as samples/boards/nrf52/mesh/onoff-app/README.rst and
edit for your sample.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/pull/6123#pullrequestreview-95630026,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFs-RUY1qUws2GipdzHU7FmWFSYPwVo6ks5tTeRagaJpZM4SBAvG
.

Thanks I've edited project's README.rst as per your suggestions.
Plus editing of touching $(zephyr_base)/CMAkeLists.txt, I edit project's own CMakeLists.txt to include
ext/fs/nffs/include directory.
Please consider it.
Thank You !!

Thanks for your efforts! It is really appreciated by us.
Can you move this example to destination: samples/subsys/fs/nffs? I think it is not really nRF5x specific - someone might want to adapt it to another target.
Squash all commits to one (you can use for instance git rebase -i HEAD~17).
Align the commit message to zephyr pattern. See the gide or look at dferentt commit like this one


Image is not rendering on some

🐛 Bug Report
the image component doesn't render the image on all version of ios 11 and 12
To Reproduce
Render a list of images thought https
this way:
<Image
   resizeMode="contain"
   style={{ width: '100%', height: 250 }}
   source={{ uri: `https://{image}` }}
/>

I have added the subdomain to info.plist, it also appears to work on the simulator iphone 8 but not iphoneX and on real devices too
Expected Behavior
it should render the images
Code Example
<Image
   resizeMode="contain"
   style={{ width: '100%', height: 250 }}
   source={{ uri: `${getSite()}${image}` }}
/>

Environment
Environment:
OS: macOS 10.14.3
Node: 10.15.0
Yarn: Not Found
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 10.1 Build version 10B61
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
I think its a bug but if someone has a solution I will be happy to take it.

Is it working in Safari opening the image? Is the allowarbitraryload enabled in info.plist?


Testing logbook service

This will not work, I'm not sure on how to solve the ATTR_DOMAIN problem, please advise.
Sorry for all the hazzle, still learning HA ;)

My bad. I didn't realize that a service call will strip references to domain, service from the service data. I'll fix this.

Merged: fd6086a5d61f0bec4dae9e3fd14bdc4254b0407a

After my fix your original code worked fine :+1: .

:) great!


Methods to withdraw and deposit from vaults to inventory

Implement methods to withdraw from vaults to inventory:

/money w
ATM sign: right clicking withdraws an amount specified on the sign

Implement methods to deposit money from inventory to vaults:

/money d
ATM sign: right clicking deposits an amount specified on the sign

May I know why these commands are missing?

The commands should be there, unless they are disabled in the configuration/permissions or something broke along the way

Unfortunately this is what happened after the command has been executed, using version 2.10-SNAPSHOT from July 2017.


Add data resource and account data endpoint

Take more as a first draft.
As noted in #50 I was unsure if it is necessary to create a new data resource. Ultimately, data is stored on and associated with accounts in the Stellar Network. However, this endpoint does not return an account, or event the hash map of data for an account, it returns a single value for a key/value pair.
Also, calling the new method with two inputs felt a little weird. Thoughts on this?
Closes #50

@robertDurst I added an in progress label, when you are ready, remove it and we'll take a look

Sounds good, been busy the last couple days.

OOPS!

Need to rebase and merge, but otherwise, I believe this is close

@kbacha rebased 👍 tests pass 👍

Thanks 👍


Problem launching py-tetrad

Hello!
I'm programming in Python and want to use py-tetrad to work with Tetrad. According to the README:

I installed the Amazon Corretto JDK

openjdk version "17.0.9" 2023-10-17 LTS
OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (build 17.0.9+8-LTS)
OpenJDK 64-Bit Server VM Corretto-<IP_ADDRESS>.1 (build 17.0.9+8-LTS, mixed mode, sharing)

I checked echo %JAVA_HOME%
C:\Program Files\Amazon Corretto\jdk17.0.9_8
I have Python 3.9 installed
I installed JPype1==1.4.1

After that I tried to run the code in the terminal:
python run_discrete.py
And I got the following result:
C:\Users\KShakhyan\OneDrive - ITMO UNIVERSITY\Projects\Tetrad_py_tetrad\py-tetrad\pytetrad>python run_discrete.py
FGES
Traceback (most recent call last):
  File "Fges.java", line 104, in edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.Fges.search
Exception: Java Exception

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

Traceback (most recent call last):
  File "C:\Users\KShakhyan\OneDrive - ITMO UNIVERSITY\Projects\Tetrad_py_tetrad\py-tetrad\pytetrad\run_discrete.py", line 27, in <module>
    search.run_fges()
  File "C:\Users\KShakhyan\OneDrive - ITMO UNIVERSITY\Projects\Tetrad_py_tetrad\py-tetrad\pytetrad\tools\TetradSearch.py", line 179, in run_fges
    self.java = alg.search(self.data, self.params)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Not a continuous data set.

Please tell me what the problem is, what am I doing wrong?

Oh did I mess something up? Let me go and run the examples and see if they fail for me now. If so I'll fix them right away.

Well thank you I will wait!
There was also a problem with running file run_continuous.py, but I commented out the lines:
# print('BOSS')
# search.run_boss(num_starts=1, use_bes=True, time_lag=0, use_data_order=True)
# print(search.get_string())
# dag=search.get_dag_java()
# print(dag)

# search.run_boss()
# adj = search.get_graph_to_matrix()

# print(adj)

And the errors stopped.

Fixed. The problem was I tried to calculate BIC for a model using a continuous method without first checking to make sure the dataset was continuous! Newbie mistake!
OK, if you do a git pull at the project directory, you will get the changes. There's a change to the tetrad-current.jar that you need to grab.
Sorry about that! Everything's working for me now so I'll be curious if it's all working for you as well.

@KarinaKarina6 Were the problems solved for you?

Yes, everything works now, thank you very much! I will be glad to continue studying your framework :)


ERROR: Failed to resolve: com.github.kizitonwose:CalendarView:0.3.2

Hello
I have created a basic project in Android Studio but cannot import this library.
The compiledSdkVersion is 28.
And I have well added the maven repository in the Project build.gradle.
And in the Module build.gradle I have added the following line in the dependencies section :
implementation 'com.github.kizitonwose:CalendarView:0.3.2'

I code in Kotlin, maybe that this is the issue ?

I code in Kotlin, maybe that this is the issue ?

I am also. I have not faced any problem

Ok, I'll try again... Thanks.

Closing this issue as it's not related to the library itself.

Hi,
Unfortunately I'm actually having exactly the same issue as this.
I'm fairly new to android development but followed the exact steps as above so far and getting the same error message.
Please, any further suggestions?

I have still not resolved this issue...
I think that there is a problem with latest versions of Kotlin...
Not sure.

I have cleaned my gradle cache but was still able to install the library(0.3.2) without issues. Not exactly sure what setup you have so don't know how to help, unfortunately.

The build.gradle file at the project level has two sides where  maven { url "http://jitpack.io"  } could be placed. Make sure you place the library under the allprojects section like this:
allprojects {
repositories {
google()
jcenter()
maven { url "http://jitpack.io" }
}
}
This did it for me!.

Ok I'll try that. Thanks.

This is related to the project being in Kotlin, and used in Java

This is related to the project being in Kotlin, and used in Java

Are you sure ? Because my project is in Kotlin.

Yes, I tried creating AAR out of your project and then add as a dependency module. Still it failed.
If you could convert your project to a Java version; that would really help.

same here

I'm in the process of implementing this library to a project and just encountered the same issue as seen below:
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.kizitonwose:CalendarView:.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.kizitonwose:CalendarView:.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.kizitonwose:CalendarView:.
Show Details
Affected Modules: app
Changing the line:
implementation 'com.github.kizitonwose:CalendarView:'
To:
implementation 'com.github.kizitonwose:CalendarView:1.0.4'
Resolved the issue for me. Hope this helps identify the root cause of the problem, but for now it seems I can carry on using the library.
Cheers.


Support multiple SSL certificates

[x] tests and linter show no problems (npm t)
[x] code is properly formatted (npm run fmt)

Landed in https://github.com/metarhia/impress/commit/b94f6bdc4aa1681ae02b8c2f9879875a8751c471, https://github.com/metarhia/impress/commit/914b264fe3c9398a3add9f928840c98af6eb9ccd, https://github.com/metarhia/impress/commit/2c5b10c8e6cbd9e813eac83323a13b9199dcc2cb, and https://github.com/metarhia/impress/commit/144fb2262f8d699dabae485f42dacefc83a45872


Setting channel names

Would it be possible to add support for manually setting the name attribute of a Channel? The default could be a reference to the current name property, but in some cases I would like to overwrite this name and set a name manually

Have a look at the parameter I'd, it sounds like it implements what you need, let me know if it works

Ahh yes, this was what I needed

Closing issue, @JacobHast please reopen if unresolved


Fix typo 'maxNumSenetences' in file 'swift-api-examples/SherpaOnnx.swift'

While reviewing the swift-api-examples/SherpaOnnx.swift file, I noticed a small typo in a parameter name.
On line 660, the parameter is spelled as maxNumSenetences.
Source: https://github.com/k2-fsa/sherpa-onnx/blob/b4f1006864a7e86576be105d03541ba4eaaaf00e/swift-api-examples/SherpaOnnx.swift#L660
I propose changing it to:
maxNumSentences: Int = 2

Sure will do, I was on mobile while reviewing that file, hence no PR haha. I'll open a PR today.


The SVG demo is only showing a small subset of our available icons

Describe the bug / expected behavior
The SVG icon demo currently only takes a small subset of icons, unlike our other two demos
What are the steps to reproduce?

clone repo
Run yarn && yarn start
Navigate to the "SVG" navigation item
See that there's only small subset of all the icons we have to offer

Suggested fix
Use an actual meta data instead of this placeholder object: https://github.com/etn-ccis/blui-icons/blob/60eaea509091dd3c273eca0ebadb1a8fcc56d4ce/demos/react-demo/src/pages/svg.tsx#L16

This was done intentionally (picked a representative subset), since you have to import the SVG files individually to use them. It might be possible to do dynamic imports (like a require() in a loop), but it's also possible that might crash javascript.

Lets just spend a few minutes to see if we can get dynamic imports to work, otherwise we can close this issue since the MUI demo should indicate to us if there are any problems with the svgs.


Handling for cases where Vision is detecting more than 2 contours

Currently the camera is positioned in such a way that if the green LED ring were placed right on the camera, it reflects light off the cord as well, giving us more than 4 contours. The code, as a result, is not working as predicted.
Possible Solution: Eliminating the contours that have minimal change in size.
This would require code that is continuously running throughout teleop that checks changes in the values of contourXs and contourAreas. We have to be able to get the difference between the previous value and the new value.
Correct me if my math is wrong, but this could involve derivatives. If the derivative of contourAreas[0] and/or contourXs[0] is near-zero, then that means the value is not changing. Thus, we can infer that it's the two unchanging contours and that we can safely ignore them.
Otherwise, we could do previousContourXs[0]-contourXs[0] and if the value is within +/- contourDeadzone, then we can ignore them. Recursion maybe...?

Also, the contours could be filtered with size in the GripPipeline file

double filterContoursMinArea = 400.0;

Pseudocode for the second possible function
double compareContourDifference(previousContourXs[index], contourXs[index]){
    double previousContourXs = new double[];
    double contourDeadzone = 0.1;
    if(Math.abs(previousContourXs[index] - contourXs[index]) <= contourDeadzone){
        //Insert code that will ignore these specific indexes
    }
    previousContourXs = contourXs[index];
    compareContourDifference(previousContourXs[index], contourXs[index]);
}

increase possibly?

Also, the contours could be filtered with size in the GripPipeline file

That too. More GRIP messing yay~

There is also a case where you will see more than 2 objects without extra interference from cables etc.
Image coming soon.

Using derivatives/change in size should also have a conditional where it is only called when the robot is driving (aka when the corresponding motors are having either encoder changes and/or have a current running through them)
Otherwise, whenever we pause those targets will end up becoming ignored and we'll have 0 targets and nothing will happen.
Filtering by size will also cause alignTurn to only be effective when the vision targets have a higher area than the consistent interference.

Another solution involves completely ignoring the bottom 50 or so pixels of the image.
Potentially couldn't work because of changes in the actual elevator, but should always work if elevator is down at home.

Pi removed


chore: env var change

With reference to the comment on GitHub Runner which the environment variable is used with Pythonic _ underscores rather than -, this changes makes the action compatible.

The reason I hadn't reviewed this is because it didn't show up in my email - perhaps the CODEOWNERS file etc need to be added?


[GL] Nevermind sentences

Added nevermind sentences and tests

gentle ping

It'd be nice to get this in for 2024 releases


Python : Dictionary Comprehension

Description
Description
Create a video on Python Dictionary Comprehension

What is Dictionary Comprehension in Python?
Using Dictionary Comprehension
Conditionals in Dictionary Comprehension
Nested Dictionary Comprehension

Domain

[x] Python_Domain

Type of Contribution

[x]  Video

Domain
Python_Domain
Type of Contribution
Video
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

I will love to contribute pls assign it to me

@adityabisoi can you assign this to me and give appropriate tags to this issue.


Issue reference backlinks are missing

As of 85414d8b we're missing the "{user} referenced this issue {date}" backlinks that github creates when another issue references the current one.  I'll link this issue to #3134 and vice versa so both show an example of what these should look like -- see below.
These links are pretty important; they turn github issues from disjoint threads into an interlinked, multi-threaded mesh.  They help to prevent and converge duplicates, and probably have a role in community-building.
In my own case, as soon as we had created more than a few issues and users in our local Gitea install, I immediately started wanting these backlinks.  This is the sort of problem that #1029 exposes.
I'm trying to figure out the right way to tackle this; do we somehow detect and create the backlinks on the fly as we render the HTML?  Or do we use a backlinks table that gets populated as the references are created?  If the latter, we would want to scan through existing comments at migration to create the initial table content when upgrading from older versions, right?

As of ... we're missing ..

I wonder why this is marked as a feature? The above sounds much more like a regression.

Thanks for the clearification.

Do I see correctly that this issue would be solved with #3695 being merged?


Console.Writeline in a TestMethod are not available in test output for .net core

Description
Console.WriteLine in a test method should be available in output.
Steps to reproduce

Create a new test project
Add a test method
Add Console.WriteLine("foo") in test method

Expected behavior
A output link should appear in test explorer summary
Actual behavior
Output link is not shown.
Environment
VS: WPT/25810.00
VSTest: as of ce0eac2
Copied from https://github.com/Microsoft/vstest/issues/132

This is active work in progress.


Region not unloaded after all of its chunks unloaded

Hi.
Attempting to unload all chunks within a region so that the region will unload. I'm unloading them all (and have even tried unloading all chunks in the world), however, the region file is not unloaded from memory (and therefore doesn't respond to changes to the file directly).
Is there a way to unload a region or even trigger a cleanup that might do it?
Thanks

Moved to SC


kustomize: 3.8.7 -> 3.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/kustomize/versions.
meta.description for kustomize is: "Customization of kubernetes YAML configurations"
meta.homepage for kustomize is: "https://github.com/kubernetes-sigs/kustomize"
meta.changelog for kustomize is: ""
Updates performed

Golang update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.9.0 with grep in /nix/store/9vr1vvwhjy1b0052m6mba3x97y1x6v1s-kustomize-3.9.0

directory tree listing: https://gist.github.com/27f060851860d914542a305ce587ee67

du listing: https://gist.github.com/1e9519257b9de58a5797cc06306a080c

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kustomize

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9vr1vvwhjy1b0052m6mba3x97y1x6v1s-kustomize-3.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kustomize https://github.com/r-ryantm/nixpkgs/archive/11edde693fd854c251ad66e53499c3f660aa4e1e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9vr1vvwhjy1b0052m6mba3x97y1x6v1s-kustomize-3.9.0
ls -la /nix/store/9vr1vvwhjy1b0052m6mba3x97y1x6v1s-kustomize-3.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

kustomize

Maintainer pings
cc @carlosdagos @vdemeester @periklis @zaninime @kalbasit for testing.

Closing in favor of https://github.com/NixOS/nixpkgs/pull/108630

Closing in favor of https://github.com/NixOS/nixpkgs/pull/108630


Footer: Slight inconsistencies in spacing compared to mocks

Compared to the mocks, there are some very slight inconsistencies in spacing of the elements in the footer created in PR #468 .
This is purely aesthetic -- not high-priority and doesn't affect the functionality of the footer.

We've taken a few passes at this already I think it's good until we hear otherwise


Add wezterm and tmux

Window installer will copy linux files into wsl if possible

TODO: Launch the bootstrap.sh

WARNING: The term 'C:\msys64\usr\bin\bash.exe' is not recognized as a name of a cmdlet, function, script file, or executable program.                                                                                Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

For nvChad csharp you have to have dotnet and install csharp-ls
https://www.nuget.org/packages/csharp-ls

Somehow nuget was not configured with nuget.org
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org

for nvChad ast-grep lst we need to install ast-grep
npm i @ast-grep/cli -g

https://wezfurlong.org/wezterm/faq.html#pasting-or-entering-unicode-in-zsh-looks-broken

https://luals.github.io/#neovim-install

https://github.com/bash-lsp/bash-language-server


Bug Report for Files app

Description
I tried to open my Files app and it all of a sudden crashed. Then it gave me a message that said "A problem occurred that developers are not prepared for. Would you like to report the bug." Since that has happened I now can't open Files at all it just won't open now and it only gave me the message about reporting the bug the first time around.
https://www.loom.com/share/d71820b8d6554627a807c1c7edb3c942
Steps To Reproduce
All I did was click Files to open it. Then it randomly crashed.
Expected behavior
Expected behavior was for Files to open when I click it not crash.
Files Version
v<IP_ADDRESS>
Windows Version
Windows 10 21H1
Relevant Assets
No response

I tried un-installing and re-installing but now when I go to Microsoft Store and try to download it says "Try again later. Something happened our end."

Thanks for this report. Pleas add the debug files to the issue description.

Thank you.

I just tried downloading and installing it using the Files package link you provided. That did not work either. When I click install it does something but when look for app after nothing comes up. It's ok maybe I just need to do a restart. I will update you if that does not work either.

So I don't know why this happened but when Files first crashed, for some reason my Microsoft Store Install Service (in my Services) was set to disabled. That's why I wasn't able to download anything from the Microsoft Store and why it kept crashing and saying "Try again something went wrong on our end." I was able to resolve this issue by going into my Windows Services, then going to "Microsoft Store Install Service," then double clicking that. Then I set my startup type for that service from "disabled" to "manual." Then under service status I clicked to start to restart the service and after that I was able to download apps again from Microsoft Store  (including your app) without it crashing.

Glad you solved the issue, please let us know if you have further problems with Files after reinstall.

Will do. Thank you for support.


test/mdc2test.c: Add check for OSSL_PROVIDER_load

Since the potential failure of the OSSL_PROVIDER_load(),
for example there is no lock, the provider could fail to
be loaded into the library context.
Therefore, it should be better to check it and return error
if fails.
Also, in order to avoid free unknown pointer, 'c' should be
initialized as NULL.
Signed-off-by: Jiasheng Jiang<EMAIL_ADDRESS>
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

Merged to master and 3.0, thank you!


JSON KEY constraint fails generation

When adding JSON KEY constraint generation fails.
CREATE TABLE waybills (
    parent    INT      JSON KEY parentDoc        NULL,
    id        INT                            NOT NULL,
    dataType  TEXT                           NOT NULL
);

[WARNING] drift_dev:not_shared on lib/db/db.dart:
Could not analyze DriftElementId(.../db/schema.drift, waybills)
Exception: Did not expect JsonKey as a ColumnConstraint

Thanks for the report! Unfortunately, JSON KEY constraints were broken in drift 2.3.0 and it seems the test coverage around this feature was rather poor.
I have fixed the issue and added tests in 0e395bbef37b31d47abfa66e2efc81fed0129535.