change shell to /bin/sh in user_add tests to fix aix

:+1:

cc @chef/client-aix @chef/client-core

:+1:


CRF loss function

CRF loss function is used in models for sequential labeling task.

Bidirectional LSTM-CRF

http://arxiv.org/abs/1508.01991

Bidirectional LSTM-CNNs-CRF

http://arxiv.org/abs/1603.01354

fixed via #1092


Change link to Natural Language Classifier CLI from readme

link to http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/nl-classifier/get_start.shtml

fixed in: d4dc22c3196a14dfc5dd9367fc46cbae313a7a35


Update

`youtube-dl -U
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: youtube-dl's self-update mechanism is disabled on Debian.
Please update youtube-dl using apt(8).
See https://packages.debian.org/sid/youtube-dl for the latest packaged version.
`
1.) Ubuntu 20.04 is not Debian.
2.) Repository is old. On ubuntu repository is version from march 2020. Disabled update is bad.
3.) Debian: su -c 'curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl ' , this is no problem.

https://github.com/ytdl-org/youtube-dl#how-do-i-update-youtube-dl


All semver prefixes that start with "v"

:tada: Happy New Year!
I realize this is a special case, but rake release and many other Ruby-related tools automatically prefix a "v" onto tags.
This also raises a more semantic error when a match fails in the version_composition (otherwise it's a fun "undefined method :[] for nil").
/cc @schisamo @danielsdeleo

yeah berks and some other projects use this.  LGTM.

I don't know why that timeout is happening on Ruby 2.1, but it looks like a fluke to me...

@lamont-granquist okay. re-ran. It looks like the checksums for ChefDK changed?

i'm not sure what is up with that.

@lamont-granquist it looks like it was something weird with bzip2. I verified locally and the checksum has, in fact, changed for that version. It's also super super slow to download (even via a browser). Maybe their servers are having problems? I switched to zlib instead and added a progress bar.
Since the tests are now green, I'm gonna merge this in :smile:


Creating ics20 channel results in "broadcasting transaction failed with code 1 (codespace: undefined)"

In the process of trying to relay between Sentinel and Osmosis, I run into "broadcasting transaction failed with code 1 (codespace: undefined)". Here are the steps I took:

npm i -g @confio/relayer@main (on July 2nd 2021)
ibc-setup init
Edited registry.yaml with information for sentinelhub-2 and osmosis-1 chains. It looks like:

  sentinelhub-2:
    chain_id: sentinelhub-2
    prefix: sent
    gas_price: 0.1udvpn
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    rpc:
      - XXX
  osmosis-1:
    chain_id: osmosis-1
    prefix: osmo
    gas_price: 0.0uosmo
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    rpc:
      - XXX

I left out the rpc addresses for privacy. They shouldn't be problematic, as I tried using the hermes relayer with those rpc addresses and that worked fine.
3) Ran ibc-setup init --src sentinelhub-2 --dest osmosis-1
4) The generated app.yaml looks fine (has src: sentinelhub-2, dest: osmosis-1, and mnemonic. I funded both accounts at the generated mnenomic.
5) Ran ibc-setup ics20 -v.   Log: internal {"stack":"Error: Broadcasting transaction failed with code 1 (codespace: undefined). Log: internal\n    at SigningStargateClient.broadcastTx (/usr/lib/node_modules/@confio/relayer/node_modules/@cosmjs/stargate/build/stargateclient.js:209:19)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)"}

I also tried ts-relayer v0.1.4, same result.
I realized later that for my usecase I don't actually want to create a new path, and to use an existing channel instead, but anyway the above error probably shouldn't happen.

Can you please send me a link to the current version of the code deployed for sentinel and osmosis. So I can see what version of the Cosmos SDK they are based on.

I see, I'm not sure what Cosmos SDK version they're on, but the Github and binary versions the networks are using currently are:
Sentinel: https://github.com/sentinel-official/hub (version 0.7.0)
Osmosis: https://github.com/osmosis-labs/osmosis (version 1.0.1)

Hmmm... both of those projects have forked the SDK. After v0.42.4, so in theory they are compatible. But I have no idea what they changed.
https://github.com/sentinel-official/hub/blob/v0.7.0/go.mod#L23
https://github.com/osmosis-labs/osmosis/blob/v1.0.1/go.mod#L32
Maybe I should make a note that projects that fork the SDK are using the relayer at their own risk. I am happy to investigate more if this happens with un-forked cosmos sdk on both sides.

Seems old. Closing


Who is this company : winuwp ? Install from the microsoft Store

Hi,
i found your software via the Micro$oft  store as a free application made by a company named winuwp.

Is it you ?

your software is pretty good even if i met an issue about ffmpeg but i open another issue ticket for this.
Thanks for your answer.

Confirmed.  Thanks for posting about that.  Added a note to the illegal rebrand thread that you posted to.


To add a calculator for sum of the series 1+11+111+1111+….. upto n terms

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018


Add cleanUpForTest() and a test

Fixes #781. This adds a new cleanUpForTest() method that users should call in their jest afterEach() hooks.

I don't think this will handle cases where we expect multiple fetches to happen within one test with dedupingInterval set to 0.


Gender by DOB, turn lines on and off?

Can Bokeh add a button that allows you to "turn on" and "turn off" different lines, so users don't have to compare six lines at once?

Now we only have four lines. So, low priority status is maintained.


Directly saving at google drive, not saving as a local file.

Hello! I'm using this on VPS where space is highly limited. How can I download files directly to google drive rather than saving them on my vps disk? Thank you so much!

See issue #133


⚠ Bofrost.de has degraded performance

In 6508ccc, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1724 ms

Resolved: Bofrost.de performance has improved in 6b15a63.


Run test and lint scripts on Node.js v14

Package

all packages

@kintone/***

Why

Node.js v14 is the recommended version for most users, so we should run tests on CI with the version.
What

Add Node.js v14 as a target version to run tests on CI
Update the Node.js version to run lint scripts on CI from v12 to v14

Fixed by #746


fix(executor): Fixed waitMainContainerStart returning prematurely. Closes #4599

Checklist:

[x] My organization is added to USERS.md.

Issue: #4599
Fixed waitMainContainerStart returning when main container is still in waiting state. The assumption that container is started on the presence of ContainerID is not correct. See bug #4599 for pod state example.

LGTM

Merged into https://github.com/argoproj/argo/releases/tag/v2.12.0-rc4


nsqadmin: more ephemeral topic deletion issues

another missed URL encoding...
ping #522 cc @PolyviosT

RFR @jehiah


Lierdakil: Defer Activation Hooks

Fixes #8692
Fixes #8313

This PR fixes merge conflicts for #8692. #8692 fixes a bug with the following scenario:

Open a file (e.g. sample.js)
Close Atom
Open Atom (observing that sample.js is open)
A package with an activationHook of language-javascript:grammar-used is not activated

LGTM on the original PR.

Thanks @lierdakil and @joefitzgerald. Sorry this took so long to merge.


Load user module order

I got a bug when require my module:
Have 3 modules with order:
+chat
+mysql
+user
chat and user require mysql bolt, user use mysql normal but chat got a null

Yes, that is the issue.
useApplicationModules doesn't figure out your dependencies. In the past, we would specify the list of dependencies manually, and make sure we don't forget to add them (and make sure to keep them in the right order).
As you can imagine, this is terribly prone to error :)
The solution is simple: instead of accessing modules from the mage root object, simply require/import them directly:
const mysql = require(`../mysql`)

This way you will always load the dependency correctly - and as a bonus it deals with most circular dependency cases.

thanks for your support!


Fix license file

LICENSE should contain the notice, rather than raw Apache 2.0 license text.
Fixes #544.

Codecov Report

Merging #545 (8dd8461) into main (4de611a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #545   +/-   ##
=======================================
  Coverage   93.82%   93.82%
=======================================
  Files          81       81
  Lines        7622     7622
=======================================
  Hits         7151     7151
  Misses        363      363
  Partials      108      108

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


fix: rollback direct tv hotfix

(No Ticket)
Rolling back a hotfix needed for DirectTV

/hotfix

hotfix-v1.27


Make META Connection pool configuration service-specific

Currently, ZO_META_CONNECTION_POOL_MIN_SIZE and ZO_META_CONNECTION_POOL_MAX_SIZE configuration are a global ones, which means that the same value would be used by all Openobserve components.
Sometimes this is not convenient and having per service control over these env variables.

You can assign it to me if it makes sense


[SPARK-50098][PYTHON] Upgrade the minimum version of googleapis-common-protos to 1.65.0

What changes were proposed in this pull request?
This PR aims to upgrade the minimum version of googleapis-common-protos from 1.56.4 to 1.65.0 for Apache Spark 4.0.0.
Why are the changes needed?
1.56.4 is too old (released on 2022-07-12) and incompatible with the last protobuf related libraries. We had better upgrade this to the latest versions in order to support the latest Python and protobuf versions in Apache Spark 4.0.0 on February 2025.

https://pypi.org/project/googleapis-common-protos/1.65.0/ (2024-08-27)
https://pypi.org/project/googleapis-common-protos/1.64.0/ (2024-08-26)
https://pypi.org/project/googleapis-common-protos/1.63.0/ (2024-03-11)
https://pypi.org/project/googleapis-common-protos/1.62.0/ (2023-12-07)
https://pypi.org/project/googleapis-common-protos/1.61.0/ (2023-10-21)
https://pypi.org/project/googleapis-common-protos/1.60.0/ (2023-07-31)
https://pypi.org/project/googleapis-common-protos/1.60.0/ (2023-07-31)
https://pypi.org/project/googleapis-common-protos/1.59.0/ (2023-03-21)
https://pypi.org/project/googleapis-common-protos/1.58.0/ (2023-01-09)
https://pypi.org/project/googleapis-common-protos/1.57.0/ (2022-11-15)

Does this PR introduce any user-facing change?
No behavior change.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Thank you, @huaxingao !


MODORDERS-439 Implement re-encumber orders logic

https://issues.folio.org/browse/MODORDERS-439
Verified on folio-testing:

Verified on testing


Performance issue in the definition of CudnnGRU, deeppavlov/models/squad/utils.py(P1)

Hello, I found a performance issue in the difinition of CudnnGRU, deeppavlov/models/squad/utils.py, tf.expand_dims will be called repeately during the program execution, resulting in reduced efficiency. So I think init_bw  should be created before the loop.
The same issue exists in here.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

@IgnatovFedor Hi, friend, could you deal with the issue asap?

Last TF components were removed in #1574. After 1.0.0 release only pytorch-based NN models will remain in the library.


How to make /etc/containers persistent after a restart

I need to add registries and insecure registries to podman conf, but after a podman-machine restart box I lose the configuration.
Is there any way to make it persistent across restarts?
A solution I'm working on is to mount a host folder as /etc/containers but it would be great to have an official solution on the readme

There is a script /opt/bootsync.sh in TCL, where you can do such things
Actually there are two, but that is more for if you want to do slow things.
#!/bin/sh
# put other system startup commands here, the boot process will wait until they complete.
# Use bootlocal.sh for system startup commands that can run in the background
# and therefore not slow down the boot process.

Rebuilding the image is also an option, add links/mount like we do for other things.


New syntax highlighting

This PR replaces old TextMate XML based basic syntax highlighter with feature-rich parser in modern YAML format. Extensive testing ensures everything will keep working correctly in case of further changes.
Syntax definition file is more than 2.2k lines long, but about half of it is just about support scopes for builtin enums and functions. Tests are slightly more than 1k lines, and some further negative testing (verifying how parser would behave with broken syntax) would be welcome.
Scoping and GoTo rules should be further customized, which is a topic for another discussion.
In its current state I consider the parser feature-complete and production-ready. It's worth publishing it now, to collect feedback while polishing scopes, adding more snippets and working on LSP integration etc.

…and removed special "support" for browser- and node-specific global objects such as window.

Added support for annotated method return types.

Add support for property interceptors on grouped properties.

Fixed object id when it's followed by an object's closing brace on the same line.

Fixed object id that starts with underscores.

Fix: default property alias is a perfectly legal combo.

Replaced forgotten TODOs with actual asserts (rules for which were implemented later).

Added support for function-like signal handlers in Connections (#11)

Added support for annotations.
See also: https://codereview.qt-project.org/c/qt/qtdeclarative/+/288211

Added support for interceptors on attached properties.

Added support for qmldir files.

Added some basic GoTo support, preferences for code indentation and folding. Marked non-essential files with export-ignore in gitattributes.

Added enums of Component type from QtQml module and PointerHandler type from QtQuick module.
…and with that i consider it done and long overdue.  Merging.


Monitoring NT calls in FileMon Example

Beginner Question! - Didn't know where else to post this,
After going through the C# tutorials I wanted to try my own modifications but am hitting a wall.
I would like to modify the filemon example to include monitoring a call from nt.dll, but the function doesn't seem to get hooked. I'm not sure if this task needs to be done in C++, but I couldn't get a definitive answer from looking through the other issues. (@alvin-nt had a very similar problem but that solution didn't help me much)
Starting from the filemon example, I  created a new hook:
 //NTDeviceIoControlFile https://msdn.microsoft.com/en-us/library/ms648411(v=vs.85).aspx
var NtDeviceIoControlFileHook = EasyHook.LocalHook.Create(
EasyHook.LocalHook.GetProcAddress("nt.dll", "NtDeviceIoControlFile"),
new NtDeviceIoControlFile_Delegate(NtDeviceIoControlFile_Hook),
this);

then activate it on all threads:
 NtQuerySystemInformationHook.ThreadACL.SetExclusiveACL(new Int32[] { 0 });

at the end of the injection entrypoint I dispose of this hook the same as createfile/readfile/writefile.
Then down where the hooks are defined, I set my delegation, original and hooked functions like so:
         /// The NtDeviceIoControlFile delegate, this is needed to create a delegate of our hook function.
        [UnmanagedFunctionPointer(CallingConvention.StdCall,
                    CharSet = CharSet.Unicode,
                    SetLastError = true)]
        delegate int NtDeviceIoControlFile_Delegate(
                     IntPtr FileHandle,
                    IntPtr Event,
                    IntPtr ApcRoutine,
                    IntPtr ApcContext,
                    out IntPtr IoStatusBlock,
                    uint IoControlCode,
                    IntPtr InputBuffer,
                    uint InputBufferLength,
                    out IntPtr OutputBuffer,
                    uint OutputBufferLength);

        /// Using P/Invoke to call original method.
        /// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx
        [DllImport("nt.dll",
            CharSet = CharSet.Unicode,
            SetLastError = true, CallingConvention = CallingConvention.StdCall)]
        static extern int NtDeviceIoControlFile(
                    IntPtr FileHandle,
                    IntPtr Event,
                    IntPtr ApcRoutine,
                    IntPtr ApcContext,
                    out IntPtr IoStatusBlock,
                    uint IoControlCode,
                    IntPtr InputBuffer,
                    uint InputBufferLength,
                    out IntPtr OutputBuffer,
                    uint OutputBufferLength);
        /// The NtDeviceIoControlfile hook function. This will be called instead of the original deviceiocontrolfile once hooked.
         int NtDeviceIoControlFile_Hook(
                    IntPtr FileHandle,
                    IntPtr Event,
                    IntPtr ApcRoutine,
                    IntPtr ApcContext,
                    out IntPtr IoStatusBlock,
                    uint IoControlCode,
                    IntPtr InputBuffer,
                    uint InputBufferLength,
                    out IntPtr OutputBuffer,
                    uint OutputBufferLength)
        {
            //Do the redirected commands..
            try
                    {
                        lock (this._messageQueue)
                        {
                            if (this._messageQueue.Count < 1000)
                            {
                                // Add message to send to FileMonitor
                                this._messageQueue.Enqueue(
                                    string.Format("[{0}:{1}]: NTDeviceIoControlFile",
                                    EasyHook.RemoteHooking.GetCurrentProcessId(), EasyHook.RemoteHooking.GetCurrentThreadId() ));
                            }
                        }
                     }
            catch
            {
                // swallow exceptions so that any issues caused by this code do not crash target process
            }
            // now call the original API...
            return NtDeviceIoControlFile(FileHandle,Event,ApcRoutine,ApcContext,out IoStatusBlock,IoControlCode, InputBuffer,InputBufferLength, out OutputBuffer,OutputBufferLength);
        }

This doesn't seem to work. The program will compile and hook the createfile/readfile/writefile trifecta fine, but will hang on my create hook. I would like to know if this is the right approach, and something is just wrong, such as my function definition (uint where an IntPtr should be?/ implement NTSTATUS type?) or this needs to be done in a drastically different way.
Any help is appreciated!

@elobato92 I think you mean "ntdll.dll" not "nt.dll".

I will never. Ever. Live this one down.
Thank you so much @spazzarama!!


Codeunit 5051 SegManagement - new event request OnBeforeLogDocument

Hello,
Please add a new event publisher in the function LogDocument:
  begin
        InteractTmplCode := FindInteractTmplCode(DocumentType);
	OnBeforeLogDocument(InteractTmplCode,Attachment); // ++
        if InteractTmplCode = '' then
            exit;

        InteractTmpl.Get(InteractTmplCode);
.....

    [IntegrationEvent(true, false)]
    local procedure OnBeforeLogDocument(var InteractTmplCode: Code[10]; var Attachment: Record Attachment)
    begin
    end;

Thank you!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Make spacevim as a vim distribution?

I have create a SpaceVim github org, and SpaceVim/SpaceVim repo, and the init distribution was just split from my own config, and it support layer by default.
what do you think make spacevim as a distribution instead of just a plugin?

@ctjhoa BTW, ALL the code now is in dev branch, if all things done, I will merge it into master branch.

@wsdjeg
Sorry I don't have a lot of time to handle this project lately. I take a closer look at your vim distribution and I don't think we have the same goals.
Mine is to provide spacemacs shortcuts inside vim only because I was frustrated switching from emacs to vim.
Your project has a larger scope with different target (neovim) and define its own key bindings.
To conclude, I find your project too intrusive but it's great to see diversity.
Thanks anyway.

@ctjhoa Thanks for your reply. but I think we have same goals. I have implement spacemacs like layer feature. as I said before, vim has different way to load files, :source command is not recommend, I use autoload feature.
:source will effect the name space of vim's rtp. BTW, we should use autoload functions instead of global func just like Layer() or UserInit(), these functions maybe used by other plugins. But I think SpaceVim#Layer() will only be used by SpaceVim, It will be more safe!
now My main work is makking SpaceVim support leader guide. I will implement this feature in two ways:

Use unite menu show all the mappings and description. user can fuzzy find mapping by key sequence or description, and type Enter to execute this mapping.
Use vim-leader-guide, in this way, the guide will be open everytime when user type Leader. As I can say, I do not like this way, because most of the mapping the user can remember them, I do not think them need the guide everytime. I like the first way, the guide will not effect user's typping, but when user need, they can open the menu themself.

@wsdjeg I think you're talking about liuchengxu/space-vim.
I don't source any file and don't have any Layer or UserInit functions.

@ctjhoa yeah, I am talking about space-vim, I have read the code of space-vim, but I do not like that type.

As a note, I actually prefer the keymapping layout as done here and in spacemacs. I tried using SpaceVim and the keys didnt always work for me (could have been my setup). But I still prefer command entry done on here.

@autoferrit Thanks for have a try with SpaceVim, I also WANT to use the keymap layer, pr welcome.


AMD MI100 only got 10% performance of Nvidia A100 of MultiRHSProf

AMD MI100 got only 10% performance of Nvidia A100, am I doing any configuration wrong, or it's expected result?
as MI100 has similar Tops/memory bw/power with A100, i expect performance should also be similar.
AMD MI100 performance:
[2022-05-02 09:37:52] INFO: Starting Test with 1 Stacks
...
[2022-05-02 09:37:54] INFO: Achieved TFLOP/s 0.102319
Nvidia A100 performance:
[2022-05-02 09:47:34] INFO: Starting Test with 1 Stacks
...
[2022-05-02 09:47:34] INFO: Achieved TFLOP/s 0.971428

---reproduce steps:-----------------
-------common setting-------------
AMD and Nvidia has same code, git commit is:
commit 01a0c7170cae7eec4652ee6c24af903a8a676725 (HEAD -> main, origin/main, origin/HEAD)
Author: lukas-mazur<EMAIL_ADDRESS>Date:   Sun May 1 10:14:41 2022 +0200
hip_backend ARCHITECTURE fix in communicationBase_mpi.cpp

-------common setting 2------------
after compile change build_folder/parameter/profiling/MrhsDSlashProf.param
Nodes       = 2 1 1 1 -> 1 1 1 1 //so to use only 1 gpu
------AMD MI100 steps-----------
export HIP_PATH=/opt/rocm/hip
export CC=/opt/rocm/llvm/bin/clang
export CXX=/opt/rocm/llvm/bin/clang++
CXX=hipcc
cmake ../SIMULATeQCD/
-DARCHITECTURE="gfx908"
-DUSE_GPU_AWARE_MPI=ON
-DUSE_GPU_P2P=OFF
-DBACKEND="hip_amd"
-DMPI_CXX_COMPILER=/home/gputest/alice/openmpi/bin/mpicxx
-DMPI_C_COMPILER=/home/gputest/alice/openmpi/bin/mpicc
-- Using HIP backend for AMD GPUs. (Experimental!)
-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
-- HIP (AMD) Architecture: gfx908
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gputest/alice/SIMULATeQCD_build2
make MultiRHSProf -j 60
gputest@gpuserver:~/alice/SIMULATeQCD_build2$ mpiexec -np 1 ./MultiRHSProf
[2022-05-02 09:37:51] INFO: Initializing MPI with (1 proc)
[2022-05-02 09:37:51] INFO: Reading parameters from file :: ../parameter/profiling/MrhsDSlashProf.param
[2022-05-02 09:37:51] INFO: # PARAM :: Lattice = 20 20 20 20
[2022-05-02 09:37:51] INFO: # PARAM :: Nodes = 1 1 1 1
[2022-05-02 09:37:51] INFO: # PARAM :: Topology = 0 0 0 0  (default)
[2022-05-02 09:37:51] INFO: # PARAM :: endianness = auto (default)
[2022-05-02 09:37:51] INFO: # PARAM :: prec_out = 0 (default)
[2022-05-02 09:37:51] INFO: # PARAM :: measurements_dir = ./ (default)
[2022-05-02 09:37:51] INFO: # PARAM :: use_unit_conf = 0 (default)
[2022-05-02 09:37:51] INFO: > Running on:
[2022-05-02 09:37:51] INFO: [Rank 0] > gpuserver CPU_0 GPU_3D; MPI: world_rank=0, node_rank=0, coord: ( 0 0 0 0 )
[2022-05-02 09:37:51] INFO: > Is MPI CUDA-aware? @compilation NO, @runtime NO
[2022-05-02 09:37:51] INFO: > GPU compute capability: 90
[2022-05-02 09:37:51] WARN: Cannot determine for which compute capability the code was compiled!
[2022-05-02 09:37:51] INFO: > Checking support for P2P (Peer-to-Peer) and UVA (Unified Virtual Addressing):
[2022-05-02 09:37:51] INFO: [Rank 0] > gpuserver GPU_3D(): P2P NO ; UVA Unknown (HIP does not support this!)
[2022-05-02 09:37:51] INFO: Initialize Indexer with HaloDepth = 4
[2022-05-02 09:37:52] INFO: -------------------------------------
[2022-05-02 09:37:52] INFO: Running on Device
[2022-05-02 09:37:52] INFO: -------------------------------------
[2022-05-02 09:37:52] INFO: Testing Even - Odd
[2022-05-02 09:37:52] INFO: ------------------
[2022-05-02 09:37:52] INFO: Starting Test with 1 Stacks
[2022-05-02 09:37:52] INFO: Initialize random state
[2022-05-02 09:37:52] INFO: gen conf
[2022-05-02 09:37:52] INFO: Initialize spinors
[2022-05-02 09:37:52] INFO: Randomize spinors
[2022-05-02 09:37:52] INFO: Initialize DSlash
[2022-05-02 09:37:54] INFO: Time for 500 applications of multiRHS Dslash: 905.400ms
[2022-05-02 09:37:54] INFO: Achieved TFLOP/s 0.102319
------Nvidia A100 steps-----------
using nvidia docker container tensorrt-20.07(cuda11.0)
cmake ../SIMULATeQCD/
-DARCHITECTURE="80"
-DUSE_GPU_AWARE_MPI=ON
-DUSE_GPU_P2P=ON \
make MultiRHSProf -j 60
mpiexec -np 1 --allow-run-as-root ./MultiRHSProf
[[28245,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:
Module: OpenFabrics (openib)
Host: 9d88439594e4
Another transport will be used instead, although this may result in
lower performance.
NOTE: You can disable this warning by setting the MCA parameter
btl_base_warn_component_unused to 0.
[2022-05-02 09:47:34] INFO: Initializing MPI with (1 proc)
[2022-05-02 09:47:34] INFO: Reading parameters from file :: ../parameter/profiling/MrhsDSlashProf.param
[2022-05-02 09:47:34] INFO: # PARAM :: Lattice = 20 20 20 20
[2022-05-02 09:47:34] INFO: # PARAM :: Nodes = 1 1 1 1
[2022-05-02 09:47:34] INFO: # PARAM :: Topology = 0 0 0 0  (default)
[2022-05-02 09:47:34] INFO: # PARAM :: endianness = auto (default)
[2022-05-02 09:47:34] INFO: # PARAM :: prec_out = 0 (default)
[2022-05-02 09:47:34] INFO: # PARAM :: measurements_dir = ./ (default)
[2022-05-02 09:47:34] INFO: # PARAM :: use_unit_conf = 0 (default)
[2022-05-02 09:47:34] INFO: > Running on:
[2022-05-02 09:47:34] INFO: [Rank 0] > 9d88439594e4 CPU_0 GPU_1; MPI: world_rank=0, node_rank=0, coord: ( 0 0 0 0 )
[2022-05-02 09:47:34] INFO: > Is MPI CUDA-aware? @compilation NO, @runtime NO
[2022-05-02 09:47:34] INFO: > GPU compute capability: 80
[2022-05-02 09:47:34] INFO: > Checking support for P2P (Peer-to-Peer) and UVA (Unified Virtual Addressing):
[2022-05-02 09:47:34] INFO: [Rank 0] > 9d88439594e4 GPU_1(NVIDIA A100-PCIE-40GB): P2P YES; UVA YES
[2022-05-02 09:47:34] INFO: Initialize Indexer with HaloDepth = 4
[2022-05-02 09:47:34] INFO: -------------------------------------
[2022-05-02 09:47:34] INFO: Running on Device
[2022-05-02 09:47:34] INFO: -------------------------------------
[2022-05-02 09:47:34] INFO: Testing Even - Odd
[2022-05-02 09:47:34] INFO: ------------------
[2022-05-02 09:47:34] INFO: Starting Test with 1 Stacks
[2022-05-02 09:47:34] INFO: Initialize random state
[2022-05-02 09:47:34] INFO: gen conf
[2022-05-02 09:47:34] INFO: Initialize spinors
[2022-05-02 09:47:34] INFO: Randomize spinors
[2022-05-02 09:47:34] INFO: Initialize DSlash
[2022-05-02 09:47:34] INFO: Time for 500 applications of multiRHS Dslash: 95.365ms
[2022-05-02 09:47:34] INFO: Achieved TFLOP/s 0.971428
please let me know if more information needs to be provided.

@philomat did some tests on an AMD MI100 GPU as well. And as far as I know he also saw that the performance got worse on this device, because:

the Vector ALU is only busy 20-30% of the time (depending on the # RHS)
the memory unit is busy about 90% of the time but that includes 20% (of the total GPU time) of stalling.

Maybe @philomat can comment on that in a bit more detail.
Unfortunately, I can't investigate this by myself, as I don't have access to an AMD GPU.
However, keep in mind that the HIP backend is still in experimental mode. So we do not recommend running production jobs with this backend.

Hi Alice,
I suggest you increase the lattice size. I actually have no idea, why our default parameter is still 20^4. This is way to small to saturate the GPU.
Also, try to remove the #pragma unroll in l. 16 of src/modules/dslash/dslash.cpp. This pragma gives better performance on A100 but reduces performance on AMD GPUs (I don't think is was much but I do not remember anymore).
I used 64^3 x 20 in my profiling runs. With this lattice size I get:

on A100 with CUDA 11.0:  1.33 TFLOP/s

on A100 with CUDA >= 11.3: 1.28 TFLOP/s

on MI100 with ROCm 4.5: 0.69 TFLOP/s

So basically I performance on MI100 is 0.5* performance on A100. And I do not see any scaling with the number of RHS on MI100.
@lukas-mazur is right, the Vector ALU is only busy ~20% of the time and memory unit ~80%.
I think the lack of performance on AMD systems (numbers for MI250 are similar) is connected to the fact that our code seems to use a large amount of scalar register. And this register pressure seem to lead to a low occupancy.
Unfortunately, the rocm profiler does not come close to the products by NVIDIA or Intel, so this is more of an educated guess than proper analysis.
I have not seen benchmarks or profiles from other codes but I remember having a conversation with Peter Boyle about Grid and he said that one Crusher node (4 MI250 Cards, i.e. 8 MI100 like GPUs) is comparable to one Perlmutter node (4 A100 GPUs), performance wise. So very similar to our case.
What is somewhat puzzling me, is that we do not see any scaling with the number of RHS on AMD. This might be related to the small amount of L2 cache. But on the other hand V100 also has rather small cache sizes and here we find scaling with #RHS.

with Lattice = 64 64 64 20
A100-pcie-40GB cuda11.0
1rhs: Achieved TFLOP/s 1.28358 (TFLOP/s 0.97 at Lattice 20 20 20 20)
10rhs: Achieved TFLOP/s 2.464   (max performance)
12rhs: Achieved TFLOP/s 2.33663
AMD MI100
1rhs: Achieved TFLOP/s 0.189207  (TFLOP/s 0.10 at Lattice 20 20 20 20)
12rhs: Achieved TFLOP/s 0.176722
a glimpse of rocm-smi:
GPU  Temp   AvgPwr  SCLK     MCLK     Fan  Perf    PwrCap  VRAM%  GPU%
0    63.0c  285.0W  1502Mhz  1200Mhz  0%   manual  290.0W   24%   99%
----------after doing below modification as you recommended:--------------
--- a/src/modules/dslash/dslash.cpp
+++ b/src/modules/dslash/dslash.cpp
@@ -13,7 +13,7 @@ host device auto HisqDslashFunctor<floatT, LatLayoutRHS, HaloDepthGauge,
typedef GIndexer<LayoutSwitcher(), HaloDepthSpin> GInd;
 gVect3<floatT> Stmp(0.0);

-#pragma unroll
+//#pragma unroll
for (int mu = 0; mu < 4; mu++) {
1rhs: Achieved TFLOP/s 0.788867 (ROCm 5.0)
4rhs: Achieved TFLOP/s 1.12238 (max performance)
12rhs: Achieved TFLOP/s 1.05022
a glimpse of rocm-smi:
GPU  Temp   AvgPwr  SCLK     MCLK     Fan  Perf    PwrCap  VRAM%  GPU%
0    80.0c  293.0W  1472Mhz  1200Mhz  0%   manual  290.0W   32%   99%
some points:

thanks for your patch, MI100 1rhs performance increased from 0.189 to 0.788, (while VRAM does not change much 25%~27%)
MI100's has higher performance on 4/8/12 rhs.
MI100's max rhs scale is 1.42x, A100's max scale is 2.46x, as you said AMD has bad rhs scaling.
now MI100's 1rhs performance 0.788 is 61% of A100 1.283.
look at the MI100/A100 specification:
fp32-Tflop	HBM_BW-GB/s	power	freq-Mhz
MI100	23.1/46.1	1229		290w	1502
A100	19.5		1555		250w	1410
consider 1rhs should be a HBM bottleneck workload, HBM bw ratio is 1229/1555=79%. consider MI100 has lower stream efficiency, the final HBM bw ratio is 74%.
so the gap between 1rhs performance 61% to HBM bw ratio 74% is 13%, not sure if 13% is explainable with scale register usage or any chance to improve that?

Finally, thanks again for the patch.

Hi again,
I have another patch that further improves performance on AMD GPUs. It basically reduces register pressure by using a simpler indexing scheme. If I remember correctly the improvement was about 10%. I have not pushed it because it is only beneficial on AMD, on NVIDIA is actually detrimental and costs performance. Further, I have not tested it for correctness.
If you are interested in that, check out the test_better_dslash branch.

test report: I switched to test_better_dslash branch. since build error, i removed libmpi_gtl_hsa.so line:
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,7 +75,7 @@ if (USE_HIP)
endif()
 set(SIMULATEQCD_INCLUDE_DIRS "${SIMULATEQCD_INCLUDE_DIRS};${HIP_PATH}/include;${HIP_INCLUDE_DIRS}")

set(SIMULATEQCD_LIBRARIES "${SIMULATEQCD_LIBRARIES};${HIP_LIBRARIES};/opt/cray/pe/mpich/8.1.12/gtl/lib/libmpi_gtl_hsa.so")

set(SIMULATEQCD_LIBRARIES "${SIMULATEQCD_LIBRARIES};${HIP_LIBRARIES}")

endif()
I make and run MultiRHSProf on MI100.
Lattice = 72 72 72 8
1rhs: Achieved TFLOP/s 0.739301
Lattice = 64 64 64 20
1rhs: Achieved TFLOP/s 0.791832 (compare to main branch + "//#pragma unroll" patch: 0.788867,almost same. maybe rocm5 already digest that improvement. or maybe, it will improve on MI250, not for MI100.)
4rhs: Achieved TFLOP/s 1.12762 (compare to main branch + "//#pragma unroll" patch: 1.12238, almost same )
Thanks for your information. I'd like to be informed when you have further update.
I am ok to close this bug if you have project management consideration.

@philomat would you like to share your MI250 performance number on test_better_dslash branch? I could double check that after I get MI250 hardware.

@Alice1069 I will have to get permission to share performance numbers for MI250. Let me see what I can do

@philomat hi, I just test latest code on MI210, I only got 0.14 TOPS,
if i removed #program unroll，I got 0.18TOPS.
compares to previous MI100 0.78 Tops, it's pretty low.
I am not sure is there any method could improve this?
Lattice = 64 64 64 20
SIMULATeQCD code: main branch, git commit 2022 Aug 2, 551ccca0
-DARCHITECTURE="gfx90a"  //for mi210
mpiexec -np 1 --allow-run-as-root ./MultiRHSProf (1rhs)
I am wondering whether it because the rocm version changed from 5.0 to 5.2 or SIMULATeQCD's new patches from May to Aug?

good result and close this.


LD19 + ESP32

I ordered a Waveshare general driver board to simplify my setup. It contains compass and IMU circuitry. I also ordered an LD19 lidar module as this can easily be plugged into the board and the whole setup can run as a node without an onboard computer.
Question: If I want to use a regular ESP32 with the LD19 directly (no serial board), what pins on the ESP32 should I use for the data information? And do I need to use resistors?
Thanks!

You can use any pin to receive lidar serial data except strapping pins, 0 5 12 14 15.
LD19 4 pin headers, txd pwm gnd 5v. keep pwm unconnected. connect txd from LD19 to your LIDAR_RXD.
In my esp32_wifi_config.h, I use 14. Change it, if you use the other pin.
#define USE_LIDAR_UDP
#define LIDAR_RXD 14
// #define LIDAR_PWM 15
#define LIDAR_SERIAL 1 // uart number
#define LIDAR_BAUDRATE 230400
#define LIDAR_SERVER { 192,168,1,100 }  // eg IP of the desktop computer
#define LIDAR_PORT 8889

On waveshare general driver for robots board. A wire is needed to connect lidar serial data.
lidar 4, add a jumper wire from LIDAR to IO4 on middle header

For resistors, do you mean the 10R resistors in series on esp32 i/o pins? They are used to improve signal integrity. It can be 10R, 33R , 110R or others depend on systems.  It is often used in productions. It is not required for hobbyist.

I was looking at the schematic for the General Driver for Robots board and the LD19 data pin CP_RX is connected to a UART via a 1K resistor. It is not directly connected to the onboard esp32.

The 1K resistor is used for protection to the serial USB bridge. The Waveshare General Driver for Robots board is a production quality board. I did follow the same design rules in my past carrier. However, it is not required for hobbyist.  The bridge is almost the same function as the small USB adapter comes with the LD19 package. It is used to connect the Pi or robot PC. The CP_RX is not connected to esp32. So we need to add a jumper wire to io4 for the UDP lidar forwarder.

I think I get it now. On the middle header you connected a jumper wire from the pin marked "LIDAR" to the pin marked "IO4". Is that correct. Please see attached image.

yes

I assembled a new, smaller robot to test your forks of the Linorobot2 hardware and software project. I'm now using the Waveshare General Driver board, with an LD19 lidar, and everything is powered by Waveshare's UPS. The two encoder motors are 12v JGA25-371 running at 40 rpm. Lessons learned from this simplified setup will be applied to my larger robot.
The map generated with my new setup is by far the most accurate since I started testing Linorobot2 many months ago. No multiple spiral images in Slam when the robot turns. Also room measurements in meters are bang on. Navigation is a bit hit and miss right now, but I'm sure that will be figured out.
I do have a few questions I hope you can help me with.

I uploaded the test_motors firmware to my Waveshare board to get the Counts_Per_Rev value. I pasted this value (250 in my case) in the gendrv_wifi_config.h file and changed the other values to reflect my robot's characteristics. I then uploaded the file and ran Slam (ros2 launch linorobot2_navigation slam.launch.py rviz:=true). The results were very poor. Similar to my larger robot, I got multiple spiral images when turning. I then played around with the Counts_Per_Rev value and discovered that when I increase it to 2000, the mapping greatly improved. Not perfect, but very close. Is there something I am missing here?

When I navigate the robot around the room using teleop_twist_keyboard, if it get's snagged, like on a chair leg, the Slam software continues to move the virtual robot along the grid in RVIZ2, resulting in a messed up map.  I have both QMI8658_IMU and AK09918_MAG uncommented in the gendrv_wifi_config.h file, so Slam should be detecting that there is no motion when the robot wheels are spinning on the spot, correct?

In the gendrv_wifi_config.h file, what is the purpose of line 196 (#define LIDAR_PWM 5)? Can this be used to start and stop the LD19 lidar so that it is not always spinning?

Thank you so much for your help. It's greatly appreciated.

I am very happy to see your progress.

Count per revolution, is depended on your gear motor and encoder hardware. It is gear ratio timed encoder pulses per revolution. You will have to lookup the datasheets. However, the encoder parameters are often missing. You should calibrate the rpm reading with a digital tachometer and adjust the COUNTS_PER_REV.

You might change line 148 of test_motors/src/firmware.cpp, to higher value to help the test.
const unsigned run_time = 8; // run time of each motor
You may find tachometers on Amazon. This is the one I used.
https://www.amazon.com/gp/product/B0BYPC2Y5V

When you use teleop and snagged, the wheels slipped and odometry went wrong.  The slam will corrupt for sure. It could be amended with the other algorithms though I don't know.

LIDAR_PWM is not used. This feature is not implemented.  I shall remove it later.

https://github.com/hippo5329/linorobot2_hardware/wiki#enable-magnetometer
The ekf parameters needs update to enable linear acceleration x y of IMU and yaw of magnetometer. However, it won't help the snagged case.

@tbalatka Hi, I like this design. What kind of a caster do you use?

The robot is on a slight angle like R2D2 so as to minimize forward jerking movement when stopping. The caster is 2" and purchased from a local hardware store. Body, wheels and TPU tires were printed on my Creality K1 Max printer.

Looks Kawaii. Thanks.


Override the request before routing it to the upstream proxy

I send a request to the proxy chain server with some specific header that i don't want to send to the upstream proxy.
I use that header to generate the upstream url in the prepareRequestFunction so i dont need to restart the server to change proxy and i already know how to fetch it but i want to remove it once i have generated the upstream url so it wont be send to the upstream proxy.
I have tried something like this but the header is still sent:
...
prepareRequestFunction: ({
      request,
      username,
      password,
      hostname,
      port,
      isHttp,
    }) => {
        let upstreamProxyUrl;
        if (request.headers['proxy-to-use'] === undefined) throw new ProxyChain.RequestError("No proxy-to-use request header",400);
        upstreamProxyUrl =<EMAIL_ADDRESS>        delete request.headers['proxy-to-use'];
        return {
          upstreamProxyUrl
        };
    }
...

How can i change some property of the request object before sending the request to the upstream proxy?

Closing this now, feel free to reopen the issue if using request.rawHeaders doesn't solve the issue.


1.15 Permissions

I am using the newest version of Luckperms but in version 1.15.2 even when all my perms are in there they dont get the permission. I have essentials.hat enabled for all my groups and nobody can do /hat. Same goes for all of my moderator perms (Litebans permissions) I closed my server from 1.14-1.15 and when i reopped I put the new version of the plugin into my folders, it worked fine before.

Use the verbose command to debug.
https://github.com/lucko/LuckPerms/wiki/Verbose


"failed to load Helm repository" results in data storage leak

Hi,
/tmp directory size is increasing a lot. After investigations, it contains only chart-index-xxxxx.yaml files, and more precisely, only charts from "truecharts" repository. However, index is too long as I can find errors in logs:

{"level":"error","ts":"2024-04-24T09:29:02.174Z","msg":"Reconciler error","controller":"helmrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmRepository","HelmRepository":{"name":"truecharts","namespace":"flux-system"},"namespace":"flux-system","name":"truecharts","reconcileID":"a30ab495-d3e5-4b5f-86ed-e3dff7b8b931","error":"failed to load Helm repository from index YAML: failed to load index: /tmp/chart-index-861161562.yaml exceeds the maximum index file size of 52428800 bytes"}

I'm not sure but I think this error doesn't handle properly clean. In others words, index file remains (~63M), which results in data storage leak contrary to others repositories not having this file in /tmp.

Duplicate: #1451


iOS Watch App Development

Story:
It is develop iOS Watch App to mange your android phone.
Acceptable Criteria:

[ ] please integrate /sendNotification api with brain backend
[ ] should implement page to set UUID , which comes from your android phone.
[ ] call the api with UUID
[ ] should work with the functions - search contacts, search images.

In advance:
To manage android develop furthermore. There are few more challege there.

For a later milestone it will be cool to imagine what a chat preview on watch should look like


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @genlin, has been notified to review your proposed change.

Merging typo fix.


solving twice gives different objective values

I was solving a model, modifying the objective function, and solving it again using JuMP and CPLEX.
The first time it is solved to optimality while the second time it is unfeasible.
I tried to find out where is the problem and I managed to reduce the model to a very simple one, and solving the latter twice on row gives the correct result on the first solve but a wrong result on the second solve ( without modifying anything in the model).

Root node processing (before b&c):
Real time             =    0.00 sec. (0.03 ticks)
Parallel b&c, 4 threads:
Real time             =    0.00 sec. (0.00 ticks)
Sync time (average)   =    0.00 sec.
Wait time (average)   =    0.00 sec.
------------
Total (root+branch&cut) =    0.00 sec. (0.03 ticks)
Found incumbent of value 0.000000 after 0.00 sec. (0.00 ticks)
Tried aggregator 1 time.
MIP Presolve eliminated 0 rows and 8 columns.
Reduced MIP has 1 rows, 4 columns, and 4 nonzeros.
Reduced MIP has 1 binaries, 2 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.00 sec. (0.01 ticks)
Probing time = 0.00 sec. (0.00 ticks)
Tried aggregator 1 time.
Reduced MIP has 1 rows, 4 columns, and 4 nonzeros.
Reduced MIP has 1 binaries, 2 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.00 sec. (0.00 ticks)
Probing time = 0.00 sec. (0.00 ticks)
MIP emphasis: balance optimality and feasibility.
MIP search method: dynamic search.
Parallel mode: deterministic, using up to 4 threads.
Root relaxation solution time = 0.00 sec. (0.00 ticks)
    Nodes                                         Cuts/

Node  Left     Objective  IInf  Best Integer    Best Bound    ItCnt     Gap

0+    0                            0.0000        1.0000              ---

0     0      integral     0        1.0000        1.0000        0    0.00%

Elapsed time = 0.01 sec. (0.02 ticks, tree = 0.00 MB, solutions = 2)
getobjectivevalue(mcs) = 1.0
SECOND SOLVE
Root node processing (before b&c):
Real time             =    0.01 sec. (0.03 ticks)
Parallel b&c, 4 threads:
Real time             =    0.00 sec. (0.00 ticks)
Sync time (average)   =    0.00 sec.
Wait time (average)   =    0.00 sec.
------------
Total (root+branch&cut) =    0.01 sec. (0.03 ticks)
Presolve time = 0.00 sec. (0.00 ticks)
Warning:  No solution found from 3 MIP starts.
Retaining values of one MIP start for possible repair.
Found incumbent of value 1.987500 after 0.00 sec. (0.01 ticks)
Tried aggregator 1 time.
MIP Presolve eliminated 0 rows and 8 columns.
Reduced MIP has 1 rows, 4 columns, and 4 nonzeros.
Reduced MIP has 0 binaries, 3 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.00 sec. (0.01 ticks)
Tried aggregator 1 time.
Reduced MIP has 1 rows, 4 columns, and 4 nonzeros.
Reduced MIP has 0 binaries, 3 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.00 sec. (0.00 ticks)
MIP emphasis: balance optimality and feasibility.
MIP search method: dynamic search.
Parallel mode: deterministic, using up to 4 threads.
Root relaxation solution time = 0.00 sec. (0.00 ticks)
    Nodes                                         Cuts/

Node  Left     Objective  IInf  Best Integer    Best Bound    ItCnt     Gap

0+    0                            1.9875        2.0000             0.63%

0     0      integral     0        2.0000        2.0000        0    0.00%

Elapsed time = 0.00 sec. (0.03 ticks, tree = 0.00 MB, solutions = 2)
getobjectivevalue(mcs) = 2.0

Thanks for the report. If nobody else is motivated to fix this, your options are to:

Not use two-sided constraints (as the warning says, they're broken in cplex)
Roll up your sleeves and debug and fix the issue
Let IBM know that there's demand for them to maintain a Julia interface

Thanks for the hint. Indeed splitting the two sided constraint solves the issue. I had thought that the problem with the two-sided constraints was only the dual values being irrelevant...

Without spending too much time going into this, my guess is that the old interface incorrectly handled the resetting of the RHS vector on the resolve of JuMP. I've added a test in MathOptInterface with this example. The MOI rewrite now correctly (I think) handles ranged constraints via the Interval set.


Feat: Embeds for files

Currently embeds work only on projects it would be great if it worked for files.

Fixed!
Format is for link is https://cflookup.com/f/4035672


ci: build pipy-repo nonroot image

Please describe the Improvement and/or Feature Request

Scope (please mark with X where applicable)

New Functionality              [ ]
Install                        [ ]
Gateway API - GatewayClass     [ ]
Gateway API - Gateway          [ ]
Gateway API - HTTPRoute        [ ]
Gateway API - TLSRoute         [ ]
Gateway API - TCPRoute         [ ]
Gateway API - UDPRoute         [ ]
Gateway API - PolicyReference  [ ]
Ingress                        [ ]
Egress                         [ ]
MultiCluster                   [ ]
PIPY Control Plane             [ ]
PIPY Script/Config             [ ]
CLI Tool                       [ ]
Metrics                        [ ]
Certificate Management         [ ]
Sidecar Injection              [ ]
Logging                        [ ]
Debugging                      [ ]
Tests                          [ ]
Demo                           [ ]
CI System                      [ ]
Project Release                [ ]

Possible use cases

It takes more than 6 hours to build the GUI enabled version, and killed by Github Action finally as it consumes too much resources.


How to handle click events of different buttons inside onItemChildClick

Let's assume I have 3 clickable buttons inside the item, so I register them inside the adapter like this:
@Override
  protected void convert(BaseViewHolder helper, JavaModel item) {
     helper.addOnClickListener(R.id.button_1);
     helper.addOnClickListener(R.id.button_2);
     helper.addOnClickListener(R.id.button_3);
   }

But when using this method to handle the click events of buttons, how can I distinguish between the buttons when I click on them..!? currently it shows the same toast when I click any of them !! I want each one to have a different logic !!
@Override
      public void onItemChildClick(BaseQuickAdapter adapter, View view, int position) {
        Toast.makeText(getActivity(),   "Child Item " + position + " Clicked", Toast.LENGTH_SHORT).show()
      }

 switch (view.getId()){
                    case R.id.button_1;
                        // logic
                        break;
                    case R.id.button_2;
                        // logic
                        break;
                }

thanks a lot, how couldn't I think of this :anguished:


[Docs] Direct Line app service extension | Node JS doc has appsetting.json mentioned instead of .env

[Enter feedback here]
This document mentions that at point number 6 about the appsetting.json where in it should be .env file as this is about node Js.
Point 6. Open the appsettings.json file and enter the following values:
"MicrosoftAppId": ""
"MicrosoftAppPassword": ""
Could you please correct the same, this will help avoid confusions for many.

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

ID: 206a361d-42ef-ed02-9c1d-5775395aa7a9
Version Independent ID: d122568b-a72e-7087-03db-a0aa386094b9
Content: Node.js bot with direct line app service extension - Bot Service
Content Source: articles/bot-service-channel-directline-extension-node-bot.md
Service: bot-service
GitHub Login: @Kaiqb
Microsoft Alias: dev

@MeenakshiBalekar, thanks for the feedback. The changes have already been checked in along with the other corrections and will be live soon.


#3595 - Ministry Login - Appeals dashboard bug

Appeals Tab as a Ministry User is not displaying the number of appeals properly.
Fix is done on the query returned on the appeals, removed the unwanted join on the appealRequests table.
The count that is passed on the header to show the total appeals, is fixed.

Good Job! Just one minor comment.


ImageView flicker when app Re-enter foreground

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
ios

Platform Version
10.0

SDWebImage Version
3.8.2

Integration Method
cocoapods

Xcode Version
Xcode 8

Repro rate
all the time (100%)

Issue Description and Steps
SDWebImage will clear memory cache when app enter background. So, when app enter foreground, scroll tableView to refresh, and then reloadData, imageView in cell will flicker, even though data haven't changed.
[cell.toolsImageView sd_setImageWithURL:[NSURL URLWithString:toolsModel.iconUrl] placeholderImage:[UIImage imageNamed:@"morentu_circle"] options:SDWebImageRetryFailed];
Flicker steps around reloadData:

show image before reloadData;
reloadData and imageView reset image with URL (Same URL);
change to show placeholderImage;
find image in SD memory cache, and not found;
find image in SD disk cache, get it async;
load disk image complete and show.

Is like This?
`- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {
if (!(options & SDWebImageRefreshCached) && [[self sd_imageURL].absoluteString isEqualToString:url.absoluteString]) {
    return;
}
.....

}`

`- (void)sd_setImageWithPreviousCachedImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {
NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:url];
UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromDiskCacheForKey:key];
[self sd_setImageWithURL:url placeholderImage:lastPreviousCachedImage ?: placeholder options:options progress:progressBlock completed:completedBlock];

}`

Is like This? @bpoplauschi @rs @CavalcanteLeo @KanybekMomukeyev @bmurmistro @mythodeia   @andodelauni @heistings
`- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {
            [self sd_cancelCurrentImageLoad];

           NSURL *oldURL = [self sd_imageURL];

          objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);

         if (!(options & SDWebImageDelayPlaceholder) && (oldURL == nil || ![oldURL.absoluteString isEqualToString:url.absoluteString])) {
                  dispatch_main_async_safe(^{
                         self.image = placeholder;
                  });
          }
     .....
}`

@weiminghuaa clearing up the memory cache is a feature of SDWebImage. I don't think we will remove it. You can try to find a way around this

@bpoplauschi  Thank you very much for you reply. I knew this feature. The question has troubled me for long time. Can I ask you: how to avoid this?
Beacuse the memory clearing up, and cell reuse not follow the fixed order，like this:
`1st loadData
2016-09-30 15:55:28.764 MYAPP[12950:384498] PosterCell-0: <PosterCell: 0x7fdd3c57cf90>

2016-09-30 15:55:28.782 MYAPP[12950:384498] PosterCell-1: <PosterCell: 0x7fdd3c4cc0c0>

2016-09-30 15:55:28.807 MYAPP[12950:384498] PosterCell-2: <PosterCell: 0x7fdd3c5815e0>

2nd reloadData
2016-09-30 15:55:28.959 MYAPP[12950:384498] PosterCell-0: <PosterCell: 0x7fdd3c5815e0>

2016-09-30 15:55:28.961 MYAPP[12950:384498] PosterCell-1: <PosterCell: 0x7fdd3c57cf90>

2016-09-30 15:55:28.962 MYAPP[12950:384498] PosterCell-2: <PosterCell: 0x7fdd3c4cc0c0>`

So, when app Re-enter foreground, the imageView's image is right. The reload, the imageView set placehold first, and load image from disk, at last, set the right image again. That cause flicker when cpu is lower.

`- (void)sd_setImageWithURL:(nullable NSURL *)url
placeholderImage:(nullable UIImage *)placeholder
options:(SDWebImageOptions)options
progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
completed:(nullable SDExternalCompletionBlock)completedBlock {
if (![self.image.accessibilityIdentifier isEqualToString:@"placeholder"]) {
NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.sd_imageURL];
if (![[SDImageCache sharedImageCache] imageFromMemoryCacheForKey:key]) {
[[SDImageCache sharedImageCache] storeImage:self.image forKey:key toDisk:NO completion:nil];
}
}
placeholder.accessibilityIdentifier = @"placeholder";

[self sd_internalSetImageWithURL:url
                placeholderImage:placeholder
                         options:options
                    operationKey:nil
                   setImageBlock:nil
                        progress:progressBlock
                       completed:completedBlock];

}`
This way may fix the problem. Right?

It may work. Let me know

Sometimes it work, sometimes not. Beacuse chaotic reuse when reload. I decided load images before reload.
          dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{

            for (XRKHomeToolsModel *toolsModel in _tools) {
                NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:[NSURL URLWithString:toolsModel.iconUrl]];
                [[SDImageCache sharedImageCache] imageFromCacheForKey:key];
            }

            dispatch_async(dispatch_get_main_queue(), ^{
                [self.toolCollectionView reloadData];
            });
        });

Sometimes not work, beacuse chaotic reuse cell when reloadData

The images is in memory when reenter foreground. But memory cache in SDImageCache is cleared. Is there any way to find image from memory?

I don't know if we can do more here. Closing. Feel free to reopen or continue the conversation

I have the same related issue mentioned by @weiminghuaa ,
I am using SDWebImage+WebP to load my webp images from my server in list of collection in UItableView
Every time I re-enter foreground imageView in cell will re-fetch images from disk(mean while image view will be blank) and reload UIImageview with same image,  even though data haven't changed.
But When I used jpg format with the same code base it will work as I expected, their is black out on re-enter foreground it will shows the cached images. but not with webp
Code I used :
        [videoV.imageViewVideo sd_setImageWithURL:[NSURL URLWithString:imageUrl]
                                 placeholderImage:nil options:SDWebImageRefreshCached|SDWebImageRetryFailed ];

any idea?


Is this project still maintained ?

Hello there,
I've been wanting to try out this library but realized it's not compatible with Swift 3+.
It seems that not only it really solves a problem that no other library does, but it also does it in an elegant way. It would be a shame if it rots away :-( . What are the plans for this project ?
By the way, I love the introduction video, very original !
Thanks

@rz-robsn it seems No because the project still doesn't have even a proper documentation


Add meteor methods documentation

Please add documentation on the methods that are being called by the scripts. This will allow make it easier to write admin consoles to control the migrations.

No problem. I'll add documentation to the readme file


Support for mixed-size pointers, PASCAL calling convention, "based" types +

Is your feature request related to a problem? Please describe.
I am trying to reverse engineer several 16-bit Windows applications that use PASCAL calling convention (left-to-right parameter stacking); near, far and huge pointers (we can probably ignore the huge ones); functions with based arguments and return types (see below) to name a few.
Here are a couple of example function prototypes from Microsoft that I'm trying to parse and get into Ghrida:
void    far _pascal  fmemcpy(void near*, const void far*, long); Successfully!
void _based(void) * _cdecl _bexpand(_segment,
    void _based(void) *, size_t);

Here's another example of a failure:
interface IRpcChannel : IUnknown
{
    STDMETHOD(GetStream)(REFIID iid, int iMethod, BOOL fSend,
                     BOOL fNoWait, DWORD size, IStream FAR* FAR* ppIStream) = 0;
    STDMETHOD(Call)(IStream FAR* pIStream) = 0;
    STDMETHOD(GetDestCtx)(DWORD FAR* lpdwDestCtx, LPVOID FAR* lplpvDestCtx) = 0;
    STDMETHOD(IsConnected)(void) = 0;
};

Describe the solution you'd like
I would like the CParser updated so that examples like these will be accepted and we can then use them to create some new GDT files for older operating systems and their different compilers.
Describe alternatives you've considered
Over the past few weeks I have been looking into the classes that deal with this and I have produced some working code that I now need help with.  I have successfully implemented FAR and NEAR pointers and updated the numerous files such a change requires.  So far, I have not updated DataOrganization side of things as I have hardcoded the pointer sizes temporarily.  I will include my endeavours below in a tar.zip file.
near_far_etc.tar.zip
This is based on:
commit c1095fe9383b153fffdfa7453679512124a60d87
Included in the zip file is a copy of the PreProcessed CParserPlugin.out file containing all the header files from MSVC 1.51.

I've successfully got Ghidra to put function parameters on its stack left-to-right by adding to my earlier updates and modifying method updateParametersAndReturn:
diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java
index 67d28be..e641de7 100644
--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java
+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java
@@ -814,6 +814,12 @@ public class FunctionDB extends DatabaseObject implements Function {

                int autoIndex = 0;
                int paramIndex = 0;
+               int stackDirection = +1;
+               if (callingConvention.getName().contains(GenericCallingConvention.pascal.name())) {
+                       paramIndex = params.size() - 1;
+                       stackDirection = -1;
+               }

                autoParams = null;

@@ -837,8 +843,9 @@ public class FunctionDB extends DatabaseObject implements Function {
                                }
                        }
                        else {
-                               ParameterDB parameterDB = params.get(paramIndex++);
+                               ParameterDB parameterDB = params.get(paramIndex);
                                parameterDB.setDynamicStorage(storage);
+                               paramIndex += stackDirection;
                        }
                }

By modifying method getStorageLocation in class PrototypeModel, replacing:
		ArrayList<VariableStorage> res = new ArrayList<>();
		outputParams.assignMap(program, dataTypes, false, res, addAutoParams);
		inputParams.assignMap(program, dataTypes, true, res, addAutoParams);
		VariableStorage[] finalres = new VariableStorage[res.size()];
		res.toArray(finalres);

with
		// Deal with PASCAL convention parameter ordering
		if (name.contains(GenericCallingConvention.pascal.name())) {
			// swap around the datatypes to map variable storage high-to-low
			for (int i = 1; i <= (dataTypes.length-1) / 2; i++) {
				DataType tmp = dataTypes[dataTypes.length - i];
				dataTypes[dataTypes.length - i] = dataTypes[i];
				dataTypes[i] = tmp;
			}
		}

		// Assign storage
		ArrayList<VariableStorage> res = new ArrayList<>();
		outputParams.assignMap(program, dataTypes, false, res, addAutoParams);
		inputParams.assignMap(program, dataTypes, true, res, addAutoParams);
		VariableStorage[] finalres = new VariableStorage[res.size()];
		res.toArray(finalres);

		// Deal with PASCAL convention parameter ordering
		if (name.contains(GenericCallingConvention.pascal.name())) {
			// swap back the resulting storage to be ordered correctly
			for (int i = 1; i <= (finalres.length-1) / 2; i++) {
				VariableStorage tmp = finalres[finalres.length - i];
				finalres[finalres.length - i] = finalres[i];
				finalres[i] = tmp;
			}
		}

parameters are ordered and sized correctly.
I've deleted an earlier solution as it wasn't compatible with a calling convention also supporting a this parameter (for which several string comparisons need changing from .equals to .startsWith to support conventions like _thiscallcdecl16far, thiscallpascal, etc.).

I took a look at your changes, and they are generally in the right area.
There are probably more locations that would need to be fixed, possibly in the decompiler.
An alternate mechanism to a new calling convention is adding an "allocationOrder" tag in the .cspec file.
It would default to "right", but you could put in "left".  We've been kicking around the idea here.
Either way it would require decompiler rendering changes.
Also a specific .cspec file for pascal, like there is for delphi.

Also a specific .cspec file for pascal, like there is for delphi.

FYI, this left-to-right parameter stacking is also used for C/C++ apps written for early Windows.  The WINAPI and some others use this convention.

Here's my latest patch.
2315.patch.zip

And here's my latest x86-16.cspec.zip.

@emteere Any progress internally here???


[HOLD for payment 2023-12-15] [$500] When clicking on "Mark as unread" the background image scrolls up and down unexpectedly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.89-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698091949515899
Action Performed:

Open a chat
Go to the request money section (Pay or delete request money if you've requested before)
Enter a specific amount and send the request money
Click on the requested money
Hover over the requested money and click "Mark as unread"
Observe the background image scrolling up and down

Expected Result:
Clicking on "Mark as unread" should not cause the background image to scroll up and down
Actual Result:
When clicking on "Mark as unread," the background image scrolls up and down unexpectedly
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/38435837/45292c71-1004-43de-9c67-8a84957e18c3

Android: mWeb Chrome

https://github.com/Expensify/App/assets/38435837/b1fc04e9-a173-4b4a-872e-1b9b5af4c6ea

iOS: Native

https://github.com/Expensify/App/assets/38435837/3e86b68c-d809-4cba-8f4d-0e3c5b5bc38a

iOS: mWeb Safari

https://github.com/Expensify/App/assets/38435837/97f40a7e-2d82-40d1-a586-798a132169e4

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/38435837/929e5099-ff63-4228-a570-cf21f361e320
https://github.com/Expensify/App/assets/38435837/c9e6bd27-3ef3-403e-bc8a-1f5cf7cf911e

MacOS: Desktop
https://github.com/Expensify/App/assets/38435837/ba509e95-1e1d-4ee3-b7c8-f16a7a18cfad

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~011368eedf256e8dda
Upwork Job ID:<PHONE_NUMBER>659369472
Last Price Increase: 2023-10-23
Automatic offers:

dukenv0307 | Contributor | 27499352

Proposal
Please re-state the problem that we are trying to solve in this issue.
When clicking on "Mark as unread" the background image scrolls up and down unexpectedly.
What is the root cause of that problem?
https://github.com/Expensify/App/blob/112061b732fec0273fb619ca53a4fd98496c4615/src/components/ReportActionItem/MoneyRequestView.js#L287-L290
SpacerView component represents the horizontal line(not unread marker) below money request view.
And it is shown or hidden by shouldShowHorizontalRule variable.
https://github.com/Expensify/App/blob/112061b732fec0273fb619ca53a4fd98496c4615/src/components/SpacerView.js#L36
SpacerView component has 8px margin for both top & bottom(16px in total) and the gap is removed if the component is hidden.
And this gap makes scroll when the component is shown/hidden in animated way using react-native-reanimated library.
What changes do you think we should make in order to solve the problem?

To remove scroll, we need to keep gap although SpacerView is hidden.
marginVertical: CONST.HORIZONTAL_SPACER.DEFAULT_MARGIN_VERTICAL,

https://github.com/Expensify/App/blob/112061b732fec0273fb619ca53a4fd98496c4615/src/pages/home/report/ReportActionItem.js#L610
We should remove margin style in above code, which add bottom margin if spacer is hidden.
If we keep the gap in spacer, we don't need to add margin here.
It's related to this PR and this PR might be a regression in this case.
https://github.com/Expensify/App/pull/27766

I'm still not sure if we should prevent scroll at all. Because I think react-native-reanimated library is used for smooth scroll.
But at least, we need to fix one thing although we leave the scroll issue.

https://github.com/Expensify/App/blob/112061b732fec0273fb619ca53a4fd98496c4615/src/pages/home/report/ReportActionItem.js#L610
The spacer has 16px margin if it's shown, but the above code only adds 8px margin if the spacer is hidden.
We should use styles.mb4 instead.
What alternative solutions did you explore? (Optional)
N/A

@dukenv0307 It's consistent because the proposal suggests to remove margin in ReportActionItem class.
https://github.com/Expensify/App/blob/112061b732fec0273fb619ca53a4fd98496c4615/src/pages/home/report/ReportActionItem.js#L610

@dukenv0307 8px margin is added here. https://github.com/Expensify/App/pull/27766
I think it should be 16px instead because SpacerView component has 8px margin for both top & bottom. So the gap is 16px in total.
And we should keep same top & bottom margin inside SpacerView component to prevent scrolling up & down.

@greg-schroeder @allroundexperts Could you plz let me start working on this issue if there isn't other problem?

@allroundexperts what's the final decision here?

@allroundexperts Thank you for the review. I understand what you mean.

For consistency, the spacing between the unread indicator and the Total container should be the same.

But could you please tell me more about this? What should it be same with? And why it should be 8px?

I just spent quite a while working on what turns out to be a duplicate: https://github.com/Expensify/App/issues/29877
It looks like:

#26015 was opened about a margin issue
#27766 was the fix
#27766 also caused this current issue, #30218 - it's a regression
#30815 has now been raised to fix this issue - it is a line for line revert of #30218, and adds a constant value adjustment
#30815 is what should have been done to fix #27766

This is a regression from https://github.com/Expensify/App/pull/27766

Bump @youssef-lr - please take a look at the linked PR/questions for you from C! Thanks!
https://github.com/Expensify/App/pull/30815

Reporter: $50
Contributor: $500
C+: $500
The job post was closed, so I created a new payment issue and sent out new offers. Sibtain you can file a manual request.
Next up is the checklist!

@dukenv0307 offer still pending if you're able to accept!

Gentle bump on checklist as well @allroundexperts :)

Checklist

I was not able to pinpoint any particular PR which caused this issue. I think several PRs down the road might have caused this.
N/A
N/A
A regression test would be good here.

Regression test

Open a chat and request money.
Click on the requested money
Hover over the requested money and click "Mark as unread"

Verify that clicking on "Mark as unread" does not cause the background image to scroll up and down.
Do we 👍 or 👎 ?


Correction for raw affiliation AGIR Research Unit, UR UPJV 4294 Jules Verne University of Picardie Amiens France

Correction needed for raw affiliation AGIR Research Unit, UR UPJV 4294 Jules Verne University of Picardie Amiens France
raw_affiliation_name: AGIR Research Unit, UR UPJV 4294 Jules Verne University of Picardie Amiens France
new_rors: 01gyxrk03
previous_rors: 01sjmsj73;01gyxrk03
works_examples: W3201941697
contact: ed96dfb3ce79f1802340617990e8d2b5:76637be8fbf1aba26cb30b8550bc10e7 @ u-picardie.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Double clip avoidance not working

Either https://github.com/tim-we/py-radio/blob/133cc3b1670a0a3ac39d2d56dcfe6609efab6bd6/radio/library.py#L92-L105 is not working or _history_len has an incorrect value.

More likely: might be caused by a library update
TODO: keep history


Expense Export

When exporting expense to sheet, the first row is missing in the excel file.

Fixed, to release in next build.


Update to latest AppVeyor configuration

Previously, the build was failing with:
the following programs are not installed properly:
 unzip
I can't proceed :(

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "appveyor" git@github.com:talex5/datakit.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Create CI/CD pipeline

Create CI/CD pipeline that deploys a new build when a change is committed to master.

Done. Closing issue.


feat: support custom player window title

close #62
Implement the custom player window title feature
Usage
The title parameter needs to be encoded with the JavaScript function encodeURIComponent()
let title = encodeURIComponent('Hello world');

Then pass the title parameter:
mpv://play/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g_dj1HZ2tuMmY1ZS1JVQ/?title=Hello%20world

Thanks for your work, but I have already implemented this feature, I just haven't pushed it to Github yet.


Add support for AWS Elasticsearch

Hi! This is my first pull request. Not sure if I am doing right.

Done. Check it out, please.

Done. Yes, "http-aws-es" is a dep.

Thanks!!!!

Wow. Cool :) So fast :)
Will it be published automatically?

v2.2.0 - published right now.

Thank you for beling so fast! You saved my day! BTW, I think it makes sense to update https://github.com/pinojs/pino/blob/master/docs/transports.md.


Associate command unique id with the telemetry trace

We should use the same value as we send in x-ms-client-id in order to help diagnose issues.

This should have been addressed. And the header should be x-ms-client-request-id.


Upload error messages aren't displaying

[ ] Display error messages
[ ] Display readable message for server errors

Which error message(s) are not displaying?

The upload error messages, renamed the issue for clarity.

Fixed

Still breaks on some specific error's (e.g. entity too large exception)

To be resolved with #8


Failed to parse

Sorry to be such a bother! I get the following error:
$ nixfromnpm -f package.json -o ~/Projects/nix-node-packages --dev-depth 1 -r http://mycustomregistry/

. . . .

Warning: expression for fs-access version 1.0.0 failed to parse:
<string>:10:11: error: expected: "]",
    ., bool, identifier, integer,
    letter, list, null, parens,
    path, set, spath, string
      null-check_1-0-0
          ^

fs-access/1.0.0.nix
{ buildNodePackage, nodePackages, pkgs }:
buildNodePackage {
    name = "fs-access";
    version = "1.0.0";
    src = pkgs.fetchurl {
      url = "http://mycustomregistry/fs-access/-/fs-access-1.0.0.tgz";
      sha1 = "e96872b1f415ae302bdda4ef05309eb4bde1934c";
    };
    deps = with nodePackages; [
      null-check_1-0-0
    ];
    meta = {
      homepage = "https://github.com/sindresorhus/fs-access";
      description = "Node.js 0.12 fs.access() & fs.accessSync() ponyfill";
      keywords = [
        "built-in"
        "core"
        "ponyfill"
        "polyfill"
        "shim"
        "fs"
        "access"
        "stat"
        "mode"
        "permission"
        "user"
        "process"
        "check"
      ];
    };
  }

null-check/1.0.0.nix
{ buildNodePackage, nodePackages, pkgs }:
buildNodePackage {
    name = "null-check";
    version = "1.0.0";
    src = pkgs.fetchurl {
      url = "http://mycustomregistry/null-check/-/null-check-1.0.0.tgz";
      sha1 = "977dffd7176012b9ec30d2a39db5cf72a0439edd";
    };
    deps = [];
    meta = {
      homepage = "https://github.com/sindresorhus/null-check";
      description = "Ensure a path doesn't contain null bytes";
      keywords = [
        "built-in"
        "core"
        "ponyfill"
        "polyfill"
        "shim"
        "fs"
        "path"
        "null"
        "bytes"
        "check"
      ];
    };
  }

Any idea what could be causing this? It looked to me like something to do with the hyphen, but there are plenty of other packages with hyphens in the name.

On second thought, could it be parsing null in null-check as the nix null value? I guess this is to do with hnix?

Changed the folder null-check to n-check, and the reference to it in fs-access/*.nix and default.nix, and it fixed it. I guess it's parsing it as null.

Yeah, looks like it's parsing it as null - check_1-0-0. This is indeed an hnix thing. Good catch. I think I ran into a similar thing with "assert" a while back which I fixed in hnix but apparently it didn't catch this one

On second thought it's not exactly an hnix thing, because if it's an invalid variable identifier there's not much that hnix can do about that. nixfromnpm itself could generate an expression that put things in quotes, for example instead of
with nodePackages; [ null-check_1-0-0 ]

it could generate
[ nodePackages."null-check_1-0-0" ]

oh derp, never mind this is an hnix thing. It's not that nix is failing to parse this, it's that hnix is failing to parse it. I'll try to fix the fixturized version of hnix that I have

@ollieh
OK, I patched hnix to fix the parsing bug. I confirmed it worked by generating an expression fs-access and seeing that it works. (I also pushed fs-access to nix-node-packages master).
And no need to apologize for creating these issues, it's good to fix them :)


[v1.1 review] Suggestion regarding "use of auto" docs

I suggest transport-specific info about use of auto should be moved to the specific transport's documentation.
I.e. the sub-sections under APIs - Server Side Implementation - Use of auto for Sender source_ip and Receiver interface_ip and Sender destination_ip should be moved to Behaviour: RTP Transport Type.

This also applies to the Constraining interfaces section currently on the same page.


Deprecation Warning triggered when using title property of MDTabs

Description of the Bug
When using MDTabs, a DeprecationWarning is raised because the code uses the StringProperty text of MDTabsBase. However, nowhere in the user code the text property is used. The only property used is the title property.
Code and Logs
Juste run the following code and see the Deprecated in the logs about the StringProperty text, while there is no use of it in the code.
from kivymd.app import MDApp
from kivy.lang import Builder
from kivymd.uix.tab import MDTabsBase
from kivymd.uix.floatlayout import MDFloatLayout

KV = '''
MDBoxLayout:
    orientation: "vertical"

    MDTabs:
        Tab:
            title: "Tab 1"
        Tab:
            title: "Tab 2"
        Tab:
            title: "Tab 3"

<Tab>
    MDLabel:
        text: root.title
        halign: "center"
'''

class Tab(MDFloatLayout, MDTabsBase):
    pass

class TestApp(MDApp):
    def build(self):
        return Builder.load_string(KV)

TestApp().run()

Output
.
.
.
[INFO   ] [GL          ] NPOT texture support is available
[WARNING] Deprecated property "<StringProperty name=text>" of object "<__main__.Tab object at 0x7f734d0bac80>" has been set, it will be removed in a future version
[INFO   ] [Base        ] Start application main loop

Versions

OS: Ubuntu 20.04
Python: 3.8.10
Kivy: 2.1.0
KivyMD: 0.104.2

These are internal class properties that are marked as deprecated. This will be removed with a new release of the library.

And we do not support any version of the library other than the master version.

Why does these internal properties are used if they are declared as deprecated ?


Add Rugged Pill Enclosure

Please let me know if something is off.

Thank you!

Your work is much appreciated, thank you!!
It appears the spacing for the data port USB connector might be off just a bit.  The schematic I have shows the spacing at 12.6mm and if I am measuring yours correctly it is approximately 11.9mm.  The power and HDMI ports look good!  It's just a little tight and I think I can open the slot up just a bit to make it work but I thought I would come on here and mention it.  Thanks again for the awesome files.


1.36

This question requires that you evaluate the underlined text to determine if it is correct.
Your company implements Azure policies to automatically add a watermark to Microsoft Word
documents that contain credit card information.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is
needed". If the statement is incorrect, select the answer choice that makes the statement correct.
A. No change is needed.
B. DDoS protection
C. Azure Information Protection
D. Azure Active Directory (Azure AD) Identity Protection

C


Update Sign Typed Data v1 params

The Sign Typed Data v1 still has rendering errors in this dApp:
https://metamask.github.io/test-dapp/
I checked, and it seems that the data passed for v1 might be an array, not an object. It would be best to handle this as well.

No need for this feature


CAMEL-20838: use a JUnit extension for collecting the test name when necessary

requires a rebase on main branch (regen done in a separated commit) to have green PR


How to show android banner background and foreground?

      OneSignal.postNotification(contents,
          {   group: 10,
              priority: 100,
              shown: true, // BOOLEAN: If the notification was displayed to the user or not
              payload: {group: 10,displayType: 2, notificationID : "", contentAvailable : true, badge : 1, sound : "default", title : "Hello!", body : "World", launchURL : "", }, // OBJECT; the push data
              displayType: 2, //The display method of a received notification
              silentNotification: false // BOOLEAN : Wether the received notification was a silent one
          }
          , this.state.device_info.userId)

this code is Example work just push

how to show android banner???

@YoonJaePark I see you have priority set 100 which anything above 9 will make it a heads up notification shown in Google's docs below.
https://developer.android.com/guide/topics/ui/notifiers/notifications.html#Heads-up
Make sure you are using the latest version of this SDK and you are testing on a Android 5.0 or newer device.
Thanks.

@jkasten2 HaHa. Thank you sir. but don't work priority and group and not showing heads-up.. i don't know.
And i want use OneSignal.configure not work
my Code
not work console log help pless
componentDidMount() {
   OneSignal.configure({
     onNotificationOpened: this.handleNotification.bind(this),
     onNotificationReceived: function(notification) {
      console.log("notification received: ", notification);
     }
   });
 }

@YoonJaePark Sorry I overlooked this before, OneSignal.postNotification parameters are (messageBody, additionalData, player_id). It doesn't allow any of the options in your first post.
To do this you will need to make a REST API call directly instead of use the postNotification function.
https://documentation.onesignal.com/v3.0/reference#create-notification

You should make a REST API then push notification with {priority: 10}
I got an example that use simple-onesignal. This works for me
var onesignal = require('simple-onesignal');     onesignal.configure('ONESIGNAL_API_KEY', 'ONESIGNAL_REST_API');     onesignal.sendMessage({         large_icon: "ic_launcher",         contents: {en:'Hello world!'},         included_segments:['All'],         data: {id: "123123123"},         priority: 10       }, function(err, resp) {         if(err) {           console.log(err);         } else {           console.log(resp);         }       });

@newbiepub You should not include your OneSignal REST API key in your app. Someone could extract it from your app. The OneSignal app id is fine.
You can target users with include_player_ids without the API key.

@jkasten2 I did not include any key in my app. I included it into my server API.


Data objects required attribute is missing from swagger.json with kotlin sources

From a Kotlin data source class, when I run the plugin, then the required attribute is missing from the generated swagger.json file.
Data example class:
data class UserInfoDto (
        val firstName: String,
        val lastName: String,
        val matricule: String,
        val email: String
)

Resulting swagger.json file:
  "definitions" : {
    "UserInfoDto" : {
      "type" : "object",
      "properties" : {
        "firstName" : {
          "type" : "string"
        },
        ...
      }
    }
  }

The required attribute is missing because all fields from my DTO are not nullable.
I also tried to add @NotNull annotations (org.jetbrains.annotations.NotNull, javax.validation.constraints.NotNull, org.springframework.lang.NonNull) but it doesn't add the required attribute.
I expect to see the generated swagger.json file to have something like:
"UserInfoDto" : {       "type" : "object",       "required": ["firstName", "lastName", ...],       "properties" : {         "firstName" : {           "type" : "string"         },
Any advice ?

This seems to be a problem not limited to Kotlin, but rather that only the @ApiModelProperty(required=true) Annotation is considered for the generation.
I currently have the same Problem in a Java Application with javax.annotation.Nonnull on the model classes. It would be really great if those could be consideres as well.

@mgendre I actually found a workaround for this problem. It's possible to register a custom modelConverter, which can check for the existence of @Nonnull  or other annotation on fields and set the required-flag accordingly.
It's not the perfect solution as you'll need to implement and maintain some code which is not really specific to your project. But it's a reasonably amount of complexity and is seemingly the most pragmatic thing to do.

@mgendre I actually found a workaround for this problem. It's possible to register a custom modelConverter, which can check for the existence of @Nonnull  or other annotation on fields and set the required-flag accordingly.
It's not the perfect solution as you'll need to implement and maintain some code which is not really specific to your project. But it's a reasonably amount of complexity and is seemingly the most pragmatic thing to do.

The solution that @mrm1st3r mentioned works (annotating properties with @ApiModelProperty(required=true)) but it's not perfect and would be nice to have a solution for this so Kotlin nullable information is interpreted by the plugin for generating correctly the required fields.


Remove extra newline for service default output method

#272 #279
@AndreSayreMSFT @HuanhuanSunMSFT

looks good!

Looks good


GraphQL

Is it possible to host a GraphQL server with Kitura?
If not, is there any plans for it?

I don't know. We haven't tried it yet. At this time the Kitura team has no plans for that yet. We would love to hear from the community if anyone else has already tried it, though.

Would be interesting to see. There are attempts to implement GraphQL with Swift.
https://github.com/GraphQLSwift/GraphQL

I've implemented a Middleware for Kitura and using https://github.com/GraphQLSwift/GraphQL . It's here and it's in progress https://github.com/lgaches/Kitura-GraphQL .

Cool

Great work @lgaches! I'll close the tracking issue here in the Kitura backlog.


how to setup in China

From @zhongying1995 on February 17, 2018 3:41
when i setup the WurstSetup.jar,it say Ready version:<IP_ADDRESS>-jenkins-WurstSetup-52    Server offline.All update functionality disabled.
i had used the Lantern ,a VNP to Surf the foreign Internet(i am chinese),but can not setup Wurst.
So,what should i do?
Copied from original issue: wurstscript/WurstScript#622

If you have full access to Github, you could also build everything from source.
Does it make a difference whether we host the files via https or http?

thanks,i had solve it just now.Maybe the reason is my network speed is so low.........you know,sometimes it is bad for chinese use the softwares not from china.
when i tried to setup it many times,i successed!

@peq http fallback has been in place for some time now.
@zhongying1995 cool. I will close the issue then 👍


Add support for the CustomResponse action in Url Rewrite

A CustomResponse action causes the URL Rewrite Module to respond to the HTTP client by using a user-specified status code, subcode, and reason. Use of a CustomResponse action implies that no subsequent rules are evaluated for the current URL after this action is performed.
CustomResponse action has the following configuration options:

statusCode – Specifies the status code to use in response to the client.
subStatusCode – Specifies the substatus code to use in response to the client.
statusReason – Specifies the reason phrase to use with the status code.
statusDescription – Specifies the one line description to put in the body of the response.

addressed in https://github.com/aspnet/BasicMiddleware/pull/200

duplicate https://github.com/aspnet/BasicMiddleware/issues/56

Resolved in https://github.com/aspnet/BasicMiddleware/pull/200


d3admin: allow edit mode to upload new files to the dist point for existing pkgs, offering to overwrite any that might already exist.

Need JAMF to provide real access to the MD5 checksum for the pkg. Changing it via MySQL doesn't work cuz the JSS usually has it cached, and overwrites the change with the old checksum


Some fixes to sync with lev-cleanup branch on apps

Summary
Some fixes to sync with lev-cleanup branch on apps
Ticket Link
None
Related Pull Requests
https://github.com/mattermost/mattermost-redux/pull/1297
https://github.com/mattermost/mattermost-plugin-apps/pull/34

Let's make sure the redux PR is merged first, then we'll update the mm-redux version in this PR


fio against_device mode always seq write entire device

"sudo /tmp/pkb/fio/fio --filename=/dev/sdb --ioengine=libaio --name=fill-device --blocksize=512k --iodepth=64 --rw=write --direct=1 --size=0" still write the entire device.

Seems to be related to fio version update.

Tried --size=0/0%/0g/0m/0k, all of them will write the entire device in fio-2.2.10.

@yuyantingzero  @noahl - Is this still an issue?


Use perftest.ini

Use perftest.ini instead of config_perftest.py

This makes no sense, as the config file (config_perftest.py) is a Python module that is imported.


Increase the usage of augmented assignment statements

✨ Feature Request
:eyes: Some source code analysis tools can help to find opportunities for improving software components.
:thought_balloon: I propose to increase the usage of augmented assignment statements accordingly.
Motivation
Rationale of the Python enhancement proposal 203 (from 2000-07-13)
Additional context
Would you like to integrate anything from a transformation result which can be generated by a command like the following?
(:point_right: Please check also for questionable change suggestions because of an evolving search pattern.)
lokal$ perl -p -i.orig -0777 -e 's/^(?<indentation>\s+)(?<target>\S+)\s*=\s*\k<target>[ \t]*(?<operator>[+\-%&|^@]|\*\*?|\/\/?|<<|>>)/$+{indentation}$+{target} $+{operator}=/gm' $(find ~/Projekte/Iris/lokal -name '*.py')

:crystal_ball: Would you dare to try a variant of the shown Perl command example out on another development repository?

Hello @elfring, sorry you didn’t previously get a reply to this.  I am unfamiliar with Perl, but you appear to be suggesting some sort of find-and-replace to apply across the Iris codebase.  You have identified that there is a risk with this approach

Please check also for questionable change suggestions because of an evolving search pattern.

I would be surprised if any project would take such a risk without there also being a clear benefit.  Could you explain what the benefit would be?  Have you found specific problems in Iris that would be solved by this?

…, but you appear to be suggesting some sort of find-and-replace to apply across the Iris codebase.

Yes.
Your understanding is appropriate.

You have identified that there is a risk with this approach

The shown transformation approach has got general software limitations.
But you might notice that it can work reasonably well for further development considerations.

Could you explain what the benefit would be?

:eyes: Please take another look at information in the rationale of the Python enhancement proposal 203 (from 2000-07-13).
How do you think about the support for in-place operations? :thinking:

The PEP tells us why in-place operations are useful in general.  It does not tell us why the specific proposed change is useful to Iris.
Having browsed some of the equivalent threads in other projects, I do not see value in keeping this one open.


 Failed (00:01:01)
Failed deploying (00:01:01)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Creating VM:
Creating vm with stemcell cid 'sc-301f52bd-5c3c-4cbd-464b-e810bf1866cb':
CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Creating VM with agent ID '{{dd73c6fb-6265-4896-70eb-35af6d1b8898}}': Enabling networks: Retried '30' times: Running command: 'VBoxManage hostonlyif ipconfig vboxnet3 --dhcp', stdout: '', stderr: 'VBoxManage: error: Code NS_ERROR_NOT_IMPLEMENTED (0x80004001) - Not implemented (extended info not available)\nVBoxManage: error: Context: "EnableDynamicIPConfig()" at line 236 of file VBoxManageHostonly.cpp\n': exit status 1","ok_to_retry":false}
Exit code 1

I think there was no response because we can see that there were 30 times of retry.
did you try VBoxManage hostonlyif ipconfig vboxnet3 --dhcp out of bosh?
i think there is a wrong value in your configuration.
generally,
private IP in A class is 10.xxx.xxx.xxx
private IP in B class is 172.xxx.xxx.xxx
private IP in C class is 192.xxx.xxx.xxx
and as you can see you used <IP_ADDRESS> as a external IP
-v external_ip=<IP_ADDRESS>
What about checking this option?

I need to deploy it on my server.
If you would like to discuss this contribution further, please open a new issue.


Usage of blank target results in a crash.

uhhhhhhhh
this is embarassing
build.gradle
// ...

rust {
    command = "cargo"

    outputs = [
        '': System.mapLibraryName("wrapper_example")
    ]

    outputDirectory = "META-INF/natives"

    profile = "release"
}

Fixed in 2.1.0


tests failing with pint 0.21

I noticed the weldx tests failing in the ASDF downstream CI for a recent PR:
https://github.com/asdf-format/asdf/actions/runs/4862963112/jobs/8673553574#step:10:526
I ran some of the tests with ASDF 2.15 and a fresh development install of weldx and saw similar errors (traceback for one test below). They appear to be related to the newly release pint 0.21.
I think this is related to:
https://github.com/hgrecco/pint/pull/1594
not handling list inputs (like is used in the weldx geometry submodule).
____________________________ test_shape_reflection _____________________________
weldx/tests/test_geometry.py:1735: in test_shape_reflection
    shape_reflection_test_case([2, 1], np.linalg.norm([2, 1]))
weldx/tests/test_geometry.py:1679: in shape_reflection_test_case
    shape = default_test_shape()
weldx/tests/test_geometry.py:1472: in default_test_shape
    arc_segment = geo.ArcSegment.construct_with_points(
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/registry_helpers.py:362: in wrapper
    return func(*args, **kwargs)
weldx/geometry.py:671: in construct_with_points
    return cls(points, arc_winding_ccw)
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/registry_helpers.py:362: in wrapper
    return func(*args, **kwargs)
weldx/geometry.py:572: in __init__
    series = self._update_internals_and_get_series()
weldx/geometry.py:627: in _update_internals_and_get_series
    sign = -1 if np.cross([1, 0], diff) < 0 else 1
<__array_function__ internals>:200: in cross
    ???
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/facets/numpy/quantity.py:64: in __array_function__
    return numpy_wrap("function", func, args, kwargs, types)
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/facets/numpy/numpy_func.py:1004: in numpy_wrap
    return handled[name](*args, **kwargs)
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/facets/numpy/numpy_func.py:772: in implementation
    a = _base_unit_if_needed(a)
../../../.pyenv/versions/3.10.6/envs/weldx_numpy_error/lib/python3.10/site-packages/pint/facets/numpy/numpy_func.py:734: in _base_unit_if_needed
    if a._is_multiplicative:
E   AttributeError: 'list' object has no attribute '_is_multiplicative'

thank you for the heads up @braingram 👍
I noticed this in our pypi build as well, hopefully it is easy to fix

the downstream tests run against master here, right @braingram ?
Can you please run this again?

@CagtayFabry Success! https://github.com/asdf-format/asdf/actions/runs/4937705427/jobs/8826649280