when training vfnet using multi-GPUS, the process stopped suddenly

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
I have read the FAQ documentation but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
I use my own data conveted as COCOdataset to train vfnet in 2 GPUS，but after 24 epoch, the program stopped and show message as follow:
INFO:torch.distributed.elastic.agent.server.api:[default] worker group successfully finished. Waiting 300 seconds for other agents to finish.
INFO:torch.distributed.elastic.agent.server.api:Local worker group finished (SUCCEEDED). Waiting 300 seconds for other agents to finish
/home/tangjiamin/anaconda3/envs/openmmlab/lib/python3.7/site-packages/torch/distributed/elastic/utils/store.py:71: FutureWarning: This is an experimental API and will be changed in future.
  "This is an experimental API and will be changed in future.", FutureWarning
INFO:torch.distributed.elastic.agent.server.api:Done waiting for other agents. Elapsed: 0.0004734992980957031 seconds
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 0, "group_rank": 0, "worker_id": "34873", "role": "default", "hostname": "amax", "state": "SUCCEEDED", "total_run_time": 6861, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [0], \"role_rank\": [0], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 1, "group_rank": 0, "worker_id": "34874", "role": "default", "hostname": "amax", "state": "SUCCEEDED", "total_run_time": 6861, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [1], \"role_rank\": [1], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "AGENT", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": null, "group_rank": 0, "worker_id": null, "role": "default", "hostname": "amax", "state": "SUCCEEDED", "total_run_time": 6861, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\"}", "agent_restarts": 0}}
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************

Did you make any modifications on the code or config? Did you understand what you have modified?
I changes num_class and classes in config for using my own data
What dataset did you use?
my own data as COCODataset formation

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
Python: 3.7.11 (default, Jul 27 2021, 14:32:16) [GCC 7.5.0]
CUDA available: True
GPU 0,1: Tesla V100S-PCIE-32GB
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.1.TC455_06.29069683_0
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.9.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.3-Product Build 20210617 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.1.2 (Git Hash 98be7e8afa711dc9b66c8ff3504129cb82013cdb)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
CuDNN 8.0.5
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.9.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.10.0
OpenCV: 4.5.3
MMCV: 1.3.10
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMDetection: 2.15.0+604bfe9

I just check max_epoch in config, the defalt is 12

I set runner = dict(type='EpochBasedRunner', max_epochs=50), but it not works.


Swarmmode puts master in Pause mode.  Should be a configurable option

When creating a swarm mode cluster, acs-engine making the assumption that the master should be paused such that when  containers are deployed, none will run on the master.   Ideally, this should be an option in the configuration template.
The setting comes from https://github.com/Azure/acs-engine/blob/master/parts/configure-swarmmode-cluster.sh in this section of code:
if ismaster ; then
  echo "Setting availability of master node: '$VMNAME' to pause"
  docker node update --availability pause $VMNAME
fi

@amanohar can speak more to the reasoning for this, but my understanding is that we did it as the masters aren't behind the agent load balancer

Yes, I did see that the masters are not behind the agent load balancer, but if the master is made active, the swarm ingress routing mesh should be able to route to it.
My specific use case:  I'm trying to run Docker Visualizer, which can only be run on the master.

General design and guiding principle for all ACS RP and ACS Engine clusters is that masters are not set up by default to allow running containers. This is enable separation between manager and worker for manageability, There is no current plan to make this a configurable option but this is an easy change after the cluster is deployed.


Add share option to the strategy cards

Twitter icon ->will allow users to share their strategy stats on twitter. Clicking on the icon will create a new tweet with pre-populated text. On a later stages we will consider adding dynamic images to the tweets

Reference to twitter share button  implementation tutorial
Icon is always visible
ON CLICK:
-- GTM event (strategy_share_click)
-- Trigger "dom to image" on the specific strategy card in order to turn the live css+data to a png image.
-- Open twitter in a new tab and display a tweet with pre-populated text + paste the image generated in the step before
-- In case the user is logged out, he will be requested to login before seeing the tweet
-- Tweet permissions->Everyone
-- User will be able to alter the tweet content before submitting the tweet.
-- Tweet text:
IF shared from the "My strategies" page (indicating I am sharing a strategy I own)

Smart trading is done on #carbondefi.

My #buylow #sellhigh trading strategy between ${base} / ${quote} tokens, reached {ROI} ROI!
buy low, sell high, repeat.

Create your own strategy at carbondefi.xyz

Expected result:

ELSE, IF shared from Explorer page (indicating this can be a strategy I do not own)
Smart trading is done on #carbondefi.

This #buylow #sellhigh trading strategy between ${base} / ${quote} tokens, reached {ROI} ROI!
buy low, sell high, repeat.

Create your own strategy at carbondefi.xyz

Expected result:

Resources
https://github.com/tsayen/dom-to-image
https://joyofcode.xyz/dynamic-social-share-images

Option B for the share image design
Text
My $(Base} / ${Quote} position is {ROI}% on @carbondefixyz
Copy my automated strategy or create your own recurring limit orders at carbondefi.xyz 👈

Mockup image

NOTE: the token logos should also be added dynamically based on the {Base}/{Quote} tokens in the pair
https://www.figma.com/file/YpsatcY9jtxJr0SJwlFYNj/Carbon-Screen-Design?type=design&node-id=8994-2676&mode=design&t=3kCUr1nm0IYxWawu-4

Example

Two solutions :

Create img on the server based on request from twitter page
Create img on the client and store it on a server

1. Create img on the fly
Provide a link to a server on the twitter preview. This link points to a server that generate the image based on some params.
Pro: No need to store the image
Cons: We need to recreate the card on the server, svg graph included, which create 2 source of truth. Or we run a full react app on the server and reuse the component, which will require a lot of config.
2. Create on the client
Create a snapshot of the card, potentially we can create an off-screen card specific to this, upload it to a storage and set the link in the twitter preview.
Pro: Reuse exisiting code
Cons: Need a storage
We can use a public IPFS gateway to store the file to avoid managing our own storage. By default IPFS's garbage collector will remove this img after a period of time if not used.


Add linting for exclude-reason.

Checks to make sure that there's a reason attached whenever auto-updates are disabled.
Dependent on https://github.com/chainguard-dev/melange/pull/1371

cc @rawlingsj

nice - lgtm


bump linked hashmap to 5.3+

Older versions of linked-hashmap are unsound so it is better if this repository doesn't depend on those.
Advisory: https://github.com/RustSec/advisory-db/issues/298
If you need further guidance, you can consult the wg-secure-code on Rust Zulip

@chyh1990 is it possible to get a version with this fix deployed? The wide version range prevents serde-yaml from compiling when generating a lockfile with -Z minimal-versions.


Backtick failed with exit code 1

Hi there,
I have this issue, is it my fault or a bug? It worked about half of a year ago, and failed when I was trying to run the command today.
me@workstation ~ % just ssh-dev
error: Backtick failed with exit code 1
   |
33 | model-path := `ssh<EMAIL_ADDRESS>'journalctl -qr | grep --perl-regexp "\/tmp\/\d+" -m 1 -o'`
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The model-path constant is NOT used in the command I was running.

It looks like it's just the command returning an error. What happens when you run it in the terminal? (And check the exit code with echo $?)

If I run the underlying command in terminal it works just fine, this is simple ssh call.
I just noticed, that no one just command works with my config. I'll try to clean it line by line to catch bad config part.
echo $1 returns 1.

Interesting. I can't think of why it would fail in just but not in the shell.


crash when calling this line ==>   initialSetupViewController.didMove(toParentViewController: self);

when calling this line ==>   initialSetupViewController.didMove(toParentViewController: self);
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PTFWHTTPSessionManager POST:parameters:constructingBodyWithBlock:progress:success:failure:]: unrecognized selector sent to instance 0x600001081c20'

@sarakhater Please check this issue https://github.com/paytabscom/paytabs-ios-library-sample/issues/17

I am still facing the same issue, please suggest a solution, I am stuck for long time

@raeesdoduae Please use the latest version 4.0.8 https://github.com/paytabscom/paytabs-ios-library-sample/tree/master/sdk

@cogtea i am using SDK v4.0.8 Lite version, still have the issue

You need to install latest version of AFnetwork 4.0.1, and clean project build folder.

yes, I am using AFNetworking 4.0.1, I didn't understand whats wrong

Fixed it thanks :)


Conform approach for passing native SDK generated errors on

See this thread for the discussion that prompted the creation of this issue.
Please ping me when starting work on this so we can discuss approach at that time.

I checked the related discussion linked to this issue. As far as I understood, @mattheworiordan pointed out fragile situation on passing types around in open. Should I assume that this issue attempts to address this (Strenghtening message passing.  type serialisation, deserialisation etc.) @QuintinWillison ?

I don't think this issue is specific or focussed enough to add value now, especially given we came out of preview August 2021.


ZodResponseDto not defined

Hi everybody,
I was trying to use @ZodResponseDto as a validation for the response of my endpoints but it seems that this is not present in nestjs-zod.

How can I implement a validation of the response from an endpoint?
Thanks in advance!

I saw that the correct usage is actually @ZodSerializerDto. Working now.


[Proposal]: npx replacement

Background
npx is currently unmaintained (see: this issue), and it doesn't look like it will get support any time soon. Potential contributers are present, but there is no administration who could look at or merge PRs.
It'is a real shame, seeing at how useful of a tool it can be for both setting up and maintaining a project. It is also a really simple way of ensuring, that your tools are up to date.
npx also has some really neat, but not well known features (see: readme), including:

-c <string>: Execute  inside an npm run-script-like shell environment,
--shell-auto-fallback [<shell>]: Generates shell code to override your shell's "command not found" handler with
one that calls npx.
--no-install: If passed to npx, it will only try to run <command> if it already exists in the current path or in
$prefix/node_modules/.bin.
--ignore-existing: If this flag is set, npx will not look in $PATH, or in the current package's node_modules/.bin for an
existing version before deciding whether to install.
-n, --node-arg <string>:  Extra node argument to supply to node when binary is a node script.

Used elegantly in scripting npx is a powerful tool.
Summary
the aim is to provide an alternative for npx that is easy to use and has a very familiar feel. And to equip it with aditional functionality in and around project-managment. But the core-runner should be simple enough to be usable in production at times, for example to always use up-to-date dependancies.
Goals / Target-Specs

include --shell-auto-fallback and make temporary usage easy (eg. repl or runFile)
proper cleanup on failed install
expose api for programmatic usage

include various utility methods methods for npm-related stuff

expose a run-script-like shell

include the same env-vars as in package-scripts (include api-method to load them, too)

ignore/update cached modules if a newer version is available (options to disable this)
integrate many of the tools used by npm & co. to keep behaviour consistent and share cach etc.
reserve possibility to integrate with package-services (see: below)

lower priority goals

provide a shell for direct usage: some applications enter a shell-mode when no arguments are provided to the main
command. in this mode you can access manuals and specify sub-commands directly (eg. an npm-shell would allow you use run <script>or install <package> directly without having to write npm <run/install> <script/package>
include debug functionality for package-scripts

add basic benchmarking -tool

integrate into package-services (see: below
increase GitHub integration (see: below)
include some Yarn functionalities (see: below)

workspaces
dependenciesMeta

Components
Subprojects
this can basically be devided into:

a module that provides a run-script-like shell
a module that checks for updated versions and things like that
a utility module providing auxilliary functionalities
the 2 main modules containing the cli and api

Similar Projects

a yarn-specific-verison of npx, documentation is sparse and it's not used much, so i don't know how well it works

Tools

npm itself
the npm-project is also well split-up into smaller modules, many of which can be used for this project

Notes
Package Services
npm experimented with srevice-packages in the past, which instead of simlpy exposing a module or bin to use, provide micro-service-daemons that can equally specify dependencies and be used as dependency. the project was abandond years ago, but i think a similar principle could be implemented. I'm picturing something akin to ultra simple docker-container-like services that would be run not in a global engine-instance like docker, but on a per project basis node-instance (utilizing nodes cluster-module for multithreading), largely configurable in a package.json, communicating internally via IPC and can use ports/pipes/sockets to comunicate with thingd outside the project.
this is an entirely different project i would like to tackle at some point, but i would like to keep the option to integrate it at a later point
GitHub Integration
When GitHub aquired npm, they mentioned they were planning on migrating public packages to github and use npm for hosting private packages. this will generally happen in a seamless manner, but it has lead to github implementing some nice functionalities in their package system. it would be great to present them to users and make them as easy as possible to use. Could also possibly add github-actions functionality.
Yarn
While i do like some of the functionality of yarn, I don't think their plug-and-play aproach is the way to go for project dependencies. This project offers a different aproach with similar functionality, but unlike yarns PuP will be compatible with every npm-package by default.
It won't be as disk-I/O-efficient, but this could still be added using a package-service that uses active caching.

@karfau i got sick of the disorganised nature of my ideas about modernization, so i set up an Org, where these things can be centralized. this also makes it easier to work with different people on different projects. it's still very much work in progress, but this repo will serve as a good starting point for any new projects around these. Don't get scared off, it's for you to descide if and to what you want to contribute.
This thread contains a basic proposal about what i have planned for a potential npx alternative. They are quite project specific so i don't repeat going off the rails like last time.
Have a look at it and ask questions, propose ideas or raise issues. And if everything turns out well, we can look at starting a prototype.

You can describe your ideas as rfc in https://github.com/npm/rfcs
They are very open to good ideas and new people. 😉

@Den-dp i did check it out a while ago, and how they handle stuff is probaly one of the resons of npms success.
I can imagin some crossover happening in the future when esm and things like that become more common, but until that point, my ideas tend to be not the most popular ones among the more conservative programmers, as I'm radically advocating for modernising code-bases and dev environments (and as a consequence i'm not too concerened about backwards compatability and favour early deprecation and constant upgrading).
The plan is to integrate the package aspects of this project as natively with npm as feasable for my goals, and with that, it's not unlikely that i'll push for parts of this project (or ubgrades to the npm tools it uses) to be added to npm.
But as it stands, the plan is for this to serve as a fundament of modernizing dev-environments, so i need to be careful about  things like dependency-hell.
I would love to contribute and collaborate, but my experience says that i'm too early with my ideas. Although since Node v14 dropped, the community has been rapidly progressing and warmed up to modernization, so it might not take too long.
Do you have any specific part in mind that might be suitable to implement into the npm ecosystem?
From the current RFCs there isn't too much up my ally, but this one does interest me, as i'm currently working on a sub-commandshell myself, but i do apreciate your suggestion.


Add Firstset node to NO list

Description
Discussed with @vishalchangrani that we would add our node to the NO list.

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

thanks @franklywatson - anything missing to get it merged?


feat: add option to add comment to commit message of ansible-roles-cruft

i.e. to link a github PR of mine

adding the ability to potentially clutter up a github pr/issue page with potentially even 2 things per repo (cruft update / cruft update fix) is a bad idea. implement #55 instead!


Submit ONNX tutorial for Vespa

To better promote Vespa's ONNX support, we should consider submitting a tutorial for using Vespa with ONNX in their GitHub repo: https://github.com/onnx/tutorials.

https://github.com/onnx/tutorials/pull/252

Above PR is merged and onnx/tutorials now links to stateless model sample app and ms marco sample app with many onnx models. https://github.com/onnx/tutorials/


Experiencing some errors,Helpppppp........

Thanks for sharing,I encountered some errors when using, I don't know the reason, what should i do

Missing Profiler.EndSample (Every BeginSample call must have a subsequent EndSample call within the same frame): Mirror 28230 Previous 5 samples: 	RenderLoop.CleanupNodeQueue 	RenderTexture.SetActive 	Graphics.Blit 	RenderTexture.SetActive 	FinalBlit In the scope: 	Mirror 28230 	Inl_ScriptableRenderContext.Submit 	Inl_RenderPipeline.BeginCameraRendering 	Inl_RenderCameraStack 	Inl_UniversalRenderTotal

I I also experienced the same error. When use context.ExecuteCommandBuffer(cmd); cmd.Clear(); in ProfilingScope.
I just remove this line or take it out. It works well and I haven't encountered any other errors as of yet.


VHLS CSIM testbench contains undefined variables

Got the following error when building the HLS kernel using vivado_hls:
$ vivado_hls -f hls_script.tcl

# .....
INFO: [HLS 200-10] Setting target device to 'xc7vx690t-ffg1761-2'
INFO: [SIM 211-2] *************** CSIM start ***************
INFO: [SIM 211-4] CSIM will launch GCC as the compiler.
   Compiling ../../../../tb_pose.cpp in debug mode
../../../../tb_pose.cpp: In function ‘void instInit(uint*)’:
../../../../tb_pose.cpp:14:15: error: ‘VGG_LAYERS’ was not declared in this scope
   config[0] = VGG_LAYERS;
               ^~~~~~~~~~
../../../../tb_pose.cpp:15:15: error: ‘MobileNetV2_LAYERS’ was not declared in this scope
   config[1] = MobileNetV2_LAYERS;
               ^~~~~~~~~~~~~~~~~~
../../../../tb_pose.cpp:16:15: error: ‘STAGE1_LAYERS’ was not declared in this scope
   config[2] = STAGE1_LAYERS;
               ^~~~~~~~~~~~~
../../../../tb_pose.cpp:17:15: error: ‘STAGE2_LAYERS’ was not declared in this scope
   config[3] = STAGE2_LAYERS;
               ^~~~~~~~~~~~~
../../../../tb_pose.cpp:18:15: error: ‘STAGE2_ITER’ was not declared in this scope
   config[4] = STAGE2_ITER;
               ^~~~~~~~~~~

Thanks for reporting. These variables were needed in the older version of the codes. You can either remove them or clone the latest version of the repo.


Fixed default arguments for repacking llama3

Ticket
GitHub Issue: #11327
Problem description
llama3.1 has a few additional changes that need to be added to repack the weights completely.
Also, the arguments need to be set to default and not required by the user.
What's changed
The changes involve copying a params.json from the actual checkpoint directory to the directory created for repacking weights.
Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Looks good to me


[WIP]provision: Avoid spending ~3s on apt operations in no-op provision.

Fixes #5186

Automated message from Dropbox CLA bot
@sinwar, it looks like you've already signed the Dropbox CLA. Thanks!

Codecov Report

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

@@            Coverage Diff            @@
##           master   #5403      +/-   ##
=========================================
- Coverage   86.51%   86.5%   -0.01%
=========================================
  Files         430     430
  Lines       53045   53045
  Branches     2066    2066
=========================================
- Hits        45893   45888       -5
- Misses       7152    7157       +5

Impacted Files
Coverage Δ

zerver/lib/str_utils.py
81.81% <0%> (-6.07%)
:arrow_down:

zerver/lib/bugdown/__init__.py
89.23% <0%> (-0.24%)
:arrow_down:

zerver/tornado/event_queue.py
69.1% <0%> (-0.21%)
:arrow_down:

Continue to review full report at Codecov.

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

Merged!  Thanks @sinwar!


SSTP and IPsec issues with Windows 10 on Master

So I'm going to get straight to the point and describe this as best as I can. So on the stable version of SoftEther (that's in the Ubuntu apt repo) I can set up Windows 10 SSTP and it "just works". In this Master branch it seems that now I have to go into the Windows Network and Sharing center after setting up the VPN connection to enable MS-CHAPv2 and enable the require encryption option for the VPN connection to work. The same goes for L2TP/IPsec on Win10. Windows 7 on the other hand automatically configures the VPN settings without issue on both the stable and latest master branch. Why can Windows 7 auto-configre the settings while Windows 10 cannot. Tbh this wouldn't be a major issue if changing VPN settings in Network and Sharing center did not require administrator privileges (which I do not have on my work laptop at the moment).
There had to be a slight change in the PPP stack that somehow confuses newer OSes into not being able to automatically configure the VPN security settings.
I know I have been posting a lot of issues and stuff recently and I'm sorry if it's annoying. I just think this is the best way for me to track and keep record of issues I am experiencing since I have been messing around with SoftEther.
Edit: Also if Linux or Windows has EAP enabled the VPN connection will fail as well. The logs below are from Windows 10 connecting to SSTP and IPsec running on the master branch code.

SSTP Log:
of PPP Server: 443, Client Software Name: "Microsoft SSTP VPN Client", IPv4 TCP MSS (Max Segment Size): 0 bytes
PPP starting main dataloop
Request EAP
Got LCP packet request ID=0 OptionsListSize=5
Unsupported LCP option = 0x5
Unsupported LCP option = 0x7
Unsupported LCP option = 0x8
Unsupported LCP option = 0xd
Rejected LCP option = 0x5, proto = 0xc021
Rejected LCP option = 0x7, proto = 0xc021
Rejected LCP option = 0x8, proto = 0xc021
Rejected LCP option = 0xd, proto = 0xc021
Rejected LCP options...
Setting BEFORE_AUTH from ACK on LCP response parse on EAP accept
Got LCP packet request ID=1 OptionsListSize=1
NACKed LCP option = 0x1, proto = 0xc021
NACKed LCP options...
Got LCP packet request ID=2 OptionsListSize=1
ACKed LCP option = 0x1, proto = 0xc021
../src/Cedar/Proto_PPP.c: 109
../src/Cedar/Proto_PPP.c: 109
../src/Cedar/Proto_PPP.c: 109
Got a EAP_NAK, abandoning EAP protocol
Rejecting PPP protocol = 0xc227
Request MSCHAPv2 from EAP NAK
SSTP Control Packet Recv: Msg = 6, Num = 1
SSTP Control Packet Send: Msg = 7, Num = 0
ProtoHandleConnection(): breaking main loop

L2TP/IPsec
New IKE_CLIENT: 0x7fa9f0070cd0: 69...4:56426 -> <IP_ADDRESS>:500
LOG: IPsec Client 4 (69...4:56426 -> <IP_ADDRESS>:500): A new IPsec client is created.
P1 Transform: MODP 2048 (Group 14) SHA-1 AES-CBC(32)<PHONE_NUMBER> 28800
New IKE SA (Mode = 0):<PHONE_NUMBER>2627621425 <--><PHONE_NUMBER>976997564 (MODP 2048 (Group 14) SHA-1 AES-CBC(32)<PHONE_NUMBER> 28800)
LOG: IPsec IKE Session (IKE SA) 4 (Client: 4) (69...4:56426 -> <IP_ADDRESS>:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0xAFAE6D9F165F6631, Responder Cookie: 0x253555E95EE7EEBC, DH Group: MODP 2048 (Group 14), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime:<PHONE_NUMBER> Kbytes or 28800 seconds
Initial IV: 87 DE D7 B7 7B 98 ED E5 68 0B F4 64 28 C1 07 69
ResponderRand: 2C C5 63 F5 B5 1D 65 DA 85 A4 6F F8 4B A5 D0 E2 02 33 CF C8 8C 11 B6 53 BE 6A 3A EA FF AC 80 75 FD E0 D2 F6 A6 63 4B 70 B3 3D 34 EF D9 8C F8 0E
InitiatorRand: B6 27 72 30 5C 6B 6F E1 AF EE D1 07 15 7F 1A B5
SKEYID: 0D 7D C1 19 44 2C F0 E1 70 DD D2 CA 57 86 2F 75 A9 3C 76 CB
SKEYID_d: F7 49 0E 43 C9 AF 65 EB 3C 19 0D 58 2A 0C 3F 9F A7 63 34 84
SKEYID_a: 44 04 EE EF EA 9C 64 C3 B4 C9 99 A5 57 9F 0C 68 B6 8F B7 B9
SKEYID_e: 2B B2 18 63 84 30 99 99 5D A1 BE C6 AA 67 2C A1 18 2F 7C 94
Update IKE_CLIENT: 0x7fa9f0070cd0: 69...4:4500 -> <IP_ADDRESS>:4500
LOG: IPsec Client 4 (69...4:4500 -> <IP_ADDRESS>:4500): The port number information of this client is updated.
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Client ID = <IP_ADDRESS>
LOG: IPsec Client 4 (69...4:4500 -> <IP_ADDRESS>:4500):
IKE SA 0xF0070140 Established. Client ID=<IP_ADDRESS>
LOG: IPsec IKE Session (IKE SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): This IKE SA is established between the server and the client.
IKE_CLIENT 0xF0070CD0: Begin QuickMode
Error: c->CachedTransformSetting is not existing.
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
P2 Transform: (null) SHA-1 AES-CBC(32)<PHONE_NUMBER>
LOG: IPsec IKE Session (IKE SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): The client initiates a QuickMode negotiation.
New IPsec SA (StoC = 0): 0x1 0xF11777EE ((null) SHA-1 AES-CBC(32)<PHONE_NUMBER>)
LOG: IPsec ESP Session (IPsec SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): A new IPsec SA (Direction: Client -> Server) is created. SPI: 0xF11777EE, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
KEYMAT: C2 EC 5D E6 27 0F 74 CB 20 CC 93 75 51 DB AF C4 E6 F8 FB 6F 86 5C 8B 69 83 16 98 2A AC 58 46 DD
New IPsec SA (StoC = 1): 0x1 0x222625AC ((null) SHA-1 AES-CBC(32)<PHONE_NUMBER>)
LOG: IPsec ESP Session (IPsec SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): A new IPsec SA (Direction: Server -> Client) is created. SPI: 0x222625AC, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
KEYMAT: 3D 62 5E 15 01 5E 69 DD 5B 29 97 ED DE 45 BC B1 3E 72 E0 BC 19 A2 C5 80 D8 27 77 DD 7F F7 92 0F
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
IPsec SA 0xF11777EE & 0x222625AC Established.
LOG: IPsec ESP Session (IPsec SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): This IPsec SA is established between the server and the client.
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
IKE_CLIENT 0xF0070CD0: L2TP Server Started.
LOG: IPsec Client 4 (69...4:4500 -> <IP_ADDRESS>:4500): The L2TP Server Module is started.
L2TP New Tunnel From 69...4 (DESKTOP-J9U7VPK, Microsoft): New Tunnel ID = 5/1
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
L2TP New Session: ID = 1/1 on Tunnel 5/1
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Thread Created for Session 1/1 on Tunnel 5/1
PPP InitializeMsChapV2_UseDoubleMsChapV2 = 0x0
PPP Link establishment phase
LOG: L2TP PPP Session [69...4:1701]: A new PPP session (Upper protocol: L2TP) is started. IP Address of PPP Client: 69...4 (Hostname: "DESKTOP-J9U7VPK"), Port Number of PPP Client: 1701, IP Address of PPP Server: <IP_ADDRESS>, Port Number of PPP Server: 1701, Client Software Name: "L2TP VPN Client - Microsoft", IPv4 TCP MSS (Max Segment Size): 1314 bytes
PPP starting main dataloop
Request EAP
Got LCP packet request ID=0 OptionsListSize=5
Unsupported LCP option = 0x5
Unsupported LCP option = 0x7
Unsupported LCP option = 0x8
Unsupported LCP option = 0xd
Rejected LCP option = 0x5, proto = 0xc021
Rejected LCP option = 0x7, proto = 0xc021
Rejected LCP option = 0x8, proto = 0xc021
Rejected LCP option = 0xd, proto = 0xc021
Rejected LCP options...
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Setting BEFORE_AUTH from ACK on LCP response parse on EAP accept
Got LCP packet request ID=1 OptionsListSize=1
ACKed LCP option = 0x1, proto = 0xc021
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
../src/Cedar/Proto_PPP.c: 109
../src/Cedar/Proto_PPP.c: 109
../src/Cedar/Proto_PPP.c: 109
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Got a EAP_NAK, abandoning EAP protocol
Rejecting PPP protocol = 0xc227
Request MSCHAPv2 from EAP NAK
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Trying to Disconnect Session ID 1/1 on Tunnel 5/1
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
Trying to Disconnect Tunnel ID 5/1
L2TP Session 1/1 on Tunnel 5/1 Disconnected.
Thread Stopped for Session 1/1 on Tunnel 5/1
L2TP Tunnel 5/1 is Disconnected.
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
IPsec SA 0x222625AC has been marked as being deleted.
LOG: IPsec ESP Session (IPsec SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): This IPsec SA is deleted.
140368205227072:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:
IKE SA<PHONE_NUMBER>2627621425 -<PHONE_NUMBER>976997564 has been marked as being deleted.
LOG: IPsec IKE Session (IKE SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): This IKE SA is deleted.
Purging IKE SA<PHONE_NUMBER>2627621425-2681143613976997564
Deleting IPsec SA 0xF11777EE of this IKE SA (no alternatives)
IPsec SA 0xF11777EE has been marked as being deleted.
LOG: IPsec ESP Session (IPsec SA) 4 (Client: 4) (69...4:4500 -> <IP_ADDRESS>:4500): This IPsec SA is deleted.
LOG: L2TP PPP Session [69...4:1701]: The PPP session is disconnected because the upper-layer protocol "L2TP" has been disconnected.
Exited main dataloop, status = 0x110
LOG: L2TP PPP Session [69..**.**4:1701]: The PPP session is disconnected

You say this is caused by the server? Observed the missing authentication protocol on new VPN connections on current Windows too, but thought that this problem was introduced in Redmond. It's really annoying, creating a new VPN connection on a Windows client should be super easy, but now I have to tell my colleagues, that they have to change some security related settings for this adapter someplace else.
You attached connection logs (I guess), but aren't those authentication flags configured on the setup of the connection or is it actually happening on the first connection attempt? If it's on setup time, then there should be some request to the server asking for it's capabilities.

I had to do no other configuration in Windows 10 on the version of SoftEther in the PPA.

Looks like you are right, if I create a new VPN connection (SSTP or L2TP/IPsec) on Windows, then it doesn't preset any authentication protocols initially. On the first connection attempt, client and server try to agree on a protocol to use for authentication. If this succeeds, Windows seems to set this protocol in the adapter settings for subsequent uses.
The current SoftetherVPN offers EAP first, since it got the code for this in may. The Windows client accepts, but it fails, because the current EAP implementation in Softether only contains the code for EAP-TLS (authentication by certificate) and not for password auth. Now the Windows client doesn't try to proceed with any other availabe protocol und aborts the connection attempt.
And all of this was found out before: #1169
To test this, I created a quick&dirty (!!!, and it also breaks EAP auth) patch to make Softether offer MS-CHAPv2 first (see attachment). This makes Windows clients (with username and password) happily connect to SoftetherVPN without requiring any special adapter settings.
I think I'd prefer having a server configuration option, to select between EAP or MS-CHAPv2 as the first offered authentication protocol. Having EAP support is great, but it being incomplete now causes this inconvenience for classic password auth. Never tried EAP with a certificate, but aren't you required to setup your certificate/key in the adapter settings anyway? So what does it help, that the server defaults to EAP, if you still have to configure everything beforehand?
PPP_default-to-MSCHAPv2.diff.txt

Yes, I reviewed your code (not that I understand it anyway) but what I don't understand is why Windows XP and 7 have no issues but Windows 10 does. That's what's strange.

Maybe they just updated their code or the defaults (like SoftEther did). And probably didn't expect to run into incomplete EAP implementations.
The "patch" is hardly my code btw, I just copied the fallback MS-CHAPv2 request to where the EAP request used to be. This is definitely not a good way to solve this, but I guess it should work, as long as no client ever wants to use EAP-TLS.


Replace futures-preview by futures v0.3

Closes #38 - thanks again @jerry73204!

Sorry I come late. Congratulations we have such a fix!


Altizure link is Down?

Hi! Thanks for your great work!
I successfully downloaded GL3D dataset by the URL link in readme.
However, I failed to download tourism raw images because I keep getting "HTTP ERROR 502'' from the https://research.altizure.com/ link.

Can someone please tell me what to do next or kindly share the whole dataset?
Thank you!

Hello, I also encountered this problem. I have downloaded GL3D, but I can't find the original image of the  tourism. I hope the author will update the relevant link


Create Covid-19 assignment

Good
في الخميس، 22 أكتوبر 2020 في 3:35 م تمت كتابة ما يلي بواسطة
Thaer-Sahmoud <notifications@github.com>:

You can view, comment on, or merge this pull request online at:
https://github.com/AimanAbuSamra/IUG_NLP/pull/8
Commit Summary

Create Covid-19 assignment

File Changes

A Covid-19 assignment
https://github.com/AimanAbuSamra/IUG_NLP/pull/8/files#diff-846e565015b6814ff667e4493b83d77eb06de56e12bfd57ababb655724a72930
(46)

Patch Links:

https://github.com/AimanAbuSamra/IUG_NLP/pull/8.patch
https://github.com/AimanAbuSamra/IUG_NLP/pull/8.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AimanAbuSamra/IUG_NLP/pull/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARCJTWL7FGKXFHID4S3ZW2TSMARIZANCNFSM4S3EJMHQ
.


The test sirius.scf_test19_cpu_serial in verification/test19 fails: Can't divide 1 ranks into groups of size 4

In this place:
1475│     int npk = comm_.size() / npb;
1476│     if (npk * npb != comm_.size()) {
1477│         std::stringstream s;
1478│         s << "Can't divide " << comm_.size() << " ranks into groups of size " << npb;
1479├───────> RTE_THROW(s);
1480│     }

in src/context/simulation_context.cpp the exception is thrown with this error:

Can't divide 1 ranks into groups of size 4

What could be wrong?
Version: 7.4.3
clang-15
mpich-3.4.3
FreeBSD 13.2

The only explanation is that mpi_grid_dims != [1,1] (possible values could be [2,2], [1,4] or [4,1]) and execution is requested on 1 MPI rank.

Specific to FreeBSD or there is a mismatch between linked and runtime versions of mpi


[🐛] Unable to resolve path to module 'react-native-image-picker'

Description
I upgraded to v3.0.1 and now I'm getting "Unable to resolve path to module 'react-native-image-picker'."
How to repeat issue and example

step to reproduce the issue
Import the module

import { launchImageLibrary } from 'react-native-image-picker';

The package name is underlined with red.
Additional Information

Image Picker version: [3.0.1]
React Native version: [0.63.4]
Platform: [Android]
Development Operating System: [Windows]
Dev tools: [Android Studio version, iOS or Android SDK version, if applicable] navigation crash for Android

When I add "main": "src/index.ts" in react-native-image-picker/package.json the error goes away

Having the same issue!

When I try to execute the ImagePicker.launchImageLibrary() the console prompts the following error

Version:
"react": "16.13.1",
"react-native": "0.63.3",
...
"react-native-image-picker": "^3.0.1",

Having the same issue!

When I try to execute the ImagePicker.launchImageLibrary() the console prompts the following error

Version: "react": "16.13.1", "react-native": "0.63.3", ... "react-native-image-picker": "^3.0.1",

For mean time you can access like this
import { launchImageLibrary } from 'react-native-image-picker';

That solved the undefined error, thanks @papuruth !

That solved the undefined error, thanks @papuruth !

for underline error, you can add as specified above

I'm not sure what the issue is here anymore?  The import works fine on 3.0.1 (see image below)

I'm not sure what the issue is here anymore? The import works fine on 3.0.1 (see image below). Default export/import is not supported.
Usage is either
import * as ImagePicker from 'react-native-image-picker
or
import { launchImageLibrary } from 'react-native-image-picker';

The import is fine but the package name is underline with red as eslint can't resove the module path. But after adding "main": "src/index.ts" in node_modules/react-native-image-picker/package.json the eslint error goes away.

What does your eslint config look like, as I don't face this error in the projects that I have that uses this.

What does your eslint config look like, as I don't face this error in the projects that I have that uses this.

For me it's the following rule that yields
https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md

{
  "parser": "babel-eslint",
  "env": {
    "es6": true,
    "jest": true
  },
  "extends": ["airbnb", "plugin:react-native/all", "prettier"],
  "globals": {
    "Atomics": "readonly",
    "SharedArrayBuffer": "readonly",
    "__DEV__": true
  },
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true
    },
    "ecmaVersion": 2020,
    "sourceType": "module"
  },
  "plugins": ["react", "react-native", "jsx-a11y", "import"],
  "rules": {
    "global-require": "off",
    "import/prefer-default-export": "off",
    "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
    "react-native/no-raw-text": "off",
    "react-native/sort-styles": "off",
    "react/jsx-one-expression-per-line": "off",
    "react-native/no-inline-styles": 0,
    "no-console": 0,
    "no-undef": 0,
    "no-underscore-dangle": "off",
    "camelcase": "off",
    "react-native/no-color-literals": 0,
    "react/jsx-props-no-spreading": "off",
    "react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }]
  },
  "settings": {
    "import/resolver": {
      "babel-plugin-root-import": {
        "rootPathSuffix": "./src",
        "rootPathPrefix": "@/"
      }
    }
  }
}

What does your eslint config look like, as I don't face this error in the projects that I have that uses this.

Check out 3.1.0

Check out 3.1.0

Great. It's fine now.


Could not find Visual Studio. VS2015 or VS2017 (with C++) needs to be installed. vcpkg

Once I clone vcpkg to a directory in Windows 10, I run .\bootstrap-vcpkg.bat from Powershell. However, following error occurs:
Could not find Visual Studio. VS2015 or VS2017 (with C++) needs to be installed.
At C:\CPP\vcpkg\scripts\bootstrap.ps1:143 char:9

    throw "Could not find Visual Studio. VS2015 or VS2017 (with C ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Could not find ...o be installed.
:String) [], RuntimeException
FullyQualifiedErrorId : Could not find Visual Studio. VS2015 or VS2017 (with
C++) needs to be installed.

I found the same issue being raised here, but could not understand the solution mentioned. Kindly help me to solve this issue.

Hi, @pbipin Thanks for reporting this issue.
You need install Visual Studio 2019, link
https://visualstudio.microsoft.com/zh-hans/vs/?rr=http%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DSVTex4JDby4HUtB3gxXDHqArrMBZVveLt-rW0hhxWp2B6Yr7zThG_Oyd8vLX72rg%26wd%3D%26eqid%3De1838db7000095d9000000065de47f03
Community 2019 is free.
Professionnal 2019 and Enterprise 2019 need to pay.

Hi @pbipin, thanks for reporting this issue!
Vcpkg requires Visual Studio to build (minimum version is 2015) [1], please install Visual Studio before building vcpkg.
Thanks.
[1]. https://github.com/microsoft/vcpkg#quick-start

May be You did`t install the MSVC. Just Check the "$vspath\VC\Tools\MSVC"

@pbipin Is this issue solved?

Please feel free to reopen it if this is still a problem for you.

@ujjwaltirkey me too here, @pbipin can you help please

Try running it from a Visual Studio command prompt. Which version of Visual Studio do you have installed?

@Lunodzo Please use powershell to build vcpkg.

Please feel free to reopen it if this is still a problem for you.

i am having problem @AlvinZhangH


update wrtc to fix ubuntu node-gyp build issue

I updated wrtc (issue to fix a build issue I was getting on ubuntu 16
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1 npm ERR!  npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.

I am having the same issue on Ubuntu 16.10.


deploy:rollback should roll back the database

I just ran a rollback but the database rollback was not called... would adding this cause any trouble?

mmm, I'm not really sure.
the http://github.com/capistrano/rails project runs de migrations, but it doesn't implements a way to rollback de db
the migrations are hooked into after 'deploy:updated', 'deploy:migrate'
this is the rollback tasks flow
deploy
  deploy:starting
    [before]
      deploy:ensure_stage
      deploy:set_shared_assets
    deploy:check
  deploy:started
  deploy:reverting
    deploy:revert_release
  deploy:reverted
    [after]
      deploy:rollback_assets
  deploy:publishing
    deploy:symlink:release
  deploy:published
  deploy:finishing_rollback
    deploy:cleanup_rollback
  deploy:finished
    deploy:log_revision

The db migration could be hooked after the deploy:reverted task
I'm not really sure why the official rails support for capistrano doesn't add this funcionality. https://github.com/capistrano/rails/issues/110


Brand danger updated for better look and feel

#d9534f changed to #dd4440

Why are you targeting font-stack-docs rather than v4-dev? Possibly superseded by #18462.

Random color changes, especially to the wrong base branch, without any screenshots aren't going to get merged unfortunately :). Thanks though!


Convert to R Package

This is the most basic level conversion to an R package. It should work now but will need additional cleanup to follow good practice.

Thanks @gmyenni. I just tested this using install_github and it looks like it's working great!


dokku-redis exposed on <IP_ADDRESS> / public interface

The current version sets a port for the redis-container via the  -p  switch.
This leads to docker binding that port to <IP_ADDRESS> /eth0.
For a development setup that seems convenient.
But not the best idea for more productive systems.
I tried to close down the port with iptables... but sunk some hours without success.
Therefore I recommend removing the -p from the commit script.
As linked containers get reported the docker IP anyway.
I have a "fixed" forked version here wesrc@ 101ce67  and can do a proper PR if wanted

Patch merged.


Are reading, writing, and updating really safe?

Reading and writing are almost the same as dereferencing a raw pointer. Dereferencing is unsafe because it may cause undefined behavior such as data race.

https://doc.rust-lang.org/std/slice/fn.from_raw_parts_mut.html has similar functionality. It is unsafe but almost all other operations to the slice are safe. This means reading, writing, and updating can be safe.

https://doc.rust-lang.org/std/slice/fn.from_raw_parts_mut.html has similar functionality. It is unsafe but almost all other operations to the slice are safe. This means reading, writing, and updating can be safe.


Modifying the eth_get_transaction function to utilize the evm rpc canister

Update to the eth_get_transaction_receipt Function Documentation
Understanding the Updated Function
The eth_get_transaction_receipt function is designed to retrieve the transaction receipt for a given Ethereum transaction hash by interacting with the EVM RPC canister. Here’s how it works:

Call to EVM RPC Canister: The function now directly calls the EVM RPC canister instead of making an HTTP request. This canister is responsible for communicating with Ethereum networks (like Sepolia) to fetch the transaction receipt.

Handle Consistent Results: If the canister returns a consistent result, the function extracts and returns the transaction receipt.

Handle Inconsistent Results: If the canister returns inconsistent results from different Ethereum nodes, the function handles the inconsistency and returns an error message.

Error Handling: The function captures and formats errors, ensuring that any issues during the call are appropriately reported.

Here's the updated code snippet for the function:
async fn eth_get_transaction_receipt(hash: String) -> Result<GetTransactionReceiptResult, String> {
    // Make the call to the EVM_RPC canister
    let result: Result<(MultiGetTransactionReceiptResult,), String> = EVM_RPC
        .eth_get_transaction_receipt(
            RpcServices::EthSepolia(Some(vec![
                EthSepoliaService::PublicNode,
                EthSepoliaService::BlockPi,
                EthSepoliaService::Ankr,
            ])),
            None,
            hash,
            10_000_000_000
        )
        .await
        .map_err(|e| format!("Failed to call eth_getTransactionReceipt: {:?}", e));

    match result {
        Ok((MultiGetTransactionReceiptResult::Consistent(receipt),)) => {
            Ok(receipt)
        },
        Ok((MultiGetTransactionReceiptResult::Inconsistent(error),)) => {
            Err(format!("EVM_RPC returned inconsistent results: {:?}", error))
        },
        Err(e) => Err(format!("Error calling EVM_RPC: {}", e)),
    }
}

Key Changes from the Previous Version

Removal of HTTP Outcall: The previous implementation used HttpOutcall to make HTTP POST requests directly to an Ethereum JSON-RPC API. This has been replaced with a canister-based approach using EvmRpcCanister.
Network Services: The function now uses multiple Ethereum Sepolia network services (e.g., PublicNode, BlockPi, Ankr) to ensure robust and consistent data retrieval.
Error Handling Improvements: The new implementation enhances error handling by accounting for possible inconsistencies across different network nodes and providing detailed error messages.

Full documentation can be found in the updated README!

Thanks for the quick pull request! I've made some small changes to the branch Stephen-Kimoi/main. Could you please verify that everything works fine on your end?

Yes, just tested it out and it works.


Feature Request: Link to icon

Is there any chance that we could get an option to copy a link to the icon with the currently set colour? I've been using the original Feather Icons in my Notion database and would love to be able to use the Lucide icons instead. Thanks!

@SamuelStevenson I'm don't think I totally understand what you want to accomplish. The way how we create the svg files is exactly the same as Feather Icons. So the color of each icon is set to "currentColor" that's the font size color of the document.
Can you explain how you use feather inside notion? Maybe we can make lucide work their too.

I believe they want a feature to copy a link from the website, which would show a particular icon with the color selected in the customize dialog.

They want a copyable URL which would return as a response the SVG source of a certain icon with the current customization options which they could then insert into Notion's custom icon dropdown:

I think a better solution would be to what Simple.ink does and allow copying a data URI which would be a much more generic solution: https://notionicons.simple.ink/

I've in the new website, created an endpoint for directly requesting icons.
This will be an example of a request URL.
http://lucide.dev/api/icons/airplay?strokeWidth=1&color=ff0
This API will be running on the edge and aggressively cached.
@karsa-mistmere For the data url, I think aslo nice idea to add to website

what does "the edge" mean here?

what does "the edge" mean here?

Vercel's Edge Network.

The new website is live, and the endpoint from my latest comment is available. So have fun!
http://lucide.dev/api/icons/airplay?strokeWidth=1&color=ff0

Copy Data Url also works with Notion.

Amazing! It works beautifully. Thanks so much for the added functionality!
On Sun, Jun 11, 2023 at 12:20 PM Jakob Guddas @.***>
wrote:

Copy Data Url also works with Notion.
[image: image]
https://user-images.githubusercontent.com/25524993/244962068-1b509c45-3919-4008-b6f1-188688f714f6.png
—
Reply to this email directly, view it on GitHub
https://github.com/lucide-icons/lucide/issues/461#issuecomment-1586304973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCMJ3DYKJAB344UVXA5IM3XKYLAZANCNFSM5LA3IERA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Neo4jClient Transactions - Auth Error on Transaction Completion

Using (Neo4jClient 1.1.0-Tx00008)
Also posted to stackoverflow.com (http://stackoverflow.com/questions/31519633/neo4jclient-transactions-auth-error-on-transaction-completion)
I am attempting to use the latest pre-release of Neo4jClient transaction support (Neo4jClient 1.1.0-Tx00008).  I have tried the most simple example, but seem to always get an authentication error whenever the transaction completes (Neo4j Community 2.2.2 or 2.3).  The following code:
        var graphClient = new GraphClient(new Uri("http://user:password@localhost:7474/db/data"));
        graphClient.Connect();

        using (var transaction = graphClient.BeginTransaction())
        {
            graphClient.Cypher.Create("(n:TestNode {Name:'TestNode2'})").ExecuteWithoutResults();
            graphClient.Cypher.Create("(n:TestNode {Name:'TestNode3'})").ExecuteWithoutResults();
            transaction.Commit();
        }

Always results in this error when the transaction commit is called, or if I exclude the transaction.Commit() and allow the scope to end:
Received an unexpected HTTP status when executing the request.

The response status was: 401 Unauthorized

The response from Neo4j (which might include useful detail!) was:
<title>401 Authorization Required</title>

401 Authorization Required

nginx

Without using any transaction scope, the nodes are created fine. I have looked through the unit tests in the source code, but do not see any difference in how to call this.

Hi @TimberRaft, I've replied to your StackOverflow, and the long and short of it is that for the time being you need to use an Http Wrapper (see http://geekswithblogs.net/cskardon/archive/2015/03/27/upgrading-your-neo4j-from-xxx-to-2.2.0ndashhaving-authorization-trouble.aspx).
This does need to be addressed within the client, so I'll have a look at that in a short while.

I am grateful for the transaction support and the immediate workaround.
Thank you!
From: Chris Skardon<EMAIL_ADDRESS>Sent: July-20-15 1:17 PM
To: Readify/Neo4jClient
Cc: Timber Raft Inc.
Subject: Re: [Neo4jClient] Neo4jClient Transactions - Auth Error on Transaction Completion (#96)
Hi @TimberRaft https://github.com/TimberRaft , I've replied to your StackOverflow, and the long and short of it is that for the time being you need to use an Http Wrapper (see http://geekswithblogs.net/cskardon/archive/2015/03/27/upgrading-your-neo4j-from-xxx-to-2.2.0ndashhaving-authorization-trouble.aspx).
This does need to be addressed within the client, so I'll have a look at that in a short while.
—
Reply to this email directly or view it on GitHub https://github.com/Readify/Neo4jClient/issues/96#issuecomment-122956918 .  https://github.com/notifications/beacon/ABzqDQpcffxlK88Ed1RneabSOtw9GCQcks5ofSR5gaJpZM4FcGST.gif

At this point, I am trying to get some transactional updates working inside an NServiceBus handler. NSB handlers have an existing ambient distributed transaction.  Even if I declare the client with the http wrapper, an auth exception is thrown when NSB commits the transaction.  I have cloned your repo and referenced it in my solution so that I can try to see what's going on.  With this library, will all Cypher queries use an ambient transaction if there is one?

Righto, so make sure you're in the 'issue-14---T' branch for the Tx stuff.
I've no experience with NSB, so I'm not sure exactly how to help, but I'm guessing that there must be some calls being made not using the HttpClient passed in, which is odd and shouldn't happen. I'm very interested in seeing where you get with it and helping if I can, it's super cool that you're looking into it as well, thank you!

I think I know the source of the problem, give me a little while and I'll see if I can fix it ~ couple of hours or so

Pre-release 1.1.0-Tx00009 is now in nuget, ready for the getting, I think it should solve your problem, please could you give it a try and see?
Cheers

I tried, and it got past the auth exception, however, It seemed to get past the auth error.  Now there is a null reference exception:
Object reference not set to an instance of an object.
	  at    Neo4jClient.Transactions.Neo4jTransaction.DoKeepAlive(ITransactionExecutionEnvironment transactionExecutionEnvironment) in D:\temp\tmpD705\Neo4jClient\Transactions\Neo4jTransaction.cs:line 248
   at Neo4jClient.Transactions.Neo4jTransationSinglePhaseNotification.Prepare(PreparingEnlistment preparingEnlistment) in D:\temp\tmpD705\Neo4jClient\Transactions\Neo4jTransactionResourceManager.cs:line 25
   at System.Transactions.InternalEnlistment.System.Transactions.IEnlistmentNotificationInternal.Prepare(IPromotedEnlistment preparingEnlistment)
   at System.Transactions.Oletx.OletxEnlistment.PrepareRequest(Boolean singlePhase, Byte[] prepareInfo)
   at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(Object state, Boolean timeout)
   at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)

NSB is essentially calling my method inside an existing transaction scope.  The NSB framework commits the parent transaction if no exceptions are thrown from any child calls.  My method is simple a group of calls to create some nodes:
    public void Handle(TestNeo4jTransactions message)
    {
        GraphClient.Cypher.Create("(n:TestNode {Name:'TestNode1'})").ExecuteWithoutResults();
        GraphClient.Cypher.Create("(n:TestNode {Name:'TestNode2'})").ExecuteWithoutResults();
        GraphClient.Cypher.Create("(n:TestNode {Name:'TestNode3'})").ExecuteWithoutResults();
        GraphClient.Cypher.Create("(n:TestNode {Name:'TestNode4'})").ExecuteWithoutResults();
    }

Right, I know this is a pain, but would you be able to user source version (specifically issue-96 branch) and try that version in your codebase?
I'm pretty certain it's something to do with the way the HttpClient is passed to the Tx code.

I will. I should have a chance to try this out this afternoon.
From: Chris Skardon<EMAIL_ADDRESS>Sent: July-21-15 11:19 AM
To: Readify/Neo4jClient
Cc: Timber Raft Inc.
Subject: Re: [Neo4jClient] Neo4jClient Transactions - Auth Error on Transaction Completion (#96)
Right, I know this is a pain, but would you be able to user source version (specifically issue-96 branch) and try that version in your codebase?
I'm pretty certain it's something to do with the way the HttpClient is passed to the Tx code.
—
Reply to this email directly or view it on GitHub https://github.com/Readify/Neo4jClient/issues/96#issuecomment-123367326 .  https://github.com/notifications/beacon/ABzqDekFWANXe6jrXwqIXfqEAy3csI4Wks5oflpbgaJpZM4FcGST.gif

I have downloaded and referenced the branch you specified.
The exception is thrown at line 248 of Neo4jTransaction.cs.
in this call:
        DoKeepAlive(
            keepAliveUri,
            new ExecutionConfiguration
            {
                HttpClient = Neo4jTransactionResourceManager.ExecutionConfiguration.HttpClient,
                JsonConverters = Neo4jTransactionResourceManager.ExecutionConfiguration.JsonConverters,
                UseJsonStreaming = transactionExecutionEnvironment.UseJsonStreaming,
                UserAgent = transactionExecutionEnvironment.UserAgent
            },
            new CustomJsonSerializer());

Neo4jTransactionResourceManager.ExecutionConfiguration is NULL

Hmmm, ok, what do I need to do to get setup in the same way as yourself?

It's small enough.  Let me take a few minutes to ensure that it will work for you.  Need to strip out some dependencies.

Ace, my email is on my profile page: https://github.com/cskardon

As it has been brought to my attention this is still alive, I'm going to close it now, as we're now on 2.x and I think this is resolved by using the user/pass overload of the constructor:
new GraphClient(uri, "user", "pass");


⚠ Bofrost.lu has degraded performance

In 5c1115a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 852 ms

Resolved: Bofrost.lu performance has improved in c36c3b3.


Java 8 Program to reverse a string

Java program to reverse a string without using string inbuilt function

i have developed a java program to reverse a string without using string inbuilt function


Localizer Intercept Angle

As I alluded to briefly in #352, I was "pretty sure" that we weren't handling the approach course interception rules correctly in the code. The applicable paragraph out of the 65 is para 5-9-2, and provides a table indicating the normal intercept angles, 30 degrees most commonly being the applicable offset.
So, in the code, a la line 1637-1647:
//plane is on the glide slope
if(this.mode != "landing") {
    this.mode = "landing";
    if (!this.projected &&
        (abs(angle_offset(this.fms.currentWaypoint().heading, angle)) > radians(30)))
        {
            ui_log(true, this.getRadioCallsign() +
                       " landing intercept vector was greater than 30 degrees");
            prop.game.score.violation += 1;
        }

We calculate the difference between assigned heading and runway heading, and see if it's over 30. The catch (which I have verified today with a retired controller and trainer at the FAA Academy) that yes indeed, those 30 degrees are based not on the runway's precise magnetic heading, but on its nominal heading.
For example, SFO's 28R & 28L have a magnetic heading of 284, but are called "28" left/right, and it's the "28" part that those headings are based off of. So, even though 250 is 34 degrees offset from runway heading of 284, it is allowable because it is 280 - 30 degrees.
The logic should be changed to compare assigned heading not with the literal angle of the runway, but the nominal angle, eg. 280 degrees.

I concur. Just another example why nominal angle should be used (my beloved VHHH again): the ILS 07R Approach calls for a final turn heading 040 to intercept localizer, but RWY 07R's inbound heading is 073.
(We don't have this problem in VHHH in game right now, because we are using an RNAV approach.)


⚠ GitHub has degraded performance

In d29db3d, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 236 ms

Resolved: GitHub performance has improved in 2ca6775.


Ce readme

Hi Harvey,
Have updated four files. Please check.
Thank you,
Geetha.

Manually took in changes in CL79440


Engine has not rolled in 5 days

Looks like at least one NNBD related issue - I was assuming this was due to the tree just not being open much.
/cc @zanderso

One source of breakage: https://github.com/flutter/engine/pull/20868 (@xster) - https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8868424790147716704/+/steps/run_test.dart_for_tool_tests_shard_and_subshard_integration/0/stdout#L6873_0

Revert for that in https://github.com/flutter/engine/pull/21338

Engine roll landed earlier this evening.


much slower when using torchsde as backend.

hello, im trying to using neural cde with some noise. I found torchsde is one choice of backend. But after solving the 2-dim-limits problems,  it becomes much slower than just using torchdiffeq. May I using in a wrong way or  is this the problem of neural sde ?
or can i have a better way to combine noise ?
thanks.

This is probably expected to be honest. We do this by adding on a zero diffusion term, which is pretty wasteful.
In any case, torchcde is now in maintenance mode only. For any new projects I would encourage using Diffrax instead, which is much larger, more featureful, and much faster.

thanks for your reply.
I just have a look at the issues of Diffrax and appreciate your hard-working !
I have another problem before I try to adopt torchsde as backend of CDE.  I use a seq2seq structure on multivarious time-series forecasting problems while neural sde runs after the neural cde overs. The result only improved a little on one traffic dataset. The seq2seq's behaviour seems to be equivalent to neural CDE with a conv2d. I'm so confused.


Treat objects with negative max-age CC directives as stale.

Per RFC 7234, section-1.2.1, max-age values should be a non-negative
value. If it is negative, therefore, the value is invalid.  Per RFC
7234, section-4.2.1, invalid freshness specifications should be
considered stale.
Before this change, negative max-age values were considered non-existent
and treated with a default max-age value. This fixes that so that if the
max-age is negative, it is considered stale.

This closes #7254

Cherry-picked to v9.0.x branch.


Added in memory cache support for IMDS - SAMI and UAMI

Pull Request: Implementing Cache Support for Managed identity AcquireToken
Overview
This PR introduces caching support for Managed identity AcquireToken, it is in-memory cache only.
Moed storage from Internal to base folder so we can reuse that for ManagedIdentity

Another way to do this that's a little roundabout but simpler is to use confidential.NewCredFromTokenProvider as does azidentity.  Then you can use that confidential client like this to read the cache and request new tokens. This approach is somewhat indirect but has the benefit of not requiring a change outside of apps/managedidentity and you know it works because azidentity's been doing it for a couple years.

After discussion with @bgavrilMS we decided that we will keep the working of this same as other MSAL's


Dogfood e2etest; Client/Server Application

What does this PR do?

[X] Adds new functionality
[ ] Alters existing functionality
[ ] Fixes a bug
[X] Improves documentation or testing

Please briefly describe your changes as well as the motivation behind them:
First iteration of a larger project to create regression-like testing for the chaos controller. The PR contains an updated dogfood which has been tweaked slightly to confirm that the metrics we need to test CPU, Network, and Disk are present in Datadog.
The tester folder is present in this PR to show the current path that will be taken with this project and is by no means done or being used in any capacity.
Code Quality Checklist

[X] The documentation is up to date.
[X] My code is sufficiently commented and passes continuous integration checks.
[X] I have signed my commit (see Contributing Docs).

Testing

[ ] I leveraged continuous integration testing

[ ] by depending on existing unit tests or end-to-end tests.
[ ] by adding new unit tests or end-to-end tests.

[x] I manually tested the following steps:

[x] colima local testing with datadog agent deployed locally sending metrics to datadog
[ ] locally.
[ ] as a canary deployment to a cluster.

Note: we're keeping the PR open for now, we'll re-adapt it based on recent changes made to e2e tests plan once possible.


feat(instructor): introduce new client with support for different providers and sync/async operations

:rocket: This PR description was created by Ellipsis for commit 4d45d7ef8cf8787c544b8ae1fe6f2a9e9cab339a.

Summary:
This PR introduces new classes and methods in the instructor module, removes the *args parameter from several methods, includes a new test file for validation, introduces a new protocol, overloads a function to support Awaitable, and updates the README.md to reflect these changes.
Key points:

Introduced new Instructor and AsyncInstructor classes in instructor/client.py.
Removed *args parameter from several methods in these classes.
Added new test file tests/test_new_client.py for validation.
Introduced new AsyncInstructorChatCompletionCreate protocol in instructor/patch.py.
Overloaded patch function in instructor/patch.py to support Awaitable.
Updated README.md with examples of using the new classes with different providers.

Generated with :heart: by ellipsis.dev

@ellipsis_dev can you update everything in /docs to use instructor.from_openai instead of instructor.patch


Unable to Create Swift GDExtension on Windows

OS: Windows 11
Swift: 5.10.1
Overview
Using the documentation, I recreated the example project but with Windows and I'm unable to get a working GDExtension for Swift. Everything compiles correctly and the binaries are produced as expected but when I put them in the bin folder Godot produces an error that states "Can't open dynamic library:...." "Error 126: The specified module could not be found."
Expected behavior
There should be a Node that simply prints "Hello World from Swift."
Minimal Reproduction Sample
This project shows my code.
swift_example.zip

This info should add to the readme.

Which document were you reading?


[Metrics] Prometheus port mismatch

Kubernetes version of get _metric_addr
https://github.com/ucbrise/clipper/blob/df96eb4924809fedc5a70ef1bc080129c2bf962c/clipper_admin/clipper_admin/kubernetes/kubernetes_container_manager.py#L756-L767
uses the
https://github.com/ucbrise/clipper/blob/df96eb4924809fedc5a70ef1bc080129c2bf962c/clipper_admin/clipper_admin/container_manager.py#L9
but the service defined port is
https://github.com/ucbrise/clipper/blob/df96eb4924809fedc5a70ef1bc080129c2bf962c/clipper_admin/clipper_admin/kubernetes/prom_service.yaml#L10-L13
so the link will not work.
The fix is easy if we decide which way to go.

Hi, @jacekwachowiak Thanks for raising an issue. I am a bit busy this week, but I will try to handle issues tomorrow! Thank you for the patience.

Good catch. 1390 is a port number for the deployment. Could you create a PR to handle this?

Just to confirm - we want to use 1390? I'll change the service yaml then.

I think we should use 1390 because other services use same port for deployment and services defined in https://github.com/ucbrise/clipper/blob/develop/clipper_admin/clipper_admin/container_manager.py.
But before that, let's get confirmation from @simon-mo in case.
@simon-mo Could you tell us why prom service uses different port number from 1390? Also can you confirm it is okay to change?

Bump @simon-mo @rkooo567

@jacekwachowiak Thanks for the reminder. I just DM simon. I will create a PR for this as soon as it is confirmed.

Good point. We should use 9090 to stay consistent.

For context, CLIPPER_INTERNAL_METRIC_PORT was used originally to expose the query frontend exporter port:
https://github.com/ucbrise/clipper/blob/a66648a301c618fed4528e7b103fe737bf803768/monitoring/front_end_exporter.py#L82-L84
So if we change the port there, that would be great.


Add Reference Test checker

Add a check test to fail the build if the reference test submodule is
accidentally updated.
Signed-off-by: Danno Ferrin<EMAIL_ADDRESS>

Testing - this commit fails at assemble when the hashes don't match - https://github.com/hyperledger/besu/pull/1216/commits/6f6f4c7673ca888c611d443410d9c3c5b9d120b4


NVMe: SystemVerilog nmve model

Adding a simple SNAP NVMe layer simulator. We can write and read LBAs which result in files on disk.
This is intended to allow simulation of actions which use NVMe, without the Denali models we normally use to develop the low-level details. This model should perform reasonably well, it is not modelling a real NVMe device, but just the SNAP interface for the action: 6 registers to trigger an NVMe read/write and a data transfer into card DDR to/from the desired address, such that the data can be further processed e.g. transferred to the host-memory.
Restrictions:

No parallel operation yet.
Requires some more testing.

Demo:

https://github.com/open-power/snap/blob/verilog_NMVe_model/actions/hdl_nvme_example/tests/demo_0x10140001.sh

I did rebase the branch to the latest master and opened pull request #738 for the rebased version.
Closing this pull request.


How to convert quickly to a numpy array?

Your implementation is the fastest I've found but I'm having trouble converting your output type to an homogeneous numpy ndarray. What I'm trying to get is the result to a radius search as a 2D array where each row is a set max length (could be the lenght of the longest entry, I don't mind) but currently I have to resort to something like this:
def napf_result_to_numpy(result, max_knn):
    # Determine the number of elements and allocate the output array
    len_result = len(result)
    output_array = np.full(
        (len_result, max_knn), -1, dtype=np.int64
    )  # Pre-fill with a default padding value

    # Convert result to a flat list and calculate lengths
    flat_result = [item for sublist in result for item in sublist[:max_knn]]
    lengths = np.array([min(len(sublist), max_knn) for sublist in result])

    # Create row and column indices
    row_indices = np.repeat(np.arange(len_result), lengths)
    col_indices = np.concatenate([np.arange(length) for length in lengths])

    # Set the values in the output array
    output_array[row_indices, col_indices] = flat_result

    return output_array

and for large outputs this is very slow. For an idea of how slow, I am currently in the need to get the ball neighbours of one million 3D points and this take ~400ms using this:
kdt = napf.KDT(tree_data=data, metric="L2")
indices, dist = kdt.radius_search(queries, radius, return_sorted=False, nthread=-1)
return indices

But the conversion takes a whopping 6 seconds 🫠
If someone knows a faster way, I am all ears.
Thank you 😄

Hi :) I think it's best to implement/extend this on c++ side.

Keeping longest entry - as we don't know the longest entry a priori, we will have to find max length during query loop and set results aside, then loop again to fill out the results.
Setting max length - this, on the other hand, won't require an additional loop, thus should be faster than 1). My first thought would be: at each query, sort results -> return n_results in ascending order. However, based on the examples you've shown (return_sorted=False), you are interested in any n_results within the query, is this correct? In this case, one can write a custom ResultSet to exit the search after finding n_results. I guess this will be helpful if you have a lot of dense clusters.

I may find some time next week. Feel free to create a pull request meanwhile :)

From nanoflann v1.5.0, it supports parallel indexing: you can try kdt = napf.KDT(tree_data=data, metric="L2", nthread=<positive-int>) (I realized that this one doesn't support "magic" negative number. I will update this too).  You can take a look at their PRs for details.

Thx for the quick response :)
I think that it should be possible to pass in a maximum number of neighbors as a parameter like open3d hybrid search allows and return a 2D array with that row length set by this parameter (all remaining empty spots should be filled with -1)
Like this:
kdt.radius_search(queries, radius, max_knn=8, return_sorted=False, nthread=-1)

[[10, 15, 16, 25, -1, -1, -1, -1],
 [48, 23, 85, -1, -1, -1, -1, -1],
 [2,  -1, -1, -1, -1, -1, -1, -1]]

Oh that's nice, I'll definitely give that a try too :)

nanoflann already had a perfect function for this. Can you try and see if you gain any performance with #39?


potential issues in the phosphoproteomics example code?

In the phosphoproteomics analysis example you included should the filtering module be called 'filter' or 'filters'?

Hi, I also saw the same, it is "filters", then it should work.

Hi, I also saw the same, it is "filters", then it should work.


Add parameter SkipRegisterAsDistributedCacheHost to SPFarm

Pull Request (PR) description
Add parameter SkipRegisterAsDistributedCacheHost to SPFarm to allow to explicitely set it
This Pull Request (PR) fixes the following issues

Related to https://github.com/dsccommunity/SharePointDsc/issues/1321

Task list

[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based
help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[ ] New/changed code adheres to DSC Community Style Guidelines.

This change is

SharePointDsc/DSCResources/MSFT_SPFarm/MSFT_SPFarm.psm1, line 477 at r1 (raw file):
Previously, ykuijs (Yorick Kuijs) wrote…
Default values are not included in the $PSBoundParameters variable. Please add the following line here:
$PSBoundParameters.SkipRegisterAsDistributedCacheHost = $SkipRegisterAsDistributedCacheHost

That way, the parameter is added to the variable, also when it is not specified and has the default value of $false

Nice catch! Done.


[WIP] Functions to convert netcdfplus CVs to SimStore CVs

This adds a constructor to SimStore-based CVs to create the appropriate SimStore CV from a netcdfplus CV. This is a necessary step toward writing a script that converts netcdfplus files to SimStore files. That will be useful now for users who want to experiment with SimStore, and will be necessary in a pre-2.0 release so that users can upgrade.

@sroet, @hejung, @gyorgy-hantal (and anyone else who has some old CVs from netcdfplus and is comfortable trying an experimental branch): Could you try this branch out and see if the from_netcdfplus_cv methods are working correctly? They work on the things I have tested, but those are based on the way that I create CVs; just checking to see if there are use cases I'm missing.
The following script is a rough template of I hope you can try, especially for any CV that might have an unusual setup:
import openpathsampling as paths
from openpathsampling.experimental.storage.collective_variables import MDTrajFunctionCV

storage = paths.Storage("old_file.nc", mode='r')
old = storage.cvs['phi']  # was originally defined as a paths.MDTrajFunctionCV

# create the new CV using the classmethod `from_netcdfplus_cv`
new = MDTrajFunctionCV.from_netcdfplus_cv(old)

snap = storage.snapshots[-1]  # take an arbitrary snapshot from storage
assert old(snap) == new(snap)

So far, the CV types in the following table have been implemented in the new storage. (Only FunctionCV changed its name, because SimStore naming changed a little to avoid some domain-specific things in netcdfplus.) If you have a different CV type, let me know and I can prioritize setting up those, as well -- I assume these are the most-used CV types.

openpathsampling.
openpathsampling.experimental.storage.collective_variables.

FunctionCV
CollectiveVariable

CoordinateFunctionCV
CoordinateFunctionCV

MDTrajFunctionCV
MDTrajFunctionCV


Allow linking non-vendored lz4 and put vendored sources behind a feature

If this is already possible, how do I do that?

@picoHz I'm also interested in this. Can you look into the issue. Having an option to link to the system lz4 would be nice.

It's a bit tricky because available features depend on the version of the installed liblz4.
Even if you installed the latest version, some functions are not available in the dynamic-linked version.

maybe we can do features for different versions

still important to me


Fix/fix unsigned commits

What
Merging master into develop after a hotfix
How to review
See that tests pass.
Who can review
!me.

To handle unverified commit, I would update repo setttings to allow for unverified commits to be allowed and then once merged, change it back


fix: app starts hanging for 30s

:scroll: Description

Fixes timeouts still happening with autoAppStarts disabled and setAppStartEnd not being called
Also timeout has been reduced to 10s as 30s is a bit aggressive, maybe it makes sense to lower it even more?
:green_heart: How did you test it?
Unit tests
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps
Let's discuss if setAppStartEnd is still needed.

I will test this later today.

Verified with Spotlight that this works for my use case 🚀


Move dashboard watcher to 5.0

https://github.com/elastic/examples/issues/54

Closed by https://github.com/elastic/examples/pull/76


Could not read config from meta tag

I have storeConfigInMeta set to false, and so get this error:
Could not read config from meta tag with name "styleguide/config/environment" due to error: TypeError: Cannot read property 'getAttribute' of null
Does this mean I won't be able to use Engines?

I've tried to allow using storeConfigInMeta:false with engines in #228
Can you try out my fork and let me know if it helps your case too?

Thanks,
I tried again, but get a different error
Failed to load asset manifest. For browser environments, verify the meta tag with name "foo/config/asset-manifest"


fix: typos in documentation files

Corrected unparseable to unparsable
Corrected proessing to processing

Per our contribution guidelines we do not accept non-code contributions: https://github.com/hyperledger/besu/blob/main/CONTRIBUTING.md#guidelines-for-non-code-and-other-trivial-contributions
I have to close the PR without merging, because of that.


add start and end value to date picker

This function solves the problem (这个功能解决的问题)
we can solve this issue by using "is-date-disabled" but in my case
our client want to open the picker to the start value not the current month value
Expected API (期望的 API)
so if we can add something like default-value maybe
start-at-value
end-at-value
or
allowed-dates or dates-range
ex:

Will do, seems there is a Chinese issue facing the same issue.
I'll add the feature in next version.

close in https://github.com/TuSimple/naive-ui/commit/1c8de54e802e209a71267bcd4a8e05d9576f4324


Certain UI elements cover the scrollbar when reading an article

Steps to Reproduce
Steps to reproduce:

Launch Capy Reader
Open an article long enough to require a scrollbar
Scroll

Expected behavior
The scrollbar is bound between the top bar and the bottom gesture bar, instead of the current behavior where the top and bottom bars cover the scrollbar.
Screenshots or screen recording
https://github.com/user-attachments/assets/0d830c29-5d57-4f00-b007-738f757784ee
Device, Operating system, and app version
Google Pixel 3, Android 12 (latest), Capy Reader 2024.10.1066

Hey @Pixelo789 - great find, and thanks for the detailed bug report. This is due to the "unpin toolbars" behavior. There's a 64px offset beneath the top bar that the scrollbar is lost under.
This is a relatively simple thing to fix. I'll try and address it in the next week or so.

This is fixed as of 2024.10.1068-dev


How to use vcap Rabbitmq jms queue and Redis service in spring boot application

Hi Garry,
I am new to vcap services on pivotal. I have to bind redis and rabbit mq services using vcap.
This is the below link in which I am working right now
link1: http://stackoverflow.com/questions/43305346/how-to-give-manual-acknowledge-using-jmstemplate-and-delete-message-from-rabbitm
After consuming messages from rabbitmq jms queue I am processing and storing it  in redis as hmset.
In below link the entire details are given .
The question that I have is
(http://stackoverflow.com/questions/43936022/use-pivotal-cloud-foundry-redis-and-rabbitmq-service-using-as-vcap-service-in-sp)
In this url the vcap config is mentioned I am trying to use it but I am not able to get the  specific dependencies for
@Bean
RabbitConnectionFactory rabbitFactory() {
return connectionFactory().rabbitConnectionFactory("rabbit-servicename");
}
Have u any other solution for this .
Thanks.
Regards,
Abhijeet.

Please don't use GitHub issues for questions; Stack Overflow is for that. It seems to me that someone from the community has already answered your question.


Added lint enum_struct_variant_field_now_doc_hidden

Lint for when a field in struct variant in public enum is now marked as #[doc(hidden)]
Issue mentioned in https://github.com/obi1kenobi/cargo-semver-checks/issues/578
Caught a lint in test crate for the lint enum_now_doc_hidden, which is mentioned in the test output for this lint

Very nice! Marked for merge 🚀
If you're open to shipping more lints, I'm very happy to keep merging them!

Maybe tomorrow I kinda have to study for my tests now😅

Of course, good luck with your tests!


Feature request: key stroke sounds

Would be cool to have optional sounds typewriter key strokes while typing.
http://www.soundjay.com/typewriter-sounds.html
Thanks for considering.

+1, but needs more like something exploding or the likes, instead of a typewriter sound

@kozie yeah that works too, i just remember the feeling of the effect when you bounce on the keys in what ever app i used. Lots of fun : )

Looks like someone has already done this (with gun sounds) https://github.com/JoelBesada/activate-power-mode/pull/125

This is duplicated of #21
But I will leave this one open as is newer, for more exposition.

There are already two pull requests with this feature #125 and #44
IMO, typewriter sound feels more natural, so #44 is more likely to me merged when fixing conflicts.
The other PR adds gunshot sound btw :gun:

#125  is updated

#125 :gun: merged.


Create release for kubespray v2.19.0

As the title says, there's a new kubespray release and we should create a new release
Definition of Done
There's a new release
https://github.com/kubernetes-sigs/kubespray/releases/tag/v2.19.0

we already have an issue for that so i will close this one


Slower inference time on modified models

I trained 2 different models on top of the ssdlite_mobilenet_v2_coco from the tensorflow object api model zoo, but I get different speeds on each model when running on the Raspberry Pi 3:
ssdlite_mobilenet_v2_coco (90 classes) = 1.3 fps
retrained_ssdlite_1 (2 classes) = 0.7 fps
retrained_ssdlite_2 (3 classes) = 0.8 fps
My trained models are experimenting an drop of almost half the speed of the original model
Is anybody having the same issue?
Am I missing some step to make the model efficient at inference time?

Nvm, the problem was that I was creating the frozen graph in my personal computer instead of doing directly on the raspberry, I suppose that the tensorflow api makes some kind of optimization according to the the device

experiencing the same
So the learning also needs to take place on the raspberry pi?
Wouldn't that take ages ? It already takes hours on my mac, with only 6 classes.
Please let me know your experience

You only export inference graph (.pb) on the raspberry pi
When you finish the training on your mac it generates an model.cpkt-XXXX file right?
Transfer an copy and generate the .pb file on the raspberry pi.
Example
#Inside the raspberry pi
python export_inference_graph.py --input_type image_tensor --pipeline_config_path training/faster_rcnn_inception_v2_pets.config --trained_checkpoint_prefix training/model.ckpt-XXXX --output_directory inference_graph

hello, How did you export the inference graph on the raspberry pi ? I am doing a project on object detection using raspberry pi. As I tried to import the inference graph in the pi just like what you said I encountered this error.
Traceback (most recent call last):
File "export_inference_graph.py", line 96, in
from object_detection import exporter
File "/home/pi/tensorflow2/models/research/object_detection/exporter.py", line 20, in
from tensorflow.contrib.quantize.python import graph_matcher
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/init.py", line 38, in
from tensorflow.contrib import cloud
ImportError: cannot import name 'cloud'
**python3 export_inference_graph.py --input_type image_tensor --pipeline_config_path training/ssd_mobilenet_v2_coco.config. --trained_checkpoint_prefix training/model.ckpt-34491 --output_directory inference_graph
Traceback (most recent call last):
File "export_inference_graph.py", line 96, in
from object_detection import exporter
File "/home/pi/tensorflow2/models/research/object_detection/exporter.py", line 20, in
from tensorflow.contrib.quantize.python import graph_matcher
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/init.py", line 38, in
from tensorflow.contrib import cloud
ImportError: cannot import name 'cloud'
**


Allow to filter repositories by language in explore, user and organization repositories lists

Allow to filter by primary language in following repository lists:

Explore repositories
Organization repository list
User repository list
User starred repositories
User watched repositories

To search by language user can click on language tag in repository list

In code search we already do that just like GitHub does (showing languages that are for files in search results). Functionality implemented here is not available in GitHub at all. Closest to this is trending repositories where you can select language.

In code search we already do that just like GitHub does (showing languages that are for files in search results). Functionality implemented here is not available in GitHub at all. Closest to this is trending repositories where you can select language.

Sorry, I meant a menu like:

I could not find such filter, in what page is it in GitHub? But yes this could be added in the future

https://github.com/search?q=gitea


Question about the confounds confounds_series.txt file

Hi,
Thank you for providing this very nice tool!
I use DeepPrep on a HPC with singularity and GPU and so far, so good! I have a question about the column labels in the file desc-confounds_timeseries.txt : What do they mean? Are compX the values of aCompCor components? If yes, where are they calculated? WM, CSF? Combined mask of WM and CSF?
Frame dL dP dS pitch yaw roll dL_d dP_d dS_d pitch_d yaw_d roll_d WB WB_d vent vent_d wm wm_d comp1 ...
Thank you!

Hi,
The explanations are provided below, hope you find this helpful :)

Frame: the current frame of BOLD.

The first 6 parameters are the original head motion parameters (6HMP).
dL: translational displacement in the left direction (X-axis)
dP: translational displacement in the posterior direction (Y-axis)
dS: translational displacement in the superior direction (Z-axis)
pitch: rotation around the pitch-axis (right/left)
yaw: rotation around the yaw-axis (anterior/posterior)
roll: rotation around the roll-axis (inferior/superior)

The following 6 parameters (dL_d, dP_d, dS_d, pitch_d, yaw_d, roll_d) are the temporal derivatives of each of the original 6HMP, resulting in 12 head motion parameters (12HMP) in total.

The WB, vent, and wm represent the within brainmask signal, ventrical signal, and white matter signal, while the WB_d, vent_d, and wm_d are their corresponding temporal derivatives.

The last 10 parameters (comp1-comp10) correspond to the first 10 PCA components of the signal outside the brainmask.


Third Party Publishers not supported

What happened?
not using Pulumi as the publisher in resources.go leads to an incomplete build.gradle file.
specifically the publishing configuration:
publishing {
    publications {
        mainPublication(MavenPublication) {
            groupId = ""
            artifactId = ""
            version = resolvedVersion
            from components.java
            artifact sourcesJar
            artifact javadocJar

            pom {
                inceptionYear = ""
                name = ""
                packaging = "jar"
                description = ""

                url = "https://github.com/muhlba91/pulumi-proxmoxve"

                scm {
                    connection =<EMAIL_ADDRESS>                    developerConnection =<EMAIL_ADDRESS>                    url = "https://github.com/muhlba91/pulumi-proxmoxve"
                }

                licenses {
                    license {
                        name = "The Apache License, Version 2.0"
                        url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
                    }
                }

                developers {
                    developer {
                        id = ""
                        name = ""
                        email = ""
                    }
                }
            }
        }
    }
}

in comparison the GCP provider sets Pulumi as publisher and ends up with correct parameters: https://github.com/pulumi/pulumi-gcp/blob/master/sdk/java/build.gradle#LL79C1-L120C2
the reason is a hard-coded check for Pulumi publishers in https://github.com/pulumi/pulumi-java/blob/main/pkg/codegen/java/templates_gradle.go#L119-L130.
Expected Behavior
auto-generation of java code and build.gradle supports using a third-party publisher, e.g. by setting the required parameters in the JavaBridge in resources.go. (= parameters in https://github.com/pulumi/pulumi-java/blob/main/pkg/codegen/java/templates_gradle.go#L119-L130 can be sourced from the config)
Steps to reproduce

set the Publisher property in resources.go to something else than Pulumi
trigger code-generation

Output of pulumi about
N/A
Additional context
example of a current WIP third-party provider supporting Java is https://github.com/muhlba91/pulumi-proxmoxve/pull/65
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thanks for filing this and providing a lot of detail. Taking a look!

We'll be cutting a release of pulumi-java tomorrow which will contain the fix for this issue. We greatly appreciate your feedback! Let us know if you run into any other issues!


fix: use vec4 for export call

rep-talkNPC CreateNPC export doesn't do anything with heading. It looks for it in the vec4 coords. This fixes that issue.

thank you i will close this pr tho the changes have been made

Except you didn't remove the useless heading value being passed to the export?


Use up to date version of Proton CLI, fixes #6

Thanks to @ab2022 for working out the fix :)

Thanks for the PR, @betterphp (and @ab2022 for the fix)! Testing it locally...

I updated the change to be a little more deterministic, installing a specific version of the CLI tools, so that it's easier to know what is installed and to update. I also let pip do all the git heavy lifting. The Docker image version was bumped to trigger a new build on DockerHub.


diff peek view opens when clicking on empty gutter area

have a folder that is under git
make a change to a line: the git dirty annotation shows up in the gutter
click on an empty gutter area
peek view opens for a previous change

@kieferrm Got there first: https://github.com/Microsoft/vscode/issues/37256


Update about-code-owners.md

Why: Regarding issue #32812 , there should be a information in the CODEOWNERS Syntax docs that team name in '.' (non-allowed charecters) format is not allowed. So, I have added that info
Closes: #32812

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@SjxSubham Thank you for opening a PR! I'll get this triaged for review ✨
https://github.com/github/docs/issues/32812 is still waiting for a review from our team, so we will need to put this PR on hold until that issue is reviewed 💛 thank you for your patience, and willingness to contribute!