Fix typo in Readme.md

Fix typo which broke the link "timeouts"

ckage wol
$
$ posted 2 years ago by adrieljaredtubong
ple:Speaker A: Good morning. I’m glad yNo command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted                                 $ Good                                                            No command Good found, did you mean:
Command gold in package binutils-gold
Command fold in package coreutils                                 Command geod in package proj                                      Command look in package util-linux
$
$ posted 2 years ago by jackpot1136
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi                                  Command parted in package parted
$ I have to say thank you for your help.
No command I found, did you mean:
Command [ in package coreutils
Command k in package kona                                         Command o in package o
Command o in package o-editor
Command v in package vlang from the unstable-repo repository
$                                                                 $ posted 2 years ago by comyoussef
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi                                  Command parted in package parted
$ Goood
d and No command Goood found, did you mean:                        Command abook in package abook
Command gold in package binutils-gold
Command chmod in package coreutils
Command crond in package cronie                                   Command tload in package procps
Command geod in package proj
Command proot in package proot
Command choom in package util-linux
$
$ posted 2 years ago by sherrielee
ure thing.No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Please can you help i dont understand this its not working      No command Please found, did you mean:
Command zless in package gzip                                     Command lame in package lame
Command lpass in package lastpass-cli
Command less in package less
Command clear in package ncurses                                  Command lrelease in package qt5-tools from the x11-repo repository
Command cweave in package texlive-bin
$
y$ posted 2 years ago by doge344
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Doge1223
real-tiDoge1223: command not found
$
$ posted 2 years ago by shenk0786
me for speech-to-text transcriptiNo command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Please help on this
on.Identify pauses aNo command Please found, did you mean:
Command zless in package gzip
Command lame in package lame
Command lpass in package lastpass-cli
Command less in package less
Command clear in package ncurses
Command lrelease in package qt5-tools from the x11-repo repository
Command cweave in package texlive-bin                            $
$ posted 2 years ago by stsl
nd punctuation commands to eNo command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ чудово
чудово: command not found
$
$ posted 2 years ago by tamu18115
anscriptions are grammatically soNo command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ automobileservices.org
und.Show transcription automobileservices.org: command not found
$
$ posted a year ago by chatjan0922
on screen.The tool should be able No command posted found, did you mean:                                                             Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ KASITHBK
KASITHBK: command not found
$
$ posted a year ago by nelson1576
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Please help me out
dio as well as histoNo command Please found, did you mean:
Command zless in package gzip
Command lame in package lame
Command lpass in package lastpass-cli
Command less in package less
Command clear in package ncurses
Command lrelease in package qt5-tools from the x11-repo repository
Command cweave in package texlive-bin
$
r$ posted a year ago by 5b899289de269400127763f4
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Ayuda por fabor
No command Ayuda found, did you mean:
Command frida in package frida-tools from the root-repo repository
Command hydra in package hydra
Command lua in package lua
Command ulqda in package texlive-bin
Command sudo in package tsu
Command yadm in package yadm
Command yara in package yara from the unstable-repo repository
$
$ posted a year ago by cashcashn
the solution. Google has open soNo command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ I can't figure out guys umm umm

posted a year ago by sohelshaikh5465
Sohel shaikh 5465
posted a year ago by viloka
I need some helping hands here
posted a year ago by anspage
@anspage
posted a year ago by dgb
MU
posted a year ago by murdy
Murdy
posted a year ago by malayanhac
good morning to all SIFU And MahaGuru, i dont know what the mission today, malaysia amex huntersWas RIP.                          >
posted 10 months ago by because67
How do I delete this account
posted 8 months ago by wow
https://github.com/password_reset/AJHZT4HTEQ44HWJUPPFXN7K47TMYTA5FMVWWC2LMWNTW6ZDZM5XW63DFIBTW2YLJNQXGG33NUVTG64TDMXBLG5DXN5PWMYLDORXXEX3WMVZGSZTJMVSME
posted 8 months ago by ultraprecisekamal
()=>Thank you runkit team
posted 6 months ago by 5d44a5261549b3001313407f
Ass
> posted 6 months ago by 5d5d647b2ddea900148b41fe
https://dioulde.home.blog
https://diouldehome.wordpress.com
https://diouldebaldehome.wordpress.com
Pourquoi ça ne reduise pas en 1?
posted 3 months ago by 5db066a397504b001306620e
https://m.adam4adam.com/
Add a comment
> posted a year ago by cutmuetia
Cutmuetia1998
V.1.0.0                                                         >
posted a year ago by alfian878787
https://github.com/mizuka-wu/git-mirror-action/blob/ccf4b66c8441ea570ac13a06aacfc94ccc9ba36d/git-mirror.sh
posted a year ago by w5g
Hello World
posted a year ago by fc5gl
exports.endpoint = function(request, response) {
// your code goes here
}
posted a year ago by fc5gl
exports.endpoint = function(request, response) {
// your code goes here
}
posted a year ago by fc5gl
Missassug
A20s                                                            >
posted a year ago by fc5gl                                      > Liverar sansug a20s
posted a year ago by fc5gl
Sansug a20s desbloquear
posted 10 months ago by pierre030
run
posted 9 months ago by 5f18c5cd819d4d001ab8c527                 > Albrg.com
> posted 8 months ago by 5f48df306db183001a393ef2
deme
@@??
posted 6 months ago by sacidmohamed45
I_mascud
posted 6 months ago by mdshakibhosain45
Run                                                             >
posted 5 months ago by mike1978
ffuvk alll yoou biichs
posted 5 months ago by mike1978
iifuck any niigge
posted 5 months ago by 444hasa4
// Here all we're really saving is the function() heading.
bash: syntax error near unexpected token (' $ numbers.map(number => bash: syntax error near unexpected token number'                 $ {
if (number % 3 == 0 && number % 5 === 0)
return "Fizz Buzz";
if (number % 3 === 0)
    return "Fizz";

if (number % 5 === 0)
    return "Buzz";

return number;

}).join("")
bash: syntax error near unexpected token }' $ $ posted 4 months ago by hongtaekim3                              No command posted found, did you mean:  Command paste in package coreutils  Command orted in package openmpi  Command parted in package parted $ : $ $ Welcome to the first Maverick challenge for PROJECT SPARK.Project Spark builds a voice-based note-taking artificial intelligence assistant that records, transcribes, and provides insights for voice conversation in near real time. We will release development and design Maverick challenges over the next several months to build this functionality in iterations - you can find these by searching for "Project Spark." Welcome: command not found                                        $ $ Objective Objective: command not found                                      $                                                                 $ This first challenge requires you to build a speech-to-text transcription tool that accurately creates high quality transcriptions for live voice conversations and distinguishes between different speakers by partitioning text into segments associated with each speaker. You will build a speech recognition tool that applies speaker diarization (https://ai.googleblog.com/2018/11/accurate-online-speaker-diarization.html). bash: syntax error near unexpected token ('
$
$
$
$ Requirements                                                    Requirements: command not found
$
$ Assume there are two speakers (Speaker A and Speaker B). As text is spoken into microphone, the tool converts the voice to text with accuracy greater than 80%.Partition each speaker’s text into its own paragraph (Speaker Diarization). For example:Speaker A: Good morning. I’m glad you could join the meeting. How are you?Speaker B: I’m great, how are you?Speaker A: Doing well. Let’s go ahead and get started.Speaker B: Sure thing. The first thing I want to discuss is the agenda.Low latency - response time should be near real-time for speech-to-text transcription.Identify pauses and punctuation commands to ensure that transcriptions are grammatically sound.Show transcription on screen.The tool should be able to sync and work with both live meeting audio as well as historic meeting recordings.Use open-source tools and libraries for the solution. Google has open source core algorithms around this you may use as well as more details: https://ai.googleblog.com/2018/11/accurate-online-speaker-diarization.htmlKeep the solution lightweight for ease of deployability.
bash: syntax error near unexpected token (' $ $ $ $ HTML (Not required, but if included in code, please follow guidelines below) bash: syntax error near unexpected token Not'
$
$ Comments preferred on all page elements to explain code usage for future developers to understand how you used your code.Clean INDENTATION for all HTML code preferred.HTML code naming should not have any conflicts or errors.Element and Attribute names should be in lowercase and use a "-" or camel naming to separate multiple-word classes (i.e.. "main-content", or "mainContent).Semantically correct tags preferred - use H tags for headers, etc. Use strong and em tags instead of bold and italic tags.Avoid inline CSS styles - all styles should be placed in an external stylesheet.Please validate your code - comment your reason for any validation errors.
bash: syntax error near unexpected token (' $ $ $ $ CSS (Not required, but if included in code, please follow guidelines below) bash: syntax error near unexpected token Not'
$
$ Use CSS3 Media Queries to load different styles for each page. Avoid building a different page for different device/layout.You should use LESSin the project.Provide comments on the CSS code. Please provide CSS comments to give a clear explanation of the code usage. The goal is to help future developers understand the code.Please use clean INDENTATION for all CSS so developers can follow the code.All CSS naming should avoid any conflicts.As possible use CSS3 style when creating all styling.Use CSS to space out objects, not clear/transparent images (GIFs or PNGs) and use proper structural CSS to lay out your page.Only use table tags for tables of data/information and not for page layout.
bash: syntax error near unexpected token (' $ $ JS (Not required, but if included in code, please follow guidelines below) bash: syntax error near unexpected token Not'
$
$ You should use your own scripts or scripts that are free, publicly available, and do not have copyright statements or author recognition requirements in the code.All JavaScript should not have copyright by a third party.
No command You found, did you mean:
Command du in package coreutils
Command go in package golang
Command dot in package graphviz                                   Command jo in package jo
Command joe in package joe
Command joe in package jupp                                       Command ksu in package krb5
Command mdu in package mtools
Command mu in package mu
Command toe in package ncurses-utils                              Command nu in package nushell                                     Command o in package o
Command o in package o-editor
Command moc in package qt5-base from the x11-repo repository
Command co in package rcs
Command sox in package sox
Command su in package termux-tools
Command tor in package tor
Command tsu in package tsu
Command col in package util-linux
Command cu in package uucp
Command wol in package wol
$
$
$
$ Documentation
Documentation: command not found
$
$ Please provide documentation around your approach to the solution and any details needed to iterate on the solution.
No command Please found, did you mean:
Command zless in package gzip
Command lame in package lame
Command lpass in package lastpass-cli
Command less in package less
Command clear in package ncurses
Command lrelease in package qt5-tools from the x11-repo repository
Command cweave in package texlive-bin
$                                                                 $
$                                                                 $ Licenses & Attribution
[1] 5655
Licenses: command not found
Attribution: command not found
[1]+  Exit 127                Licenses
$
$ Third-party assets used to build your item must be properly licensed or free for commercial use. MIT, some modified BSD, Apache 2 licenses are sufficient.
Third-party: command not found
$
$ Sufficient information regarding third-party assets must be present in your documentation. This includes the author, license info, and a direct link to the asset online.
Sufficient: command not found
$
$
$
$
$ posted 3 months ago by 6006d4c759f64a001a4bf442
No command posted found, did you mean:                             Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted                                 $ n.suo
No command n.suo found, did you mean:
Command b2sum in package coreutils
Command neato in package graphviz
Command ksu in package krb5                                       Command nano in package nano
Command ncdu in package ncdu
Command nu in package nushell
Command su in package termux-tools
Command sudo in package tsu
$
$ posted 3 months ago by queen300
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ JsxjsoJsxjsoaJsxjsoaksso
JsxjsoJsxjsoaJsxjsoaksso: command not found
$
$ posted 3 months ago by mass59
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ runkit
No command runkit found, did you mean:
Command runit in package runit                                   $
$ posted 3 months ago by divasinbox81
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Run                                                             No command Run found, did you mean:                                Command cut in package coreutils
Command pub in package dart
Command duc in package duc
Command duk in package duktape
Command hub in package hub
Command dub in package ldc
Command lua in package lua                                        Command man in package man
Command zrun in package moreutils                                 Command uz in package mtools                                      Command mu in package mu
Command mhn in package nmh from the unstable-repo repository
Command nnn in package nnn
Command nu in package nushell
Command pup in package pup
Command runc in package runc from the root-repo repository
Command svn in package subversion
Command su in package termux-tools
Command sn in package tin-summer
Command ul in package util-linux                                  Command cu in package uucp
$
$ posted a month ago by chriswheeler
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Keep my acounts fom getgetting hacked
No command Keep found, did you mean:
Command sleep in package coreutils                                Command grep in package grep
Command pee in package moreutils                                 $
$ posted a month ago by chriswheeler
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ Keep acounts private
No command Keep found, did you mean:
Command sleep in package coreutils
Command grep in package grep
Command pee in package moreutils
$
$ posted 18 days ago by a188896
No command posted found, did you mean:
Command paste in package coreutils
Command orted in package openmpi
Command parted in package parted
$ okay
No command okay found, did you mean:
Command kak in package kakoune
Command play in package sox                                      $ Add a comment
No command Add found, did you mean:
Command ldd in package binutils
Command dd in package coreutils
$ ub
No command ub found, did you mean:
Command ab in package apache2
Command pub in package dart
Command hub in package hub
Command dub in package ldc
Command uz in package mtools
Command ul in package util-linux
$ linux
No command linux found, did you mean:
Command link in package coreutils
Command links in package links
Command lynx in package lynx
Command linux32 in package util-linux
$ x3
No command x3 found, did you mean:
Command i3 in package i3 from the x11-repo repository
Command xz in package xz-utils
Command z3 in package z3
$ 5
No command 5 found, did you mean:
Command [ in package coreutils
Command k in package kona
Command o in package o
Command o in package o-editor
Command v in package vlang from the unstable-repo repository
$ 0m
No command 0m found, did you mean:
Command nm in package binutils                                    Command rm in package coreutils
Command gm in package graphicsmagick
Command am in package termux-am
Command pm in package termux-tools                               $ $ posted 3 months ago by 6006d4c759f64a001a4bf442
No command $ found, did you mean:
Command [ in package coreutils
Command k in package kona
Command o in package o
Command o in package o-editor
Command v in package vlang from the unstable-repo repository
$ No command posted found, did you mean:
No command No found, did you mean:
Command go in package golang
Command jo in package jo
Command o in package o
Command o in package o-editor
Command co in package rcs
$
$ 34
No command 34 found, did you mean:
Command m4 in package m4
$ z5
No command z5 found, did you mean:
Command z3 in package z3
$
$ <IP_ADDRESS>/8', '<IP_ADDRESS>/8'])
proxyaddr(req, ['<IP_ADDRESS>/<IP_ADDRESS>', '192.168.
bash: <IP_ADDRESS>/8, <IP_ADDRESS>/8])
proxyaddr(req, [<IP_ADDRESS>/<IP_ADDRESS>, 192.168.: No such file or directory
$ runkit
No command runkit found, did you mean:
Command runit in package runit
$ #
$
$ #>     if (number % 3 == 0 && number % 5 === 0)
$ >         return "Fizz Buzz";
Fizz Buzz: command not found
$ >
bash: syntax error near unexpected token newline' $ >     if (number % 3 === 0) bash: syntax error near unexpected token ('
$ >         return "Fizz";
No command Fizz found, did you mean:
Command size in package binutils
Command pigz in package pigz
Command wuzz in package wuzz
$ >
bash: syntax error near unexpected token newline' $ >     if (number % 5 === 0) bash: syntax error near unexpected token ('
$ >         return "Buzz";
No command Buzz found, did you mean:


CUDA error: an illegal memory access was encountered

Describe the bug
I am trying to run splatfacto on a custom dataset.
After 40 iterations, the ns-train command runs into the following error:
  File "./nerfstudio/nerfstudio/engine/callbacks.py", line 105, in run_callback
    self.func(*self.args, **self.kwargs, step=step)
  File "./nerfstudio/nerfstudio/models/splatfacto.py", line 352, in after_train
    self.vis_counts[visible_mask] = self.vis_counts[visible_mask] + 1

To Reproduce
Steps to reproduce the behavior:
The behavior is not exactly reproducible unless I share the data here, which I am not sure if I have the liberty to.
The training command is:
ns-train splatfacto \
--experiment-name=${EXP_NAME} \
--output-dir ${OUT_DIR} \
--steps-per-save=1000 \
--max-num-iterations=300000 \
--vis "${vis}" \
--timestamp "$timestamp" \
--logging.relative-log-dir="logs" \
--data=${DATA_PATH} \
blender-data

I modified the code as in #2902 to load a pointcloud with a blender data.
Expected behavior
The training happens without any issues.
Screenshots
I tried printing visible mask:
            visible_mask = (self.radii > 0).flatten()
            print("Visible Mask: ", visible_mask, " Type: ", type(visible_mask))

However, just before failure it doesn't print other things, only the text, so not sure what is up there:

What dataset are you using and how do the initial sfm/camera poses look like in the viewer? This "error" happens when you are splatting and there are no valid gaussians in view, so the CUDA backend most likely fails mysteriously and self.radii is either empty or never filled. From my experience, this is usually solved by verifying that my initial sfm points are in the correct coordinate frame and that I have processed my poses correctly. Just some thoughts...

Hi @maturk
Thanks for checking this!
I am using a synthetic room dataset, with pointclouds which have holes in them and are imperfect.
I am sure the poses are right, because it works for a similar dataset, derived from the same source.
    print("Visible Mask: ", visible_mask, " Type: ", type(visible_mask))
  File "/User/gunjanchhablani/miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor.py", line 431, in __repr__
    return torch._tensor_str._str(self, tensor_contents=tensor_contents)
  File "/User/gunjanchhablani/miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor_str.py", line 664, in _str
    return _str_intern(self, tensor_contents=tensor_contents)
  File "/User/gunjanchhablani/miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor_str.py", line 595, in _str_intern
    tensor_str = _tensor_str(self, indent)
  File "/User/gunjanchhablani/miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor_str.py", line 347, in _tensor_str
    formatter = _Formatter(get_summarized_data(self) if summarize else self)
  File "/User/gunjanchhablani/miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor_str.py", line 133, in __init__
    value_str = f"{value}"
  File "/User/gunjanchhablani//miniforge3/envs/nerfstudio/lib/python3.9/site-packages/torch/_tensor.py", line 933, in __format__
    return self.item().__format__(format_spec)
RuntimeError: CUDA error: an illegal memory access was encountered```

@gchhablani if visible_mask is "corrputed" it means self.radii is corrupted which is what is calculated in the cuda backend. It is strange you are getting this error, I would carefully check your SfM points (maybe visualize them at the first training iteration).

@maturk
I am able to visualize things on ns-viewer. The pointcloud looks okay. Can you please share what am I supposed to look for?
Thanks!

Resolved!

What was happening in my case:
I was actually manually cropping a pointcloud generate gaussians for particular region. Some of the camera poses inside that region however were pointing outwards (where there were no points because the region was cropped out). So, the problem was that during splatting, the rasterizer was trying to get some gaussians to use for splatting, where there were none present (hence the CUDA error).
How I solved this:
By adding some extra "boundary" points from the pointcloud so there is something to look at.
Alternatively, I could have generated random points around my cropped region or removed those camera poses pointing beyond the region.
Another interesting finding:

Setting RGB values to non-ints (by accident) leads to CUDA error too.


Add example using utoipa for OpenAPI spec (in examples/demo)

See https://github.com/huggingface/text-generation-inference/blob/main/router/src/server.rs#L1438
related issues:

[ ] add example
[ ] add a new readme mapping a topic to specific code (direct link)

https://github.com/loco-rs/loco/issues/632
https://github.com/loco-rs/loco/issues/612

done https://github.com/loco-rs/loco/tree/master/examples/demo#openapi-with-utoipa


only display reasons for possible errors if there is an error in the search, display in red

Currently tool always states:
If the above search returned an error please check that you have closed all your brackets. Some special characters (i.e. &) may also cause errors.
We have a check for uneven brackets bracket_match_check so could give this a specific error message and take out of generic one

works for mismatched brackets, doesn't work for "cake & gluten" - I think previously there was a warning, now it just closes - may worth going through special characters and seeing what the tool dislikes!

doesn't like when " are not closed

Interesting - cake and 'gluten intolerance' returns one more result than cake and "gluten intolerance" - it looks like this is caused by Scopus

annoying one - don't think we can have the quote marks error for ' as you can have "it's alive"

single quote removed


How to deploy this sample to Azure?

I will need to deploy similar app to azure.
Please assist on the list of configuration steps:

Upload certificate to Azure App Service (Settings -> Certificates)
Configure app to use that certificate: add cert's thumbprint to some config file (Don't know where it is yet)

Does this look like a full list? Am I missing something?

Hello @Rulikkk : the configuration steps are explained in https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/blob/master/Manual-Configuration-Steps.md.
this is a console application, would that work with app service?
If it does you might want to store the certificate in KeyVault, and deploy it from there: https://blogs.msdn.microsoft.com/appserviceteam/2016/05/24/deploying-azure-web-app-certificate-through-key-vault/


Azure ml extension ERROR: 'ml' is misspelled or not recognized by the system. when running from Azure DEVOPS with Agent poolself-hosted

Describe the bug
Trying to run the following command:
az ml compute create
From an Azure CLI script in Azure Devops.  Using a self hosted agent pool to a VM we created.
Installed the latest version of Azure CLI and the latest version of Azure ml extension.
Get the following error:
ERROR: 'ml' is misspelled or not recognized by the system.
2023-07-20T19:53:49.0001918Z
2023-07-20T19:53:49.0002349Z Examples from AI knowledge base:
2023-07-20T19:53:49.0002666Z az extension add --name anextension
2023-07-20T19:53:49.0003057Z Add extension by name
Have confirmed multiple times that the server (Windows 2019) server has the extension installed correctly.  Opened a Microsoft ticket
As was referred to here on this issue has stopping us from creating a machine learning compute service.  Please let me know what is needed to resolve this.
Related command
az ml compute create
Errors
Get the following error:
ERROR: 'ml' is misspelled or not recognized by the system.
2023-07-20T19:53:49.0001918Z
2023-07-20T19:53:49.0002349Z Examples from AI knowledge base:
2023-07-20T19:53:49.0002666Z az extension add --name anextension
2023-07-20T19:53:49.0003057Z Add extension by name
Issue script & Debug output
2023-07-20T20:22:26.6179650Z ERROR: 'ml' is misspelled or not recognized by the system.
2023-07-20T20:22:26.6181023Z
2023-07-20T20:22:26.6182035Z Examples from AI knowledge base:
2023-07-20T20:22:26.6183140Z az extension add --name anextension
2023-07-20T20:22:26.6184125Z Add extension by name
2023-07-20T20:22:26.6184947Z
2023-07-20T20:22:26.6185878Z az extension list-available
2023-07-20T20:22:26.6186872Z List all publicly available extensions
Expected behavior
Expected to run command for create ml compute
Environment Summary
2023-07-20T20:21:51.2843945Z [command]C:\windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" --version"
2023-07-20T20:21:53.9084006Z azure-cli                         2.50.0
2023-07-20T20:21:53.9085065Z
2023-07-20T20:21:53.9086144Z core                              2.50.0
2023-07-20T20:21:53.9087120Z telemetry                          1.0.8
2023-07-20T20:21:53.9088185Z
2023-07-20T20:21:53.9089232Z Extensions:
2023-07-20T20:21:53.9090403Z ml                                2.18.0
2023-07-20T20:21:53.9091146Z
2023-07-20T20:21:53.9092022Z Dependencies:
2023-07-20T20:21:53.9092942Z msal                              1.22.0
2023-07-20T20:21:53.9093894Z azure-mgmt-resource             23.1.0b2
2023-07-20T20:21:53.9094650Z
2023-07-20T20:21:53.9095642Z Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
2023-07-20T20:21:53.9096752Z Extensions directory 'C:\Windows\ServiceProfiles\NetworkService.azure\cliextensions'
2023-07-20T20:21:53.9097629Z
2023-07-20T20:21:53.9098890Z Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
2023-07-20T20:21:53.9099856Z
2023-07-20T20:21:53.9100869Z Legal docs and information: aka.ms/AzureCliLegal
2023-07-20T20:21:53.9101655Z
2023-07-20T20:21:53.9102306Z
2023-07-20T20:21:53.9103157Z Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

@jguerr06 Thanks for reaching out to us and reporting this issue. Could you please run the below command and test ?

az extension add -n ml --system -y

If the above step doesn't help, try following this article and check if that helps.
If the note of the above helps, try downgrading the CLI version azure-cli<2.40.0 That should fix this issue.

Hey,
Thanks for the reply.  I tried all the suggestions.  Uninstalled the CLI and downgraded to 2.39 as its right below 2.40.  I then reinstalled the extension with the command provided.  It installed 2.19 version of ml extension.  I then had an error with access to a folder that I resolved. I then restarted the server to be sure.  Now it is back to the same issue as before.  So no change overall.  Followed the article too.

Adding Service team to look into this.

@navba-MSFT, do we have any update for @jguerr06? What might be the root cause? and possible work around?

Hey,
Issue was not resolved but ran it with ARM template and it worked.  Still looking to find answer for CLI command.
Jose A. Guerrero,
Application Engineering Services (AES) Application Engineer
Application Technical Operations (ATO), MMC Tech
T +1<PHONE_NUMBER>   M +1<PHONE_NUMBER>
Marsh McLennan, 445 South St Suite 210, Morristown, NJ, 07960
www.mmc.comhttp://www.mmc.com/
MMC GL ATO AES EPM support (TKT CREATOR<EMAIL_ADDRESS>From: Hung-Chun Yu @.>
Sent: Monday, August 07, 2023 4:55 PM
To: Azure/azure-cli @.>
Cc: Guerrero, Jose @.>; Mention @.>
Subject: Re: [Azure/azure-cli] Azure ml extension ERROR: 'ml' is misspelled or not recognized by the system. when running from Azure DEVOPS with Agent poolself-hosted (Issue #26954)
@navba-MSFThttps://urldefense.com/v3/__https:/github.com/navba-MSFT__;!!O7V3aRRsHkZJLA!Bhs8aYNiVkEAiZ298mBQAKdCGmIxebfaOu8DUVobDg7YbgAjZmpj6QyofTkkrchDUOlOJnPyLQa7uRjIaj1AC4QKCA$, do we have any update for @jguerr06https://urldefense.com/v3/__https:/github.com/jguerr06__;!!O7V3aRRsHkZJLA!Bhs8aYNiVkEAiZ298mBQAKdCGmIxebfaOu8DUVobDg7YbgAjZmpj6QyofTkkrchDUOlOJnPyLQa7uRjIaj0p3eJHRQ$? What might be the root cause? and possible work around?

Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Azure/azure-cli/issues/26954*issuecomment-1668565240__;Iw!!O7V3aRRsHkZJLA!Bhs8aYNiVkEAiZ298mBQAKdCGmIxebfaOu8DUVobDg7YbgAjZmpj6QyofTkkrchDUOlOJnPyLQa7uRjIaj03qIwrOA$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQBXBVNJYOSAW4URHDSPNRLXUFIZ7ANCNFSM6AAAAAA2R6BN3Y__;!!O7V3aRRsHkZJLA!Bhs8aYNiVkEAiZ298mBQAKdCGmIxebfaOu8DUVobDg7YbgAjZmpj6QyofTkkrchDUOlOJnPyLQa7uRjIaj3Sg4Q90w$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

This e-mail, including any attachments that accompany it, may contain
information that is confidential or privileged. This e-mail is
intended solely for the use of the individual(s) to whom it was intended to be
addressed. If you have received this e-mail and are not an intended recipient,
any disclosure, distribution, copying or other use or
retention of this email or information contained within it are prohibited.
If you have received this email in error, please immediately
reply to the sender via e-mail and also permanently
delete all copies of the original message together with any of its attachments
from your computer or device.


Add generic dot product as a method on NDArray.

Right now we only have "matMul" which forces you to have 2 Array2Ds, so a vector * matrix becomes:
v.as2D(-1, m.shape[0]).matMul(m)
We should simply have to do v.dot(m).

We also currently have a "dotProduct" method, which we should consolidate under tensordot with the fix for this issue.

@dsmilkov can this be closed since it is a dup of #664 which is closed?

we already marked #664 as dup of this one, so let's keep this open

This issue was moved to tensorflow/tfjs#112


DOC: Clairfy that windows are DFT-even by default

Closes gh-6963
Times like this really make me wish for a way of templating all of these very similar spectral function docstrings. Anyone every do something like that?

stats.distributions assemble docstrings from templates, with string interpolation from dicts at import time (see stats/_distn_infrastructure.py). Might (or might not) be cleaner to use e.g. Tempita at build time.

ndimage has templating too, search for doccer.

Templating not needed in this PR, so merging. Thanks @e-q


feat: add schemalex/schemalex

https://github.com/aquaproj/aqua-registry/pull/10219 schemalex/schemalex: Generate difference sql of two mysql schema
$ aqua g -i schemalex/schemalex

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.
Command and output
$ schemalex --help
schemalex version v0.1.1

schemalex -version
schemalex [options...] before after

-v            Print out the version and exit
-o file       Output the result to the specified file (default: stdout)
-t[=true]     Enable/Disable transaction in the output (default: true)

"before" and "after" may be a file path, or a URI.
Special URI schemes "mysql" and "local-git" are supported on top of
"file". If the special path "-" is used, it is treated as stdin

Examples:

* Compare local files
  schemalex /path/to/file /another/path/to/file
  schemalex file:///path/to/file /another/path/to/file

* Compare local file against online mysql schema
  schemalex /path/to/file "mysql://user:password@tcp(host:port)/dbname?option=value"

* Compare file in local git repository against local file
  schemalex "local-git:///path/to/repo?file=foo.sql&commitish=deadbeaf" /path/to/file

* Compare schema from stdin against local file
        .... | schemalex - /path/to/file

$ schemadiff --help
schemadiff version v0.1.1

schemadiff -version
schemadiff [options...] before after

-v            Print out the version and exit
-o file	      Output the result to the specified file (default: stdout)
-t[=true]     Enable/Disable transaction in the output (default: true)

"before" and "after" may be a file path, or a URI.
Special URI schemes "mysql" and "local-git" are supported on top of
"file". If the special path "-" is used, it is treated as stdin

Examples:

* Compare local files
  schemadiff /path/to/file /another/path/to/file
  schemadiff file:///path/to/file /another/path/to/file

* Compare local file against online mysql schema
  schemadiff /path/to/file "mysql://user:password@tcp(host:port)/dbname?option=value"

* Compare file in local git repository against local file
  schemadiff "local-git:///path/to/repo?file=foo.sql&commitish=deadbeaf" /path/to/file

* Compare schema from stdin against local file
	.... | schemadiff - /path/to/file

$ schemalint --help
schemalint version v0.1.1

schemalint -version
schemalint [options...] source

-v            Print out the version and exit
-o file	      Output the result to the specified file (default: stdout)
-i number     Number of spaces to insert as indent (default: 2)

"source" may be a file path, or a URI.
Special URI schemes "mysql" and "local-git" are supported on top of
"file". If the special path "-" is used, it is treated as stdin.

Examples:

* Lint a local file
  schemalint /path/to/file
  schemalint file:///path/to/file

* Lint an online mysql schema
  schemalint "mysql://user:password@tcp(host:port)/dbname?option=value"

* Lint a file in local git repository
  schemalint "local-git:///path/to/repo?file=foo.sql&commitish=deadbeaf"

* Lint schema from stdin against local file
	.... | schemalint -

Reference

README.md (SYNOPSIS)

https://github.com/schemalex/schemalex/blob/master/README.md#synopsis

I tried https://github.com/aquaproj/generate-registry-deep right away. It's very useful 👍 👍
But, didn't can detect files section. I thought it would be more convenient if files were supported.
The following URL is actually workflow result:
https://github.com/ponkio-o/generate-registry-deep/actions/runs/4274260509

But, didn't can detect files section. I thought it would be more convenient if files were supported.

Created an issue. https://github.com/aquaproj/aqua/issues/1667


Vertices from shapenet models

ShapeNet models have large number of vertices[eg: 26000 vertices for car models] but your model generates much lesser vertices. So, are the ground truth meshes converted to low resolution before finding the chamfer distance?
Also, some of those vertices in the ground truth correspond to the interior of the car like below

Do you just ignore those vertices or just let them be there for the chamfer distance calculation?

So the vertex simplification is only for computing the latent loss. When training and evaluating using the chamfer loss we do not use simplified meshes, however we do only use the surface information and internal mesh information is removed


j2objc-1.0.2

pod update is too slow,
and I have download j2objc-1.0.2.zip,
Could I integrate with this zip?

A small update to the Scripts/download.sh would achieve this.
change
curl -OL https://github.com/google/j2objc/releases/download/${j2objc_version}/j2objc-${j2objc_version}.zip

to something like (and don't delete the zip incase you need to run it again)
if [ ! -f j2objc-${j2objc_version}.zip ]; then
    curl -OL https://github.com/google/j2objc/releases/download/${j2objc_version}/j2objc-${j2objc_version}.zip
    echo "${sha1_checksum}  j2objc-${j2objc_version}.zip" | shasum -c
    unzip -o -q j2objc-${j2objc_version}.zip
    mv j2objc-${j2objc_version} Distributive
    rm j2objc-${j2objc_version}.zip
fi

Thanks.


Update README.md

Fix typo

This change is

@chrisledet sorry it took so long. done the change

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

README.md, line 10 at r1 (raw file):
Previously, chrisledet (Chris Ledet) wrote…
How about wrapping it with quotes as well?
Example:
Type a comment "@{github bot username} rebase" in a pull request

Done.

Comments from Reviewable

Thanks!


test.afterEach() is not called on failing tests

Description
test.afterEach hook is not called on failed tests, which causes some failed tests to hang. For example:
const test = require('ava');
const mongodb = require('mongodb');

test.beforeEach(async t => {
  t.context.db = await mongodb.connect('mongodb://localhost:27017/test');
});

test(async t => {
  throw Error('foo');
});

test.afterEach(async t => {
  await t.context.db.close(true);
});

The above code would cause ava to hang indefinitely instead of reporting test failure.

Environment

Node.js v4.4.2
darwin 15.5.0

That is by design, but you might want to look at https://github.com/sindresorhus/ava/pull/806 (or the issue linked there). It just landed in master (not on npm yet), it adds a .always attribute to test (test.afterEach.always(...)) that will get run even if the tests fail.

Thanks! Is there any ETA as to when this feature will make its way to npm?

BTW, to those who encounter the same issue, my current workaround is the following:

test.beforeEach(async t => {
  t.context.db = await mongodb.connect('mongodb://localhost:27017/test');
  t.context.timeout = setTimeout(() => t.context.db.close(true), 10000);
});

test.afterEach(async t => {
  clearTimeout(t.context.timeout);
  await t.context.db.close(true);
});

That is, assuming your tests take less than 10s to run.

Updating to the newest version and using the always modifier fixed this issue. Closing.


chore: fix issue where IPv6 caused issue

Ref: https://github.com/f-secure-foundry/usbarmory-debian-base_image/issues/9

Thanks!
What do you think about making that all one RUN statement since it's related to installing the packages:
RUN mkdir ~/.gnupg \
    && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf
    && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main" ...

Thanks!
What do you think about making that all one RUN statement since it's related to installing the packages:
RUN mkdir ~/.gnupg \
    && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
    && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main" ...

[x] Done

thanks again!


Reconsider syntax of if expression

At present, left-recursion constraint means that an if expression requires brackets around it.
We could go back to if <condition> then <expr> else <expr>, or turn it into a quasi function (like VB and Excel)
if(, , )

Superseded by #257


update main.js with correct link

This might not be the correct link? I am struggling with finding the proper way to pull in puppeteer-chrome as the base and then run my main.js with my other package.json files

Yes it's correct, but maybe it's not very helpful. Would this be more helpful? https://sdk.apify.com/docs/guides/docker-images


Remove redundant logic to reset data before database call

Description:

In the analytic dashboard widgets, there was an issue, in which when the data is not returned from the database, the callback function was not executed in the WidgetChannelManager. This is now fixed and the redundant logic to reset data before the database call should be removed from the widgets.

Suggested Assignees:

@isharailanga @Ambujaa10

This issue is fixed for is-analytics.

Closing as per above comment.

This should be fixed for EI-Analytics too.


Custom master key

If you create a user, and create secrets while signed in, you will be using the MASTER_KEY created from that user, and not the one set by the server.

No longer valid as the entire encryption has been moved to the client


How to pass collation from client?

Steps to reproduce
Seeing the information here https://github.com/feathersjs-ecosystem/feathers-mongoose/issues/211 I want to use collation from a query I send from feathers-client.
      const query = { $sort: { name: 1 } };
      const collation = { locale: 'en', strength: 1 };
      const { data } = await service.find({ query, collation }));

This code works server-side in testing.  But I need to be able to do this via the feathersjs client.
However, feathers-client ONLY passes the query (for security reasons).  So, the collation information is dropped.
Is there a reason "collation" is not another element in the query like $sort etc.?  How can I pass a custom collation from the client directly?
Expected behavior
I specify a collation from the client and get information back from the service using that collation.
Actual behavior
Collation is ignored
System configuration
Feathers-mongoose 7.3.2
Node.JS 10.15.3
FeathersJS 3.1.7

It is not passed because it is not clear if this is a security relevant parameter. If you don't think it is for you application, it is a two-liner before hook to enable a $collation query parameter:
context => {
  context.params.collation = params.query.$collation;
  return context;
}


Analytics v1 page tracking in v2

In version 1 of this package I would get pages views as follows:
Viewed team Page
Viewed league Page
In version 2 I get:
View TITLE OF WEBSITE
The problem is that every page on my site has the same title, so this new format is problematic. More than that, it only seems to log the first page load. All subsequent page loads aren't logged. I don't know if it's not logging the events, because the TITLE is the same for all the pages. Although 2 of the same events right after each other in other places doesn't cause this problem.
Any ideas how can I revert back to the old event naming easily? Or is the only solution using v1 of this package?
Thanks

@elie222 See my response to you here https://github.com/okgrow/analytics/issues/161 , in short use<EMAIL_ADDRESS>

Yes we do have a bug in 2.1.x where name is not being properly passed. However, this will be fixed (shortly) to use document.title. As @cfnelson mentioned, if you rely on route name, stay with 2.0.1. If you are willing to set document.title for your pages you can use 2.1.3 (coming soon).

v2.1.3 Is published and fixes an issue where document.title was not being properly passed to the page tracking.


[5.1] Fix exists for SqlServer

Fixed broken exists statement as discussed in #10373

@GrahamCampbell I fixed the code as you mentioned in your comment and updated by pull request

@schinken I just realized that columns should be reset when implementing the exists queries. See this commit that I've made for ref: https://github.com/yajra/laravel-oci8/commit/6452860e46514ca381cdb92cc72e755b403a0975

@yajra What's the reason for cloning the Builder object? I also thought about resetting the columns...

It's for duplicating the query object just to be sure that we will not be modifying the existing query when we reset the columns to empty array.

@yajra Check my updated commit

@schinken looks good for me. :+1:

Can anyone that uses SQL Server confirms that this actually works?

I've tested the query on an SQL Server before making this commit:
christopher@cucumber:~$ sqlcmd -S tcp:sqlsrv -U "testuser" -Q "select top 1 1 [exists] from [users] WHERE id = 1"
exists
-----------
          1

(1 rows affected)
christopher@cucumber:~$ sqlcmd -S tcp:sqlsrv -U "testuser" -Q "select top 1 1 [exists] from [users] WHERE id =<PHONE_NUMBER>7"
exists
-----------

(0 rows affected)


New potential units

[x] beats per minute, BPM
[x] ksi, Mpsi
[x] https://en.wikipedia.org/wiki/Rack_unit
[ ] https://en.wikipedia.org/wiki/Barrel_(unit)
[x] gradian (we already have gon which is the same thing)
[x] https://en.wikipedia.org/wiki/Stone_(unit)

Let's close this for now and add "barrel"s whenever someone needs them


WIP: Introduction of an archive into docs and ESR changelog

This pull request adds a new folder archive.
Within this archive the user can find:

the all old mattermost server releases
the changelogs for old major releases (0 - 3)

Still a lot to do:

Search and fix broken links within docs
Outline the ESR version better
fix broken links on website (?)

@amyblais
This should hopefully reflect our discussion yesterday

Hi @JtheBAB,
I took a glance at this and have a few comments:

I think it would be best to keep the "Version Archive" name as it currently is to avoid broken links and to avoid any confusion if people are used to that name.
I think the list of current versions in the Version Archive should include all versions until the ESR (not just the latest/newest version).
I think it's fine to have the "Archive" section under the "Upgrade Mattermost" section instead of under a new section.

Let me know what you think, thank you for doing so much work on this,

Hi @amyblais,
Thank you for your comments.

I think it would be best to keep the "Version Archive" name as it currently is to avoid broken links and to avoid any confusion if people are used to that name.

We could create a almost empty version-archive.rst with the link to the current-version.rst, then we don't loose someone.

I think the list of current versions in the Version Archive should include all versions until the ESR (not just the latest/newest version).

I did this because the current-version.rst should have only the supported version by Mattermost. As far as i know this is to this date 4.10, 5.9, 5.11 right? This helps the customers to find the right version when they go over docs. Of course, i would add then the current ESR Version into this file.

I think it's fine to have the "Archive" section under the "Upgrade Mattermost" section instead of under a new section.

The problem is the structure of docs itself. At the moment everything is max three levels. But the third level in the left menu is made with the headers in the file. For example to split the changelog into different versions the menu would look like this:

Administrator’s Guide
-- Upgrade Mattermost
--- Mattermost Changelog
--- Mattermost Changelog Archive v0.5.0 - v.0.7.0
---- Release v0.7.0 (Beta1)
---- Release v0.6.0 (Alpha)
--- Mattermost Changelog Archive v1.0.0 - v.1.4.0

and then we are again in one huge file.

Hi @JtheBAB, I've considered your notes and I think it should work. Please make any final tweaks and changes and then I'll review it and also ask a PM to review this.

@amyblais
Ready for the review.
I split the ESR changelog for easier navigation. Found a old link in the changelog. Please have a look and let me know what you think.
Thanks

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

Hey @JtheBAB,
Do you have questions about the feedback from Amy?

@hanzei
No. It’s Amy that need to do the next step. See the last comment.

@JtheBAB I see. Thanks for the update :+1:

Hi @amyblais - I'm helping to review stale PRs and as this one is very old I'll close it off for now.
@JtheBAB - please feel free to re-open if you and Amy are able to prioritize.


Code the UI of a carousel on the / route.

example image is attached...

Hi. I'd like to take on this issue. Can you assign me to it?

Hi. I'd like to take on this issue. Can you assign me to it?

Sure! You can skip the firebase part of installation as it is not working yet...

Hey @MiliMade i would like to work on this issue.

I'll not assign the tasks to someone specific as a general rule from now. Anyone can open a pull request with the required changes.


Where is this paper published?

Hi, I would like to know have your paper been published in conference or journal? I would like to cite the conference/journal name in my paper. Thanks.

Hi @BravoLu , I really appreciate it!
I am sorry that the paper has not been accepted yet. You may cite the arXiv version if applicable. In fact, we tried a lot of CV&AI conferences (CVPR, AAAI, etc.) since 2018 but received few positive comments.


[MATH-1537] refine javadoc

refine javadoc

Coverage remained the same at 90.552% when pulling 84f08fce9f8f5a4e18f1552ec9db132cd9526bf0 on XenoAmess:refine_javadoc into 67aea22b0882675886b78a296d7055e66bd5a2e6 on apache:master.


Fixes for protobuf changes

@petewarden do I retry testing?  what is this fixing?

This has been superseded by https://github.com/google/protobuf/pull/1586, so closing this PR.


Unable to get Kafka data

Kafka version: <IP_ADDRESS>
Storage: Kafka
K-o-m version: latest
Consumer Group and Topic List show empty values. The offsets database is being created, but when I check in sqlite, although I can see the tables and indexes, there doesn't appear to be any data in them. Running kom doesn't produce any error messages

@bluebob Ahh, sorry I have not yet tried this against versions of Kafka > 0.10.0.X.  There could very well be a bug using the v<IP_ADDRESS> kafka client against a v0.10.2 broker.

@bluebob To humor me, can you tell me the options you are using to start k-o-m?

/usr/bin/java -Djava.security.auth.login.config=conf/server-client-jaas.conf \   -cp /opt/kafoffmgr/KafkaOffsetMonitor-assembly-0.4.1-SNAPSHOT.jar \        com.quantifind.kafka.offsetapp.OffsetGetterWeb \      --offsetStorage kafka \      --kafkaBrokers vmkf:9200 \      --zk vmzk \      --port 8001 \      --refresh 10.seconds \      --retain 2.days \      --dbName offsetapp_kafka
(just dumped the content of the small bash script I'm using)

+1
with 0.10.0.X

Similar problem whit kafka <IP_ADDRESS>:
2017-05-24 13:07:39 ERROR KafkaOffsetGetter$:103 - Kafka AdminClient polling aborted due to an unexpected exception.
java.lang.RuntimeException: Request METADATA failed on brokers List(Node(-2, <IP_ADDRESS>, 9092), Node(-3, <IP_ADDRESS>, 9092), Node(-1, <IP_ADDRESS>, 9092))
	at kafka.admin.AdminClient.sendAnyNode(AdminClient.scala:73)
	at kafka.admin.AdminClient.findAllBrokers(AdminClient.scala:93)
	at kafka.admin.AdminClient.listAllGroups(AdminClient.scala:101)
	at kafka.admin.AdminClient.listAllGroupsFlattened(AdminClient.scala:122)
	at kafka.admin.AdminClient.listAllConsumerGroupsFlattened(AdminClient.scala:126)
	at com.quantifind.kafka.core.KafkaOffsetGetter$$anonfun$f$lzycompute$1.apply$mcV$sp(KafkaOffsetGetter.scala:338)
	at com.quantifind.kafka.core.KafkaOffsetGetter$$anonfun$f$lzycompute$1.apply(KafkaOffsetGetter.scala:332)
	at com.quantifind.kafka.core.KafkaOffsetGetter$$anonfun$f$lzycompute$1.apply(KafkaOffsetGetter.scala:332)
	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
	at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

I was execute whitout errors in my local machine (same zk and brokers), but in prod server that exception was throw.
nohup java -cp KafkaOffsetMonitor:KafkaOffsetMonitor/KafkaOffsetMonitor-assembly-0.4.1-SNAPSHOT.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --offsetStorage kafka --kafkaBrokers xxx:9092,xxy:9092,xyz:9092 --zk zk:2181/kafka-prod --port 10002 --refresh 10.seconds --retain 2.days --dbName offsetapp_kafka
Is strange becouse in my machine works fine. (prod server run in AWS machine)

@rodrigongarcia Thanks. I'm glad you found the issue you were having on your servers. I found an issue where the database may not get cleaned up correctly based on the --retain command-line flag.  I'll post this fix in the coming weeks. Hopefully this will help with your memory issue.
@bluebob I tracked an issue where data may not get saved to the database which then is used to display the historical graph. I'll post a fix for this in the coming weeks. Hopefully this will solve your issue.

I have a similar problem : no consumer group or data in the UI
java -Djava.security.auth.login.config=conf/server-client-jaas.conf -cp KafkaOffsetMonitor-assembly-0.4.1-SNAPSHOT.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --offsetStorage kafka --kafkaBrokers "broker1:1025,broker2:1025,broker3:1025" --port 9090 --refresh 20.seconds --retain 2.days --zk leader.mesos:2181/dcos-service-confluent-kafka
I guess it's because the zookeeper group/node is not called kafka (this is dcos-service-confluent-kafka) ? No ?

@fmarchand You are correct.  This monitor, at this point, expects the standard Kafka Zookeeper paths.

I am facing the same issue
zkCli.sh ls /
[cluster, controller_epoch, controller, brokers, zookeeper, kafka-manager, admin, isr_change_notification, consumers, latest_producer_id_block, config]

Facing the same issue not working for brokers <IP_ADDRESS> with kafka offset storage.

@s-aravind-flipkart @aabed @fmarchand @bluebob :
Sorry for the delay everyone.  I am planning on dropping a new version here around the end of the year which fixes quite a few existing bugs and brings some new features.


PHP 7.1 Features missing

As of now, new features introduced in PHP 7.1 are marked as errors.
Here's a list of the new features in PHP 7.1. http://php.net/manual/de/migration71.new-features.php
Would be nice to see them in the future.
For example:

I don't get this error. Silly question: What's your php version you use locally?

There is no "plain code validation", these are errors reported by the parser

I'm curious:

You say php 7.1 features could only be parsed by php 7.1, didn't you?

It seems... this problem wasn't a problem with the extension.
It seems some backup reset my PATH back to php7.0.
Sorry about that.
Can be closed...


Vertically center brand in the navbar

Fixes #102

Thanks for your contribution to Open Source Friday, @arun1595! You rock!


Reduced FPS with nuxt v3.10.3

Describe the bug
I have created a new project with the latest nuxt 3.10.3. I added a simple view but unfortunately, from version 3.8.0 onwards, it has less than 40FPS. Even on a simple view, which is displaying a Torus. I can't find the cause of this problem. The problem occurs locally.
Windows 11
With nuxt 3.8.0 I have 165FPS (stable)
Reproduction
https://github.com/Dekier/html-error
Steps to reproduce
https://github.com/Dekier/html-error
System Info
No response
Used Package Manager
yarn
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

fun fact:
NUXT 3.10.3
This little project on the browser:
Edge has ~40FPS but 100% CPU and 0 GPU usage.
Chrome has ~165 but 0% CPU and 10% GPU usage
For my game:
Edge has ~2FPS but 100% CPU and 0 GPU usage.
Chrome has ~40FPS but 0% CPU and 10% GPU usage
NUXT 3.8.0
For my game (big project):
Edge has ~168FPS but 10% CPU usage and 40% - 100% GPU usage.
Chrome has ~168FPS but 10% CPU usage and 40% - 100% GPU usage.
it looks like the newer nuxt blocks CPU and GPU usage on the windows
The project must be built on windows


site-wide social include

Features
Social logos appear on the upper right. They move orientation as the screen gets smaller. Then disappear when it goes into mobile view. The hamburger menu now has a text version of the social options. I also threw the forum in that list.
There was some duplication and discrepancies with desktop, so I cleaned those up a bit.
In my journey I found some bugs and deprecations so those were addressed too.
Preview
http://<IP_ADDRESS>/versions/social_media_update/faq/index.html

Comments
Long story short, the site is kind of stuck with old bootstrap, old jquery, and quite a mess of display issues due some hackery. So things don't work quite as they should. I tried updating bootstrap and jquery, but these ended up being incompatible with the site due to said hackery and would need a lot of work.

played around a bit on the link you provided, 2 observations

why do we need on all pages? I think its sufficient to just have it in main page and tutorial pages, everywhere else I feel its a distraction.
Logos are of very poor quality and on my 1080p monitor they look pretty bad, don't they have high def logos?

@swamy for the tutorial pages I had something else in mind. I would provide a different layout.
It would stack like...
Nav
Title
Abstract
Prerequisites
Tags
Share this page buttons
Video if available
Content
CTAs:

Related tutorials links
Share this page buttons

With this PR I was testing a simple concept that uses Sphinx's templating system and the site's current layout as a precursor.
SK's advise was to redo the site to fix all of the bootstrap and Sphinx hacks so it is easy to update and will behave as expected. I won't attempt anything fancy after what I just went through to get even this working.
I can turn off the include for certain sections. I can add the text menu to the nav to align it with mobile. I can bump the res of the images. After that, it's pretty hard right now.
Also, I think the buttons should call some attention. We want people to click on them. I'd like to see more votes on limiting which pages they appear.

@aaronmarkham feel free to raise this discussion on the dev@ and seek more opinions. At the moment I feel the design needs a little more work and is not cohesive with the current website layout.

I'm using svg images instead now, so things should look good an whatever resolution, plus they're small. And yes, I put them in the mxnet repo because otherwise they wouldn't work without switching to embedding and tl;dr: no thanks.
I also posted the images and associated Sketch files to the web-data repo in case anyone (like a designer!) wants to tinker with improving the images.
The contribute page looks better now... and also uses the svg images.

@nswamy I fixed the responsive design for your higher res monitor. Though I'm sure the css could use an overhaul.

I tested on my Mac / Chrome / 34-inch (3440 x 1440) and the social icons don't look good.

I my opinion the icons are distracting a bit. But the main problem is the complexity of their layout. Do you think it would make sense to try them on the left menu instead? The one that gets hidden on tight mobile sceens.

@lebeg Take a look at the preview on your mobile or just resize the screen to pretty small - the social links are text in that hamburger menu, but only for "mobile", and that view doesn't trigger until under 600px. So then desktop would never see them. I could just add text to the desktop nav instead of buttons, and the CSS complexity goes away.
The current CSS and implementation of boostrap appears pretty messed up. It behaves inappropriately, and I found that the entanglements are huge. Various JS scripts are injecting or overwriting stuff after boostrap has rendered which could explain why bootstrap doesn't work as expected. Like there's a footer bug that me, Krishnan, or SK couldn't figure out. Maybe someone else can, but it seems like it is basically a start-over job with the design, or hack on what we have.
I can tinker with the CSS a bit more and try to get rid of that crowding you see - make buttons smaller increase padding and so forth, but I'm going to have to find a better monitor as what I have does get that high of resolution.
I like incremental improvement. If anyone else wants to take a stab at the same feature, that's cool. Or fix/upgrade the bootstrap implementation. That would be awesome.
I just think we really should improve the marketing game on the site and try to boost MXNet's social numbers, and I don't think waiting for a site redesign is ideal.

I agree that it's probably enough to put it on the landing page only.
Note that we have a friendly URL for Youtube now: https://www.youtube.com/apachemxnet

@simoncorstonoliver Thanks for your feedback. I only include the buttons on the home page now. I've updated the Youtube link.

could you show a variation using the logos provided by the platforms ?

@nswamy This one uses the logos from the platforms rather than trying to conform them to the mxnet blue background.
http://<IP_ADDRESS>/versions/social_media_update_v2/

Maybe adding some paddings and reducing the size of the buttons might help improving their appearance.

Ok, here's the latest:
http://<IP_ADDRESS>/versions/social_media_update_v2/
I tested on a high res monitor and fixed the padding so there shouldn't be overlap.
I had to refactor to allow for the promo.
@nswamy - Do you still request changes?

Looking good on my monster monitor

@nswamy - Do you still request changes?

Looks good!

Please check the site on different resolutions, on my mac the logos look small

@lupesko - do you still request changes? The latest is hosted here: http://<IP_ADDRESS>/versions/social_media_update_v2/

@nswamy ping for review/approval

Since ApacheCon is almost over, I should remove that logo, and rebase all of this to make sure it's all working as expected. That would take care of both things, but I don't want to do that if there's not a consensus on this feature.

@nswamy requesting a review/approval for this PR.

@aaronmarkham Can you please resolve conflicts so that we can move forward with this PR?

@Roshrini Ok, resolved conflicts... let's see if it clears CI.

Looks fine... Travis just timed out. So this ready for review/approval/merge.

@aaronmarkham Were you able to work on the broken images?
If that part is fixed we can add reviewers to go forward.

@ankkhedia Yes, the preview link is updated and the images are all there.

@nswamy ping for reviewing again as all the comments has been addressed.

@aaronmarkham thanks for your contribution! I see the CI build is failing - could you re-trigger the build with an empty commit?

@mxnet-label-bot update [Website, pr-awaiting-testing]

Closing this PR. I can try another round of adding social buttons later. The other updates on the community page are already in #13705.


Release 0.20.0

It's been a while, and I would like to do an addr2line release.

Coverage remained the same at 86.534% when pulling c0c11c7e5173352dc8ab62adaea5c278f74a3802 on philipc:release into 30131d8c3601f3ac8a66844c932f0dcd6bcd769a on gimli-rs:master.


Fix broken link

@Robo210 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Karl-Bridge-Microsoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

#sign-off


Migrate to pact-foundation and update to use pact-net v4 latest

Migrate to pact-foundation
Update to use pact-net v4 now that is in GA

Upgrade guide

Created a new repo under the pact-foundation org with changes in #8 applied.
It may be worth updating readme to point at the new readme, and archiving this to avoid confusion

Thanks Yousaf!

Migrated to https://github.com/pact-foundation/pact-workshop-dotnet
Closing down this PR 👍🏾


Fix a problem with aromatic heteroatom tautomer enumeration

There was a problem with moving Hs onto/off of charged aromatic N atoms.
This updates the transform rules so that that no longer happens.
Fixes one of the problems raised in #2908

@mcs07 : if you have time to take a look a this, I'd love your comments.
The transforms we are using came from molvs originally, so you might find the changes useful there too.

Hi Greg, this seems reasonable to me, although it has been a long while since I thought deeply about this. At least it doesn't break anything in the small collection of tests in MolVS.
To be honest, I've always felt that this method of enumerating via transforms and scoring to find a canonical tautomer is a bit flawed, and it will always be a struggle to make it robust and efficient. For ages I've been meaning to try do an implementation that is closer to the Sayle/Delany method but never got around to it...

Thanks @mcs07!
I agree that the Sayle/Delany approach is also interesting (and something I may also look at as I continue to fall into this rabbit hole), but the transform-based approach is still certainly useful and has the advantage of being pretty easy to explain and expand.


Updated Nerd Days page

This is a work in progress (tldr: 🤰  + ⏳ = 💻  🚧 )
This PR adds the markup and styles for the updated Nerd Days landing page design. This is a work in progress (that I'm submitting as a draft so that in case my wife gives birth this weekend, the team still has a way to carry the ball forward while I'm gone) so there are a lot of things to notes:

From a development perspective, this page is ready to be pushed live to the dev site (pending a review, of course) as a single landing page for nerd days (more on what I mean by that below).
This isn't yet a template, just a landing page for nerd days. The "templatization" of this page is the plan, but for now to get something workable and accessible to the rest of the team this is just a single landing page while I work on it.
There are no new components included in this PR. While several of the elements in this design should be made into components, for now they're all just markup and styles. Again, this along with the previous point are among the next tasks on my plate for this project.
Dark mode hasn't been implemented yet
There's a weird bug where the icons for the first two tracks disappear when the sidebar disappears (below 760px viewport width)

Next steps

Create the components out of the appropriate elements on the page (and update the components guide)
Build out dark mode
Turn the page into a template (could use direction from the dev experience team when the time comes)

Reviewer Notes
The page lives at /nerd-days
Related Issue(s) / Ticket(s)
Very closely related to #694, but this PR doesn't yet contain the components and other changes that will allow this design to be implemented as a template.
Screenshot(s)

Edit: I (Jerel) am opening this PR in a branch on this repo so we can continue to make updates easily. This branch is a copy of the forked version.

Copy changes can be found on this comment


Can't authorize a publish with postgres

I'm trying to implement auth postgres but I can't authorized publishes.
In a desperate attempt I did this:
-- import default hooks and cache logic
require "auth/auth_commons"
-- import shared database query logic
require "auth/postgres_cockroach_commons"

function auth_on_register(reg)
   return auth_on_register_common(postgres, reg)
end

function auth_on_pub(pub)
    return true
end

pool = "auth_postgres"
config = {
    pool_id = pool,
}

postgres.ensure_pool(config)
hooks = {
    auth_on_register     = auth_on_register,
    auth_on_publish      = auth_on_pub,
    auth_on_subscribe    = auth_on_pub,
    on_unsubscribe       = auth_on_pub,
    on_client_gone       = auth_on_pub,
    on_client_offline    = auth_on_pub,
    on_session_expired   = auth_on_pub,

    auth_on_register_m5  = auth_on_pub,
    auth_on_publish_m5   = auth_on_pub,
    auth_on_subscribe_m5 = auth_on_pub,
}

but still I get
2021-04-14 11:41:59.467 [error] <0.2866.0>@vmq_mqtt_fsm:auth_on_publish:739 can't auth publish [<<"user2">>,{[],<<"b8:27:eb:09:b1:d3">>},1,[<<"devices">>,<<"B184">>,<<"616">>,<<"data">>],<<219,221,204,207,120,1,1,66,20,40,246>>,false] due to not_authorized

what am I missing? auth_on_register works but the others don't.

@mendess is it possible you run into the session cache? ACLs are cached upon connect, clients need to disconnect or administratively re-authorized to trigger a re-loading of ACLs.

 But you could just disconnect and re-connect the client.

Is there a good way to debug this? I can't seem to make verne call my functions, I tried adding print statements and still had no success

@mendess do you have another authorization plugin before the Postgres one? have you disabled vmq_acl?

I don't think so, this is my vernemq.conf
allow_anonymous = off
allow_register_during_netsplit = off
allow_publish_during_netsplit = off
allow_subscribe_during_netsplit = off
allow_unsubscribe_during_netsplit = off
allow_multiple_sessions = off
coordinate_registrations = on
max_inflight_messages = 20
max_online_messages = 1000
max_offline_messages = 1000
max_message_size = 0
upgrade_outgoing_qos = off
listener.max_connections = 10000
listener.nr_of_acceptors = 10
listener.tcp.default = <IP_ADDRESS>:8883
listener.vmq.clustering = <IP_ADDRESS>:44053
listener.http.default = <IP_ADDRESS>:8887
systree_enabled = on
systree_interval = 20000
graphite_enabled = off
graphite_host = localhost
graphite_port = 2003
graphite_interval = 20000
shared_subscription_policy = prefer_local
plugins.vmq_passwd = off
plugins.vmq_acl = off
plugins.vmq_diversity = on
plugins.vmq_webhooks = off
plugins.vmq_bridge = off
metadata_plugin = vmq_plumtree
vmq_acl.acl_file = ./etc/vmq.acl
vmq_acl.acl_reload_interval = 10
vmq_passwd.password_file = ./etc/vmq.passwd
vmq_passwd.password_reload_interval = 10
vmq_diversity.script_dir = ./share/lua
vmq_diversity.auth_postgres.enabled = on
vmq_diversity.postgres.host = localhost
vmq_diversity.postgres.port = 5432
vmq_diversity.postgres.user = postgres
vmq_diversity.postgres.password = postgres
vmq_diversity.postgres.database = vernemq_db
vmq_diversity.postgres.ssl = off
vmq_diversity.postgres.password_hash_method = crypt
vmq_diversity.auth_cockroachdb.enabled = off
vmq_diversity.cockroachdb.ssl = on
vmq_diversity.cockroachdb.password_hash_method = bcrypt
vmq_diversity.auth_mysql.enabled = off
vmq_diversity.mysql.password_hash_method = password
vmq_diversity.auth_mongodb.enabled = off
vmq_diversity.mongodb.ssl = off
vmq_diversity.auth_redis.enabled = off
vmq_bcrypt.pool_size = 1
log.console = file
log.console.level = info
log.console.file = ./log/console.log
log.error.file = ./log/error.log
log.syslog = off
log.crash = on
log.crash.file = ./log/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5
nodename =<EMAIL_ADDRESS>distributed_cookie = vmq
erlang.async_threads = 64
erlang.max_ports = 262144
leveldb.maximum_memory.percent = 70

Okay, I'm sure now that my function is not being called at all, it's only called on client_gone

The ACLs stored in the database were not enough and since the default register method caches these I vernemq doesn't look at my functions only at it's cache


JETAnalyzer: report invalid global assignment

Codecov Report

Merging #370 (ffb4759) into master (75d7ca3) will decrease coverage by 0.19%.
The diff coverage is 79.54%.

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
- Coverage   90.27%   90.08%   -0.20%
==========================================
  Files          11       11
  Lines        2551     2592      +41
==========================================
+ Hits         2303     2335      +32
- Misses        248      257       +9

Impacted Files
Coverage Δ

src/analyzers/jetanalyzer.jl
95.64% <79.54%> (-1.56%)
:arrow_down:

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 75d7ca3...ffb4759. Read the comment docs.


Editing pass

I edited for spelling, punctuation, grammar, usage, and corporate voice. I also corrected some links and made sure everything points uses https rather than http.

@Buzzardo mind looking at the conflicts?


Fixed link to Windows Container Lab Setup

The previous link was dead. Updated to the new location.

Link fix


Change ORG_OPENCASTPROJECT_DOWNLOAD_URL in multiserver docker-compose

The Environment variable ORG_OPENCASTPROJECT_DOWNLOAD_URL sets org.opencastproject.download.url
which defaults to org.opencastproject.server.url. The setting matters only at the presentation
node and should match the url to the presentation node or a load balancer in front of it.
Since org.opencastproject.server.url is not reachable from the host in the samples it is
explicitly set to the presentation node URL reachable from the host.
This was pointed out in a discussion with @lkiesow and @mtneug on the Matrix #opencast-community.

Thanks!


TF 2.0:  tf.GradientTape().gradient() returns None

I designed my own loss function for my graduate research, it calculates the distance between the histogram of each loss in a batch and normal distribution. I am implementing this loss function in the setting of Tensorflow 2.0 tutorial about Iris flower classification.
I checked my loss value and type, they are same as the one in tutorial, but the grads from my tape.gradient() is None.
This is done in Google Colab with:
TensorFlow version: 2.0.0-beta1
Eager execution: True
My code block for loss and gradient:
def loss(model, x, y):
  y_ = model(x) # y_.shape is (batch_size, 3)
  losses = []
  for i in range(y.shape[0]):
    loss = loss_object(y_true=y[i], y_pred=y_[i])
    losses.append(float(loss))
  dis = get_distance_between_samples_and_distribution(losses, if_plot = 0)
  return tf.convert_to_tensor(dis, dtype=np.float32)

def grad(model, inputs, targets):
  with tf.GradientTape() as tape:
    loss_value = loss(model, inputs, targets)
    tape.watch(model.trainable_variables)
  return loss_value, tape.gradient(loss_value, model.trainable_variables)

loss_value, grads = grad(model, features, labels)
print("loss_value:",loss_value)
print("type(loss_value):", type(loss_value))
print("grads:", grads)
################################################# Output:
loss_value: tf.Tensor(0.21066944, shape=(), dtype=float32)
type(loss_value): <class 'tensorflow.python.framework.ops.EagerTensor'>
grads: [None, None, None, None, None, None]

The code in tutorial is:
loss_object = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True)

def loss(model, x, y):
  y_ = model(x)
  return loss_object(y_true=y, y_pred=y_)

def grad(model, inputs, targets):
  with tf.GradientTape() as tape:
    loss_value = loss(model, inputs, targets)
    tape.watch(model.trainable_variables)
  return loss_value, tape.gradient(loss_value, model.trainable_variables)

loss_value, grads = grad(model, features, labels)
print("loss_value:",loss_value)
print("type(loss_value):", type(loss_value))
print("grads:", grads)
################################################# Output:
loss_value: tf.Tensor(0.56536925, shape=(), dtype=float32)
type(loss_value): <class 'tensorflow.python.framework.ops.EagerTensor'>
grads: [<tf.Tensor: id=9962, shape=(4, 10), dtype=float32, numpy=
array([[ 0.0000000e+00,  6.5984917e-01,  3.0700830e-01, -7.5234145e-01,
      ......

I feel the calculation of my self defined loss should not matter since the data type and shape are same, but in case it does, here is my loss function:
def get_distance_between_samples_and_distribution(errors, if_plot = 1, n_bins = 5):
  def get_middle(x):
    xMid = np.zeros(x.shape[0]//2)
    for i in range(xMid.shape[0]):
      xMid[i] = 0.5*(x[2*i]+x[2*i+1])
    return xMid

  bins, edges = np.histogram(errors, n_bins, normed=1)
  left,right = edges[:-1],edges[1:]
  X = np.array([left,right]).T.flatten()
  Y = np.array([bins,bins]).T.flatten()
  X_middle = get_middle(X)
  Y_middle = get_middle(Y)
  distance = []
  for i in range(X_middle.shape[0]):
    dis = np.abs(scipy.stats.norm.pdf(X_middle[i])- Y_middle[i])
    distance.append(dis)
  distance2 = np.power(distance, 2)

  return sum(distance2)/len(distance2)

I searched and tried adding tape.watch(), checking the indentation of my return as suggested in issue #29942 but they did not fix this None problem. I will very appreciate any suggestion for fixing this. Thanks!
The definition of class tf.GradientTape is here

it's solved

@sailormoon2016 If possible post how you resolved so that it will help the community. Thanks!

I figured my self defined loss function may not be differentiable, so I modified my loss function to make sure the calculation is differentiable, then the results come out as expected. My customized loss function did give a better accuracy compared to the default cross-entropy. you can find my code here if you are interested in. Let me know if you have more question.

@sailormoon2016 Thanks for the information and code. It will help others in the community. Greatly appreciated. Thanks!

Below link is helpful in finding problems related to GradientTape :
Tensorflow 2.0 Pitfalls

it's solved

Can you share how you solved this?

I have a stranger loss function where I am converting the output to embeddings and calculating distance of embeddings. This is not at all differentiable even if embeddings are built with TF math ops. Is there an example for writing my own differentiation code as this is not realisable through TF automatic differentiation?

I have a stranger loss function where I am converting the output to embeddings and calculating distance of embeddings. This is not at all differentiable even if embeddings are built with TF math ops. Is there an example for writing my own differentiation code as this is not realisable through TF automatic differentiation?

Hi I had the same issue but after indenting loss calculation within tf.GradientTape it started to work

Requesting help with my Issue #56657.
Kindly help, if stil in-touch with GradCam.
Thank you :)


I am looking to hire an ESP32 C to Python programmer

Hi
I am looking to hire an ESP32 Python programmer to help me to develop a firework interface for ESP32 I2S for a mic on I2S ICS-43434 IC and play wav using I2S MAX98357A IC. The target is work needed Google speech recognition and Google text to speech from ESP32.
The development environment must run as Python from:  https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
If you have an experience on ESP32 MicroPython_ESP32_psRAM_LoBo Python please reply my email<EMAIL_ADDRESS>And call my Skype nissim.test
The work is fix price, milestone-based and payment will be as showing milestone below,
We will provide the hardware for that:

Expose to LoBO Python the ESP32-IDE /MicroPython/Tools/esp-idf/components/driver/include/driver/I2S.H and I2S.C by integrate them in machine module so dir(machine) will show the I2S interface and all commands to set I2S for recording and playing using the ESP32 DMA. With test Python app showing that all I2S in machine.I2S  module is working. No new make file will be created, only add code to machine module.
Use the above machine.I2S to record and play to a wav file using a digital mic on I2S ICS-43434 IC and play wav using MAX98357A IC.  With test Python app showing that wav and playing are working from random files, as play("test.wav") and record ("rec.wav") both must work on the same time. Also support for Flak encoding, so if test.wav is Flak file it will be played ok. If a command record_flak ("rec_flak.wav") the rec_flak.wav will be flak file.
Doing above but record and play from ram, with Flak encoding as needed by Google SR AND TTS. See https://cloud.google.com/speech-to-text/docs/encoding.
With test Python app demo it working.
Use ram Flak Ram recoding to do SR to get the recognized the Mic audio, as text returns from Google back to ESP32, modify the return text with meaningful information and send to be played by Google TTS.  Like Siri. With ESP32.
Replace the button function  By voice keyword recognized as gate to SR.
All from Python As:
You Say "Lovey’s",  recorded to Ram in a loop all the time. Lower audio level is a mark to send chunk of 1 sec ("Lovey’s") data to Google SR after flak encoding. Room normal audio level must be monitor all the time, in separate multi tasking way.
Wait get recognize " Lovy's as return text, if not go to stage 1
Play TTS "Yes"
You Say to Mic I2S ICS-43434 “What is the baby temperature now?”
Get back the text in ESP32 Python  “What is the baby temperature now”
ESP32 Send to TTS “The temperature now is 30 degree”
The return wav or Flak been played to  using MAX98357A over I2S
Loop command can be continue until will be no command for 30 sec, than the keyword "Lovey’s",  must say again.
So, I believe to expose I2S code from ESP32 C  to Python will not be a big work.
a.	Google API use wav Audio Encoding name: FLAC Free Lossless Audio Codec 16-bit or 24-bit required for streams.
b.	So, FLAC can be done in C or Python. But interface must be from Python. See https://goo.gl/mtrwVN
Maybe this is a good source for FLAC in C https://goo.gl/cCYFTh
Contact : Nissim Zur<EMAIL_ADDRESS>Skype: nissim.test

Please don't post this in github issues


Musculoskeletal - Tier 2

We have received a very well organised recommendations template.
We need to study and provide feedback.

[ ] investigate overlap with Tier 1 or other Tier 2
[ ] investigate potential mapping with DCP fields
[ ] investigate suggested ontologies (!), enums & data types

Some preliminary feedback.

mapping
number
percent

new
10
28.57

dcp
14
40

tier1
4
11.43

tier2
7
20

detailed table

Field name
mapping
existing field

smoking_status
tier2
donor_organism.medical_history.smoking_status

smoking_pack_years
tier2
donor_organism.medical_history.smoking_pack_years

years_since_smoking_cessation
tier2
donor_organism.medical_history.years_since_smoking_cessation

bmi
dcp
donor_organism.human_specific.body_mass_index

tissue_dissociation_method
tier2
dissociation_protocol.method

height
dcp
donor_organism.height

weight
dcp
donor_organism.weight

age
dcp
donor_organism.organism_age

age_unit
dcp
donor_organism.organism_age_unit.text

comorbidities
tier2
donor_organism.comorbidities.ontology_label

alcohol history
dcp
donor_organism.medical_history.alcohol_history

nutritional state
dcp
donor_organism.medical_history.nutritional_state

medications
dcp
donor_organism.medical_history.medication

medical test results
dcp
donor_organism.medical_history.test_results

treatments
dcp
donor_organism.medical_history.treatment

self reported ethnicity
dcp
donor_organism.human_specific.ethnicity.text

time to laboratory receipt
new

date of sample storage
new

date of sample dissociation
new

How long were dissociated cells or nuclei stored prior to library preparation
dcp
?? specimen_from_organism.preservation_storage.storage_time

date of library preparation
new

occupation
tier2
donor_organism.occupation

tissue acquistion method from donor
tier1
sample_collection_method

history of injury to sampled joint or previous surgeries
new
MONDO

anatomical name of collected tissue
tier1
tissue_ontology_term_id

microanatomical_region_of collected tissue
new

side_of_tissue_collected
new
uberon usually allows such distinction (i.e. left forelimb)

library_preparation_method
tier1
assay_ontology_term_id

handedness of patient
new

method of tissue storage prior to sequencing
dcp
storage method

ancstral DNA sequencing result
tier2

sample dissociation method
new
is this separate from tissue dissociation?

sequencing information
tier1
sequencing_platform

tissue processing prior to dissociation
dcp
preservation method

tissue transportation
new
what the options could be here

We replied with some feedback

We are having a meeting tomorrow 16/10 with Sarah and team, to discuss. Here are the main points:

free text requires labour to extract consistent info

what MSK wish to get from free text fields (occupation, tissue_dissociation, physical_activity_physical_exposure etc.)

tissue dissociation

how order of dissociation protocols is going to be used downstream.
it there is no need for

occupation related fields

occupation -> free text that matches to ontology SNOMED:14679004
physical_activity -> enum [sedentary, moderate (<60 minutes per day), Active (>60 minutes per day)]
physical_activity_type -> free text (i.e. ballet, football, hiking, boxing, yoga etc.)

Key points from the meeting:

the free text field for activity and microanatomical location can't be standardised at the moment because there is no shared standard in the field and the aim is to capture as much metadata as possible so that it can be analysed later on
fields required by MSK for dissociation protocol: tempreature, dissociation type, description and doi/protocol link

Post meeting action points:

[ ] find ontology for occupation that could record physical exposure & activity and share with them
[ ] agree internally on dissociation protocol fields, so that they work for lung too
[ ] add catch-all free text field

Future actions:

[ ] review free-text fields to standardise their content
[ ] review microanataomical location, discuss how to integrate terms into UBERON ?

About tissue dissociation, we decided to introduce 4 new fields:
time, time_unit, temperature, solution [array]
MSK will use the dissociation_protocol.protocol_core.protocols_io_doi, dissociation_protocol.protocol_core.protocol_description and temperature while for Lung tier 2 #1235 we will map the enum options to values in those 4 fields (see here). For the solution, we will use this list.

An ontology that could be appropriate for recording the occupation is the OccO ontology. Specifically as childOf OCCO:00000001.
It contains hierarchical data with a lot of grouping, and 1603 different occupations. I will reply to MSK with this suggestion to see if it fits their needs.
We can suggest a free-text field for that that a curator will map to an ontologised field afterwards.


TypeScript compat changes for CRA and AF

PR includes changes for —

Backwards compatibility changes for TS 3.7
Compatibility with CRA and AF

BTW looks like yesterday AF was upgraded to TS 3.9. Is this still needed then?

@albertogasparin IMO it is, as the previous behavior was hiding the issue rather than actually fixing it

@jackbrown @albertogasparin CRA is still on TS 3.7. We need this until CRA is upgraded to TS 3.8 or later.


Complete Docker image manual builds for 0.1.0 release

Manually build and push the fcrepo and pass-indexer Docker images (in that order).
Find instructions under Docker image release here: https://github.com/eclipse-pass/main/blob/main/docs/dev/release.md

Published to DockerHub:

oapass/fcrepo:0.1.0
oapass/indexer:0.1.0

Currently trying to run these images through the battery of ITs we have in various projects. @bbranan perhaps doing these tests (and getting them back to functional) is beyond the scope of this ticket (to be saved for #268)?
The documentation says to only publish these two, but my understanding of pass-docker is most of these need to be built and published by hand from pass-docker in order to get the new tags out. My assumption was that all services should be retagged to an 0.1.0 version

Out of the full list of services in pass-docker: fcrepo activemq ember static-html ftpserver proxy idp ldap sp dspace pastgres indexer elasticsearch assets deposit authz mail schemaservice policyservice doiservice downloadservice

Only the following have connections to our code repositories: fcrepo ember static-html indexer deposit authz schemaservice policyservice doiservice downloadservice. These should be rebuilt.
These have some PASS specific things to them, where they are built out of pass-docker: activemq ftpserver httpd-proxy idp ldap sp dspace. Should these be rebuilt, or simply retagged?
 These should not be changed for now.

@jabrah I'd suggest rebuilding the full set (besides the last two), just to verify that all changes we've made in moving over to the eclipse-pass baseline are properly captured in the 0.1.0 images.


Initialization appears outside of struct for some reason

public struct Some: Codable {
	public var count: Int!
	public var tag: String!
}

    public init(count: Int!, tag: String!) {
        self.count = count
        self.tag = tag
    }

As i understand, it should be like on animation, created inside struct.

It could be due to your selection; are you selecting only this part? (> < denote the start and end of the selection):
        >public var count: Int!
	public var tag: String!<


Backend enhancements

This PR fixes and enhances a couple minor things in the backend server, namely:

Added sessions and middleware to enforce user permissions
Added custom error types to allow for quicker throwing of errors with codes
Port, Hostname, Database can be configured through environment variables and .env-files
Backend server serves the built frontend, if thats available
Support for HTTPS

When a https server is server, does a http server always get started as well?
Currently yes, HTTP is always available, HTTPS only if the certificate & key are supplied. We could add an option to disable HTTP if you think that's needed

We could add an option to disable HTTP if you think that's needed

What are the benefits of having it always disabled and what are the disadvantages if it is deisabled?

Not sure, incorrect setup and expired certificates might make accessing the platform more complicated if HTTP is disabled, but I don't think there's any major disadvantage, just thought it was the "usual way" platforms are always reachable through both HTTP and HTTPS

I would have suggested given a system admin the option to start the service without http.
Use case might be if the communication needs to be encrypted and therefor should not run over http

Added an environment variable which, if set, disables the HTTP server


[Docs] [Builtins] Clean up internal documentation

This PR cleans up documentation in internal modules of the builtins machinery. I've tweaked some existing notes and added maybe a couple of new ones, but mostly it's just a refactoring PR.

Comments addressed, enabling auto-merge.


Fix tiny changes

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


cuda ufunc unnecessarily calling __cuda_array_interface__

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

cuda ufunc is unnecessarily calling __cuda_array_interface__ and it's increasing call overhead.
The problem can be observed in:
from numba import vectorize, cuda

import numpy as np

a=cuda.to_device(np.ones(10))

@vectorize("float64(float64)", target='cuda')
def foo(x):
    return x

foo(a)

@cuda.jit path is unaffected.

Perhaps this matters less now that #5189 is merged?

I can confirm a performance regression in 0.48 that is gone in 0.49.0rc1 even with a very simple function (taken from chapter 3 in https://github.com/ContinuumIO/gtc2017-numba. In the more current https://github.com/numba/euroscipy2019-numba, the code for this part is essentially the same):
Code used
N=10^6, 10^7 or 10^8.
from numba import vectorize, cuda
import numpy as np

@vectorize(['float32(float32, float32)'], target='cuda')
def add_ufunc(x, y):
    return x + y

# (1)
x = np.arange(N).astype(np.float32)
y = 2 * x

%timeit add_ufunc(x, y)  # Baseline performance with host arrays

# (2)
x_device = cuda.to_device(x)
y_device = cuda.to_device(y)

%timeit add_ufunc(x_device, y_device)

# (3)
out_device = cuda.device_array(shape=(n,), dtype=np.float32)

%timeit add_ufunc(x_device, y_device, out=out_device)

Results

N, version // cell
(1)
(2)
(3)
(1)/(3)

10^5, 0.48
831us
748us
923us
0.90

10^6, 0.48
2.06ms
937us
916us
2.25

10^7, 0.48
16.2ms
1.64ms
924us
17.53

--------------------
-------------
-------------
-------------
-------

10^5, 0.49.0rc1
852us
373us
330us
2.58

10^6, 0.49.0rc1
2.1ms
537us
337us
6.23

10^7, 0.49.0rc1
16.2s
1.29ms
338us
47.93

@cobalamin thanks for reporting back about this, good to hear that you are getting these numbers now.

So then is this already fixed?

Ufuncs probably are still calling __cuda_array_interface__ unnecessarily, but doing so is much quicker than it was before due to https://github.com/numba/numba/pull/5189. So I'm not sure whether to consider this "fixed" or not.

This will be fixed when #5162 is merged.


Target .NET Standard 2.0 #24

In order to support the SDK on .NET Framework 4.8.1 (and other non-.NET Core or later targets) we need .NET Standard 2.0. This adds a second target framework of .NET Standard 2.0.
This also resolves the example targeting an EOL framework.
Resolves #24

Hi @watfordsuzy - great hearing from you! and thanks for the effort here!
I'll have the team review as soon as possible


status checks: add build test for eyery PR

check every PR if a .foxe file can be build
run/check linting

@samikachai do me a favor and do the remaining CI tests on a fork

All right, apologies for the inconvenience


organized icons into different folders

Need to figure out a replacement for the no-data icon

Just to remind you, the icon under review has been redone.