Warning (emacs): Could not define org version correctly.  Check installation!

What did you expect to happen?
org-version is defined correctly.
What actually happened?
After updating today from 43e3e4c8f to 3bdb9ad6c, I see the message Warning (emacs): Could not define org version correctly.  Check installation! when Emacs starts up. In this state, org-version is set to "N/A". I can reproduce this after deleting the build and repo directory for org-mode and then running doom sync.
I can fix this by creating org-version.el manually with the content
(fset 'org-release (lambda () "9.5"))
(fset 'org-git-version #'ignore)
(provide 'org-version)

in the repos/org-mode directory and linking into my org-mode build directory. (Aside: why do I have a build and build-28.0.50 directory now?) However, the variable org-version is still set to "N/A" - is this expected?
Additional details:

Include a link to your private config: https://github.com/telotortium/doom.d

System information:
SYSTEM  type       darwin
        config     x86_64-apple-darwin19.6.0
        shell      /opt/local/bin/bash
        uname      Darwin 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
        path       (~/perl5/bin ~/.npm-packages/bin ~/Library/Python/3.8/bin ~/Library/Python/2.7/bin /usr/local/bin /usr/local/git/current/bin /opt/local/bin /opt/local/sbin ~/.nix-profile/bin ~/.cargo/bin ~/Documents/code/go/bin ~/bin ~/winbin ~/.local/bin ~/.cabal/bin /usr/local/git/current/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbin /opt/X11/bin ~/.fzf/bin /Applications/MacPorts/Emacs.app/Contents/MacOS/libexec/)
EMACS   dir        ~/doom.emacs.d/
        version    28.0.50
        build      Sep 14, 2020
        buildopts  --prefix=/opt/local --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-gmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-ns --with-lcms2 --without-harfbuzz --without-xaw3d --with-imagemagick --with-rsvg 'CFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64' 'CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-no_pie -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
        features   JPEG TIFF GIF PNG RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS JSON PDUMPER LCMS2
        traits     (gui server-running chemacs envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        font       #<font-spec nil nil monospace nil nil nil nil nil 12 nil nil nil nil>
        theme      doom-one-light
        build      HEAD -> develop 3bdb9ad6c 2020-11-10 18:36:48 -0500
        elc-files  0
        modules    (:completion company ivy :ui modeline doom doom-dashboard doom-quit fill-column hl-todo nav-flash ophints (popup +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold parinfer snippets :emacs dired electric vc :checkers syntax :tools direnv editorconfig (eval +overlay) lookup lsp :os macos :tools magit make pdf :lang cc data emacs-lisp go (java +meghanada) javascript latex markdown nix (org +dragndrop +hugo +jupyter +pandoc +pomodoro +present +roam) raku python rust sh web :config (default +bindings +smartparens))
        packages   ((call-log :recipe (:host github :repo jordonbiondo/call-log :fork (:host nil :repo git@github.com:telotortium/call-log))) (auto-compile) (rg) (vimrc-mode) (rainbow-identifiers) (git-auto-commit-mode :recipe (:host github :repo ryuslash/git-auto-commit-mode :fork (:repo git@github.com:telotortium/git-auto-commit-mode :host nil :branch gac-merge))) (so-long :built-in 'prefer) (org-mode :recipe (:host github :repo emacs-straight/org-mode :fork (:repo git@github.com:telotortium/org-mode :host nil :branch feature-drawer-text-prop))) (org-clock-csv) (org-pomodoro :recipe (:host github :repo marcinkoziej/org-pomodoro :fork (:host nil :repo git@github.com:telotortium/org-pomodoro))) (org-fc :recipe (:host nil :repo https://git.sr.ht/~l3kn/org-fc :branch main :files (:defaults awk demo.org))) (alert) (org-gcal :recipe (:host github :repo kidd/org-gcal.el :fork (:host nil :repo git@github.com:telotortium/org-gcal.el))) (org-drill) (org-drill-table) (org-journal) (org-ql) (org-randomnote) (org-super-agenda) (org-download) (org-cliplink) (pocket-reader) (hl-line :disable t) (hl-line+) (evil-visual-mark-mode) (explain-pause-mode :recipe (:host github :repo lastquestion/explain-pause-mode)))
        unpin      (n/a)
        elpa       (n/a)

Aside: why do I have a build and build-28.0.50 directory now?

Because we versioned them very recently, and haven't incorporated any cleanup logic into bin/doom yet.

Warning (emacs): Could not define org version correctly. Check installation!

This occurs because you are installing org-mode manually without either

This :build parameter to generate org-version.el,
or :depth full in your :recipe so doom doesn't install a shallow clone of the repo.

This is a necessary build step because org's build process can't generate org-version.el from a shallow clone.
Hope that helps!

Oh, yes, I forgot. Thanks for looking into it!


Reduce vm size

What type of PR is this?
Recue vm size

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squashed commits
[ ] includes documentation
[ ] adds unit tests

Closes https://github.com/outscale-dev/cluster-api-provider-outscale/issues/132


Add default init function to object to hold fields

Purpose
According to the previous implementation, the initialization of fields of an object is done inside the __init() function. Because of that, initialization happens each and every time we call the self.__init(). This PR fixes that issue.
Fixes #15240
Approach
Create another init function called default init function and initialization of fields are done inside the methods.
ex:
original code :

type Person object {
    int a = 5;
    string b = "abc";

    public function __init(int a) returns error? {
    }
};

public function main() {
    Person|error p = new(5);
}

desugared code :
type Person object {
    int a;
    string b;

    public function $__init(int a) returns error? {
        self.a = 5;
        self.b = "abc";
        return self.__init(a);
    }

    public function __init(int a) returns error? {
    }
};

public function main() {
    Person|error $tmpObj = new;
    $tmpObj.$__init(5);
    Person|error p = $tmpObj;
}

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20241 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20241   +/-   ##
=======================================
  Coverage   15.21%   15.21%
=======================================
  Files          50       50
  Lines        1341     1341
  Branches      208      208
=======================================
  Hits          204      204
  Misses       1121     1121
  Partials       16       16

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 3c9f3cb...b00e38f. Read the comment docs.


Clay Golem and Iron Golem natural spawning

Could you add an Option to make 50% of them Clay Golems and the other 50% Iron Golem?

One of my intentions is to turn the toggle switch into a proportion, yes

Implemented for 1.19.2 with e162e8d. Other versions pending


Arch PKGBUILD

I wrote the following PKGBUILD to make installation easier on Arch:
# Maintainer: TODO

# Basde on PKGBUILD-git - https://github.com/jamesan/linux-templates/blob/master/PKGBUILD-git
# template for writing a PKGBUILD file with a git VCS source

# Copyright 2014 James An

# THIS PROGRAM is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

_pkgname=imlib2-jxl
pkgname="$_pkgname-git"
pkgver=r8.baa0155
pkgrel=1
pkgdesc="JPEG XL loader for imlib2"
arch=('any')
url="https://github.com/alistair7/$_pkgname"
license=('BSD')
depends=()
makedepends=('git' 'imlib2' 'libjxl' 'lcms2')
provides=("$_pkgname")
conflicts=("$_pkgname")
options=()
install=
source=("$_pkgname"::"git+https://github.com/alistair7/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    (
        set -o pipefail
        git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
        printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    )
}

build() {
    cd "$_pkgname"
    make
}

package() {
    cd "$_pkgname"
    install -Dm 644 jxl.so $pkgdir`pkg-config imlib2 --variable=libdir`/imlib2/loaders/jxl.so
}

I based this off a GPL-licensed template. To be honest, I'm not sure the GPL license really matters for such a trivial file - if you wanted to relicense it, I personally wouldn't mind. Consider my modifications to the template to be permissively licensed.

Thanks!  I'll happily adopt that.  (Or send me a PR if you want your name on the commit :) )
As far as I'm concerned it can stay GPL'd - shouldn't be an issue as it's separate from the rest of the code.
At some point I'll tag a v0.1 release so that it doesn't have to hang off a random commit.

nice

@alistair7 I'm too lazy to PR, feel free to manually merge it :)

@DavidBuchanan314 thanks a lot for the PKGBUILD.
I see that you did not add it to AUR. Any reason why?
IMHO the PKGBUILD would sit better in AUR than here in the project repo. Better keep packaging de-coupled from the source code, as done virtually everywhere.

@alistair7 I see that you're maintaining the PKGBUILD (e.g. 0ec7c482b248c1bcea12b574e1f0838a0afe5bec). As such, could you please add it to AUR? That would make it much easier to install and keep up-to-date, as we can then use an AUR helper.
You could add both a versioned package (imlib2-jxl) and a git one (imlib2-jxl-git).
I was thinking about adding them to AUR myself but I guess it would be counterproductive as you're maintaining the PKGBUILD.

I am accidentally maintaining a PKGBUILD, and I agree that AUR is where it belongs. So with the small caveat that I don't really know what I'm doing, I'll add a package there.

Nice. Thanks @alistair7 !
IMO you should remove the PKGBUILD from the source code once in AUR.
It should be easy for you to put them in AUR. The current PKGBUILDs require just a few modifications. E.g.:

Make sure that the pkgver for the imlib2-jxl package is just the version number, e.g. 0.1.1. Currently it adds the git revision in there too.
It's common for the versioned packages, imlib2-jxl here, to download the Gziped sources instead of using git. That way they do not depend on git.
It would be perfect if you could sign or at least provide the checksum for such gzipped sources. Most projects do that in the GitHub releases.

You'll find loads of examples in AUR itself and in the Arch Wiki docs.
If you would like to, I can review the PKGBUILDs, for instance once you push the first version to AUR.


BUG: Minimal path segmentation doesn't handle output correctly

The code converts a vertex (an index) to a physical point then converts back to an index manually.  This seems redundant and causes the output to be incorrect for images with non-standard scan order.

Good catch.   The conversion from physical point to index was being done wrong and wasn't needed.  Thanks!
LGTM!

Ditto. Nice work.
Nitpick: Could  you rebase your topic before merging. the idea is to get ride of the "Merge commit"

Done (I think).

Thanks


Cannot access web interface because it crashes

After launching this tool with npm start it does not show anything on the web interface because the two requests for stargazers and contributors triggered HTTP 500 errors.
Error logs:
Listening at http://localhost:8080
(node:517) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
An error occured TypeError: repos.map is not a function
    at file:///home/jonas/lenra/ghorgaggre/src/server.js:56:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
An error occured TypeError: repos.map is not a function
    at file:///home/jonas/lenra/ghorgaggre/src/server.js:24:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This seems to be fixed now.


Fix size of close/delete button

Whenever we scale image with pinch close/delete button is also scaled. is there any way to fix the size of Close button?

Currently, the close button is attached to the view. So whenever that view scale the close button will also scale. There is not any fix for now.

@burhanrashid52 thank you for reply


Pull request 43 wasn't implemented

Feature Request
The pull request #43  wasn't implemented and became stale. As per its description,

the branch allows for subsets of data to be properly analyzed which may only contain (for example) 300 days of data taken over 1500 days. This allows the user to set the HAL plugin to compute the flux over the full 1500 days rather than the 300 days of data contained in the map itself.

I just re-opened it.


Feature Request: support using bottleneck nan* functions

It would be nice to have a way to use the bottleneck package's nan-aware functions such as nanmedian and so on when calling da.nanmedian and other similar dask functions. The bottleneck functions are in general faster and use up much less memory than their Numpy counterparts.
This could be done either by adding a kwarg to the dask functions, or maybe having a way to register in the dask configuration that bottleneck alternatives are acceptable, and then just using them behind the hood in da.nanmedian if that configuration value is set? Or if bottleneck is installed, they could even be used by default?

Thanks for the feature request @astrofrog! In general, such an option seems nice. Do you know what impact using bottleneck functions would have on NumPy's NEP-18 dispatching? For example, today if I have a dask array with sparse chunks, then we return a sparse array:
In [1]: import numpy as np

In [2]: import dask.array as da

In [3]: import sparse

In [4]: x = da.random.random((100, 100), chunks=(10, 10))

In [5]: x[x < 0.1] = np.nan

In [6]: y = x.map_blocks(sparse.COO.from_numpy)

In [7]: da.nanmax(y, axis=0).compute()
Out[7]: <COO: shape=(100,), dtype=float64, nnz=100, fill_value=0.0>

@jrbourbeau - thanks for the quick reply! I'm not familiar enough with NEP-18 to know the implications here, but if bottleneck can only handle regular Numpy arrays, it may still be worth allowing it to be used for that specific case?

Ideally dask would check if bottleneck is installed and swap out numpy functions for bottleneck functions if they're available. We already do this for toolz, where we swap out faster cytoolz functions if cytoolz is installed.
A couple of hurdles that come to mind are (1) we would need to make sure not to modify our current behavior when working with numpy-like arrays (e.g. sparse or cupy arrays). For example, when using bottleneck.nanmax on a sparse.COO array, bottleneck tries to coerce the input to a (dense) numpy array:
In [1]: import sparse

In [2]: import numpy as np

In [3]: import bottleneck as bn

In [4]: x = np.random.random((10, 10))

In [5]: x[x < 0.1] = np.nan

In [6]: xs = sparse.COO.from_numpy(x)

In [7]: xs
Out[7]: <COO: shape=(10, 10), dtype=float64, nnz=100, fill_value=0.0>

In [8]: bn.nanmax(xs, axis=0)
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-8-aa184c3b50db> in <module>
----> 1 bn.nanmax(xs, axis=0)

~/miniforge3/envs/dask-dev/lib/python3.8/site-packages/sparse/_sparse_array.py in __array__(self, **kwargs)
    220
    221         if not AUTO_DENSIFY:
--> 222             raise RuntimeError(
    223                 "Cannot convert a sparse array to dense automatically. "
    224                 "To manually densify, use the todense method."

RuntimeError: Cannot convert a sparse array to dense automatically. To manually densify, use the todense method.

(2) numpy's nan* functions have out= and keepdims= keyword arguments that don't appear to be implemented in bottleneck (at least from looking at the API docs).
If we can use bottleneck functions without too much added code complexity and without disrupting the user experience, I'd be in favor of such an addition.
@TomAugspurger any thoughts on what it's been like using bottleneck in pandas or what you think about using it here?

I think a config that changes things globally would be fine. I'd recommend not having it enabled by default (even if bottleneck is present). Bottleneck has some issues with precision for float32 arrays: https://github.com/pydata/bottleneck/issues/193.


zapi command for archive index search

zapi needs a subcommand that can perform an archive index search, using the api introduced in https://github.com/brimsec/zq/pull/833 .

Verified in zq commit 7f00817. I can now run through the steps for creating & using indexes as shown in the zar README, but now using zapi to talk to a zqd that was started by my Brim app.
$ zq zng/*.gz | zar import -s 25MB -
$ zapi new -k archivestore -d $ZAR_ROOT MyArchive
MyArchive: space created

$ zapi -s MyArchive index create :ip
$ zapi -s MyArchive index find :ip=<IP_ADDRESS> | zq -t -
#zfile=string
#0:record[key:ip,count:uint64,_log:zfile]
0:[<IP_ADDRESS>;1;20180324/1521911772.980384.zng;]

$ zapi -s MyArchive index create uri
$ zapi -s MyArchive index find uri=/file | zq -t -
#zfile=string
#0:record[key:bstring,count:uint64,_log:zfile]
0:[/file;1;20180324/1521912507.399929.zng;]
0:[/file;2;20180324/1521912075.114273.zng;]
0:[/file;1;20180324/1521911772.980384.zng;]

$ zapi -s MyArchive index create -o custom.zng -k id.orig_h -z "count() by _path, id.orig_h | sort id.orig_h"
$ zapi -s MyArchive index find -x custom.zng <IP_ADDRESS> | zq -f table "count=sum(count) by _path" -
_PATH       COUNT
rdp         4116
notice      35
dce_rpc     2
smb_mapping 65
dpd         24
smb_files   1
dns         8
http        13485
ssl         9538
ftp         93
conn        26726
rfb         3
smtp        1178
ntlm        80
weird       316
ssh         1

Here's what the archive tree looks like populated with the microindexes that were created via the zapi commands:
$ tree -s logs
logs
├── [        320]  20180324
│   ├── [    4425007]<PHONE_NUMBER>.980384.zng
│   ├── [        160]<PHONE_NUMBER>.980384.zng.zar
│   │   ├── [       6347]  custom.zng
│   │   ├── [      97012]  microindex-field-uri.zng
│   │   └── [      29766]  microindex-type-ip.zng
│   ├── [   25001925]<PHONE_NUMBER>.114273.zng
│   ├── [        160]<PHONE_NUMBER>.114273.zng.zar
│   │   ├── [       8468]  custom.zng
│   │   ├── [     124614]  microindex-field-uri.zng
│   │   └── [      15733]  microindex-type-ip.zng
│   ├── [   25007413]<PHONE_NUMBER>.399929.zng
│   ├── [        160]<PHONE_NUMBER>.399929.zng.zar
│   │   ├── [      12367]  custom.zng
│   │   ├── [     172703]  microindex-field-uri.zng
│   │   └── [      80825]  microindex-type-ip.zng
│   ├── [   25005195]<PHONE_NUMBER>.158766.zng
│   └── [        160]<PHONE_NUMBER>.158766.zng.zar
│       ├── [       7582]  custom.zng
│       ├── [      62792]  microindex-field-uri.zng
│       └── [      28426]  microindex-type-ip.zng
└── [        917]  zar.json

5 directories, 17 files

While verifying this, I did stumble across the existence of top-level create and find commands in zapi (in addition to the proper ones that are sub-commands below index) that cause a crash when invoked, so #1332 is open to track getting that fixed.
Thanks @mattnibs!


Rendering from HTML to Djot gives unexpected results

When converting a document from Djot to HTML and later back to Djot again there can be some interesting side effects, like explicit heading identifiers being broken since the HTML render both makes id's for the section-tag and the heading-tag.
Here is how to reproduce:
Save this file as Djot:

{#top}
# Djot test document

Welcome to this test document.

{#second}
Here is the second paragraph.

## Moving to links

We will now show that we can jump to the [top](#top) and to the [second paragraph](#second) with these two links.

The end```

Now convert this document to HTML by running Djot via Pandoc. This is important since we want a stand-alone HTML-version of the document. I did:
djot -f djot hello.dj.txt -t pandoc | pandoc -f json -t html -s -o hello.html
Pandoc will give a warning since there is no title specified when we converted this.
Now try to convert the document from HTML back to Djot again by doing:
pandoc hello.html -f html -t json | djot -f pandoc -t djot > hello2.dj.txt
This shows the following document
{#top}
{#djot-test-document}
# Djot test document

Welcome to this test document.

Here is the second paragraph.

{#Moving-to-links}
{#moving-to-links}
## Moving to links

We will now show that we can jump to the [top](#top) and to the [second
paragraph](#second) with these two links.

The end

The following changed during the convertion:

The explicit heading identifiers was ignored and another identifier was given, and that may break the headings. Example: The original identifier for the Djot test document heading was top, but the djot-test-document was added, and this would ignore the top identifier, and make # Djot test document heading shown as raw Djot and not the h1-heading. @jgm says that the section-html- tag may be in the converted HTML-document and that is exactly right. How can this be fixed?
The link to the second paragraph which was defined by the {#second} attribute was removed from the HTML-document, so the link would not work. Why was this removed?

If I on the other hand convert the original document via Djot to HTML the link to second will work, but then I do not get the stand-alone HTML-version as Pandoc can produce.

Note that the conversion via pandoc to HTML is fine:

Djot test document

The problem is that in converting this back from HTML, pandoc introduces an automatic identifier on the heading. (Pandoc AST output:)
[ Div
    ( "top" , [ "section" ] , [] )
    [ Header
        1
        ( "djot-test-document" , [] , [] )

I'm inclined to call this a bug in pandoc; pandoc should avoid adding these identifiers when the heading is the first element in a section that already has an id.
You can work around this though by using -f html-auto_identifiers with pandoc; this turns off the auto_identifiers extension.

Ah, ok that makes sense. What about the issue where the attribute second is gone from the html that I render via Pandoc, could that be a bug too? Sendt fra min iPhone via Braille Sense U2/MBrailleDen 15. jan. 2023 kl. 19.00 skrev John MacFarlane @.***>:
Note that the conversion via pandoc to HTML is fine:

Djot test document
The problem is that in converting this back from HTML, pandoc introduces an automatic identifier on the heading. (Pandoc AST output:)
[ Div
    ( "top" , [ "section" ] , [] )
    [ Header
        1
        ( "djot-test-document" , [] , [] )
I'm inclined to call this a bug in pandoc; pandoc should avoid adding these identifiers when the heading is the first element in a section that already has an id.
You can work around this though by using -f html-auto_identifiers with pandoc; this turns off the auto_identifiers extension.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

On second: the problem here is that pandoc's AST does not allow you to attach attributes directly to paragraphs, so it's just getting ignored.  I suppose we could have djot's pandoc renderer create an enclosing div in this case.

That would be ok. I wonder how we can avoid conflicts between Djot and Pandoc for the future?
Not to offend anyone, but I really see Djot as a format for non programmers too, and therefor I got a little worried when a quite simple document as mine changed that much, when I had to use Pandoc to get Djot syntax from HTML.
Wonder if Djot could take over more of the conversion so Pandoc would convert based upon what Djot can do, so we perhaps can avoid conflicts in different ASTS either in Djot or Pandoc.

Ah ok that sounds like a bug in Pandoc to mee as well. I have seen Pandoc get this right when using Markdown as source. Would you like me to make an issue over there about this?


Some minor updates of the security modules

removed deprecated methods, added more constants...

This change is

Pull Request Test Coverage Report for Build 3095

0 of 8 (0.0%) changed or added relevant lines in 4 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.01%) to 40.645%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

platform-extras/dolphin-platform-security-client/src/main/java/com/canoo/dp/impl/security/KeycloakRequestHandler.java
0
1
0.0%

platform-extras/dolphin-platform-security-server/src/main/java/com/canoo/dp/impl/server/security/SecurityModule.java
0
2
0.0%

platform-extras/dolphin-platform-security-server/src/main/java/com/canoo/dp/impl/server/security/UserKeycloakImpl.java
0
2
0.0%

platform-extras/dolphin-platform-security-server/src/main/java/com/canoo/dp/impl/server/security/DolphinKeycloakSecurityBootstrap.java
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

platform-extras/dolphin-platform-security-client/src/main/java/com/canoo/dp/impl/security/KeycloakRequestHandler.java
1
0.0%

platform-extras/dolphin-platform-security-server/src/main/java/com/canoo/dp/impl/server/security/DolphinKeycloakSecurityBootstrap.java
2
0.0%

platform-extras/dolphin-platform-security-client/src/main/java/com/canoo/dp/impl/security/KeycloakSecurity.java
2
0.0%

Totals

Change from base Build 3086:
0.01%

Covered Lines:
4827

Relevant Lines:
11876

💛  - Coveralls


ImportAction Header Offset Customization

Description

This PR allows for a customizable header offset on the ImportAction.

[x] Visual changes (if any) are shown using screenshots/recordings of before and after. No Visual Changes.

Code style

[x] composer cs command has been run.

Testing

[x] Changes have been tested.

No new tests were written but I have tested this in a local project and composer test passed.
Documentation

[x] Documentation is up-to-date.

Also added a docs section on its usage.

@danharrin after a quick message in Discord, @pxlrbt encouraged me to submit this simple PR to allow customization of the ImportAction's header offset.

I missed an instance or two of the setHeaderOffset. Fixing now.


[NEW] Delete message

Your Rocket.Chat.Android version: 1.0.15
The app should allow the message deletion. Currently only message edition is allowed to the user (holding down its message).

I have created a pull request for this and would love some comments on it.
I have had to introduce a new syncstate (3 actually) do handle messages that are marked for deletion, and it is especially this concept i would like your comments on. Is there a better way of doing it? It does add the overhead of not showing the messages that are marked for deletion when querying the list of messages.


Working™ TF Validation

This Action seems to work properly (see latest action)
The rm *.tfstate pre task looks suspicious, but is needed becasue terraform init fails if it tres to read encrypted .tfstate.
Only the copy of the file is deleted in the action docker container.

Can one of the admins verify this patch?

Terraform validate requires an initialized directory (https://developer.hashicorp.com/terraform/cli/commands/validate).

It is initializes, but without the tfstate:


feat/ Upgrade Crypto.com Connector

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
This is a PR(Draft) to solve #6023. Crypto.com Connector being upgraded to the latest version of Hummingbot using the latest Crypto.com API, being developed by @srirambandi and me.
Tests performed by the developer:
NA
Tips for QA testing:
NA

hi @srirambandi, how's it going? Could you please add your updates here?

Hey @nikspz, finished with connector logic, added the commits here. About midway through unit tests.
We were having difficulties getting api keys to test this ourselves, were getting stuck at our account verification(face verification failing). Can you help resolve this by providing us with any test keys?
Will add the unit tests by this weekend.

Hey @nikspz, finished with connector logic, added the commits here. About midway through unit tests.
We were having difficulties getting api keys to test this ourselves, were getting stuck at our account verification(face verification failing). Can you help resolve this by providing us with any test keys? EDIT: We will try the verification again today for api keys.
Will add the unit tests by this weekend.

If you still need api keys to test, I can help.

Hey @bonez56, yes that would help test this connector. Can you help? Here's my discord userid: srirambandi#9334

Hey @bonez56, yes that would help test this connector. Can you help? Here's my discord userid: srirambandi#9334

I have sent you a friend request on Discord.

@srirambandi We had to force push development back to old commit, could you please resolve branch conflicts?

Okay sure, I’ll do it 🙌

FYI: This PR will be closed since it's still on draft and not updated.
The bounty https://github.com/hummingbot/hummingbot/issues/6023 will be closed as well, the reason is Crypto.com connector not get 100K HBOT Votes in  https://snapshot.org/#/hbot.eth/proposal/0x231e942b5f23b406d409f2b12319891ab3c92605e367f75e56015061e905d56e and most likely will be excluded from the maintained connectors of HBF.

Closing this PR since the bounty PR since developer's not being responsive / provided updates on the simple fix after the week and the PR is not ready after more than 2 month period of development. Crypto.com connector is currently removed from the list of maintained connectors (https://snapshot.org/#/hbot.eth/proposal/0x231e942b5f23b406d409f2b12319891ab3c92605e367f75e56015061e905d56e)


Provide a way for a language frontend to hook into TypeParser

Depending on the language it might be needed to hook into the type parsing, i.e. to parse certain things as an interface or object.

Won't be required after #1064, right?

Won't be required after #1064, right?

YES


Gradle 8 compiled plugins are not usable with Gradle <7

Expected Behavior
When I compile a plugin with the latest Gradle version, I expect it to work with older versions, otherwise it's not possible to support a range of Gradle versions. See e.g. Kotlin or Gradle Enterprise plugins which do this extensively.
Current Behavior
abstract class SomeTask: DefaultTask() // not necessary to be defined here, just to show the inheritance tree

fun something(some: SomeTask) {
   some.inputs.files(...)
}

compiling the above against implementation(gradleApi()) in Gradle 8 RC1, it binds (at compile time) to
https://github.com/gradle/gradle/blob/287aac28bc8f1de1b1b74852da8b254cc376bbfb/subprojects/core/src/main/java/org/gradle/api/internal/TaskInputsInternal.java#L31-L32
Steps to Reproduce

Compile a plugin with Gradle 8 which calls task.inputs.files(...)
Use this plugin in Gradle 7.x
Stand in awe of this beauty:

Caused by: java.lang.NoSuchMethodError: 'org.gradle.api.internal.tasks.TaskInputFilePropertyBuilderInternal org.gradle.api.internal.TaskInputsInternal.files(java.lang.Object[])'
	at com.example.SomethingKt.something(something.kt:4)

Context
@lptr added these methods recently: https://github.com/gradle/gradle/pull/22739
It looks like we've been here before as @big-guy explains with Gradle 3.2 breaking compatibility: https://github.com/gradle/gradle/issues/1030
https://github.com/gradle/gradle/issues/1004 is the issue that's being regressed I guess.
Related, or potentially "caused by": https://github.com/gradle/gradle/issues/23431
Workaround
(some as Task).inputs will force the compile-time binding to resolve Task.getInputs(): TaskInputs which doesn't have the files() overload and therefore compatible with all Gradle versions.
"Gradle Plugin author DX" will be disrupted if this stays like this.
Your Environment

Build scan URL: it's simple to see the problem statically, but if really necessary I can set up a running example.
For real examples: see this build's test report artifacts (tests in this project runs many Gradle builds for compatibility testing).

KGP will definitely face this:

Thank you for your interest in Gradle!
This issue needs a decision from the team responsible for that area. They have been informed, response time may vary.

Thanks for the thorough report @TWiStErRob! I've added some more thorough tests to avoid a similar problem from happening again. We'll also need to figure out how to stop DefaultTask from leaking all these internal APIs... :/ But that's for another day.

@lptr, Using task.inputs.files() is quite useful to avoid task execution when inputs are empty. Following example is the best way I found to skip task execution on empty input with support of Gradle 6.0-7.6 (and presumably 8.x) inclusive.
In my case this is quite critical and I really need this or another compatible way to support this feature
private fun skipInputWhenEmpty(task: Task, sourceFiles: FileCollection) {
    val input = task.inputs.files(sourceFiles)
        .skipWhenEmpty()

    if (GradleVersion.current() >= GradleVersion.version("6.8")) {
        input.ignoreEmptyDirectories()
    }
}

@eirnym he's fixing it, see linked PR
@lptr thanks for the quick response I knew tagging you would get the right person on it with the most background
@xaviarias re "We recommend to test cross-version compatibility", see the link in "Your environment"... testing is one thing, getting a sudden unexpected failure when using public APIs is another. We (plugin authors) are working around enough changes as it is to support a wide range of Gradle.

@TWiStErRob https://github.com/gradle/gradle/pull/23482 has been merged to release, and it should fix your problem. This will be released as 8.0-rc-2 very soon. Please reopen if you are still experiencing the problem with tonight's nightly or with 8.0-rc-2. Thanks again for reporting.

Google brought me here, although in my case I tried to test my project against AGP 8.x with Gradle 8.0-rc2 (not <7 as the issue originally reported). I initially thought the issue is still here and wanted to share my build scan, but it seems like the issue is now on Google side, so I'll cross-link it here: https://issuetracker.google.com/issues/265809620

Yeah, they didn't notice because at the time of their adoption they (AGP 8.x) were only compatible with that one version (Gradle 8 RC1), not many previous ones (Gradle 7.x). And after Gradle fixed it, that broke the alpha/beta versions. Everyone cuts themselves sometimes, that's why it's called bleeding edge :)


Added ChanServ DEOP command

You can use git status to check for modified or new files that have not been committed as expected.

Shall i delete those? sorry this is my first time using pulls :)

No, this is fine, I'll probably cherry-pick the first commit (adding CHANSERV DEOP).

I'm going to close this for now. I'll reevaluate stats for always-on clients later.


fix: dcre should use dcrCouldRender

What does this change?
The targeting property dcre (dcr-eligible) should derive from config.page.dcrCouldRender and not config.isDotcomRendering

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
631

Relevant Lines:
665

💛  - Coveralls


namespace design seems out of date

https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/design/namespaces.md haven't update for a long time, and it even using kubecfg, the usage of kubectl, shows namespace is SUPERCEDED. Maybe you should update the doc.

I am working on updated docs

We need to make a policy - do we update design docs, or are they historical
artifacts that should be replaced by "real" docs that are kept up to date?
On Sun, Mar 8, 2015 at 8:38 AM, Derek Carr<EMAIL_ADDRESS>wrote:

I am working on updated docs
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5172#issuecomment-77756140
.

Agree, but in this case, I have updates to the design doc to capture delete semantics.
Sent from my iPhone

On Mar 8, 2015, at 2:09 PM, Tim Hockin<EMAIL_ADDRESS>wrote:
We need to make a policy - do we update design docs, or are they historical
artifacts that should be replaced by "real" docs that are kept up to date?
On Sun, Mar 8, 2015 at 8:38 AM, Derek Carr<EMAIL_ADDRESS>wrote:

I am working on updated docs
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5172#issuecomment-77756140
.

—
Reply to this email directly or view it on GitHub.

The audience for a design doc and regular doc may not be the same.  Agree we should be transforming proposals into more concrete documents that describe the underlying intent, the targeted use cases, alternatives considered, etc.  That's "historical" but still relevant.

Updates to design are here: https://github.com/GoogleCloudPlatform/kubernetes/pull/5195

Updates were made.

@derekwaynecarr thank you


EFS Mount command missing the actual IP

When I try to use docker-volume-netshare to mount an EFS volume on a Docker container, the mount command issued does not refer to the respective EFS IP. I cannot use EFS via DNS since our VPC setup does not support Amazon DNS server yet.
docker-volume-netshare start:
$ docker-volume-netshare efs --verbose --noresolve
INFO[0000] == docker-volume-netshare :: Version:  - Built:  ==
INFO[0000] Starting EFS :: availability-zone: , resolve: true, ns:
DEBU[0002] Host path for <IP_ADDRESS> (<IP_ADDRESS>) is at /var/lib/docker-volumes/netshare/efs/<IP_ADDRESS>
INFO[0002] Mounting EFS volume : on /var/lib/docker-volumes/netshare/efs/<IP_ADDRESS>
DEBU[0002] exec: mount -t nfs4 -o nfsvers=4.1 : /var/lib/docker-volumes/netshare/efs/<IP_ADDRESS>

Docker run:
$ docker run -it --rm --volume-driver=efs -v <IP_ADDRESS>:/mount busybox /bin/sh
\docker: Error response from daemon: VolumeDriver.Mount: exit status 32.

I hard-coded the source IP at netshare/drivers/efs.go just to give a try and it worked fine:
func (e efsDriver) mountVolume(source, dest string) error {
	cmd := fmt.Sprintf("mount -t nfs4 -o nfsvers=4.1 %s %s", "<IP_ADDRESS>", dest)
	log.Debugf("exec: %s\n", cmd)
	return run(cmd)
}

Version: commit 4bfe7ba0572ee9d135dd59924548a37b1ab2af66

The issue is in fixSource. It always tries to break down the name into an EFS volume name even when --noresolve is set and an IP is provided.

I have found the fix to be as simple as adding this to the start of fixSource:
`
func (e efsDriver) mountVolume(name, id string) string {
if !e.resolve {
return name + ":/"
}
...
}
`


Image Uploading Issue.

Hello Team,
I'm using GPhotos to upload the images but i'm facing some issue. I have try to uploading the image second time, got correct response from api but the image not shown in the Google Photos. Could you please check and update me, how to solve this issue.
Thank you.

Hi @RazaulAnsari, what response did you get from api? Can you reproduce this in the sample app?


Added missing icons for both login and register page and also added toggle feature

Issue Related #1
Added missing icons in both login and register pages
Screenshots:
Register page:

Login page:

@subhadipbhowmik  please add hacktoberfest label

These are not that much our priority.


Step 4: Refactor Orchard structures to generics and add Orchard ZSA support for Transaction V6

This PR refactors the Orchard-related structures to be generics and adds support for both Orchard Vanilla and Orchard ZSA in Zebra's Transaction V6. This change allows the codebase to handle both versions of the Orchard protocol and implements necessary serialization/deserialization logic.
Key changes

Generic Orchard Structures:

Refactored ShieldedData and Action structures to be generic, parameterized by Orchard flavor (OrchardVanilla or OrchardZSA), enabling support for both protocols in Tx V6.

burn Field in ShieldedData:

Added a burn field to ShieldedData to support ZSA: a unit type for Tx V5 and a vector of burn items for Tx V6.

Updates to Transaction Enum Methods:

Modified methods in the Transaction enum to handle the new generic structures properly and support both Orchard flavors.

Serialization and Deserialization for Tx V6:

Implemented serialization and deserialization for Transaction V6, ensuring the new structures are correctly processed while avoiding code redundancy with Tx V5.

Closed in favour of #17


Rollforward PR #1266, #1476 and #1576.

#1476 and #1266 were rolled back with 641cf61b99280b8bb4b62ecce873e51208501fec
What needs to happen to re-apply those PRs?

Yes - I'll rebase all 3 to the top of the tree and resubmit.

All three PRs have been rolled forward \o/


(Question) NomadBSD uses ZFS?

NomadBSD use ZFS as main filesystem? it doesn't reduce the USB drive life expectancy?

For the upcoming release we will provide an UFS and a ZFS image for amd64 and mac. ZFS is slower than UFS and will very likely wear out flash drives faster.

Do correct me If I am wrong but It won't do that by much tho, would It? Because It would be only writing checksums and reading data from flash memory doesn't wear It out.

Do correct me If I am wrong but It won't do that by much tho, would It? Because It would be only writing checksums and reading data from flash memory doesn't wear It out.

It depends, changes based on every USB hardware, there are better/worse hardwares out there with low write cycles limit.
Remember that ZFS fits well on SSDs because they have high write cycles limit, much more than USB devices.


I have my own packaging tool, I just want to compile the * .vue file

Hello @yyx990803 , I would like to introduce the use of my own requirejs, I would like to use gulp compiler, which is only translated inside * .vue, how do I do?
I do not need to use webpack packaging

If you need to use Webpack, why don't you use the vue-loader?


As a nurse after I have added a new patient, I can enter a patient's BP or skip to the next screen quickly

I've created As a nurse, I cannot enter an invalid BP with the BP keyboard which was carved out of this card. The keyboard rule-modelling, and corresponding QA, is non-trivial; the team can prioritize it separately.

My QA of this card is mostly questions so far:

does skip to the next screen quickly just mean clicking outside the BP entry area to see the Patient Summary in behind?
should I see a list of BPs on the Patient Summary or anywhere else yet? (I do not.)
where will we capture the work associated with adding a new BP for an existing patient? I don't see a card on the wall for this and this card (#8) only describes entering BP for a new patient.

I entered a BP and it sync'd to the server (verified from the server console, since I can't see it in the UI) so the fundamentals of this card are definitely working.

does skip to the next screen quickly just mean clicking outside the BP entry area to see the Patient Summary in behind?

I think so, but might be a better idea to ask @dburka

should I see a list of BPs on the Patient Summary or anywhere else yet? (I do not.)

You will, once the patient summary screen is ready. The screen behind the BP sheet is the summary screen, but it's empty right now.

where will we capture the work associated with adding a new BP for an existing patient? I don't see a card on the wall for this and this card (#8) only describes entering BP for a new patient.

Yea the app currently does not show any feedback, but the patient summary screen behind will get updated when it's ready so you'll be able to see saved values.

does skip to the next screen quickly just mean clicking outside the BP entry area to see the Patient Summary in behind?

@saket Yes, just tapping outside the BP entry area satisfies this task


[Error: EAGAIN: resource temporarily unavailable, read] errno -11

SerialPort Version
12.0.0
Node Version
18.16.0
Electron Version
No response
Platform
Ubuntu 22.04 and Windows 11
Architecture
x64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
const SerialPort = require("serialport").SerialPort;

SerialPort.list().then((ports) => {

    if (!ports.length) {
        console.error("No serial port found");
        process.exit(1);
    }

    console.log('Using port : ', ports[0].path);

    const serialPort = new SerialPort(
        {
            path: ports[0].path,
            baudRate: 38400,
            dataBits: 8,
            stopBits: 1,
            parity: "none",
            autoOpen: false,
        },
        function (err) {
            err && console.error(err);
        }
    );

    serialPort.on('error', (err) => {
        console.error('error: ', err);
    });

    serialPort.on('open', () => {
        console.log('Port opened');

        serialPort.on("data", function(data) {
            console.log('data', data)
        });

        const temp = Buffer.from([0x02, 0x00, 0x03, 0xEF, 0x01, 0x01, 0x75, 0x8F, 0x40, 0xD4, 0x6D, 0x95, 0xD1, 0x64, 0x14, 0x48, 0xAA, 0x19, 0xB9, 0x28, 0x2C, 0x05, 0xEC]);
        serialPort.write(temp, (err) => {
            if (err) {
                console.error('Error sending INIT command:', err);
            } else {
                console.log('INIT command sent successfully.');
            }
        });
    });

    serialPort.open();
});

What happens?
no receive any callback after sending something.
What should have happened?
the program should have received response from the reader.
is there any solution for this issue?
Additional information
debug log :
serialport/bindings-cpp loading LinuxBinding +0ms
  serialport/bindings-cpp list +0ms
Using port :  /dev/ttyUSB0
  serialport/stream opening path: /dev/ttyUSB0 +0ms
  serialport/bindings-cpp open +70ms
  serialport/bindings-cpp/poller Creating poller +0ms
  serialport/stream opened path: /dev/ttyUSB0 +2ms
Port opened
  serialport/stream _write 23 bytes of data +0ms
  serialport/bindings-cpp write 23 bytes +2ms
  serialport/bindings-cpp/unixWrite Starting write 23 bytes offset 0 bytesToWrite 23 +0ms
  serialport/stream _read reading { start: 0, toRead: 65536 } +1ms
  serialport/bindings-cpp read +1ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixWrite write returned: wrote 23 bytes +1ms
  serialport/bindings-cpp/unixWrite Finished writing 23 bytes +0ms
  serialport/stream binding.write write finished +1ms
INIT command sent successfully.
  serialport/bindings-cpp/unixRead read error [Error: EAGAIN: resource temporarily unavailable, read] {
  errno: -11,
  code: 'EAGAIN',
  syscall: 'read'
} +1ms
  serialport/bindings-cpp/unixRead waiting for readable because of code: EAGAIN +0ms
  serialport/bindings-cpp/poller Polling for "readable" +3ms

after struggling for few days, I can receive the response now.
serialport/bindings-cpp loading LinuxBinding +0ms
  serialport/bindings-cpp list +0ms
Using port :  /dev/ttyUSB0
  serialport/stream opening path: /dev/ttyUSB0 +0ms
  serialport/bindings-cpp open +76ms
  serialport/stream _read queueing _read for after open +0ms
  serialport/bindings-cpp/poller Creating poller +0ms
  serialport/stream opened path: /dev/ttyUSB0 +1ms
Port opened
  serialport/stream _read reading { start: 0, toRead: 65536 } +0ms
  serialport/bindings-cpp read +3ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/stream _write 23 bytes of data +2ms
  serialport/bindings-cpp write 23 bytes +1ms
  serialport/bindings-cpp/unixWrite Starting write 23 bytes offset 0 bytesToWrite 23 +0ms
  serialport/bindings-cpp/unixRead read error [Error: EAGAIN: resource temporarily unavailable, read] {
  errno: -11,
  code: 'EAGAIN',
  syscall: 'read'
} +1ms
  serialport/bindings-cpp/unixRead waiting for readable because of code: EAGAIN +1ms
  serialport/bindings-cpp/poller Polling for "readable" +4ms
  serialport/bindings-cpp/unixWrite write returned: wrote 23 bytes +1ms
  serialport/bindings-cpp/unixWrite Finished writing 23 bytes +0ms
  serialport/stream binding.write write finished +2ms
INIT command sent successfully.
  serialport/bindings-cpp/poller received "readable" +15ms
  serialport/bindings-cpp/unixRead Starting read +15ms
  serialport/bindings-cpp/unixRead Finished read 2 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 2 } +15ms
Received data: <Buffer 02 00>
  serialport/stream _read reading { start: 2, toRead: 65534 } +0ms
  serialport/bindings-cpp read +17ms
  serialport/bindings-cpp/unixRead Starting read +1ms
  serialport/bindings-cpp/unixRead Finished read 3 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 3 } +1ms
Received data: <Buffer 10 00 00>
  serialport/stream _read reading { start: 5, toRead: 65531 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 2 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 2 } +0ms
Received data: <Buffer 00 00>
  serialport/stream _read reading { start: 7, toRead: 65529 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer d0>
  serialport/stream _read reading { start: 8, toRead: 65528 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 2 bytes +1ms
  serialport/stream binding.read finished { bytesRead: 2 } +1ms
Received data: <Buffer 23 09>
  serialport/stream _read reading { start: 10, toRead: 65526 } +0ms
  serialport/bindings-cpp read +1ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 57>
  serialport/stream _read reading { start: 11, toRead: 65525 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 11>
  serialport/stream _read reading { start: 12, toRead: 65524 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +1ms
  serialport/stream binding.read finished { bytesRead: 1 } +1ms
Received data: <Buffer 62>
  serialport/stream _read reading { start: 13, toRead: 65523 } +0ms
  serialport/bindings-cpp read +1ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead read error [Error: EAGAIN: resource temporarily unavailable, read] {
  errno: -11,
  code: 'EAGAIN',
  syscall: 'read'
} +0ms
  serialport/bindings-cpp/unixRead waiting for readable because of code: EAGAIN +0ms
  serialport/bindings-cpp/poller Polling for "readable" +3ms
  serialport/bindings-cpp/poller received "readable" +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 00>
  serialport/stream _read reading { start: 14, toRead: 65522 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 2 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 2 } +0ms
Received data: <Buffer 01 09>
  serialport/stream _read reading { start: 16, toRead: 65520 } +0ms
  serialport/bindings-cpp read +1ms
  serialport/bindings-cpp/unixRead Starting read +1ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +1ms
Received data: <Buffer 57>
  serialport/stream _read reading { start: 17, toRead: 65519 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 00>
  serialport/stream _read reading { start: 18, toRead: 65518 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 09>
  serialport/stream _read reading { start: 19, toRead: 65517 } +0ms
  serialport/bindings-cpp read +0ms
  serialport/bindings-cpp/unixRead Starting read +0ms
  serialport/bindings-cpp/unixRead Finished read 1 bytes +0ms
  serialport/stream binding.read finished { bytesRead: 1 } +0ms
Received data: <Buffer 98>
  serialport/stream _read reading { start: 20, toRead: 65516 } +1ms
  serialport/bindings-cpp read +1ms
  serialport/bindings-cpp/unixRead Starting read +1ms
  serialport/bindings-cpp/unixRead read error [Error: EAGAIN: resource temporarily unavailable, read] {
  errno: -11,
  code: 'EAGAIN',
  syscall: 'read'
} +0ms
  serialport/bindings-cpp/unixRead waiting for readable because of code: EAGAIN +0ms
  serialport/bindings-cpp/poller Polling for "readable" +2ms

it seems the reader has no response if the sent command was incorrect (due to incorrect data frame format protocol).


typoAdjust tablet_rowset_stale_sweep_time_sec parameter defaul…

…t value to 300
related pr: https://github.com/apache/doris/pull/25517
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Cannot Import Version 4.3

Hello,
I installed Version 4.3 on Windows Server 2016 and Windows Server 2012 R2.
Errormessage:
Import-Module: Could not load file or assembly \dsinternals.common.dll or one of its dependencies (HRESULT: 0x80131515)
PowerShell Version: 5.1.14393.2636
best regards!

Hi @Hamsterfisch
I just deployed a clean Windows Server 2016 1607 computer and DSInternals 4.3 from GitHub ran there without any issues. On a new Windows Server 2012 R2 computer, I only needed to update the .NET Framework and install the Universal C Runtime, but it then also ran without any issues. And these components even get installed automatically when Windows Update is enabled.
How did you download the module? Could you please post the exact parameters of Import-Module that you are calling it with? See Submitting Bug Reports.

Hi,
thanks for your reply.
I followed thesese instructions for installing: https://github.com/MichaelGrafnetter/DSInternals#downloads
First, I tried to install the module like this:

I also tried (Same Errormessage):
Install-Module DSInternals
Install-Module DSInternals -RequiredVersion 4.2
Because I could not download it like this, I downloaded the zip file and extracted it into C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
For importing, I followed this example:
https://www.dsinternals.com/en/retrieving-active-directory-passwords-remotely/
I also tried import-module dsinterals -force

You apparently have 2 different issues here.
If you are not able to download packages, check your internet connectivity, including proxy configuration, and TLS settings. The following command helps in some cases:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

But local installation should work under all circumstances. Are you sure that you followed the instructions? I was able to replicate the HRESULT: 0x80131515 error by not unblocking the ZIP file first. You can try to to this to fix it:
Get-ChildItem C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ -Recurse -File | Unblock-File
Import-Module DSInternals

If you tried to import the module before unblocking the files, you need to open a new PowerShell console.


[Event Request] codeunit 98 "Purchase Post via Job Queue" OnBeforeSetJobQueueStatus

Can we please get the following event?
local procedure SetJobQueueStatus(var PurchHeader: Record "Purchase Header"; NewStatus: Option)
begin
    OnBeforeSetJobQueueStatus(Rec, PurchHeader, NewStatus); //NEW Event
    PurchHeader.LockTable();
    if PurchHeader.Find then begin
        PurchHeader."Job Queue Status" := NewStatus;
        PurchHeader.Modify();
        Commit();
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeSetJobQueueStatus(JobQueueEntry: Record "Job Queue Entry"; PurchaseHeader: Record "Purchase Header"; NewJobQueueStatus: Option " ","Scheduled for Posting",Error,Posting)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Update to throw exceptions instead of logging errors [np-main]

This is a TODO for a project (see side bar)
Try to remove as much logging errors inside the business logic and raise Exceptions instead. Try to bubble it up to the point the that presentation layer (at this point only a CLI) can present useful and detailed information (if necessary).

Do not use the generic Exception class but use the more specific exception classes like ValueError, TypeError etc (standard lib exceptions).
Create custom exceptions if needed to give sufficient control to the end-user.

@ixje are you sure this one is done and not #888?


531

1 want to remind the witness to tell the truth. Bear in mind you've $@$ on the Bible.
The new prime minister will be $@$ into office tomorrow. Today official preparations are under way for the occasion.
I've always $@$ b y the book's learning techniques and I always will. They proved extremely effective during my university years.

Fixed in triosExport from 18.02.2016


Update documentation

Reduced reference to #[project], which will be deprecated.
Tweaked some explanations and examples.

bors r+


[WIP] Add Python Dev Env and add Python API for DeltaTable.

Closing this. This has been replaced with #169


RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasGemmStridedBatchedExFix( handle, opa, opb, m, n, k, (void*)(&falpha), a, CUDA_R_16F, lda, stridea, b, CUDA_R_16F, ldb, strideb, (void*)(&fbeta), c, CUDA_R_16F, ldc, stridec, num_batches, CUDA_R_32F, CUBLAS_GEMM_DEFAULT_TENSOR_OP)

Thanks for your amazing work! I was trying to run zero-shot classification of modelnet40 using the pipeline you provided.However, there is an error.
Traceback (most recent call last):   File "main.py", line 128, in <module>     main(args)   File "main.py", line 95, in main     trainer = build_trainer(cfg)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/Dassl3D/dassl/engine/build.py", line 11, in build_trainer     return TRAINER_REGISTRY.get(cfg.TRAINER.NAME)(cfg)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/Dassl3D/dassl/engine/trainer.py", line 280, in __init__     self.build_model()   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/trainers/zeroshot.py", line 55, in build_model     text_feat = textual_encoder()   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/trainers/zeroshot.py", line 20, in forward     text_feat = self.clip_model.encode_text(prompts).repeat(1, self.cfg.MODEL.PROJECT.NUM_VIEWS)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/clip/model.py", line 347, in encode_text     x = self.transformer(x)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/clip/model.py", line 202, in forward     return self.resblocks(x)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/container.py", line 204, in forward     input = module(input)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/clip/model.py", line 186, in forward     x = x + self.attention(self.ln_1(x))   File "/home/ubuntu/HDD/zyq/PointCLIP2/zeroshot_cls/clip/model.py", line 183, in attention     return self.attn(x, x, x, need_weights=False, attn_mask=self.attn_mask)[0]   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 1174, in forward     attn_mask=attn_mask, average_attn_weights=average_attn_weights)   File "/home/ubuntu/anaconda3/envs/clipoint/lib/python3.7/site-packages/torch/nn/functional.py", line 5158, in multi_head_attention_forward     attn_output_weights = torch.baddbmm(attn_mask, q_scaled, k.transpose(-2, -1)) RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasGemmStridedBatchedExFix( handle, opa, opb, m, n, k, (void*)(&falpha), a, CUDA_R_16F, lda, stridea, b, CUDA_R_16F, ldb, strideb, (void*)(&fbeta), c, CUDA_R_16F, ldc, stridec, num_batches, CUDA_R_32F, CUBLAS_GEMM_DEFAULT_TENSOR_OP)`
Looking forward to getting your reply!

Actually, I did not come across this error when I re-run this code. I think maybe the environment or data path has some problems?


RCTViewManager.h not found

Here's the error:
/usr/local/lib/node_modules/react-native-video/RCTVideoManager.h:1:9: fatal error: 'RCTViewManager.h' file not found
#import "RCTViewManager.h"

@moerabaya This is duplicated by several other issues, and fixed in master by #381.  It should drop in the next release. Can you close this issue, please?

@hellogerard Is there's a fix for it, or I have to wait for the next release?

@moerabaya You will have to wait for the next release. In the meantime, you can install the master branch directly to your project.
npm i -S git://github.com/react-native-community/react-native-video.git

I'm using react-native-video 4.4.0 and react-native 0.57.8 and I get this same error

this error still hapening in RN 0.59 with plugin version 4.4.0

I think this error because of link react-native-video, link with React (0.11.0)。
You should remove this link:

react-native unlink react-native-video

open your xcode:File>Workspace Setting>Build System>Legacy Build System

Libraries: add RCTVideo.xcodeproj

Linked Frameworks and Libraries -> libRCTVideo.a

hope it will work for you.

what is the latest version works for react native 0.57.2?  Its working with 3.2.1 Version. But there is some issue with remote video.

I think this error because of link react-native-video, link with React (0.11.0)。
You should remove this link:

react-native unlink react-native-video
open your xcode:File>Workspace Setting>Build System>Legacy Build System

Libraries: add RCTVideo.xcodeproj

Linked Frameworks and Libraries -> libRCTVideo.a

hope it will work for you.

This was the fix for me, thank you so much! I was battling with lots of errors these steps fixed it for me. For others this is using RN 0.59.3 & React-native-video 4.4.1


enum to union or the other day

Currently, I'm just creating a type from the Union. which isn't great as where I'm using CurrencyType is just a string
export type CurrencyType = Static<typeof CurrencyUnion >;

export const CurrencyUnion = Union(
	Literal("GBP"),
	Literal("EUR")
);

I want to use an enum to constrain the Currency fields. My current solution is below, but this is obviously not great as if I add to the enum, it won't be added to the Union.
Is there a way to programmatically pull the enum values into the Union, or generate an enum from a Union?
export enum Curreny {
	GBP = "GBP",
	EUR = "EUR"
}

export const CurrencyUnion = Union(
	Literal(Curreny.GBP),
	Literal(Curreny.EUR)
);

FWIW enums and unions are a bit different things in TS. You can't do like this:
enum Currency {
  GBP = "GBP",
  EUR = "EUR"
}
const currency: Currency = "GBP"
// Type '"GBP"' is not assignable to type 'Currency'.

So we might add Enum as a concrete runtype (supporting pattern matching as well) in the future.


ModuleNotFoundError: No module named 'nms_1d_cpu'

Hey,
I was trying to run your code but I am getting the above error. Could you please help me out with it?

This looks like the NMS code was not compiled properly. Can you check that?

Aah my bad, I missed that step. It works now. Thanks.


Mrschmidt options

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)

Closing as the CLA has not been signed


Update version from 0.0.112 to 0.0.113

This is an automated update of version in pyproject.toml. This action is performed by a Github Action from publish.yml.

updated version from 0.0.112 to 0.0.113, @SuleyNL pls review


iOS build failed: Some pods require a higher minimum deployment target.

Trying to use the library in an Expo project. I know that the ScreenTime API is available in iOS 15.0+ so I'm using expo-build-properties to set version 15.0 as the deployment target.
"plugins": [
      "expo-router",
      [
        "expo-build-properties",
        {
          "ios": {
            "deploymentTarget": "15.0"
          }
        }
      ]
    ],

However, when trying to create a development build, I get the following error:
🍏 iOS build failed:
Some pods require a higher minimum deployment target.
You can use the expo-build-properties config plugin (https://docs.expo.dev/versions/latest/sdk/build-properties/) to override the default native build properties and set a different minimum deployment target.

Solution was to set minimum deployment target to 16.0
I'd recommend updating documentation to reflect this requirement

beat me to it! glad you solved this issue

@stephengladney if you want to make a PR to the readme you will be listed as a contributor. i will approve your changes


docs: Remove Artik links

Closes #1265
Change-type: patch
Connects-to: 1265
Signed-off-by: Gareth Davies<EMAIL_ADDRESS>

The artik530 change also removed the [device]:{{ $device.link }} from the bottom of the page - should the artik533 change do the same?

@balena-ci retest


API of Codegen.with_jacobians is confusing

It's pretty unintuitive IMO that with_jacobians defaults to all the inputs, but the first output.  I'm honestly not sure why we did this - maybe because sometimes the second output is is_valid?  Even when writing this I initially wrote this issue description backwards assuming it was just the first input (because the last input is often epsilon).  I think it's probably more confusing to just include the first one, and we should default to all?
Example: https://colab.research.google.com/drive/1Jm3pkngrmUxxJ5wbzBlAEJI6ERhliRTk?usp=sharing

Another note here:

Also, I gave output_names which I figured would mean that those outputs get generated.


Modifying mode and filter properties does not cause managed connections to update.

After a managed connection is created, modifying the mode or filter property does not cause the connection to update and take the new settings into effect.
Affects InputConnection and OutputConnection.
let conn = midiManager.managedInputConnections["InputConnection1"];
conn?.removeAllOutputs()
conn?.mode = .allEndpoints
conn?.filter = .owned()

Fixed push to dev branch. Will merge and post new release soon.


performance?

Hey @jbucaran
The docs seem to lack any mention of "blazing fast" or similar :D
Do you have any of the common benchmarks implemented to know where hyperapp fits into either [1] or [2]?
[1] https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts/table.html
[2] http://mathieuancelin.github.io/js-repaint-perfs/

Thanks! I sent a PR to the js-repaint-perfs repo, let's hope to see it merged.
The good news are, benchmarks indicate that HyperApp is on the fast side. Careful examination of the gif below seems to favor the following order.
Inferno/HyperApp → Elm → CycleJS+Snabbdom → VueJS → morphodom
Inferno seems to do just slightly better if at all, but both Inferno and HyperApp outmatch the others and morphodom is particularly slow.

@leeoniya Thanks! I sent a PR to the js-repaint-perfs repo, let's hope to see it merged.
The good news are, benchmarks indicate that HyperApp is on the fast side. Careful examination of the gif below seems to favor the following order.
Inferno/HyperApp → Elm → CycleJS+Snabbdom → VueJS → morphodom
Inferno seems to do just slightly better if at all, but both Inferno and HyperApp outmatch the others and morphodom is particularly slow.

The docs seem to lack any mention of "blazing fast" or similar :D

Probably a positive thing. In 2017 sufficient performance is a given—I care more about ergonomics and fun.

2017 sufficient performance is a given

certainly you don't need to be the fastest. but it helps to assure people you're not the slowest either. nothing wrong with objectivity, regardless of what year it is.

I guess I'm just tired of new libraries claiming they're "blazing fast!!111!!!!" and focusing on that instead of other features. I mean IDK, Backbone was fast enough for me 😅

yeah, the original comment was meant to be tongue-in-cheek for this reason.
nevertheless, the benchmarks are hugely helpful (even if just to catch accidental lib perf regressions). if you can believe it, there are apps out there for which Backbone is grossly insufficient. if you've never had perf issues with Backbone, no one is prying it or jQuery from your hands, heh 😆

Going to close here in favor of #75.

Summary
V2's new patch algorithm (based on Superfine) is signifcantly faster than V1. Here are the benchmark results. To maximize performance, the benchmarked example app makes use of memoization to boost the rendering perf of table rows that are not affected by state changes. This technique will eventually make it into core as described in #721.


Initial Travis-CI support

It runs the tests, but the test "testEntropy" is failing still (it did that on my local machine a few times, too).
You'll need login on travis-ci.org and connect it to this repository to get this running from now on.

I should probably pull Test Entropy from the automatic test suite. It tests statistical metrics against the random number generator, and I do currently have the thresholds unnecessarily high.
The main purpose was to make sure I wasn't accidentally clobbering entropy anywhere.

Worked perfectly! Thank you!
RicMoo


ansible: Don't upgrade key cluster components on every playbook run

Latest software is good, but it should be under control.
Otherwise docker/etcd/flannel will be updated simultaneously on all nodes.

This change is

/cc @eparis @ingvagabund

ping

Is not purpose of the installation part to install the latest? If you want to keep the current versions, the installation part should be skipped instead.


Detect FullScreen mode

In Fullscreen Mode we can ignore StatusBar, Menubar if they not showing.

Improved in v1.20


Renaming a "library part file" breaks the library

I renamed the file "StatsRecordPerPeriodType.dart" to "StatsType.dart" - this should also rename the part-directive in model.dart

Works correctly to me. Is 'Search for references' enabled in your Rename dialog?

@alexander-doroshko ???? Hmmm - I think this is selected by default but I'm not sure if it was when I renamed that particular file. If I rename something in Java - it just works as expected - I don't have to check if a checkbox is ticked or not. Maybe this was the problem.

Yes, it is selected by default, but once you unselect it - next time it is unselected as well. The same for Java.
If you can't reproduce with the option checked I think the issue can be closed.


Fix DurationWidget handling of zero value

Problem
https://github.com/django-import-export/django-import-export/issues/1112

When exporting an object with a DurationField that has a value equivalent to timedelta(0), the exported value is blank (""), because of the implementation of the DurationWidget
def render(self, value, obj=None):
     if not value:
         return ""
     return str(value)

When value == datetime.timedelta(0), "" is returned.
This causes issues when re-importing exported data (and even prevents it if the DurationField in model class is not nullable).
Solution
Fixed by checking if value is None instead of relying on implicit conversion to boolean.
Acceptance Criteria
Added test_render_zero, test_clean_zero and test_clean_none for DurationWidget

Coverage increased (+0.04%) to 96.255% when pulling 381f913d1137e5fb3fdc5bd51512a6aced62c185 on ipsosante:fix/duration-widget-for-zero-value into e714a6beae428b3e227f7b32b94f6cd8cfb5592c on django-import-export:master.

BTW @cardinam thanks so much for doing this work!  I think I wrote the DurationWidget class and so the broken thing you're fixing with this PR is my fault.  ;)


support nvidia/nccl for gpu direct communication

@hjk41 the implementation is done, to use it

install nccl
compile with USE_NCCL=1
it will take effect if --kv-store device, for example

python train_mnist.py --gpus 0,1 --kv-store device

however, nccl seems having bugs, or my implementation is wrong. the ncclAllReduce is blocked randomly, and it blocks every time when using python train_imagnet.py --network vgg.
for alexnet, i didn't see a big improvement for using nccl...

If it's buggy we probably shouldn't make it default for device?

We should not consider use kvstore abstraction for the nccl case.
Instead, try to expose an allreduce interface directly is more natural to the users in this case. Consider allreduce as another alternative BSP primitive, besides kvstore

@piiswrong it takes effect only if compiled with USE_NCCL=1. i think the bug is due to nccl and a future version of nccl will fix it
@tqchen i don't think have another allreduce interface is good idea, i didn't see potential speedup on performance, but we need to maintain and test two different interfaces. while adding push_pull on kvstore which is almost equal to allreduce allow us to take advantage of other allreduce implementations.
since it goes nowhere, i will close the PR and throw away the codes

One thing we should do is to enable plugin as soon as possible in an formal way, so additional primitive, operator and loader, so these things can first start as an plugin

Hi All,
I see that the issue is closed. I would want to try out the nccl as it has optimizations for IBM power. Also, the current code base is well optimized for intel and only hope of scaling on power platforms is to use nccl. The numbers I get while running train_cifar10.py are: 513 samples/sec, 575 samples/sec, 664 samples/sec and 739 samples/sec for one, two, three and four gpus. As you can see, it is scaling pretty badly.

i think you can manually merge that PR and have a try. the main problem is that nccl is quite buggy at that time i tested. also confirmed by other platform developers, nccl didn't improve things too much on most cnns

So, can I just do a pull of that commit? I can pick them up from the browser but better would be to generate a patch and then try applying it. If something doesn;t apply automatically, I can manually do it.
For IBM systems, nccl has some good optimizations that may benefit. Dont know about stability..I tried just the benchmarks and they seem to run at a reasonable performance..can improve the low scaling I am seeing. Not sure on intel as I have access to only one GPU system
amithr

https://github.com/dmlc/mxnet/pull/1074.patch or you can use cherry-pick commits you want.

Thanks..looks like there is a marked improvement in performance..get a factor of two improvement. still verifying

Any updates on integrating nccl to MXNet?

I remember Mu has done some work on it.
On Wed, May 18, 2016 at 04:40 Valentin Churavy<EMAIL_ADDRESS>wrote:

Any updates on integrating nccl to MXNet?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/1074#issuecomment-220001276

--
Sent from mobile phone

I was running some tests..sometime it hangs. I was wondering how the data is split across workers? Does all them get equal number of iterations? otherwise some of them can get stuck and others dont arrive

yes, on a single machine each gpu has equal number of iterations. i also
saw hanging happens sometimes months ago, i guess its due to bug of nccl
On Thu, May 19, 2016 at 5:05 PM, amithr1<EMAIL_ADDRESS>wrote:

I was running some tests..sometime it hangs. I was wondering how the data
is split across workers? Does all them get equal number of iterations?
otherwise some of them can get stuck and others dont arrive
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/1074#issuecomment-220484035

Do you have a patch-set around that one could test?
On Fri, 20 May 2016 at 11:29 Mu Li<EMAIL_ADDRESS>wrote:

yes, on a single machine each gpu has equal number of iterations. i also
saw hanging happens sometimes months ago, i guess its due to bug of nccl
On Thu, May 19, 2016 at 5:05 PM, amithr1<EMAIL_ADDRESS>wrote:

I was running some tests..sometime it hangs. I was wondering how the data
is split across workers? Does all them get equal number of iterations?
otherwise some of them can get stuck and others dont arrive
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/1074#issuecomment-220484035

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/1074#issuecomment-220502554

In our experience, one way to get NCCL deadlocks is if device synchronization occurs (e.g. a call to cudaMalloc/cudaFree) concurrently while the NCCL collective kernel launches.

that may happen since the engine can have multiple threads. i thought
cudaMalloc/cudaFree
was thread-safe. or it's NCCL's fault to break that assumption
On Thu, May 19, 2016 at 7:59 PM, Andrew Tulloch<EMAIL_ADDRESS>wrote:

In our experience, one way to get NCCL deadlocks is if device
synchronization occurs (e.g. a call to cudaMalloc/cudaFree) concurrently
while the NCCL collective kernel launches.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/pull/1074#issuecomment-220505796


[Request-For-External]  Codeunit 8 "AccSchedManagement"   CalcLCYToACY

Can you please set the funktion CalcLCYToACY from local to global?
procedure CalcLCYToACY(ColValue: Decimal): Decimal
    begin

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Port to BRCore or Implementation under Forged?

Forged is turning to be "The Mini-Mod Mega-Mod of the Team". Should we pass Architect to BRCore, to Forged, or to remove this mod? (Asking @allanf181)

:stuck_out_tongue_winking_eye:

[ ] pass Architect to BRCore
[x] pass to Forged
[ ] remove this mod

:smile:
So... pass to the Forged Core Modules (embed to Forged.jar) or as a separate Module (Create a Forged-Architect.jar)

Pass to the Forged Core Modules, but with a config.

Ok. Will be passed after release of Forged-1.0


Install curl on Ubuntu explicitly

I saw you said you are working on the fix already, but you might as well consider this fix.
What this does:

Removes wget a build-time dependency for Ubuntu. Since wget is present in both Focal and Jammy, it doesn't have to be installed, and it now would not be purged from the resulting image (making Clojure images more consistent with base Temurin images).
Adds curl to runtime dependencies for Ubuntu. This is done to install it during build on Jammy (where it is missing) but not remove it at the end on Focal. Because removing it in the end on Focal may break some user builds.

Ideally, the two distros can be split and have their custom dependencies, but this is a fix for now.

Hey @alexander-yakushev yeah I just posted #222 that does nearly the same thing. Thanks for this but I'm going to go with #222 after I make sure we don't arbitrarily uninstall curl after building (thanks for reminding me about that). Among other things, I removed the need to depend on wget entirely at build time in tools-deps images.


Added regex tester

Hi, I added Cyrilex (I am the founder), it is a regex tester with a regex visualizer.

Thanks, indeed the proposal is better :)


Updated README for consistency with the other libraries

Resubmitted in https://github.com/inrupt/solid-common-vocab-rdf/pull/63/


chore(deps): update common-dev-assets digest to 5c14bd5

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
da2a55d -> 5c14bd5

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


when eval, should I store my prediction results of all of the frames in one bin file, or...

when i evaluate my predictions, should I store my prediction results of all of the frames in one .bin file. Or one frame corresponds to a .bin file, like kitti dataset.
if we store all of the predictions in one bin file, how can the eval tool(compute_detection_metrics_main) distinguish the result of one frame from one another?
if we store each frame separately, then we can only evaluate one example at a time by compute_detection_metrics_main fake_predictions.bin  fake_ground_truths.bin, which i think could not even be possible.

one file. each frame is uniquely identified by context.name and frame.timestamp_micros
see https://github.com/waymo-research/waymo-open-dataset/blob/master/waymo_open_dataset/metrics/tools/create_prediction_file_example.py

can i only set context.name without frame.timestamp_micros, or only set frame.timestamp_micros without context.name?

no, we require both.


Add modules metadata. Part 1 of 4

Would be good to add description as to why we are adding this metadata.


BTW, we have a developer group in telegram, do you want to join it?

@DIYgod
Yes I do.  I will send you a message.


Performance improvements for tsm1 limit and offset with high cardinality

Feature Request
Proposal: Improve TSM1 limit and offset, especially relevant to those with high cardinality.
At the moment, raw queries have a performance problem when you have a query with high cardinality and I'm not entirely sure some of those problems are going to change, but we can likely reduce some of the things that cause the problem to be so bad.
For limit and offset, a big section of the problem is that to figure out the first point, we still have to open a cursor for every series in the system so we can figure out which one has the first point. At the moment, similar to the problem specified in #9375, we open all of the cursors at the same time and start processing them. When we have a query with high cardinality, this is a disaster and can potentially cause the system to OOM.
As an example to illustrate the problem, imagine you have two series. The values don't matter, so the numbers below are just the times for two different series.
1 4 5 7
2 3 6 8

In this situation, you can see that attempting to read only one cursor at a time makes it impossible to actually read through this and get the correct answer. You have to read through all cursors and iterate through them at the same time to get the correct time order from them. When you have a cardinality of 1 million, that means 1 million cursors open at the same time reading through TSM1 files and those readers have their own buffers that use up even more memory.
While we'll need to try and address that issue, I'm not sure it's possible so this issue isn't about that and it may have to be handed off to ifql by enforcing some kind of row limit. This issue is about something I think we can solve which is making LIMIT and OFFSET more performant.
Similar to #9375, a LIMIT query has a set boundary for how many points it can read and is also decently easy to merge. If you do LIMIT 100, you can read the first 100 points from one cursor, read 100 points from another cursor, and then read the values into a third buffer. Then you can reuse those static buffers for each cursor similar to how you can do that with aggregate queries too.
Offset is a little bit more difficult. If you did the above with LIMIT 1 OFFSET 3, how would you know by only reading one cursor at at time which points were supposed to be skipped? In the example above, the point at timestamp 4 is in the second position of the first cursor, but that's the one that's supposed to be returned. The assumption with offset is that you could put a very large value there so, if you have a lot of values, you could query again for the next page of data. So if you wanted to read every 1,000 points, the query LIMIT 1000 OFFSET 10000 doesn't seem out of the ordinary. But, if you were to only read one cursor at a time, you would have to first organize the points you are skipping to know where you are supposed to start in each cursor.
I'm not sure how to do that. This issue is to track performance improvements to both limit and offset. I've got a pretty clear idea how to improve limit by itself at the moment, but not much in terms of offset.

One of many examples of this is in #9313.


Cannot set property X of # which only has a getter

Summary
This is a rather difficult issue which I have experienced multiple times the last 6 months. But so far I've been unable to reproduce it at a smaller scale. Even after multiple attempts.
Posting the issue hoping that someone else has encountered it too and perhaps figured out how to reproduce it.
Problem
Sometimes in more complex property override scenarios the Javascript runtime fails during class construction, because a property initializes has no setter.
        ctors: {
            init: function () {
                this.Text = "";   // <---- Fails here (Cannot set property Text .... only a getter.)
            }
        }

Steps To Reproduce
https://deck.net/dea7d2d59a17c240527ffbdb7d58ead3
Identical scenario as my project code, but somehow not reproducable at Deck. Only difference is that Base and IBase is located in a different assembly than SiteTreeNode.
public class Program
{
    public static void Main()
    {
        SiteTreeNode node = new SiteTreeNode("hehe");
        Console.WriteLine("Completed!");
    }
}

public interface IBase
{
    string Text { get; }
}

public class Base: IBase
{
        public virtual string Text { get; } = "";
}

public class SiteTreeNode: Base
{
    public SiteTreeNode(string text)
    {
       this.text = text;
    }

    public override string Text => this.text;

    readonly string text;
}

Expected Result
No error.

Actual Result
Cannot set property Text of #<ctor> which has only a getter

Unfortunately, I was not able to reproduce the issue. I tried various cases but such exception was not reproduced.

Okay, yes, having trouble reproducing at a smaller scale myself. I can try some more.

Yes, I finally seem to have been able to reproduce this. Copied the code from the first post into a new Visual Studio 2019 project and run index.html in Chrome. Not reproducable at Deck.NET. May have the same cause as #4088.


Convert self_cell struct back into owner

Hi,
rental has a way to convert a struct back into the owner (I think it’s calling into_head()). This can be used to e.g. reuse a Vec<u8> after the self-referencing struct is not needed anymore.
Could self_cell add something similar?
I hope implementing something like impl From<$StructName> for $Owner {} is safe to do.

Hi, I've thought about something like into_owner(self) -> $Owner before. And it should be possible. A tricky question how to do this in a way that doesn't introduce a branch into the drop impl. But maybe a mem::forget solution in into_owner could work.
Regarding your second question:

I hope implementing something like impl From<$StructName> for $Owner {} is safe to do.

The library is designend such that literally every kind of use and interaction not marked unsafe should be safe and sound. If you discover a flaw please report it.

@Flakebi I've pushed a commit please let me know if this addresses your use case. You can try out the new version by referencing it like this in your Cargo.toml:
[dependencies]
self_cell = { git = "https://github.com/Voultapher/self_cell" }

Thanks, that is exactly what I need!

The newly released version 0.9.0 https://github.com/Voultapher/self_cell/releases/tag/v0.9.0 contains into_owner


feature: pyenv自动安装卸载及使用文档 (#79)

close #79

Codecov Report

Merging #82 (723beb0) into 0.5.x_dev (90a0aa9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           0.5.x_dev      #82   +/-   ##
==========================================
  Coverage      84.13%   84.13%
==========================================
  Files             33       33
  Lines            750      750
==========================================
  Hits             631      631
  Misses           119      119

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 90a0aa9...723beb0. Read the comment docs.


pip install kivy.deps.gstreamer failed due to blocked access to www.googledrive.com

Due to company firewall policy, access to www.googledrive.com is blocked.
Please consider using github repo, instead of dumping files on googledrive.

Not sure if it's worth the trouble, that would be blocked the same way somewhere else.

@matham, maybe we could have a kivy.org mirror for them?

Wouldn't it still be the same issue if it's hosted on kivy.org? Also that
server may not be very fast and I dunno if it could handle so much traffic.
On Jul 26, 2016 3:58 PM, "dessant"<EMAIL_ADDRESS>wrote:

@matham https://github.com/matham, maybe we could have a kivy.org
mirror for them?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4493#issuecomment-235386027, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABkW_vfM5kV6uyvK92R6xhQnzABi7QRfks5qZmbLgaJpZM4JVfc0
.


add back the validAttr regex (corrected)

sorry about that @mxstbr

Happy to add more unit tests too if you can think of any specific use cases

@mxstbr @philpl noticed something while I was fixing this... it looks like .attrs doesn't make use of validAttrs. Is that by design? If we're passing through props to a styled component it should probably use the validAttrs filter I think.


[AutoPR datafactory/resource-manager] Add Tumbling Window dependsOn property to Trigger.json

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2902

(message created by the CI based on PR content)

@AutorestCI rebase

Encountered an unknown error
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/github_tools.py", line 32, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/bot_framework.py", line 104, in manage_comment
    response = getattr(self.handler, orderstr)(webhook_data.issue, *split_text)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/sdkbot.py", line 64, in rebase
    msg = sdk_repo.git.rebase('upstream/{}'.format(upstream_base))
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 550, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1009, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 820, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git rebase upstream/restapi_auto_datafactory/resource-manager
  stdout: 'First, rewinding head to replay your work on top of it...
Applying: Generated from d3332a5adc35cd287ab5b9e38290f80b08908103
Using index info to reconstruct a base tree...
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/copy_source.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/copy_source_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/dataset.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/dataset_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/db2_linked_service.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/db2_linked_service_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/linked_service.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/linked_service_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/my_sql_linked_service.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/my_sql_linked_service_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/postgre_sql_linked_service.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/postgre_sql_linked_service_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/teradata_linked_service.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/teradata_linked_service_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/models/tumbling_window_trigger_py3.py
M	azure-mgmt-datafactory/azure/mgmt/datafactory/version.py
Falling back to patching base and 3-way merge...
Auto-merging azure-mgmt-datafactory/azure/mgmt/datafactory/models/tumbling_window_trigger_py3.py
Auto-merging azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_source_py3.py
CONFLICT (add/add): Merge conflict in azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_source_py3.py
Auto-merging azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_object_dataset_py3.py
CONFLICT (add/add): Merge conflict in azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_object_dataset_py3.py
Auto-merging azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_linked_service_py3.py
CONFLICT (add/add): Merge conflict in azure-mgmt-datafactory/azure/mgmt/datafactory/models/responsys_linked_service_py3.py
Auto-merging azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py
Patch failed at 0001 Generated from d3332a5adc35cd287ab5b9e38290f80b08908103
The copy of the patch that failed is found in: .git/rebase-apply/patch

When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
'
  stderr: 'error: Failed to merge in the changes.'


Jira configurations: add proxy option

It might be that some particular Jira instances can be accessible behind a Proxy only. Due to that it would be great if the Jira instances could get an proxy (and if possible with authentication), such that Defectdojo can communicate with it.
This Feature Request would be to add an optional Proxy (possibly proxy authentication as well) to Jira configurations.
Additional information:
After a quick look at the source, the JIRA() instantiator from the jira library can accept a proxy

It's been a couple of years since I did this but Python / Django supports http_proxy and https_proxy environmental variables so you can set those as ENV variables before starting DefectDojo. Here's a decent article on that.
I'm assuming you want all outbound HTTP/HTTPS traffic going through a proxy - in your case the first and maybe only thing you need doing that is Jira.
HTH

No, that's the thing: only a single Jira instance is accessible only through a proxy. Any other connections (including other Jira instances) can go through direct network access.
But that's a good point: assuming that the proxy doesn't have any allow/deny list, it might be acceptable to enable the proxy for the entire Defectdojo instance
Thanks!