texlive: xelatex doesn't see fonts

Issue description
On Darwin, texlive does not system or nixpkgs installed fonts.
Steps to reproduce
\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{Latin Modern Sans}
\begin{document}
Hello
\end{document}

$ nix-shell --pure -p "(texlive.combine { inherit (texlive) scheme-basic xetex xetex-def lm fontspec euenc; })" lmodern which --command 'xelatex fontspec-test.tex'

Technical details

System: OSX 10.12.4
Nix version: 1.11.6
Nixpkgs version: 17.09pre104446.09c91f5

XeLaTeX from nixpkgs, on darwin, uses fontconfig (maybe this is an issue that can be addressed).
I don’t know how to compile your document in a pure shell, but in an impure environment you can:

install fontconfig and the desired fonts (with nix-env -iA nixpkgs.fontconfig nixpkgs.lmodern);
make fontconfig willing to use our impure setting: export FONTCONFIG_FILE=$HOME/.nix-profile/etc/fonts/fonts.conf
update the font cache fc-cache -f --verbose
check that fc-match "Latin Modern Sans" returns something appropriate (e.g. lmsans10-regular.otf: "Latin Modern Sans" "10 Regular")
run XeLaTeX in a nix shell nix-shell -p "(texlive.combine { inherit (texlive) scheme-basic xetex xetex-def fontspec euenc; })" --command 'xelatex fontspec-test.tex'

My main goal is to be able to create the output PDF with only nix-build, so I guess I'm looking for a solution that works in a pure environment. I don't see why this shouldn't be possible in theory, as in it feels like this it is consistent with the "nixpkgs philosophy" that this would be a thing you could do.

I’m not sure how the nixpkgs philosophy is compatible with the fontconfig philosophy. Your problem boils down to the fact that the following does not work as we may expect; even on NixOS:
nix-shell --pure -p lmodern fontconfig --command 'fc-match "Latin Modern Sans"'

BTW you can use nix to resolve the fonts and do things like the following in your TeX file:
\setmainfont[Path=/nix/store/2hk1ji0yvszs6nzmx4vk6l7kgqxy3gdn-lm-2.004/fonts/opentype/public/lm/]{lmsans10-regular.otf}

Disclaimer: I know almost nothing about fontconfig. However, the way I see it is I want my PDF to be built as a pure function of its inputs, which include a specific set of latex packages and some fonts. Why shouldn't that work?
About that last example, that would almost be what I'm looking for except it seems really ugly that I would have to a) hardcode the value to the location in the nix store and b) if it somehow got updated that path would change and it would break? But if there was some reliable way to get the path to the nix store where my font is, that would be awesome. I was thinking about somehow setting environment variables from default.nix, but how would I get them in the tex file? I guess if I needed to I could have a preConfigure script that replaces some marker text, but that would still be non-ideal... curious if you have better ideas.

It might work with FONTCONFIG_FILE = pkgs.makeFontsConf { ... }.  See nixpkgs for non-TeX examples, but I sadly don't remember the state of fontconfig support in our texlive.

I can confirm the FONTCONFIG_FILE with makeFontConf, I've been using this to automate xelatex docs for months, seems to do the trick at least for my case. I also find it helpful to add that to the shellHook for use while editing and incremental builds.

Snippet, although unsure of the accuracy of my comment just a note to myself :).
# grab fonts we need, xetex wants them installed as system fonts
  # There's a "fira" package in texlive, but I can't seem to get it to work with xetex or luatex,
  # possibly a bug in how nixpkgs packages them (there's a TODO about font visibility).
  fonts = makeFontsConf { fontDirectories = [ freefont_ttf fira fira-mono ]; };
in with import ./src.nix;
stdenv.mkDerivation {
  name = "allvm-slides-${version}";
  inherit version;
  src = fetchgit srcinfo;

  buildInputs = [ tex ghostscript pandoc ];

  preBuild = ''
    export FONTCONFIG_FILE=${fonts}
  '';

Amazing! I will post here my minimal working solution. Should there be something about this in the documentation for texlive on nixpkgs?
{ nixpkgs ? import <nixpkgs> {} }:
with nixpkgs.pkgs;
stdenv.mkDerivation {
  name = "textest";
  src = ./.;
  buildInputs = [
    texlive.combine {
      inherit (texlive) scheme-basic xetex xetex-def fontspec euenc;
    }
  ];

  FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ lmodern ]; };

  buildPhase = ''
    xelatex test.tex
  '';

  installPhase = ''
    mkdir -p $out
    cp test.pdf $out
  '';
}

\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{Latin Modern Roman}
\begin{document}
Hello
\end{document}

It could be a subsection in the manual or perhaps a tutorial in the cookbook.

@jbaum98 Hi, I tried your solution. And got this error
error: cannot coerce a function to a string, at /home/sri/github/CV/OpenFonts/default.nix:4:3 (use ‘--show-trace’ to show detailed location information)
Any idea why I would get that?
Thanks

@srivathsanmurali confirmed.  Put parenthesis around the texlive.combine { ... } bit to fix it.

@dtzWill Great. That worked :D

I've updated my previous answer with this fix.
Sent from my LGE Nexus 5X using FastHub

Is there a way to use the built-in system fonts as well? It appears to break the purity but that's still pretty useful...

I would expect that to work already – if you don't define FONTCONFIG_FILE, the system one is used normally, and that should pick any fonts the system sees.  (I didn't test this and may easily be wrong.)

Well, in my case it doesn't :(
% fc-match "Times New Roman"
Times New Roman.ttf: "Times New Roman" "Regular"

% xelatex demo.tex
This is XeTeX, Version 3.14159265-2.6-0.99996 (Web2C 2016/NixOS.org) (preloaded format=xelatex)

...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Times New Roman" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................

The mentioned method only seems to work if mentioning a font by Name, not by filename
\setmathfont{latinmodern-math.otf}

does not work.
whilst
\setmathfont{Latin Modern Math}

does work
Many LaTex packages like (unicode-math) use this way of setting fonts, which is still broken

I used to build a book with pandoc and xelatex and it worked ok (note that I'm not building it in a pure environment). I haven't touched it in a while and now I found out it produces a PDF with no fonts.
I'm not sure what changed.

What do you mean a PDF with no fonts? I build this derivation
{ stdenv, fetchgit, texlive, pandoc, makeFontsConf, lmodern }:
stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "category-theory-for-programmers";
  version = "0.4.0";

  src = fetchgit {
    url = "https://maxwell.ydns.eu/git/rnhmjoj/category-theory-for-programmers";
    rev = "v${version}";
    sha256 = "0z5bn5147b3r1937cd4ai5fmy44dcxjpwbr45v8mkfbkqpki0lg5";
  };

  buildInputs = [
    (texlive.combine {
      inherit (texlive) scheme-full;
    })
    pandoc
  ];

  FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ lmodern ]; };

  patches = [ ./cat-theory.patch ];

  buildPhase = ''
    make all
  '';

  installPhase = ''
    mkdir -p $out
    cp ${pname}.pdf ${pname}.epub $out/
  '';
}

with this patch because pandoc options have changed
[category-theory-for-programmers.pdf](https://github.com/NixOS/nixpkgs/files/2220992/category-theory-for-programmers.pdf)

diff --git a/makefile b/makefile
index c07ffc0..6f1fefe 100644
--- a/makefile
+++ b/makefile
@@ -12,10 +12,10 @@ $(title).pdf:
 	pandoc                          \
 	  $(src)/init/preface.html      \
 	  $(chapters)                   \
-	  --smart                       \
+	  --from html+smart             \
 	  --toc                         \
 	  --number-section              \
-	  --latex-engine=xelatex        \
+	  --pdf-engine=xelatex        \
 	  --data-dir=$(root)/pandoc     \
 	  -H $(root)/pandoc/options.tex \
 	  -o $(root)/$(title).pdf
@@ -25,10 +25,10 @@ $(title).epub:
 	pandoc                          \
 	  $(src)/init/preface.html      \
 	  $(chapters)                   \
-	  --smart                       \
+	  --from html+smart             \
 	  --toc                         \
 	  --number-section              \
-	  --epub-stylesheet=$(root)/pandoc/style.css  \
+	  --css=$(root)/pandoc/style.css              \
 	  --epub-cover-image=$(root)/pandoc/cover.png \
 	  --epub-embed-font='$(src)/fonts/*.woff'     \
 	  -o $(root)/$(title).epub

and I get a PDF that looks fine, but it produces a lot of warnings about missing symbols. I've attached the epub and the PDF, take a look. Does it look right? Do you know what the fonts are supposed to be?
The warnings look like this:
[WARNING] Missing character: There is no ∘ in font [lmroman9-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmroman9-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∷ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ⊥ in font [lmroman9-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no λ in font [lmroman9-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmroman9-italic]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmroman9-italic]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmroman9-italic]:mapping=tex-text;!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
[WARNING] Missing character: There is no ∘ in font [lmmono9-regular]:!
...

@jbaum98 The PDF you produced looks exactly like mine: this probably mean there is an issue with my PDF viewer or maybe my NixOS configuration. Here's is what I see:

Hmm so maybe the PDF being produce doesn't have the fonts embedded, but I have the fonts installed globally so its good for me.

I used pdffonts to check if the fonts are embedded, and it seems like they are...
name                                 type              emb sub uni prob object ID
------------------------------------ ----------------- --- --- --- ---- ---------
LRFKQY+LMRoman12-Bold-Identity-H     CID Type 0C       yes yes yes           5  0
UQFJKX+LMRoman9-Bold-Identity-H      CID Type 0C       yes yes yes           7  0
YQVNRT+LMRoman17-Regular-Identity-H  CID Type 0C       yes yes yes          15  0
YSFRZR+LMRoman9-Regular-Identity-H   CID Type 0C       yes yes yes          20  0
MZLYGF+LMRoman10-Regular-Identity-H  CID Type 0C       yes yes yes          55  0
VEULQF+LMMono9-Regular-Identity-H    CID Type 0C       yes yes yes         192  0
PDBHLQ+LMRoman9-Italic-Identity-H    CID Type 0C       yes yes yes         301  0
DQRRCR+LMRoman6-Regular-Identity-H   CID Type 0C       yes yes yes         318  0
WDNXEU+LMRoman10-Bold-Identity-H     CID Type 0C       yes yes yes         476  0
OQQEKL+LMRoman7-Italic-Identity-H    CID Type 0C       yes yes yes         508  0
AITGDP+LMMono10-Regular-Identity-H   CID Type 0C       yes yes yes         617  0
HCSPIJ+LMRoman10-Italic-Identity-H   CID Type 0C       yes yes yes         619  0
THBSFY+LMRoman7-Regular-Identity-H   CID Type 0C       yes yes yes         974  0
FVLADZ+LMMonoLt10-Bold-Identity-H    CID Type 0C       yes yes yes        1011  0
PBFUDK+LMRoman6-Bold-Identity-H      CID Type 0C       yes yes yes        1434  0

So I'm not so sure what's going on.

I tried opening it with a different PDF viewer (evince) and the fonts are displayed correctly so it must be something with zathura. I noticed when I scroll the PDF zathura floods the console with
warning: cannot draw text since font and size not set
error: name too long

I'll look into and maybe report it if it's not known already. Sorry for the noise.

(triage) @jbaum98 any updates on this issue? From what I understand generating the pdf works now and the fonts are included, right?

Yes, for me this issue is resolved, but it seems like @rnhmjoj is having some other issues.

I reported the issue to zathura and mupdf. It could be NixOS related but it's certainly a different issue so let's close this.

Hi guys, sorry to bump an old issue but this is the only place where I found a working example and an explanation on why fonts were not being found in the context of nix-shell.
I'm trying to use fonts that should ship with texlive.combined.scheme-full inside nix-shell in a docker nixos/nix based image and they fail with:
(/nix/store/ab73wanp32wcpmgkjcpd9vjy09cjcs9g-texlive-combined-full-2018/share/texmf/tex/latex/unicode-math/unicode-math-table.tex)))kpathsea:make_tex: Invalid filename `TeX Gyre Pagella', contains ' '

! Package fontspec Error: The font "TeX Gyre Pagella" cannot be found.

I was able to create a working environment by adding:
FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = pkgs.texlive.tex-gyre.pkgs; };

however due to the way texlive fonts are packaged I need to append .pkgs to tex-gyre and work with the entire list.
Question is, should this be necessary in the first place given that I'm using texlive.combined.scheme-full and if yes, would it make sense to have a target for texlive fonts that is easier to refer to with makeFontsConf?
The derivation now looks like:
 pkgs.stdenv.mkDerivation {
   name = "pandocEnv";
   buildInputs = with pkgs; [
     texlive.combined.scheme-full
     pandoc
   ];
   FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = pkgs.texlive.tex-gyre.pkgs; };
}

Is there a way to use the built-in system fonts as well? It appears to break the purity but that's still pretty useful...

There doesn't seem to be an answer anywhere in this thread, and I just ran into this issue. The fix is very simple - add the system font directories to fontDirectories. For example:
{
  FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = [
      "/Library/Fonts"
      "/System/Library/Fonts"
      "/Users/USER/Library/Fonts"
      pkgs.lmodern
    ]; };
}

This should not be needed after #228196 (i.e. will be fixed in 23.05)


POTU_ files are being generated in qiita user home directory

I think this is a change that we will need to do in the cluster_jobs file. I think it is using the '-k' parameter to submit jobs. If we remove that parameter, those files should be created whatever the job is submitted. The other option is to modify the cluster jobs to redirect those files to a working directory.

You can specify the directory with "-o  -e ". The current working
directory likely already is $HOME. Putting these under a general working
directory will result in a very large number of files quickly, and for them
to be the most useful for debugging, it would be best if they were analysis
and/or study specific
On Tue, May 5, 2015 at 11:03 AM, josenavas<EMAIL_ADDRESS>wrote:

I think this is a change that we will need to do in the cluster_jobs file.
I think it is using the '-k' parameter to submit jobs. If we remove that
parameter, those files should be created whatever the job is submitted. The
other option is to modify the cluster jobs to redirect those files to a
working directory.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1153#issuecomment-99142086.

Now they are gonna live in /projects/qiita_data/tmp/


Add enable/disable knob support

Because enable/disable is necessary sometimes 😄

Thanks for the contribution @BRoy98 !
On the behalf of @harjot-oberai I would like to mention a few changes.

All the bintray related code is useful, so, please add them back. Also, undo the changed dependency in the Readme file.
The label_disabled_color attribute doesn't seem to be used anywhere, so remove it.
The setLabelFont method isn't working, so make the required changes.
There's a problem with enabled attribute. If it is set to false, we don't get the expected behaviour when it is swithed to true.


  The only workaround I found is to name the mounted schema file exactly as the default: graphql-faker.

@lameimpala I have zero knowledge of Docker so it can be a case that I broke something.
Just to be sure, you tried this line from README?
https://github.com/APIs-guru/graphql-faker#usage-with-docker

docker run -v=${PWD}:/workdir apisguru/graphql-faker path/to/schema.sdl

@IvanGoncharov I answered your question as part of a question I put https://github.com/APIs-guru/graphql-faker/issues/94

For future reference, here is a setup for gitlab.
So http://my-faker-server:9002/graphql will be available on tests.
gitlab-ci.yml
phpunit:
  stage: test
  services:
    - name: apisguru/graphql-faker:latest
      alias: my-faker-server
      command: ["/builds/repo-name/path/to/schema/fake.graphql"]
  script:
    - composer test


Upgrade Go to 1.20.2 and goreleaser to 1.16.0

Description
This PR upgrades Go to the latest security release and goreleaser to the latest version.

@troian Can you create a new tag and create a new release with 1.20.2
https://github.com/goreleaser/goreleaser-cross/pkgs/container/goreleaser-cross
Thanks


Handle upper case columns

This PR handles column names in information_schemata that are in uppercase, (MySql 8).
Fixes #97

@crispmark can u review this PR pls.

Seems great!
@crispmark


How to tell which version of powershell?

At the top of the page, there is an indicator of an issue between Powershell 7 and Teams. As Teams is built in to most OS's now, its difficult to know off the top of your head which version you are using. There should be a command here to indicate how to see which version you have. The comment about having to install Powershell in your system is also a bit depreciated as its been built in for a while now.
[Enter feedback here]

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

ID: e5720e37-e8dd-1e3e-ccfa-cf4db31e8cff
Version Independent ID: 93a36eb2-3554-0e86-e787-759eaaafe5e1
Content: Microsoft Teams PowerShell Overview - Microsoft Teams
Content Source: Teams/teams-powershell-overview.md
Service: msteams
GitHub Login: @brandber
Microsoft Alias: brandber

@StuBeck32 Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

I'm not having an issue. I'm attempting to help you update your documentation so its not confusing.

Hi @StuBeck32!
Thanks for the feedback! I'll update the Teams PowerShell installation page with how to identify PowerShell version. For your information, it can be identified by running the following in a PowerShell session:
$PSVersionTable
The output of above contains a property called "PSVersion", which is your PowerShell version.
Thanks again for raising and keep the feedback coming!

Great, thanks!

From: Brandon Bernier<EMAIL_ADDRESS>Sent: Wednesday, July 8, 2020 2:36 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: StuBeck32<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] How to tell which version of powershell? (#5295)
Hi @StuBeck32https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStuBeck32&data=02|01||32d0a49280b344dc50bb08d8236de397|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637298302152455414&sdata=dHiSd9vEk6mrfzBmQi8SpMwD%2F0t7nFzp2nZTLFo7d1o%3D&reserved=0!
Thanks for the feedback! I'll update the Teams PowerShell installation page with how to identify PowerShell version. For your information, it can be identified by running the following in a PowerShell session:
$PSVersionTable
The output of above contains a property called "PSVersion", which is your PowerShell version.
Thanks again for raising and keep the feedback coming!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F5295%23issuecomment-655687335&data=02|01||32d0a49280b344dc50bb08d8236de397|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637298302152465409&sdata=9HJLa%2BKj5AOfxqYIxpymXbfojAc7PgiCZr1MYZYwD4A%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK5FPN7AZQ2BRZ4OTZWKN6LR2S4ENANCNFSM4OR3HFJA&data=02|01||32d0a49280b344dc50bb08d8236de397|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637298302152465409&sdata=hPBc%2BZ4EFLpxEtfhN57TUsaZ3zzQ%2BXBNzpCJ853lkCI%3D&reserved=0.


[Chart]  Allow to use stoke line without dashes

Component to amend
Chart - Reference Area
Visual
As you can see in P34 and P18, the stroke line is without dashes

You need to change this line

### Tasks (@AndresKindel)
- [ ] Request @Andrevmatias's review
- [ ] Add knobs to the new(s) prop(s) [here](https://bold.bridge.ufsc.br/storybook/?path=/story/components-chart--reference-area)
- [ ] Everything must be in English
- [ ] Check if it's necessary to add something to i18n
- [ ] Update snapshot testes
- [ ] Add new tests to the component

Site spec will be update in another issue.


Add extra 'Projects' layer

Currently the Gitea server has 'two levels', the Organisation and Repository levels.
I very often work for an organisation, doing a project that contains multiple repositories.
Now I'm creating an Organisation for each project, but is not the way I really want this to go.
It would be (in my opinion) be way better to have three levels, Organisation, Project and Repository levels.

I think Projects could be some kind of meta layer that should not be under organization but so that existing repositories could be added to them like links. This way same repository could be reused in multiple projects and also project could contain repositories from multiple organizations

Agree. To be honest, I'm not hooked on names, like Project or implementation. So I don't mind which way some functionality like would be implemented.
As I don't code in Go (yet, first training next week :-)) I'm not able to really help getting it in.

Relevant? #363

duplicated with #363


Add support for lombok.noArgsConstructor.extraPrivate

Short description
Lombok 1.16.22 introduced the config lombok.noArgsConstructor.extraPrivate to generate private no-args constructors for @Value and @Data, this is currently not supported by the plugin.
Version information

IDEA Version: 2018.1.4
JDK Version: 1.8.0_152
OS Type & Version: MacOS High Sierra 10.13.2
Lombok Plugin Version: 0.17-2018.1
Lombok Dependency Version: 1.18.0

This should be fixed in the next release 0.19


[minio-cpp] add new port

Describe the pull request

What does your PR fix?
Fixes #22233

Which triplets are supported/not supported? Have you updated the CI baseline?
all  / No

Does your PR follow the maintainer guide?

Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/
Ok

@kkzi ,Thanks for your pr, please run command "./vcpkg x-add-version minio-cpp --overwrite-version" and commit again
it looks the post build step failed,
See the CI failures:
CMake Error at cmake_install.cmake:54 (file):
  file cannot create directory: /pkgconfig.  Maybe need administrative
  privileges.

@kkzi ,Thanks for your pr, please run command "./vcpkg x-add-version minio-cpp --overwrite-version" and commit again
it looks the post build step failed, See the CI failures:
CMake Error at cmake_install.cmake:54 (file):
  file cannot create directory: /pkgconfig.  Maybe need administrative
  privileges.

Could you  please help me heck this error log ?
2021-12-29T14:06:21.0914520Z Starting package 8/8: minio-cpp:x64-linux
2021-12-29T14:06:21.0915146Z Building package minio-cpp[core]:x64-linux...
2021-12-29T14:06:21.1071905Z -- Downloading https://github.com/minio/minio-cpp/archive/0847e56f31e13d32c924029d5ffaa865f8396462.tar.gz -> minio-minio-cpp-0847e56f31e13d32c924029d5ffaa865f8396462.tar.gz...
2021-12-29T14:06:21.8637855Z -- Extracting source /mnt/vcpkg-ci/downloads/minio-minio-cpp-0847e56f31e13d32c924029d5ffaa865f8396462.tar.gz
2021-12-29T14:06:21.8845625Z -- Using source at /mnt/vcpkg-ci/buildtrees/minio-cpp/src/65f8396462-29483391f8.clean
2021-12-29T14:06:21.8853887Z -- Configuring x64-linux-dbg
2021-12-29T14:06:22.7267268Z -- Configuring x64-linux-rel
2021-12-29T14:06:23.5683213Z -- Building x64-linux-dbg
2021-12-29T14:06:24.6156627Z CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
2021-12-29T14:06:24.6158902Z     Command failed: /mnt/vcpkg-ci/downloads/tools/cmake-3.21.1-linux/cmake-3.21.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j33
2021-12-29T14:06:24.6160328Z     Working Directory: /mnt/vcpkg-ci/buildtrees/minio-cpp/x64-linux-dbg
2021-12-29T14:06:24.6161308Z     See logs for more information:
2021-12-29T14:06:24.6162230Z       /mnt/vcpkg-ci/buildtrees/minio-cpp/install-x64-linux-dbg-out.log
2021-12-29T14:06:24.6163332Z       /mnt/vcpkg-ci/buildtrees/minio-cpp/install-x64-linux-dbg-err.log
2021-12-29T14:06:24.6163816Z
2021-12-29T14:06:24.6164337Z Call Stack (most recent call first):
2021-12-29T14:06:24.6165361Z   /mnt/vcpkg-ci/installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
2021-12-29T14:06:24.6166248Z   /mnt/vcpkg-ci/installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
2021-12-29T14:06:24.6166970Z   ports/minio-cpp/portfile.cmake:15 (vcpkg_cmake_install)
2021-12-29T14:06:24.6167375Z   scripts/ports.cmake:142 (include)

@kkzi ,
In https://github.com/minio/minio-cpp/blob/0847e56f31e13d32c924029d5ffaa865f8396462/CMakeLists.txt#L118:
install(FILES ${CMAKE_BINARY_DIR}/miniocpp.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig)

The CMAKE_INSTALL_DATAROOTDIR is empty and you should add -DCMAKE_INSTALL_DATAROOTDIR=DIR to vcpkg_configure_cmake.

This needed some changes, so I made them; merging as soon as this finishes running.

Thanks @kkzi!


Remove unnecessary permission

Issue

Overview (Required)

Remove unnecessary permission

Links

Screenshot

Before
After

ref: https://github.com/DroidKaigi/conference-app-2017/pull/100#discussion_r99532402

@kobakei
Thank you for quick handling. LGTM!


Implementation of gradient background color

Description
A gradient background color with the same hex values as the logo would suit much better than a plain white background.

@anubhav1206 Can you properly specific where do you need a gradient background instead of plain white background?

@anubhav1206 Can you properly specific where do you need a gradient background instead of plain white background?

The bg color of the entire page could be gradient to make it look 'different'.

I get your point but the website contains most of the docs which will be difficult to be read in gradient background instead of plain white.
You can discuss more of your ideas in slack too can get other people's opinion on it

I get your point but the website contains most of the docs which will be difficult to be read in gradient background instead of plain white. You can discuss more of your ideas in slack too can get other people's opinion on it

That's a fair point, thanks.

@Savio629 hoe you are doing well, I would like to work on this issue


add private ip address for openstack driver

Signed-off-by: Zhang, Jie<EMAIL_ADDRESS>

cc @ggiamarchi WDYT

Hi @xinxian0458, I don't understand the purpose of this PR. Can you explain?

@dgageot, In my environment, I need to know both the floating ip address and private ip address of the machine created in the openstack. but the current openstack driver only provide one ip address, I can't get its private ip address if i set the openstack-floatingip-pool.

I'm really confused by this PR. I understand that it's goal is to add the machine's private ip in the config.json. The config.json is mainly an internal format and shouldn't be used by external tools.
So, until I better understand the goal, I`m going to NotLGTM

Easier, I would suggest:
Always use the private network.
If also a floating IP is needed, as the very latest step in machine's provisioning, allocate that additional port from the floating pool.

@fsoppelsa If I understand correctly, there's a way to achieve @xinxian0458's goal without this PR. Right?
In that case, I'd like to close the PR. @fsoppelsa @xinxian0458 wdyt?

@dgageot well, my suggestion is to use the private network always for dm, and add some code in the very end to enable a floating IP.
This PR is not about this, it's adding things that IMHO are too much.
Getting the machine's floating or internal, is a matter of using the Nova APIs or even the CLI.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:xinxian0458/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~279
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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


OOM while running Flutter tests on Windows bot

As seen in https://ci.chromium.org/p/flutter/builders/prod/Windows/6518
05:36 +0 -1: loading C:\b\s\w\ir\k\flutter\dev\automated_tests\test_smoke_test\syntax_error_test.broken_dart [E]
  Failed to load "C:\b\s\w\ir\k\flutter\dev\automated_tests\test_smoke_test\syntax_error_test.broken_dart":
  Compilation failed
  Test: C:\b\s\w\ir\k\flutter\dev\automated_tests\test_smoke_test\syntax_error_test.broken_dart
  Shell: C:\b\s\w\ir\k\flutter\bin\cache\artifacts\engine\windows-x64\flutter_tester.exe
05:36 +0 -1: Some tests failed.

Exhausted heap space, trying to allocate<PHONE_NUMBER>2 bytes.
Compiler message:
Warning: Tried to initialize from a previous compilation (file:///C:/b/s/w/ir/k/flutter/dev/automated_tests/build/testfile.dill), but couldn't.
Error message was 'Out of Memory'.
Stacktrace included '#0      List._grow (dart:core-patch/growable_array.dart)
#1      BinaryBuilder._indexComponents (package:kernel/binary/ast_from_binary.dart:169:36)
#2      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:453:36)
#3      IncrementalCompiler.initializeFromDill (package:front_end/src/fasta/incremental_compiler.dart:635:14)
#4      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#5      _rootRunUnary (dart:async/zone.dart:1132:38)
#6      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#7      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#8      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#9      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#10     Future._complete (dart:async/future_impl.dart:473:7)
#11     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#12     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#13     _rootRun (dart:async/zone.dart:1124:13)
#14     _CustomZone.run (dart:async/zone.dart:1021:19)
#15     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#18     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#19     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)
'.
This might be a bug.

This looks like a duplicate of https://github.com/dart-lang/sdk/issues/37042

Closing as duplicate.


Generation of models / domain objects with amplify codegen

Is your feature request related to a problem? Please describe.
In our Angular Project, we use Typescript classes for our Models / Domain Objects. These classes are written manually.
For Example this schema:
type Blog @model {
  id: ID!
  name: String!
  posts: [Post] @connection(name: "BlogPosts")
}
type Post @model {
  id: ID!
  title: String!
  blog: Blog @connection(name: "BlogPosts")
}

Could be transformed too:
export class Blog {
  id: string;
  name: string;
  posts: Post[] = [];
}

export class Post {
  id: string;
  title: string;
  blog: Blog;
}

Describe the solution you'd like
amplify codegen could generate these classes.
Or does the functionality already exist and I have overlooked it?

Hey @yuth, related to your response above, we have an ionic (Angular) project where we don't use @model annotations or amplify push, but we instead created a Graphql schema in the appsync console (and generated a DDB data model from there).
When we run amplify codegen we only get the following:
➜  raptor-appsync-chat git:(master) ✗ amplify codegen
✔ Downloaded the schema
✔ Generated GraphQL operations successfully and saved at src/graphql
✔ Code generated successfully and saved in file src/API.ts

The introspection schema is downloaded and mutation, subscription and query types are generated, but no src/app/API.service.ts is generated, nor types similar to the ones described above which seem to only be generated using amplify push
export class Blog {
  id: string;
  name: string;
  posts: Post[] = [];
}

Is there a way for us to generate the Angular service and the types without using amplify push?
Thanks for all the hard work on this awesome product.
cc. @HannaSanford

This feature would be very much needed


Automatically create milestones as defined in configuration

Related to Problem
This is a two-fold problem. Every single software project using Inkling Flow should have a stable 1.0.0 and 0.1.0 version. 0.1.0 is the first release, and 1.0.0 is the first time a piece of software is stable.

For those curious to why we don't follow the idea of using SemVer exactly as written and incrementing the major version whenever there's a backwards-breaking change: there are too many extremely quick, backwards-incompatible changes in the start of development, especially in a prototyping period. If we're worried about versioning when designing software quickly, it's going to be painful and it will detract from the software development experience. This is why 1.0.0 is dedicated to a feeling of "okay, we have a semblance of stability now. Things might not break randomly anymore." You don't have to follow this philosophy, but it's still here in our process: Inkling Flow.

It's also very easy to forget to create a milestone. To counteract this, we will create automatic bugfix, minor, and major milestone increment milestones when needed. If issues are assigned to milestones that are a higher SemVer version than a milestone without issues assigned and the milestone is older than 7 days, the empty milestone is deleted.
With these workflow changes, it is likely that some power users will be able to avoid needing to write stuff in commit messages completely.
Preferred Solutions
Everything is outlined above.
Workarounds
This entire project is to avoid the manual way: the workaround.
Screenshots and Other Context
N/A.

Obviously this should be non-backwards incompatible and configurable. Sane defaults set the automatic milestone creation that can be turned off. This needs to be detailed properly in README.md.

0.1.0 should be created if no milestones exist. This should be a very common thing people want, so enable it by default.

This is now part of the core software definition.


Post and Auto Map Projects in Batches

taken care here https://github.com/fylein/fyle-netsuite-api/pull/90


FieldInfo.SetValue(object, object) passes null rather than Type.DefaultBinder.

Fixing this is blocked by a toolchain issue - opening issue for tracking.

The toolchain fix is checked in


[WebUI] Model Conversion

Initial Draft of the WebUI Model Conversion.
DONE:

A new convert button (icon placeholder) will show up next to non-Diffusers models.
Clicking the button converts the model to diffusers and updates the model manager with the new diffusers version for that model replacing the ckpt version.

TO DO:

Handle inpainting edge cases.
Handle edge cases where there is a custom config file.
Refine the UI.

From my experience with the CLI just now, you will need to disable the convert button for the active model if you don't do that already.

From my experience with the CLI just now, you will need to disable the convert button for the active model if you don't do that already.

I did. And its also disabled on all diffusers models.

I moved the Model Conversion to a new component. You'll find it as a button in the edit tab of your checkpoint model. Clicking it will now give you some help info and also ask you to tag it as an inpainting model or a model that has a custom config. If you select a custom config, it'll let you submit that file.
Backend support for inpainting and custom config needs to be added still. Inpainting conversion should work per the code but its broken and it freezes in memory forcing a PC restart. Need to look into it.

Okay. All good to go excpet the inpainting freezing up in memory. Maybe @lstein can have a look at it.
@psychedelicious Can you take a look and see if you can add in the status messages and refine the ux for the conversion process a bit? I already added the strings and set the progress update but that was not being recognized for some reason.
Might have to afk for a while coz the cyclone has begun and the rains are kicking in now.

Added support for v2 models.

@psychedelicious @lstein Okay. More or less done. I added all the changes we discussed Licoln.
I need to head out now but if @psychedelicious wants to go through and make any changes or improvements, that'd be great.
@hipsterusername @netsvetaev Give the PR a test and see how it feels. Report bugs pls.

Great! I'll be back to test this Sunday morning, EST time.

One thing you might want to do before the merge is to update the manual at docs/installation/050_INSTALLING_MODELS.md to show the conversion option and bring the screenshots up to date. Feel free to move the WebUI model management section to the top. Right now it leads off with CLI instructions.

I feel a bit silly, but I cannot figure out how to access this UI. I downloaded a ckpt model and added it via model manager but cannot find the UI in the screenshots. Pls send help

I feel a bit silly, but I cannot figure out how to access this UI. I downloaded a ckpt model and added it via model manager but cannot find the UI in the screenshots. Pls send help

When you click on the model, on the Edit page, there should be an option saying 'Convert To Diffusers' .. does it not show?

Edit a checkpoint model and look at the upper right. The button is a bit hard to spot. I also initially had issues with the frontend build and had to go through the yarn build, reset WebGUI protocol.

Finally got my local env figured out, issues addressed, and frontend is all good now. (This was a me problem...)
Everything looks good!

This needs a review from @psychedelicious as the code owner. Also would like him to test it if he has the time coz it's a big feature. But it seems robust for most part. Except maybe could use a little more user feedback during the conversion process.

Ok, the model conversion worked great.
I would request two changes:

Add a tooltip to save location options to clarify where they will go
Change the status message to Converting Model to Diffusers during conversion, and to Model Converted when finished

@psychedelicious Lol those were the two changes I was hoping you'd find the time to add. I cannot get on the PC yet. If you can't, I'll do it up when I'm back on the system.


[enhancement] provide pre-built .iso for release

as the name suggests

I would be interested in this feature, and I could maybe provide some help, but I don't know how to build such an .iso file

@AkechiShiro thanks for your interest. It's actually quite easy.
you have to grab alpha release and run nix build within the extracted folder, it will produce the .iso file which you can easily use as regular Linux .iso file.
The only thing is - GitHub is limiting the size of release files (if I remember correctly, it's 1Gb) and RedNixOS v0.1-alpha .iso file is over 6Gb (!). Hence, we need to have a place to store the pre-built .iso files for each release.
I've thought about using RuTracker or setting up a proper torrent box, since the file is quite big, the torrent way of distribution sounds great. If not this, SourceForge also sounds promising, but I haven't looked much into this solution.
All kind of suggestions/help is welcome.

I suggest using either Git-LFS for that and also for the storage server I'm not sure if Git-LFS can handle it too

Also so release could be automatically rolled out with CI/CD no ? Using Github Actions

@AkechiShiro thanks for your interest. It's actually quite easy.
you have to grab alpha release and run nix build within the extracted folder, it will produce the .iso file which you can easily use as regular Linux .iso file.
The only thing is - GitHub is limiting the size of release files (if I remember correctly, it's 1Gb) and RedNixOS v0.1-alpha .iso file is over 6Gb (!). Hence, we need to have a place to store the pre-built .iso files for each release.
I've thought about using RuTracker or setting up a proper torrent box, since the file is quite big, the torrent way of distribution sounds great. If not this, SourceForge also sounds promising, but I haven't looked much into this solution.
All kind of suggestions/help is welcome.

This should be thoroughly documented in the repo also.

Actually this is documented in project's wiki, sorry if that wasn't clear.
Git-LFS - I dunno if it will handle that
yeah we can automatically do CI/CD with GH actions as well, but that again should push it to some kind of remote where releases would be stored


Relative height of bars does not increase as expected on data update

When updating chart data dynamically, the relative heights of bars do not adjust correctly unless the LinkedChart component is reloaded.
Before data update (furthest left bar is 270, furthest right bar is 191):

After dynamic data update (furthest left bar is 270, furthest right bar is 396):

After reload of component (furthest left bar is 270, furthest right bar is 396 :

Thanks! This should be fixed in 1.4.2 with 0db39c048c4b23451b7859927ea38d4af881a464

Confirmed as fixed for me in 1.4.2. Thanks for the quick response!


Generated from<PHONE_NUMBER>caa6801163df3c13f93f5e25eb6878

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/AzureSDKAutomation/azure-cli-extensions.git@sdkAutomation/datadog#subdirectory=src/$EXT&egg=$EXT"

Please refine the PR title for datadog.

hi @fengzhou-msft could you pls help to follow up this datadog PR? thanks

Created the new PR: https://github.com/Azure/azure-cli-extensions/pull/2545

@limingu  can we close this PR?


about train

PS F:\Studying\CY-Workspace\MonoScene-master>  python monoscene/scripts/train_monoscene.py dataset=kitti enable_log=true kitti_root=$KITTI_ROOT kitti_preprocess_root=$KITTI_PREPROCESS kit
ti_logdir=$KITTI_LOG n_gpus=1 batch_size= 1
LexerNoViableAltException: 1
^
See https://hydra.cc/docs/next/advanced/override_grammar/basic for details
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Hi @cyaccpect
I think the error comes from the space between
batch_size= 1

thank you for your answer，I am beginner in this area. I have correted the error above ,but I get new question
PS F:\Studying\CY-Workspace\MonoScene-master>  python monoscene/scripts/train_monoscene.py dataset=kitti enable_log=true kitti_root=$KITTI_ROOT kitti_preprocess_root=$KITTI_PREPROCESS kit
ti_logdir=$KITTI_LOG n_gpus=1 batch_size=1
exp_kitti_1_FrusSize_8_nRelations4_WD0.0001_lr0.0001_CEssc_geoScalLoss_semScalLoss_fpLoss_CERel_3DCRP_Proj_2_4_8
n_relations 4
Using cache found in C:\Users\DELL/.cache\torch\hub\rwightman_gen-efficientnet-pytorch_master
Loading base model ()...Done.
Removing last two layers (global_pool & classifier).
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
initializing ddp: GLOBAL_RANK: 0, MEMBER: 1/1
Traceback (most recent call last):
File "monoscene/scripts/train_monoscene.py", line 184, in main
trainer.fit(model, data_module)
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 522, in fit
self._run(model)
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 829, in _run
self.accelerator.setup_environment()
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\accelerators\gpu.py", line 30, in setup_environment
super().setup_environment()
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\accelerators\accelerator.py", line 81, in setup_environment
self.training_type_plugin.setup_environment()
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\plugins\training_type\ddp.py", line 165, in setup_environment
self.setup_distributed()
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\plugins\training_type\ddp.py", line 255, in setup_distributed
self.init_ddp_connection()
File "F:\anaconda\envs\monoscene\lib\site-packages\pytorch_lightning\plugins\training_type\ddp.py", line 324, in init_ddp_connection
self.torch_distributed_backend, rank=global_rank, world_size=world_size
File "F:\anaconda\envs\monoscene\lib\site-packages\torch\distributed\distributed_c10d.py", line 434, in init_process_group
init_method, rank, world_size, timeout=timeout
File "F:\anaconda\envs\monoscene\lib\site-packages\torch\distributed\rendezvous.py", line 82, in rendezvous
raise RuntimeError("No rendezvous handler for {}://".format(result.scheme))
RuntimeError: No rendezvous handler for env://
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

I guess you are running on Window. I never try the code on Window.
However, I think the code will not work on Window BECAUSE we use "ddp" accelerator for multi-GPUs training, which is not supported on Window.
I suggest you run it on Linux e.g. Ubuntu

you are right,I will try it on ubuntu again, very very very thank you！！Wish everything goes well with your work!

You too, thank you very much for your kind words!
Good luck with your research!


feat: mvi filter expressions

chore: bump momento-wire-types dep
chore: ignore warning about isintance
feat: implement filter expression data model

Leaving here for early review of data model and UI/UX.


Error: Data types don't match while using more than 2946 rows newline delimited JSON data

Have you tried latest version of polars?

yes

What version of polars are you using?
nodejs-polars 0.7.4
What operating system are you using polars on?
Microsoft Windows 11 Home v.10.0.22621 Build 22621
What node version are you using
node 16.18.0
Describe your bug.
Data types don't match error raised while using more than 2946 rows newline delimited JSON data.
What are the steps to reproduce the behavior?
const { scanJson } = require("nodejs-polars")

const filename= "_hashtags-with-error.json"
const df = scanJson(filename, { inferSchemaLength: -1 }).collectSync()

Data I am using:
https://gist.github.com/epb984/d386ac436285b047ad5c7e25251c9b09
What is the actual behavior?
Error: Data types don't match: cannot vstack: because column datatypes (dtypes) in the two DataFrames do not match for left.name='hashtags' with left.dtype=list[str] != right.dtype=i32 with right.name='hashtags'
    at Object.collectSync (C:\rg-2023\node_modules\nodejs-polars\bin\lazy\dataframe.js:63:53)
    at Object.<anonymous> (C:\rg-2023\manualscan.js:9:58)
    at Module._compile (node:internal/modules/cjs/loader:1155:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
    at Module.load (node:internal/modules/cjs/loader:1033:32)
    at Function.Module._load (node:internal/modules/cjs/loader:868:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  code: 'GenericFailure'
}

What is the expected behavior?
execution finish with no error triggered

@epb984 have you tried with the latest version? 0.8.2 ? There have been quite a few bugfixes upstream since 0.7.4

Confirmed this is an issue on the latest version & upstream polars.

@epb984  This seems to be fixed in nodejs-polars==0.9.0

thankyou @Bidek56


First pass at getting v6 to work.

Credit to @e-im for resolving dependency and repository issues. I'm just compiling their changes.

thank you - definitely awesome stuff.


Windows 7 - CouchDB service does not startup correctly

I am installing the latest version 2.2.0 of couch db on my windows 7 laptop. After installation, I'm unable to startup Couchdb.
Expected Behavior
CouchDB to startup correctly after installation.
Current Behavior
After installation, service starts up, but I'm unable to hit the http://localhost:5984 URL.
When I check the log files (couch.log), I see the following error:
`[info] 2018-09-25T13:22:21.315000Z couchdb@localhost <0.7.0> -------- Application couch_log started on node couchdb@localhost
[info] 2018-09-25T13:22:21.334000Z couchdb@localhost <0.7.0> -------- Application folsom started on node couchdb@localhost
[info] 2018-09-25T13:22:21.373000Z couchdb@localhost <0.7.0> -------- Application couch_stats started on node couchdb@localhost
[info] 2018-09-25T13:22:21.373000Z couchdb@localhost <0.7.0> -------- Application khash started on node couchdb@localhost
[info] 2018-09-25T13:22:21.389000Z couchdb@localhost <0.7.0> -------- Application couch_event started on node couchdb@localhost
[info] 2018-09-25T13:22:21.405000Z couchdb@localhost <0.7.0> -------- Application ibrowse started on node couchdb@localhost
[info] 2018-09-25T13:22:21.405000Z couchdb@localhost <0.7.0> -------- Application ioq started on node couchdb@localhost
[info] 2018-09-25T13:22:21.405000Z couchdb@localhost <0.7.0> -------- Application mochiweb started on node couchdb@localhost
[info] 2018-09-25T13:22:21.420000Z couchdb@localhost <0.198.0> -------- Apache CouchDB 2.1.2 is starting.
[info] 2018-09-25T13:22:21.420000Z couchdb@localhost <0.199.0> -------- Starting couch_sup
[error] 2018-09-25T13:22:21.420000Z couchdb@localhost <0.202.0> -------- CRASH REPORT Process  (<0.202.0>) with 0 neighbors exited with reason: "The specified module could not be found." at gen_server:init_it/6(line:344) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {couch_drv,init,['Argument__1']}, ancestors: [couch_primary_services,couch_sup,<0.198.0>], messages: [], links: [<0.201.0>], dictionary: [], trap_exit: false, status: running, heap_size: 376, stack_size: 27, reductions: 125
[error] 2018-09-25T13:22:21.420000Z couchdb@localhost <0.198.0> -------- Error starting Apache CouchDB:
{error,{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"The specified module could not be found."}}}}}

[error] 2018-09-25T13:22:21.436000Z couchdb@localhost <0.201.0> -------- Supervisor couch_primary_services had child collation_driver started with couch_drv:start_link() at undefined exit with reason "The specified module could not be found." in context start_error
[error] 2018-09-25T13:22:21.436000Z couchdb@localhost <0.199.0> -------- Supervisor couch_sup had child couch_primary_services started with couch_primary_sup:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,collation_driver,"The specified module could not be found."}} in context start_error
[error] 2018-09-25T13:22:21.436000Z couchdb@localhost <0.197.0> -------- CRASH REPORT Process  (<0.197.0>) with 0 neighbors exited with reason: {{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"The specified module could not be found."}}}},{couch_app,start,[normal,[]]}} at application_master:init/4(line:134) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {application_master,init,['Argument__1','Argument__2',...]}, ancestors: [<0.196.0>], messages: [{'EXIT',<0.198.0>,normal}], links: [<0.196.0>,<0.7.0>], dictionary: [], trap_exit: true, status: running, heap_size: 610, stack_size: 27, reductions: 139
[info] 2018-09-25T13:22:21.436000Z couchdb@localhost <0.7.0> -------- Application couch exited with reason: {{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"The specified module could not be found."}}}},{couch_app,start,[normal,[]]}}`
My Environment

Version used: CouchDB 2.2.0 x64 Windows
Operating System and version: Windows 7 Professional SP1

@kipkuch Hi there, I can't reproduce this on my Win 7 Professional SP1 laptop.
Did you previously have another version of CouchDB installed first? Did you completely remove that version if so?
Did you install CouchDB to a path without spaces, such as C:\CouchDB? The installer warns that CouchDB won't work right if you install to a path with spaces such as C:\Program Files\CouchDB.


#1267 - order by broken in pagination logic (reverts #1220)

This PR reverts #1220 and merges #1264

Thanks @Ocramius!


Style change in /business

For the /business/ page, I rearranged some stuff so that when a business is selected, instead of opening a whole new page that requires us to render everything and fetch the data again, the page layout will change to something like this:
Before selecting

After selecting

The plan was to use the empty space on the second pic for editing the business/products and also for displaying the list of products (an outlet to the products page).
Branch
(Yes, I know it's on the wrong branch but it was too late when I realized that something's wrong)
@florentianayuwono can you check this branch (fetch, pull, and then run locally) and merge if everything's good to go. If everything's good, I can then go and finish creating the product feature and the rest of the basic features ASAP.

Hi, yes, I have tried to run it locally but while it compiled without errors, there are some errors regarding useEffect that I think result in a blank page when rendering.
src\pages\BusinessParticular\DisplayBusinessParticular.jsx
Line 40:6:  React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
src\pages\Dashboard.jsx
Line 26:6:  React Hook useEffect has a missing dependency: 'nav'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
I have tried looking at this article and adding the in-line // eslint-disable-line react-hooks/exhaustive-deps but while the warnings disappear, the blank page still persists.

Also, for now you do not have to stress about design/display. Can just write code with crude design and I will improve it :D thank you!

UPDATE: Okay. apparently the blank page is only in my localhost. When I switch to running it using IP address it works and I can see the changes! Nice!
TAKE NOTE: I have added the // eslint-disable-line react-hooks/exhaustive-deps line in order to make the warnings disappear, but I will not push this. I guess this is just because it is run locally (?) Not sure, but based on the articles I have provided seems like not a good practice to add this line.

Here are the complete warnings when run locally:
Compiled with warnings.
src\components\InputBusinessParticular.js
Line 42:5:    'platform' is assigned a value but never used
no-unused-vars
Line 83:6:    React Hook useEffect has a missing dependency: 'nav'. Either include it or remove the dependency array                                                                                react-hooks/exhaustive-deps
Line 320:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
Line 323:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
Line 326:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
src\features\business\businessServices.js
Line 104:7:  'deleteBusiness' is assigned a value but never used  no-unused-vars
src\pages\BusinessParticular\DisplayBusinessParticular.jsx
Line 40:6:  React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
src\pages\Dashboard.jsx
Line 26:6:  React Hook useEffect has a missing dependency: 'nav'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
WARNING in src\components\InputBusinessParticular.js
Line 42:5:    'platform' is assigned a value but never used
                                                   no-unused-vars

Line 83:6:    React Hook useEffect has a missing dependency: 'nav'. Either include it or remove the dependency array
                                                   react-hooks/exhaustive-deps

Line 320:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
Line 323:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
Line 326:17:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
src\features\business\businessServices.js
Line 104:7:  'deleteBusiness' is assigned a value but never used  no-unused-vars
src\pages\BusinessParticular\DisplayBusinessParticular.jsx
Line 40:6:  React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
src\pages\Dashboard.jsx
Line 26:6:  React Hook useEffect has a missing dependency: 'nav'. Either include it or remove the dependency array  react-hooks/exhaustive-deps


lack of tests checking for authorization

There are a lack of route/api tests that check to see if user management actions fail if user does not have Manager or Admin role. There are also no route/api tests that check to see if managers can perform actions, only admins currently.

closed by #22

closed by #22


Added a handler for SSH env.

This adds support for setting environment variables through the SSH "env" type.
I don't know how common it is to set environment variables this way, but I notice that most clients do send at least some LC_* variables. Is this something that would be useful to have in sshfront?

Definitely. Nice and clean too. Thanks.


cleanhttp.go error when docker building

The docker build is giving me this error:
...
(36/36) Installing mercurial (3.8.2-r0)
Executing busybox-1.24.2-r12.trigger
Executing ca-certificates-20161130-r0.trigger
OK: 414 MiB in 47 packages
# github.com/hashicorp/go-cleanhttp
../../hashicorp/go-cleanhttp/cleanhttp.go:29: unknown http.Transport field 'DialContext' in struct literal
../../hashicorp/go-cleanhttp/cleanhttp.go:30: unknown http.Transport field 'MaxIdleConns' in struct literal
../../hashicorp/go-cleanhttp/cleanhttp.go:31: unknown http.Transport field 'IdleConnTimeout' in struct literal
The command '/bin/sh -c cd /src && ./build.sh "$(cat VERSION)"' returned a non-zero code: 2

Any ideas?

Duplicate of #262


On QueryRouterParserError queries will go to role "any" (primary or replica) instead of default_role or primary

Describe the bug
We have some queries that are failing parsing, and you would expect that they'd fall back to the primary, or at least the default_role set but instead they are being load balanced across primary and replica.
To Reproduce
Steps to reproduce the behavior:

Create a pool with the following config:

[pools."your_pool"]
pool_mode = "transaction"
load_balancing_mode = "loc"
default_role = "primary"
query_parser_enabled = true
query_parser_read_write_splitting = true
primary_reads_enabled = true

Execute a query that might fail parsing
Observe where query is routed. You will notice it is load balanced across primary or replica

Expected behavior
The query should be routed to primary or default_role

I think we need to either set the active_role to primary or set to the configured default role here: https://github.com/postgresml/pgcat/blob/b37d10518452334ea357012370901d0901cd0290/src/client.rs#L972
I think primary would be safer.
@drdrsh thoughts?


Make it work on website root

Works only in a subfolder. Surely a mishap with nginx's root, alias and location;

Solved in 2b58401. Install script provides different nginx.conf files depending on the YNH_WWW_PATH.


Single inheritance with different namespace classes

Core\Post
Core\Author
Other\AudioPost
Other\VideoPost

<database namespace="Core">
...

  ...
        <column name="class_key" type="INTEGER" inheritance="single" >
            <inheritance key="1" class="Post" />
            <inheritance key="2" class="AudioPost" extends="Post" package="other" />
            <inheritance key="3" class="VideoPost" extends="Post" package="other" />
        </column>

 ...

calling :

foreach ( PostQuery::create()->find() as $post ) ...

return :

Fatal error: Class 'Post' not found in ...BasePostPeer.php

PropelModelPager->getIterator( )	..\PropelModelPager.php:76
PropelModelPager->getResults( )	..\PropelModelPager.php:391
ModelCriteria->find( ??? )	..\PropelModelPager.php:101
PropelObjectFormatter->format( ??? )	..\ModelCriteria.php:1139
PropelObjectFormatter->getAllObjectsFromRow(  [...] )	..\PropelObjectFormatter.php:49
Core\om\BasePostPeer::populateObject( [...], 0,FALSE )	..\PropelObjectFormatter.php:87

populateObject call getOMClass with-out-Prefix that returns "Post" without a namespace.
Needs to improve a behaviour?

Only consistent solution is extends single inheritance with a new attribute called 'namespace', becouse dot-notation for package may not be convertible to namespace-path.
We have to edit PHP5PeerBuilder to add new constant like OM_CLASSNAME_n.

I don't even have to define the package="other" attribute. (Is this attribute documented anywhere?)
For those interested in a quick workaround: In my case it was enough to add the following function in my concrete Peer class. It has the behavior of the BasePeers with namespace, but without inheritance:

Return dot-Notation without Namespace if $withPrefix is true.
Return The full qualified class name if $withPrefix is false.

	public static function  getOMClass($row, $colnum, $withPrefix = true){
		$result = parent::getOMClass($row, $colnum, $withPrefix);
		if (!$withPrefix){
			$result =  __NAMESPACE__.'\\'.$result;
		}
		return $result;
	}

Perhaps it's enough to add similar logic to the BasePeer, as I don't see a possibility to define inheriting classes in different namespaces via the inheritance-Tag.

It's a little more complicated than that. I've reworked the patch.

Done: https://github.com/propelorm/Propel/commit/5ce2674de7a1a255845e3d23cf6ed48417c9cd26


Add watchdog File

When the CPU load falls below a certain level, the app will restart.

new trial
I hope this is the right way


Credit Transfer | Adjust zero dollar per credit language on credit transfer view screen |1|

https://trello.com/c/dR2B0TK5/980-credit-transfer-adjust-zero-dollar-per-credit-language-on-credit-transfer-view-screen-1
Task:
This card is to revise the first part of the sentence explaining the reason for the zero dollar per credit value for a credit transfer proposal. This sentence is accessible on the credit transfer view screen (screenshot attached).
Current:
"This credit transfer has zero-value per-credit because:" (screenshot attached)
Revised:
"The fair market value per credit is zero because:"

 Credit Transfer | Adjust zero dollar per credit language on credit transfer view screen |1|


refactor: allow more flexibility in the types of imports/exports

Allows exports with any number of arguments and either 0 or 1 return value

These can be any native Wasm type: I32, I64, F32, F64
__arg_start is called to push a new call onto the argument stack (a global Vec<Vec<JSValue>>), then for each argument an arg function like __arg_i32 or __arg_f32 gets called, this pushes the value to the end of the vector at the the top of the stack, then when a function is called it pops the top Vec<JSValue> off of the stack to use as its arguments.

Allows imports with up to 5 I64 arguments and either 0 or 1 I64 return value

Since each of these signatures need to be implemented statically (__invokeHostFunc_1_1, __invokeHostFunc_2_1, ...) , there are too many combinations to allow for any type to be used
Adds a new prelude function: Host.invokeFunc0 to call a host function that takes 0 arguments
Host.invokeFunc and Host.invokeFunc0 determine the number of arguments passed and select the proper __invokeHostFunc_$nparams_$nresults function to call

Uses https://github.com/dylibso/wagen for code generation
Switches to use wasm-opt instead of binaryen crate

We already require a binaryen installation for wasm-merge, it seems like a lot for this to include its own copy too
Also gets rid of that warning that was being displayed

Backward compatible: none of the examples require adjusting, I think this change is mostly backward compatible.

Awesome work. I've tested this using a Go plugin to call a JS export as a host function and it works great.
I will do more testing with it tonight.. curious if you have any specific paths that you'd like me to focus on?

Thanks for taking a look!

curious if you have any specific paths that you'd like me to focus on?

I think just testing it out is the most helpful
One future improvement worth calling out is the ability to use types like string or object in the d.ts file, which would automatically get converted from an I64 parameter/result. I have started working on that, but it complicates things a little bit so it seems better to get these changes in first.

One future improvement worth calling out is the ability to use types like string or object in the d.ts file, which would automatically get converted from an I64 parameter/result. I have started working on that, but it complicates things a little bit so it seems better to get these changes in first.

This sounds nice!!


Fixed typo in index.md

Quick typo fix in index.md

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


Multiple administration accounts (and permission levels)

It would be very nice to have the possibility for different accounts and to have the option for setting up different permissions for them. For example Unbanning as a seperate permisson, acess to the Admininterface ...

I like this idea!

A good idea could be also to add an option for those who are not signed in that they could only see bans that are associated with their IP.

Yup, but we need a separate issue for that :)

So you want something like at https://ftbastler.github.io/BoNeMEAL/ ?

This idea would be great

I was actually going to suggest this myself but I then found this and I would like to say I would really like if they could make it for different user accounts, such as all admins on the server can have a different Username and Password to login and make any changes they would need to make within the Ban Management Website

Yes, that is what is planned and everything is already laid out to support this.

Any updates on this?

@StealthBravo I'm afraid not, no. However, I believe I've covered what would need implementing over at http://dev.bukkit.org/bukkit-plugins/ban-management/tickets/54-appeal-a-ban-from-ban-management/?comment=18 quite some time ago. to handle this as well as other scenarios

Being covered in #153


Install other theme

AWESOME toolkit! Dare I say way better than SAGE!
Question.....if one wanted to install another boilerplate theme instead of what you have there....how would  you recommend going about it? child-theme? overriding theme and assets folder( BTW AWESOME idea to separate the assets from php)

Hey, thanks for the good word, it is really appreciated!
Using wp-theme-starter as child theme
In my mind the easiest should be using the wp-theme-starter as a child theme of the other boilerplate you want to use. In order to use wp-theme-starter as a child theme all you need to do is specify the parent theme's directory as the parentTheme property in the project.config.js file.
Once you've done that you can develop your child theme almost exactly as you normally would. Just note the following: When you want to override a template/file, the "root" of your theme, in terms of the php files, is in the theme folder within the wp-theme-starter. So if you wanted to override some files located in the parent theme like:
|- parent-theme
    |- assets
    |- inc
        |- other-file-to-change.php
    |- lib
    |- single-to-change.php
    ...

you simply have to copy that structure within the theme directory of the child theme:
|- child-theme_dev
    |- assets
    |- gulp
    |- theme
        |- inc
            |- other-file-to-change.php
        |- single-to-change.php
    ...

Using the boilerplate entirely within wp-theme-starter
The other option you have, where you want use the boilerplate as a starting point and you don't mind making changes to it, is: Empty out the theme folder in wp-theme-starter and drop in all the php files of your boilerplate, then take the boilerplate's assets files and put them in wp-theme-starter's assets folder making sure to maintain the top level structure of the assets folder (put images in img, put scss in scss, put js in js etc).
Once you've done that you shouldn't have much trouble working on those files like you normally would aside from possibly having to refactor some of your javascript to work better with webpack.

thanks...did that!


Replace the MLH Fellowship logo with the MLH Prep logo

When you go to the project page, it shows the MLH Fellowship logo at the top. It would be great to replace this with the Prep logo and make sure that's used throughout the website!

This is a 1 min fix @akshitadixit our team would like to work on this


Ground items hidden items resetting to default

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
The ground items plugin refills my hidden items with the default hidden items if there are none when I close and reopen runelite.
To Reproduce

Enable ground items plugin on the configuration sidebar and then open its plugin configuration
Delete all the text in the hidden items list field
Drop vial/ashes/coins/bucket/bones/jug/seaweed on the ground to see that it displays the overlay, then pick it up again
Log out and close runelite and then reopen runelite and log in again
Drop the same item on the ground to see there is no overlay
Open the ground items plugin configuration again to see the hidden items list field is filled again with "Vial, Ashes, Coins, Bones, Bucket, Jug, Seaweed"

Expected behavior
The hidden items list field should remain blank when runelite closed and reopened
Screenshots
If you don't understand please ask and I can screenshot something you need
Environment (please complete the following information):

OS: Windows 10
RuneLite version: 1.8.14
Launcher version: 2.3.0

Duplicate of #8457

Thank you @Nightfirecat for finding that the workaround https://github.com/runelite/runelite/issues/8457#issuecomment-564522544 works for me


 I'm showing bubble on background notification. Tried to look at the java codes I couldnt do anything
  setBackgroundMessageHandler(props){
        console.log('setBackgroundMessageHandler listener');
        // To display the bubble over other apps you need to get 'Draw Over Other Apps' permission from androind.
        // If you initialize without having the permission App could crash
        if(Platform.OS === 'android'){
            requestPermission().then(() => console.log("Permission Granted")).catch(() => console.log("Permission is not granted"))

            // Initialize bubble manage
            initialize().then(() => console.log("Initialized the bubble mange"))
        }
        return firebase.messaging().setBackgroundMessageHandler(async remoteMessage => {
            if(Platform.OS === 'android'){
            // Show Floating Bubble: x=10, y=10 position of the bubble
            hideFloatingBubble().then(() => console.log("Floating Bubble Removed"));
            showFloatingBubble(10, 10).then(() => props.handleAddAlarm(remoteMessage.notification));
            DeviceEventEmitter.addListener("floating-bubble-press", (e) => {
                Linking.openURL('appName://').then((data) => {
                    //fetch new orders
                })
                .catch((e) => {
                    console.log('Error opening app',e);
                });
                hideFloatingBubble().then(() => console.log("Floating Bubble Removed"));
                props.handleStopAlarm();
            });
            DeviceEventEmitter.addListener("floating-bubble-remove", (e) => {
                console.log("Remove Bubble")
                props.handleStopAlarm();
            });
        }
        });
    }

Btw it happens at odd number :D starting from third clicking it creates another bubble without removing previous one at 5th, 7th , 9th clickings


Add PeaZip Portable 6.8.1

                           "hash": {
		                    "url": "https://osdn.net/projects/peazip/downloads/$matchRelease/$basename",
		                    "regex": "(?sm)SHA256.*?$sha256"
		                },

This should work for 32bit and 64bit

Rename file to peazip.json

Build failure not related to this PR
Get-PSGalleryApiAvailability : PowerShell Gallery is currently unavailable.  Please try again later.


建议: 增加配置导出

考虑增加配置导出，这样的话，更换电脑或者公司和个人电脑也能同时使用。

What configuration do you expect to export

What configuration do you expect to export

It may be that you need to import and export the configuration file (including the URL, root, password and other parameters when connecting). When importing from other devices, you can analyze the imported configuration file to connect. I can PR


Make Acorn version of add_round_key

I think this was done in #346 (creation of silveroak-opentitan/aes/Acorn/AddRoundKey.v). Please reopen if I'm mistaken.

I think this was done in #346 (creation of silveroak-opentitan/aes/Acorn/AddRoundKey.v). Please reopen if I'm mistaken.


fix(TCOMP-553):fix windows service startup failure

What is the current behavior? (You can also link to an open issue here)
Service fails to start on windows cause the classpath is too long
What is the new behavior?
Now it starts. The classpath as been moved from the start.bat to the MANIFEST.MF Class-Path key.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: success :star:

checked start scripts. Everything works: both .bat and .sh for both bare and all-components services

Pull request test result: success :star:


update docs

The purpose of this branch is to update the documentation with some current recommendations for estimators to use. These cover two scenarios - (1) ATE estimation and (2) IATE estimation. This is with the caveat that these are likely to be amended un a future release of Targene.

Thank you @roskamsh, I've added a few comments. Also, I think we should drop the following part:
"
There are two main ways to define targeted estimators, from a predefined configuration or from a custom file.
Predefined estimators
A set of predefined estimators is readily available and can be accessed by using the configuration's name as the ESTIMATOR_FILE parameter. For instance, we provide the following:

G-superlearning-Q-glm
G-superlearning-Q-glmnet
glm-with-interactions-for-Q
glm
glmnet-with-interactions-for-Q
glmnet
superlearning-with-interactions-for-Q
superlearning
tuned-xgboost

To see what the estimand files for these examples look like, please refer to the TargetedEstimation.jl package, located here: https://github.com/TARGENE/TargetedEstimation.jl/tree/main/estimators-configs.
All using TMLE as the meta statistical inference method. While these should cover most use cases, it may be useful to define a custom estimation strategy. This can be achieved by writing a small Julia file described below.
"
since this is not working atm... Unless you are willing to give it a go :)

Not needed anymore with most recent update to the documentation.


return_timeseries parameter in run function can't handle arrays, demands lists

We want to be able to do:
    model.run(return_timestamps=data.index.values)

but we get an error:
    121         ##### Setting timestamp options
--> 122         if return_timestamps:
    123             tseries = return_timestamps
    124         else:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

We should change this if statement to perhaps ensure that it is not null/none.
In the meantime, the workaround is:
    model.run(return_timestamps=list(data.index.values))

It would also be good to be able to pass single values, to simplify single-step run operations.

Addressed by: https://github.com/JamesPHoughton/pysd/commit/2822fe3e3b0a0c8698d384240594350a4f69fe27
Forces 'return_timestamps' elements to np.array.


Empty style tags in streaming SSR output | Breaks in IE11

Context: Universal React application with styled-components running on Hapi server, streaming SSR enabled.
Problem: "Unable to get property 'split' of undefined or null reference" at style.innerHTML.split('/!sc/\n') in rehydrateSheetFromTag()
RCA: Looks like some of the style tags that are generated on server in streaming output are empty and they end up inside a SVG element (I think that's because they are always placed at top a chunk?). Now the problem is IE11 returns undefined for innerHTML of a style tag which is inside SVG and that throws an exception at style.innerHTML.split('/!sc/\n') in rehydrateSheetFromTag(). There are other empty styles tags who's parent node is not SVG and IE11 would just return innerHTML as "", and in turn innerHTML.split('/!sc/\n') would just return empty array, so no problem there.

Questions:

So I am trying to figure out why would there be an empty style tag generated on server? anyone here with internal of knowledge of styled-components know in what circumstances that can happen? Does that it indicate much larger issue underneath from application standpoint?
If those empty style tags are expected in some scenario, can we add a null check for innerHTML before we try to split it? I can send a PR up for this.
Is my understanding correct about why a style tag would end up inside a SVG? I can confirm this doesn't happen for all pages, only for certain pages with varying amount of data.

Environment
System:

OS: macOS 10.15.3
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 73.68 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh

Binaries:

Node: 12.17.0 - ~/.nvm/versions/node/v12.17.0/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v12.17.0/bin/npm

npmPackages:

babel-plugin-styled-components: ^1.10.7 => 1.10.7
styled-components: ^5.0.1 => 5.1.1

If you want you can send a patch that'll skip sheets with this condition; which is this line: https://github.com/styled-components/styled-components/blob/e0286a105c4921634c7605222d960d79d69ffcc9/packages/styled-components/src/sheet/Rehydration.js#L55
You're probably just hitting an edge case where a style tag is unnecessarily emitted here: https://github.com/styled-components/styled-components/blob/e0286a105c4921634c7605222d960d79d69ffcc9/packages/styled-components/src/models/ServerStyleSheet.js#L94

Thanks for the pointers @kitten, but it turned out there was more to uncover on IE11 behavior. Currently IE11 returns innerHTML as undefined even for non-empty style tags with valid CSS, if they end up inside . I am guessing that's something to do with IE11 not supporting innerHTML method on SVG Elements. However textContent works as expected in IE11, please see screenshot below where I have sample style tag inside  and one outside as well.

Are you open to switching to const parts = style.textContent.split(SPLITTER);  ? Or do you see any pitfalls ? There seems to be some benefits over innerHTML.
I also noticed that style tags get inserted always after first closing tag even if the chunk starts with more than one closing tags. In my case it was </path></svg><div> and style tag would get inserted after </path> not after . I think we can enhance the RegEx to match multiple closing tags and insert style tag after all closing tags.

I have made these two changes locally and they look good across browsers. Let me know your thoughts, will plan to send the PR up.

We have the same issue..


uwebsocket is not a header-only program

Problem Description
While integrating uWebSockets using vcpkg, it was observed that:

The vcpkg documentation marks uWebSockets as a header-only library, but the actual configuration requires uSockets and zlib as additional dependencies.
On Windows, libuv is also required, which is not explicitly mentioned in the vcpkg documentation.

Required vcpkg Installation
Ensure the following dependencies are installed using vcpkg:
Linux:
vcpkg install uwebsockets usockets zlib

windows
vcpkg install uwebsockets usockets zlib libuv

cmake
# Find uSockets library
find_library(USOCKETS_LIBRARY NAMES uSockets)

if(USOCKETS_LIBRARY)
    message(STATUS "Detected uSockets library: ${USOCKETS_LIBRARY}")
else()
    message(FATAL_ERROR "uSockets library not found")
endif()

# Find uWebSockets header files
find_path(UWEBSOCKETS_INCLUDE_DIRS "uwebsockets/App.h")

# Find zlib
find_package(ZLIB REQUIRED)

# Add executable
add_executable(cws ${SOURCES})
target_link_libraries(cws PRIVATE ZLIB::ZLIB ${USOCKETS_LIBRARY})
target_include_directories(cws PRIVATE ${UWEBSOCKETS_INCLUDE_DIRS})

# Windows-specific configuration
if(WIN32)
    find_package(libuv CONFIG REQUIRED)
    target_link_libraries(cws PRIVATE $<IF:$<TARGET_EXISTS:libuv::uv_a>,libuv::uv_a,libuv::uv>)
endif()

# Precompiled headers (optional)
target_precompile_headers(cws PRIVATE src/inc/pch.h)

I don't know what to do about this. I don't control what Microsoft does with the lib. I have tested vcpkg and it worked fine for me. Maybe not flawless but it's pretty simple. I'm closing this, as there is nothing here to do.


blank images after 20 days of training

Hi,
I trained for 20 days on a 1080ti over 500,000 input images in AtoB mode, but I'm getting blank outputs. Any idea what I might be doing wrong?
I tried adding the grey box in the test image after a solid black reference didn't work.
Example training image:

Example test image:

Example output:

The image is too small

You need to change width and height to your dataset.


Not working with i18n library in Nextjs

I try to integrate i18n to my app with Next.js. I'm using app router and add a [local] folder seem to conflict with keystatic.
I tried next-international and next-intl still the same error

it is working fine for me with next-intl - can you share a repo?

Collating this in https://github.com/Thinkmill/keystatic/issues/1080


Removed jay Airline theme

Airline theme now included with vim colorscheme here: https://github.com/josuegaleas/jay

Thanks, I also squashed in a change of the documentation.


Add className in props

Hi,
Could you add className to props of those react color components? So I can use them like this:
import React from 'react';
import { SketchPicker } from 'react-color';

class Component extends React.Component {

  render() {
    return <SketchPicker className="my-sketch-picker" />;
  }
}

Without it StyledComponents cannot work: https://github.com/styled-components/styled-components/issues/1086
And a custom className may also make the work much easier for a lot of people.
Thanks for considering it.
Regards,
Searene

Unless I've misread here, ColorWrap passes all props it receives down to it's child, unless you are referring to each individual component inside, say, SketchPicker.
As per your remark on that issue, you could create your own Picker using the provided components and pass them className as needed, since each default picker provided is passed to colorWrap.

Yep, this makes a lot of sense to me! As Spencer pointed out, color wrap already passes it down, so all I had to do was set it on each of the pickers root divs!

Merged in https://github.com/casesandberg/react-color/pull/403


Support multiple lines

This is supposed to fix #2. When there are more than one arrows between two elements, the arrows will be curved.
The big thanks go to @squeamish-ossifrage because of his awesome answer. :cake: :fireworks:
While this functionality is functional, we still can improve the padEllipse to arrange the arrow sources around the circle and not in a single point. Not sure if we should do it now or in another pull request.
Anyway, it was interesting to build this. :dizzy:

:clap: :+1:

I pushed an additional fix to support connect element x with itself.

@jillix/devs-write Could you guys take a look and test it out if everything works fine? Preparing to ship 2.0.0. :tada:

Considering the silence a positive feedback. :ship: 2.0.0 :four_leaf_clover:


tidb-ansible can not start the latest version of tikv

The tikv configuration has been refactored in this pr https://github.com/pingcap/tikv/pull/2116
New configuration template: https://github.com/pingcap/tikv/blob/master/etc/config-template.toml

tikv configuration has been updated https://github.com/pingcap/tidb-ansible/pull/81.


Fix generation of Cargo completions for ZSH (issue #1821)

When sourceing the original completion file, the #compdef cargo line at the start is ignored, and ZSH does not autoload the completions, so rustup must put it the generated _cargo as well.
I guess rustup does not create a symlink instead, because that would be less portable.

I do not use zsh completions with cargo; but I can appreciate others might -- is there anyone who can confirm if this is sufficient to make things work?

I don't normally use zsh, but I tried this out and it seems to work (zsh 5.7.1).  Looks like it needs a rustfmt though.

@ehuss Done.


Change weather during the training

Hi @praveen-palanisamy ,
In my training environment, I want to change the weather during the training. For instance, rain in the first 50 steps and sunshine in the last 50 steps. But I have no idea what to do, could do you help me?
Thank you very much.

Hi @Panshark , please use the MACAD-Gym package for customizing the weather conditions during training.
Using [MACAD-Gym[(https://github.com/praveen-palanisamy/macad-gym) you can configure the weather using the following mapping:
#: Weather mapping
WEATHERS = {
    0: carla.WeatherParameters.ClearNoon,
    1: carla.WeatherParameters.CloudyNoon,
    2: carla.WeatherParameters.WetNoon,
    3: carla.WeatherParameters.WetCloudyNoon,
    4: carla.WeatherParameters.MidRainyNoon,
    5: carla.WeatherParameters.HardRainNoon,
    6: carla.WeatherParameters.SoftRainNoon,
    7: carla.WeatherParameters.ClearSunset,
    8: carla.WeatherParameters.CloudySunset,
    9: carla.WeatherParameters.WetSunset,
    10: carla.WeatherParameters.WetCloudySunset,
    11: carla.WeatherParameters.MidRainSunset,
    12: carla.WeatherParameters.HardRainSunset,
    13: carla.WeatherParameters.SoftRainSunset,
}

and a custom training scenario configuration that includes array values for the weather_distribution field:
"weather_distribution": [4, 7], # Rain and sunshine

Closing this issue. Feel free to start a discussion if you have follow-up questions.


Review existing CATS codes for duplicates

We added a new CATS code for Continuous Improvement.
But there are many other codes for, learning, innovation, .. that could all be replaced by the new codes instead.
Identify these codes and ask about removing other codes replacing them with the new code.

Email sent to CATS team on Feb. 13 asking about effort to reduce the number of CATS codes (also about risk of continuous improvement being attached to Jayson's CC and how we might do some reporting)


Added some Q

Please add docstrings

Pull Request Test Coverage Report for Build 101

4 of 5 (80.0%)  changed or added relevant lines in 1 file are covered.
86 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-17.3%) to 82.47%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/q.jl
4
5
80.0%

Files with Coverage Reduction
New Missed Lines
%

src/u.jl
1
88.89%

src/h.jl
2
71.43%

src/types.jl
2
71.43%

src/m.jl
2
62.5%

src/g.jl
2
66.67%

src/x.jl
3
86.96%

src/SPICE.jl
6
68.42%

src/v.jl
9
91.09%

src/b.jl
10
85.71%

src/cells.jl
15
73.21%

Totals

Change from base Build 100:
-17.3%

Covered Lines:
414

Relevant Lines:
502

💛  - Coveralls

Pull Request Test Coverage Report for Build 101

4 of 5 (80.0%)  changed or added relevant lines in 1 file are covered.
86 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-17.3%) to 82.47%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/q.jl
4
5
80.0%

Files with Coverage Reduction
New Missed Lines
%

src/u.jl
1
88.89%

src/h.jl
2
71.43%

src/types.jl
2
71.43%

src/m.jl
2
62.5%

src/g.jl
2
66.67%

src/x.jl
3
86.96%

src/SPICE.jl
6
68.42%

src/v.jl
9
91.09%

src/b.jl
10
85.71%

src/cells.jl
15
73.21%

Totals

Change from base Build 100:
-17.3%

Covered Lines:
414

Relevant Lines:
502

💛  - Coveralls

Codecov Report

Merging #4 into master will decrease coverage by 17.28%.
The diff coverage is 80%.

@@             Coverage Diff             @@
##           master       #4       +/-   ##
===========================================
- Coverage   99.75%   82.47%   -17.29%
===========================================
  Files          21       22        +1
  Lines         414      502       +88
===========================================
+ Hits          413      414        +1
- Misses          1       88       +87

Impacted Files
Coverage Δ

src/q.jl
80% <80%> (ø)

src/s.jl
61.36% <0%> (-38.64%)
:arrow_down:

src/g.jl
66.66% <0%> (-33.34%)
:arrow_down:

src/SPICE.jl
68.42% <0%> (-31.58%)
:arrow_down:

src/types.jl
71.42% <0%> (-28.58%)
:arrow_down:

src/h.jl
71.42% <0%> (-28.58%)
:arrow_down:

src/cells.jl
73.21% <0%> (-26.79%)
:arrow_down:

src/m.jl
62.5% <0%> (-20.84%)
:arrow_down:

src/c.jl
82.82% <0%> (-17.18%)
:arrow_down:

src/b.jl
85.71% <0%> (-14.29%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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


feat(scaffolder): add RepoBranchPicker field extension

This pull request adds a RepoBranchPicker field extension that supports autocompletion based on the implementation of #25132.
For now only Bitbucket is supported as a provider.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@camilaibs thanks for the review!
I'm currently taking a look at your suggestions, but I think it's important to know that most of the code with comments was simply copied from the RepoUrlPicker. While I'm not saying we shouldn't make changes for the better, I think we need to watch out with getting inconsistent.


installer: Remove comment lines added in PR #1715

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS


New version: DataFramesMeta v0.15.1

Registering package: DataFramesMeta
Repository: https://github.com/JuliaData/DataFramesMeta.jl
Created by: @pdeffebach
Version: v0.15.1
Commit: 12e15398b463815b8d3a1eec80a771077dbcaa14
Reviewed by: @pdeffebach
Reference: https://github.com/JuliaData/DataFramesMeta.jl/commit/12e15398b463815b8d3a1eec80a771077dbcaa14#commitcomment-139272067
Description: Metaprogramming tools for DataFrames

block

Can someone please delete this PR?