get_bulk_asn_whois, NIR bugfix, ipv4_is_defined CIDR addition

Coverage remained the same at 100.0% when pulling 53074ce4e6ac09e734c1b90f0c584fbfbfb7d952 on dev into 08e66a15c0403ebdc5c9350f22d71295ccad7453 on master.


skip webmention target URLs with image, binary, etc extensions

...oops, never mind, we already do this by checking for Content-Type: text/html when we first fetch the target URL.


Make new panel for inpainting

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
I want you to make a panel just for inpainting. I want the new panel to be simpler and suitable for inpainting and have a mask effect. In order to remove people from the image or make anything, I think inpainting needs to be done inside so that it doesn't need to be in the desired shape.  And be able to use controlnet well like Lama Cleaner
Alternatives
No response
Additional Content
No response

What would be the use case of a new inpainting tab instead of using the unified canvas?

What would be the use case of a new inpainting tab instead of using the unified canvas?

Well, you are right, but I want the Bounding Box to stay on the photo and not go outside. Add some settings. I don't want to paint outside, and I want it to have a great effect when it becomes a mask. When I want to dress a part of the body, even if I add a prompt  Clothes always cover the color of the body, I don't want to and for controlnet add settings add photo form Bounding Box Not the whole unified canvas, and you can do this by saving only the Bounding Box, but it is good if it is in the controlnet itself
I wanted another panel for this, if possible, unified canvas for inpainting is better

Take a look at our new Canvas tutorial video - it might help with some of the difficulties you're experiencing.
We appreciate the feedback, and will keep it in mind, but going to close this for now and this isn't something that we'd implement soon.


Release Pointer/ Garbage Collection

Quick question - when you read in an antsImage object to R, with the C++ pointer, how can you release that memory from R?
For example, let's say we have image.nii.gz and you read it over and over again (or if you had many images):
x = sapply(1:10, function(x) {
    antsImageRead("image.nii.gz")
})

then you see a spike in memory due to the reading (using top).  If you then remove those objects, using rm, you still don't release the memory from R (using top again):
rm(list="x")

The memory seems to be released after using gc() for garbage collection.  I don't know if you can replicate this or have any suggestions.
May be relevant: https://stat.ethz.ch/pipermail/r-help/2005-January/064032.html

not sure but this behavior may be platform (or compiler?) dependent - can you provide more details and something closer to a reproducible / quantitative example?

Not sure if this helps, but I've read a bunch of websites regarding this,
and looks like controlling memory in R is difficult. R will supposingly
release the memory, but not to the OS, only to itself, and will use it
again if needed. But... from experience I can say that gc() actually helps,
it doesn't release all the memory but helps a bit.
The easiest way to check, if I remember it right, is to start a new
session, load a bunch of images, check the memory, delete everything, check
the memory again. I have noticed memory usage never goes back to where it
was when it started empty. Running gc() releases some memory, but not all
of it. This is our cluster's experience.
Dorian
On Thu, Aug 11, 2016 at 3:19 PM, stnava<EMAIL_ADDRESS>wrote:

not sure but this behavior may be platform (or compiler?) dependent - can
you provide more details and something closer to a reproducible /
quantitative example?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-239263240, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIqafcAKWzReK5WvGxL7xnxfy-DUyEqbks5qe3XLgaJpZM4JiPbO
.

Yeah - this isn't a huge problem on cluster processes as you are likely
running R in the process and not other things, so R will recycle memory
when it needs.  When you are trying something on a local machine, it's a
large problem because you have other processes (e.g. the OS) that will
start to slow to a halt if R doesn't release.
Maybe this is relevant?
http://svitsrv25.epfl.ch/R-doc/library/XML/html/free.html
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-February/001830.html
John
On Thu, Aug 11, 2016 at 3:25 PM, dorianps<EMAIL_ADDRESS>wrote:

Not sure if this helps, but I've read a bunch of websites regarding this,
and looks like controlling memory in R is difficult. R will supposingly
release the memory, but not to the OS, only to itself, and will use it
again if needed. But... from experience I can say that gc() actually helps,
it doesn't release all the memory but helps a bit.
The easiest way to check, if I remember it right, is to start a new
session, load a bunch of images, check the memory, delete everything, check
the memory again. I have noticed memory usage never goes back to where it
was when it started empty. Running gc() releases some memory, but not all
of it. This is our cluster's experience.
Dorian
On Thu, Aug 11, 2016 at 3:19 PM, stnava<EMAIL_ADDRESS>wrote:

not sure but this behavior may be platform (or compiler?) dependent - can
you provide more details and something closer to a reproducible /
quantitative example?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-239263240, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AIqafcAKWzReK5WvGxL7xnxfy-DUyEqbks5qe3XLgaJpZM4JiPbO>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-239264749, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABBnrgQqMJO0TysvLhMFctli7Ewc1kZiks5qe3cegaJpZM4JiPbO
.

It's definitely system dependent. I don't have any issues on Mac OS, but on our cluster (CentOS 6.6, gcc 4.4.7), memory doesn't get freed after deleting the variable, and you have to call gc() before it will let you read more data.

possibly compiler dependent.   would be good to see if ANTsR compiled with clang on some linux variant also shows this issue.  valgrind could help. e.g.:
R -d "valgrind  --leak-check=full --show-leak-kinds=definite --dsymutil=yes" -e "source('./valgrindTest.R')"

with  valgrindTest.R containing:
library( ANTsR )
x = sapply(1:10, function(x) {
    antsImageRead( getANTsRData( "r16" ) )
})
rm(list="x")
q()

on OSX with clang, I do not see any "definite" leaks ( at least in this example ) that appear to be due to ANTsR specific code.

What's the procedure to force installation with clang? I have it on a Ubuntu VM and I set CC and CXX variables, but when I do R CMD INSTALL ANTsR, I get
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/clang-3.5
-- Check for working C compiler: /usr/bin/clang-3.5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-3.5
-- Check for working CXX compiler: /usr/bin/clang++-3.5 -- works

which makes me think it'll use clang, but then I see a lot of calls to g++ in the terminal.

this https://github.com/stnava/ANTsR/blob/master/.travis.yml has what i
believe to be the necessary commands
brian
On Mon, Aug 15, 2016 at 5:01 PM, Philip Cook<EMAIL_ADDRESS>wrote:

What's the procedure to force installation with clang? I have it on a
Ubuntu VM and I set CC and CXX variables, but when I do R CMD INSTALL
ANTsR, I get
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/clang-3.5
-- Check for working C compiler: /usr/bin/clang-3.5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-3.5
-- Check for working CXX compiler: /usr/bin/clang++-3.5 -- works
which makes me think it'll use clang, but then I see a lot of calls to g++
in the terminal.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-239928034, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfmehEH7-L-DpV1Dhf7awB4hhPQzvks5qgNO3gaJpZM4JiPbO
.

Thanks I'll try it out

Building ITKR and ANTsR with clang doesn't appear to change anything. I added
CC=clang
CXX=clang++
CXX1X=clang++
CXX1XSTD=-std=c++11

to ~/.R/Makevars, then did
source ~/.R/Makevars
The memory behavior is the same, it requires a manual gc before it will show memory released in top.
Maybe it would go away if R itself was built in clang. I did manage to make R compile with clang, but from there things got weird with package installation, and I couldn't build ANTsR. Maybe it would work on a clean VM without a system R, but I don't have time to explore further right now.

thanks - that's helpful.  another avenue of exploration would be to create
a 2nd function antsImageRead2.cpp that follows the latest/greatest Rcpp
development instructions.  could improve things but no promises.
brian
On Wed, Aug 17, 2016 at 3:07 PM, Philip Cook<EMAIL_ADDRESS>wrote:

Building ITKR and ANTsR with clang doesn't appear to change anything. I
added
CC=clang
CXX=clang++
CXX1X=clang++
CXX1XSTD=-std=c++11
to ~/.R/Makevars, then did
source ~/.R/Makevars
The memory behavior is the same, it requires a manual gc before it will
show memory released in top.
Maybe it would go away if R itself was built in clang. I did manage to
make R compile with clang, but from there things got weird with package
installation, and I couldn't build ANTsR. Maybe it would work on a clean VM
without a system R, but I don't have time to explore further right now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-240514826, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfvYtJd908Q2JVS1_H9Z1cI7AkZr2ks5qg1vpgaJpZM4JiPbO
.

i looked into this a bit but haven't been able to reproduce any really nefarious behavior on our linux cluster ...  the closest to relevant discussion i've seen is here: http://stackoverflow.com/questions/21205771/finalize-or-destroy-xptr-matrix-in-memory-in-rcpp
which suggests that this may be due to variability in how gc() works on osx vs linux.
for reference, some analogous (example) ANTsR code is here:
https://github.com/stnava/ANTsR/blob/master/src/RcppANTsR.cpp#L179-L195
also, here is my experiment code:
library( ANTsR )
x = sapply(1:22, function(x) {
    antsImageRead( "~/LogJacobian.nii.gz" )
})   # consumes a few GB of memory
x = sapply(1:22, function(x) {
    antsImageRead( "~/LogJacobian.nii.gz" )
}) # consumes additional few GB of memory
rm( x )                     # unsure if this cleans up the data
for ( i in 1:11 ) gc()  # cleans up all of above
x = sapply(1:1000, function(x) {
    antsImageRead( getANTsRData( "r16" ) )
})  # shows reasonable memory consumption

so perhaps just invoke gc() repeatedly if you encounter difficulty and until we understand if there is another approach to "forcing" immediate memory cleanup.
i may edit this if i collect more info.

@cookpa I've seen this happen on OS X.  Made a quick youtube showing it: https://youtu.be/vBfYuYGzcHM
Output of gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Output of clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

http://adv-r.had.co.nz/memory.html
maybe the above would help better understand this.
i have not seen this on osx with:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
brian
On Fri, Aug 26, 2016 at 1:03 PM, John Muschelli<EMAIL_ADDRESS>wrote:

@cookpa https://github.com/cookpa I've seen this happen on OS X. Made a
quick youtube showing it: https://youtu.be/vBfYuYGzcHM
Output of gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Output of clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-242792242, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfmgg0pMtDxE9uyV59Ec86sF96RV7ks5qjxx7gaJpZM4JiPbO
.

still  not sure this is a memory leak .... noting from gc documentation:
However, it can be useful to call ‘gc’ after a large object has
     been removed, as this may prompt R to return memory to the
     operating system.

Revisited this after getting more memory for my iMac and because of #112
@muschellij2 is correct, Activity Monitor shows the same issue for me on a Mac. My mistake was either looking at the wrong column in top, or confusing my R test process with other R processes I was running last time.
I tested reading a large file (the Human Connectome Project "Single Subject", available from ConnectomeDB).
The dimensions for this image are:
antsImage
  Pixel Type          : float
  Components Per Pixel: 1
  Dimensions          : 145x174x145x288
  Voxel Spacing       : 1.25x1.25x1.25x1
  Origin              : -90 126 -72 0   Direction           : 1 0 0 0 0 -1 0 0 0 0 1 0 0 0 0 1

So as float, it takes up about 3Gb. I did:
for (i in 1:3) {
   ima = antsImageRead("100307/T1w/Diffusion/data.nii.gz")
}

And the memory just keeps going up in Activity Monitor. After the loop finishes, a call to gc() reduces the memory to 3Gb, because only the last version remains reachable. Then
rm(ima)

doesn't change anything, but a further call to gc() returns the memory usage to the usual number (around 100 Mb).
This is on OS X 10.11.6 with
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I used a binary installation of R 3.2.4 obtained from the R project.
@stnava do you typically build your own R from source? If so, that might be where the difference lies.

i tested with the dmg install of:
R version 3.3.1 Patched (2016-07-14 r70919) -- "Bug in Your Hair"
regardless, the gc man file yields:
'However, it can be useful to call ‘gc’ after a large object has
 been removed, as this may prompt R to return memory to the
 operating system.'

which is consistent with what we see here.
brian
On Fri, Sep 2, 2016 at 12:49 PM, Philip Cook<EMAIL_ADDRESS>wrote:

Revisited this after getting more memory for my iMac and because of #112
https://github.com/stnava/ANTsR/issues/112
@muschellij2 https://github.com/muschellij2 is correct, Activity
Monitor shows the same issue for me on a Mac. My mistake was either looking
at the wrong column in top, or confusing my R test process with other R
processes I was running last time.
I tested reading a large file (the Human Connectome Project "Single
Subject", available from ConnectomeDB).
The dimensions for this image are:
antsImage
Pixel Type          : float
Components Per Pixel: 1
Dimensions          : 145x174x145x288
Voxel Spacing       : 1.25x1.25x1.25x1
Origin              : -90 126 -72 0   Direction           : 1 0 0 0 0 -1 0 0 0 0 1 0 0 0 0 1
So as float, it takes up about 3Gb. I did:
for (i in 1:3) {
ima = antsImageRead("100307/T1w/Diffusion/data.nii.gz")
}
And the memory just keeps going up in Activity Monitor. After the loop
finishes, a call to gc() reduces the memory to 3Gb, because only the last
version remains reachable. Then
rm(ima)
doesn't change anything, but a further call to gc() returns the memory
usage to the usual number (around 100 Mb).
This is on OS X 10.11.6 with
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I used a binary installation of R 3.2.4 obtained from the R project.
@stnava https://github.com/stnava do you typically build your own R
from source? If so, that might be where the difference lies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-244428529, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfuvtFZgG5HiHijk10WQhE92KQpcqks5qmFOsgaJpZM4JiPbO
.

FWIW, I don't think this is unexpected, given the type of garbage collection scheme that R uses.
As I understand it, they use a sort-of reference counting arrangement that keeps track of how many names refer to a given R object (SEXP in the underlying C code). When the garbage collector runs, which is not after every REPL loop (cf. ?gctorture), it checks for objects without named references to them and reclaims the memory. So when you call rm(x) you're really just removing the name x for the underlying SEXP, not freeing the SEXP itself. That makes it eligible for garbage collection, but the exact timing of that collection is unpredictable unless you really want to force it by calling gc().
Hence, I doubt platform or compiler would make much difference. The behaviour you see is just a result of R's memory management arrangements.

Thank you for this feedback, very helpful.
On Monday, September 5, 2016, Jon Clayden<EMAIL_ADDRESS>wrote:

FWIW, I don't think this is unexpected, given the type of garbage
collection scheme that R uses.
As I understand it, they use a sort-of reference counting arrangement that
keeps track of how many names refer to a given R object (SEXP in the
underlying C code). When the garbage collector runs, which is not after
every REPL loop (cf. ?gctorture), it checks for objects without named
references to them and reclaims the memory. So when you call rm(x) you're
really just removing the name x for the underlying SEXP, not freeing the
SEXP itself. That makes it eligible for garbage collection, but the
exact timing of that collection is unpredictable unless you really want to
force it by calling gc().
Hence, I doubt platform or compiler would make much difference. The
behaviour you see is just a result of R's memory management arrangements.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/111#issuecomment-244781160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfhpIPmoivpIAec8OqBHE9jYqBMP4ks5qnEHEgaJpZM4JiPbO
.

--
brian

in the end, the conclusion is that this is not a memory leak.  it is "normal" behavior with R gc.


project validation new tests

New tests for project validation

Codecov Report

Merging #228 (3b3a4c3) into experiment/new_unit_tests (01415ea) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                    Coverage Diff                     @@
##           experiment/new_unit_tests     #228   +/-   ##
==========================================================
  Coverage                      83.18%   83.18%
==========================================================
  Files                            231      231
  Lines                           2640     2640
  Branches                         297      297
==========================================================
  Hits                            2196     2196
  Misses                           342      342
  Partials                         102      102

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add Lines of Code Badge

Just in case you're interested. :smile:

Thanks for the suggestion, but I'm not sure what signal (if any) we get from knowing the number of lines of code.


List "custom local model" when enabled in dropdown

When a custom URL (and model) is enabled these need to be shown in the dropdown.

I've introduced a "CustomOpenAI" provider, this way we can remove "Exo" and "JLama" and have a dedicated drop down for that.  Also the "OpenAI" drop down is only shown when you provide an API key which makes it confusing.


Apply note type skin when changing note skin

Describe your problem here.
hi if i change that note skin the wound note skin looks weird Do I need to add some coding? please let me know
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
No response

please specify, how does it "look weird"? can you please send a screenshot/ the files?


MSVC 12 bot broken after high-res timestamp change

Appveyor builds don't show up on pull requests for some reason, so I haven't noticed this for a long time. First bad build: https://ci.appveyor.com/project/nico/ninja/build/1.0.652
deps_log.cc
.\src\deps_log.cc(138) : error C2065: 'uint32_t' : undeclared identifier
.\src\deps_log.cc(138) : error C2146: syntax error : missing ';' before identifier 'mtime_part'
.\src\deps_log.cc(138) : error C2065: 'mtime_part' : undeclared identifier
.\src\deps_log.cc(138) : error C2061: syntax error : identifier 'uint32_t'
.\src\deps_log.cc(139) : error C2065: 'mtime_part' : undeclared identifier
.\src\deps_log.cc(141) : error C2065: 'mtime_part' : undeclared identifier
.\src\deps_log.cc(141) : error C2061: syntax error : identifier 'uint32_t'
.\src\deps_log.cc(142) : error C2065: 'mtime_part' : undeclared identifier

Just using unsigned instead of uint32_t is probably an ok fix? @QuLogic

typedef unsigned __int32 uint32_t; on old MSVC might also be a possibility.


How to use schemable nullable properly?

Example definition:
import * as S from "https://raw.githubusercontent.com/nullpub/fun/d5f3eb4cb26ff8c7e66d84208f4d1228f0891ed7/schemable/schemable.ts";

export const Good = S.make((s) => s.struct({
  name: s.string(),
  vat: s.nullable(s.number()),
}));

ends up with:
error: TS2322 [ERROR]: Type 'Kind<keyof Kinds<any[]>, [number | null, null, never, never]>' is not assignable to type 'Kind<keyof Kinds<any[]>, [number | null, never, never, never]>'.
  Type 'State<null, number | null>' is not assignable to type 'Kind<keyof Kinds<any[]>, [number | null, never, never, never]>'.
    Type 'State<null, number | null>' is not assignable to type 'State<never, number | null>'.
      Call signature return types '[number | null, null]' and '[number | null, never]' are incompatible.
        Type 'null' is not assignable to type 'never'.
	vat: s.nullable(s.number()),

Hey, good catch! This is an issue with the definition of NullableSchemable. The second parameter it's return value includes an unnecessary union with null. I'll try to push a fix for this tomorrow. Thanks for the bug report!


<IP_ADDRESS>_Infix_To_Postfix_Audio.md

Hi mam @nimisha-yadav
Problem :: <IP_ADDRESS> Stacks: Infix to Postfix - Audio (Issue #7142)
Please review my PR.
Thank you.
Afreena begum
DSA batch-1.

Hi mam @nimisha-yadav
I changed the file name.
Can you please check it.
Thank you.

@afreenabegum Please change the file name instead of PR name.


Update init.py

Fixed typo in a _str_ method message that I happened to get the other day.

Awesome, thanks!


Implement feature to compute distance between two locations via Rules

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #3039
Fixes #https://github.com/onaio/fhir-resources/issues/2947
Engineer Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[ ] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@marklosh  since the feature is tested and working and the tests are running on CI lets merge this in and track the CI issue on a separate ticket. You can @Ignore the failing test case for now.
Please create the new ticket with the details.

@ndegwamartin here is the ticket #3251


Dashboard reconciliation stuck when running GitOps Run in the no session mode with OSS dashboard already installed

Part of #3546

Added exiting the dashboard type switch statement earlier for readability.

Added reconciling the OSS dashboard only if it was installed by GitOps Run.

- Added app selector labels to be able to identify the dashboard deployment and pods. The same labels will be added to the enterprise Helm chart.

Added a constant for the app selector label.

Replaced hardcoded label key strings with constants for consistency (we already had many of those constants but we we not using them in many places).

Improved dashboard detection.

Updated tests for GetInstalledDashboard.

Tested it locally for the following cases (that the dashboard is installed, if no other dashboard is found, or the dashboard already installed is detected):
without dashboard:

test with no dashboard installed in no session and in session mode

OSS:

test with dashboard installed with gitops run

test with dashboard installed in Tilt
test with dashboard installed with helm install

test with dashboard installed with a HelmRelease (the recommended way).

enterprise:

test with dashboard installed with Tilt

test with dashboard installed via a HelmRelease (the recommended way)

Tested it locally, works as expected. Test logs, all in the no session mode:
With not dashboard installed detected and with installing it.
olga@macbook-pro podinfo % /Volumes/Macintosh_HD_Data/_job_ww/_src/weave-gitops/bin/gitops beta run ./deploy/overlays/dev --timeout=3m --port-forward namespace=dev,resource=svc/backend,port=9898:9898  --no-session
► Checking for a cluster in the kube config ...
► Checking if Flux is already installed ...
► Getting Flux version ...
✔ Flux &{v0.41.1  flux-system} is already installed
► Checking namespace gitops-run ...
✔ Created namespace gitops-run
► Checking service gitops-run/run-dev-bucket ...
✔ Created service gitops-run/run-dev-bucket
► Checking deployment gitops-run/run-dev-bucket ...
✔ Created deployment gitops-run/run-dev-bucket
► Waiting for deployment run-dev-bucket to be ready ...
► Port forwarding to pod gitops-run/run-dev-bucket-6576ccf699-jc75p ...
✔ Port forwarding for run-dev-bucket is ready.
► creating HelmRepository flux-system/fluent
► creating HelmRelease flux-system/fluent-bit
► creating HelmRelease flux-system/fluent-bit
► waiting for HelmRelease flux-system/fluent-bit to be ready
✔ HelmRelease flux-system/fluent-bit is ready
► Checking if GitOps Dashboard is already installed ...
Would you like to install the GitOps Dashboard: y
Please enter a password for logging into the dashboard:
► Creating GitOps Dashboard objects ...
✚ Generating GitOps Dashboard manifests ...
► Installing the GitOps Dashboard ...
HelmRelease/flux-system/ww-gitops created
HelmRepository/flux-system/ww-gitops created
✔ GitOps Dashboard has been installed
► Request reconciliation of dashboard (timeout 3m0s) ...
✔ Dashboard reconciliation is done.
► Port forwarding to pod flux-system/ww-gitops-weave-gitops-74d8789bbc-hrh88 ...
✔ Port forwarding for dashboard is ready.
► Checking secret run-dev-bucket-credentials ...
✔ Created secret run-dev-bucket-credentials
✔ Secret run-dev-bucket-credentials already existed
► Checking bucket source run-dev-bucket ...
✔ Created source run-dev-bucket
✔ Source run-dev-bucket already existed
► Checking Kustomization run-dev-ks ...
✔ Created Kustomization run-dev-ks
✔ Setup Bucket Source and Kustomization successfully
◎ Press Ctrl+C to stop GitOps Run ...
► 1 change events detected
► Validating files under deploy/overlays/dev/ ...
► Refreshing bucket run-dev-bucket ...
...............
► Uploaded 154 files
► Request reconciliation of GitOps Run resources (timeout 3m0s) ...
✔ Reconciliation is done.

We set up port forwards for you, use the number below to open it in the browser

(1) ww-gitops: http://localhost:9001
(2) backend: http://localhost:9898

► Port forwarding to pod dev/backend-6f9b7bfc9c-7f5qs ...
► Received interrupt, quitting...
► Removing Fluent Bit HelmRelease flux-system/fluent-bit ...
► Waiting for HelmRelease flux-system/fluent-bit to be deleted...
✔ HelmRelease flux-system/fluent-bit deleted

► Deleting Kustomization run-dev-ks ...
✔ Deleted Kustomization run-dev-ks
► Deleting secret run-dev-bucket-credentials ...
✔ Deleted secret run-dev-bucket-credentials
► Deleting source run-dev-bucket ...
✔ Deleted source run-dev-bucket
✔ Cleanup Bucket Source and Kustomization successfully
► Removing namespace gitops-run ...
► Waiting for namespace gitops-run to be terminated ...
✔ Namespace gitops-run terminated

With detecting the OSS dashboard previously installed by GitOps Run in the no session mode, but not reconciling it (to avoid the dashboard hanging):
olga@macbook-pro podinfo % /Volumes/Macintosh_HD_Data/_job_ww/_src/weave-gitops/bin/gitops beta run ./deploy/overlays/dev --timeout=3m --port-forward namespace=dev,resource=svc/backend,port=9898:9898  --no-session
► Checking for a cluster in the kube config ...
► Checking if Flux is already installed ...
► Getting Flux version ...
✔ Flux &{v0.41.1  flux-system} is already installed
► Checking namespace gitops-run ...
✔ Created namespace gitops-run
► Checking service gitops-run/run-dev-bucket ...
✔ Created service gitops-run/run-dev-bucket
► Checking deployment gitops-run/run-dev-bucket ...
✔ Created deployment gitops-run/run-dev-bucket
► Waiting for deployment run-dev-bucket to be ready ...
► Port forwarding to pod gitops-run/run-dev-bucket-757444569d-ks27s ...
✔ Port forwarding for run-dev-bucket is ready.
► creating HelmRepository flux-system/fluent
► creating HelmRelease flux-system/fluent-bit
► creating HelmRelease flux-system/fluent-bit
► waiting for HelmRelease flux-system/fluent-bit to be ready
✔ HelmRelease flux-system/fluent-bit is ready
► Checking if GitOps Dashboard is already installed ...
✔ GitOps Dashboard is found
► Port forwarding to pod flux-system/ww-gitops-weave-gitops-74d8789bbc-hrh88 ...
✔ Port forwarding for dashboard is ready.
► Checking secret run-dev-bucket-credentials ...
✔ Created secret run-dev-bucket-credentials
✔ Secret run-dev-bucket-credentials already existed
► Checking bucket source run-dev-bucket ...
✔ Created source run-dev-bucket
✔ Source run-dev-bucket already existed
► Checking Kustomization run-dev-ks ...
✔ Created Kustomization run-dev-ks
✔ Setup Bucket Source and Kustomization successfully
◎ Press Ctrl+C to stop GitOps Run ...
► 1 change events detected
► Validating files under deploy/overlays/dev/ ...
► Refreshing bucket run-dev-bucket ...
...............
► Uploaded 154 files
► Request reconciliation of GitOps Run resources (timeout 3m0s) ...
✔ Reconciliation is done.

We set up port forwards for you, use the number below to open it in the browser

(1) ww-gitops: http://localhost:9001
(2) backend: http://localhost:9898

With

@chanwit @foot here are the app selector labels I added (both in the current PR and in its future enterprise counterpart https://github.com/weaveworks/weave-gitops-enterprise/pull/2651 ):
app.kubernetes.io/part-of: weave-gitops
weave.works/app: weave-gitops-oss

Are they OK? Because just the app label was used already in enterprise. And I prefer to have the same labels in both OSS and enterprise for consistent dashboard detection.

I trigger dashboard port-forwarding or reconciliation only if it's the dashboard that we have just installed, as discussed. Otherwise, we assume that the user has set up the port-forwarding themselves.

As discussed with @chanwit , changed the GitOps Dashboard was found log message to warning too, similar to the enterprise dashboard found message.

@chanwit @foot updated the tests, please review.

As discussed with @foot , the labels are OK. I will raise another PR with the same labels added to enterprise.


[EPIC] App Navigation

Current Behavior
Currently, there is no navigation system in the applications, this means that when using an app, if you accidentally press ENTER, it will exit the app no matter where you are in the app. When on an application, the route will be like app.lenra.io/app/abcdef-1234-aaaa/ and no further routes will be added to this URL.
Wanted Behavior
We want applications to define some navigation routes so that the user can use its hardware buttons to go back into the navigation system inside of the application.
How to do it

We cannot add a new GoRouter inside of the current GoRouter.
The current GoRouter is final, can it be non final and can you add routes later when opening an app?
The current GoRouter is used in the MaterialApp.router in the main.dart, can it be updated from another file such as a ChangeNotifier?

This PR 59 shows that it is possible to modify the Router after it was instantiated. It just needs to reload all of the UI and it does not seem to keep the current state of the router after reloading it.
It is difficult to navigate to the new routes directly after updating the Router because the whole context is dropped and a new one is created. This means that every call that were instantiated before this Router update will be unsuccessful because they will be using the wrong context.
Otherwise, it is easy to call the Router update first, wait for the UI to rebuild itself and then call a navigation event with the new context.
It is possible to set the initialRoute of the new GoRouter instance to fix this problem with the context. It will automatically redirect to this route when the GoRouter is updated.
Is it possible to match any route and all of its subroutes with GoRouter?
For example is it possible to match the /app/example/ route and also all of its subroutes /app/example/:subroute/:subroute/:etc... ?

@jonas-martinez Can we close it ?


Fix application name and links

Close #135

Changed the name of the application and the logo.
Changed the help link to the correct page.
Changed log messages to say Inventory Manager.
Changed shadowjar build to be named inventorymanager.jar

Pull Request Test Coverage Report for Build 468

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

Totals

Change from base Build 448:
0.0%

Covered Lines:
1896

Relevant Lines:
2428

💛  - Coveralls


Homebrew overwriting Path, making poetry dysfunctional

Hi, thanks @iusztinpaul and @kurtispykes for all your hardwork in here and helping noobies like me.
I am stuck at the installation step. I downloaded Poetry using curl -sSL https://install.python-poetry.org | python3 - and changed the path as well. It worked fine until I installed homebrew for installation of Apache. This changed the Path in .zprofile / .bashrc and now I do not know how to go about this. Would appreciate any help here.
P.S - I got this error :zsh: command not found: poetry

I am using Macbook Air, Ventura 13.3.1 OS. I did not download Poetry using Homebrew because this article strictly warns against doing that. Is there another way that I could download Apache httd without using Homebrew.

Hello @LearnerSJ,
Unfortunately, I can't help you with this one. Sorry.
Please let me know if you find any solution so I can add it to the documentation.


your provider doesn't pass gid through to /etc/group

i have had to attempt to uninstall it but it doesn't seem to go away. now all of my group resources are making up gid's when im trying to pass them in. this is bad.
in addition, i never got the group members to update at all using the gpasswd provider. manage_members will now not go away in my organization

refreshing puppetserver did the trick, closing


Parenting of SpaceComponent

Suggested by @juztme87.
Make SpaceComponents have references to any parent / child components, like a Node. This would be useful for collision detection.
One question I have about implementation is how would it work in practice? Is the position relative to the parent, i.e if I have a parent positioned at (100, 100) and position the child at (100, 100) would the child appear on the screen at (200, 200)? Also, is there inheritance? Does the child by default have the same properties as the parent or does it default to zero?

This issue is related to #556
Some example use cases:

A Tank has a Turret.
This Turret needs to be able to rotate independently but the position and rotation should be relative to the parent.

A Unit has a health bar.
The health bar is located 10px above the Unit.
The position should be relative to the parent but the rotation should be fixed.
(The position of the child shouldn't be affected by the Rotation of the parent)

Maybe there are some other use cases that require inheritance.

@Noofbiz this is a fairly common paradigm in game engines and pretty much every major game engine has this concept. The way it works rather universally, is that child enities are transformed in relation to their parent entity. So as an example,
if EntityA was at position 100, 100 and Entity B was a child of EntityB and had position 100, 100, it would actually be rendered at global position 200, 200. Generally, most systems expose two types of T/R/S, a local one (100, 100 in this example) and a global one (200, 200 in this example). This is important because sometimes, it's necessary to know the relative or local position, while other times it's important to know the global or world position, depending on what you are trying to do.

I'd prefer the former approach personally, but as you said it does break backwards compatibility.
That said, there are a couple other backwards incompatible changes id like to make too, so maybe after 1.1 is out, we can get together and start thinking about 2.0

I'm implementing the latter.  I can share the code as a gist or a PR.

as you said it does break backwards compatibility

I personally don't think this is a gigantic issue for a clean implementation of a core feature.

A PR would be pretty great, and the changes shouldn't be too bad now with go modules. We can just make sure to release a version before so anyone who needs to can check out that one. And it'll definitely need be updated for version 2.0 anyway, and it is a pretty useful feature.

I've put up a PR here with my latest draft.  The math is wrong and I am not seeing expected behavior for heirarchical transformations yet.  Would love a second set of eyes on this, perhaps you can see what I'm missing?
https://github.com/EngoEngine/engo/pull/705

This gist shows how entities might be added to this TreeNodeSystem:
https://gist.github.com/diwant/11b05a3908028ed60377ec6a3ae2c025

ecs.BasicEntity has a parent/child tree node now, and I've added a demo called parenting that shows how to do this for any component, not just space ^_^!

https://github.com/EngoEngine/engo/tree/c76f7316599b705e8a3655640db2c0cb4b71c1b2/demos/parenting

You know, I'm not certain that really solves the original problem - a tree node layout is only about the relationship during entity creation.  At every other time it's about the derived values.
For @diwant's case, he'd still need to implement the derivation calculations for moving, rotating, and scaling SpaceComponents himself.

Yeah, I agree, I’ll reopen this. I think we should expand the demo to include working with space components. Do you think that covers it, or should something be added to common?

Perhaps reopen @diwant's PR?  I didn't realise it remained closed.
Interestingly, I just stumbled upon a talk Mike Acton gave about ECS in Unity (which appears to be the direction in which they're moving), and he talks about this exact problem, giving a brief walkthrough the implementation:
https://youtu.be/p65Yt20pw0g?t=3087

Yeah, that's why I think updating the example is the best way to do it. It'll show users how to do it themselves, but like how every game is going to have a different control system for obvious reasons, every game is going to have different rules regarding what happens based on parent/child relationships. One may want it to orbit a parent instead of simply follow. Idk if there is a general purpose kinda system for that.

I think I need to watch like 30 hours of 3blue1brown videos 'cause I'm sure matrix operations are the general purpose magical answer to everything, and I'm twice as sure that I don't understand them at all.
In the case of an orbiting example, parenting doesn't make sense.  Each step of the simulation, the GravitySystem would step through each celestial body and apply a force to them, then the PhysicsSystem would step through each celestial body and calculate the new position and momentum based on the force (off the top of my head and probably entirely incorrectly).
From what I understand, the way all scene graphs work is a transform to a parent happens to all its children.  If I scale the tank body up by 2x, the turret is also scaled by 2x.  If I rotate the turret by 90°, the barrel is also rotated by 90° (about the parent's point of rotation).  If someone wanted to reimplement, let's say, Robotnik's egg forcefield things, the EggForcefieldThingSystem would step over each of them, and modify their position based on perhaps dt modulo something.  Separately, the RobotnikAISystem would modify Robotnik's position based on whatever it needs to, and the ParentingSystem would somehow have to know about this, subsequently updating all children.
Difficulty probably comes in when scaling things, as if I scale something by 2x, and its child moves by a local 1, I'd expect it to move globally by 2.  I think.  It's been a while since I fired Unity up.

Just came back to this after following a few trips through other frameworks to see how it's done elsewhere.
As you mentioned above, I'm hoping for the parent child relationship to imply transformation from parent to child.  A general purpose system might be something like this: https://webglfundamentals.org/webgl/lessons/webgl-scene-graph.html
I found something implemented on another game engine in Go, g3n (https://github.com/g3n/engine).  They have a heirarchical scene graph implemented, which works like the scene graph described above.
(Now I'm moving from there to Magnum as I realized I need to communicate a lot with FFMPEG's libav which is in C++ and I'm not able to do all I need with it via goav, a go wrapper library on libav.  So I'm off to C++ land.)
hth


datestamp is redundant.. mongo _id's have a built in date

I was moving to 0.3.1 to get rid of this warning:
(node) warning: possible EventEmitter memory leak detected. 51 listeners added. Use emitter.setMaxListeners() to increase limit.
but I see that there are several new fields stored in the job object.
if datestamp is for creation time, it's really not needed.
_id.getTimestamp() will give you that.

I'd be interested to see some performance data to back this up but, for now, I'm going to close the issue.  Feel free to reopen if you still think this is an important change.


npm install step fails but CI tests still pass

Currently our integration tests that are run with npm test are failing because the generator first runs npm install and then installs the dependencies that we want to keep at the latest version, such as @silvermine/typescript-config@latest. However, because the generated project has a prepare script and the prepare script depends on @silvermine/typescript-config@latest to run, the script fails.
However, even though the prepare script fails, npm test is still passing (returning a 0 exit code): https://travis-ci.com/silvermine/generator-typescript/jobs/207109892#L541
We should do two things to fix this:

Use Yeoman's --force-install flag so that the generation process fails if npm install fails.
Install the latest versions of those dependencies first, then run npm install so that the prepare script runs when all the dependencies are present

Fixed with #44


yii\web\NotFoundHttpException: Template not found:

Hi,
Would be nice to have a settings that deactivate those errors. A lot of bots will trigger that 404 error
which I think creates noise. Happy to submit a PR, but don't think I've got time to look into this right now.
Cheers

It was my intention to add filtering, but I see that it wasn't included in the current release.
Same problem here, I don't have much time at the moment. Would appreciate a PR, but I'll see if I can squeeze in some time asap for this.

@sjelfull this was too painful, I create a PR for you ;) Not sure that's the what you had in mind tho

@sjelfull Have you had a chance to look into it?

Yes, it mostly looks good. I just think it should be clearer what the "blacklist" consists of (classes).
Probably will rename it to blacklistClasses, excludeClasses or something similar. What do you think?
Is there anything else we want to exclude? Exception codes? Certain user groups?

Fair enough. If you start including other type of exclusions maybe the generic term "blacklist" becomes more obvious. Maybe the table should be something like:
Label -> Type -> Value
Type could be "class" / "code" / "something else" and the logic associated with it.

One issue i'm seeing here is that some exceptions may need additional logic run to see whether they should be ignored.  For example, when i use {% exit 404 %} in a Twig template it throws a yii\web\HttpException.  The problem with this is that at yii\web\HttpException can have any status code.    I think that there needs to be a callback option for scenarios like this.

This is working for me - needed to add the blacklist via the settings though - maybe worth adding to the docs?

@mattcdavis1 Tagged 2.0.3 now, which lets you use callbacks like this to ignore specific status codes:
<?php
return [
  'blacklist' => [
          [
              'label' => '404 errors etc',
              'class' => function($exception) {
                  /**
                   * @var \yii\web\NotFoundHttpException $exception
                   */
                  if ($exception instanceof \yii\web\NotFoundHttpException && $exception->statusCode === 404) {
                      return false;
                  }

                  return true;
              },
          ],
      ],
];

great - thanks!


Blocked on "Downloading VS Code Server..." when laucnhing SSH-Remote

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

VS Code Version: 1.88.0 and 1.87.2
OS Version: Windows 10 22H2 & Red Hat Enterprise Linux release 8.4 (for SSH-Remote)

Steps to Reproduce:

Once SSH-Remote is installed on the remote (the installation goes well)
Developer: Reload window
SSH-Remote won't connect to remote, it is stuck indefinitely like this:

I have to "Developer: Reload window" numerous times and randomly it will connect to the remote (or I didn't catch the pattern to connect)

Server configuration:
[15:59:52.364] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":46021},"osReleaseId":"rhel","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/30000025","platform":"linux","execServerToken":"aa1aa1aa-1a1a-1a1a-a111-a11aa11aa111"},"serverStartTime":58,"installUnpackCode":""}

Maybe #209623

I had the same problem with vscode 1.86.2 (that I can't change, it's a compagny decision) and ms-vscode-remote.remote-ssh v0.108.0 (last version for vscode 1.86.2)
Downgrading to ms-vscode-remote.remote-ssh to v0.107.1 (like @alliaces) fixed the problem though.

Any difference if you set "remote.SSH.useExecServer": false?

In your logs, you should see something like
[14:34:17.214] > Starting cli: & 'C:\Users\conno\.vscode-server-insiders\code-insiders-5ae5a741bdb676abb667fd4896dc2a40e313db3a.exe' command-shell --cli-data-dir 'C:\Users\conno\.vscode-server-insiders\cli' --parent-process-id 57400 --on-host <IP_ADDRESS> --on-port --require-token 8806e73b-99ea-421e-8d27-d6541c53864f *> 'C:\Users\conno\AppData\Local\Temp\tmp8D04.tmp'

The last thing in that line is a filename: please share the contents of that file, since I think they contain an error that didn't make it to the logs in the local window. I'll also make an adjustment so that such errors are shown correctly...

Any difference if you set "remote.SSH.useExecServer": false?

yes, this option solves the problem in version v0.108.0. thank you.

Please share the logs so we can root cause your issue: the option to disable the exec server will go away soon.

In your logs, you should see something like
[14:34:17.214] > Starting cli: & 'C:\Users\conno\.vscode-server-insiders\code-insiders-5ae5a741bdb676abb667fd4896dc2a40e313db3a.exe' command-shell --cli-data-dir 'C:\Users\conno\.vscode-server-insiders\cli' --parent-process-id 57400 --on-host <IP_ADDRESS> --on-port --require-token 8806e73b-99ea-421e-8d27-d6541c53864f *> 'C:\Users\conno\AppData\Local\Temp\tmp8D04.tmp'

The last thing in that line is a filename: please share the contents of that file, since I think they contain an error that didn't make it to the logs in the local window. I'll also make an adjustment so that such errors are shown correctly...

with "remote.SSH.useExecServer" = true: remote.SSH output ((useExecServer-true).cli.903b1e9d8990623e3d7da1df3d33db3e42d80eda.log (useExecServer-true).903b1e9d8990623e3d7da1df3d33db3e42d80eda.log)

[08:56:21.383] > c112b3011055: running
> Found existing installation at /home/*****/.vscode-serv
> er...
> Starting VS Code CLI... "/home/*****/.vscode-server/cod
> e-903b1e9d8990623e3d7da1df3d33db3e42d80eda" command-shell --cli-data-dir "/home/
> *****/.vscode-server/cli" --on-port --parent-process-id
>  99995 &> "/home/*****/.vscode-server/.cli.903b1e9d8990
> 623e3d7da1df3d33db3e42d80eda.log" < /dev/null
> printenv:
>     XDG_SESSION_ID=133322
>     SELINUX_ROLE_REQUESTED=
>     SHELL=/usr/bin/ksh
>     SSH_CLIENT=<IP_ADDRESS> 50240 22
>     SELINUX_USE_CURRENT_RANGE=
>     USER=f838079
>     VSCODE_AGENT_FOLDER=/home/*****/.vscode-server
>     A__z="*SHLVL
>     PATH=/usr/local/bin:/usr/bin
>     MAIL=/var/mail/f838079
>     PWD=/home/*****
>     SELINUX_LEVEL_REQUESTED=
>     SHLVL=2
>     HOME=/home/*****
>     LOGNAME=f838079
>     SSH_CONNECTION=<IP_ADDRESS> 50240 <IP_ADDRESS> 22
>     XDG_RUNTIME_DIR=/run/user/75169
>     _=/usr/bin/printenv
> Removing old logfile at /home/*****/.vscode-server/.cli
> .903b1e9d8990623e3d7da1df3d33db3e42d80eda.log
> Spawned remote CLI: 100015
[08:56:21.397] >
> cat: /home/*****/.vscode-server/.cli.903b1e9d8990623e3d
> 7da1df3d33db3e42d80eda.log: No such file or directory
[08:56:21.413] >
[08:56:21.461] > Waiting for server log...
[08:56:21.508] > c112b3011055: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==<IP_ADDRESS>:46612==
> osReleaseId==rhel==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/75169==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==105==
> execServerToken==111a1111-a1a1-1111-a111-aa11aaaaa1a1==
> c112b3011055: end
[08:56:21.508] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==<IP_ADDRESS>:46612==
osReleaseId==rhel==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/75169==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==105==
execServerToken==111a1111-a1a1-1111-a111-aa11aaaaa1a1==

[08:56:21.509] Remote server is listening on port 46612
[08:56:21.509] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":46612},"osReleaseId":"rhel","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/75169","platform":"linux","execServerToken":"111a1111-a1a1-1111-a111-aa11aaaaa1a1"},"serverStartTime":105,"installUnpackCode":""}
[08:56:21.515] Starting forwarding server. local port 50242 -> socksPort 50239 -> remotePort 46612
[08:56:21.518] Forwarding server listening on port 50242
[08:56:21.518] Waiting for ssh tunnel to be ready
[08:56:21.520] [Forwarding server port 50242] Got connection 0
[08:56:21.521] Tunneled port 46612 to local port 50242
[08:56:21.521] Resolved "ssh-remote+soluds981" to "port 50242"
[08:56:21.527] Initizing new exec server for ssh-remote+soluds981
[08:56:21.527] Resolving exec server at port 50242
[08:56:21.551] >
[08:56:21.554] [Forwarding server port 50242] Got connection 1
[08:56:21.613] Exec server for ssh-remote+soluds981 created and cached
[08:56:21.617] ------

[08:56:21.656] [server] Checking /home/*****/.vscode-server/cli/servers/Stable-903b1e9d8990623e3d7da1df3d33db3e42d80eda/log.txt and /home/*****/.vscode-server/cli/servers/Stable-903b1e9d8990623e3d7da1df3d33db3e42d80eda/pid.txt for a running server...
[08:56:22.536] [server] Installing and setting up Visual Studio Code Server...
[08:56:22.664] [server] Checking /home/*****/.vscode-server/cli/servers/Stable-903b1e9d8990623e3d7da1df3d33db3e42d80eda/log.txt and /home/*****/.vscode-server/cli/servers/Stable-903b1e9d8990623e3d7da1df3d33db3e42d80eda/pid.txt for a running server...
[08:56:23.506] [server] Installing and setting up Visual Studio Code Server...

with "remote.SSH.useExecServer" = false: remote.SSH output ((useExecServer-false).903b1e9d8990623e3d7da1df3d33db3e42d80eda.log (useExecServer-false).cli.903b1e9d8990623e3d7da1df3d33db3e42d80eda.log)

[08:57:45.146] > 71988cc3b581: running
[08:57:45.164] > Found existing installation at /home/*****/.vscode-serv
> er...
> Starting VS Code CLI... "/home/*****/.vscode-server/cod
> e-903b1e9d8990623e3d7da1df3d33db3e42d80eda" command-shell --cli-data-dir "/home/
> *****/.vscode-server/cli" --on-port --parent-process-id
>  101812 &> "/home/*****/.vscode-server/.cli.903b1e9d899
> 0623e3d7da1df3d33db3e42d80eda.log" < /dev/null
> printenv:
>     XDG_SESSION_ID=133324
>     SELINUX_ROLE_REQUESTED=
>     SHELL=/usr/bin/ksh
>     SSH_CLIENT=<IP_ADDRESS> 50310 22
>     SELINUX_USE_CURRENT_RANGE=
>     USER=f838079
>     VSCODE_AGENT_FOLDER=/home/*****/.vscode-server
>     A__z="*SHLVL
>     PATH=/usr/local/bin:/usr/bin
>     MAIL=/var/mail/f838079
>     PWD=/home/*****
>     SELINUX_LEVEL_REQUESTED=
>     SHLVL=2
>     HOME=/home/*****
>     LOGNAME=f838079
>     SSH_CONNECTION=<IP_ADDRESS> 50310 <IP_ADDRESS> 22
>     XDG_RUNTIME_DIR=/run/user/75169
>     _=/usr/bin/printenv
> Removing old logfile at /home/*****/.vscode-server/.cli
> .903b1e9d8990623e3d7da1df3d33db3e42d80eda.log
> Spawned remote CLI: 101832
> cat: /home/*****/.vscode-server/.cli.903b1e9d8990623e3d
> 7da1df3d33db3e42d80eda.log: No such file or directory
[08:57:45.176] >
[08:57:45.238] > Waiting for server log...
[08:57:45.271] > 71988cc3b581: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==<IP_ADDRESS>:42716==
> osReleaseId==rhel==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/75169==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==115==
> execServerToken==111111aa-1aa1-11aa-aa1a-11aaaa11a111==
> 71988cc3b581: end
[08:57:45.271] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==<IP_ADDRESS>:42716==
osReleaseId==rhel==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/75169==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==115==
execServerToken==111111aa-1aa1-11aa-aa1a-11aaaa11a111==

[08:57:45.271] Remote server is listening on port 42716
[08:57:45.271] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":42716},"osReleaseId":"rhel","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/75169","platform":"linux","execServerToken":"111111aa-1aa1-11aa-aa1a-11aaaa11a111"},"serverStartTime":115,"installUnpackCode":""}
[08:57:45.275] Starting forwarding server. local port 50325 -> socksPort 50307 -> remotePort 42716


chore(share): Ensure consistent naming for root/dah and datahash/hashNaming

Fixes: #2776

Hey @ptdatta! It has been a while since you opened this PR. Are you interested in updating it, to make it up to date with main?


Update NBGL use case wording to be compliant with the Figma reference layouts

Description
Update NBGL use case wording to be compliant with the Figma layouts
Changes include

[X] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Codecov Report
Patch and project coverage have no change.

Comparison is base (58d17f7) 85.97% compared to head (51629cd) 85.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #290   +/-   ##
=======================================
  Coverage   85.97%   85.97%
=======================================
  Files           8        8
  Lines         385      385
=======================================
  Hits          331      331
  Misses         54       54

Flag
Coverage Δ

unittests
85.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


missing highlighted for : cannot find name from :⚠ Error(TS2304)

when error with import, the error id cannot find name from :⚠ Error(TS2304)   are not showed and highlighted in the inline.
The line not go red !

thanks
it will also fix this issue: "now that I understand why! " error Len seem ignore missing name from import issue.
https://github.com/usernamehw/vscode-error-lens/issues/159

No steps to reliably reproduce the issue.


docs: update comments

Pull Request Test Coverage Report for Build 484

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

Totals

Change from base Build 483:
0.0%

Covered Lines:
224

Relevant Lines:
340

💛  - Coveralls


Fix issue where clear all properties button wouldn't show any text

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...
Related #issue...

Details of Changes

bind button content to the string resource

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Before:

After:

Side note, really like this new string resource system.

/azp run


fix: downloaded attachment file name

Issue
https://youtrack.weseek.co.jp/issue/GW-7962

The filename downloaded by clicking the link on the file name will be hashed instead of the original file name

Fix

Fix href value of file name link
Added download attribute to fix security prompt on browser

Test

close: https://github.com/weseek/growi/pull/7841


"Focus on tag" capability in tags selector

Right now, the following actions can be applied to a chip (tag) in tags selector:

Tap for selecting the tag. Tap again for unselecting.
Long-tap for negating the tag. This means that all resources marked with the tag, will be filtered out of current selection.

The desired feature is third possible action:
3. Double-tap for "focus on" the tag. After this, the tag becomes selected. Then, all tags from available set become negated. Previously selected or negated tags must not be affected.

This "focus on tag" feature is effectively the same as selecting a tag followed by switching into Focus query mode (see #21 for details). Implementation with Focus query mode is preferred, because it is clearer and also it would not overload tag chips with possible mouse actions.


removeOptionGroup or clearOptionGroups method?

In order to work with a selection whose groups can dynamically change, one or both of these methods would be great to have. Currently, I am destroying and rebuilding the control to clear the groups....
Thanks, this is great utility!

This is now a part of 0.12.0 (just released)


Razor tutorial: How to use custom templates

Help us make content visible

Tell us what search terms you used and how you searched docs:  custom template
Tell us what docs you found that didn't address your concern.: nothing for Razor

Describe the new topic

Explain why this topic is needed.

Customising how a model property is displayed is a very common need.

Suggest a location in the Table of Contents.

A section in Step 5 of the Razor tutorial.

Write an abstract. In one short paragraph, describe what this topic will cover.

It is possible and fairly easy to alter the default rendering used by Html.DisplayFor.

Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.

How you can use the UIHint attribute to specify a custom template to render the Release date.
How to code the template to render the release year as a Roman numeral. Note: this would be the only documentation available for this feature.

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider. We'll also reconsider this issue in the next doc update. You might try https://stackoverflow.com/

OK, it seems I have to write it myself (for anyone else interested).  I do not submit it because it is obviously too sketchy and I have no intention to sabotage your current work.
File Models/MovieDateFixed.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RazorPagesMovie.Models
{
    public class Movie
    {
        public int ID { get; set; }
        public string Title { get; set; } = string.Empty;

        [Display(Name = "Release Date")]
        [DataType(DataType.Date)]
        [UIHint("RomanYear")]
        public DateTime ReleaseDate { get; set; }
        public string Genre { get; set; } = string.Empty;

        [Column(TypeName = "decimal(18, 2)")]
        public decimal Price { get; set; }
    }
}

File Pages/DisplayTemplates/RomanYear.cshtml
@model DateTime
@(
    RomanNumeral .ToString (this .Model .Year)
)

Writing a class RomanNumeral with a static method ToString is left as an exercise to the reader.

@serpent5  do you think we should invest  in this ?

A custom Tag Helpers would be the right approach

Requires dotnet/aspnetcore#3956

@Rick-Anderson I agree with your original assessment. Given the current 6.0 focus, we should leave this one here and see if it generates some interest.


[New chain]: Rabbit Analog Chain

ChainId
1807
Chainlist
https://chainlist.org/chain/1807
Contract deployed

[x] I confirm that the contracts are deployed

Version of contracts deployed
v1.3.0
Relevant information
No response

Relevant information
safe-deployments PR: https://github.com/safe-global/safe-deployments/pull/123
safe-transaction-service PR: https://github.com/safe-global/safe-transaction-service/pull/1109


flutter web at nginx ubuntu server on root domain but returning If you are serving your web app in a path other than the root, change the href value below to reflect the base path you are serving from.

<!DOCTYPE html>
<html>
<head>
    <!--
If you are serving your web app in a path other than the root, change the
    href value below to reflect the base path you are serving from.
    The path provided below has to start and end with a slash "/" in order for
    it to work correctly.
    For more details:
    * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
    This is a placeholder for base href that will be replaced by the value of
    the --base-href argument provided to flutter build.
  -->
    <base href="/">
    <meta charset="UTF-8">
    <meta content="IE=Edge" http-equiv="X-UA-Compatible">
    <meta name="description" content="A new Flutter project.">
    <!-- iOS meta tags & icons -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="champions">
    <link rel="apple-touch-icon" href="icons/Icon-192.png">
    <!-- Favicon -->
    <link rel="icon" type="image/png" href="favicon.png" />
    <title>champions</title>
    <link rel="manifest" href="manifest.json">
</head>
<body>
    <script src="flutter_bootstrap.js" async></script>
</body>
</html>

this is the configuration
`server {
listen 80;
listen [::]:80;
server_name championmaung.com www.championmaung.com;
# Redirect all HTTP requests to HTTPS
return 301 https://$host$request_uri;

}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name championmaung.com www.championmaung.com;
ssl_certificate /etc/letsencrypt/live/championmaung.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/championmaung.com/privkey.pem; # managed by Certbot
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_prefer_server_ciphers on;

root /var/www/html/web;
index index.html;

# Serve Flutter web application
location / {
    try_files $uri $uri/ /index.html;
    error_page 405 =200 $uri;
}

# Handle API requests
location ^~ /api {
    alias /var/www/html/laravel_for_football/public;
    try_files $uri $uri/ @laravelapi;

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        include fastcgi_params;
    }

    location ~ /\.ht {
        deny all;
    }
}

location @laravelapi {
    rewrite /api/(.*)$ /index.php?$1 last;
}

# Deny access to hidden files
location ~ /\. {
    deny all;
}

# Custom error page for 404
error_page 404 = /index.html;

add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt  { access_log off; log_not_found off; }

}
`

@ThwinHAung
I am not sure why are you filing similar issues again, as we had mentioned in previous ones to raise this in StackOverflow.
Please check below issues to see if they help in your case or not:
https://github.com/flutter/flutter/issues/68686
https://github.com/flutter/flutter/issues/143054
https://stackoverflow.com/questions/67918435/flutter-web-app-in-a-subfolder-just-returns-to-the-root-page
Closing from here.


ARROW-4718: [C#] Add ArrowStreamReader/Writer ctor with bool leaveOpen

It's often the case that data being read/written in arrow format is part of some larger protocol.  However, ArrowStreamWriter and ArrowStreamReader close the provided stream when they're disposed.  This means that if you need to, for example, write a footer after the arrow data is written, you need to actually construct the ArrowStreamWriter around some temporary stream, write to that, then copy the data from that stream to the actual one that you then write the footer to; otherwise, ArrowStreamWriter will end up disposing of the stream before you have the opportunity to write the footer.
Throughout .NET, this approach is generally codified as a ctor that takes a "leaveOpen" Boolean parameter.  This PR does the same for ArrowStreamReader/Writer, adding a constructor for each:
public ArrowStreamReader(Stream stream, bool leaveOpen);
public ArrowStreamWriter(Stream baseStream, Schema schema, bool leaveOpen);

Fixes https://issues.apache.org/jira/browse/ARROW-4718
cc: @eerhardt, @pgovind, @chutchinson

Obviously, our two changes are going to conflict. But whoever "loses" can easily merge our changes.

@stephentoub - FYI #3736 has been merged.

Thanks. Addressed PR feedback and addressed conflicts.


hover over profile pic changes pic src

great however it seems like there is a merge conflict because I merged some pull requests before this one. If you have time to fix it I'll happily merge :)


How to push up screen when focus on mat text box

Hi, I am using mat text box in Cordova angular mobile app. When ever I am trying to focus or touches the mat text box the native keyboard opens up but the problem is the text box controls going behind the keypad. How to pushes screen up when touches the text box.

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


update PresQT Needs colors w/Kristina's Values

Kristina writes:
I’ve gone through the PresQT needs assessment results site (https://ndlib.github.io/PresQTNeeds/) and identified a need for 5 different color schemes:

Diverging - one color through neutral to another (e.g. How familiar are you with tools used to share, publish, cite and preserve data or software?)
Qualitative - unrelated colors (e.g. Do you need better tools to share, re-use, cite, publish or preserve your own or others' Data and/or Software?)
Sequential-4 - 4 gradations of a single color from dark to light (e.g. How long do you expect people to use the software you develop, administer, maintain or support ?)
Sequential-6 - 6 gradations of a single color from dark to light (e.g. For the typical software you develop, administer, maintain or support, how many users are there:)
Single color - ( e.g. In the past three years, have you or your research group made publicly accessible the following items through your or your institution's website or a third-party repository?)

I’ve attached a mock-up of these schemes so you can see how they look and how they work together. I’ve also pasted the hex codes for the colors below. In the current site, it looks like Donald used colors similar to what I suggested before, but not quite right. For instance, his diverging scheme goes blue to red and looks very “Americana.” I’m suggesting something more in the teal to orange range that should be a little more color-blind friendly and less national. Not sure how much control he has over the colors used?
I also noticed several questions where the color scheme could be applied a little more optimally (Sandra and I discussed some of these), or a different color scheme is needed. (I really wish your questions were numbered so I could more easily point these out!) There is currently no sequential scheme (right now, the questions I think need one have a qualitative scheme which doesn’t support their meaning), and some questions have a qualitative scheme when they should use diverging.
I went through each question and suggested a scheme, and how it should be applied. This information is included the “notes” file attached. At the bottom of the notes file is a short list with some general suggestions for improvements to the web layout. Left on my to do list is to test some things out so I can be more specific about these changes (e.g. exactly how much more space to add between questions, how to set the sections apart etc.). Sandra and I had also discussed some more subtle things like linking similar questions in the Researcher and Developer sections, and adding some navigational support. I’ll need to think more about that, as well. Hopefully sometime this week or next.
Good luck with your workshop!
K

@sandragesing , @dbrower , I'm going to work on this til 9:30 PM tonight

@sandragesing @dbrower I'm "done" for now - see test2.html in https://github.com/ndlib/PresQTNeeds - added sequential, updated categorical, not crazy abt "pie" in dev section - any ideas?

Here's a link to that test page: https://ndlib.github.io/PresQTNeeds/test2.html

@dbrower if you like test2.html ok, can you overwrite index with it?

done.

thanks the colors for the dev section toward the end could use some work but idk how to get it "better"


Add Scalar Symbol

Add Scalar Symbol
https://github.com/dmlc/mxnet/issues/473

The backward dependency is incorrect. I will make more comment after I can
reach a computer
On Sun, Nov 8, 2015 at 06:46 Hu Shiwen<EMAIL_ADDRESS>wrote:

Add Scalar Symbol
#473 https://github.com/dmlc/mxnet/issues/473
You can view, comment on, or merge this pull request online at:
https://github.com/dmlc/mxnet/pull/514
Commit Summary

add ScalarOp
Merge branch 'master' of https://github.com/dmlc/mxnet into
scalar_symbol
fix lint

File Changes

A src/operator/scalar-inl.h
https://github.com/dmlc/mxnet/pull/514/files#diff-0 (145)
A src/operator/scalar.cc
https://github.com/dmlc/mxnet/pull/514/files#diff-1 (31)
A src/operator/scalar.cu
https://github.com/dmlc/mxnet/pull/514/files#diff-2 (18)

Patch Links:

https://github.com/dmlc/mxnet/pull/514.patch
https://github.com/dmlc/mxnet/pull/514.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/514.

Actually, what I mean by ScalarOp was ElementwiseBinaryScalarOp. Something like AddSymbolScalar, MinusSymbolScalar. So the operator can pass shape inference check, and we do not need to create a real NDArray for the scalars

@tqchen I know

@tqchen update

I'm not sure Backward is right.please check.

@yajiedesign can you add two testcases into https://github.com/dmlc/mxnet/blob/master/tests/python/unittest/test_operator.py Thanks!

Sorry for the delay. I made a pass on the code, can you update it accordingly with the comment? Thanks for the contribution!

LGTM

Is it possible to add a Constant symbol that takes a constant scalar or ndarray and interact nicely with the symbolic API?

@pluskid that would be nice. I am trying to replicate the basic scalar multiplication tutorial from Theano (https://github.com/Newmu/Theano-Tutorials/blob/master/0_multiply.py) and TensorFlow (https://github.com/nlintz/TensorFlow-Tutorials/blob/master/0_multiply.py) in MXNet. This works:
import mxnet as mx

A = mx.sym.Variable('A')
B = mx.sym.Variable('B')

Y = A * B

multiply = Y.bind(ctx=mx.cpu(), args={'A': mx.nd.ones(1) * 1, 'B': mx.nd.ones(1) * 2})

multiply.forward()

print multiply.outputs[0].asscalar() #2

multiply = Y.bind(ctx=mx.cpu(), args={'A': mx.nd.ones(1) * 3, 'B': mx.nd.ones(1) * 3})

multiply.forward()

print multiply.outputs[0].asscalar() #9

I was expecting a more elegant solution (did I miss something?). I think a Constant symbol would allow that but I am not sure if it is actually useful since the ScalarOp is already included?

Oh I was thinking about constant operator that could actually hold an ndarray and have a shape (other than just scalar).

Can you kindly explain how that is useful in comparison with Variable symbol?

Sorry to necro this, but is this op documented? @pluskid the op you mention makes a lot of sense, is that implemented? up for a pr? i'm trying to debug some stuff in MXNet.jl and really need this.

@facundoq This part has changed a lot.

@yajiedesign I know I can declare a Variable and use mx.bind to set it's value, but that precludes using, for example, fit, because it doesn't accept an executor. Is there no way to easily do what @pluskid mentions?

@facundoq  if you want calculation with scalar.you can direct use number. etc otherSymbol * 5.

@yajiedesign I know, but sometimes you need an arbitrary matrix.
For example, when using Spatial Transformer Networks, there's a subnet that computes an affine transform matrix. If I want to, say, force this matrix to be diagonal without touching the STN code, I could just do a broadcast_mul between the output of the subnet and a mask, [1 0 0 1 0 0].
With the symbolic API as it is I see no way to do this except using a Variable and bind.


How do I create a pipeline for million individual timeseries ?

Hello,
I want to use quantile regression to generate upper_bound/lower_bound for million timeserires .
My current steps is below:
prepare features
features groupby [product_id, store_id] ,  transform
transformed_features groupby [product_id, store_id] , train model
transformed_features groupby [product_id, store_id] , make prediction

Mainly using pyspark  groupby().apply(pandas_udf)  .  I didn't found a good way in sparkml to cope groupby pipeline .
I wonder if there is a better way by using mmlspark ?

Sorry im not quite sure what you mean. Are you asking about the ability to perform a groupby as a SparkML Pipeline Stage?

Yes, because I didn't see similar approach .

You can do SQL operations using the SQLTransformer in regular Spark, we also provide a Lambda Transformer for more complex scala operations. Finally you can build one and make a PR to add it!


Create alternate ILMerge-free build

Create an alternate pack command in our psake script that eschews ILMerge in favor of NuGet dependencies. The alternate NuGet package could be build and used locally for when users have issues like the one in #159.
The alternate NuGet package would have a dependency chain like so:
+--------------+
| Glimpse.Mvc3 |
+--------------+
|
|   +--------------+
+--+| Glimpse.Core |
    +--------------+
    |
    |   +---------+
    +--+| antixss |
    |   +---------+
    |
    |   +-------------+
    +--+| Castle.Core |
    |   +-------------+
    |
    |   +-----------------+
    +--+| Newtonsoft.Json |
    |   +-----------------+
    |
    |   +------+
    +--+| NLog |
    |   +------+
    |
    |   +--------------------+
    +--+| Tavis.UriTemplates |
        +--------------------+

This has been closed but none of the Nuget packages have been updated to depend on other versions. I'm happy to fork and send in a PR cause my current project debugging causes issues when I try and use Newtonsoft.Json.


Unable to get into debugger/hit breakpoints on windows 10 & ActiveState 5.24

I have a super simple perl script that prints and calls a sub, but I am unable to hit bp or anything debugger related.
Below is the info from perl -v.  Is there any way I can turn on log or debug info to understand better what's the problem on my machines?
C:\Users>perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Binary build 2402 [401627] provided by ActiveState http://www.ActiveState.com
Built Jan  5 2017 02:08:02
...

C:\Users>systeminfo` | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.15063 N/A Build 15063

I may have met the same problem.
This is the output of the debug console:
`Platform: win32
Launch "perl -d c:\Users...\perl\test.pl" in "c:\Users...\perl"
perl -d c:\Users...\perl\test.pl
Error
Error: spawn perl ENOENT
Debugged program terminated.  Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
Debugger connection closed
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.15063 N/A Build 15063
VS Code Version:       1.13.0
Perl Debug Version:    0.2.1
C:\Users>perl -v
This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2017, Larry Wall
Binary build 2402 [401627] provided by ActiveState http://www.ActiveState.com
Built Jan  5 2017 02:08:02`

I think I have the same problem. It doesn't hit any BPs, but if I leave "stopOnEntry": true, it actually stops in the entry point. However, there is no indication (yellow arrow) of the current line of code that is to be executed next. I can step through the code this way, but again, no indication of the current line and also there's nothing in the variables, watch or call stack sections.
If I use "stopOnEntry": false, the program executes to the end, no breakpoints are hit. Maybe you two can check that this behaviour is the same as yours?

just released 0.2.2 not sure if it solves part of this issue - it contains a windows related fix

it didn't solve the issue here, you think it's windows 10 related?

It might, seems like the pipe is broken - Could you clone the repo and run the tests?

I've added an initial guide for running tests locally DEBUGGING.md

I ran them, seems in order:
32 passing (16s)
5 pending

It seems the problem is in VS Code: https://github.com/Microsoft/vscode/issues/5422#issuecomment-217064133
It's an old comment, but schemburkar described the same behavior as mine

Thanks, I'll see if it's possible to replicate

I tried debugging your extensions after cloning the repo and couldn't hit any breakpoints in it either, maybe I'm missing something?
I also cloned vscode-mock-debug, there are some errors upon compile but the yellow indicator of current line appears when I select "debug anyway"

I have some ideas - but I have to investigate further,
Errors when setting break points could be related to paths - you should be able to enter perl5db commands manually directly in the vs code debug console to see if things work (the extension always sets the file context and then the break point)
It seems like tests regarding break points are not 100% stable atm. on linux https://travis-ci.org/raix/vscode-perl-debug/jobs/244149956 it could be related.
I should add more tests between vs code and the extension eg. https://github.com/raix/vscode-perl-debug/blob/master/src/tests/adapter.test.ts#L135

I have same issue. Debugger console have some "keys on reference is experimental" warnings and ends with following message:
onException: keys on reference is experimentalDebugger connection closed

It seems treated warnings as error. Without debugger or manual execution with perl -d proceeds normally.

After fixing warnings - everything works as expected.

I think I have the same problem. It doesn't hit any BPs, but if I leave "stopOnEntry": true, it actually stops in the entry point. However, there is no indication (yellow arrow) of the current line of code that is to be executed next. I can step through the code this way, but again, no indication of the current line and also there's nothing in the variables, watch or call stack sections.
If I use "stopOnEntry": false, the program executes to the end, no breakpoints are hit. Maybe you two can check that this behaviour is the same as yours?
Edit: I have strawberry 5.16.3 and windows 10

That you get no yellow arrow is because the T (stack trace) command in Perl 5.16.3 does not report anything for top-level code. That is unrelated to the issue reported here initially.


DOC: CONTRIBUTING.md Sanity Check guide not working

If I try running the instructions in CONTRIBUTING.md:
tensorflow/tools/ci_build/ci_build.sh CPU tensorflow/tools/ci_build/ci_sanity.sh

I get:
#10 1.118 /install/install_pip_packages.sh: line 21: python3.6: command not found

However, if I instead use the cpu-py3.6 image, I get a bit further:
addgroup: Please enter a username matching the regular expression configured via the NAME_REGEX[_SYSTEM] configuration variable.
 Use the `--force-badname' option to relax this check or reconfigure NAME_REGEX.

I don't see any way for users to fix this without diving into the plethora of different Dockerfiles and scripts-calling scripts that exist in the repo.

We are trying to simplify/unify Dockerfiles at https://github.com/tensorflow/build/pull/21
We are also trying to improve linting integration. See https://github.com/tensorflow/tensorflow/issues/41396
I the meantime I see:

/install/install_pip_packages.sh: line 21: python3.6:

which branch/commit are you on? Cause on master we are on python 3.8 as https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/ci_sanity.sh#L126

Just in case, I tested on the master (as of today at f1497fc92) and got the same thing. In fact, here is the call to python3.6:
https://github.com/tensorflow/tensorflow/blob/f1497fc92ed09a2c2bd03c586c72019d4c97dca6/tensorflow/tools/ci_build/install/install_pip_packages.sh#L21

Ok so it is in the image building phase. Yes this need to be fixed cause the image was still on python 3.5.
As an additional note tensorflow/tools/ci_build/ci_sanity.sh currently couldn't run also in our official devel image tensorflow/tensorflow:devel

/cc @theadactyl

Until this is resolved, is there any way for contributors to run tests?

Maybe not directly at the moment, but "Ubuntu Sanity" on the PR status runs the same tests.

Yes but someone working at Google has to manually trigger that AFAIK, which introduces several days of lag every time tests need to be run. Testing, especially "sanity"/linting but arguably unit tests as well, should be easy and fast to run so that developers can get feedback on their changes ASAP and iterate.

@angerson Just a reminder. If we are working in a Docker container these scripts require Docker in Docker and I it is not the best experience.

@adriangb In the meantime I will discuss this with @angerson you can look at https://github.com/tensorflow/tensorflow/pull/48291

Hi, Could you please try with the latest version, since the above mentioned PR which serves your purpose is merged here. Thanks!

Same issue here... Still crashing with the same error message on main branch

Could you please follow the conversation here  https://github.com/tensorflow/build/pull/21 and check if you find anything interesting for you.

Every path and file in this PR doesn't exists. I think they moved these files to some other place, but CONTRIBUTING documentation is still not working, so this BUG still open

Current OSS CI is:
https://github.com/tensorflow/tensorflow/blob/b9f3ad5cdd276fb5107508d027671014b3943266/.github/workflows/pylint-presubmit.yml#L43-L47
But the linting need to be aligned/fixed. See https://github.com/tensorflow/tensorflow/issues/55442

But my issue here @bhack  is not just running lint, but unit tests too...

But my issue here @bhack is not just running lint, but unit tests too...

Can you just run bazel test for unit tests?

I got a lot of errors with this too
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz failed: class javax.net.ssl.SSLException Tag mismatch!
ERROR: An error occurred during the fetch of repository 'tf_runtime':
   Traceback (most recent call last):
        File "/mnt/c/Users/Diogo/workspace/tensorflow/third_party/repo.bzl", line 73, column 33, in _tf_http_archive_impl
                ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz, https://github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz] to /home/diogo/.cache/bazel/_bazel_diogo/068659a64be06f79953e5b9650827913/external/tf_runtime/temp5964258185019624432/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz: Tag mismatch!
ERROR: /mnt/c/Users/Diogo/workspace/tensorflow/WORKSPACE:11:14: fetching _tf_http_archive rule //external:tf_runtime: Traceback (most recent call last):
        File "/mnt/c/Users/Diogo/workspace/tensorflow/third_party/repo.bzl", line 73, column 33, in _tf_http_archive_impl
                ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz, https://github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz] to /home/diogo/.cache/bazel/_bazel_diogo/068659a64be06f79953e5b9650827913/external/tf_runtime/temp5964258185019624432/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz: Tag mismatch!
ERROR: no such package '@tf_runtime//': java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz, https://github.com/tensorflow/runtime/archive/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz] to /home/diogo/.cache/bazel/_bazel_diogo/068659a64be06f79953e5b9650827913/external/tf_runtime/temp5964258185019624432/2dcb2f2fcd53280da03fba8ce9eba9d9529a970b.tar.gz: Tag mismatch!
INFO: Elapsed time: 3.670s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

I don't know your env status but I have a PR that it is trying to monitor the user experience of building nightly (or prepare a PR starting from the nightly branch):
https://github.com/tensorflow/tensorflow/pull/57630
Can you try to build, as in the PR, in that docker image so that we have a reproducible env to check the build?

Now it's working... I was using WSL


Using the Solo Printer

I have a Solo with Printer, and would like to give the user the option to print a receipt.
But the only option coming up is email or text, no print option.
Is there a way to utilise the printer when using the SDK?

Hello,
I’m in the same case of you, have you find a solution?
Regards

Currently the SDK does not support it (I had a conversation with the integration team).
So I would like to voice this as a feature request, either though the SDK or on the printer itself when a printer is connected.

Ok.. thanks for your update 😃

Same here. Our customers would not need another printer if this was possible.

+1 same here. Would be awesome for our customers.
Are there any plans to support printers ?


www/nginx VTS frontend

@fichtner I took the original one from the project repository and refactored it to more modern JS (the tag generator function is still there) and integrated it into the plugin (translation and upstream name translation for better usability)

doesn't this need correction in pkg-descr ?

@fichtner the release note already exists: https://github.com/opnsense/plugins/blob/master/www/nginx/pkg-descr#L13


Could not login with my ldap user -- enableWPMU Branch

I have a problem to login with my ldap user. I've set the debug switch in the AuthLdap Config-Site
I found the following logs in my Apache error log:
[Tue Jun 27 21:32:13.494291 2017] [ssl:debug] [pid 19071] ssl_engine_kernel.c(243): [client 91.nn.nn.nnn:48527] AH02034: Initial (No.1) HTTPS request received for child 33 (server www.domain.de:443), referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.494524 2017] [authz_core:debug] [pid 19071] mod_authz_core.c(809): [client 91.nn.nn.nnn:48527] AH01626: authorization result of Require all granted: granted, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.494541 2017] [authz_core:debug] [pid 19071] mod_authz_core.c(809): [client 91.nn.nn.nnn:48527] AH01626: authorization result of <RequireAny>: granted, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537074 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] User 'wp_ldap_user' logging in, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537146 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] about to do LDAP authentication, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537163 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] connect to LDAP server, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.539761 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] No bind successfull. Exception thrown in line 68, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.852907 2017] [deflate:debug] [pid 19071] mod_deflate.c(855): [client 91.nn.nn.nnn:48527] AH01384: Zlib: Compressed 5142 to 2111 : URL /wp-login.php, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:18.858256 2017] [ssl:debug] [pid 19071] ssl_engine_io.c(1003): [client 91.nn.nn.nnn:48527] AH02001: Connection closed to child 33 with standard shutdown (server www.domain.de:443)
[Tue Jun 27 21:32:13.494291 2017] [ssl:debug] [pid 19071] ssl_engine_kernel.c(243): [client 91.nn.nn.nnn:48527] AH02034: Initial (No.1) HTTPS request received for child 33 (server www.domain.de:443), referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.494524 2017] [authz_core:debug] [pid 19071] mod_authz_core.c(809): [client 91.nn.nn.nnn:48527] AH01626: authorization result of Require all granted: granted, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.494541 2017] [authz_core:debug] [pid 19071] mod_authz_core.c(809): [client 91.nn.nn.nnn:48527] AH01626: authorization result of <RequireAny>: granted, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537074 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] User 'wp_ldap_user' logging in, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537146 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] about to do LDAP authentication, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.537163 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] connect to LDAP server, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.539761 2017] [:error] [pid 19071] [client 91.nn.nn.nnn:48527] [AuthLDAP] No bind successfull. Exception thrown in line 68, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:13.852907 2017] [deflate:debug] [pid 19071] mod_deflate.c(855): [client 91.nn.nn.nnn:48527] AH01384: Zlib: Compressed 5142 to 2111 : URL /wp-login.php, referer: https://www.domain.de/wp-login.php
[Tue Jun 27 21:32:18.858256 2017] [ssl:debug] [pid 19071] ssl_engine_io.c(1003): [client 91.nn.nn.nnn:48527] AH02001: Connection closed to child 33 with standard shutdown (server www.domain.de:443)

Do you have an idea whats going wrong there?
Kind regards
Axel Birndt

Of course i could send you my configuration setting, but better in a private mail.

There seems to be a problem with the connection to the LDAP-Server… Can you send me the LDAP-URI you are using? If you want to send it to andreas AT Heigl DOT org

And ou are sure you want to use the WPMU-Branch? That's highly experimental! Consider it as at least Beta-state ;)

Thanks for your Answer, Andreas. I'am Axel, you create this branch because i'am asked you for :-)
Kind regards,
Axel

Ah! Sorry :) Didn't get that :joy:

So, i will close this issue, because the login works now.
There are 2 issues on my side.

i tried to login with a ldap group! This could not work!
the new user had no uid-attribute.

all of this issues was fixed and the login works now.
I will file a second bug report, because the role mapping does not work --- isn't it? I have to test it!


Are any pdfs retained in the server?

Questioned a lot on this specific issue. I didn’t see anywhere in the documentation about this although I do believe nothing is stored permanently. Can anyone clarify?
Thanks

https://github.com/Frooodle/Stirling-PDF/discussions/174
Should be helpful for you
I will also update documentation to state this

added to readme.md


Free advert for the plugin

Hey @jthomerson ,
Just wanted to give you the heads up that I just launched my Lambda@Edge course last night.
It showcases your serverless-plugin-cloudfront-lambda-edge plugin.
Thought you may like to know. Also, curious if you'd be open to adding a cross promotion link to it in the plugin ReadMe?

Thanks @iDVB - glad it was helpful to you! Sorry, but we're not interested in doing promotions of commercial products from our OS repos at this time.


Question: Convert to Python datetime

Hello,
How do I convert the neotime.DateTime instance to a Python datetime.datetime instance?
But what I really need is the epoch seconds. Or to do:
mydate.timestamp()

Right now I'm doing:
import datetime
from neotime import DateTime

dt = DateTime(year=2018, month=9, day=26, hour=13, minute=31, second=5.0)
pdt = datetime.datetime(dt.year, dt.month, dt.day, dt.hour, dt.minute, int(dt.second))
timestamp = pdt.timestamp()

With this example, I'm losing milliseconds.
See: https://github.com/technige/neotime/issues/3

Closing here as answered in https://github.com/neo4j-drivers/neotime/issues/3.


Cuda support in build system.

I've hacked the build system by adding code to fc2d_cudaclaw5/Makefile.am, but this is obviously not very general.  See  this commit

See PR #126 !!!

Using macro that @scottaiton wrote, we now have a decent build system.


Overarching proposal for cleaner function in a K8s environment

Making this issue to group several related issues and track the larger story of function in K8s.
Pre-work:

#190

Primary goals:

#193
#191
#9 via CRDs
#195
#225

Supporting goals:

#192
#35

All work items are now tracked in separate issues.