can not download tensorflow datasets

In ch13/ch13_part1.ipynb, line [52], can not download celeb_a dataset in
celeba_bldr.download_and_prepare()

error message:
NonMatchingChecksumError: Artifact https://drive.google.com/uc?export=download&id=0B7EVK8r0v71pZjFTYXZWM3FlRnM, downloaded to /Users/tz/tensorflow_datasets/downloads/ucexport_download_id_0B7EVK8r0v71pZjFTYXZWM3FlDDaXUAQO8EGH_a7VqGNLRtW52mva1LzDrb-V723OQN8.tmp.db23c1347e5240e68f5f92216dc1872b/uc, has wrong checksum. This might indicate:

The website may be down (e.g. returned a 503 status code). Please check the url.
For Google Drive URLs, try again later as Drive sometimes rejects downloads when too many people access the same URL. See https://github.com/tensorflow/datasets/issues/1482
The original datasets files may have been updated. In this case the TFDS dataset builder should be updated to use the new files and checksums. Sorry about that. Please open an issue or send us a PR with a fix.
If you're adding a new dataset, don't forget to register the checksums as explained in: https://www.tensorflow.org/datasets/add_dataset#2_run_download_and_prepare_locally

hi, i already commented this on the tensorflow github issues, have a look (searches for link)
not an error from the guys who wrote the book even tho they could mention this on the book or as a comment

https://github.com/tensorflow/datasets/issues/965

as for now there is no solution, the dataset is 2-3gb and google cloud isnt happy to share such bandwith with people constantly, i would recommend uploading the dataset to an external site/cdn

I advise uploading this dataset to kaggle.com

be aware that ive tried everything and never managed for it to work, vpns, changing the code to bypass checks... so there is no practical solution other than the one im mentioning

Hi elfelround,
Thank you for your message! I am not sure if you are the author or contributor of this book? I am aware that this is not the error of the author. I've searched this problem and found some discussion online but I don't really understand them. I think it would be nice to have a discussion of this problem here and maybe direct people to the real problem at tensorflow like the link you attached because other people who are reading the book may have the same problem and they may start searching here.
The actual problem I have now is, is there a way to download and use the celeb_a dataset, no matter it is from tensorflow or elsewhere. It is lucky there is no example using this dataset. However if there is, nobody can follow the example. It would be great if the authors or other people who have greater knowledge about this problem can give us some suggestions. Thanks!

Hello - as stated in the error message, the dataset did install, but the associated SHA checksums did not match with those anticipated by the Tensorflow source. Ensure the version of Tensorflow you are using is the latest, this has worked for me.
If that is not an option, here [1.3GiB] is a direct download link for the celeba dataset, which you can unpack and use as intended.

Thanks a lot for helping out here, @elfelround , I really appreciate it!
Regarding the dataset, I would also recommend saving it somewhere on the machine you'll be using, because there may be hiccups with their servers some times. On the original CelebA website, they also provide an alternative Baidu link that may be useful in such cases: http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html

Hi, if you have the problem downloading celeb_a dataset with tfds, try as below.

update tfds: pip install --upgrade tensorflow-datasets
download four dataset manually in https://git.io/JL5GM, and then save ~/tensorflow_datasets/downloads/manual
try again celeba_bldr.download_and_prepare(). :)

If you use colab, upload the files to your drive and then mount, copy it like below
from google.colab import drive
drive.mount('/drive')
!mkdir -p ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/img_align_celeba.zip ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_attr_celeba.txt ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_eval_partition.txt ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_landmarks_align_celeba.txt ~/tensorflow_datasets/downloads/manual

Thanks

Hi, if you have the problem downloading celeb_a dataset with tfds, try as below.

update tfds: pip install --upgrade tensorflow-datasets
download four dataset manually in https://git.io/JL5GM, and then save ~/tensorflow_datasets/downloads/manual
try again celeba_bldr.download_and_prepare(). :)

If you use colab, upload the files to your drive and then mount, copy it like below
from google.colab import drive
drive.mount('/drive')
!mkdir -p ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/img_align_celeba.zip ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_attr_celeba.txt ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_eval_partition.txt ~/tensorflow_datasets/downloads/manual
!cp /drive/MyDrive/datasets/celeba/list_landmarks_align_celeba.txt ~/tensorflow_datasets/downloads/manual

Thanks

I also have a problem with the command "celeba_bldr.download_and_prepare()". I get constantly the error message "HTTP code 429". So I am stuck at this point. Is there any solution to this problem?


[error] GenServer :tzdata_release_updater terminating

Hello, I'm receiving this error and I don't know why.
[info] Running LinkService.Endpoint with Cowboy using http://localhost:4000
Interactive Elixir (1.4.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> 08 Mar 16:05:55 - info: compiled 6 files into 2 files, copied 3 in 1.6 sec
[debug] Tzdata polling for update.
[error] GenServer :tzdata_release_updater terminating
** (ArgumentError) argument error
    :erlang.hd([])
    (tzdata) lib/tzdata/data_loader.ex:29: Tzdata.DataLoader.content_length_from_headers/1
    (tzdata) lib/tzdata/data_loader.ex:51: Tzdata.DataLoader.do_latest_file_size/1
    (tzdata) lib/tzdata/release_updater.ex:48: Tzdata.ReleaseUpdater.loaded_tzdata_matches_iana_file_size?/0
    (tzdata) lib/tzdata/release_updater.ex:36: Tzdata.ReleaseUpdater.poll_for_update/0
    (tzdata) lib/tzdata/release_updater.ex:17: Tzdata.ReleaseUpdater.handle_info/2
    (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: :check_if_time_to_update
State: []

Thank you

Sorry, I needed to change my mix.exs to use specific versions of libs.

Np, glad you resolved it :)

On 8 Mar 2017, at 20:27, Adriano Tadao<EMAIL_ADDRESS>wrote:
Sorry, I needed to change my mix.exs to use specific versions of libs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Onefile: Killing the bootstrapped process twice can cause left over forked process that lock parts of the temp files

Nuitka version, full Python version, flavor, OS, etc. as output by this
command.

1.3.5
Commercial: None
Python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:16:33) [MSC v.1929 64 bit (AMD64)]
Flavor: Anaconda Python
Executable: D:\miniconda3\envs\mortal\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Version C compiler: E:\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705\bin\HostX64\x64\cl.exe (cl 14.3).

How did you install Nuitka and Python

pip in miniconda

Provide in your issue the Nuitka options used

nuitka --standalone --onefile --noinclude-unittest-mode=nofollow --remove-output main.py

OK. The problem is as described in the title. There are two main situations:

Click "x" in the upper right corner of the cmd console to close the program. At this time, the problem will be triggered stably and the onefile-folder will not be deleted automatically. The simplest test code is while True: pass, and use Nuitka. I think it can be achieved by capturing signals. For example, the Windows operating system provides SetConsoleCtrlHandler；
When "ctrl-c" terminates the program: when use import torch, it will not be automatically deleted. Here is a sample.

import torch  # Just for test. It's not actually used here.

if __name__ == '__main__':
    print('Ready!')
    try:
        while True:
            pass
    except:
        print('Exception!')

By the way, an irrelevant question: the torch module makes the program very large, and the packaging and decompression are also very slow. Is there any good way?
Hope to seek some suggestions.

I forgot to mention that the program I created is a pure console program without GUI. My computer operating system is win10.

I think the deletion should happen after a reboot. This is definitely not optimal. Generally it also seems, we wait for the child to exit, before ordering that. This should have a timeout. What might happen in your case, is that the CTRL-C gets ignored by the child process, or it somehow can be considered not exited. In that case, the onefile binary may also hang forever.

@Pragmatism0220 ok, thanks for pointing that out, I will check it out. If there is some locking going on, I believe these files should be scheduled for deletion at reboot. For now, I found bugs in the CTRL-C interaction and fixed them. I invite you to try out factory branch:
It is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
It may however only hide the issue, The double CTRL-C that I removed may well be preventing cleanup from the client program, but it's cooperation ought to be unnecessary of course, so not sure what this is. Also locks may still be held at  the time exit is reported.

OK. This development version has a new bug. When it tries to use the "-- include-data-files" option, it will report an error:
command：nuitka --standalone --onefile --include-data-files=./wrapper/protoc.exe=wrapper/ --remove-out main.py
error:
Nuitka-Options:INFO: Used command line options: --standalone --onefile --include-data-files=./wrapper/protoc.exe=wrapper/ --remove-out main.py
Nuitka:INFO: Starting Python compilation with Nuitka '1.4rc9' on Python '3.10' commercial grade 'not installed'.
Traceback (most recent call last):
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\__main__.py", line 151, in <module>
    main()
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\__main__.py", line 137, in main
    MainControl.main()
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\MainControl.py", line 934, in main
    addIncludedDataFilesFromFileOptions()
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\freezer\IncludedDataFiles.py", line 342, in addIncludedDataFilesFromFileOptions
    for included_datafile in _addIncludedDataFilesFromFileOptions():
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\freezer\IncludedDataFiles.py", line 307, in _addIncludedDataFilesFromFileOptions
    if containsPathElements(rel_path, default_ignored_dirs):
  File "D:\miniconda3\envs\cmortal\lib\site-packages\nuitka\utils\FileOperations.py", line 1058, in containsPathElements
    elements = tuple(os.path.normcase(elements))
  File "D:\miniconda3\envs\cmortal\lib\ntpath.py", line 56, in normcase
    s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not tuple

And unfortunately, the development version still hasn't solved this problem. The onefile folder is still not removed. And because the torch is large, it will take up a very large space of the temporary folder during multiple runs.

Thanks, I fixed the factory version, but I will have to look into how this can happen myself. Thankfully you have provided a reproducer, so hopefully it will be more obvious. I kind of wanted to address the obvious flaw that I discovered from looking at it, but now I am very puzzled as to how this can happen naturally. If you were to retry, that would help. But I take it, this is only a subset of the files, right, so deleting probably indeed failed due to locks.
This was probably protoc.exe. Nuitka will become resistant against including binaries as data files btw, since they usually need treatment to be portable.
So theorizing about what's going on, you probably have a child process forked, and do not clean it up in case of CTRL-C. I do not think Python would do that, does it? Which is a valid error to make as a programmer.  This is what your grace time is for. The double CTRL-C may well prevent any such measure of yours from actually being executed. Then factory will already be better for you.
And if indeed that is what is going on, and this child process then locks data files or DLLs, they cannot be removed, which would explain things. Not sure of course, a minimal reproducer of this will always be good I guess.
So 2 things to improve here. During cleanup, on Windows, we should delete, and if that doesn't work, wait a small time and retry afterwards, there is no harm in this, avoiding races. The virus scanners and what not tools can prevent successful deletion of everything, e.g. they may not have released locks on binaries that were started yet.
Since the launched process may not be connected to the terminal, it will not always get the CTRL-C event. You may in fact even strive for it to be detached. I frequently do so, removing standard input, just to avoid tools messing with it. So, what we should be doing, is to also kill all children processes on Windows.
With that, the shutdown should be much more reliable. The question is of course, what happens if a forked child is supposed to survive the onefile binary. Then we cannot kill it. So maybe it's not an option to do that?

Thank you very much for your detailed reply!
In fact, the program that caused this problem does not contain child processes (at least not in the code I wrote, unless some packages are implicitly called). protoc.exe is included in the torch. I'm afraid it is necessary, and I can't help it.
There is no doubt that my program contains a try-except block for exception processing and log handling. At the same time, I called the SetConsoleCtrlHandler interface to perform exit processing, which should play a similar role as atexit.
Perhaps timeout retry is a good way to solve this problem? I tried to monitor the changes in the process, but didn't find any obvious problems. But at least one thing I'm sure of: after I press CTRL-C, the process group of exe is indeed closed.
I also consider starting a detach subprocess in my exit processing module to clean up temporary files. But before that, I will try the factory version again, hoping to gain something. :-)

With that, the shutdown should be much more reliable. The question is of course, what happens if a forked child is supposed to survive the onefile binary. Then we cannot kill it. So maybe it's not an option to do that?

I think this situation is very bad. It is not a good habit of programming. As a programmer, we should avoid this situation and correctly handle these processes in the code, such as setting them as daemons. Otherwise, when onefile exe is closed, resources will not be released, resulting in many unexpected bugs. In this case, I think this is not a problem that Nuitka should deal with, but a problem that programmers themselves need to deal with.

With two CTRL-C in a row (which is the bug present on current stable Nuitka and fixed on factory now), it's quite possible that your CTRL-C handler itself is interrupted, causing the program to exit without doing the necessary cleanup.
If a child uses the onefile contents and shall survive the execution, it would have not use the temporary files mode, and use the cached. Check the user manual if you want for the difference. Unfortunately, currently it doesn't save as much time compared to temp files, since at startup it still decompresses and validates the contents to match, but that will change. It's on the roadmap for future releases. But I believe now I have solved your current issue. The double CTRL-C is not happening anymore, so if your cleanup code is any good, then the perfect cleanup will already happen, even if it requires your cooperation, it now will not be disturbed.

Unfortunately, in my example, it is not caused by CTRL-C twice. Using CTRL-C only once will still cause problems, even the factory version will not work.
The example of reproduce is still the following code:
import torch  # Just for test. It's not actually used here.

if __name__ == '__main__':
    print('Ready!')
    try:
        while True:
            pass
    except:
        print('Exception!')

Press CTRL-C only once, but the onefile folder is still not deleted. Maybe Nuitka might send the signal twice when handling, but even the repaired version still doesn't work.

I have managed to "mitigate" this bug in my way. Here is my solution: I delayed trying to delete the temporary folder after catching the close signal.
import torch
import os
import win32api

def clear_nuitka_onefile_temp_dir():
    if 'NUITKA_ONEFILE_PARENT' in os.environ:
        from tempfile import gettempdir
        from subprocess import Popen, DEVNULL, CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW

        nuitka_onefile_temp_dir = 'onefile_%d_*' % int(os.environ['NUITKA_ONEFILE_PARENT'])
        Popen(f'timeout /t 8 /nobreak && pushd "{gettempdir()}" && (for /f "delims=" %i in '
              f'(\'dir {nuitka_onefile_temp_dir} /ad /b\') do rmdir /s /q %i) & '
              f'if exist comtypes_cache (rmdir /s /q comtypes_cache)', shell=True, stdout=DEVNULL, stderr=DEVNULL,
              creationflags=CREATE_NEW_PROCESS_GROUP | CREATE_NO_WINDOW)

def console_ctrl_handler(event):
    CTRL_C_EVENT = 0
    CTRL_BREAK_EVENT = 1
    CTRL_CLOSE_EVENT = 2
    CTRL_LOGOFF_EVENT = 5
    CTRL_SHUTDOWN_EVENT = 6

    CTRL_EVENT = {CTRL_C_EVENT, CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, CTRL_SHUTDOWN_EVENT}

    if event in CTRL_EVENT:
        if event != CTRL_C_EVENT and event != CTRL_BREAK_EVENT:
            clear_nuitka_onefile_temp_dir()

    return False  # chain to next handler

if __name__ == '__main__':
    print('Ready!')
    win32api.SetConsoleCtrlHandler(console_ctrl_handler, True)
    try:
        while True:
            pass
    except:
        print('Exception!')
        clear_nuitka_onefile_temp_dir()

You are not getting what I am saying. You send CTRL-C, and then onefile binary did again. So the process was receiving it twice, making it so that your exception handler will very likely have a chance to also be interrupted. I never said you did that.
This is now on develop branch and will be in 1.4 release. The hard kill was added for Windows and Linux/macOS after a timeout, and there is hope this will make it go away for as long as no locks through leave over processes are caused by you.

I'm sorry to bother you, but I have fully understood what you mean now, thanks! In short, after I press ctrl-c once, the program actually receives two ctrl-c signals: one from me and the other from onefile binary. The second ctrl-c is equivalent to a process termination signal, which makes the exe file behave abnormally.
The current processing, if I understand correctly, does something like signal masking for the second ctrl-c and adds a timeout, giving me a chance to do my own ctrl-c processing during this time.
In fact, I did construct an example that actually shows your change. Here is it:
import torch

if __name__ == '__main__':
    print('Ready!')
    try:
        while True:
            pass
    except:
        print('Exception!')
        while True:  # Here
            pass

In the stable version of version 1.3, the above code will directly capture the second ctrl-c signal in the second while loop; In the development version 1.4, the second while loop will be executed normally for a period of time, and then it will be forcibly terminated after timeout. Thank you very much for your great work!

But now my problem is that I really need to use the torch package in my project, and I don't want to guide my users to install additional torch - in other words, I need to package the torch package into onefile, and the final file is acceptable if it is slightly larger.
But now the problem is that even with the 1.4 development version, pressing ctrl-c will still not be able to clear the temporary files brought by torch. I have clarified this point in my previous comments. I noticed that the torch module involves multiprocessing, which may be the cause of the deletion failure. Can't we really solve this problem?

Yes, the second signal is now a hard kill. You pick the time after which it is done with an option, defaulting to 5 seconds.
I honestly didn't look yet, if including torch alone does the bad thing. The multiprocessing should not play a role, and I think would behave well. If torch launches a process and doesn't end it, that's bad any your task to solve that. If I can see it with a mere import torch, I will try and fix it. But I never noticed any such process so far.
What I have a suspect could also be going on is that a Virus Scanner is preventing the deletion or something like that. Retrying to delete in some sort of loop might be necessary, or the registration of the deletion on reboot if all fails. There clearly is more robustness to be had there either way, even if there is also something specific to torch, it will be nice to better mitigate. I was thinking the Win32 function used does delete on reboot, but I am not so sure anymore, I didn't see it when I checked the docs recently.
But deleting the folder twice cannot be a mistake, or can it.

During the test, I have shut down the computer's antivirus software and defender. I tried to throw an exception and found that Nuitka could delete the temporary file correctly(At this time, I do not press ctrl-c):
import torch
import time

if __name__ == '__main__':
    print('Ready!')
    try:
        time.sleep(10)
        raise KeyboardInterrupt
    except:
        print('Exception!')

This makes me very confused. Does this mean that the hard kill signal brought by the second ctrl-c also killed the automatic deletion operation?

No, the deletion is done by the onefile binary. I think this means that an extra ball for the deletion will already work. Of course, your customers are going to have AV on as well. I never do, because checking my source and object files, I do not want to waste CPU on that, and wait in loops before an executable can be removed, etc. this is just a very ugly reality of Windows I guess.
The symptom can be cause by different things here. The forked off process not being stopped, or the AV keeping locks on files until it feels it's done with them.

OK, thank you very much for your reply! I think I have understood Nuitka's way of working on this. Thank you again!

I actually managed myself to reproduce the CTRL-C leaving over files with torch sized bootstrapped process. On my machine that is without an AV. But with my latest factory code change, it now retries 20 times with 0.1s delay, and it never happens anymore. It feels like this might be a race between Windows closing down the executable, but not having released all the locks yet, or something like that. Also, I would have to speculate that the deletion aborts on first error, and doesn't resume with what is feasible to delete.
Anyway, seems this got a lot more robust now.

Yes! I used the latest code for testing, and it performed perfectly! Thank you for your hard work!

This too now is on develop, and waiting for the 1.4 release.

Hi, I'm sorry to bother you again, but believe me I didn't mean to :-(. But I have one more question: the same code that contains torch, after I use ctrl-c, or even after I terminate the process directly in the task manager, still has to wait for a full 5s grace time to exit the console window. Why? If the torch is not included, it can immediately respond and close the window.

It feels like this might be a race between Windows closing down the executable, but not having released all the locks yet, or something like that.
Is this also the reason for this phenomenon, so that WaitForSingleObject cannot receive the correct signal in Nuitka's judgment of the child process, resulting in hard killing after 5s-timeout?

It feels like this might be a race between Windows closing down the executable, but not having released all the locks yet, or something like that.
Is this also the reason for this phenomenon, so that WaitForSingleObject cannot receive the correct signal in Nuitka's judgment of the child process, resulting in hard killing after 5s-timeout?

This is part of the stable release 1.5 that I just made.


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter uv-protect for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.uv-protect
   -

ERRORS:

[x] :heavy_exclamation_mark: [E162] js-controller 4.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
[x] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2024 simatec<EMAIL_ADDRESS>at the end of README.md
[x] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 simatec<EMAIL_ADDRESS>at the start of LICENSE

WARNINGS:

[x] :eyes: [W028] Minimum node.js version 18 recommended. Please adapt "{'engines' : { 'node' >= '16.0.0' } }" at package.json.
[x] :eyes: [W040] "keywords" within package.json should contain "ioBroker"
[x] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[x] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[x] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[x] :eyes: [W519] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
[x] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

@mcm1957
Please check the copyright date in the checker. I have the current year everywhere and the checker doesn't recognize it.

Thanks for feedback.
Think is cause be spaces (2000 - 2024). Will have to adapt lexical expression.
Please ignore for now.

done

Thanks for processing and closing this issue.
I will recheck for new issues later. So it's no problem if this issue has been closed premature.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.Let's work together for the best user experience.
your
ioBroker Check and Service Bot

@iobroker-bot recheck

Thanks for contacting me.
I received your request to recheck this repository. I will start doing my work soon.
I will close an existing issue and create a new one if still any issues are to be evaluated and potentially to be fixed.
Thanks for spending your time and working at an ioBroker adapter.
your
ioBroker Check and Service Bot


Speed [300 sec]: 4321.21 I/s, 4.69321 Sols/s

running on windows 7 64bit with Xeon X5687 and Quadro K5200 and Quadro K5000
Driver 369.26
With 0.2a I get  13.5234 I/s, 25.1111 Sols/s←[0m
but with 0.3a and 0.4a i get this 4321.21 I/s, 4.69321 Sols/
Here is my string that start the miner.
C:\Zcash\nheqminer_v0.4a>nheqminer.exe -l eu1-zcash.flypool.org:3333 -u t1N32yBJ
i27zyAgZLvWjsCFVyHLr4s23NHz.RIGGPU -t 8 -cd 0 1
    ==================== www.nicehash.com ====================
            Equihash CPU&GPU Miner for NiceHash v0.4a
    Thanks to Zcash developers for providing base of the code.
           Special thanks to tromp, xenoncat, mbevand
                 and eXtremal-ik7 for providing
          optimized CPU, CUDA and AMD equihash solvers.
    ==================== www.nicehash.com ====================

Setting log level to 2
[08:26:39][0x00001e2c] Using SSE2: YES
[08:26:39][0x00001e2c] Using AVX: NO
[08:26:39][0x00001e2c] Using AVX2: NO
[08:26:39][0x000004e4] stratum | Starting miner
[08:26:39][0x00001428] miner#0 | Starting thread #0 (CPU-TROMP-SSE2)
[08:26:39][0x00001c10] miner#1 | Starting thread #1 (CPU-TROMP-SSE2)
[08:26:39][0x00001720] miner#2 | Starting thread #2 (CPU-TROMP-SSE2)
[08:26:39][0x000023e0] miner#3 | Starting thread #3 (CPU-TROMP-SSE2)
[08:26:39][0x000013ec] miner#4 | Starting thread #4 (CPU-TROMP-SSE2)
[08:26:39][0x00001d78] miner#5 | Starting thread #5 (CPU-TROMP-SSE2)
[08:26:39][0x0000218c] miner#6 | Starting thread #6 (CPU-TROMP-SSE2)
[08:26:39][0x000028b4] miner#7 | Starting thread #7 (CPU-TROMP-SSE2)
[08:26:39][0x00002838] miner#8 | Starting thread #8 (CUDA-TROMP) Quadro K5200 (#
0) BLOCKS=84, THREADS=64
[08:26:39][0x000004e4] stratum | Connecting to stratum server eu1-zcash.flypool.
org:3333
[08:26:39][0x00001e94] miner#9 | Starting thread #9 (CUDA-TROMP) Quadro K5000 (#

BLOCKS=56, THREADS=64
[08:26:40][0x000004e4] stratum | Connected!
[08:26:40][0x000004e4] stratum | Subscribed to stratum server
[08:26:40][0x000004e4] miner | Extranonce is 74cb37657b
[08:26:40][0x000004e4] stratum | Authorized worker t1N32yBJi27zyAgZLvWjsCFVyHLr4
s23NHz.RIGGPU
[08:26:40][0x000004e4] stratum | Target set to 0083126e978d4fdf3b645a1cac083126e
978d4fdf3b645a1cac083126e978d4f
[08:26:41][0x000004e4] stratum | Received new job #89023a3c9af6eedbfeee
[08:26:49][0x00001e2c] Speed [300 sec]: 3844.72 I/s, 2.96531 Sols/s
[08:26:50][0x00001428] stratum | Submitting share #4, nonce<PHONE_NUMBER>0000000000
0000000000000000000000000000000002
[08:26:50][0x000004e4] stratum | Accepted share #4
[08:26:59][0x00001e2c] Speed [300 sec]: 4321.21 I/s, 4.69321 Sols/s

First set -cv 1
Then experiment with various -ct and -cb.

Did that. Little faster with CV 1 but i/s is still very high
On 04 Nov 2016 10:44 AM, "nicehashdev"<EMAIL_ADDRESS>wrote:

Closed #127 https://github.com/nicehash/nheqminer/issues/127.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nicehash/nheqminer/issues/127#event-847576480, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASUwld2bENOMi9BwfYSDCmevQ1rg3H_Nks5q6vBPgaJpZM4KpPDK
.

Tune -ct and -ct.

Tune -ct and -ct. has almost no effect. 0.2a is still faster.


Documents menu section is visible even if not authenticated

Hi,
Documents menu section is visible on the landing page even if user is not authenticated:

This kind of breaks the default Netbox landing page aesthetics, so to speak.
From security point of view it's ok, as these menu items redirect to a login page, but still it doesn't look like it's supposed to be there.
Running NetBox Community v4.1.2 and Documents v0.7.0.

FYI, there was a security issue with netbox itself that would expose the document files on their direct URLs while unauthenticated. Its getting fixed soon. https://github.com/netbox-community/netbox/issues/17972


Added Matrix Transpose in C++

Created folder for matrix problems and added code for transpose of a given matrix in C++

Hello Maintainers! Please review the code and merge it. Thanks.


Usage question

I wanted to give this package a try and did the following:

added leak_tracker to pubspec (resolving to leak_tracker v9.0.6),
added the following before runApp:

  LeakTracking.start();
  MemoryAllocations.instance.addListener(
    (event) => LeakTracking.dispatchObjectEvent(event.toMap()),
  );

which is not what's in README, but which is in the minimal example,
3) launched my app in debug mode on a real device,
4) opened DevTools (v2.25.0) > Memory tab > Detect Leaks tab (where I see several leak detection logs),
5) pressed Analyze and Download.
It fails with the following feedback: Error: TypeError: Instance of 'minified:JP': type 'minified:JP' is not a subtype of type 'minified:GP'
And for what it's worth, I also see in the browser dev console the following log (when launching DevTools, but I don't know whether it's related to the issue here):
Attempted to call extension 'ext.flutter.inspector.structuredErrors', but no service with that name exists
Using Flutter Channel stable, 3.13.8, on Ubuntu 23.04 6.2.0-34-generic, locale en_GB.UTF-8.
Am I doing something wrong?

Thank you for your question.
At the moment the package is unstable and is work in progress. Our first priority is to clean up memory leaks in Flutter Framework and enable regression testing for leaks.
This is how you can help to enable it faster:

Vote here: https://github.com/flutter/devtools/issues/6266#issuecomment-1758474605
Contribute here: https://github.com/flutter/flutter/issues/137311

Does it help?

Actually I've already used the package and it helped me fix many leaks, but I was curious about the integration in DevTools. Thanks for working on this!

Good to know! For integration with DevTools you can vote/comment here: https://github.com/dart-lang/leak_tracker/issues/172


Add OASys dates and RoSH summary data to check your answers

Context
Trello ticket
Changes in this PR
This PR renders OASys started, completed and imported dates to the user on the check your answers and submitted application pages. It also renders the RoSH summary data on these pages. I have saved this data on the oasys-import pages for RoSH and risk to self, and created custom responses on the RoSH summary and risk to self 'current risk' pages to render this data. This is not ideal and requires the page to handle data unrelated to current risk, but for now it appears the least intrusive solution.
The PR also removes the 'last updated' OASys data across the service, since we have learned that it is based entirely on the date started and date completed data. Rather than extrapolating to a value with questionable accuracy, we have chosen simply to render the date started and date completed to users.
Screenshots of UI changes
Before

After

Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

 CYA / SA - Add OASys dates


BeamformerFunctional fails on three_sources.h5

In GitLab by @esarradj on Feb 28, 2018, 22:11
BeamformerFunctional fails with an error in
fbeamform.py:488: RuntimeWarning: invalid value encountered in power
eva = array(self.freq_data.eva[i][newaxis], dtype='float64') ** (1.0 / self.gamma)

In GitLab by @esarradj on Mar 27, 2018, 16:52
I cannot reproduce this error. I checked out the current master branch (2c5fc3ca1250ecd7dadd24e365a47bec4a25aa38) and the release 18.01 (both with python=3.5) and both times the attached plots were produced. The script is also attached (derived from 'basic_beamformer_example.py').

funcBeamformError.py
By Tom Jan Gensch on 2018-03-27T14:52:47 (imported from GitLab)

In GitLab by @esarradj on Jul 2, 2019, 18:58
closed
By Ennes Sarradj on 2019-07-02T16:58:42 (imported from GitLab)

In GitLab by @esarradj on Jun 8, 2021, 17:24
mentioned in commit 6b9df378ed28fa9f144313408ca39e4c6d5015db


Add method addDefaultShareMenuItem for Android

Some versions of Android did not display the action button Share the URL. I added the call to the method addDefaultShareMenuItem() and works.

Hello?


housekeeping - code snippets in issues

Just a kind of housekeeping note to say that I can't really make heads of tails of the RDF snippets posted here, for example in #6 :

bf:contribution
bf:Contribution
<rdf:type rdf:resource="http://id.loc.gov/ontologies/bflc/PrimaryContribution"/>
bf:agent
<bf:Agent rdf:about="http://id.loc.gov/authorities/names/n81008294">
<rdf:type rdf:resource="http://id.loc.gov/ontologies/bibframe/Person"/>
bflc:name00MatchKeyStani︠u︡kovich, K. M. (Konstantin Mikhaĭlovich), 1843-1903,</bflc:name00MatchKey>
bflc:primaryContributorName00MatchKeyStani︠u︡kovich, K. M. (Konstantin Mikhaĭlovich), 1843-1903,</bflc:primaryContributorName00MatchKey>
bflc:name00MarcKey1001 $6880-01$aStani︠u︡kovich, K. M.$q(Konstantin Mikhaĭlovich),$d1843-1903,$eauthor.$0http://id.loc.gov/authorities/names/n81008294$0http://viaf.org/viaf/sourceID/LC|n81008294</bflc:name00MarcKey>

...and in #5 ...

bf:source
bf:Source
<rdf:type rdf:resource="http://id.loc.gov/ontologies/bibframe/Agent"/>
rdfs:labelCSL</rdfs:label>
</bf:Source>
</bf:source>
bf:descriptionLanguage
<bf:Language rdf:about="http://id.loc.gov/vocabulary/languages/eng">
bf:codeeng</bf:code>
</bf:Language>
</bf:descriptionLanguage>

...by @CECSpecialistI . They seem quite garbled to me and I can't really tell what I'm supposed to be seeing lots of the time. Is there some other format that could be used? Thank you!

@briesenberg07 that's the format Alma outputs for the BIBFRAME. I can start translating it to something else for sure.

Wait you mean that Alma's BF output isn't even well-formed XML? Like, from above:

rdfs:labelStani︠u︡kovich, K. M. (Konstantin Mikhaĭlovich), 1843-1903,</rdfs:label>

i'm looking at it in the viewer so that might be the issue; you have to run an export job to output the file properly so some punctuation is missing...i'm so used to looking at it that i didn't notice :/

aaaand now that i'm looking at it, it appears to be there? is it inconsistent? argh

example:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bf="http://id.loc.gov/ontologies/bibframe/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:bflc="http://id.loc.gov/ontologies/bflc/" xmlns:madsrdf="http://www.loc.gov/mads/rdf/v1#">
<bf:Work rdf:about="https://open-na.hosted.exlibrisgroup.com/alma/01ALLIANCE_UW/bf/entity/99162334560201452#Work">
bf:adminMetadata
bf:AdminMetadata
bf:generationProcess
bf:GenerationProcess
rdfs:labelDLC marc2bibframe2 v1.6.0-SNAPSHOT: 2020-09-28T23:19:54+00:00</rdfs:label>
</bf:GenerationProcess>
</bf:generationProcess>
bf:identifiedBy
bf:Local
rdf:value99330154392501451</rdf:value>
bf:assigner
<bf:Agent rdf:about="http://id.loc.gov/vocabulary/organizations/dlc"/>
</bf:assigner>
</bf:Local>
</bf:identifiedBy>
bf:status
bf:Status
rdfs:labelcorrected or revised</rdfs:label>
bf:codec</bf:code>
</bf:Status>
</bf:status>
bflc:encodingLevel
<bflc:EncodingLevel rdf:about="http://id.loc.gov/vocabulary/menclvl/f">
rdfs:labelfull</rdfs:label>
</bflc:EncodingLevel>
</bflc:encodingLevel>
bf:descriptionConventions
<bf:DescriptionConventions rdf:about="http://id.loc.gov/vocabulary/descriptionConventions/isbd">
rdfs:labelisbd</rdfs:label>
</bf:DescriptionConventions>
</bf:descriptionConventions>

but yeah it's ugly and I can make my examples not so hideously difficult to read :)

Thank you for looking into this @CECSpecialistI ! Any double-checking of Alma code snippets posted in issues is much appreciated, because they help me to know exactly what we are talking about.


Implicit strict and non-strict test cases are not selected by --only-strict and --no-strict cli options

This patch should enable the currently missing behaviour that is expected when using the --only-strict and --no-strict command line options respectively.
Currently test files which dont flag the test case with any of the strict mode altering flag (onlyStrict, noSrict, module and raw - see INTERPRESTING - strict-mode). From these test file two separate test cases are generated - one without and one prefixed with the strict directive "use strict";\n.
Those test cases are currently not affected by the filtering induced by the usage of  --only-strict and --no-strict.

[ ] #26
[ ] #25


CS0436 warnings from Zip library's copy of "Contract.cs"

Building the Zip library results in a bunch of warnings indicating that "Contract" is multiply defined (in both mscorlib and locally).
Why do we include a private, dummy copy of "Contract.cs" in this project?
Is there a desire to run on frameworks that don't have System.Diagnostics.Contract?
If not, it looks like it would be safe to delete that file.

I have bitten the bullet and upgraded the solutions to V4.5 and gotten rid of the ZIP library.
This fixes the original issue.


So i was wondering

Describe your problem here.
Is there a way to put opponentStrums(or the player one) on the camGame?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

setObjectCamera(obj, camera)?????

ah yes u need change camera of notes too if you changing camera for player and opponent strums

use runHaxeCode, if i remember correctly there was a script of this already like a year ago in the discord server


Handle errors in render() in a better way

Rendering a template should not error out on the first exception but rather collect as many errors as is meaningful and then report them to the user.
Possible solutions:

Refactor render methods signature to Try[String]
Implement an error listener system similar to ANTLRs

https://github.com/vlthr/dottydoc-templating/commit/c37e017a6dab0a1e17dcb3deeb6591aa9029bf2d introduces Try based render() and eval() methods. This approach works, but is extremely clunky to use right now.
The clunkyness is caused by trying to catch ALL errors rather than just throwing an exception as soon as an error is discovered. This introduces a lot of complexity in some of the more complex rendering methods, such as ForTags (https://github.com/vlthr/dottydoc-templating/blob/c37e017a6dab0a1e17dcb3deeb6591aa9029bf2d/app/src/main/scala/vlthr/tee/core.scala#L110)

Still looking for a prettier design, but this works well for now


feat: implement uname and which as builtin functions

Seems to work quite well. Let me know what you think @certik / @prsabahrami :)

I think we should remove the codecov/patch, since it always fails. I like the CI to be green. :)

Should we merge then?! :)

Go for it!

I think I should remove a few unwrap's to make things nice.

I think it's great. Though, as you mentioned, I think it's better to replace the unwraps with proper error handling. =)

Also, @wolfv  do you think you could add some tests? It would be great to start implementing tests for the newer features so they won't get stacked up altogether.

Already in thanks to @prsabahrami in #135


Crash on info locals on OS X

Also on info locals.  info args doesn't crash, but doesn't show any output, though there is an arg to the function.  And finally, the p command always reports Command failed: could not read memory.
new thread spawned 5891
Type 'help' for list of commands.
(dlv) c
INFO[0003] Request params                                params=[{"Key":"accountid","Value":"85655878-c13d-4a0e-b94b-d5c2c1247b6a"}]
new thread spawned 6919
new thread spawned 7171
thread context changed from 5891 to 7171
current loc: safex/controllers.CreateDomain /Volumes/Pouch/Users/russegan/dev/go/src/safex/controllers/domains.go:18
   13:     domain := models.Domain{}
   14:     if c.Bind(&domain) {
   15:         jsonParams, _ := json.Marshal(c.Params)
   16:         log.WithField("params", string(jsonParams)).Info("Request params")
   17:         runtime.Breakpoint()
=> 18:         if accountId := c.Params.ByName("accountid"); accountId != "" {
   19:             domain.AccountId = accountId
   20:         }
   21:         if err := appContext.Db().Create(&domain).Error; err != nil {
   22:             log.WithFields(log.Fields{"err": err}).Panic("Failed to create domain")
   23:         }

(dlv) info locals
panic: runtime error: index out of range

goroutine 1 [running, locked to thread]:
github.com/derekparker/delve/proctl.readMemory(0xc2085cf680, 0x0, 0x42ceb48, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/threads_darwin.go:73 +0xf8
github.com/derekparker/delve/proctl.(*ThreadContext).readMemory(0xc2085cf680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:915 +0xb7
github.com/derekparker/delve/proctl.(*ThreadContext).readString(0xc2085cf680, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:711 +0x1ee
github.com/derekparker/delve/proctl.(*ThreadContext).extractValueInternal(0xc2085cf680, 0x0, 0x0, 0x0, 0xc208031980, 0x41ac680, 0xc20868afc0, 0x1, 0x1, 0x0, ...)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:643 +0x70a
github.com/derekparker/delve/proctl.(*ThreadContext).extractValueInternal(0xc2085cf680, 0x0, 0x0, 0x0, 0xc208031980, 0x41ac680, 0xc20868af60, 0x1, 0x0, 0x0, ...)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:652 +0x9a7
github.com/derekparker/delve/proctl.(*ThreadContext).extractValueInternal(0xc2085cf680, 0xc208239f3f, 0x5, 0x11248a, 0xc20809b600, 0x41a5d00, 0xc20868d4a0, 0x1, 0x0, 0x0, ...)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:634 +0x15ea
github.com/derekparker/delve/proctl.(*ThreadContext).extractValue(0xc2085cf680, 0xc208239f3f, 0x5, 0x11248a, 0x0, 0x41a5d00, 0xc20868d4a0, 0xc2085fb701, 0x0, 0x0, ...)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:597 +0xb8
github.com/derekparker/delve/proctl.(*ThreadContext).extractVariableFromEntry(0xc2085cf680, 0xc20868d440, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:530 +0x55f
github.com/derekparker/delve/proctl.(*ThreadContext).variablesByTag(0xc2085cf680, 0x34, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:945 +0x238
github.com/derekparker/delve/proctl.(*ThreadContext).LocalVariables(0xc2085cf680, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/proctl/variables.go:366 +0x5d
github.com/derekparker/delve/command.info(0xc208032360, 0xc2085cfa30, 0x1, 0x1, 0x0, 0x0)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/command/command.go:283 +0x9cd
github.com/derekparker/delve/client/cli.Run(0xc20800a010, 0x1, 0x1)
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/client/cli/cli.go:114 +0xa9d
main.main()
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/cmd/dlv/main.go:52 +0x330

goroutine 5 [syscall]:
os/signal.loop()
        /usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:27 +0x35

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 8 [chan receive]:
github.com/derekparker/delve/client/cli.func·001()
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/client/cli/cli.go:82 +0x65
created by github.com/derekparker/delve/client/cli.Run
        /Volumes/Pouch/Users/russegan/dev/go/src/github.com/derekparker/delve/client/cli/cli.go:87 +0x616

Thanks, I was just able to reproduce this locally. Looks like an issue with cgo enabled programs (in your example, include net/http enables cgo).
I'll investigate this.

My friend and I hit this issue and debugged through it.  At least for all the cases we hit (both for 'info vars' and 'info locals') the underlying issue was always that it was drilling into an array of strings.  And it would blow up when one of the strings was nil (length == 0, ptr == 0).  The fix or workaround I used in my own copy of Delve is pretty straightforward.  Basically just return the empty string "" out of readString, rather than attempting to dereference a null pointer and construct a string struct at that bogus address.  I'm happy to generate a pull request if you like.  But I'm not (yet) set up to run tests with Delve so it might be a few days before I can get around to it.  What would you like me to do?
diff --git a/proctl/variables.go b/proctl/variables.go
index 4554bc4..f0735bf 100644
--- a/proctl/variables.go
+++ b/proctl/variables.go
@@ -693,6 +693,10 @@ func (thread *ThreadContext) readString(addr uintptr) (string, error) {
}
addr = uintptr(binary.LittleEndian.Uint64(val))

  if addr == 0 {

          return "", err

  }

  val, err = thread.readMemory(addr, strlen)
  if err != nil {
          return "", err

@bforsyth927 that looks like a pretty reasonable patch. If you submit a PR I'll merge it in.


Exclude tensorflow when depending on searchlib

See https://github.com/vespa-engine/vespa/pull/7744, this might not be necessary/correct anymore

Yes, this should be removed now.


Data tile BE: Transactions burning most steps by entrypoint ID

Feel free to join our telegram to get latest updates: https://t.me/+DYI4FMia43I1NDI8
Create an API endpoint in the https://github.com/walnuthq/starkflare-indexer backend repo that accepts two parameters: contract hash and entrypoint selector. The endpoint should return a list of transactions for the given contract and entrypoint, sorted by the number of steps consumed in descending order.
The returned data for each transaction should include:

Transaction hash
Number of steps consumed
Timestamp of the transaction

Follow the guidelines outlined in the starkflare-indexer repository. Note that this endpoint should be implemented separately from the get_common_data endpoint as it requires specific arguments.

Hey @mazurroman,
I would like to tackle this issue. Just wanted some references to understand the entrypoints and on which language is the backend going to be implemented in? Can you give some directions, so then I will be able to come up with a strategy to handle the task.

Hi, I will to take this up

Can I hop on this?

Hello! I would like to help with this one!
I think this issue can take me about 2 to 5 days to complete, exactly the time limit of the OD Hack!
I have over 3 years of experience as a software engineer and specially working with Golang,developing micro services and backend applications, I want to apply this knowledge in web3 and blockchain projects, on the other hand, this is my 2nd OD Hack,in the last one i contributed to Go projects for Nethermind

@mazurroman hi, you can call me David.
I am a software engineer experienced in building scalable solutions. I have experience building NodeJs solutions either with expressJs, NestJs or fastify. I have also work with different type of database both NoSQL and Relational Databases like Postgres, MySql and MSSServer using typerOrm.
To implement the API, I will do the following

I will be working in the indexer/src module which have more that one responsibility as it contains the account interface, the db congiguration for postgres, and the methods/functions to call.
I will create new folder and a file in the folder for interface and move the account interface there
create a new folder for the configs and create a file and move the postgres connection function there
import the interface and the config in the account-call.ts
Write a function to query the PostgreSQL database for transactions matching the provided contractHash and entrypointSelector, sorting the results by the number of steps consumed in descending order.
I will ensure that the response includes the transaction hash, number of steps consumed, and timestamp.
-create a new folder called controller and create a new route for the API endpoint that will accept contractHash and entrypointSelector as query parameters.
I will ensure that validation by add the validation middleware method checks the query parameters.
for the validator, I can use joi package to validate accordingly
I will make sure the newly created files and routes follow the existing project structure and guidelines outlined in the starkflare-indexer repository.
Thank you very much.

Assigning to @aweolumidedavid who provided the most detailed information on how to approach this issue

Apologies for a confusion here. @aweolumidedavid your comment is incorrect - you are suggesting to create a node.js endpoint; however, we state that we use PostgREST in the starkflare-indexer repo README
This issue remains open. @KeneePatel if you are up for it can you add instructions on how would you solve this issue, according to our contributor guidelines

@mazurroman I will like to give this another shot.
Following thex eisting structure of the codebase. I will solve this issue by doing the following:

I will add a new SQL Migration File by creating it the database/migration folder and I will used the name as follows 003_add_get_transactions_by_contract_and_entrypoint.up.sql
Next I will update the account-call.ts file because this file handles the data transformation for indexing and also ensure it aligns with the schema changes if necessary. No changes are needed here unless the schema or logic for storing data changes.

The sql code snippet look like this
CREATE OR REPLACE FUNCTION starkflare_api.get_transactions_by_contract_and_entrypoint(
contract_hash TEXT,
entrypoint_selector TEXT
) RETURNS TABLE (
tx_hash TEXT,
steps_consumed INTEGER,
timestamp TIMESTAMP
) AS $$
BEGIN
RETURN QUERY
SELECT
tx_hash,
steps_number AS steps_consumed,
to_timestamp(timestamp) AS timestamp
FROM
starkflare_api.account_calls
WHERE
contract_address = contract_hash
AND entrypoint_selector = entrypoint_selector
ORDER BY
steps_number DESC;
END;
$$ LANGUAGE plpgsql;
Finally, I am open to corrections and willing to learn. Thank you very much.

Hi everyone! Thank you for your interest in this issue. @KeneePatel, your comment lacks the specific info we need according to our contribution guidelines. We expect details about you, your relevant experience, and detailed technical instructions on how you plan to tackle the task.
I have assigned this issue to @aweolumidedavid based on their last comment, which provided the necessary information and understanding of the problem and solution.

Thank you very much, working on it right away @mazurroman @barabanovro

Hey @aweolumidedavid are you still working on this?
@barabanovro Following up on my work on #23 and #28 I'd like to tackle this one over the weekend if possible.

Hi @aweolumidedavid, I wanted to check in on the progress of this task. Could you please provide an update?

@barabanovro @mazurroman I hope this message finds you well. I regret to inform you that I am currently unable to complete the issue assigned to me due to unforeseen circumstances that have taken me away for a while. Given the importance of timely progress on this matter, I kindly request that the issue be reassigned to another team member @saimeunt who can continue the work without delay.
I value the work we are doing and remain committed to contributing effectively. Once I am back, I will be more than happy to pick up new issues and continue supporting our projects.
Thank you for your understanding and support during this time.

I'd like to tackle this issue for several reasons. Firstly, I have experience in developing RESTful APIs and working with some databases. Moreover, I've carefully reviewed the requirements of the problem and feel confident in implementing the API endpoint as specified. I'm committed to adhering to project guidelines and have the availability to efficiently complete this task. In summary, I believe I can effectively contribute to resolving this issue, and I'm excited about the opportunity to work on it.


component carousel behaves unexpectedly

I was browsing over the website and saw that the carousel component is not behaving as it should. Attaching a video to demonstrate:
https://github.com/shadcn-ui/ui/assets/76242518/698a3ffe-d19b-4ad6-ad59-12b91af0b817

Whenever we are switching from Default to New york, then the animation for first slide is getting lost, am I right?

https://stackblitz.com/edit/vitejs-vite-k4menh?file=src%2Fcomponents%2FCarousel.vue
Yes I have same issue in Vue too

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

For me the navigation buttons don't appear. Also only the first slide shows the card.. and then it becomes blank pages.


[suggestion] Move to postfix .inline

Dearest Maintainer,
Neat project. I hope to use it soon. I was playing with the command line tool and was confused by the error messages.
 time ./target/release/css-inline  --remove-style-tags --load-remote-stylesheets ~/trash/1MB.html
/home/becker/trash/1MB.html: FAILURE (No such file or directory (os error 2))

My file is there. what is not there is inlined./home/becker/trash/1MB.html. If you move to postfix it will work for absolute and relative paths.
Dictated but not reviewed.
Becker

Hello @sbeckeriv
Good catch! I definitely overlooked this behavior - prefix should only be applied to the filename itself :)

The fix was released in 0.6.0! :) Let me know if it solves the problem for you


Move the cumsum logic to _associative_scan

Moves the code used by cumsum to _associative_scan and changes the sum executed after pool to a general _reduce. This allows the implementation of methods like cummax (#7305, #6959) without the need to rewrite the cumsum logic.

stale, testing failing


[4Bmcyc2U] Fix ignored testGeocodeGoogle

Currently the tests, except for the "osm" one, are quite unusable.
In fact, the "opencage" tests are actually ignored due to this assumption,
so in order to run them, we should manually writ your own key instead of <YOUR_API_KEY>.
While the reverse "google" test is a false positive, as it returns (with an invalid/absent ket) an empty result and here the return result works even if it shouldn't.
There should be a assertTrue(row.hasNext()); before the foreach.
So to make these tests valid, I think the possible ways are:

delete these tests as we already have some mock tests (SpatialTest.java).

plan insertion in the CIs of some key, e.g. OPENCAGE_KEY and GOOGLE_KEY and write the tests like this, for example:

private static final String GMAPS_KEY = System.getenv("GMAPS_KEY");

// in @Before/@BeforeClass method
apocConfig().setProperty("apoc.spatial.geocode.google.key", GMAPS_KEY);

    @Test
    public void testGeocodeGoogle() throws Exception {
          Assume.assumeNotNull(GMAPS_KEY);
...

Ok thanks. I just created a card on this.

I think it makes sense to remove these at this time, I imagine we will have more issues with adding the Key etc, so am happy to approve this. Although can you make a low prio ticket on our board to add better test coverage for this at some time?


Removes writecon function from project (#300)

The writecon function is a holdover from v.2.0 where it was only used when the entire code base was compiled into a command line executable and not a library. It's continued presence was causing progress messages to appear in console apps whether or not the app developer wanted them or not. To accomodate the removal of writecon a new version of main.c was written for the runnable version of the library.

@michaeltryby please look into your regression test comparison method. The failing tests all had warnings in their status report with a blank line following. My original commit didn't have the blank line but the latest one does. Using a manual diff tool I cannot see any difference in the report produced by the benchmark and that produced from my latest commit. As an example I've attached the report file produced by my commit for the 2fcvs.inp file.
2fcvs.txt


eggnog: allow admins to set --dbmem

having the annotation DB on slow memory causes eggnog to be very inefficient in the annotation phase. For larger sequence databases to be processed we need to use more than 1 CPU .. and then the annotation phase is even more inefficient.
I hope that --dbmem can help here.

Dropped in favour of https://github.com/galaxyproteomics/tools-galaxyp/pull/676


Fix SemVer.ToString to handle v0 case

Since we are treating v0 versions as prerelease we need to make sure
we don't accidently start to add the bogus prerelease label in cases where
we call ToString() on the version.

This is a follow-up to https://github.com/Azure/azure-sdk-tools/pull/1972

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Needs download mirrors

Cassandra is downloaded from: https://github.com/pcmanus/ccm/blob/9dc7bea2467daa12c5b9b2fbcf64152027ac9fdc/ccmlib/repository.py#L26
But trouble is a-brewing!

To workaround it, I need to install git and build dependencies:
vagrant@blocks-kv:~$ /opt/venv-ccm/bin/ccm create -v 3.0.4 -n 3 blocks
WARN:Downloading 3.0.4 failed, due to Invalid version 3.0.4 (underlying error is: HTTP Error 503: Service Unavailable). Trying to build from git instead.
http://git-wip-us.apache.org/repos/asf/cassandra.git git:cassandra-3.0.4
Fetching Cassandra updates...
Cloning Cassandra (from local cache)
Checking out requested SHA/tag (cassandra-3.0.4)
Compiling Cassandra cassandra-3.0.4 ...
Deleted /home/vagrant/.ccm/repository/gitCOLONcassandra-3.0.4 due to error
Traceback (most recent call last):
  File "/opt/venv-ccm/bin/ccm", line 74, in <module>
    cmd.run()
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/cmds/cluster_cmds.py", line 158, in run
    cluster = Cluster(self.path, self.name, install_dir=self.options.install_dir, version=self.options.version, verbose=True)
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/cluster.py", line 63, in __init__
    dir, v = self.load_from_repository(version, verbose)
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/cluster.py", line 76, in load_from_repository
    return repository.setup(version, verbose)
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/repository.py", line 77, in setup
    clone_development(GIT_REPO, version, verbose=verbose)
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/repository.py", line 182, in clone_development
    compile_version(git_branch, target_dir, verbose)
  File "/opt/venv-ccm/local/lib/python2.7/site-packages/ccmlib/repository.py", line 330, in compile_version
    raise CCMError("Error compiling Cassandra. Is ant installed? See %s for details" % logfile)
ccmlib.common.CCMError: Error compiling Cassandra. Is ant installed? See /home/vagrant/.ccm/repository/last.log for details

ccm needs to use a proper CDN for package downloads.

:+1:

@parasyte Is there an existing ASF CDN you are aware of that I can point to? I do not know of one, and I am not personally setting up a CDN for C* package downloads. If you are relying on CCM to have higher availability than the ASF package download site, you may be using it wrong.

@ptnapoleon No, sadly I don't know of any existing CDNs for Cassandra. Even just dumping the archives into Amazon S3 would get around the issue.
Fortunately, I don't rely on ccm for anything. I just figured it would be a handy tool to get a dev cluster up quickly. It's just really frustrating when it doesn't work because ASF (of all organizations) can't even keep a bunch of disks online during maintenance.

Having a backup mirror would be nice, but for most usecases falling back to git is sufficient. Dumping to S3, or any other solution that we set up, would have a cost though, and that isn't something I'm prepared to incur.


Protect the main branch

I had a brain fart and committed AND PUSHED to the main branch when I intended to create a pull request. Protecting the main branch will defend us from ignoramuses like me.

It's good to keep this in mind. We're in a rapid development phase, so the pull requests would be a big impediment. Once we have a useful core and people can start working on separate features, however, we should enable this option.

I can't think of any reason that PRs slow things down.
They help with organizing.
I didn't feel limited with #2.

John and I were doing Live Share on VSCode and it seemed I was doing a lot of commits and pushes so John got the latest stuff. That was probably not the best workflow.

We've agreed to support multiple paths to commit code to this repo. We have no plans right now to protect any branches.


Typo "Jupyter notebooks"→"Jupyter Notebooks"

https://docs.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-jupyter-notebook-use-external-packages

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

@hyoshioka0128 Thanks for contributing to the documentation. This editorial revision isn't correct, so we'll close the PR. Because Jupyter Notebook is the name of an application, referring to "a Jupyter Notebook" isn't correct. Thanks.


Validation issues on checkboxes and select

Is there a documentation that specify how validation should be done for a list of checkboxes and select options?
I am having trouble triggering classnames base on if the checkboxes has no selection and also the select options has one value selected. It seems to be that the change event is not triggering when I do those two following. Mind you it works perfectly fine when I click the submit button it notes that it hasn't passed validation. It is only when I interact with it, it doesn't update.
Thanks

After further investigation, I noticed for checkboxes since I have the model value like 'user.checkbox[]' it doesn't update form state valid. Is there something that I need to do upon user selecting one or more checkboxes?
For select, it doesn't update the state valid when the user selects the first option which has value=''. I am checking on validation (val) => val !== undefined || val === '';

Solved the select validation by changing the logic of that and then everything worked. (val) => val !== '' && val !== undefined
As for checkbox still trying to figure out how validate as a whole group ... any tips would be helpful?
Thanks

@kkashou Put is as a form validator:
<Form model="user"
  validators={{
    'checkbox[]': val => val // must all be checked
  }}
>
  // ...
</Form>

You can have a validator that checks individual fields, e.g., 'users[].name': isRequired(name) to check each name of each user in users[]. Or you can just do it manually: checkbox: (vals) => vals.every(val => val)

Also can you put the original issue in a codepen? There might be an easier way to solve this.

Hmmm that didn't seem to work ... here is codesandbox https://codesandbox.io/s/8z49z2wopj
So it validates when you click submit, but when you check a checkbox then unselect it the validation doesn't happen and does not put a wrapping classname change. Just got to be able to select at least one checkbox per group.
Hopefully this helps.

Any possible solution for this?

Log the validation:
const validators = {
  required: () => {
    const fn = val => {
      console.log(val);
      return val !== "" && val !== undefined
    };
    fn.message = "Value is required.";
    return fn;
  }
};

You'll see that val is an array, could be empty ([]), could be full of values. So it'll never be "invalid". Since you are validating that model (which represents the array), you have to be more specific with your validation, e.g., check that val.length > 0 or something like that.
Let me know if that helps!

That's the thing I did try doing the val.length > 0 I was getting TypeError: Cannot read property 'length' of undefined. :/

Make sure it exists first. (val && val.length > 0)

Okay that validation seems to work but the parent class names doesn't get updated depending on scenario for example:
When you start clicking the checkboxes and unchecking it only the error messages shows up and the classname of the parent element doesn't switch. Right now I currently am checking valid and touch has been updated. Is there something else I need to look for with checkboxes?
Here is the link to see demo ... https://codesandbox.io/s/8z49z2wopj
Thanks,
Kevin

@davidkpiano - I know you closed this ticket but still not working how it should be. Any help would be appreciated.

Any ideas why ?

So I have converted this field to a control component and got the mapProps working. But is there a way to actually get that map to the parent content and update the class?
Here is the update example ... https://codesandbox.io/s/kxz6831wjr (inside the checkbox.js file)


打包出现依赖错误问题

版本号：
3.4.0版本
问题描述：
[ERROR] Failed to execute goal on project jeecg-system-local-api: Could not resolve dependencies for project org.jeecgframework.boot:jeecg-system-local-api:jar:3.4.0: Failure to find org.jeecgframework.boot:jeecg-boot-base-core:jar:3.4.0 in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :jeecg-system-local-api
Process finished with exit code 1
错误截图：

友情提示：

未按格式要求发帖、描述过于简单的，会被直接删掉;
描述问题请图文并茂，方便我们理解并快速定位问题;
如果使用的不是master，请说明你使用的分支;

通过parent install

是通过parent install的，它一直出现这个问题

先install core试试


Add a tag on StackOverflow (and a link to my question there)

I asked this on StackOverflow, but I couldn't add a tag for Requery. Can you (or someone with enough reputation), create it?

Unfortunately I'm not a big stackoverflow user so I don't have enough points to create it. Hopefully someone can!


ChromeDriver version 119: Started getting all the console logs in the results window when running Selenium automation scripts in headless mode

I am working on Selenium Python scripts and when running the script, I started getting the DevTools listening  message after updating the chrome browser to 119.0.6045.124
"DevTools listening on ws://<IP_ADDRESS>:53880/devtools/browser/ba02b787-bde2-46a5-8972-3a88b8ddfb06"
Please see the full details in this issue https://github.com/SeleniumHQ/selenium/issues/13095
This is very annoying. Please provide a solution ASAP

Hi @bhawna0612 this tool just download the Chromedriver. Please add the bug at https://bugs.chromium.org/p/chromedriver/issues/list


No type hints

I'm on pipenv using websockets 11.0.2 and there are no types to be found anywhere
import websockets

websockets.connect(...) # connect is typed as Any

Does this help? (It's a real question; I don't know if it will help.)
https://websockets.readthedocs.io/en/stable/faq/misc.html#why-does-my-ide-fail-to-show-documentation-for-websockets-apis

Yes! Thank you


Create README.md

Validate QoS interface output queue counters

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.374%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1314

Relevant Lines:
1841

💛  - Coveralls


Logging warning when mbean query doesn't match any mbeans

This change fixes #310.

NetflixOSS » servo » servo-pull-requests #9 SUCCESS
This pull request looks good

Thanks @sslavic .


Cargo clippy and cargo fmt in CI

[x] use this config
[ ] add cargo clippy and cargo fmt to the CI

Clippy reported too many false positives, so we decided to wait until it improves a little before putting it in the CI.

Hi, just do these two commands and make a pull request? If so I would like to take care of that

I'll work on this!

Hello @unvalley
Thanks for your interest in this project 🔥 You are definitely more than welcome to open a PR for this!
FYI, we prefer not assigning people to our issues because sometimes people ask to be assigned and never come back, which discourages the volunteer contributors from opening a PR to fix this issue.
We will accept and merge the first PR that fixes correctly and well implements the issue following our contributing guidelines.
We are looking forward to reviewing your PR 😊


Feature request - auto-tag refs on build pushes

Feature overview
Builds that are submitted to a namespace via a push or pull-request should be automatically tagged with the ref. This ref would be the ref of the repo a commit was pushed to, or the ref of the target repo in a pull-request.
Problem space
It can be handy to organize builds by the branches they were triggered from. Whilst Djinn CI has no concept of tying a build to an individual repo, you can instead tag the builds to categorize them, this however is arduous.
Additional context
This should perhaps be an optional thing that is configured during namespace creation.

Implemented this via Automatically tag builds with git ref , opted to not have this be configurable at the namespace level, this offers too much utility to be configurable, so should be a default.


JSON Formatter is not thread safe

When running Cucumber tests in parallel only the last RunCukes.java class to be executed writes to the json report. This is a problem for anyone that consumes the report downstream. @rexhoffman mentioned this would be easy to do.

in Gherkin library, they just need to move to google Gson, whivch is maintaining a ThreadLoacl, instead of their Gson, which uses a HashMap


Documentation for Universe

Do you think it would be helpful if I start a readthedoc for universe because I am scrolling through the source and besides the initial program written on the universe.openai.com page, there isn't any example code?  I would like to show examples of deep neural networks in a control-perception loop with a Universe game.  Any feedback?  I was thinking of using readthedocs or some github pages for universe.

http://github.com/openai/universe-starter-agent is a complete agent example.
If you're making a working agent, just publish it as a github repository.


Handle migration for dropping redundant indexes

Handle migration for the fix done to resolve https://github.com/wso2/product-is/issues/6177
Below indexes are dropped

REG_PATH_IND_BY_NAME
SYSTEM_ROLE_IND_BY_RN_TI
UUID_DM_UID

@Buddhimah can you verify this in latest version.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Aurora 41 does not boot from USB device

Describe the bug
I downloaded the current aurora-dx-stable yesterday, dded it onto my usb stick and bootet via the "try and install" option. The system seems to boot but the gui interface ends up at a gray screen.

On the external screen (DP via TB-dock) the screen stays gray eternally.
On the main laptop screen (without dock), the screen is gray for a few seconds until the installer launches, what is not what I want.

What did you expect to happen?
I want to boot the OS from usb.
Extra information or context
Syslog taken from TTY2.

This is not a live ISO. It can only install.

This is not a live ISO. It can only install.

So, then, why is there the distinction between Install aurora-dx 41 and Test this media & install aurora-dx 41?

Test this media tests the media for corruption through checksumming, that being undescriptive is an upstream issue


filter search

Hi, I really like the angular-lazy!
One problem, if I've a ngRepeat and use the search:

When the filter execute the search, the image still not loaded until I scroll the page.
Any idea if this is fixable ?

By using
$rootScope.$emit('lazyImg:refresh');
You can trigger lazy load to refresh. My problem is that I'm using that on a filtered search (so that each character searches. The search goes fast without it, but then the user has to scroll to get images to show up. But when I trigger this on change, there's a lot of lag. Not sure why.

After more than a year I think you've found solution : ) but I built simple demo with search /demo/search.html and by running $rootScope.$emit('lazyImg:refresh') images loads as expected.

FWIW, this approach is not working in my app. The filter filters items, but the images don't change; the one's originally there stay there.


Error about not having any crates with documentation

close https://github.com/rust-lang/cargo/issues/10194
Error about not having any crates with documentation.

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+
Thanks!

:pushpin: Commit 07843ed8fbc91034c8a9a4ad39303744e19e0054 has been approved by alexcrichton

:hourglass: Testing commit 07843ed8fbc91034c8a9a4ad39303744e19e0054 with merge b9bc3d1e86547847730ac472d2c26a8601befdcb...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing b9bc3d1e86547847730ac472d2c26a8601befdcb to master...


[bug] conflict exists in pid-limit config of a container in CLI and swagger.yml

Ⅰ. Issue Description
In swagger, there is the definition of PidLimit of Resource of a container :
      PidsLimit:
        description: |
          Tune a container's pids limit. Set -1 for unlimited. Only on Linux 4.4 does this parameter support.
        type: "integer"
        format: "int64"
        x-nullable: false
        x-omitempty: false

There it say that -1 for unlimited.
While in the https://github.com/alibaba/pouch/blob/master/cli/common_flags.go#L100, we have
	flagSet.Int64Var(&c.pidsLimit, "pids-limit", 0, "Set container pids limit")

The default value is 0. Are the 0 and -1 conflict.
In my opinion, the default value should be -1 for ulimited.
WDYT? @Ace-Tang

Any update? @Ace-Tang

Sure, update soon


fix(rpc): add getBalance in demo

Codecov Report

Merging #50 (936ace9) into main (319e1e5) will increase coverage by 9.79%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
+ Coverage   43.07%   52.87%   +9.79%
==========================================
  Files          43       20      -23
  Lines        2340      418    -1922
  Branches       67       21      -46
==========================================
- Hits         1008      221     -787
+ Misses       1332      197    -1135

Impacted Files
Coverage Δ

...cts/types/src/generated/force_bridge_lockscript.rs

...contracts/lib/bridge-lockscript-lib/src/adapter.rs

...tracts/types/src/generated/recipient_typescript.rs

...tracts/lib/recipient-typescript-lib/src/actions.rs

...-contracts/lib/recipient-typescript-lib/src/lib.rs

...dules/ckb-contracts/tests/src/utils/case_runner.rs

...tracts/lib/recipient-typescript-lib/src/adapter.rs

...ules/eth-contracts/contracts/libraries/Address.sol

...contracts/lib/recipient-typescript-lib/src/test.rs

...th-contracts/contracts/libraries/MultisigUtils.sol

... and 13 more

Continue to review full report at Codecov.

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


Some SVG contains name space which are invalid in js/jsx

Hello,
awesome tool, I love it! I have an issue with some SVGs though.
tl;dr Some SVG contains name space which are invalid in js/jsx
tl;dr: https://stackoverflow.com/questions/59820954/syntaxerror-unknown-namespace-tags-are-not-supported-by-default
Cheers! 🍺

Hello @praisethemoon
Thank you for used this tools.
Could you give me the name of svg that related with issue your mentioned or packages name in  packages/@chakra-icons  ?
Thank you

Thanks for your reply,
It is a custom SVG, I have attached it below.
I think it is easy because the format x:y almost always end-up x:Y (first letter being upper case)  in jsx, no?
SVG 👇

Cheers!


[Regression] show command should more gracefully handle/fail queries that fail to execute

Describe the feature
I'm noticing that #8166 is happening again on dbt-core==1.7.11 with multiple adapters.
If as user calls dbt show on a model or inline-query that the underlying data platform does not like, dbt should quit and return the database error. Instead, show continues, which results in an stack trace resulting from dbt trying to call Agate.Table.print_table() on a None.
The undesirable behavior is consistent across both the --inline and -s some_model usage patterns.
Reproducible Example
input
# notice `SLECT`'s missing `E`
 dbt show --inline "SLECT 1 as my_col"

output
14:25:25  Running with dbt=1.7.11
14:25:26  Registered adapter: snowflake=1.7.3
14:25:26  Unable to do partial parsing because config vars, config profile, or config target have changed
14:25:26  Unable to do partial parsing because a project dependency has been added
14:25:27  Found 6 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 430 macros, 0 groups, 0 semantic models
14:25:27
14:25:28  Concurrency: 10 threads (target='snowflake')
14:25:28
14:25:29  CANCEL query sql_operation.jaffle_shop.inline_query ............................ [CANCEL]
14:25:29
14:25:29    Database Error in sql_operation inline_query (from remote system.sql)
  001003 (42000): SQL compilation error:
  syntax error line 3 at position 8 unexpected 'SLECT'.
14:25:29  Encountered an error:
'NoneType' object has no attribute 'print_table'
14:25:29  Traceback (most recent call last):
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 91, in wrapper
    result, success = func(*args, **kwargs)
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 76, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 169, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 198, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 245, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 278, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/cli/main.py", line 418, in show
    results = task.run()
              ^^^^^^^^^^
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/task/runnable.py", line 521, in run
    self.task_end_messages(result.results)
  File "/Users/dataders/miniforge3/envs/dbt/lib/python3.11/site-packages/dbt/task/show.py", line 93, in task_end_messages
    table.print_table(output=output, max_rows=None)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'print_table'

Describe alternatives you've considered
Perhaps there's a try-catch that if there's a database error and no ResultSet is returned, then dbt show can return/print an empty Agate table? or even a table with the database error in it?
Who will this benefit?
All users of dbt show as well as users of downstream tools that make use of the same.
Are you interested in contributing this feature?
No response
Anything else?
No response

@dataders are you still seeing this issue in dbt 1.7 or 1.8?
I wasn't able to reproduce this with Python 3.10.10 and the same versions of dbt-core and dbt-snowflake as you -- here's what I got instead:
(dbt_1.7) $ dbt show --inline "SLECT 1 as my_col"
23:20:10  Running with dbt=1.7.11
23:20:12  Registered adapter: snowflake=1.7.3
23:20:12  Found 1 model, 1 seed, 0 sources, 0 exposures, 0 metrics, 430 macros, 0 groups, 0 semantic models
23:20:12
23:20:13  Concurrency: 10 threads (target='snowflake')
23:20:13
23:20:14  Encountered an error:
Runtime Error
  Database Error in sql_operation inline_query (from remote system.sql)
    001003 (42000): SQL compilation error:
    syntax error line 3 at position 8 unexpected 'SLECT'.
(dbt_1.7) $


How to only allow one user input section from showing?

Hi. For example, clicking on "text color" and "background color" will display hidden sections for user input. How can all other sections be hidden again each time another one is clicked?

I can trigger javascript to show/hide or display none/block. But there is another tracker somewhere, so even if it closes the other hidden sections, it sometimes still needs another click to display the expected section


Increase timeout [Task - Archive docker image]

Problem with task: Archive docker image
The pipeline is failing https://github.com/fredrikhgrelland/terraform-nomad-hive/pull/1/checks?check_run_id=1036134913#step:8:402
Each run failures happens in different workflows.
@fredrikhgrelland have a theory that it due to slow I/O which can be reason reaching timeout.
Potential solution
Increase timeout from 60s to 120s.

increse http_timeout 60 -> 120


Certain mask combinations wiping input

Reproduction
https://formkit.link/eda391a3d61e193639a7ed4b214de767
Describe the bug
Hey again :)
This is a follow on from: https://github.com/formkit/formkit/issues/677.
The fix there overcame the issue at hand, but since updating there's another problem: entering more than three digits sees the field wipe itself.
Replicated nicely in the attached playground - only seems to happen using a schema rather than on page components.
Any ideas?
Environment
• OS: Mac Ventura 13.3.1
• Browser: Chrome
• Chrome version: 113
• Formkit version: 0.16.5

Thanks! This is fixed in @next 👍


Error compiling android export templates - windows 7 and MinGW

Godot version:

3.0.2 (source)
OS/device including version:

Windows 7 64bit
python 3.5
scons 3.0
Issue description:

Encountered error compiling android export templates with firebase module. compiles successfully on linux
scons: Reading SConscript files ...
MSVC not detected (no VCINSTALLDIR environment variable), attempting MinGW.
Building for Android (armv7) (with NEON)
Using NDK unified headers
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] ←[91mLinking Static Library ←[95m==> ←[93mmodules\libmodules.android.opt.armv7.neon.a←[0m
scons: *** [modules\libmodules.android.opt.armv7.neon.a] The filename or extension is too long
scons: building terminated because of errors.

Steps to reproduce:
Compile export templates in windows

Possibly same issue as #3443 #3265 #6844

Moving C:\Program Files (x86)\Android\android-sdk directory to C:\Android\android-sdk (and fixing PATH's after the operation) helped me solve this problem.

Can anyone still reproduce this bug in Godot 3.2.1 or any later release (e.g. 3.2.2-rc1)?

Closing due to lack of update. Please comment if you can still reproduce this issue in the latest stable version of Godot.

I meet this bug in Godot 3.4 with godot voxel module.
[ 60%] Compiling ==> scene\3d\portal.cpp
[ 60%] Linking Static Library ==> modules\libmodules.android.opt.armv7.neon.a
scons: *** [modules\libmodules.android.opt.armv7.neon.a] 文件名或扩展名太长。
scons: building terminated because of errors.
[Time elapsed: 00:03:20.369]

Moving C:\Program Files (x86)\Android\android-sdk directory to C:\Android\android-sdk (and fixing PATH's after the operation) helped me solve this problem.

This method helped me solve this problem too.


Build fails on Loading Steam API

Bug description
In the uploading build step, steam API fails to load which causes cascading failures
How to reproduce
Push to master, and let action run. reports failed after a couple seconds.

Expected behavior
build is pushed to steam
Additional details
my action has a deploy to steam job with the build linux and windows jobs set as needs:
the builds complete normally, and then it starts the steam deploy as expected.
the deploy to steam task fails in the "upload build".
code:
Redirecting stderr to '/home/runner/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
-- type 'quit' to exit --
Loading Steam API...KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
OK
KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
Logging in user '***' to Steam Public...KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
FAILED (Service Unavailable)

Error Log
Redirecting stderr to '/home/runner/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
-- type 'quit' to exit --
Loading Steam API...KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
OK
KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
Logging in user '***' to Steam Public...KeyValues Error: LoadFromBuffer: missing {   (current key: '***') in file InstallConfigStore [offset: 153]

src/tier1/KeyValues.cpp (2973) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
FAILED (Service Unavailable)

yml actions file
name: Build project

on: [push]

jobs:
  buildForWindows:
    name: Build for Windows
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
          lfs: true
      - uses: actions/cache@v2
        with:
          path: Library
          key: Library-StandaloneWindows64
          restore-keys: Library-
      - uses<EMAIL_ADDRESS>        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
        with:
          targetPlatform: StandaloneWindows64
          buildName: debris_field_PC
          versioning: Semantic
      - uses: actions/upload-artifact@v2
        with:
          name: debris_field_PC
          path: build/StandaloneWindows64

  buildForLinux:
    name: Build for Linux
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
          lfs: true
      - uses: actions/cache@v2
        with:
          path: Library
          key: Library-StandaloneLinux64
          restore-keys: Library-
      - uses<EMAIL_ADDRESS>        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
        with:
          targetPlatform: StandaloneLinux64
          buildName: debris_field_linux.x86_64
          versioning: Semantic
      - uses: actions/upload-artifact@v2
        with:
          name: debris_field_linux.x86_64
          path: build/StandaloneLinux64

  deployToSteam:
    needs: [buildForWindows, buildForLinux]
    runs-on: ubuntu-latest
    steps:
      - uses: game-ci/steam-deploy@v1
        with:
          username: ${{ secrets.STEAM_USERNAME }}
          password: ${{ secrets.STEAM_PASSWORD }}
          configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
          ssfnFileName: ${{ secrets.STEAM_SSFN_FILE_NAME }}
          ssfnFileContents: ${{ secrets.STEAM_SSFN_FILE_CONTENTS }}
          appId: 651940
          buildDescription: Beta v3.1.0
          rootPath: build
          depot1Path: StandaloneWindows64
          depot3Path: StandaloneLinux64
          releaseBranch: beta

I had a very similar issue yesterday, it turns out I had unpublished depot changes in steamworks. After publishing everything the problem went away for me.

I noticed this issue with the workflow as put in the description: Your steam-deploy job doesn't download the artifacts.
You need to download the artifacts.
See how the download action is used here: https://game.ci/docs/github/deployment/steam


Is manually calling TelemetryClient.Flush (or FlushAsync) necessary for custom metrics?

List of NuGet packages and version that you are using:
Microsoft.ApplicationInsights.WorkerService 2.18.0
(I also tried using the Microsoft.ApplicationInsights.AspNetCore 2.18.0 nuget package with the same results)

Runtime version (e.g. net461, net48, netcoreapp2.1, netcoreapp3.1, etc. You can find this information from the *.csproj file):
.net 5

Hosting environment (e.g. Azure Web App, App Service on Linux, Windows, Ubuntu, etc.):
IIS Express on Windows 10, stand-alone Kestrel on windows server version 2004 VMs

What are you trying to achieve?
Send custom metrics using the AI SDK. Have these custom metrics appear under both the log-based metrics and time-series metric view in the "Metrics" tab of the AI Azure UI.
What have you tried so far?
The behavior I am seeing is that the custom metrics always show under the log-based metrics, but will only show as time-series custom metrics under their custom namespace if I periodically call Flush or FlushAsync on the TelemetryClient. I am logging this issue to understand if this is intended behavior or not? Seemingly all of the documentation I have read suggests you don't need to manually invoke a flush expect on application shutdown.
How I am configuring DI:
services.AddSingleton(typeof(ITelemetryChannel), new ServerTelemetryChannel());
services.AddApplicationInsightsTelemetryWorkerService();

How I am sending the custom metric using an injected TelemetryClient
new MetricIdentifier("customMetricName", "customMetricNamespace", "customMetricDimension");
_telemetryClient.GetMetric(id).TrackValue(1, "a");

When doing this without calling flush I only see the metrics appear here (and in the log explorer customMetrics table), regardless of how long I leave the application running or wait for the time-series metrics to appear in the portal:

If I setup a timer and periodically call flush every 60 seconds or so then I begin seeing the custom metrics namespace and the metric here:

Below is a very simple dotnet new webapi app that I added AI to when testing this out. AiHostedService is an added IHostedService that receives the TelemetryClient via DI and sends metrics using a few timers.
ai-console.zip

There is no need for flushing explicitly, unless the worker app itself is being shutdown.
(If you run the app under visual studio, you should be seeing the customMetric in the VS Debug windows once every minute, without any flush.)
Application Insights Telemetry sample (just portions of it): {"name":"AppMetrics",...."ai.internal.sdkVersion":..."ns":"MetricNamespace","name":"MyMetric","kind":"Aggregation","value":6,"count":6,"

Seemingly all of the documentation I have read suggests you don't need to manually invoke a flush expect on application shutdown.

This is correct.