Web upload: not clear whether folders are replaced or merged

Refs: #97714

have a folder with a few files
drag and drop into web file explorer
drag and drop the folder again

Observe:
Multiple dialogs appear that ask whether to replace the existing files/folder:

first for the folder
then for the individual files

From this behaviour I assume that the drag and drop is not a "replace" but a "merge".
This is confirmed by adding another file into the original folder and then dnd it again.
Or empty the original folder and then dnd it only asks for the folder but leaves the existing containing files alone.
But this "Merge" semantics needs a completely different UI than "Replace":

it is not necessary to ask for replacing the folder because there will be more questions for the individual files inside anyways.
the dialog needs three buttons: "replace", "do not replace", and "cancel"

Alternatively you could implement the "Replace" logic. In this case there is no need to ask for the individual files inside a folder if the whole folder is replaced anyway.
A third option is to ask initially whether to "Replace" or to "Merge" and then have different UI for the two strategies.

Will check how the explorer does this, we may behave the same already for native drops.

The simplest solution is to implement the "Replace" strategy. That's what macOS Finder does.
IIRC Windows implements the "Merge" strategy.

Yes this is also how our non web explorer behaves. So we will show a dialog for each conflict. We do not allow to bulk cancel.
Since this can be handled in the Explorer, unassigning from @bpasero and renaming
I am opening this up for PRs.
Code pointer
https://github.com/microsoft/vscode/blob/595d2b9b916d063aadfc2c1a8c8f6df5b45572a8/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts#L707

via https://github.com/microsoft/vscode/commit/64dbafe1d374b9bc61330ca5a385e7e5df205bfc the solution is to ask for each thing that gets uploaded and then delete it upfront. This means, when you are being asked to replace a folder, you will not be asked for each file within. It will be a "Replace" and not "Merge".


Cosmos DB Table API

Module, example and standalone for Table API for Cosmos DB

Looks like the CI/CD is passing for the Table API, but is failing on something else...


Create deterministic mode

Create a mode where the pieces always come in the exact same order. Use a RNG that accepts a seed value.

Added in 3c724a


Register CDRXCTestObserver at init time instead

Fixes missing console output when running on Xcode 7.3
Requires Test Bundles to specify CDRXCTestObserver for the
NSPrincipalClass key in Info.plist
See http://www.openradar.me/21428551

Possible fix for issue raised by @cbguder
I like that this appears to comply with how Apple wants custom test observers registered (see the OpenRadar link). I'm not sure exactly how far back this support goes though?
This will also add additional setup steps (the addition of the Info.plist key in the test bundle).

...and it just struck me that if multiple frameworks used this approach then it wouldn't be possible to use them both.
Hmm...

@idoru Thanks for taking steps towards resolving this. I'm not going to have a sufficiently reliable internet connection to download Xcode 7.3 myself until sometime next week.
What I'm actually wondering right now is whether we could get away with removing our test observer altogether. As far as I can tell, the swizzling done at https://github.com/pivotal/cedar/blob/master/Source/XCTest/CDRXCTestFunctions.m#L41 serves the same purpose of getting Cedar's XCTestCase subclasses added to the XCTestSuite instance that will be executed. I remember that we kept the swizzling in place to keep xctool happy, even after the XCTestObservationCenter started being used as well.

I gave that a quick test, and it seems like that mechanism isn't triggered on Xcode 7.3, but haven't had time to look into why.
I may have time to investigate further on Monday...

@briancroom Looking at this today. Looks like we'll have to intercept +testSuiteForTestConfiguration: as +allTests doesn't appear be called with Xcode 7.3
Expect new PR shortly.

Going with #382 to address this for now. Closing.


xholder and rvalue override of get()

in xholder, value() should be an lvalue or an rvalue depending on whether the holder is an lvalue or an rvalue, but only in the case of an owning holder.

Fixed in master.


06/27/2018 04:04 : Create Pull Request for branch master -> prTesting1_2018062704

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Segmentation Fault (OpenGL error)

Hi,
I've been trying to install softgym and am having trouble doing so on a remote machine.
To preface: I have successfully installed + run it on my local machine (Ubuntu 20.04, CUDA 11.3) by compiling in Docker and then running outside of it.
The remote machine is running Ubuntu 18.04, CUDA 10.2, which I believe should be possible to install. I follow the same installation process as my local machine, but when I try to run examples/random_env.py, I get the following error:
$ python examples/random_env.py --env_name RopeFlatten --headless 1
Waiting to generate environment variations. May take 1 minute for each variation...
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/wilson/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/wilson/.drirc: No such file or directory.
OpenGL: glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, width, height) - error Invalid Operation in /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp at line 3464
python: /workspace/softgym/PyFlex/bindings/opengl/shader.cpp:81: void glAssert(const char*, long int, const char*): Assertion `0' failed.
Aborted (core dumped)

I think the main error is from the line OpenGL: glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, width, height) - error Invalid Operation in /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp at line 3464 , and am not sure why it's happening.
It might be due to OpenGL not working correctly for some reason or something wrong with it being over ssh + headless / remote. I'm not too familiar with this, so any insight into this issue would help!

I think ssh would not cause any problem. Most likely it's compatibility with GL on the remote machine, or something wrong with linking. Are you also using docker on the remote machine? I use a singularity for remote machines that don't support docker

Okay I finally figured out that the issue was that turning on X11Fowarding in my ssh config was messing things up with OpenGL (maybe due to incompatible remote / local versions or something). Works now, thanks for getting back so quickly!

Hi,
I have met the similar question. I am using Ubuntu 16.04 LTS, CUDA 9.2.148 and Nvidia driver version 440.64, which is the same with softgym test environment. I am testing on the local machine and entirely outside of docker.
I got the similar error as this issue

$ python examples/random_env.py --env_name RopeFlatten --headless 1
Waiting to generate environment variations. May take 1 minute for each variation...
OpenGL: glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, width, height) - error Invalid Operation in /home/liaolab/softgym_ws/softgym/PyFlex/bindings/opengl/shadersGL.cpp at line 3464
python: /home/liaolab/softgym_ws/softgym/PyFlex/bindings/opengl/shader.cpp:81: void glAssert(const char*, long int, const char*): Assertion `0' failed.
Aborted (core dumped)

Besides, if I did not turn on the headless mode, I got the Segmentation fault mentioned in other issues.

$ python examples/random_env.py --env_name RopeFlatten
Waiting to generate environment variations. May take 1 minute for each variation...
Could not initialize GL extensions
Reshaping
Segmentation fault (core dumped)

Since I am working on a local machine, I wonder how I could handle this "error invalid operation error".
Thank you for any help you can offer!


Maximum Sub array Sum

maximum subarray sum with optimised approach of kadane's algorithm

Thank you for your contribution 👍


[PROPOSAL] Standardize branching strategy

The OpenSearch project generally follows a strategy of tracking 3 releases in parallel (next major, next minor, and current). See RELEASING.md for more details. This repository currently only has a main branch that is targeting version 1.2.4. Should we update to match the OpenSearch branching strategy. If not, why not?
Assuming the answer is yes, then the steps are (I think?):

Create branch 1.2, which will be the current commit on main, supporting version 1.2.4
Create branch 1.3 and implement support for version 1.3.8
Create branch 2.x and implement support for 2.6.0
Implement support for 3.0.0 on main

@dblock not sure if you have some context on this repository
Is any reason why it is not following OpenSearch branching strategy?
Why it's not part of the OpenSearch release bundle?

I propose that this entire repo be moved here: https://github.com/opensearch-project/OpenSearch/tree/main/plugins in a subdirectory called "repository-oci," just like there is a repository-azure and a repository-s3. If not, then why not create repos for those other cloud file stores?

I've opened an issue suggesting this: https://github.com/opensearch-project/OpenSearch/issues/6148

Hi @anasalkouz @andrross @wbeckler , some context:
Originally it was created as a separate repo in order to allow the community time to decide how to address object storage repository plugins in the community. The community feedback at the time was captured here:
https://github.com/opensearch-project/OpenSearch/issues/1854
I agree with @wbeckler suggestion, I think that moving it into the core for now will probably make sure it remains consistent with both versioning strategy and will make routine maintenance and upgrade efforts easier.

Regarding the branching strategy, if we want to take more time before moving it into the core, using a proper conventional branching strategy can't hurt.

I created a 1.3 branch from the current commit on main. After merging https://github.com/opensearch-project/opensearch-oci-object-storage/pull/33 I will create a 2.4 branch.
Going forward will keep the above branching strategy after any version upgrade. Closing this for now while the suggestion to move to the monolith is discussed here: https://github.com/opensearch-project/OpenSearch/tree/main/plugins.


Revert "Revert "Reinstate the check for progress.""

Reverts vespa-engine/vespa#16145
@geirst PR

👍

👍


MFEM/GLVis crashes running tutorial files from Gmsh

I'm trying to test GLVis on mesh files generated by Gmsh.  A few are rendered OK, but then I ran into this error:
MFEM abort: Non-positive element attribute in Gmsh mesh!
... in function: void mfem::Mesh::ReadGmshMesh(std::istream&)
... in file: mesh/mesh_readers.cpp:1172
Abort (core dumped)
Another example just gave (with no message)
Abort (core dumped)
Not sure how to track this down.
Another error:
MFEM abort: Gmsh file : vertex index doesn't exist
... in function: void mfem::Mesh::ReadGmshMesh(std::istream&)
... in file: mesh/mesh_readers.cpp:1164
I get this error for some files produced with Gmsh, and not others.

This is probably related to https://github.com/mfem/mfem/issues/464.
Can you link or post one of the smaller meshes that generate this error?

A couple of examples follow below.
In the meantime, I’d like to know what MFEM/GLVis uses for its examples in mfem/data, for example square-disc.mesh; it looks better in terms of curvature behavior than what I can get out of gmsh.
In these runs I specified gmsh version 2 output format.
1st example: t1.geo -> t1a.geo: I get
MFEM abort: Gmsh file : vertices indices are not unique
... in function: void mfem::Mesh::ReadGmshMesh(std::istream &)
... in file: mesh/mesh_readers.cpp:952
/*********************************************************************
*

Gmsh tutorial 1

Variables, elementary entities (points, curves, surfaces), physical
entities (points, curves, surfaces)

*********************************************************************/
SetFactory("OpenCASCADE");
// Mesh.RefineSteps = 10;
// The simplest construction in Gmsh's scripting language is the
// affectation'. The following command defines a new variable lc':
// lc = 1e-2;
// This variable can then be used in the definition of Gmsh's simplest
// elementary entity', a Point'. A Point is defined by a list of four numbers:
// three coordinates (X, Y and Z), and a characteristic length (lc) that sets
// the target element size at the point:
Point(1) = {0, 0, 0};
// The distribution of the mesh element sizes is then obtained by interpolation
// of these characteristic lengths throughout the geometry. Another method to
// specify characteristic lengths is to use general mesh size Fields (see
// t10.geo'). A particular case is the use of a background mesh (see t7.geo').
// We can then define some additional points as well as our first curve.  Curves
// are Gmsh's second type of elementery entities, and, amongst curves, straight
// lines are the simplest. A straight line is defined by a list of point
// numbers. In the commands below, for example, the line 1 starts at point 1 and
// ends at point 2:
Point(2) = {10, 0,  0} ;
Point(3) = {10, 5, 0} ;
Point(4) = {0,  5, 0} ;
Line(1) = {1,2} ;
Line(2) = {3,2} ;
Line(3) = {3,4} ;
Line(4) = {4,1} ;
// The third elementary entity is the surface. In order to define a simple
// rectangular surface from the four curves defined above, a curve loop has first
// to be defined. A curve loop is a list of connected curves, a sign being
// associated with each curve (depending on the orientation of the curve):
Curve Loop(1) = {4,1,-2,3} ;
// We can then define the surface as a list of curve loops (only one here, since
// there are no holes--see `t4.geo'):
// Plane Surface(1) = {1} ;
Circle(6) = {5, 2.5, 0, 2} ;
Curve Loop(6) = {6};
Plane Surface(6) = {1, 6} ;
Plane Surface(7) = {6} ;
// At this level, Gmsh knows everything to display the rectangular surface 6 and
// to mesh it. An optional step is needed if we want to group elementary
// geometrical entities into more meaningful groups, e.g. to define some
// mathematical ("domain", "boundary"), functional ("left wing", "fuselage") or
// material ("steel", "carbon") properties.
//
// Such groups are called "Physical Groups" in Gmsh. By default, if physical
// groups are defined, Gmsh will export in output files only those elements that
// belong to at least one physical group. (To force Gmsh to save all elements,
// whether they belong to physical groups or not, set "Mesh.SaveAll=1;", or
// specify "-save_all" on the command line.)
//
// Here we define a physical curve that groups the left, bottom and right lines
// in a single group (with prescribed tag 5); and a physical surface with name
// "My surface" (with an automatic tag) containg the geometrical surface 1:
Physical Curve(5) = {1, 2, 4} ;
Physical Surface("My surface") = {1} ;
Physical Curve(6) = {6} ;
// Note that starting with Gmsh 3.0, models can be built using different
// geometry kernels than the default "built-in" kernel. By specifying
//
//   SetFactory("OpenCASCADE");
//
// any subsequent command in the .geo file would be handled by the OpenCASCADE
// geometry kernel instead of the built-in kernel. A rectangular surface could
// then simply be created with
//
//   Rectangle(2) = {.2, 0, 0, 0.1, 0.3};
//
// See tutorial/t16.geo for a complete example, and demos/boolean for more.
2nd example: t4.geo (no modifications): I get
MFEM abort: Non-positive element attribute in Gmsh mesh!
... in function: void mfem::Mesh::ReadGmshMesh(std::istream &)
... in file: mesh/mesh_readers.cpp:1172
Abort
/*********************************************************************
*

Gmsh tutorial 4

Built-in functions, surface holes, annotations, mesh colors

*********************************************************************/
// As usual, we start by defining some variables:
cm = 1e-02;
e1 = 4.5 * cm; e2 = 6 * cm / 2; e3 =  5 * cm / 2;
h1 = 5 * cm; h2 = 10 * cm; h3 = 5 * cm; h4 = 2 * cm; h5 = 4.5 * cm;
R1 = 1 * cm; R2 = 1.5 * cm; r = 1 * cm;
Lc1 = 0.01;
Lc2 = 0.003;
// We can use all the usual mathematical functions (note the capitalized first
// letters), plus some useful functions like Hypot(a, b) := Sqrt(a^2 + b^2):
ccos = (-h5*R1 + e2 * Hypot(h5, Hypot(e2, R1))) / (h5^2 + e2^2);
ssin = Sqrt(1 - ccos^2);
// Then we define some points and some lines using these variables:
Point(1) = {-e1-e2, 0    , 0, Lc1}; Point(2) = {-e1-e2, h1   , 0, Lc1};
Point(3) = {-e3-r , h1   , 0, Lc2}; Point(4) = {-e3-r , h1+r , 0, Lc2};
Point(5) = {-e3   , h1+r , 0, Lc2}; Point(6) = {-e3   , h1+h2, 0, Lc1};
Point(7) = { e3   , h1+h2, 0, Lc1}; Point(8) = { e3   , h1+r , 0, Lc2};
Point(9) = { e3+r , h1+r , 0, Lc2}; Point(10)= { e3+r , h1   , 0, Lc2};
Point(11)= { e1+e2, h1   , 0, Lc1}; Point(12)= { e1+e2, 0    , 0, Lc1};
Point(13)= { e2   , 0    , 0, Lc1};
Point(14)= { R1 / ssin, h5+R1ccos, 0, Lc2};
Point(15)= { 0        , h5        , 0, Lc2};
Point(16)= {-R1 / ssin, h5+R1ccos, 0, Lc2};
Point(17)= {-e2       , 0.0       , 0, Lc1};
Point(18)= {-R2 , h1+h3   , 0, Lc2}; Point(19)= {-R2 , h1+h3+h4, 0, Lc2};
Point(20)= { 0  , h1+h3+h4, 0, Lc2}; Point(21)= { R2 , h1+h3+h4, 0, Lc2};
Point(22)= { R2 , h1+h3   , 0, Lc2}; Point(23)= { 0  , h1+h3   , 0, Lc2};
Point(24)= { 0, h1+h3+h4+R2, 0, Lc2}; Point(25)= { 0, h1+h3-R2,    0, Lc2};
Line(1)  = {1 , 17};
Line(2)  = {17, 16};
// Gmsh provides other curve primitives than straight lines: splines, B-splines,
// circle arcs, ellipse arcs, etc. Here we define a new circle arc, starting at
// point 14 and ending at point 16, with the circle's center being the point 15:
Circle(3) = {14,15,16};
// Note that, in Gmsh, circle arcs should always be smaller than Pi. We can then
// define additional lines and circles, as well as a new surface:
Line(4)  = {14,13}; Line(5)   = {13,12};  Line(6)  = {12,11};
Line(7)  = {11,10}; Circle(8) = {8,9,10}; Line(9)  = {8,7};
Line(10) = {7,6};   Line(11)  = {6,5};    Circle(12) = {3,4,5};
Line(13) = {3,2};   Line(14)  = {2,1};    Line(15) = {18,19};
Circle(16) = {21,20,24}; Circle(17) = {24,20,19};
Circle(18) = {18,23,25}; Circle(19) = {25,23,22};
Line(20) = {21,22};
Curve Loop(21) = {17,-15,18,19,-20,16};
Plane Surface(22) = {21};
// But we still need to define the exterior surface. Since this surface has a
// hole, its definition now requires two curves loops:
Curve Loop(23) = {11,-12,13,14,1,2,-3,4,5,6,7,-8,9,10};
Plane Surface(24) = {23,21};
// As a general rule, if a surface has N holes, it is defined by N+1 curve loops:
// the first loop defines the exterior boundary; the other loops define the
// boundaries of the holes.
// Finally, we can add some comments by embedding a post-processing view
// containing some strings:
View "comments" {
// Add a text string in window coordinates, 10 pixels from the left and 10
// pixels from the bottom, using the StrCat function to concatenate strings:
T2(10, -10, 0){ StrCat("Created on ", Today, " with Gmsh") };
// Add a text string in model coordinates centered at (X,Y,Z) = (0, 0.11, 0):
T3(0, 0.11, 0, TextAttributes("Align", "Center", "Font", "Helvetica")){ "Hole" };
// If a string starts with file://', the rest is interpreted as an image   // file. For 3D annotations, the size in model coordinates can be specified   // after a @' symbol in the form widthxheight' (if one of width' or
// `height' is zero, natural scaling is used; if both are zero, original image
// dimensions in pixels are used):
T3(0, 0.09, 0, TextAttributes("Align", "Center")){<EMAIL_ADDRESS>};
// The 3D orientation of the image can be specified by proving the direction
// of the bottom and left edge of the image in model space:
T3(-0.01, 0.09, 0, 0){ "file://image.png@0.01x0,0,0,1,0,1,0" };
// The image can also be drawn in "billboard" mode, i.e. always parallel to
// the camera, by using the `#' symbol:
T3(0, 0.12, 0, TextAttributes("Align", "Center")){<EMAIL_ADDRESS>};
// The size of 2D annotations is given directly in pixels:
T2(350, -7, 0){ "file://image.png@20x0" };
};
// Views and geometrical entities can be made to respond to double-click events:
View[0].DoubleClickedCommand = "Printf('View[0] has been double-clicked!');";
Geometry.DoubleClickedLineCommand = "Printf('Curve %g has been double-clicked!',
Geometry.DoubleClickedEntityTag);";
// We can also change the color of some mesh entities:
Color Grey50{ Surface{ 22 }; }
Color Purple{ Surface{ 24 }; }
Color Red{ Curve{ 1:14 }; }
Color Yellow{ Curve{ 15:20 }; }

On Oct 15, 2019, at 8:09 PM, Veselin Dobrev<EMAIL_ADDRESS>wrote:
This is probably related to mfem/mfem#464 https://github.com/mfem/mfem/issues/464.
Can you link or post one of the smaller meshes that generate this error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/GLVis/glvis/issues/92?email_source=notifications&email_token=AGHCPOCB4GJOYRSLINW4F4DQOZLUTA5CNFSM4I73F2N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKTJDQ#issuecomment-542454926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHCPODBNPS7OVTXLOLGKATQOZLUTANCNFSM4I73F2NQ.

I realized that not everyone has gmsh installed.  Here's a copy of t1a.msh in version 2 format where I've minimized the number of points.
I note also that I'm getting 2-3 different error messages from GLVis depending upon which .msh file I use.
$MeshFormat
4.1 0 8
$EndMeshFormat
$PhysicalNames
1
2 6 "My surface"
$EndPhysicalNames
$Entities
5 5 2 0
1 0 0 0 0
2 10 0 0 0
3 10 5 0 0
4 0 5 0 0
5 7 2.5 0 0
1 -1.000000002804313e-07 -1e-07 -1e-07 10.0000001 1e-07 1e-07 1 5 2 1 -2
2 9.999999900000001 -9.999999983634211e-08 -1e-07 10.0000001 5.0000001 1e-07 1 5 2 3 -2
3 -1.000000002804313e-07 4.9999999 -1e-07 10.0000001 5.0000001 1e-07 0 2 3 -4
4 -1e-07 -9.999999983634211e-08 -1e-07 1e-07 5.0000001 1e-07 1 5 2 4 -1
6 2.9999999 0.4999999000000002 -1e-07 7.0000001 4.5000001 1e-07 1 6 2 5 -5
6 -1.000000002804313e-07 -9.999999983634211e-08 -1e-07 10.0000001 5.0000001 1e-07 0 5 4 1 -2 3 6
7 2.9999999 0.4999999000000002 -1e-07 7.0000001 4.5000001 1e-07 0 1 6
$EndEntities
$Nodes
9 81 1 81
0 1 0 1
1
0 0 0
0 2 0 1
2
10 0 0
0 3 0 1
3
10 5 0
0 4 0 1
4
0 5 0
0 5 0 1
5
7 2.5 0
1 1 0 7
6
7
8
9
10
11
12
1.25 0 0
2.5 0 0
3.75 0 0
5 0 0
6.25 0 0
7.5 0 0
8.75 0 0
1 2 0 7
13
14
15
16
17
18
19
10 4.375 0
10 3.75 0
10 3.125 0
10 2.5 0
10 1.875 0
10 1.25 0
10 0.625 0
1 4 0 7
20
21
22
23
24
25
26
0 4.375 0
0 3.75 0
0 3.125 0
0 2.5 0
0 1.875 0
0 1.25 0
0 0.625 0
1 6 0 55
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
6.987424419786485 2.723928952206616 0
6.949855824363647 2.94504186791263 0
6.887766660616735 3.160558123910335 0
6.801937735804838 3.367767478235117 0
6.693448398456567 3.564064153030674 0
6.563662964936059 3.746979603717469 0
6.414213562373094 3.914213562373097 0
6.246979603717465 4.063662964936061 0
6.064064153030671 4.19344839845657 0
5.867767478235113 4.30193773580484 0
5.66055812391033 4.387766660616736 0
5.445041867912624 4.449855824363649 0
5.22392895220661 4.487424419786485 0
4.999999999999994 4.5 0
4.776071047793378 4.487424419786485 0
4.554958132087364 4.449855824363645 0
4.339441876089659 4.387766660616733 0
4.132232521764878 4.301937735804835 0
3.935935846969321 4.193448398456565 0
3.753020396282527 4.063662964936055 0
3.5857864376269 3.91421356237309 0
3.436337035063936 3.746979603717461 0
3.306551601543428 3.564064153030667 0
3.198062264195159 3.367767478235111 0
3.112233339383263 3.160558123910329 0
3.050144175636352 2.945041867912624 0
3.012575580213515 2.723928952206611 0
3 2.499999999999995 0
3.012575580213515 2.276071047793379 0
3.050144175636354 2.054958132087367 0
3.112233339383266 1.839441876089663 0
3.198062264195163 1.632232521764881 0
3.306551601543434 1.435935846969324 0
3.436337035063942 1.25302039628253 0
3.585786437626907 1.085786437626903 0
3.753020396282535 0.9363370350639384 0
3.93593584696933 0.80655160154343 0
4.132232521764887 0.6980622641951604 0
4.339441876089669 0.6122333393832637 0
4.554958132087374 0.5501441756363521 0
4.776071047793388 0.5125755802135146 0
5.000000000000004 0.5 0
5.223928952206619 0.5125755802135152 0
5.445041867912632 0.5501441756363534 0
5.660558123910337 0.612233339383266 0
5.867767478235119 0.6980622641951633 0
6.064064153030674 0.8065516015434324 0
6.246979603717469 0.9363370350639411 0
6.414213562373096 1.085786437626906 0
6.563662964936059 1.253020396282533 0
6.693448398456568 1.435935846969326 0
6.801937735804838 1.632232521764883 0
6.887766660616735 1.839441876089666 0
6.949855824363647 2.054958132087371 0
6.987424419786485 2.276071047793384 0
$EndNodes
$Elements
4 80 1 80
1 1 1 8
1 1 6
2 6 7
3 7 8
4 8 9
5 9 10
6 10 11
7 11 12
8 12 2
1 2 1 8
9 3 13
10 13 14
11 14 15
12 15 16
13 16 17
14 17 18
15 18 19
16 19 2
1 4 1 8
17 4 20
18 20 21
19 21 22
20 22 23
21 23 24
22 24 25
23 25 26
24 26 1
1 6 1 56
25 5 27
26 27 28
27 28 29
28 29 30
29 30 31
30 31 32
31 32 33
32 33 34
33 34 35
34 35 36
35 36 37
36 37 38
37 38 39
38 39 40
39 40 41
40 41 42
41 42 43
42 43 44
43 44 45
44 45 46
45 46 47
46 47 48
47 48 49
48 49 50
49 50 51
50 51 52
51 52 53
52 53 54
53 54 55
54 55 56
55 56 57
56 57 58
57 58 59
58 59 60
59 60 61
60 61 62
61 62 63
62 63 64
63 64 65
64 65 66
65 66 67
66 67 68
67 68 69
68 69 70
69 70 71
70 71 72
71 72 73
72 73 74
73 74 75
74 75 76
75 76 77
76 77 78
77 78 79
78 79 80
79 80 81
80 81 5
$EndElements

The msh file you posted shows version "4.1" -- this is the first number after "$MeshFormat". You need to generate version "2.2" mesh format which is what the Gmsh reader in MFEM expects. Currently, it looks like the reader just checks if (version < 2.2) to report an error. We should probably update this to check if (version != 2.2).

My mistake - I saved the version 2 format but gmsh did not append the .msh suffix, so I missed the most recent save.  That said, I can't reconcile the gmsh and GLVis images:
Here is the gmsh image:

...and here is the GLVis rendered image:

As I mentioned in an earlier post, I'm happy to give up on gmsh if I can learn what the MFEM/GLVis team uses to generate the mesh files in its distribution data folder.

Can you link or post the version "2.2" file?

Here it is.  I've verified that it's version 2!
I note that I used the Open CASCADE option to build this file.  Could that be a problem?
$MeshFormat
2.2 0 8
$EndMeshFormat
$PhysicalNames
1
2 6 "My surface"
$EndPhysicalNames
$Nodes
32
1 0 0 0
2 10 0 0
3 10 5 0
4 0 5 0
5 7 2.5 0
6 1.111111111111111 0 0
7 2.222222222222224 0 0
8 3.333333333333337 0 0
9 4.44444444444445 0 0
10 5.555555555555562 0 0
11 6.666666666666676 0 0
12 7.777777777777788 0 0
13 8.888888888888902 0 0
14 10 3.999999999999999 0
15 10 2.999999999999998 0
16 10 1.999999999999996 0
17 10 0.9999999999999947 0
18 0 3.999999999999999 0
19 0 2.999999999999998 0
20 0 1.999999999999996 0
21 0 0.9999999999999947 0
22 6.732050807568879 3.499999999999999 0
23 6.000000000000003 4.232050807568876 0
24 5.000000000000006 4.5 0
25 4.000000000000008 4.232050807568882 0
26 3.267949192431128 3.500000000000008 0
27 3 2.500000000000008 0
28 3.267949192431119 1.500000000000007 0
29 3.999999999999995 0.7679491924311259 0
30 4.999999999999996 0.5 0
31 5.999999999999997 0.767949192431121 0
32 6.732050807568876 1.499999999999998 0
$EndNodes
$Elements
31
1 1 2 5 1 1 6
2 1 2 5 1 6 7
3 1 2 5 1 7 8
4 1 2 5 1 8 9
5 1 2 5 1 9 10
6 1 2 5 1 10 11
7 1 2 5 1 11 12
8 1 2 5 1 12 13
9 1 2 5 1 13 2
10 1 2 5 2 3 14
11 1 2 5 2 14 15
12 1 2 5 2 15 16
13 1 2 5 2 16 17
14 1 2 5 2 17 2
15 1 2 5 4 4 18
16 1 2 5 4 18 19
17 1 2 5 4 19 20
18 1 2 5 4 20 21
19 1 2 5 4 21 1
20 1 2 6 6 5 22
21 1 2 6 6 22 23
22 1 2 6 6 23 24
23 1 2 6 6 24 25
24 1 2 6 6 25 26
25 1 2 6 6 26 27
26 1 2 6 6 27 28
27 1 2 6 6 28 29
28 1 2 6 6 29 30
29 1 2 6 6 30 31
30 1 2 6 6 31 32
31 1 2 6 6 32 5
$EndElements

All elements described by this file are line segments, so that is what GLVis shows. Note that the Gmsh reader discards the y-coordinates since it sees only 1D elements and then GLVis extrudes this 1D mesh in y direction just for visualization and that is why you see quad elements. Maybe this is just the boundary of your 2D mesh?

@bradfc, is this related/resolved by https://github.com/mfem/mfem/issues/1128?

It is - thanks very much for your help.

On Dec 1, 2019, at 3:28 PM, Tzanio Kolev<EMAIL_ADDRESS>wrote:
@bradfc https://github.com/bradfc, is this related/resolved by mfem/mfem#1128 https://github.com/mfem/mfem/issues/1128?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/GLVis/glvis/issues/92?email_source=notifications&email_token=AGHCPOGRFSGA7IQ2V3U5WPDQWQM5ZA5CNFSM4I73F2N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRUTEA#issuecomment-560155024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHCPOFVM36LPVETHXZBU7TQWQM5ZANCNFSM4I73F2NQ.


Support enabling the --system flag via an env var?

Hello, I'm using uv in a dev container with a global Python installation (no venv) to keep complexity low. Now, I naturally need to pass the --system flag to uv pip install. I was wondering if you'd consider adding support for switching this flag on / off via an environment variable (which I could then bake into the container). This would make things a little easier for the users of the container.

Hi! This is already supported via UV_SYSTEM_PYTHON (docs).

Oh, I entirely missed that! Sorry about this.


CharacterModeCommand not implemented for OneCore voices

Need to come up with a workaround for the 'a' sound when using OneCore voices. I've filed a bug report about this with NVDA, but any fix will likely not be available in the short term.

Found a bug in the fix, but b607f07b04c22165f7671d472acc7a5baf14e91d fixes that.


cannot import swift-2.0 into cocoapods

Seems to be lacking a podspec for the swift-2.0 tree?

Thank you so much for the feedback @BluMist !
I added a podspec on swift-2.0 and some instructions to install JASON.
use_frameworks!

pod 'JASON', :git => 'https://github.com/delba/JASON.git', :branch => 'swift-2.0'

As soon as Swift 2.0 is released, you will be able to install JASON just by specifying the version.
Thanks!

Confirm this works, thanks for the quick fix!


Support dual HTTP/HTTPS for a mirror

This is a feature request, plus a PR that implements it: https://github.com/etix/mirrorbits/pull/156
Background
With the term dual HTTP/HTTPS, I mean: make it possible for a mirror to support both HTTP and HTTPS.
At the moment: a mirror has only one field HttpUrl. It can be either a HTTP or a HTTPS URL. Mirrorbits handles that as such:

if the incoming request is HTTPS, only HTTPS mirrors are eligible for redirection

if the incoming request is HTTP, both HTTP and HTTPS mirrors are eligible for redirection

This behavior makes complete sense when distributing files via the web browser.
Now coming from a different background: for a Debian-based Linux distro, it's important to distribute packages over both HTTP and HTTPS. And it's important to respect the protocol of the incoming request: a HTTP request should NOT be redirected to HTTPS.
A bit more background
Just for comparison: mirrorbrain (another redirector, maybe we could say mirrorbits precursor) doesn't handle that either, a mirror can only have one URL (either HTTP or HTTPS). The workaround is to have two instances running: one for the HTTP mirrors, and another for the HTTPS mirrors. It has downsides though:

each instance must scan the mirrors, so we basically duplicate the workload:

on the mirrors side, to do the scan, and
on the redirector side, to process the result of the scan

it takes twice more RAM, since the database is duplicated

With mirrorbits, we can follow the same workaround, with the same downsides. However the point 2 "it takes twice more RAM" becomes a dealbreaker. For Kali Linux, we have a quite large repo (between 500k to 1 million files), and around 50 mirrors, so the database is quite big. Compared to mirrorbrain, mirrorbits needs around 6 times more RAM to operate... And that's why we can't afford to run two instances in parallel anymore, like we used to do with mirrorbrain.
The feature request
So we'd like that mirrorbits can support "Dual HTTP/HTTPS" for mirrors. The most obvious way to get there, IMO, is to add a new field HttpsUrl. Then adjust mirrorbits code all over the place so that it can support various combinations of HttpUrl (set/unset) and HttpsUrl (set/unset).
In practice, see the PR https://github.com/etix/mirrorbits/pull/156. It's not so tricky, but it requires modifying mirrorbits in various places, and it implies a database upgrade, leading to a rather larger PR.
I must add that this code is running on a staging instance at http://http-staging.kali.org/README?mirrorlist, and will be in production pretty soon, if all goes well.
Any feedback welcome, thanks for reading!

This would be useful -- we have some situations where we have to serve on HTTP and some where we can serve on HTTPS..

I've been working on that and I hope to propose the changes before end of week

Fantastic news
On 18 Dec 2024, at 03:55, Arnaud Rebillout @.***> wrote:

I've been working on that and I hope to propose the changes before end of week
—
Reply to this email directly, view it on GitHubhttps://github.com/etix/mirrorbits/issues/157#issuecomment-2550268025, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHDWLCWWEGAQ4YWEJ2CNIL2GDW2RAVCNFSM6AAAAABOIMEPX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJQGI3DQMBSGU.
You are receiving this because you commented.Message ID: @.***>


OpenJS Onboarding Tasks

🚀 Feature Proposal
This issue tracks the completion of the OpenJS onboarding tasks. Tasks are listed below. More information can be found here: https://github.com/openjs-foundation/cross-project-council/blob/main/PROJECT_PROGRESSION.md#onboarding-checklist

[ ] Adopt the OpenJS Foundation Code of Conduct
[ ]  Update project CoC reporting methods to include OpenJS Foundation escalation path
[x]  List official domains that the project commits to transfer to the OpenJS Foundation following graduation
[ ]  Identify and document other core project infrastructure
[x]  Adopt either the Contributor License Agreement (CLA) or the Developer Certificate of Origin (DCO)
[ ]  Add or Update Governance.md document (required for Impact stage)
[ ]  Confirm required files in place (CODE_OF_CONDUCT.md, LICENSE.md)
[ ]  Publish Project Charter on website or GitHub (see charter template)
[ ]  Update legal copyright notice on GitHub
[ ]  Add copyright notices for project website footers to project website
[ ]  Add OpenJS Foundation logo to project website
[ ]  Add Project logo to OpenJS Foundation website
[ ]  Add Project to the CPC repo's README.md as an Incubating project
[ ]  List trademarks the project commits to transfer to the OpenJS Foundation following graduation
[ ]  If project is using crowdfunding platforms, add disclaimer from the OpenJS Foundation Trademark Policy to platforms
[ ]  Identify individuals from the project to join the CPC
[ ]  Document project and foundation contacts for:
[ ] marketing & social media
[ ] infrastructure
[ ] legal/governance help
[ ]  Publish security policy (see PROJECT_SECURITY_REPORTING)

@SimenB @rickhanlonii for visibility.

@bensternthal what do we do with copyright notices in source code? E.g.
https://github.com/jestjs/jest/blob/8dd30d0b92f410d39476016b1960c9d0216b5d7d/packages/jest/src/index.ts#L1-L6

@SimenB I think these are generally left alone and as-is. I poked around on node.js to see what they have done, and this looks to be the correct approach.

Aight 👍 should it be added to new files (we have a script that verifies on CI), or is it fine to omit for those?

Excellent question and I am not 100% sure. Adding in @joesepi from the CPC who might know based on experience with other projects.

@SimenB would it be helpful for me to spin out the checklist items into individual issues?

@bensternthal By the way, the following seems to be done:

[ ]   Add Project to the CPC repo's README.md as an Incubating project

@bensternthal nah, that's fine. I've just been on vacation and started a new job this week, so haven't gotten to this. I'll start tackling the list this weekend 🙂

@bensternthal Some questions 🙂
For the CoC - do I just copy the linked one into this repo and add Jest and my own email to the project list?

Identify and document other core project infrastructure

We only have a website host (Netlify) and CI (both GH Actions and CircleCI). How would this be documented?

Add or Update Governance.md document (required for Impact stage)

Do you have some sort of template for this?

Document project and foundation contacts for:

Where should these be documented?

Publish security policy

We currently rely on the Meta one. Is there a similar one from OpenJS we can use?

@rickhanlonii maybe you can help with some of this, if your head is above water after becoming a dad (congrats, again! 😀 )
Specifically

Publish Project Charter on website or GitHub
List trademarks the project commits to transfer to the OpenJS Foundation following graduation
If project is using crowdfunding platforms, …

@SimenB wrt copyright notice, please see Section 2 of the IP Policy Guidance, in particular the italicized note.
In a nutshell, unless you have specific permission to remove existing copyright notices from Meta, don't. Just add the suggested ones below.

We only have a website host (Netlify) and CI (both GH Actions and CircleCI). How would this be documented?

Mentioning it here should suffice.

Do you have some sort of template for this?

I assume Jest never defined any governance policies for the project, which based on the project history makes total sense. For inspiration you can take a look at WebdriverIO which defines different roles and teams and the requirements to become a member of the team to gain more influence to the project. Node.js has a similar structure. As a start you can maybe define the responsibilities of Jest core contributors and define a nomination process to have someone become a Jest core contributor. Then you can adapt and create more complex processes if the project demands it.

Where should these be documented?

This should actually say:
Document project and foundation contacts for:

marketing & social media
infrastructure
legal/governance help

I believe GitHub handles will be sufficient here and can be shared in this thread.

We currently rely on the Meta one. Is there a similar one from OpenJS we can use?

Can you share where the Meta one is defined? I'ld suggest to create a SECURITY.md that can be as simple as the one used by WebdriverIO or a more comprehensive version used by Node.js.

Folks, you also should make sure to back port your updates here to the upstream issue at https://github.com/openjs-foundation/project-status/issues/67 which is the one that the CPC will be looking at.

@SimenB would you be OK if we closed this issue. When I created it I was not aware of this already be tracked here https://github.com/openjs-foundation/project-status/issues/67
I'd prefer not to have the lists in two places :)


Document that the lock is available on the condition variable object

The condition variable stores a reference to the lock; there's no reason we should not expose that property for reading.  Doing so simplifies building abstractions over condition variables too, as the (lock,cond) pair does not have to be passed everywhere, passing the cond is good enough.

Fixed by https://github.com/lars-t-hansen/js-lock-and-condition/commit/4efb03a6935c56e10323df15ff8fdc6300390a04


Potionhit effects other players in non pvp zones

Title explains most. People on my server can give other players potion effects if they hit them with an rpgitems weapon with potion hit even if the area is non pvp. This is a really big issue for me i'd strongly appreciate if it got fixed soon.

What version are you using? I believe that it was fixed in 1.11 branch
Sent from my Google Pixel XL using FastHub

I'll try reinstalling it but it is 1.11 branch

If you're seeing this another issue I have is that I can't find a way to repair any rpgitems. For all my rpgitems i've set the default durability and durability to the same thing is that the problem?

RPGItems are unrepairable now but you may have some power that increase durability.


Dp/adjust position proxy action

Integrate adjust position proxy actions
Changes 👷♀

make a call to blockchain to adjust position - multiply/demultiply

How to test 🧪

setup hardhat locally
deploy proxy actions
use form to adjust position

Definition of done ✔

[ ] Acceptance criteria for each issue met
[ ] Unit tests written where needed and passing
[ ] End-to-end tests for happy path
[ ] Documentation updated
[ ] Project builds without errors
[ ] Non-functional requirements met
[ ] Code reviewed and functionality tested by the reviewer (locally, Heroku, etc.)
[ ] Feature verified and accepted by Product Owner
[ ] Project deployed to production environment

Doesn't this stuff sopposed to have some tests ?

From this point you will need to set
MULTIPLY_PROXY_ACTIONS=
EXCHANGE=

addresses in .env


Fix ginbox.rb name and required MacOS version

This commit fixes two issues with the ginbox cask:

Cask filename (gInbox.rb) was not all lowercase and didn't match the actual name in the formula (ginbox). I changed the filename to all lowercase per the Homebrew Formula Cookbook (A Quick Word on Naming).
I have bumped up the minimum required MacOS version to Mavericks, as this is what the developer has stated is the required version, starting with gInbox 0.2.3.

Thank you for the contribution and all the fixes.


build: enable all linters again

Codecov Report

Merging #428 (a961fb6) into master (be96dbd) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
- Coverage   72.34%   72.31%   -0.03%
==========================================
  Files          36       36
  Lines        2676     2677       +1
==========================================
  Hits         1936     1936
- Misses        538      539       +1
  Partials      202      202


coder not showing expander on some self sends

When viewing BrStencil>>asElement, the expander attribute should show for the create send since it is sent to self.

Changed the code to use canUnderstand: instead of canPerform:. The latter doesn't include subclassResponsibility methods.


Fix for canvas font using points instead of pixels

Switch from using points to pixels because it seems that font size is specified in points while line height is specified in pixels (at least without unit conversions for line height to preserve points behavior).
Also fix extra "normal" string, and update examples.
This may break users expecting points for font sizes.

The fact that we've been using pt for font size and px for line height has already been breaking user expectations. Better to make this change sooner than later. Looks good.


Branch name in created environment has a limit

https://github.com/platformsh/demo-project/actions/runs/6771741648/job/18402796760?pr=84
Perhaps use the pr name (currently used for project name) instead

Alternatively, we can post a comment that says to update your branch name, rather than trying to sync/shorten whats provided


Kill Travis

For some time Travis is no fun anymore since they were bought by some VC-backed company, neglecting their core product in the process. This is just the latest reason for concern, there were many more before that: https://arstechnica.com/information-technology/2021/09/travis-ci-flaw-exposed-secrets-for-thousands-of-open-source-projects/
Just with other repos this repo here should use GitHub Actions for its CI alone and migrate away from Travis. Because of above linked flaw, all env vars used in this repo for CI should be considered compromised and need to be rotated.

all tokens were deleted from pypi

Done, but due to a mixup I also added the new aquarius version in the same branch, so now we're waiting on the barge components to be bumped. In the meantime, we have Travis.


fix package initialization

the package init file needs to be named init.fish in order to be initialized by oh-my-fish

This fixes the package for me!


[Development] Implement text similarity search in Elasticsearch

Following https://www.elastic.co/blog/text-similarity-search-with-vectors-in-elasticsearch.
This allows for similarity based queries rather than keyword based queries.
Example:
Find k-nearest neighbors of the embedding vector of "I haven't been able to buy paper towels for three weeks!"
This will allow the clustering and visualization of topic-targeted sets of tweets from the COVID-19 tweet dataset.

Done in 05dc73831c161aef60592f4dbdbdfd57a7afe0c3 and 85d92ac5a35f4ba4cbdb2abc921152daae151f9c


tillersystems.com nodes

Proud to have been part of this adventure.

LGTM


ersanc - Update from PSTN Service Desk

Updated contact information to get more telephone numbers, since this should not be directed to PSTN Service Desk but rather the Business Product Help or TAC

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Minizinc IDE cannot start due to Qt error

Describe the bug
Minizinc IDE could not be started throwing the following error:
$ MiniZincIDE
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

Steps To Reproduce
Steps to reproduce the behavior:

Run MiniZincIDE in terminal

Expected behavior
An application window is displayed.
Screenshots
N/A
Additional context
Add any other context about the problem here.
Notify maintainers
@dtzWill @ttuegel
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 5.17.3, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.0`
 - channels(root): `"nixos-22.05pre338578.a2e281f5770"`
 - channels(dev): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

$ echo $PATH
/run/wrappers/bin:/home/dev/.nix-profile/bin:/etc/profiles/per-user/dev/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/home/dev/.config/.emacs.d/bin
$ echo $QT_PLUGIN_PATH
/home/dev/.nix-profile/lib/qt4/plugins:/home/dev/.nix-profile/lib/kde4/plugins:/etc/profiles/per-user/dev/lib/qt4/plugins:/etc/profiles/per-user/dev/lib/kde4/plugins:/nix/var/nix/profiles/default/lib/qt4/plugins:/nix/var/nix/profiles/default/lib/kde4/plugins:/run/current-system/sw/lib/qt4/plugins:/run/current-system/sw/lib/kde4/plugins

Desktop manager: Xfce
Display manager: lightdm
Window manager: i3

I think minizincide needs wrapQtAppsHook added to nativeBuildInputs, and its use of wrapProgram replaced by wrapQtApp. I'm no expert on Qt in nixpkgs, but this works for me.
At least, I can run the IDE if I patch nixpkgs that way at version e1118817a12dba39081d9e70ae52dd38aa184c2e, from April 12th. Hydra hasn't been able to build qtwebengine since then and I'm not going to wait for that to build locally.
Even with the IDE running, there are no solvers available; see #104409.


Release/3.8.0

Release 3.8.0

Introduce the Snowplow Ecommerce plugin #1110
Introduce the Enhanced Consent plugin #1121

@matus-tomlein Extremely weird how it slipped, fixing and thanks for noticing.


Detect CF-on-K8s in cf api

This makes cf api able to detect the cf-on-k8s flag in the root endpoint response and persist this information in the config. This will allow us to enable CF-on-K8s-specific behaviour for every following command.
Issue: cloudfoundry/cf-k8s-api#10

Should have opened this against our own fork's master 😓  closing!


List of cities

Wanted to ask where do you get the list of cities and if this is maintained/updated regularly.

I have collected cities db online and parsed to json. And it's having almost all big cities name. This year updated one I am using. I will update db once new update comes.


[PE-D][Tester A] Misleading Success Message for clear Command on an Empty Address Book

When running the clear command on an empty address book, the application displays the message "Address book has been cleared!" even though no action was taken. This success message may mislead users into thinking there were entries to clear, causing confusion.
Steps to Reproduce:

Open the application with an empty address book (no contacts present).

Run the clear command.

Observe the message displayed.

Expected Result:
The application should display a message indicating that no action was needed, such as "Address book is already empty."

Labels: severity.VeryLow type.FunctionalityBug
original: mattisongjj/ped#10

This is a niche case that it is out of scope. User can view the list at all times and should be aware of it. Whether there was or wasn't something is irrelevant as the user wanted to clear all entries, the result is the same and informing users is not in the scope of our design. This could be added, but is very minor quality of life fix.


What is io.read_dir = '/res/data/iamDB/words-Reading/' ?

Just as the title said.
I have download 3 files.
One is the huge tgz file.
One is ascii word txt file, and the last one is the random_word.txt
The
io.raw_dir = '/res/data/iamDB/words/'

is supposed to be the extracted words.tgz file right?(The one with around 800-mb in size)
Then what is ` io.read_dir = '/res/data/iamDB/words-Reading/'  suppose to be?
Thanks

Hello @vinson2233,
please have a look at /src/dinterface/dinterface.py.
This should answer your questions.
Additional information can be found here: https://towardsdatascience.com/scrabblegan-adversarial-generation-of-handwritten-text-images-628f8edcfeed, see section "Load and prepare the dataset".
Good luck with your work!


doc: build: Add details on application version system

Adds details on how to use Zephyr's VERSION file for setting the version of an application.
Fixes #61060

CC @greg-fer


MudBlazor .net8 SSR

Bug type
Component
Component name
Probably every form component
What happened?
SSR form post don't work because of lack of "name" attribute
Expected behavior
You should not need
Reproduction link
unable to create demo
Reproduction steps
All examples says you don't need to specify "name" attribute, but you have to:
<MudTextField Label="User name" name="Input.UserName" @bind-Value="Input.UserName" For="@(() => Input.UserName)" />

otherwise
    [SupplyParameterFromForm]
    private PersonModel Input { get; set; } = new();

won't work, form will be filled with default, null values
Demo i could not run on trymudblazor

<EditForm Model="Input" method="post" OnValidSubmit="HandleForm" FormName="myForm">
        <MudTextField Label="UserName1" name="Input.UserName1"
                      @bind-Value="Input.UserName1" For="@(() => Input.UserName1)" />
        <MudTextField Label="UserName2"
                      @bind-Value="Input.UserName2" For="@(() => Input.UserName2)" />
</EditForm>

@code {
    public class Person{
        public string UserName1 {get;set;}
        public string UserName2 {get;set;}
    }

    [Microsoft.AspNetCore.Components.SupplyParameterFromForm]
    private Person Input { get; set; } = new();

    public async Task HandleForm()
    {
        Console.WriteLine("UserName1: {0}", Input.UserName1); // Will work, display your name
        Console.WriteLine("UserName1: {0}", Input.UserName2); // always null
    }
}

Relevant log output
/

Version (bug)
6.11.2
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Have you tried rendering a page in interactive server mode? At the top of the page where your form is displayer add @rendermode InteractiveServer and try again

Interactive server mode is working because it don't relay on forms

Try without using MudTextField ,in SSR MudTextField  is not supporting.

Using MudTextField works well once you've added the name= field.
This is quite helpful for maintaining consistent styling when using the Identity portion of the .net 8 Blazor projects.
Furthermore, I don't believe stating that using MudTextField in SSR is unsupported is correct. Firstly it's not mentioned anywhere. but more importantly, it appears to just be a bug, or undocumented feature.
Even if simply adding that the name= parameters are required when using SSR would work. However, I'm sure including the name parameters in SSR would probably be a better fix for this

https://stackoverflow.com/a/78243648/9875486

Hi, please continue discussion at #7430


Ordered postcode search

linked to https://github.com/LandRegistry/digital-register-elasticsearch-updater/pull/21, do not merge until acceptance tests are done :-D

Reviewed. Looks good, left one question.

Please merge with associated pull requests on elasticsearch-updater and feeder :)
merge order should be:

updater
feeder and api
thanks :heart:

Build broken due to Jenkins issues, tests actually passing :( Mikael is looking into it

Good to merge

LGTM


typo: reccurrence -> recurrence

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


Can not copy repository (git clone) & login to Azure portal (az login) via WSL in VS Code

Hello everyone,
I'm facing issues with az login and Git cloning in WSL.
I'm unable to authenticate with Azure using the az login command in WSL. After entering my credentials, the following error message is displayed, and nothing happens afterwards.

A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with "az login --use-device-code.
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

I was able to ping and execute other commands in WSL, which indicates that my network connection is working properly. However, I'm unable to complete the authentication process for AZ Login or Git clone.
I have tried updating all packages (sudo apt-get upgrade) and restarting the PC, but neither solution has resolved the issue.
I would appreciate it if someone could help me investigate this issue further and provide me with a solution.
Thank you for your attention to this matter.

Hi. Can you please collect networking logs by following the instructions below?
https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues


Settings layout

Closed in https://github.com/JincorTech/frontend-moon-wallet/commit/708a2b701c5f59a0f3a2ae265584f858f7888971


[DRAFT] Baskerville setup and config generation

This pull request adds:

Functionality for creating job specific configs from a single master config for either a metrics or train experiment from a CLI.
Creates template baskerville array job scripts for associated configs.
Sets up baskerville environment, including caching of datasets and models within the project directory on baskerville.
Adds weights and biases connectivity (setting up unified logging structure across both kinds of experiment).

This will close #14, #63 and #62.

Todo:

[ ] Tests.
[ ] Tidy up directory?
[ ] Docstrings and documentation.

@jack89roberts This now has tests and runs as expected so is ready for review.
The directory has a lot of unecessary things from this and past branches, but it's probably more worth cleaning up develop once merged.

The directory has a lot of unecessary things from this and past branches, but it's probably more worth cleaning up develop once merged.

Not looked through this yet but could we delete/rename the MS2 stuff on this branch before merging at least? Or in general it would be easier to review if only the stuff that will be used is included in the PR.

The directory has a lot of unecessary things from this and past branches, but it's probably more worth cleaning up develop once merged.

Not looked through this yet but could we delete/rename the MS2 stuff on this branch before merging at least? Or in general it would be easier to review if only the stuff that will be used is included in the PR.

Ok, I'll get rid of anything that is unecessary for this PR as it stands.

I've reorganised the issues in the milestones and this PR should now close all of workpackage 3A apart from #28, which it provides a partial solution to in that it adds caching locations, but not clearing of cache conditions.


InstallSettings.bat not honoring breaks when edited in notepad

ops-server-config/Install/InstallSettings.bat not honoring page breaks when edited in notepad.
Due to being a disconnected environment having to install another editor is not an acceptable work-around.
Result is having to go through the file and enter breaks manually.

InstallSettings.bat file in repo is honoring breaks in notepad. Issue is with the 2015 4th Quarter release of the .bat file. Opening separate issue.


Release v2.0.1

Hey @botandrose,
I wanted to push v2.0.1 but it seems that I don't have permissions for this.
It would be great if you gave me access to the gem in RubyGems or pushed v2.0.1 yourself.
Either way, submitting this so that I don't forget. 😄
Thanks!

@etagwerker Oh! Just granted you access to the entire family of database_cleaner gems

@botandrose Thank you! I just released v2.0.1


more tests for rmq_es_connector

[Current coverage][cc-pull] is 61.93%

Merging [#31][cc-pull] into [master][cc-base-branch] will increase coverage by 1.12%

@@             master        #31   diff @@
==========================================
  Files            21         21
  Lines          1753       1760     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1066       1090    +24
+ Misses          687        670    -17
  Partials          0          0

Powered by Codecov. Last updated by [51a3c78...9d2586b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/CyberReboot/vent/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/CyberReboot/vent/compare/51a3c78ccd3f59f5fd1f65f38955b3cc11685be5...9d2586bc4931ce56b5f10ffa89a22fac22a7423e
[cc-pull]: https://codecov.io/gh/CyberReboot/vent/pull/31?src=pr


Error: The user is not authenticated

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
arn:aws:amplify:eu-central-1:528185474776:apps/d213o5o0w1nmqu
Region
eu-central-1
Amplify Hosting feature
Access control
Describe the bug
Can't use SSR on any pages - getting slammed with the "Error: The user is not authenticated" message.
This used to work locally - and after attempting to host on AWS works no more. I've walked back my commits to several points that I know it was working at- and to no avail is this working again.
Expected behavior
Normal application behavior.
Reproduction steps
I wish I could provider reproduction steps -it seems as though the AWS mine tunnel has collapsed over the weekend and trapped my app in it.
Build Settings
No response
Additional information
I've tried:

amplify.configure on each page
auth.configure on each page
checking for cookie storage (a common issue, but apparently my amplify backend environment doesn't use this anyways)
in the _app.tsx: export default withAuthenticator(myApp)
in every page.tsx: export default withAuthenticator(page)

Hi @reeslabree 👋🏽 thanks for opening this issue. Could you provide screenshots of the error? Also, is this behavior happening after logging in with proper credentials?

Hi @reeslabree 👋🏽 thanks for opening this issue. Could you provide screenshots of the error? Also, is this behavior happening after logging in with proper credentials?

Hi @hloriana, thanks for the response!
I am logged in with proper credentials, screenshot below shows that I'm logged in, however nothing is rendered (getServerSideProps surrounds the AWS Auth request in a try-catch block, and if there is an error it logs it and renders nothing on the page. The current authenticated user information displayed is a client side fetch.).

The logs show the error message is, 'No user authenticated'. Screenshot of logs below.

This error briefly revealed itself locally, and I 'fixed' it with the aforementioned try-catch error handling- unfortunately after pushing the updates to the latest Amplify build, the issue persists.
Please let me know if I can elaborate any further.


Fxied some compile errors on mac in PS V3

Issue Number: close #4744

/run-all-tests

/merge

/merge

/merge

/build

/merge


Angular 7 i18n support  translate typescript file

Versions.
    "@angular/animations": "7.2.2",
    "@angular/cdk": "7.2.2",
    "@angular/common": "7.2.6",
    "@angular/compiler": "7.2.6",
    "@angular/core": "7.2.6",
    "@angular/forms": "7.2.6",
    "@angular/material": "7.2.2",
    "@angular/platform-browser": "7.2.6",
    "@angular/platform-browser-dynamic": "7.2.6",
    "@angular/router": "7.2.6",

This is a support request:
I started internationalizing my application, and I met the following problem: when generating the bundle for the Japanese locale (for example), with using i18n for .html file perfectly used but i can not using with .ts file. As far as I find out there are two ways, ngx-translate and @angular/localize.
Ngx-translate not suitable for my project, @angular/localize using start with angular 9 but i using angular 7.
Is there any way translate typescript file with angular 7 ? Or do I really have to upgrade to angular 9 to use @angular/localize

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Fix #95

There, was that so hard?

Coverage decreased (-0.01%) to 86.085% when pulling ca06b9c084c347d5dd82172074ce36fdfc974589 on Pr0methean:patch-1 into e8cea98bda12b13b81ef7eac1a33f1753adf698e on magro:master.

Thanks for the PR!


OverflowError: cannot fit 'int' into an index-sized integer

DDIMScheduler {
"_class_name": "DDIMScheduler",
"_diffusers_version": "0.20.2",
"beta_end": 0.012,
"beta_schedule": "scaled_linear",
"beta_start": 0.00085,
"clip_sample": false,
"clip_sample_range": 1.0,
"dynamic_thresholding_ratio": 0.995,
"num_train_timesteps": 1000,
"prediction_type": "epsilon",
"rescale_betas_zero_snr": false,
"sample_max_value": 1.0,
"set_alpha_to_one": false,
"skip_prk_steps": true,
"steps_offset": 1,
"thresholding": false,
"timestep_spacing": "leading",
"trained_betas": null
}
prompt: a photo of Sydney opera house
negative_prompt: None
Traceback (most recent call last):
File "/home/DiffSketcher/run_painterly_render.py", line 129, in
main(args, seed_range)
File "/home/DiffSketcher/run_painterly_render.py", line 48, in main
pipe.painterly_rendering(args.prompt)
File "/home/DiffSketcher/pipelines/painter/diffsketcher_pipeline.py", line 241, in painterly_rendering
target_file, attention_map = self.extract_ldm_attn(prompt)
File "/home/DiffSketcher/pipelines/painter/diffsketcher_pipeline.py", line 120, in extract_ldm_attn
outputs = self.diffusion(prompt=[prompts],
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/DiffSketcher/methods/painter/diffsketcher/ASDS_pipeline.py", line 141, in call
text_embeddings = self._encode_prompt(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py", line 307, in _encode_prompt
text_inputs = self.tokenizer(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2829, in call
encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs)
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2915, in _call_one
return self.batch_encode_plus(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 3106, in batch_encode_plus
return self._batch_encode_plus(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils.py", line 807, in _batch_encode_plus
batch_outputs = self._batch_prepare_for_model(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils.py", line 879, in _batch_prepare_for_model
batch_outputs = self.pad(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 3313, in pad
outputs = self._pad(
File "/home/anaconda3/envs/diffsketcher/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 3682, in _pad
encoded_inputs["attention_mask"] = encoded_inputs["attention_mask"] + [0] * difference
OverflowError: cannot fit 'int' into an index-sized integer
Sorry to bother you,
I want to know why the error occurred. Is it because my GPU memory is not enough? Considering that I only have a 2080？or other reasons?

hello ysm2000,
I'm not sure what caused the error. But I'm sure it won't work on 2080 GPU.
By the way, the Nivida 3090 is a good choice.
Enabling xformer and grad_checkpoint can greatly save VRAM.
Best regards,
Ximing

hello ysm2000,
I'm not sure what caused the error. But I'm sure it won't work on 2080 GPU. By the way, the Nivida 3090 is a good choice. Enabling xformer and grad_checkpoint can greatly save VRAM.
Best regards, Ximing

Thank you for answering my question!
I'll try again after switching to a larger gpu.


.seconds, .milliseconds, and .microseconds should preserve exact values

When constructing a Duration from Double, we should do it in such a way that exact integer inputs are preserved exactly, so long as they are represented as a Duration. This was not previously the case. Now it is.

@swift-ci test


Is this what is meant to happen?

I installed this and ran it with the brew cu -facy command line.
It goes through a whole much of stuff, about installs. About ten things to be installed - it appears to do that...
Just to be sure, I issue the command again - it should (in theory) come back with "nothing to update" or similar. Nope, it goes through and downloads and installs them all again.
Here is the tail end of what happens - and it will keep happening, as if nothing has been updated. Huh?

treesheets was successfully installed!
==> Upgrading viber to latest
==> Satisfying dependencies
==> Downloading https://download.viber.com/desktop/mac/Viber.dmg
######################################################################## 100.0%
==> No checksum defined for Cask viber, skipping verification
==> Installing Cask viber
Warning: It seems there is already an App at '/Applications/Viber.app'; overwriting.
==> Removing App '/Applications/Viber.app'.
==> Moving App 'Viber.app' to '/Applications/Viber.app'.
🍺  viber was successfully installed!
==> Upgrading window-wrangler to latest
==> Satisfying dependencies
==> Downloading http://mindflow.dk/software/windowwrangler/windowwrangler.dmg
curl: (7) Failed to connect to mindflow.dk port 80: Operation timed out
Error: Download failed on Cask 'window-wrangler' with message: Download failed: http://mindflow.dk/software/windowwrangler/windowwrangler.dmg
Error: Install incomplete.
==> Upgrading wireframe-sketcher to latest
==> Satisfying dependencies
==> Downloading http://wireframesketcher.com/downloads/WireframeSketcher-latest-macosx.zip
######################################################################## 100.0%
==> No checksum defined for Cask wireframe-sketcher, skipping verification
==> Installing Cask wireframe-sketcher
Warning: It seems there is already an App at '/Applications/WireframeSketcher.app'; overwriting.
==> Removing App '/Applications/WireframeSketcher.app'.
==> Moving App 'WireframeSketcher.app' to '/Applications/WireframeSketcher.app'.
🍺  wireframe-sketcher was successfully installed!
==> Removing cached downloads
/Users/peter/Library/Caches/Homebrew/Cask/dropbox--latest
/Users/peter/Library/Caches/Homebrew/Cask/etrecheck--latest.zip
/Users/peter/Library/Caches/Homebrew/Cask/google-chrome--latest.dmg
/Users/peter/Library/Caches/Homebrew/Cask/infinit--latest.dmg
/Users/peter/Library/Caches/Homebrew/Cask/joinme--latest.aspx
/Users/peter/Library/Caches/Homebrew/Cask/ltspice--latest.dmg
/Users/peter/Library/Caches/Homebrew/Cask/treesheets--latest.zip
/Users/peter/Library/Caches/Homebrew/Cask/viber--latest.dmg
/Users/peter/Library/Caches/Homebrew/Cask/wireframe-sketcher--latest.zip
==> This operation has freed approximately 441.2MB of disk space.

Yes, it's normal, and it's because of -facy options:

-f: Include apps that are marked as latest.
-a: Include apps that auto-update in the upgrade.
-c: Cleans up cached downloads and tracker symlinks after updating.
-y: Update all outdated apps; answer yes to updating packages.

So the apps marked as latest will be updated(re-installed) again and again whenever you run the command.

So, in order to just upgrade what needs to be updated (i.e. what is out of date), I just  do a brew cu -y or possibly a -cy?

@pquodling yes, you are right.


Fix listen button

Describe the bug
Listen button is not working properly on few browsers.
Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Fix listen button so that user can listen description about a book.
Screenshots
No response
Desktop

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]

Smartphones

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
No response

Hi @wasimreja please assign this to me. I'll take care.

all the best @najeebkp


Fix nettle build issues yet again

CMakeFiles/engine-lib.dir/src/engine/framework/Crypto.cpp.o -c ../src/engine/framework/Crypto.cpp
../src/engine/framework/Crypto.cpp:36:28: fatal error: nettle/version.h: No such file or directory
#include <nettle/version.h>

the last attempt to make it work

(ヘ･_･)ヘ┳━┳
┳━┳ヘ(°□ °`)ヘ
ヘ('ಸ_ಸ)ヘ┳━┳
┳━┳＼(՞▃՞ ＼)
(╯°□°）╯︵ ┻━┻

Should we not drop 2.x then? How old of a version does it have?

On Mar 30, 2018, at 12:42, DolceTriade<EMAIL_ADDRESS>wrote:
CMakeFiles/engine-lib.dir/src/engine/framework/Crypto.cpp.o -c ../src/engine/framework/Crypto.cpp
../src/engine/framework/Crypto.cpp:36:28: fatal error: nettle/version.h: No such file or directory
#include <nettle/version.h>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm happy as long as travis builds.

On ubuntu 14 there is only 2.7.

We can probably add a PPA or something with something more recent. I'll try to find time to do this... (along with the repeater thing)


ISIC images

Since the ISIC archive has changed, it's not clear anymore which images you used to train the models for the ISIC experiments. Specifically, it's unclear which images without patches were used. Would you be able to provide a table with the names of the included ISIC images?
Thanks!

Hi Kai,
unfortunately I don't have the names or images anymore. I have since changed affiliation and don't have access to my old data anymore.
Best, Laura

Hi Laura,
Similarly to Kai, I would also be interested in which ISIC data was used and would be happy to contact your former organization. However, from the affiliations listed in the paper, it is not clear to me whether you refer to the data being at the Technical University Denmark or at UC Berkeley. Could you help me by clarifying which group you are referring to?
Best,
Jan


The disappearing icon

After update to version 2.2.0, the extension icon disappears during scrobbling. The problem is with Windows 7 Home Premium (x64) & Firefox 56.0.2 (x64)

Also, the songs are scrobbled correctly, but I can not verify that title and artist informations are displayed correctly.

@Rostov84 could you record a screencast with this issue being reproduced?
Could you also check if icon is displayed all the time on FF57?

Here is a recording from Firefox 56.0.2:
https://www.4shared.com/s/f5C0qn_muei
The icon disappears after entering YouTube.
In the evening I will check if the problem is also in FF 57.

I can't download from 4shared, but if you mean this (see screenshot below) I reproduced it too.

FF57 works fine.

Yes, I meant exactly what you showed on screenshot. Will it be fixed?
I can't update Firefox to version 57 because it doesn't support the extensions I use.

@Rostov84 I think that it is not necessary. You just have to wait until the icon is replaced in the extension.

@IRainman, if only I knew where these icons found and how to do it, I could do it myself.

@Rostov84 If you do this you will no longer be able to receive auto updates

@OwnageIsMagic, OK, now I understand. So I just have to wait. Thanks!

@alexesprit when can we expect a bug fix?


Add test for HTTP method metadata order

/AzurePipelines run AspNetCore-ci

/AzurePipelines run AspNetCore-ci

https://github.com/aspnet/AspNetCore/issues/7623
One day this build is going to pass. 4th time is the charm?

/AzurePipelines run AspNetCore-ci

https://github.com/aspnet/AspNetCore/issues/7650
5th time?

/AzurePipelines run AspNetCore-ci

😂

https://github.com/aspnet/AspNetCore-Internal/issues/1826
😒

/AzurePipelines run AspNetCore-ci

It passed 🙏


Received error message now wallet is empty

App Version: 1.1.0
platform: macOS
platformVersion: 10.15
platformArchitecture: x64
cpuCount: 4
totalMem: 8192.0 MB
freeMem: 1324.3 MB
userPath: /Users/joshuakemper/Library/Application Support/Firefly
Error Type: Preload Context Error
Error: Uncaught TypeError: Cannot read property 'id' of undefined
at /private/var/folders/0_/xznz2fwd4ns3s4bptt83_7540000gn/T/AppTranslocation/56FB7A0E-8D2A-4D95-AF88-03F58CA57023/d/Firefly.app/Contents/Resources/app.asar/public/build/preload.js:2:165586
at /private/var/folders/0_/xznz2fwd4ns3s4bptt83_7540000gn/T/AppTranslocation/56FB7A0E-8D2A-4D95-AF88-03F58CA57023/d/Firefly.app/Contents/Resources/app.asar/public/build/preload.js:2:197606
at Array.forEach ()
at destroy (/private/var/folders/0_/xznz2fwd4ns3s4bptt83_7540000gn/T/AppTranslocation/56FB7A0E-8D2A-4D95-AF88-03F58CA57023/d/Firefly.app/Contents/Resources/app.asar/public/build/preload.js:2:197594)
at /private/var/folders/0_/xznz2fwd4ns3s4bptt83_7540000gn/T/AppTranslocation/56FB7A0E-8D2A-4D95-AF88-03F58CA57023/d/Firefly.app/Contents/Resources/app.asar/public/build/preload.js:2:191379
Issue description
Briefly describe the issue.
Wallet version
Which version of wallet are you using?

wallet version (version number, commit, or branch):

System specification
What is your operating system?
Mac/Win/Linux (+Version and or Distro if possible)
Is it a repeatable issue?
Y/N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.
1.Changed my login pin right before this happened
2.
3.
Expected behaviour
Describe what you expect to happen.
Actual behaviour
Describe what actually happens.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Hi, can you try deleting your account and importing your seed again?

Duplicate of #1087


2.0: "stable" tag not available

The doc says to use the "stable" tag - this one is not yet available at docker hub.

This is corrected here: https://github.com/rancher/docs/blob/master/content/rancher/v2.x/en/installation/server-tags/_index.md and under review


fix cp2k basis parse (issue #2043)

TODO: allow choosing symbols when parsing GTH PPs.

Thanks @fishjojo . Since tests didn't pick this bug up, do you think we need new tests for this?

Thanks so much @fishjojo ! I think it looks great. I've only commented with one more small question (sorry, I should have done that yesterday with the other question).


ability to provide template via stdin?

Description
In addition to the supported template://, http://, https://, file://, it would be helpful to be able to do:
$ cat template.yaml | limactl start -
# or maybe `limactl start stdin://`? Doesn't matter really.

SGTM, but that will need to be used --tty=false.

This also works
cat template.yaml | limactl start --tty=false --name=default /dev/stdin

Haha, that is so obvious, and I didn't think of it. 😄
If I can find 10 minutes, do you want a PR on it? And if so, do we want limactl start - or limactl start stdin:// or something else?

PR

Yes, thanks. I'd prefer -, not stdin://
Some design questions:

This should just fail when --tty=false is not specified?  Or printing a warning is enough?
This should fail when --name=<NAME> is not specified?

This should just fail when --tty=false is not specified? Or printing a warning is enough?

Or we could say, "using stdin implies --tty=false

This should fail when --name= is not specified?

I would think so.

Or we could say, "using stdin implies --tty=false

I think that makes sense.


[CBR-102] - Document the new Wallet V1 API

As dicussed, tackles the following tasks from CBR-102
CSL-2273 | Expand introduction with install instructions and curl example
CSL-2274 | Extend error handling table
CSL-2277 | Document V1 exchange endpoints
CSL-2359 | Serve API documentation through dedicated endpoints

I'll fix the fist few comments you had and look into those lost types :fearful:  Probably something with the ToSchema instances we now use that aren't accurate enough.

Probably something with the ToSchema instances we now use that aren't accurate enough.

Now you understand why I opted, in the early days, for ToDocs and Example: what we did lose in randomness we gained in specificity 😁 That's probably possible to reify the two worlds, with a mallet, an aspirin and goodwill :trollface:

Hey @adinapoli-iohk
I have addressed the following points in b80def2

Longer identifiers in LegacyServer & Server
Typo user -> users in API description
Note about keeping "Wallets" & "Accounts" tag separated
Extend API documentation about mnemonic codes (add clear warning)
Replace use of 'Prelude.id' with 'identity' from Universum
Extend description of the assuranceLevel
Give more details about out-of-the-box multi recipients payments
Leave note about "previewing" transactions fees
Reword generic 'moved' to be slightly more specific
Put error JSON exmaples inside code-blocks
Adjust schema of PaginationMeta to reflect more appropriate totals value (not negative)
Adjust Pattern of spending password (Base16, 32-byte long)

And repaired schema examples (as for the address) in 8b0eb2531d6c35189856ec02e366cee49316dce3
Let me know :+1:

@KtorZ argh, almost there! I think that's just the specs (as in stack test cardano-sl-wallet-new) needs to be fixed now.

There was a typo in one of the Swagger Schemas (LocalTimeDifference, milliseconds instead of microseconds) and a wrong constraint on the spendingPassword schema. Fixes incoming :+1:

Outstanding work, thanks @KtorZ ! (cc @parsonsmatt )


Add Fabric Private Chaincode support

Fabric Private Chaincode allows to execute chaincode using trusted execution environments (i.e., Intel SGX). This adds another level of protection to the smart contract and its data.
The idea is to enable support for Fabric Private Chaincode to allow FSC users to develop and orchestrate applications with enhanced security requirements which can be satisfied using trusted execution.

I would identify at least two macro tasks for this issue:

[ ] Extending Fabric topology and NWO infrastructure to support FPC
[ ] Adding support for the invocation of an FPC

Regarding Extending Fabric topology and NWO infrastructure to support FPC, we need to identify a list of actions that are needed to bootstrap an FPC in a Fabric network. @mbrandenburger, do you want start sketching this list?

Let me summaries the FPC build and deployment steps here. All steps are taken from the FPC sample using the fabric-samples test network.

Build FPC Enclave Registry (ERCC). Outputs a docker image.

Build FPC chaincode (ECC) using the FPC SDK. Outputs a docker image and mrenclave (located in ${CC_PATH}/_build/lib/mrenclave)
See an example here

Add externalBuilder to peer core.yaml

chaincode:
  externalBuilders:
    - path: /opt/gopath/src/github.com/hyperledger/fabric-private-chaincode/fabric/externalBuilder/chaincode_server
      name: fpc-external-launcher
      propagateEnvironment:
        - CORE_PEER_ID
        - FABRIC_LOGGING_SPEC

The external builder scripts are located in https://github.com/hyperledger/fabric-private-chaincode/tree/main/fabric/externalBuilder/chaincode_server/bin

Start fabric network

Install ERCC and ECC

Create package containing a connection.json
https://github.com/hyperledger/fabric-private-chaincode/blob/main/samples/deployment/test-network/package.sh
https://github.com/hyperledger/fabric-private-chaincode/blob/main/utils/packaging/utils.sh

Lifecycle install package, returns CHAINCODE_PKG_ID
For ECC version use CC_VER="$(cat ${CC_PATH}/_build/lib/mrenclave)"

Lifecycle approve

Lifecycle commit

Spawn docker ERCC and ECC package
Define container envs
CHAINCODE_SERVER_ADDRESS, the chaincode server host and port
CHAINCODE_PKG_ID, the package id returned during isntallation
SGX_MODE=SIM, default set to simulation mode; set HW for hardware mode
For SGX HW mode, mount SGX_DEVICE_PATH into ECC container

Invoke initEnclave at the peer which will host the enclave. This happens using the FPC Client SDK. See example.

@mbrandenburger , is the ERCC already available?

is the ERCC already available?

Not yet published, working on that. Currently, ERCC images can be built from FPC source.

does ERCC require external builder as well?

Yes


Support for Definition of Numpy Arrays of Complex Type Within njit-ed Functions?

I use numba a lot in order to speed up my codes, which are designed to evolve PDEs over time. I have a function of a similar structure to the following:
def update(Omega0, dt):
    # the following is not numerically stable, but the full code is much longer and this is representative
    U0 = Omega0 * np.array([kU0, kU1], dtype = 'complex')
    omega0 = ifft2(Omega0)
    u0 = real(np.array([ifft2(U0[0]), ifft2(U0[1])]))
    dXiOdt0 = -1j * (kp * fft2(u0[0] * omega0) + kq * fft2(u0[1] * omega0))
    Omega3 = Xi(-dt) * (Omega0 + dt*dXiOdt0)
    U3 = Omega3 * np.array([kU0, kU1], dtype = 'complex')
    u3 = real(np.array([ifft2(U3[0]), ifft2(U3[1])]))
    dt_next = cfl_max / (np.amax(u3[0])/dx + np.amax(u3[1])/dy)

    return Omega3, dt_next

Unfortunately, when I attempt to use @numba.njit() above it, I get the following long traceback:
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function(<built-in function array>) found for signature:

 >>> array(list(readonly array(complex128, 2d, A))<iv=None>, dtype=Literal[str](complex))

There are 2 candidate implementations:
   - Of which 1 did not match due to:
   Overload in function 'impl_np_array': File: numba/np/arrayobj.py: Line 5421.
     With argument(s): '(list(readonly array(complex128, 2d, A))<iv=None>, dtype=unicode_type)':
    Rejected as the implementation raised a specific error:
      TypingError: If np.array dtype is a string it must be a string constant.
  raised from /opt/homebrew/lib/python3.10/site-packages/numba/np/arrayobj.py:4348
   - Of which 1 did not match due to:
   Overload in function 'impl_np_array': File: numba/np/arrayobj.py: Line 5421.
     With argument(s): '(list(readonly array(complex128, 2d, A))<iv=None>, dtype=Literal[str](complex))':
    Rejected as the implementation raised a specific error:
      TypingError: Failed in nopython mode pipeline (step: nopython frontend)
    No implementation of function Function(<intrinsic np_array>) found for signature:

     >>> np_array(list(readonly array(complex128, 2d, A))<iv=None>, Literal[str](complex))

    There are 2 candidate implementations:
          - Of which 1 did not match due to:
          Intrinsic in function 'np_array': File: numba/np/arrayobj.py: Line 5395.
            With argument(s): '(list(readonly array(complex128, 2d, A))<iv=None>, unicode_type)':
           Rejected as the implementation raised a specific error:
             TypingError: If np.array dtype is a string it must be a string constant.
      raised from /opt/homebrew/lib/python3.10/site-packages/numba/np/arrayobj.py:4348
          - Of which 1 did not match due to:
          Intrinsic in function 'np_array': File: numba/np/arrayobj.py: Line 5395.
            With argument(s): '(list(readonly array(complex128, 2d, A))<iv=None>, Literal[str](complex))':
           Rejected as the implementation raised a specific error:
             TypingError: readonly array(complex128, 2d, A) not allowed in a homogeneous sequence
      raised from /opt/homebrew/lib/python3.10/site-packages/numba/core/typing/npydecl.py:482

    During: resolving callee type: Function(<intrinsic np_array>)
    During: typing of call at /opt/homebrew/lib/python3.10/site-packages/numba/np/arrayobj.py (5432)

    File "../../../../../../opt/homebrew/lib/python3.10/site-packages/numba/np/arrayobj.py", line 5432:
        def impl(object, dtype=None):
            return np_array(object, dtype)
            ^

  raised from /opt/homebrew/lib/python3.10/site-packages/numba/core/typeinfer.py:1091

During: resolving callee type: Function(<built-in function array>)
During: typing of call at /[filepath]/[filename].py (119)

File "[filename].py", line 119:
def update(Omega0, dt):
    <source elided>
    # RK1 Test (is not numerically stable, but much shorter than RK3)
    U0 = Omega0 * np.array([kU0, kU1], dtype = 'complex')

It seems that this error is specific to complex arrays, because I can define np.empty() arrays of real type without any issue within @numba.njit(). While it would be possible to separate out these variables into U00 = kU0*Omega0, U01 = kU1*Omega0, is there a better solution I'm not aware of, or is this a missing feature within numba?
Thank you in advance.

Thanks for the report @jacobjivanov. From the traceback, it looks like the issue is that the code is trying to create an array from a list of arrays, which is unsupported. As a workaround maybe one of the NumPy functions like numpy.hstack could help achieve the same?


Brainstorming

anuar menco - 17:34
Hola a todos, este es un mensaje automático para informarles que mi extensión Tactiq (https://tactiq.io/r/transcribing) está transcribiendo esta reunión para que pueda brindarles toda mi atención.
Koen Vossen - 17:34
Link to the open data: https://github.com/statsbomb/open-data
Siggi Sigurdsson - 17:38
https://www.iceye.com/blog/iceye-interferometric-analysis-monitoring-potential-volcanic-eruption-in-iceland
argee sn - 17:39
there is example solara app using sat images Morocco earthquake destruction seen from space with Maxar Open Data on #AWS
Web app:  https://huggingface.co/spaces/giswqs/solara-maxar
GitHub: https://github.com/opengeos/solara-maxar
Data catalog: https://github.com/opengeos/maxar-open-data
argee sn - 17:45
A long tutorial on GIS generally, https://www.qgistutorials.com/en/#
argee sn - 17:46
https://panel.holoviz.org/
argee sn- 17:48
https://solara.dev/docs/deploying/self-hosted
argee sn - 17:56
https://hydrafloods-servir.adpc.net/
Siggi Sigurdsson - 17:56
https://www.sentinel-hub.com/
argee sn - 17:56
https://github.com/Servir-Mekong/hydra-floods
argee sn - 18:00
https://github.com/google/Xee
https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S1_GRD
argee sn- 18:04
https://servir-mekong.github.io/hydra-floods/getting-started/
Bruno Parente - 18:08
https://www.nature.com/articles/s41597-020-0443-5
sar flood detection

Would like to add two potential topic to consider,

Solarathon date picker + Satellite imagery in COG provided by AWS lambda function https://developmentseed.org/titiler/. The satellite imagery can be from https://gpm.nasa.gov/data/visualization/global-viewer, with visualization inspiration. With the Solaratho+Titler setup, the long term daily visualization of rainfall data can be designed.
Solarathon + https://github.com/developmentseed/lonboard Jupyter widget for vector visualization for global building data visualzaiton

@nishadhka very nice library! Can you participate in the meeting today via google meetings?


The problem of breakpoint debugging (node.js)

VSCode Version:1.21.1
OS Version:

Steps to Reproduce:

require('babel-register');
require('./server/index.js')
2.
The breakpoint was originally on a line
When debug starts, jump to other lines

Does this issue occur when all extensions are disabled?: Yes

I have the same problem.

@snoopy83101 I see you are using async/await with babel. Most likely, you are using babel to downcompile async/await. In that case, the sourcemaps that babel outputs are not very good.
If I'm wrong, or if chrome devtools handles this much better than vscode does, then please let me know or share your project with me.
Others, please open your own issues with as many details as possible.


Wine-ge outdated

It would be great if wine-ge could be updated, currently its wine-8.0 (Staging) which is quite old, thanks.

wine-ge is on version 8.14, as can be seen through nix flake search github:fufexan/nix-gaming#wine-ge. It might report the version as 8.0 when running wine --version, but it builds from the correct branch.

Oh I see, thanks!

One more question, why does wine-ge point to wine-proton and not https://github.com/GloriousEggroll/wine-ge-custom?

The wine-ge-custom repository contains the build instructions to build a functional wine. You can see that proton-wine is pulled as a git submodule, and optionally combined with staging patches.
We do not need that functinoality, since we rely on the wine builder inside Nixpkgs.

I see, thanks!


[Bug]:

/mv version -p output
[19:09:34 INFO]: [Multiverse-Core] Multiverse-Core Version: 4.3.14 [19:09:34 INFO]: [Multiverse-Core] Bukkit Version: 1.21.3-2358-16ce24a (MC: 1.21.3)
Server logs
https://gist.github.com/PhantomPheonixCreations/ce16390c5ea9b11eebbccb4b3eda9d98#file-latest-log
Server Version
[19:09:34 INFO]: [Multiverse-Core] Loaded Worlds: [{"MVWorld@1246711714":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"world"}}, {"MVWorld@66428714":{"Gen":"null","Type":"NORMAL","Env":"THE_END","Name":"world_the_end"}}, {"MVWorld@738862336":{"Gen":"null","Type":"NORMAL","Env":"NETHER","Name":"world_nether"}}, {"MVWorld@2141592797":{"Gen":"null","Type":"FLAT","Env":"NORMAL","Name":"shop_world"}}]
[19:09:34 INFO]: [Multiverse-Core] Multiverse Plugins Loaded: 0
[19:09:34 INFO]: [Multiverse-Core] Economy being used: CoinsEngine_money
[19:09:34 INFO]: [Multiverse-Core] Permissions Plugin: Bukkit Permissions (SuperPerms)
[19:09:34 INFO]: [Multiverse-Core] Dumping Config Values: (version 2.9)
[19:09:34 INFO]: [Multiverse-Core]   enforceaccess: false
[19:09:34 INFO]: [Multiverse-Core]   prefixchat: false
[19:09:34 INFO]: [Multiverse-Core]   prefixchatformat: [%world%]%chat%
[19:09:34 INFO]: [Multiverse-Core]   useasyncchat: true
[19:09:34 INFO]: [Multiverse-Core]   teleportintercept: true
[19:09:34 INFO]: [Multiverse-Core]   firstspawnoverride: true
[19:09:34 INFO]: [Multiverse-Core]   displaypermerrors: true
[19:09:34 INFO]: [Multiverse-Core]   enablebuscript: true
[19:09:34 INFO]: [Multiverse-Core]   globaldebug: 0
[19:09:34 INFO]: [Multiverse-Core]   silentstart: false
[19:09:34 INFO]: [Multiverse-Core]   messagecooldown: 5000
[19:09:34 INFO]: [Multiverse-Core]   version: 2.9
[19:09:34 INFO]: [Multiverse-Core]   firstspawnworld: world
[19:09:34 INFO]: [Multiverse-Core]   teleportcooldown: 1000
[19:09:34 INFO]: [Multiverse-Core]   defaultportalsearch: true
[19:09:34 INFO]: [Multiverse-Core]   portalsearchradius: 128
[19:09:34 INFO]: [Multiverse-Core]   autopurge: true
[19:09:34 INFO]: [Multiverse-Core] Special Code: FRN002
[19:10:04 INFO]: [gg.playit.control.ChannelSetup] send keep alive
[19:10:32 INFO]: Checking version, please wait...
[19:10:32 INFO]: Current Purpur Version: 1.21.3-2358-16ce24a (MC: 1.21.3)*
* You are running the latest version

Bug Description
when I ran the server I got this error
Steps to reproduce
[19:11:25 INFO]: ====[ Multiverse Help ]====
[19:11:25 INFO]:  Add a '?' after a command to see more about it.
[19:11:25 INFO]: /mv [FILTER] [PAGE #]
[19:11:25 INFO]: /mv version [-b|-h|-p] [--include-plugin-list]
[19:11:25 INFO]: /mv list [filter] [page]
[19:11:25 INFO]: /mv info [WORLD] [PAGE]
[19:11:25 INFO]: /mv create {NAME} {ENV} -s [SEED] -g [GENERATOR[:ID]] -t [WORLDTYPE] [-n] -a [true|false]
[19:11:25 INFO]: /mv clone {TARGET} {NAME} -g [GENERATOR[:ID]]
[19:11:25 INFO]: /mv import {NAME} {ENV} -g [GENERATOR[:ID]] [-n]
Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

What error are we talking about?


Roslyn Analyzers don't seem to respect the version of C# in use.

It seems the Roslyn analyzers don't respect the version of the C# language that is specified in the .csproj of a project.
I have a simple Asp.net Core (v2.2) application that has in the .csproj:
<LangVersion>latest</LangVersion>

I'm not using the preview C#8 yet. However, using the Roslyn analyzers in VSCode, I'm seeing messages about "using statements":
'using' statement can be simplified (IDE0063)
If I let the analyzer "fix it", it goes from:
using (var ms = new MemoryStream()) {
...
}

to:
using var ms = new MemoryStream();

However, when I attempt to build, I get an error saying that is not valid in the version of the language I'm using, and to change to a "preview" version. Which I do not want to do.

It does respect it, it's just that OmniSharp us built with a new version of Roslyn in which latest means actually C# 8 already. See this Roslyn PR https://github.com/dotnet/roslyn/pull/37074
You would be able to build this from the command if you use .NET Core SDK 3.0 RC1 instead of an older one.
This will align itself again next week when .NET Core 3.0 SDK goes RTM.

if you want a workaround, set it to <LangVersion>7.3</LangVersion>, since as mentioned latest is something that doesn't deterministically resolves across different compiler versions. If you set it to 7.3 you will not get that change suggestion anymore in a "predictable" fashion.


exercise/25 fix typo

use the correct function name

@palash25 Yes! Thank you very much for this fix. :heart:


Connect Twitter account

Goes with https://github.com/OpenCollective/opencollective-api/pull/450

This looks good. Will wait to merge until backend is merged


Conformance is done at declaration site for HeaderKey.

Things done (Just improvements)

[x] Conformance to protocol is done at the site/extension where it is declared.
[x] Moved equatable conformance to a static method rather than a global func.
[x] Some minor indentation fixes.

Codecov Report

Merging #122 into master will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master     #122   +/-   ##
=======================================
  Coverage   71.34%   71.34%
=======================================
  Files         111      111
  Lines        4135     4135
=======================================
  Hits         2950     2950
  Misses       1185     1185

Impacted Files
Coverage Δ

Sources/HTTP/Models/Status/Status.swift
17.56% <0%> (ø)
:arrow_up:

Sources/HTTP/Models/Headers/Headers.swift
10.6% <100%> (ø)
:arrow_up:

Sources/HTTP/Models/Client/HTTP+Client.swift
70.68% <100%> (ø)
:arrow_up:

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 9c48cf1...4f65d40. Read the comment docs.

Thanks!


Upgrade to timezone: ^0.9.0

In order to avoid version conflict, could you update the plugin to timezone: ^0.9.0 which is the latest version?

Discuss in #437.


Memory leak on library with 100K of photos

What did you do?
Opened the photo picker and used the scroll indicator.
What did you expect to happen?
the memory to stays stable
What happened instead?
Memory is spiking when using the scroll indicator with 100K+ of photos
Environment
AnyImageKit version: latest
Xcode version: 15.0.1
Swift version: 5.9
iOS/iPadOS/macOS version: 17.+

Thank you for reporting this issue. It has been fixed in version 0.17.1.