fixed typo - changed widht to width

As I was trying out the demo, I found it not working by copying & pasting.
It turns out imaginary(image, [imaginaryUrl]) had a typo.
I made a following change.
- widht
+ width

Thanks!


Rename to web3signer

Rename Eth2Signer to Web3Signer

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


User avatars images shown, on select, should be those uploaded specifically for the profile being edited

As reported by @armouredking in #1230.
Need to ensure visibility permissions are set to that user or the current user if they have permission to manage-users globally.

Profile images are now selected directly therefore this is no longer an issue.


I have a question about Chronological List Format

can someone help me with the JSON to make the chronological format display horizontally vs Vertically?
Sample (which sample are you talking about)
List-Formatting/view-samples/chronological-format/
Question (the more details, the better)
I do not know how to code but i need this list view for a project im working on, i just need it to view across the page instead of down, can anyone help me out?

I will close this issue since there was the same issue.
#376


Some sensitivity figures need updating

Chris, I'm hoping you can help with these.
I rearranged the plot order and model groups to match the text in my last commit.  The new first page of sensitivity plots deals with survey no extrap and age-1 index.  On the lower graph, I'd like to specifically show the recruitment deviate density plot for 2014 (instead of the recruitment time series).  The caption here has been changed.  It is called 'compare14_densities_Late_RecrDev_2014' when I run the following:
base <- SS_output(dir="22_preSRGbase_copy",covar=F,verbose=T)
Survey_noExtrap <- SS_output(dir="32_Sensbase_Survey_noExtrap",covar=F,verbose=T)
Age1Index <- SS_output(dir="33_Sensbase_Age1Index",covar=F,verbose=T)
mymodels <- list(base,Survey_noExtrap,Age1Index)
mysummary <- SSsummarize(mymodels)
modelnames <- c("base","Survey_noExtrap","Age1Index")
pdf("C:/Users/Aaron.Berger/Documents/AMB/Hake/2015.2016/sensitivity/compare_22_32_33.pdf")
SSplotComparisons(mysummary, legendlabels=modelnames,plotdir=wdir,print=TRUE,endyr=2015,indexPlotEach=T,new=F,indexfleets = c(2,2,2,2),densitynames = c("SPB_Virgin","R0","Main_RecrDev_2010","Late_RecrDev_2012","Late_RecrDev_2014","SR_BH_steep","ForeCatch_2016"))
The second page will be for the selectivity sensitivities (now sens.model.inds.3) following your the five plot 'layout' that you made for the bridging.  Top panel is subplot 2, then the lower four are the 'sel02_multiple_fleets_age1' graphs that are output when using SS_plots function.  These will show the actual estiamated selectivity pattern for each case.  At some point, I'd like to figure out how to add uncertainty measures.  Allan has previously done this using the posterior, but I will have to then run an mcmc on three more models.
The third page will then be the 'standard key' sensitivity runs.  I think I've done this correctly in the main-figures.rnw, but a check over would be a good idea.
Let me know is more info needed.

Perhaps you have a better idea for the selectivity graphics... feel free try something different then specified above

I am working on this

I did the 5-panel one but am having difficulty with the density plot. SSplotComparisons with subplot argument 14 creates 6 plots, so I will have to extract the code that builds them and create a new function. This will take some time...

If it is too much trouble for now, we can just go with the subplot 8 (recruitment time series).  The main feature of the addition of the age-1 index is the change in the estimated precision (more precise) of the 2014 recruit size.  It is harder to see this on the full time series plot.  But would be okay for now.

It's ok, I figured out how to do it without having to hack code I think.. Does this look correct to you?
SSplotComparisons(mysummary, legendlabels=modelnames,plotdir=getwd(),print=TRUE,endyr=2015,indexPlotEach=T,new=F,indexfleets = c(2,2,2,2), densitynames = c("Late_RecrDev_2014"), subplots = 14)

Yes, that way you only end up with one subplot 14.  Nice....!

To be extra clean, you could get rid of the indexfleets statement also

These are done. Closing..

Yo can probably set print=F to avoid creating a png file.I'm not sure if it
actually doing that or not, though.
On Fri, Feb 5, 2016 at 10:21 AM, cgrandin<EMAIL_ADDRESS>wrote:

Closed #42 https://github.com/cgrandin/hake-assessment/issues/42.
—
Reply to this email directly or view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/42#event-541012713.


Add support for building adhoc images from git refs

In order to proceed with the split components infrastructure work we need the ability to create a new cloud-platform-cli image seperate to the production version so we can test our cluster builds.
Ref https://github.com/ministryofjustice/cloud-platform/issues/5365
What this PR does is add a new github action which takes branch as an option when you manually run the action. It will then build the image based off that branch/ref and tag a new image with it. This way we don't break the production release of the cli.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.81%. Comparing base (3624992) to head (067da85).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #545   +/-   ##
=======================================
  Coverage   37.81%   37.81%
=======================================
  Files          50       50
  Lines        3165     3165
=======================================
  Hits         1197     1197
  Misses       1843     1843
  Partials      125      125

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add examples with Graphviz

Usage page changes
Screenshots on examples page
Move screenshots on top, add graphviz example

This needs to be opened again, there are no examples for Graphviz to make it like the image on the landing page.
This

is not even close. I do not intend for the following to sound insulting and such (I am a staunch proponent of Linux and FOSS in general), but the extremely vague and simple examples given - except for HTML which actually does result in the exact layout from the screenshot without additional CLI arguments - are close to useless.
Instead, they serve as a textbook example of why a newcomer to the platform feels that the ecosystem is "intimidating" and "not ready for the desktop" because they have to figure everything out by themselves to accomplish what is said to be possible.
So please, elaborate the examples a lot.
This tool and the potential outputs of it are really appealing to me, but I shouldn't need to learn the entire graphviz library in order to get the kind of graph given as the example.
I absolutely appreciate the work you have put into making this tool, but in the current form it is simply not user-friendly. And I am writing this with the best of intentions, because as of now my takeaway is that there is a huge potential here and it is going to waste.

@zejjnt hi :wave:
I see. Graphviz example was taken from this XML https://github.com/nmap/nmap/blob/master/zenmap/radialnet/share/sample/nmap_example.xml
It has a lot of endpoints scanned at once (you can see in the xml <nmaprun scanner="nmap" args="nmap -A -v -oX sample-03.xml freshmeat.net sourceforge.net nmap.org kernel.org openbsd.org netbsd.org google.com gmail.com ..."), in your case you have scanned only one domain, therefore the image is not as impressive.
These little dots represent hops. It's basically intermediary routers that packet goes through, sometimes packets go through other places, so it can be shown in the graph in the end.
Since there is quite big amount of options it's a bit hard to compress it into 1 readme file, so there Wiki for that, there is section Flags and Output Options that can help you to tweak it however you want to. However, there is not much options for Graphviz


Add a map layout type

For the Azores OUS, we will need users to view survey heatmap outputs and answer multiple questions based on those maps. Best solution to this would be to offer a new appearance setting that allows for adding a map as a "background image".
Requirements

[ ] Map settings should "cascade" to subsequent questions like photo settings, and keep user viewport and layer settings
[ ] Admins should be able to specify basemaps that pertain only to a given form element. The first use may be with uploaded custom gl-styles
[ ] Best to make use of existing basemaps model. While we may start simple, eventually we may need support for optional layers, interactivity, and other advanced features.

Seems like we can use existing MAP_SIDEBAR_LEFT|RIGHT layout types. I'm going to update the form element appearance settings to:

[ ] Better indicate when settings come from a previous element, and allow making them explicit without necessarily picking a new background image.
[ ] Add the map layout type as an option
[ ] When map layout type is selected, basemap options should appear


Function to validate duplicated paths

[On progress, please don't merge]

Function to validate duplicated paths
Test to validate sluglify function

Coverage remained the same at 100.0% when pulling 0a5ed6a56b54ea5130598a173a3e9289d641691f on validatePaths into 96a9113b5677867e99e8807576c9f61c862b40bf on markdown.

Coverage remained the same at 100.0% when pulling 12ea89bd5b9bf1376aff82189124e8a1ded8e337 on validatePaths into 96a9113b5677867e99e8807576c9f61c862b40bf on markdown.

Coverage remained the same at 100.0% when pulling 9e7f0b023628e1b73a6bba3a309a41378fb0490e on validatePaths into 96a9113b5677867e99e8807576c9f61c862b40bf on markdown.


ValueError: buffer size must be a multiple of element size

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (dev-1.x) or latest version (dev-1.0).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
sys.platform: darwin
Python: 3.9.20 (main, Oct  3 2024, 02:27:54) [Clang 14.0.6 ]
CUDA available: False
MUSA available: False
numpy_random_seed:<PHONE_NUMBER>
GCC: Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
PyTorch: 1.11.0
PyTorch compiling details: PyTorch built with:

GCC 4.2
C++ Version: 201402
clang 12.0.0
Intel(R) oneAPI Math Kernel Library Version 2023.1-Product Build 20230303 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.5.2 (Git Hash a9302535553c73243c632ad3c4c80beec3d19a1e)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CXX_COMPILER=/Applications/Xcode-12.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -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-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-range-loop-analysis -Wno-pass-failed -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Qunused-arguments -fcolor-diagnostics -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-unused-private-field -Wno-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.11.0, USE_CUDA=0, USE_CUDNN=OFF, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=ON, USE_OPENMP=OFF, USE_ROCM=OFF,

TorchVision: 0.12.0
OpenCV: 4.10.0
MMEngine: 0.10.4
MMDetection: 3.2.0
MMDetection3D: 1.4.0+fe25f7a
spconv2.0: False
Reproduces the problem - code sample
pcd_demo.py
Reproduces the problem - command or script
I encountered the same errors when I try to visualize kitti demo and my own config (alongwith custom kitti format dataset) on my iMac.
I ran the command:
python demo/pcd_demo.py output_kitti.pcd  configs/pointpillars/pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car.py  checkpoints/hv_pointpillars_secfpn_6x8_160e_kitti-3d-3class_20220301_150306-37dc2420.pth --show --device cpu
Reproduces the problem - error message
python demo/pcd_demo.py output_kitti.pcd  configs/pointpillars/pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car.py  checkpoints/hv_pointpillars_secfpn_6x8_160e_kitti-3d-3class_20220301_150306-37dc2420.pth --show --device cpu
12/09 21:47:51 - mmengine - WARNING - Display device not found. --show is forced to False
/Users/dongming/Documents/mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:94: UserWarning: dir_offset and dir_limit_offset will be depressed and be incorporated into box coder in the future
warnings.warn(
Loads checkpoint by local backend from path: checkpoints/hv_pointpillars_secfpn_6x8_160e_kitti-3d-3class_20220301_150306-37dc2420.pth
The model and loaded state dict do not match exactly
size mismatch for bbox_head.conv_cls.weight: copying a param with shape torch.Size([18, 384, 1, 1]) from checkpoint, the shape in current model is torch.Size([2, 384, 1, 1]).
size mismatch for bbox_head.conv_cls.bias: copying a param with shape torch.Size([18]) from checkpoint, the shape in current model is torch.Size([2]).
size mismatch for bbox_head.conv_reg.weight: copying a param with shape torch.Size([42, 384, 1, 1]) from checkpoint, the shape in current model is torch.Size([14, 384, 1, 1]).
size mismatch for bbox_head.conv_reg.bias: copying a param with shape torch.Size([42]) from checkpoint, the shape in current model is torch.Size([14]).
size mismatch for bbox_head.conv_dir_cls.weight: copying a param with shape torch.Size([12, 384, 1, 1]) from checkpoint, the shape in current model is torch.Size([4, 384, 1, 1]).
size mismatch for bbox_head.conv_dir_cls.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([4]).
12/09 21:47:51 - mmengine - WARNING - Failed to search registry with scope "mmdet3d" in the "function" registry tree. As a workaround, the current "function" registry in "mmengine" is used to build instance. This may cause unexpected failure when running the built modules. Please check whether "mmdet3d" is a correct scope, or whether the registry is initialized.
/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmengine/visualization/visualizer.py:196: UserWarning: Failed to add <class 'mmengine.visualization.vis_backend.LocalVisBackend'>, please provide the save_dir argument.
warnings.warn(f'Failed to add {vis_backend.class}, '
Inference ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Traceback (most recent call last):
File "/Users/dongming/Documents/mmdetection3d/demo/pcd_demo.py", line 93, in
main()
File "/Users/dongming/Documents/mmdetection3d/demo/pcd_demo.py", line 83, in main
inferencer(**call_args)
File "/Users/dongming/Documents/mmdetection3d/mmdet3d/apis/inferencers/base_3d_inferencer.py", line 210, in call
for data in (track(inputs, description='Inference')
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/rich/progress.py", line 168, in track
yield from progress.track(
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/rich/progress.py", line 1210, in track
for value in sequence:
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmengine/infer/infer.py", line 291, in preprocess
yield from map(self.collate_fn, chunked_data)
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmengine/infer/infer.py", line 588, in _get_chunk_data
processed_data = next(inputs_iter)
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmengine/dataset/base_dataset.py", line 60, in call
data = t(data)
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmcv/transforms/base.py", line 12, in call
return self.transform(results)
File "/Users/dongming/Documents/mmdetection3d/mmdet3d/datasets/transforms/loading.py", line 1145, in transform
return self.from_file(inputs)
File "/opt/anaconda3/envs/openmmlab/lib/python3.9/site-packages/mmcv/transforms/base.py", line 12, in call
return self.transform(results)
File "/Users/dongming/Documents/mmdetection3d/mmdet3d/datasets/transforms/loading.py", line 646, in transform
points = self._load_points(pts_file_path)
File "/Users/dongming/Documents/mmdetection3d/mmdet3d/datasets/transforms/loading.py", line 623, in _load_points
points = np.frombuffer(pts_bytes, dtype=np.float32)
ValueError: buffer size must be a multiple of element size
Additional information
I followed the instructions on https://mmdetection3d.readthedocs.io/en/latest/user_guides/inference.html.

The code said the the it should be a 'PCD_FILE' but the example below was a .bin file. I tried both formats. The .bin one would crash so I wrote code to convert .bin to .pcd:
import numpy as np
import open3d as o3d
file_path = 'data/TJ4DRadSet_4DRadar/training/velodyne_reduced/000004.bin'
points = np.fromfile(file_path, dtype=np.float32).reshape(-1, 8)  # original ptc has 8 dims
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(points[:, :3])
output_pcd_path = 'output_full_dimensions.pcd'
with open(output_pcd_path, 'w') as f:
f.write(f"# .PCD v0.7 - Point Cloud Data file format\n")
f.write(f"VERSION 0.7\n")
f.write(f"FIELDS x y z {''.join([f'f{i} ' for i in range(3, points.shape[1])]).strip()}\n")
f.write(f"SIZE 4 4 4 {' '.join(['4'] * (points.shape[1] - 3))}\n")
f.write(f"TYPE F F F {' '.join(['F'] * (points.shape[1] - 3))}\n")
f.write(f"COUNT 1 1 1 {' '.join(['1'] * (points.shape[1] - 3))}\n")
f.write(f"WIDTH {points.shape[0]}\n")
f.write(f"HEIGHT 1\n")
f.write(f"VIEWPOINT 0 0 0 1 0 0 0\n")
f.write(f"POINTS {points.shape[0]}\n")
f.write(f"DATA ascii\n")

for point in points:
    f.write(" ".join(map(str, point)) + "\n")

Then I encountered the error stated above, whether using either kitti demo or my own config file.

Visualize problem


Write a GO program to check digit

Description
Write a GO program to check digit
Check wether given character is a digit (0-9).
Input  : 1
Output : Digit

How to contribute

Save the solution in program/check_digit.go file
Add check_digit.go file in check-digit folder

!assign


rfox - cut over to production deployment address once we have the audited version is deployed.

blocked until audit and deployments are finalized.

When we do this, deploy a second version to a different environment with a shorter cooldown period –– for testing.


readme updates - the docs here refer to bugfreepython and don't include relevant args

Closing after F&F. Code and readme updated ✅


drivers: gpio: Add support for Apollo3 SoCs GPIO

This commit adds support for the GPIO which
can be found in Apollo3 SoCs

hi @henrikbrixandersen @mnkp, please help to review and approve this PR, thank you!

Hi @carlescufi , should the collaborators of Ambiq platform be requested review the affected soc/board/binding changes automatically by zephyrbot?
Ambiq Platforms:
status: odd fixes
collaborators:
- aaronyegx
- HaoLuo
- RichardSWheatley
files:
- soc/ambiq/
- boards/ambiq/apollo*/
- dts/arm/ambiq/
- dts/bindings//ambiq,
- drivers//ambiq
- drivers///ambiq
- drivers//*/apollo
labels:
- "platform: Ambiq"

Hi @carlescufi , should the collaborators of Ambiq platform be requested review the affected soc/board/binding changes automatically by zephyrbot?

Yes, they should. Not sure why they aren't.

Hi @carlescufi, I have not received the invitation yet, maybe because my github username is different from that in MAINTAINERS.yml? could you please invite this account again? I'll update MAINTAINERS.yml later. thank you!

Hi @carlescufi, I have not received the invitation yet, maybe because my github username is different from that in MAINTAINERS.yml? could you please invite this account again? I'll update MAINTAINERS.yml later. thank you!

These need to match up first. Please submit a PR for updating MAINTAINERS.yml.

@henrikbrixandersen created one here https://github.com/zephyrproject-rtos/zephyr/pull/72500

@AlessandroLuo We may need to add CONFIG_GPIO=y in board default config due to the GPIO kconfig dependency issue.

The board changes look good to me.

@henrikbrixandersen @mnkp any more comments? if not please help to approve, thank you!

Hi @carlescufi , should the collaborators of Ambiq platform be requested review the affected soc/board/binding changes automatically by zephyrbot?

Yes, they should. Not sure why they aren't.
It's perhaps because you were not part of the GitHub team and org. I have now invited you all.

Hi @carlescufi could you please invite me again, MAINTAINERS.yml has been updated correctly.


PrivateKeyNotFound when key already exists.

I am trying to get started with the wtransport crate, I generated pem certificate and private key using openssl using the following command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365

which generated
-rw-rw-r--  1 my_username my_username 2122 Mar 29 12:33 cert.pem -rw-------  1 my_username my_username 3422 Mar 29 12:30 key.pem
in the directory /home/my_username/cert/
then I copied the same code as it is in the docs:
use wtransport::{Endpoint, Identity, ServerConfig};

#[tokio::main]
async fn main() {
	let config = ServerConfig::builder()
		.with_bind_default(4433)
		.with_identity(
			&Identity::load_pemfiles("/home/my_username/cert/cert.pem", "/home/my_username/cert/key.pem")
				.await
				.unwrap(),
		)
		.build();

	let server = Endpoint::server(config).unwrap();

	loop {
		let incoming_session = server.accept().await;
		let incoming_req = incoming_session.await.unwrap();

		let connection = incoming_req.accept().await.unwrap();

		println!("=>> connection: {connection:?}");
	}
}

but when I try to run it using cargo r, it gives me the following error:
wt on  master [?] is 📦 v0.1.0 via 🦀 v1.76.0
❯ cargo r
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running target/debug/wt
thread 'main' panicked at src/main.rs:10:18:
called Result::unwrap() on an Err value: PrivateKeyNotFound
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
I know that the file is present there, because loading cert.pem did not unwrap, so I don't know what I did wrong.
please help

here is my cargo toml:
[package]
name = "wt"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tokio = { version = "1.37.0", features = ["full"] }
wtransport = "0.1.12"

Did the command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365

asked you for a password?

@BiagioFesta it did ask for a PEM passphrase in the beginning, and then again to verify it.

@BiagioFesta i tried generating with the -nodes option, and it started working. I don't know why was it not able to find the file when it was encrypted with passphrase. If the wrong enum was returned from load_pem, can you please create a new variant that says that encrypted keys cannot be read, if possible...
or if it is something else, please inform me that it is some other issue

I am going to open a PR and close this issue trying to slightly improve the naming :)


Debugger does not stop at breakpoint

I debug my tests by simple running "debug" via the code lens or the debug-icon in the test overview. I have no launch configuration. My project uses TypeScript, and I use ts-jest. So no code is compiled upfront.
When I set a breakpoint, I expect the debugger to stop at the given line. And this works -- usually.
However, in some projects, after a while this stops working.  That is, instead of stopping at the breakpoint, the debugger stops somewhere in the file. Actually, not in the original source code file, but the virtual compilation output. In other cases, the debugger doesn't stop at all. So something seems to get odd with the source maps.
I would add a project for reproducing that error, unfortunately it is not that easy to reproduce. I copied a project with that bug -- and in the copy everything worked. However, this does not seem to be a super exotic issue. Actually I'm teaching a TypeScript class, and this happens on several student machines (Mac, Linux, Windows) as well. Sometimes, restarting VSCode helps. Uninstalling the Jest-Extension does not help though.
Is there anything the Jest extension caches somewhere? This would help to make this problem reproducible (or find a work around). Or does ts-jest cache anything?
What can I do to improve the error description? Is there a log somewhere?

I close this issue. It seems that vscode-jest has the same problem. Hence I assume that it is neither a jest-runner nor a vscode-jest problem, but something else. I 'solved' the issue by removing VSCode's settings folder (on macos in ~/Library/Application Support/Code. I assume that some Typescript component caches some data there which becomes corrupt.


New Feature: Find Shape by Data Property

the ability to find a shape by it's data properties, either property name, label, or value would have advantages over:

find by id (id might change when moved, copied, and is not easy to find), and
by shape text, which is visible in end diagram, unless removed after the shape is found

Shape Data would be a good way to identify shapes that require some action performed on them.
methods may look like:

page.find_shape_by_data_name(data_property_name: str)
page.find_shape_by_data_value(data_property_value: str)
page.find_shape_by_data(data_property_name: str, data_property_value)

the first has the advantage of not having to look beyond the property row, the value requires finding cell element, but this should be a very minimal overhead
each of the methods may be supplimented  with a page.find_shapes_by_xxx that returns a list of matching shapes

Each of these should also be available from Shape object, to find a sub shape by data_property within that shape
The Shape class should store the ShapeProperty items in a dict indexed on name so that it can be quickly retrieved to support these methods.

Added in v0.4.10 but used Shape data label instead of name, as these are more readily visible in Visio than property names and values - so they are a better way of identifing shapes to be manipulated.
Done


Use webcam for live-detection

Hello first I would like to thank the community - you are great!!
I try to implement my webcam using:      video_path = 0
but it doesn't work. Any idears?!
thanks

solved it - if someone else has the problem:

change line 55 in yolo_video.py to
"--input", nargs='?', type=int,required=False,default='./path2your_video',

run on anaconda promt
python yolo_video.py --input 0


[1.5pt] - Define ERD

Generate diagram considering Associations in the different items for:
-User
-Experience
-Reservation

Generate diagram considering Associations in the different items for:
-User
-Experience
-Reservation

Status: Approved 🟢
Hi @HFG43
Great work on this task, you did an excellent job, so you can close the issue 💯 🥳.
Highlights :1st_place_medal:

Good analysis of the topic
Good associations between the entities

Optional
All the changes with optional tags are not crucial enough to prevent you from getting the approval. Still, I would highly recommend that you consider these changes.
Happy coding! :clap: :clap: :clap:
Feel free to leave any questions or comments on the issue if something is not 100% clear. Remember to tag me in your question (@AndreaM2429 ) so I can receive the notification.

@AndreaM2429 Many thanks for your review!!

@AndreaM2429 Hi Andre! Please find the ERD with the update of changes made on the go! The add of name to user, and we eliminate the user admin relationship with `experience

Status: ♻ Changes Required
Hello @HFG43
You did a good job but please if you delete the relationship please also delete the line that joins the tables.

Hi @AndreaM2429 ! Here it is without any line

Status: Approved 🟢
Hi @HFG43,
Thanks for implementing the new changes and updating the diagram, this is complete so congratulations 🥳 👏🏽 👏🏽

@AndreaM2429 Please find attached an update with the image and details included in experience


[FEATURE] - plugin connects to tonehunt.org

tonehunt.org is an amazing site for this nam plugin!  if somehow the plugin was able to access it's api, allowing you to browse and even download .nam files(perhaps built into, if any, future .nam browser?), would be amazing! i realize this is a crazy, probably too-big idea, but its fun to dream :]

Sounds cool! But also something that's a bit more to take on than I have eyes for personally at the moment.
My sense is that it would also add quite a bit of complexity to the plugin, so my first-order answer is going to be "no", with the subtext that if someone can pitch this in a way that's sufficiently modular to the existing code (so that it could be easily "feature flagged" in and out, b then that would be key to lessening the risk. I don't want to get this in, have it be buggy or clumsy, and be saddled with needing to baby it.
If someone wanted to take it on, it'd be a great show of confidence if they could start by organizing some of the controls code and making it more idiomatic with the iPlug2 framework... Basically demonstrate to me that you know your way around the code and are giving high-quality contributions.
This^ is something I've been on the learning curve with in general with this, maintaining a project with a lot of interest and trying to balance being inclusive with stewarding the project. So since this is a rather big feature, I figure it's a good exemplar to kind of map out how these might get worked on.

Perhaps just mentioning them in the readme is a great start.
Here is a link to their github:
https://github.com/scottcorgan/tonehunt

Closing this because it's linked on https://neuralampmodeler.com


Dependency resolution problem with non-pypi repository

Version: Poetry 0.12.10
I have a private PyPI server for company internal packages. Something in poetry seems to get confused when that private package has public dependencies. Specifically this case:
private-package depends on public-package which itself has further (public) dependencies.

poetry add private-package
poetry add public-package fails with [PackageNotFound]: Package [<private-package>] not found.

However poetry add works for public packages not depended on by private-package and also works for public packages which have no dependencies on their own, even if depended on by private-package.

Here's the -vvvvv log (company-pypi is a private pypi server, private-package depends on aiohttp):
$ poetry add -vvvvv  aiohttp
Using virtualenv: /Users/jonas.obrist/Library/Caches/pypoetry/virtualenvs/repro-py3.7
company-pypi: 146 packages found for aiohttp *
Using version ^3.4 for aiohttp

Updating dependencies
Resolving dependencies...
   1: fact: repro is 0.1.0
   1: derived: repro
   1: fact: repro depends on private-package (^0.0.11)
   1: fact: repro depends on attrs (^18.2)
   1: fact: repro depends on requests (^2.20)
   1: fact: repro depends on aiohttp (^3.4)
   1: selecting repro (0.1.0)
   1: derived: aiohttp (^3.4)
   1: derived: requests (^2.20)
   1: derived: attrs (^18.2)
   1: derived: private-package (^0.0.11)
company-pypi: 5 packages found for aiohttp >=3.4,<4.0
company-pypi: The cache for aiohttp 3.4.4 is outdated. Refreshing.
company-pypi: Downloading sdist: aiohttp-3.4.4.tar.gz
   1: fact: aiohttp (3.4.4) depends on attrs (>=17.3.0)
   1: fact: aiohttp (3.4.4) depends on chardet (>=2.0,<4.0)
   1: fact: aiohttp (3.4.4) depends on multidict (>=4.0,<5.0)
   1: fact: aiohttp (3.4.4) depends on async_timeout (>=3.0,<4.0)
   1: fact: aiohttp (3.4.4) depends on yarl (>=1.0,<2.0)
   1: selecting aiohttp (3.4.4)
   1: derived: yarl (>=1.0,<2.0)
   1: derived: async_timeout (>=3.0,<4.0)
   1: derived: multidict (>=4.0,<5.0)
   1: derived: chardet (>=2.0,<4.0)
company-pypi: The cache for requests 2.20.1 is outdated. Refreshing.
company-pypi: Downloading wheel: requests-2.20.1-py2.py3-none-any.whl
   1: fact: requests (2.20.1) depends on chardet (>=3.0.2,<3.1.0)
   1: fact: requests (2.20.1) depends on idna (>=2.5,<2.8)
   1: fact: requests (2.20.1) depends on urllib3 (>=1.21.1,<1.25)
   1: fact: requests (2.20.1) depends on certifi (>=2017.4.17)
   1: selecting requests (2.20.1)
   1: derived: certifi (>=2017.4.17)
   1: derived: urllib3 (>=1.21.1,<1.25)
   1: derived: idna (>=2.5,<2.8)
   1: derived: chardet (>=3.0.2,<3.1.0)
company-pypi: The cache for attrs 18.2.0 is outdated. Refreshing.
company-pypi: Downloading wheel: attrs-18.2.0-py2.py3-none-any.whl
   1: selecting attrs (18.2.0)
company-pypi: The cache for private-package 0.0.11 is outdated. Refreshing.
company-pypi: Downloading wheel: private-package-0.0.11-py3-none-any.whl
   1: fact: private-package (0.0.11) depends on attrs (*)
   1: fact: private-package (0.0.11) depends on aiobotocore (*)
   1: fact: private-package (0.0.11) depends on boto3 (<=1.5)
   1: fact: private-package (0.0.11) depends on aiohttp (>3,<=3.0.9)
   1: derived: not private-package (0.0.11)
company-pypi: 0 packages found for private-package >0.0.11,<0.0.12
   1: Version solving took 8.155 seconds.
   1: Tried 1 solutions.

[PackageNotFound]
Package [private-package] not found.

Exception trace:
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /Users/jonas.obrist/.poetry/lib/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /Users/jonas.obrist/.poetry/lib/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /Users/jonas.obrist/.poetry/lib/poetry/console/commands/add.py in handle() at line 139
   status = installer.run()
 /Users/jonas.obrist/.poetry/lib/poetry/installation/installer.py in run() at line 76
   self._do_install(local_repo)
 /Users/jonas.obrist/.poetry/lib/poetry/installation/installer.py in _do_install() at line 158
   ops = solver.solve(use_latest=self._whitelist)
 /Users/jonas.obrist/.poetry/lib/poetry/puzzle/solver.py in solve() at line 38
   packages, depths = self._solve(use_latest=use_latest)
 /Users/jonas.obrist/.poetry/lib/poetry/puzzle/solver.py in _solve() at line 171
   self._package, self._provider, locked=locked, use_latest=use_latest
 /Users/jonas.obrist/.poetry/lib/poetry/mixology/__init__.py in resolve_version() at line 7
   return solver.solve()
 /Users/jonas.obrist/.poetry/lib/poetry/mixology/version_solver.py in solve() at line 79
   next = self._choose_package_version()
 /Users/jonas.obrist/.poetry/lib/poetry/mixology/version_solver.py in _choose_package_version() at line 354
   packages = self._provider.search_for(dependency)
 /Users/jonas.obrist/.poetry/lib/poetry/puzzle/provider.py in search_for() at line 146
   allow_prereleases=dependency.allows_prereleases(),
 /Users/jonas.obrist/.poetry/lib/poetry/repositories/pool.py in find_packages() at line 65
   name, constraint, extras=extras, allow_prereleases=allow_prereleases
 /Users/jonas.obrist/.poetry/lib/poetry/repositories/pypi_repository.py in find_packages() at line 104
   info = self.get_package_info(name)
 /Users/jonas.obrist/.poetry/lib/poetry/repositories/pypi_repository.py in get_package_info() at line 228
   name, lambda: self._get_package_info(name)
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cachy/repository.py in remember_forever() at line 174
   val = value(callback)
 /Users/jonas.obrist/.poetry/lib/poetry/_vendor/py3.7/cachy/helpers.py in value() at line 6
   return val()
 /Users/jonas.obrist/.poetry/lib/poetry/repositories/pypi_repository.py in <lambda>() at line 228
   name, lambda: self._get_package_info(name)
 /Users/jonas.obrist/.poetry/lib/poetry/repositories/pypi_repository.py in _get_package_info() at line 234
   raise PackageNotFound("Package [{}] not found.".format(name))

add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

Is there a way to make private repositories behave like --extra-index-url rather than --index-url (in pip)? Ideally I'd like poetry to try pypi.org first, then fall back to the company pypi.

Any update on this. I just spend quite some time on migrating the whole project to poetry and now i am stuck at this point.

Any news on this? Is there a good argument not to use --extra-index-url rather than --index-url?

I've actually thought about a good reason not to use --extra-index-url. Say you have a private package privpkg on your private repo. If someone now uploads privpkg to the public repo, using --extra-index-url would pull that in.
Maybe a better solution would be something like:
[tool.poetry.dependencies]
privpkg = { version = "^2.13.0", repo = "privaterepo" }

Though this raises the question how private and public dependencies of privpkg are handled, I guess the lockfile could take care of that?

I am coming from pipenv and they use --extra-index-url. The problem I face now is, do I go back to pipenv where the speed is dreadful or do i just use requirements.txt and virtualenvs since I am trying to migrate the production version of our app...I am a bit lost on what to do now

@ojii I think this is fixed in the latest 1.0.0 prerelease (1.0.0a2). I changed a lot of things in the dependency resolution process. Can you tell me if that fixes your issue?

Also can you test the 0.12.11 release?

I think I have the 0.12.11 release. But I will check it out tomorrow and come back to you. I will also test the prerelease.

@sdispater

Also can you test the 0.12.11 release?

It almost works. The problem I'm facing now is that it tries the private repo first, then the public one. Since our private repo is not a perfect mirror of pypi but rather a place where we upload our packages, some things have trouble installing (in my case cryptography since the private repo doesn't have wheels for some reason).
Also, I had to run poetry run pip install -U pip since the first attempt to poetry add <all my dependencies> failed. The second time it failed trying to build a wheel ("Could not build wheels for {} which use PEP 517 and cannot be installed directly ").

@ojii I think this is fixed in the latest 1.0.0 prerelease (1.0.0a2). I changed a lot of things in the dependency resolution process. Can you tell me if that fixes your issue?

Again the old pip screwed me over at first. (I really wished poetry updated pip after creating a venv) and then the same issue, it failed to get a wheel of cryptography from the private repo (only tar.gz) then failed to build it because I'm on OS X.

@sdispater
I am currently using the 0.12.11 release. There it is not working. I've updated to the prerelease you've mentioned and i get the same error message as before. When I install a public package from my own index-repository it works like a charm, when installing something last is private it can't find it anymore. (I've tested the URL through normal pip and pipenv and it works there).
Here is my traceback in a minimal configuration:
`Using virtualenv: /home/cwittlinger/.cache/pypoetry/virtualenvs/repo-a09xFGWp-py3.6
Updating dependencies
Resolving dependencies...
1: fact: repo is 0.1.0
1: derived: repo
1: fact: repo depends on priv_repo ()
1: selecting repo (0.1.0)
1: derived: priv_repo ()
1: Version solving took 0.510 seconds.
1: Tried 1 solutions.
[PackageNotFound]
Package [priv_repo] not found.
Traceback (most recent call last):
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/clikit/console_application.py", line 131, in run
status_code = command.handle(parsed_args, io)
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/clikit/api/command/command.py", line 112, in handle
status_code = self._do_handle(args, io)
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/clikit/api/command/command.py", line 160, in _do_handle
return getattr(handler, handler_method)(args, io, self)
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/command.py", line 92, in wrap_handle
return self.handle()
File "/home/cwittlinger/.poetry/lib/poetry/console/commands/update.py", line 37, in handle
return installer.run()
File "/home/cwittlinger/.poetry/lib/poetry/installation/installer.py", line 74, in run
self._do_install(local_repo)
File "/home/cwittlinger/.poetry/lib/poetry/installation/installer.py", line 156, in _do_install
ops = solver.solve(use_latest=self._whitelist)
File "/home/cwittlinger/.poetry/lib/poetry/puzzle/solver.py", line 38, in solve
packages, depths = self._solve(use_latest=use_latest)
File "/home/cwittlinger/.poetry/lib/poetry/puzzle/solver.py", line 171, in _solve
self._package, self._provider, locked=locked, use_latest=use_latest
File "/home/cwittlinger/.poetry/lib/poetry/mixology/init.py", line 7, in resolve_version
return solver.solve()
File "/home/cwittlinger/.poetry/lib/poetry/mixology/version_solver.py", line 79, in solve
next = self._choose_package_version()
File "/home/cwittlinger/.poetry/lib/poetry/mixology/version_solver.py", line 354, in _choose_package_version
packages = self._provider.search_for(dependency)
File "/home/cwittlinger/.poetry/lib/poetry/puzzle/provider.py", line 132, in search_for
allow_prereleases=dependency.allows_prereleases(),
File "/home/cwittlinger/.poetry/lib/poetry/repositories/pool.py", line 65, in find_packages
name, constraint, extras=extras, allow_prereleases=allow_prereleases
File "/home/cwittlinger/.poetry/lib/poetry/repositories/pypi_repository.py", line 105, in find_packages
info = self.get_package_info(name)
File "/home/cwittlinger/.poetry/lib/poetry/repositories/pypi_repository.py", line 238, in get_package_info
name, lambda: self._get_package_info(name)
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/cachy/repository.py", line 174, in remember_forever
val = value(callback)
File "/home/cwittlinger/.poetry/lib/poetry/_vendor/py3.6/cachy/helpers.py", line 6, in value
return val()
File "/home/cwittlinger/.poetry/lib/poetry/repositories/pypi_repository.py", line 238, in
name, lambda: self._get_package_info(name)
File "/home/cwittlinger/.poetry/lib/poetry/repositories/pypi_repository.py", line 244, in _get_package_info
raise PackageNotFound('Package [{}] not found.'.format(name))`

I just figured out that even with --index-url=<private_repo> the normal pip install works. For some reasons poetry is not able to find the package though.

@sdispater I ran into this issue today with a local devpi instance. I tried with poetry versions 0.12.11, 0.12.15, and 1.0.0a2. In each instance, when I tried to add my local package, poetry reports that it could not find the package. When searching for the package, it was not found either.
I jumped into the underlying virtual environment and tried using pip to install the package which seemed to work fine.
I'm able to publish to the local devpi repo using poetry without issue.
Here is some example output:
$ poetry --version
Poetry 0.12.15

$ poetry add fetch-config --verbose=3
Using virtualenv: /home/tbeck/.cache/pypoetry/virtualenvs/dummy-py3.7
pa-devpi: 0 packages found for fetch-config *

[PackageNotFound]
Package [fetch-config] not found.

Exception trace:
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/tbeck/.poetry/lib/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/tbeck/.poetry/lib/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /home/tbeck/.poetry/lib/poetry/console/commands/add.py in handle() at line 69
   packages, allow_prereleases=self.option("allow-prereleases")
 /home/tbeck/.poetry/lib/poetry/console/commands/init.py in _determine_requirements() at line 230
   requirement["name"], allow_prereleases=allow_prereleases
 /home/tbeck/.poetry/lib/poetry/console/commands/init.py in _find_best_version_for_package() at line 260
   name, required_version, allow_prereleases=allow_prereleases
 /home/tbeck/.poetry/lib/poetry/version/version_selector.py in find_best_candidate() at line 29
   package_name, constraint, allow_prereleases=allow_prereleases
 /home/tbeck/.poetry/lib/poetry/repositories/pool.py in find_packages() at line 65
   name, constraint, extras=extras, allow_prereleases=allow_prereleases
 /home/tbeck/.poetry/lib/poetry/repositories/pypi_repository.py in find_packages() at line 108
   info = self.get_package_info(name)
 /home/tbeck/.poetry/lib/poetry/repositories/pypi_repository.py in get_package_info() at line 241
   name, lambda: self._get_package_info(name)
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cachy/repository.py in remember_forever() at line 174
   val = value(callback)
 /home/tbeck/.poetry/lib/poetry/_vendor/py3.7/cachy/helpers.py in value() at line 6
   return val()
 /home/tbeck/.poetry/lib/poetry/repositories/pypi_repository.py in <lambda>() at line 241
   name, lambda: self._get_package_info(name)
 /home/tbeck/.poetry/lib/poetry/repositories/pypi_repository.py in _get_package_info() at line 247
   raise PackageNotFound("Package [{}] not found.".format(name))

add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

$ poetry debug:info

Poetry
======

 * Version: 0.12.15
 * Python:  3.7.2

Virtualenv
==========

 * Python:         3.7.2
 * Implementation: CPython
 * Path:           /home/tbeck/.cache/pypoetry/virtualenvs/dummy-py3.7
 * Valid:          True

System
======

 * Platform: linux
 * OS:       posix
 * Python:   /home/tbeck/.pyenv/versions/3.7.2

$ cd /home/tbeck/.cache/pypoetry/virtualenvs/dummy-py3.7
total 16
drwxrwxr-x 2 tbeck tbeck 4096 May  6 16:59 bin
drwxrwxr-x 2 tbeck tbeck 4096 May  6 16:59 include
drwxrwxr-x 3 tbeck tbeck 4096 May  6 16:59 lib
lrwxrwxrwx 1 tbeck tbeck    3 May  6 16:59 lib64 -> lib
-rw-rw-r-- 1 tbeck tbeck   98 May  6 16:59 pyvenv.cfg
$ source bin/activate
/venv:dummy-py3.7/ $ pip install fetch-config
Looking in indexes: http://---.---.--.--:3141/pa-team/pa/
Collecting fetch-config
  Downloading http://---.---.--.--:3141/pa-team/pa/+f/7b6/2123e4cd6a015/fetch_config-0.1.3-py3-none-any.whl
Collecting py-buzz<0.4.0,>=0.3.7 (from fetch-config)
  Downloading http://---.---.--.--:3141/root/pypi/+f/4b7/a89bebad927c6/py_buzz-0.3.7-py3-none-any.whl
Installing collected packages: py-buzz, fetch-config
Successfully installed fetch-config-0.1.3 py-buzz-0.3.7
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@sdispater
After some debugging, I figured out the issue. It mostly on my end. The URL I used to specify my index is the same as I use for my pip configuration (pip.conf). However, it does not carry the /+simple path that poetry needed. Apparently, native pip adds that on automatically when it is contacting an index, but poetry needed it expicitly.
Once I ammended my pyproject.toml file accordingly, it worked great.
Thanks again for the great tool!
working pyproject.toml:
[tool.poetry]
name = "pa-mockup"
version = "0.1.0"
description = ""
authors = ["Tucker Beck<EMAIL_ADDRESS>
[tool.poetry.dependencies]
python = "^3.7"
pendulum = "^2.0"
flask-apispec = "^0.8.0"
flask = "^1.0"
flask-buzz = "^0.1.14"
flask-jwt-extended = "^3.18"
flask-cors = "^3.0"
flask-mail = "^0.9.1"
flask-redis = "^0.3.0"
fetch-config = "^0.1.3"

[tool.poetry.dev-dependencies]
pytest = "^3.0"
ipdb = "^0.12.0"

[[tool.poetry.source]]
name = "pa-devpi"
url = "http://---.---.--.--:3141/pa-team/pa/+simple"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

@ojii Could you test your use case with the 1.0.0a3 which improves support for private repositories?
You can check out #908 to see what changed but basically you can declare repositories as secondary to make pypi.org preferred.

@sdispater Not exactly the same issue; but I was having a similar error in a project that depends on a private github repo and 1.0.0a3 fixed that.

@ojii Could you test your use case with the 1.0.0a3 which improves support for private repositories?

@sdispater I'm sorry but we simply stopped using private packages as our "solution" to this so I no longer have an easy setup to test this. Looking at the PR though that looks like a good solution.


Install the operator the Gitops way: helm or OLM

Hi,
We would like to install the operator through ArgoCD, but we cannot find any yaml file or helm chart or OLM bundle. Is it something we can expect to arrive soon ?

you can specify --dry-run and pipe the output file to get the yaml generated by hypershift cli to later apply via gitops


concurrent connections

In case there are hundreds of connections to sinopia/verdaccio (300) any recommended configs ? limits?

At my company I run 3 process of verdaccio behind nginx as I have described in rlidwka/sinopia#335, presumably this helps but I'm not 100% sure.

You load balance verdaccio in the same box over the same hard driver, just 3 different process with different ports ?  (couldn't figure it out from the ticket).
Can anyone share ideas on how to scale? network storage maybe ?

@qballer Yes.
What are your specific goals?
You could put the storage directory on NFS to accomplish the goal.
Personally I would imagine that would reduce performance because of network saturation unless the nfs stuff was networked on a different interface then the interface talking to upstream and downstream clients.

Closing this due to inactivity, feel free to open it back up if you want more information


Weird 'add' function

Currently the add function looks like this:
  fun add(key: String, value: Json): JsObject =     JsObject(hashMapOf(key to value))
It's a bit confusing. Is it intentional? Maybe as an of it would be clearer.

I agree, it's not intentional but we've not added any sugar constructors or not many.
We should add:
data class JsObject(...): Json() {
   companion object {
      operator fun invoke(vararg: Pair<String, Json>): JsObject = ...
   }
}

IMO expected behavior for add method would be to add new object field to called instance:
fun add(key: String, value: Json): JsObject = JsObject(this.value + hashMapOf(key to value))

Yes, that's definitely the expected behavior of add.


Delete .github/sla.yml

The bot that was reading this file is gone:

https://github.com/Azure/azure-sdk-tools/issues/7813

/check-enforcer override


custom raster tile renderer (work around iOS 8 bug, support 512px v4 tiles)

I'm seeing a pretty consistent crash when running the sample project on the 132-renderer branch. It's failing in MBXRasterTileRenderer canDrawMapRect:(MKMapRect)mapRect zoomScale:(MKZoomScale)zoomScale
Here's the crash report. I was seeing it on iPhone 6 iOS 8.1.1.

Thanks for that, @robmaceachern. I'll check it out.

@robmaceachern Can you give the latest iteration of the branch (with 3f5cfa7515f5806e78b00171a780e3bc43f0deea) a try? The crash logs seems to say that this is related to use of -[UIImage imageWithData:] in background threads, which seems to be unadvisable if you take the strictly conservative approach based on:
http://stackoverflow.com/questions/12766501/is-creating-uiimage-thread-safe
That is, UIKit clearly shouldn't draw or update UI from background threads, but it's open to interpretation whether image instantiation is ok.
Also, note that at least in my device testing, using a Release build is noticeably faster, so do check that out if performance is a concern.

Trying to push a bit more of the image work out to CGImageRef and friends instead of dispatching to the main thread. Just about there.

I was hoping it was going to be that easy too, but there's something else going on. :cry:

It seems like the tileData is (intermittently) bogus.

@robmaceachern The thing I don't understand about that is how that point in the control flow is reached then, since just three lines above, there is an if (tileData) {. That's what leads me to think that it's threading related with UIKit.

Self can go away between those lines.
Wasn't there an issue last year where we tried to figure something like this out? I can't find it though.

self could, yes, since it's the MKMapView in question inside of that loadTileAtPath:result: callback, but it doesn't — the map view stays put. So I'm thinking this is related to creation of UIImage objects happening in non-main threads; something about the way graphics memory is allocated or used, maybe?

@incanus tileData is not nil at that point which is why it passes the conditional test. I've also experimented with core graphics and experienced the same issue, so we can rule out UIKit issues.
I just noticed your commit. I'll try to reproduce the problem again.

Yeah, please see if you can reproduce. I cut out all use of UIImage initialization since we're never on the main thread by default.
Now I'm working on performance — I don't like it, and ~40% of the time is spent in PNG encoding after slicing 512px tiles into 256px tiles in the -canDrawMapRect:zoomScale:. Thinking I'll just move to raw pixels instead of PNG data since we're only talking about in-memory storage anyway (I thought it best to never cache on disk the 256px sliced tiles since we never request them directly in the API).

Yeah it's still an issue. It's failing at the same CG function as before _CGImageSourceBindToPlugin ()

Just got another, different, EXC_BAD_ACCESS in some system networking code while running on the iPhone 6 simulator.
#0	0x000000010e85562a in getMIMETypeForRuleArray(__CFData const*, MIMETypeRule const*, unsigned char) ()
#1	0x000000010e7e0690 in URLResponse::guessMIMETypeCurrent(__CFData const*) ()
#2	0x000000010e849e08 in -[__NSCFURLSessionConnection _tick_sniffNow] ()
#3	0x000000010e849eb6 in -[__NSCFURLSessionConnection _tick_running] ()
#4	0x000000010e84d0d2 in SessionConnectionLoadable::_loaderClientEvent_DidReceiveData(__CFArray const*) ()
#5	0x000000010e84d216 in SessionConnectionLoadable::_loaderClientEvent_HandleCacheResponseIsValid(_CFCachedURLResponse const*) ()
#6	0x000000010e8b7e2f in ___ZN19URLConnectionLoader28protocolCacheResponseIsValidEPK20_CFCachedURLResponse_block_invoke ()
#7	0x000000010e84c943 in ___ZN25SessionConnectionLoadable21withLoaderClientAsyncEU13block_pointerFvP21LoaderClientInterfaceE_block_invoke ()
#8	0x000000010de37ba6 in _dispatch_call_block_and_release ()
#9	0x000000010de557f4 in _dispatch_client_callout ()
#10	0x000000010de3db22 in _dispatch_queue_drain ()
#11	0x000000010de3d432 in _dispatch_queue_invoke ()
#12	0x000000010de3ffc1 in _dispatch_root_queue_drain ()
#13	0x000000010de415d9 in _dispatch_worker_thread3 ()
#14	0x000000010e1d96cb in _pthread_wqthread ()
#15	0x000000010e1d74a1 in start_wqthread ()
Enqueued from __NSCFURLSessionConnection (Thread 24)Queue : __NSCFURLSessionConnection (serial)

Storing raw pixel data in the memory cache isn't much faster, and the bottleneck is copying the individual CGImageRef data there.
Trying the approach now of caching the CGImageRef pointers (after retaining their data) and seeing if that helps.

Just a summary, for my own reference (since I had to re-look it up to remind myself) on why we are splitting 512px tiles client-side:

iOS 7 has a bug where MKTileOverlay cannot use tiles of sizes larger than 256px.
iOS 8 has a bug where using MKTileOverlay logs lots of ImageIO warnings and occasionally crashes and/or doesn't draw tiles.
Both of the above can be solved by creating a custom MKTileOverlayRenderer, but per https://github.com/mapbox/mbxmapkit/issues/132#issuecomment-65486844 it is not possible to draw in areas greater than 256px in a custom renderer.

Ok, more performance and reliability work here.
Now, instead of splitting 512px tiles in the ready to draw? routine, instead they are being cached once there. Then, when the child 256px tile is subsequently asked to draw, the parent tile data is fetched, rasterized, and then cropped in the same routine as the drawing into the request context, to localize all Core Graphics work.
All drawing work is still done in background threads and using CGImageRef and friends, plus ImageIO.framework is still not needed.
I'd love to see how this works for folks. /cc @robmaceachern

I still experience the crash in https://github.com/mapbox/mbxmapkit/pull/136#issuecomment-70141819

@robmaceachern What does your tileData look like there; PNG or JPEG? Can you share the mapID you are using?

Better yet, give things a try now — proper detection of image format rather than trial & error.

I'm just running the sample application. Map id: examples.map-pgygbwdm and access token pk.eyJ1IjoianVzdGluIiwiYSI6IlpDbUJLSUEifQ.4mG8vhelFMju6HpIY-Hi5A.
Still getting exc_bad_access errors using iPhone 6 on 8.1.2. Are you not able to reproduce?

Also, the simulator seems to be rendering incorrectly.

No, I'm never seeing these exact crashes. Will try with those settings.

Ok, could replicate an a retina iPad mini, to the first crash in PNG detection. Will keep digging. Thanks @robmaceachern!

No problem @incanus. Good luck tracking that down – I wasn't getting anywhere.

Ok, a very promising lead now.
https://github.com/mapbox/mbxmapkit/commit/40f71def4588deb10cabd1cb1914cbd2e6cbef30 brings in a change that calls -loadTileAtPath:result: synchronously. There is nothing in the docs that says whether async is ok here, just that it should call from the main thread. In our own implementation of that method, like most sane implementations we kick off to a background thread anyway for the actual loading heavy lifting, but I think these chained async calls are, under high system load, possibly causing result()'s data to be released early. You'd think block scope would capture it properly, but I think you'd be wrong. There is no reason to call result() async here anyway, so it strikes me as possibly a Bad Idea and the root of our problems.
I also added https://github.com/mapbox/mbxmapkit/commit/c7a82c37d1b5dc7b792670cccdf8d9d0fc33874f, which responds to low system memory and jettisons the in-memory cache of tiles, which seems like a good idea given the amount of memory we're talking about. However, in lots of testing on a retina iPad, even with 300-400MB of app memory usage I wasn't able to trigger it very often.

Yet another very promising lead, the best one yet. Even with the above, I was able to reproduce the crash again. I investigated the NSData passed in the callback, and its underlying type was OS_dispatch_data, which makes a bit of sense.
However, this sounds rather transient and is probably going away out from under us. Trying either an -[NSData copy] or an +[NSData dataWithData:] to keep it around both yield identical types under the hood, like so:
2015-01-16 16:30:56.987 MBXMapKit[1242:317501] old: OS_dispatch_data
2015-01-16 16:30:56.987 MBXMapKit[1242:317501] new: OS_dispatch_data

No dice. However 226edce5e2cee4e25a1c6f9dbfe235e607ffa8d9 uses -[NSData initWithBytes:length:] per CocoaDev, which does yield a fresh copy & new type:
2015-01-16 16:30:30.669 MBXMapKit[1220:317060] old: OS_dispatch_data
2015-01-16 16:30:30.669 MBXMapKit[1220:317060] new: _NSInlineData

This copy happens in the main thread, then the copy is captured in the async block scope and dealt with (validated & cached) off the main thread, then ARC disposes of it, regardless of what has already happened with the original dispatched version's lifetime.
And now I've been unable to replicate the crash.

No dice. tileData is still going bad.

I think this may be an NSURLSession bug. I tried copying it in the data task handler and it still fails.

I think this may be an NSURLSession bug. I tried copying it in the data task handler and it still fails.

Could be, but Occam's Razor says it's something we're doing. My guess could be maybe something around the passing of result inside of completionHandler and ARC not understanding proper lifetime scope. Will keep digging at this.

this may be an NSURLSession bug

Gonna try gutting this for NSURLConnection, I think, and see how that fares.

Ok, tried a number of approaches around reducing nesting of blocks, manually copying blocks, and otherwise being very explicit around blocks, with no luck.
Went the route of replacing NSURLSession with NSURLConnection in the overlay. The downside is we lose the ability to specify the number of concurrent HTTP connections per host and the ability to summarily cancel all pending fetches as in NSURLSession, but I think it's a fair tradeoff and I'm not seeing a performance consequence.
Curious how this works for you, @robmaceachern.

I've yet to replicate a crash here since moving to NSURLConnection. I need to benchmark a bit more between Debug and Release — I feel like this could be slower. But then again, maybe not, as we are slicing 512px tiles on the client to accomplish this. /cc @willwhite

Yeah, there's plenty of duplicate URL fetching going on here in response to MapKit's impatience. Will work on this.
2015-01-27 15:28:49.692 MBXMapKit[263:13405] 16,10556,25512 start
2015-01-27 15:28:49.693 MBXMapKit[263:13409] 16,10556,25512 start
2015-01-27 15:28:49.694 MBXMapKit[263:13411] 16,10556,25512 start
2015-01-27 15:28:49.695 MBXMapKit[263:13408] 16,10555,25512 start
2015-01-27 15:28:49.695 MBXMapKit[263:13410] 16,10555,25512 start
2015-01-27 15:28:49.696 MBXMapKit[263:13413] 16,10558,25511 start
2015-01-27 15:28:49.696 MBXMapKit[263:13376] 16,10555,25512 start
2015-01-27 15:28:49.697 MBXMapKit[263:13412] 16,10557,25511 start
2015-01-27 15:28:49.698 MBXMapKit[263:13375] 16,10555,25512 start
2015-01-27 15:28:49.698 MBXMapKit[263:13414] 16,10557,25511 start
2015-01-27 15:28:49.699 MBXMapKit[263:13383] 16,10556,25511 start
2015-01-27 15:28:49.700 MBXMapKit[263:13416] 16,10556,25511 start
2015-01-27 15:28:49.700 MBXMapKit[263:13417] 16,10555,25511 start
2015-01-27 15:28:49.702 MBXMapKit[263:13418] 16,10555,25511 start
2015-01-27 15:28:50.095 MBXMapKit[263:13170] 16,10558,25515 end
2015-01-27 15:28:50.097 MBXMapKit[263:13170] 16,10558,25515 end
2015-01-27 15:28:50.148 MBXMapKit[263:13170] 16,10557,25515 end
2015-01-27 15:28:50.165 MBXMapKit[263:13170] 16,10557,25515 end
2015-01-27 15:28:50.191 MBXMapKit[263:13170] 16,10557,25515 end
2015-01-27 15:28:50.195 MBXMapKit[263:13170] 16,10557,25515 end
2015-01-27 15:28:50.573 MBXMapKit[263:13170] 16,10556,25515 end
2015-01-27 15:28:50.606 MBXMapKit[263:13170] 16,10556,25515 end
2015-01-27 15:28:50.608 MBXMapKit[263:13170] 16,10556,25515 end

Ok, the duplicates were somewhat expected given that requests made for to-be-split 512px tiles come in fours. However, we were possibly kicking off up to four duplicate HTTP requests at once, when one is enough to split and satisfy four sub-tile would-be requests. This works better now.

No crashes for me :+1:
Have you filed a radar for the NSURLSession issue?

Have you filed a radar for the NSURLSession issue?

No, nor for the three MapKit bugs I am seeing around this. Will hopefully make up use cases for these & submit them.

This branch fixes the log warnings for me too. No crashes, but I've only scrolled it around for a short moment.

Thanks @robmaceachern @jsuder for your patience and testing! I am feeling good about this and it's landed in master.

@jsuder Hmm, that's deep in MapKit, and I haven't seen it before. Can you reliable replicate it? Device or sim? Particular UI interactions?

I've only seen it twice today and I've run the app many times... It's on
the simulator and I'm not doing any interactions, just showing the map
centered on a specific point.


how to reset the state of all modules?

for example, i want to clear the state on logout.
how can i do this for all modules within the store?

Afaik there is no build-in way to reset a typescript object to its initial state.
I usually define a reset mutation and clear the state there manually.

In functions that would be smth like this

export default {
    resetWholeState({commit}): void {
        commit(RESET_WHOLE_STATE);
    },
} as ActionTree<any, any>;

export default {
    [RESET_WHOLE_STATE](state: any): void {
        if (state.hasOwnProperty('_initialState')) {
            Object.assign(state, merge({}, state._initialState, {_initialState: state._initialState}));
        }
    },
} as MutationTree<any>;

export const defaultState = (): IStrAny => merge({}, common(), local) as IStrAny;
export default () => merge({}, defaultState(), {_initialState: defaultState()}) as IStrAny;

should give an idea how to make it with classes, smth like
abstract class ResetModule {
public _initialState: object = {};

@Action
  public function resetWholeState() : void {
    this.RESET_WHOLE_STATE();
  }

@Mutation
protected function RESET_WHOLE_STATE (){
 this = this._initialState;
}
}


Introduce QUnit specs for 3.1 Ember

Done

[ ] Remove Mocha & Chai
[ ] Remove Chai Assertions helper
[ ] Setup test helper
[ ] QUnit tests

Todo

[ ] Fix broken currentStep / different component in lookup
[ ] Get rid of document is specs

@Rxbsxn still 🔴 but overall 🥇 !!!


Mimir 1413 update enonic types

Part 1

Upgrades com.github.node-gradle.node and gradle versions to 3.5.0 and 7.3.1. respectively
Upgrades no.item.xp.codegen to version 2.1.0.
Deletes old automatically generated part config files and fixes import of content types and part config

I think there are some of the old generated files that are not deleted. It might be good to do this now, so that the files are shown as "moved", instead of "deleted" + "created".
this goes for:

content types
layouts
pages

talked to @Glenruben a week ago about using a config on the typescript codegen, to prevent it being reformatted by prettier. See documentation here: https://github.com/ItemConsulting/xp-codegen-plugin#configuration-options


Crashing on Nintendo Switch (Unity) - DllNotFoundException

Does Steam Audio support the Nintendo Switch? If not, is there any way to disable it per-platform?
I'm encountering the error DllNotFoundException: Unable to load DLL 'phonon'. at application launch. The stacktrace originates from SteamAudio.SteamAudioManager.OnApplicationStart.
I don't see a folder for the Switch under SteamAudio/Binaries, so I'm guessing that it isn't supported. But I also don't see a way to situationally disable the plugin on unsupported platforms.

Problem semi-resolved - I don't think Unity has a built-in solution for excluding folders from certain builds, but this asset provides that functionality: https://assetstore.unity.com/packages/tools/utilities/exclude-from-build-222791
More details here: https://forum.unity.com/threads/excluding-folders-from-build.408375/

We have just released Steam Audio v4.4.1 (https://github.com/ValveSoftware/steam-audio/releases/tag/v4.4.1), which contains a fix for this issue. The Steam Audio C# assembly is disabled on unsupported platforms, and a new C# compiler define (STEAMAUDIO_ENABLED) can be used to conditionally compile out calls to Steam Audio in your own scripts.


Server error when uploading to ScholarSphere from RMD

User ljv4 reported an error when uploading to ScholarSphere from RMD and provided the attached screenshot. They are a Hershey user. I also noticed that the error message doesn't give a support email address.

@anaelizabethenriquez Hi Ana, welcome back.  Did the user say when this happened?  I'm not seeing any errors in our logs related to this.  If it was done sometime in the middle of the night, they might have timed it just as the server was rebooting.

Ah never mind, I see a timeout error at about 11:09 AM yesterday associated with this user.  Looking into what might have caused this.

Ok, sounds good.  Thanks!


Cannot Create a new document without the webpage crashing

When I attempt to make a new document with the "Create your own button" it crashes the website. I have tried it on multiple computers and with not signing in and being signed in.

What happens when you go to http://homebrewery.naturalcrit.com/new ?

Closing for now because of no further response from the user, and the issue does not have enough information to fix.
Feel free to reopen this issue if this is still a problem for you and you can provide more information, @Dovakinian


Link to docs about entropy source

Substrate uses a safe mixing algorithm that uses the entropy of previous blocks to generate new random data for each subsequent block.

Explaining entropy and where to get it is not in scope for this tutorial, but a link would be nice. In particular I'd like to know under what assumptions the mixing algorithm is safe, and what kinds of validator collusion or other attacks might compromise it.

Even a link to an implementation would suffice.

Conversation about the random_seed safety from W3F researchers here:
https://github.com/paritytech/ink/issues/57
Although, it is still not clear to me exactly when and how this can be used.
Implementation is here: https://github.com/paritytech/substrate/blob/2899be9eef8821eb1b601812c038c69d7a177f93/srml/system/src/lib.rs#L435
Although I don't honestly fully understand what is happening. But you can see we use 81 blocks to generate it.


Implement editor

The editor page pulls from https://Elip100.github.io/scratch-gui. I am hoping that we can move that repo under SnarpleDev. We also need other repos for more editor customization. More info here.
EDIT:
Updated to pull from https://snarpledev.github.io/snazzy-gui/

Ideally we should have our own editor, not a fork of scratch-gui, but that would take a lot of work lol

Creating our own editor from scratch would be a TON of work, especially if you want it to be compatible with vanilla Scratch. It would probably be best to just have a fork of scratch-gui, as we can modify the UI all we want and keep 100% functionality.


Hover color on the header

@yatulearn
I want to create a hover effect on the headers .
And hover effects on address , Phone and E-mail

@yatulearn i have sent a push , made changes in about.html page
the icons of phone , email and address

wants to contribute

@yatulearn
I need some days of time becoz my system is not working due to fluctuations in electricity it turns off the screen doesn't turn on and cpu gives 4 beeps when turning on

I am a gssoc 2024 extended contributor . Please assign this to me.

i want to work on this project please assign it to me


small issue in the vertical navbar  #350 omesh-omg

Description
changes in the css to keep the text within the nav-bar
This PR fixes #350
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Hey @omesh-omg Please sign-off your commit to pass DCO check.

Okay

I have already signed off commit here in the  last commit @abhijeetgauravm if u can access it please try or I will submit another pull request

@abhijeetgauravm  also the hamburger menu problem is in another issue it is only visible in the native build or the one we run on our system on the live version we can't see the hamburger menu It is some technical fault it is already solved by someone and merged but it doesn't show up in the deployed website as I read in the pull request discussion
here are the links:
https://github.com/layer5io/getnighthawk/issues/258
you can check it out here you will get to know clearly

Closing this PR as duplicate exist https://github.com/layer5io/getnighthawk/pull/356


Typo

Singular is criterion, plural is criteria
http://en.wiktionary.org/wiki/criteria

Thanks :)


Links/icons next to DAO name on the DAO bar

Add a "copy DAO wallet" icon and "explorer link" icon next to the DAO name.

Verified on dev. Fixed

Verified on testnet. Implemented


tests: fixed failed tests - stabling CI

fixed get_csv_files function

fixed seed test

fixed clres on conftest - now can modify paths during test run

fixed the mxnet checkpoint test

fixed all comments


UI: abapGit logo does not scale in all cases

Displaying abapGit docs inside SAP GUI HTML viewer:

Reason: missing viewBox attribute in logo.svg

Works


Added ability to choose address and provide security context to start HTTPS server

Added parameter to choose address
Added parameter to provide security context and start HTTPS server

Added ability to choose address and provide security context to start HTTPS server


Currently mock generation plugin does not support mocking Map.Entry

"kotlin.collections.Map.Entry" -> "java.util.Map.Entry" // FIXME class not found

Fixed on PR https://github.com/careem/mockingbird/pull/112


Add support for Ollama, Palm, Claude-2, Cohere, Replicate Llama2 CodeLlama (100+LLMs) - LiteLLM

This PR adds support for the above mentioned LLMs using LiteLLM https://github.com/BerriAI/litellm/
LiteLLM is a lightweight package to simplify LLM API calls - use any llm as a drop in replacement for gpt-3.5-turbo.
Example
from litellm import completion

## set ENV variables
os.environ["OPENAI_API_KEY"] = "openai key"
os.environ["COHERE_API_KEY"] = "cohere key"

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# cohere call
response = completion(model="command-nightly", messages)

# anthropic call
response = completion(model="claude-instant-1", messages=messages)

Summary by CodeRabbit
Refactor:

Switched from openai to litellm for language model completions. This change enhances the underlying AI capabilities of our application, potentially improving the user experience with more accurate and context-aware responses.

addressing: https://github.com/yoheinakajima/instagraph/issues/52

@yoheinakajima can you take a look at this PR when possible


MapReduce framework in python coprocessor

What problem does the new feature solve?
As we discussed before, if we can support MapReduce processing in python coprocessor, it would be beneficial to process extensive time-series data in parallel and distributed.
For example, we have a mapper and a reducer function written in python, try to processing data distributed in multi regions:

  Table data    Mapper

     region1       --->       data part1 -  >
     region2       --->       data part2   ->       reducer     ---> Result
        ...                                   ...
     region N      --->       data part N. ->

The user submits the functions, and it will split into multi tasks, every task running the mapper function with a region of the table data in parallel and distributed.  The reducer function collects all data partitions generated by the mapper function ,calculates and returns the final result.
What does the feature do?
Described above.
Implementation challenges
Looks like we need the following:

A job tracker to track all tasks, may be any frontend nodes.
Programing API in python to write the mapper and reducer functions.
The executor to execute the tasks, may be the python coprocessor engine.

I'm interested in this issue, maybe we can break it down into tracking issues and start from the python api and job tracker?

@e1ijah1 Yep. I'm so sorry I didn't get back to you sooner. If you are interested, you can create a discussion or RFC that we can discuss in detail.
I have yet to carefully think over the API and operational flow.

DataFrame API should be more convenient to use.

DataFrame API should be more convenient to use than mapreduce.

Yes, I guess we can just parallelize in PyDataFrame.collect()?

Perhaps the DataFrame API is a better choice, as it enables optimizations such as columnar storage and vectorized computation, making it more efficient than MapReduce.

It seems we're working on GreptimeFlow for a standalone mapreduce execution engine.
This issue can be still valuable but it requires a more in details design. Move to open-ended discussion and we can come back if the design (draft) is present.


Separate torch onnx constants for version compatibility

From torch 1.12, many constants and global variables were moved from symbolic_helper to torch.onnx._constants and torch.onnx._globals. I created pytorch_pfn_extras.onnx.globals to absorb these differences.

GLOBALS members are not constant, so we have to fetch the latest value before return. For example, export_opset_version can be updated by calling
https://github.com/pfnet/pytorch-pfn-extras/blob/b0fb3e94bbbefdac86e3ab73f22ba830c11e980a/pytorch_pfn_extras/onnx/pfto_exporter/export.py#L865
CONSTANTS members constant.

Maybe we should also implement setters to GLOBALS


Update contracts.maxNumWithHapiSigsAccess to 0 and update test

Description:

After security fixes, the end signer cannot call a contract that executes a precompiled call.
The signer has to give permission to the contract, making a KeyList of the signer's public key and contract's addresses as contractId key type.
// Account keys
KeyList([signer.publicKey, contract1.address, contract2.address])

If the signer wants to modify the token, the token keys have to be updated to KeyList of the public key of all signers, and the address as contractId of all contracts via token update will be performed.
// Token keys
KeyList([signer1.publicKey, signer2.publicKey, contract1.address, contract2.address]);

Related issue(s):
Fixes #235
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

@natanasow can you update the images again. I think we should be good once you do that.
maxNumWithHapiSigsAccess should now default to 0 with 0.39.0 and onwards


Port seed script data faker library

The library used to fake data (faker.js) is no longer supported - it was pulled by the author and it's been reinstated by npm for now.
It might be an idea to switch to another library, like chance.js. The primary file to update is db/seed.ts.

I tried switching to chance.js but it didn't provide everything to replace faker. Upon double checking, https://github.com/faker-js/faker is now the place that actually maintains it.
Marak/faker has this weird history - see also https://www.theverge.com/2022/1/9/22874949/developer-corrupts-open-source-libraries-projects-affected


Group row events per Transaction

Does this package allow for grouping of row events per transaction? Not sure if xid or gtid should be used.

Not supported, just parses and outputs the row events one by one.

@propersam

@siddontang How do you think we can achieve this. What is a good way in your opinion of grouping transactions? Is it using gtid or xid?

@pjebs sorry for the late response, we can use xid to group all, I think we can buffer all rows and output one transaction later.
But if the transaction is too large, we may OOM.

Why would xid be better than gtid?

@pjebs
You can use gtid too, xid is just one way.

@siddontang which would you recommend?

Depending on whether or not you need to handle DDL statements, grouping on GTID is likely better.
Example 1: Pure DDL
alter table xyz ...;

GTID Event
QUERY Event

Notice no XID event, the transaction is ended by the Query event.
Example 2: Mixed DDL/DML (MariaDB-specific)
create table xyz as select ...;

GTID
QUERY
INSERT
INSERT
XID


I'd like to make this happen

Hi,
I'd like to contribute an Elixir implementation of sqids.
@4kimov

Hi @g-andrade, thanks for pinging. Sent you an invite. Spec is here, if you have questions, I'm here 👍

I got encoding matching the playground for a few single numbers with default alphabet and blocklist (it fails with more than one number).

Encouraging! I hope to have a chance to pick it up again soon and start pushing into a draft PR.

@g-andrade Good job! Btw, while this repo is empty and the code is pre-production (most Sqids versions are v0.x for now), feel free to just push to main, no need for a PR

@g-andrade How's it going? Need help with anything?

Hi Ivan, I might continue next weekend, if not on another after that. In
the mean time, I’ll push my fork’s feature branch into main.
On Sat, 16 Sep 2023 at 20:59, Ivan Akimov @.***> wrote:

@g-andrade https://github.com/g-andrade How's it going? Need help with
anything?
—
Reply to this email directly, view it on GitHub
https://github.com/sqids/sqids-elixir/issues/1#issuecomment-1722304665,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYCJ7SOMTPC3MMSDQJEXPLX2YAI3ANCNFSM6AAAAAA4SI4S4Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

I had a lucky break and got to implement most of the spec except for blocklist handling during encoding.
Test cases copied verbatim from spec and passing (except for blocklist):
https://github.com/sqids/sqids-elixir/blob/c2e64ae/test/sqids_test.exs
Things missing:

[ ] Apply blocklist properly during encoding
[ ] CI through GitHub Actions on every git push
[ ] Embedded text descriptions for generated API reference

A few questions:

When characters are found within an ID that are not part of the alphabet, the reference implementation returns an empty array. Would it be OK for this implementation to fail instead?
Since Elixir's integers are bigints, they're only constraint by memory (and common sense). Should this implementation limit accepted numbers, both when encoding and/or decoding, to JS's MAX_SAFE_INTEGER? Ideally this implementation wouldn't produce ids others cannot decode. Perhaps limiting can be done by default but disabled through an encoding option.

Regarding your questions:

Up to you, but the reason decode() in the spec does not throw an error but returns an empty array, is for consistency. The decoding does not guarantee to return "correct" numbers, the user has to re-encode them manually to check that the ID is "valid" or canonical. If you decide to throw an error in that spot, you might accidentally signal to the user that by returning numbers, they're guaranteed to be valid (which is not the case).

Every implementation would ideally return the biggest integer that particular language supports. So for Elixir, you can just support bigints (if that's the biggest) without worrying if other languages can reach those limits or not - that's up to the end user.

A couple of updates:

blocklist implemented and test cases added for it
CI setup on GitHub Actions (and passing) for recent Elixir versions

Nearly there:

there's a README (which I based on the one for the Python library)
there's a function reference
there's test coverage of all relevant edge cases I could think of

At this point only a final review and the upload of a package to Hex are likely missing.

@g-andrade Cool.

there's test coverage of all relevant edge cases I could think of

I can see there are ported over tests in this file https://github.com/sqids/sqids-elixir/blob/main/test/sqids_test.exs but not sure if it includes all the tests from the spec (we should include every one because they cover some good edge-cases). Otherwise, any extra tests should be purely Elixir-specific.
Anyway, ready to update the site whenever you are ready with the lib 👍 Let me know if there's anything specific you'd like me to look at

[…] but not sure if it includes all the tests from the spec (we should include every one because they cover some good edge-cases).

No worries there, I translated the full 4 suites from the spec a few weeks ago. The test cases added since then are mostly Elixir specific, for ex. which exceptions or errors are thrown or returned, when and how - to ensure good UX for consumers of this library. It doesn’t hurt that this process helped uncover some smaller bugs or weird semantics as well, which were fixed or tweaked as a result.
If I find the time next weekend, I’ll polish any details missing and figure out package publishing, and once that’s done we’re good to release 🎉
Going back to nice-to-haves, automated update of the blocklist is coded through a GitHub Actions workflow: daily checks with a PR opened whenever there are changes. It requires setting up some extra permissions in repo settings; I’ll create a ticket for it but it’s probably not a big priority since the blocklist won’t change that often (I assume).
Another optional quality of life improvement would be to enable Dependabot in the repo settings; its config is ready and pushed. Not critical either, since all of the current dependencies are dev-only: for static analysis, debugging or blocklist updates.

Following final tweaks, version 0.1.0 tagged and package published to Hex :tada:

https://hex.pm/packages/sqids


fix: Replace deprecated base64::encode with BASE64_STANDARD

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog
[ ] Breaking changes

Closing because of #2032

oops sorry, forgot that I reviewed that -.-


How does fair compare to dynamic_widget?

Thanks for creating the flutter package.
As fair is relative new compare to dynamic_widget at https://pub.dev/packages/dynamic_widget, may I know why you guys created fair instead of reuse the implementation of dynamic_widget?

Em, I did not checkout the package until you mentioned. That means maybe the package is not well known enough.
So I can’t tell you why we haven’t reuse the implementation of dynamic_widget.
According to the readme, it’s a cool package which can be used to update a list of widgets. Fair has different implementations from widgets to generation. Thanks for the information,I will have a look into the package if there’s anything we may share with each other.


Update list.json

I would like to add proUBC to the collection of open source ABAP projects on dotabap. Thanks!

thanks 👍


This should be marked as "Only works with Up to JDK 1.8"

The documentation in the repository does not work with Java 9 out of the box.
A quick googling leads one to the following article https://blog.frankel.ch/migrating-to-java-9/1/ which is fairly informative on the various issues one will encounter when first getting started using Java 9 and an initial foray into the spring ecosystem. Fixing the guides to be either Java 9 compatible would be nice. BTW, why can't the dependency management system just resolve for JAXB? This is something that NPM does just fine in JS land, and composer does in PHP land -- or at least composer would complain about missing X extension ... which seems somewhat synonymous with the removal of EE libraries from SE 9.
Alternatively, indicating that getting to Java 9 is going to have the following X steps that need to be taken for each guide would be helpful.
Thanks!

We have this guide marked for a rewrite.  I'll leave this open as one of the things to check on when it is rewritten.
We are trying to get everything to work with Java 17, but we need to rewrite this guide to fix other issues, too.

Closing this issue as a rewrite was done in PR #33. Please feel free to test the guide and open a new issue if this problem persists.


[Spark 27492][DOC][YARN][K8S][CORE] Resource scheduling high level user docs

What changes were proposed in this pull request?
Document the resource scheduling feature - https://issues.apache.org/jira/browse/SPARK-24615
Add general docs, yarn, kubernetes, and standalone cluster specific ones.
Why are the changes needed?
Help users understand the feature
Does this PR introduce any user-facing change?
docs
How was this patch tested?
N/A

Test build #110189 has started for PR 25698 at commit 1542827.

Test build #110189 has finished for PR 25698 at commit 1542827.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110189/
Test PASSed.

Merged build finished. Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15195/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15195/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15195/
Test PASSed.

committing, thanks @felixcheung


TP-907 Optional footnotes and conditions

TP-907 Optional footnotes and conditions
Why
It should be possible to create a measure without any conditions or footnotes. The UI does not permit that at the moment and so this PR enables that capability.
What
Add support in forms to allow empty conditions and footnotes to validate correctly.
Add support in Jinja2 templates to correctly display initial, single form in formsets of conditions and footnotes.
Correctly display empty conditions and footnotes on create measures summary page.
As per new design instructions, add space between the last form in the formset and the “Add new” button to convey to the user that it is not directly associated with the final form.
Example empty conditions step:

Empty footnotes step:

Summary step with empty conditions and footnotes:

Looks good! Could you add a screenshot of what it looks like as an empty form?

Looks good! Could you add a screenshot of what it looks like as an empty form pls?

I've just added screenshots to the "What" section of the body of the PR text, Simon.

Looks good to me - I don't know what the remainder of the sprint is looking like for you, but I've added some test fixtures and view tests on my branch now, if you wanted to adapt them and add some to this PR.

Looks good! Could you add a screenshot of what it looks like as an empty form pls?

I've just added screenshots to the "What" section of the body of the PR text, Simon.

Thanks! I wonder if @kathrynlangley thinks we need some content explaining that footnotes/conditions are optional? E.g. atm it says "add one or more" but really it should be "add zero or more" or "optionally add"?

Codecov Report

Merging #383 (534022f) into master (a513741) will decrease coverage by 0.41%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #383      +/-   ##
==========================================
- Coverage   91.59%   91.17%   -0.42%
==========================================
  Files         266      274       +8
  Lines       14812    16247    +1435
  Branches     1121     1320     +199
==========================================
+ Hits        13567    14814    +1247
- Misses       1043     1199     +156
- Partials      202      234      +32

Impacted Files
Coverage Δ

measures/forms.py
49.74% <28.57%> (-1.08%)
:arrow_down:

workbaskets/tests/test_admin.py
92.15% <0.00%> (-7.85%)
:arrow_down:

workbaskets/admin.py
92.45% <0.00%> (-7.55%)
:arrow_down:

common/util.py
83.47% <0.00%> (-0.31%)
:arrow_down:

workbaskets/validators.py
100.00% <0.00%> (ø)

footnotes/tests/test_xml.py
100.00% <0.00%> (ø)

commodities/tests/test_util.py
100.00% <0.00%> (ø)

workbaskets/tests/test_views.py
100.00% <0.00%> (ø)

common/tests/test_serializers.py
100.00% <0.00%> (ø)

workbaskets/tests/test_models.py
100.00% <0.00%> (ø)

... and 20 more

Continue to review full report at Codecov.

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


Migrate to Manifest v3

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

currently using manifest v2. Manifest v3 has speedier reviews. Migrating to it would be in our best interest.

Describe the solution you'd like

Changes to make to current manifest.json – https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/

I will have a look into it, would like to work on this.

Hi! I don't think any work has been done on this and would like to work on this. I expect to get work done fast and should have a PR in a week or so.

@prathamshroff work was done on it, we couldn't devote 1:1 time for this
that is why we didn't go ahead with the whole thing
best of luck

sorry for the delay I could have mentioned this earlier, but I won't be able to work on it atm
but I can assist whosever is picking this one up @QasimWani


context.Context can be nil

Version: 6bc7daa5b1e86745a6976ac1c4dfe6c76ea6af1f
Certain methods, such as func (c *Client) Process(cmd Cmder) error, will default pass a nil context. https://github.com/go-redis/redis/blob/6bc7daa5b1e86745a6976ac1c4dfe6c76ea6af1f/redis.go#L511
What are your thoughts on passing c.Context() (defaults to context.Background()) instead of c.ctx so the context is never nil? It's strongly recommended on https://golang.org/pkg/context/ to not pass a nil context.
There are a few other places where c.ctx is passed where c.Context() could be passed instead: ring.go, sentinel.go, and tx.go

c.ctx is supposed to never have a nil value - it is initialized with context.Background() when client is created. c.Context() just returns c,ctx so there will not be any difference.
Do I miss anything?

You're right, I was using a version prior to https://github.com/go-redis/redis/pull/1080. c.ctx is always initialized now


Add DMSR subsection; align all headings; finish labeling

Added a subsection for DM to record the formal verification procedure for the DMSR.  The DRP/PP/RSP subsections then can call out specific details of interest, and discuss operations rehearsals.


Add Swift Package Manager support

Addresses https://github.com/firebase/FirebaseUI-iOS/issues/886, but lacks support for Facebook and Google auth.

Would following HeadersImports require moving to a pod gen-based workflow as well? If so, I'll likely leave it out of this PR.

The location of the public headers and how they're referenced shouldn't have anything to do with whether a pod gen workflow is used or not.

I'm now running into this issue, so unifying the header imports is the only way forward for now.

Should be ready for final review. I can't figure out why my spm test project won't build unless I use module imports for FirebaseUI, but Firebase and all its dependencies work fine with angle bracket header imports.

GoogleUtilities like https://github.com/google/GoogleUtilities/tree/main/GoogleUtilities/Environment/Public/GoogleUtilities is a good example of how public headers should be structured to support multiple targets in a single repo so they work with both CocoaPods and SPM


Fixed Update index.jsx

What changed? Why?
In the line:
selectedTag == 'all' ? tutorial : tutorial.tags.includes(selectedTag)

The == operator is used, which performs a loose equality check. For better safety and precision, it's recommended to use the strict equality ===:
selectedTag === 'all' ? tutorial : tutorial.tags.includes(selectedTag)

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

@0xwitty
Thanks for contributing to Base! Since we're using a string literal here let's leave as-is for now.


Possible duplicates in UM_USER_ATTRIBUTE table

CREATE TABLE UM_USER_ATTRIBUTE (
                    UM_ID INTEGER,
                    UM_ATTR_NAME VARCHAR2(255) NOT NULL,
                    UM_ATTR_VALUE VARCHAR2(255),
                    UM_PROFILE_ID VARCHAR(255),
                    UM_USER_ID INTEGER,
                    UM_TENANT_ID INTEGER DEFAULT 0,
                    FOREIGN KEY (UM_USER_ID, UM_TENANT_ID) REFERENCES UM_USER(UM_ID, UM_TENANT_ID) ON DELETE CASCADE,
                    PRIMARY KEY (UM_ID, UM_TENANT_ID))

There could be duplicate records in the UM_USER_ATTRIBUTE due to concurrent insertions. For example, if we add the same claim to a user from two nodes concurrently, it would create two records for the same user and the same attribute name. Then if we search for users with that claim, the same user will be listed twice due to this duplication.
This could be avoided with a unique constraint for the columns UM_ATTR_NAME, UM_PROFILE_ID, UM_USER_ID, UM_TENANT_ID.

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


Processes withdrawn event

@tnickelsen  You are missing a bit of test coverage https://sonarcloud.io/component_measures?id=project-origin_chronicler&pullRequest=6&metric=new_coverage&view=list

@tnickelsen  Looks good to me, I have created a new issue #7 for if the other certificate is withdrawn, then we don't currently corrrect the statistic.