get errors with brew zsh, but with default osx zsh it works with no errors

osx 10.10.3
the user is not admin, don't know if it related.
every time i start the terminal, i get this:
colors () {
  emulate -L zsh
  typeset -Ag color colour
  color=(00 none 01 bold 02 faint 22 normal 03 standout 23 no-standout 04 underline 24 no-underline 05 blink 25 no-blink 07 reverse 27 no-reverse 08 conceal 28 no-conceal 30 black 40 bg-black 31 red 41 bg-red 32 green 42 bg-green 33 yellow 43 bg-yellow 34 blue 44 bg-blue 35 magenta 45 bg-magenta 36 cyan 46 bg-cyan 37 white 47 bg-white 39 default 49 bg-default)
  local k
  for k in ${(k)color}
  do
    color[${color[$k]}]=$k
  done
  for k in ${color[(I)3?]}
  do
    color[fg-${color[$k]}]=$k
  done
  color[grey]=${color[black]}
  color[fg-grey]=${color[grey]}
  color[bg-grey]=${color[bg-black]}
  colour=(${(kv)color})
  local lc=$'\e[' rc=m
  typeset -Hg reset_color bold_color
  reset_color="$lc${color[none]}$rc"
  bold_color="$lc${color[bold]}$rc"
  typeset -AHg fg fg_bold fg_no_bold
  for k in ${(k)color[(I)fg-*]}
  do
    fg[${k#fg-}]="$lc${color[$k]}$rc"
    fg_bold[${k#fg-}]="$lc${color[bold]};${color[$k]}$rc"
    fg_no_bold[${k#fg-}]="$lc${color[normal]};${color[$k]}$rc"
  done
  typeset -AHg bg bg_bold bg_no_bold
  for k in ${(k)color[(I)bg-*]}
  do
    bg[${k#bg-}]="$lc${color[$k]}$rc"
    bg_bold[${k#bg-}]="$lc${color[bold]};${color[$k]}$rc"
    bg_no_bold[${k#bg-}]="$lc${color[normal]};${color[$k]}$rc"
  done
}
compdump () {
  # undefined
  builtin autoload -XUz
}
compinit () {
  emulate -L zsh
  setopt extendedglob
  typeset _i_dumpfile _i_files _i_line _i_done _i_dir _i_autodump=1
  typeset _i_tag _i_file _i_addfiles _i_fail=ask _i_check=yes _i_name
  while [[ $# -gt 0 && $1 = -[dDiuC] ]]
  do
    case "$1" in
      (-d) _i_autodump=1
        shift
        if [[ $# -gt 0 && "$1" != -[dfQC] ]]
        then
          _i_dumpfile="$1"
          shift
        fi ;;
      (-D) _i_autodump=0
        shift ;;
      (-i) _i_fail=ign
        shift ;;
      (-u) _i_fail=use
        shift ;;
      (-C) _i_check=
        shift ;;
    esac
  done
  typeset -gHA _comps _services _patcomps _postpatcomps
  typeset -gHA _compautos
  typeset -gHA _lastcomp
  if [[ -n $_i_dumpfile ]]
  then
    typeset -g _comp_dumpfile="$_i_dumpfile"
  else
    typeset -g _comp_dumpfile="${ZDOTDIR:-$HOME}/.zcompdump"
  fi
  typeset -gHa _comp_options
  _comp_options=(bareglobqual extendedglob glob multibyte multifuncdef nullglob rcexpandparam unset NO_allexport NO_aliases NO_cshnullglob NO_cshjunkiequotes NO_errexit NO_globsubst NO_histsubstpattern NO_ignorebraces NO_ignoreclosebraces NO_kshglob NO_ksharrays NO_kshtypeset NO_markdirs NO_octalzeroes NO_shwordsplit NO_shglob NO_warncreateglobal)
  typeset -gH _comp_setup='local -A _comp_caller_options;
             _comp_caller_options=(${(kv)options[@]});
             setopt localoptions localtraps localpatterns ${_comp_options[@]};
             local IFS=$'\'\ \\t\\r\\n\\0\''
             enable -p \| \~ \( \? \* \[ \< \^ \#
             exec </dev/null;
             trap - ZERR
             local -a reply
             local REPLY'
  typeset -ga compprefuncs comppostfuncs
  compprefuncs=()
  comppostfuncs=()
  : $funcstack
  compdef () {
    local opt autol type func delete eval new i ret=0 cmd svc
    local -a match mbegin mend
    emulate -L zsh
    setopt extendedglob
    if (( ! $# ))
    then
      print -u2 "$0: I need arguments"
      return 1
    fi
    while getopts "anpPkKde" opt
    do
      case "$opt" in
        (a) autol=yes  ;;
        (n) new=yes  ;;
        ([pPkK]) if [[ -n "$type" ]]
          then
            print -u2 "$0: type already set to $type"
            return 1
          fi
          if [[ "$opt" = p ]]
          then
            type=pattern
          elif [[ "$opt" = P ]]
          then
            type=postpattern
          elif [[ "$opt" = K ]]
          then
            type=widgetkey
          else
            type=key
          fi ;;
        (d) delete=yes  ;;
        (e) eval=yes  ;;
      esac
    done
    shift OPTIND-1
    if (( ! $# ))
    then
      print -u2 "$0: I need arguments"
      return 1
    fi
    if [[ -z "$delete" ]]
    then
      if [[ -z "$eval" ]] && [[ "$1" = *\=* ]]
      then
        while (( $# ))
        do
          if [[ "$1" = *\=* ]]
          then
            cmd="${1%%\=*}"
            svc="${1#*\=}"
            func="$_comps[${_services[(r)$svc]:-$svc}]"
            [[ -n ${_services[$svc]} ]] && svc=${_services[$svc]}
            [[ -z "$func" ]] && func="${${_patcomps[(K)$svc][1]}:-${_postpatcomps[(K)$svc][1]}}"
            if [[ -n "$func" ]]
            then
              _comps[$cmd]="$func"
              _services[$cmd]="$svc"
            else
              print -u2 "$0: unknown command or service: $svc"
              ret=1
            fi
          else
            print -u2 "$0: invalid argument: $1"
            ret=1
          fi
          shift
        done
        return ret
      fi
      func="$1"
      [[ -n "$autol" ]] && autoload -Uz "$func"
      shift
      case "$type" in
        (widgetkey) while [[ -n $1 ]]
          do
            if [[ $# -lt 3 ]]
            then
              print -u2 "$0: compdef -K requires <widget> <comp-widget> <key>"
              return 1
            fi
            [[ $1 = _* ]] || 1="_$1"
            [[ $2 = .* ]] || 2=".$2"
            [[ $2 = .menu-select ]] && zmodload -i zsh/complist
            zle -C "$1" "$2" "$func"
            if [[ -n $new ]]
            then
              bindkey "$3" | IFS=$' \t' read -A opt
              [[ $opt[-1] = undefined-key ]] && bindkey "$3" "$1"
            else
              bindkey "$3" "$1"
            fi
            shift 3
          done ;;
        (key) if [[ $# -lt 2 ]]
          then
            print -u2 "$0: missing keys"
            return 1
          fi
          if [[ $1 = .* ]]
          then
            [[ $1 = .menu-select ]] && zmodload -i zsh/complist
            zle -C "$func" "$1" "$func"
          else
            [[ $1 = menu-select ]] && zmodload -i zsh/complist
            zle -C "$func" ".$1" "$func"
          fi
          shift
          for i
          do
            if [[ -n $new ]]
            then
              bindkey "$i" | IFS=$' \t' read -A opt
              [[ $opt[-1] = undefined-key ]] || continue
            fi
            bindkey "$i" "$func"
          done ;;
        (*) while (( $# ))
          do
            if [[ "$1" = -N ]]
            then
              type=normal
            elif [[ "$1" = -p ]]
            then
              type=pattern
            elif [[ "$1" = -P ]]
            then
              type=postpattern
            else
              case "$type" in
                (pattern) if [[ $1 = (#b)(*)=(*) ]]
                  then
                    _patcomps[$match[1]]="=$match[2]=$func"
                  else
                    _patcomps[$1]="$func"
                  fi ;;
                (postpattern) if [[ $1 = (#b)(*)=(*) ]]
                  then
                    _postpatcomps[$match[1]]="=$match[2]=$func"
                  else
                    _postpatcomps[$1]="$func"
                  fi ;;
                (*) if [[ "$1" = *\=* ]]
                  then
                    cmd="${1%%\=*}"
                    svc=yes
                  else
                    cmd="$1"
                    svc=
                  fi
                  if [[ -z "$new" || -z "${_comps[$1]}" ]]
                  then
                    _comps[$cmd]="$func"
                    [[ -n "$svc" ]] && _services[$cmd]="${1#*\=}"
                  fi ;;
              esac
            fi
            shift
          done ;;
      esac
    else
      case "$type" in
        (pattern) unset "_patcomps[$^@]" ;;
        (postpattern) unset "_postpatcomps[$^@]" ;;
        (key) print -u2 "$0: cannot restore key bindings"
          return 1 ;;
        (*) unset "_comps[$^@]" ;;
      esac
    fi
  }
  typeset _i_wdirs _i_wfiles
  _i_wdirs=()
  _i_wfiles=()
  autoload -Uz compaudit
  if [[ -n "$_i_check" ]]
  then
    typeset _i_q
    if ! eval compaudit
    then
      if [[ -n "$_i_q" ]]
      then
        if [[ "$_i_fail" = ask ]]
        then
          if ! read -q "?zsh compinit: insecure $_i_q, run compaudit for list.
Ignore insecure $_i_q and continue [y] or abort compinit [n]? "
          then
            print -u2 "$0: initialization aborted"
            unfunction compinit compdef
            unset _comp_dumpfile _comp_secure compprefuncs comppostfuncs _comps _patcomps _postpatcomps _compautos _lastcomp
            return 1
          fi
          _i_wfiles=()
          _i_wdirs=()
        else
          (( $#_i_wfiles )) && _i_files=("${(@)_i_files:#(${(j:|:)_i_wfiles%.zwc})}")
          (( $#_i_wdirs )) && _i_files=("${(@)_i_files:#(${(j:|:)_i_wdirs%.zwc})/*}")
        fi
      fi
      typeset -g _comp_secure=yes
    fi
  fi
  autoload -Uz compdump compinstall
  _i_done=''
  if [[ -f "$_comp_dumpfile" ]]
  then
    if [[ -n "$_i_check" ]]
    then
      IFS=$' \t' read -rA _i_line < "$_comp_dumpfile"
      if [[ _i_autodump -eq 1 && $_i_line[2] -eq $#_i_files && $ZSH_VERSION = $_i_line[4] ]]
      then
        builtin . "$_comp_dumpfile"
        _i_done=yes
      fi
    else
      builtin . "$_comp_dumpfile"
      _i_done=yes
    fi
  fi
  if [[ -z "$_i_done" ]]
  then
    typeset -A _i_test
    for _i_dir in $fpath
    do
      [[ $_i_dir = . ]] && continue
      (( $_i_wdirs[(I)$_i_dir] )) && continue
      for _i_file in $_i_dir/^([^_]*|*~|*.zwc)(N)
      do
        _i_name="${_i_file:t}"
        (( $+_i_test[$_i_name] + $_i_wfiles[(I)$_i_file] )) && continue
        _i_test[$_i_name]=yes
        IFS=$' \t' read -rA _i_line < $_i_file
        _i_tag=$_i_line[1]
        shift _i_line
        case $_i_tag in
          (\#compdef) if [[ $_i_line[1] = -[pPkK](n|) ]]
            then
              compdef ${_i_line[1]}na "${_i_name}" "${(@)_i_line[2,-1]}"
            else
              compdef -na "${_i_name}" "${_i_line[@]}"
            fi ;;
          (\#autoload) autoload -Uz "$_i_line[@]" ${_i_name}
            [[ "$_i_line" != \ # ]] && _compautos[${_i_name}]="$_i_line"  ;;
        esac
      done
    done
    if [[ $_i_autodump = 1 ]]
    then
      compdump
    fi
  fi
  for _i_line in complete-word delete-char-or-list expand-or-complete expand-or-complete-prefix list-choices menu-complete menu-expand-or-complete reverse-menu-complete
  do
    zle -C $_i_line .$_i_line _main_complete
  done
  zle -la menu-select && zle -C menu-select .menu-select _main_complete
  bindkey '^i' | IFS=$' \t' read -A _i_line
  if [[ ${_i_line[2]} = expand-or-complete ]] && zstyle -a ':completion:' completer _i_line && (( ${_i_line[(i)_expand]} <= ${#_i_line} ))
  then
    bindkey '^i' complete-word
  fi
  unfunction compinit compaudit
  autoload -Uz compinit compaudit
  return 0
}
compinstall () {
  # undefined
  builtin autoload -XUz
}
edit-command-line () {
  # undefined
  builtin autoload -XU
}
url-quote-magic () {
  # undefined
  builtin autoload -XU
}
compdef: unknown command or service: git
compdef: unknown command or service: grep
compdef: unknown command or service: git

When you say you "get" that, do you mean all that stuff, including the function definitions, is output to the screen?
First step, try deleting your zcompdump files with rm ~/.zcompdump* and see if that fixes it.

@apjanke

yes. i see all the stuff including the function definitions
rm ~/.zcompdump* work only for not showing the function definition (by the way, thanks). but i still get this errors:

compdef: unknown command or service: git
compdef: unknown command or service: grep
compdef: unknown command or service: git

it seems rm ~/.zcompdump* doesn't help at all, only once and the the function definition returns

Okay, let's see if we can track this down. Download and source this diagnostics.zsh file, run omz_diagnostic_dump, and post the output as a gist. That'll give us copies of all your zsh settings to evaluate, and possibly use to reproduce the issue.

I've got the same problem with homebrew. This post gave me the work-around https://www.stenbrottet.se/main/

Thanks. That's interesting. Sounds like it's the "insecure $fpath directories" problem we've seen on Cygwin. We're currently working on fixing it for Cygwin in #3889; maybe it needs to be done for Mac as well.
My own Homebrew zsh installations didn't have this issue, on 10.9 or 10.10. Their functions directories were created with mode 755. Maybe it's a difference in user configuration.
Could folks who have had this issue post the output from these commands?
uname -a; umask; whoami; ls -lad $fpath

For example, under Homebrew's zsh on OS X 10.9.5, I get:
[@ in ~]
$ uname -a; umask; whoami; ls -lad $fpath
Darwin eilonwy.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
022
janke
ls: /Users/janke/.oh-my-zsh/completions: No such file or directory
ls: /Users/janke/.oh-my-zsh/functions: No such file or directory
drwxr-xr-x    3 janke  staff    102 Feb 27 21:32 /Users/janke/.oh-my-zsh/plugins/nyan
drwxr-xr-x    4 janke  staff    136 Jun 23 22:36 /Users/janke/.oh-my-zsh/plugins/osx
drwxr-xr-x    4 janke  staff    136 Jun  8 06:01 /Users/janke/.oh-my-zsh/plugins/themes
drwxr-xr-x  958 janke  admin  32572 Jun  4 07:23 /usr/local/Cellar/zsh/5.0.8/share/zsh/functions
drwxr-xr-x    3 janke  admin    102 Jun  3 17:03 /usr/local/share/zsh/site-functions

Darwin nxmatic.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
002
nuxeo
ls: /tank/nuxeo/.oh-my-zsh/completions: No such file or directory
ls: /tank/nuxeo/.oh-my-zsh/functions: No such file or directory
drwxr-xr-x    4 nuxeo  staff    136 Jun 24 12:12 /tank/nuxeo/.oh-my-zsh/plugins/git
drwxr-xr-x    3 nuxeo  staff    102 Jun 11 11:14 /tank/nuxeo/.oh-my-zsh/plugins/profiles
drwxr-xr-x  958 nuxeo  admin  32572 Jun 18 11:09 /usr/local/Cellar/zsh/5.0.8/share/zsh/functions
drwxr-xr-x   10 root   admin    340 Jun 23 11:38 /usr/local/share/zsh/site-functions

002

There's part of the issue. Having a umask of 002 instead of 022 means files you create are group-writable by default. Homebrew does its installations as you, so the umask will govern the files it creates.
I'm unsure if this should be considered a zsh or Homebrew issue: if zsh knows it doesn't like group-writable files, it should probably be setting those permissions explicitly. Or maybe (probably?) it is, and the Homebrew installation process (maybe the "bottling" part of it) is replacing those permissions.
Was your Homebrew zsh built from source or poured from a bottle? (brew info zsh will tell you.)
Do you know where your umask is getting set? Was that intentional on your part?
What does ls -lad /usr/local /usr/local/Cellar give you?

How is this working now that we applied those compinit fixes? Any updates here?


Properties conflict with Apple's CoreMotion

Some properties seem conflict with CoreMotion such as isMotionEnabled, motionIdentifier.
It shows
Ambiguous use of 'isMotionEnabled'
Ambiguous use of 'motionIdentifier'
Ambiguous reference to member 'animate'

The problem happened on Xcode8.3, Swift3.

Hey :) you shouldn't import the Motion framework with Material, as Material already imports it for you. Reopen the issue if you still have any problems. All the best.

@danieldahan Yes I tried as you said, but still not work (then I tried as shown the image above).
ps: I got this from Animation Sample Code.

Make sure to include Material as an embedded framework:

I just ran the sample Animations project and all worked correctly.

Yeah, It worked following your way (manually add Material framework into the project), but for cocoapods it didn't work. Maybe the Material version of cocoapods was outdated (2.6.3) while the new way its version is 2.7.0.
When I change pod 'Material', '~> 2.0' by default to pod 'Material', '2.7.0', it works like a charm.
The issue should be ended. Thank you for your support.


Observe fonts to prioritize content. Handle repeated visits with sessionStorage

A note before starting with what's inside this PR. I'm not completely happy with the code, basically because antwar doesn't help a lot with above the fold styles and javascript and font strategy technics, so if this PR doesn't go further I'm totally fine and I will consider doing this again if we migrate to other content managment generator or strategy.
What's happening here? I'm replicating a technic I've used in other static sites, you can read more about it here: https://jeremenichelli.github.io/2016/05/font-loading-strategy-static-generated-sites/
I'm observing the font change when the site mounts and in case sessionStorage indicates the font is already cached the className is changed in advanced overhead.
One of my concerns is that I don't know how antwar is gonna handle this global code related to the site, because my choice would have been to create a new entry with font face observing code only being loaded when needed, something I couldn't do.
Locally, look at the screenshot on bottom left from dev tools, it really works since instead of this text-less page on first paint:

User might be able to get this system font text screen:

And when fonts get available they will switch to this:

I will wait to see what build says, but as I mentioned before I don't feel 100% confident about this.

@jeremenichelli yeah I see where you're going with this and I like that we want to do more in terms of optimizing the site performance/experience. However there's also something to be said about complicating the codebase (which already pretty convoluted imo). This is kind of been my feeling in general re the dev work discussed in #1525 and #1400 -- meaning I'd much rather do things to clean up the codebase like finish #980 and hit any cleanup-like tasks mentioned in those issues (e.g. the changes in #1490) before we start adding a new things.
The blocker for me so far has been that at the end of the day the site's content should take priority over everything else imo. No matter how performant we get this site, if the content isn't well thought out and better organized than we still are left with a bad site (all be it a fast bad site 😆 ). For this reason I've spent the most of this year trying to address the large backlog of content-related issues we had open.
The good news is that this work is nearing completion and starting to be much more manageable with the recent wave of help that we've gotten. Now we're down to ~20 issues and I'm hoping we can keep it that way. With the content more under control and people continuing to review and improve it, we should be able to get the infrastructure cleaned up and then start making some improvements.
By the way, I'm not saying we have to hold off on all infrastructure improvements, just ones like this where it feels a bit dirty and we could probably come up with something cleaner once the repos in a better place.

All understood and I have the same opinion about the priorities and original mission of this site.
I will close this pull request since I myself don't feel confident about getting this code to master. But it might be a good place to start thinking on a change for the future. I love React, I think is a powerful tool, but using it for everything like static sites doesn't feel super right in my opinion. For example here, when you are trying to accomplish some static content first approach.
It might be good to take a look at Next if we want to stick with React for example, or take a look at some static site generators, there are a lot out there working well on production. Also to simplify the DX, that for a static site is really complex in my opinion.
That way we might be able to make content first citizen in this repo.

I will close this pull request since I myself don't feel confident about getting this code to master. But it might be a good place to start thinking on a change for the future.

Definitely, feel free to leave the branch around.

I love React, I think is a powerful tool, but using it for everything like static sites doesn't feel super right in my opinion. For example here, when you are trying to accomplish some static content first approach.
It might be good to take a look at Next if we want to stick with React for example, or take a look at some static site generators, there are a lot out there working well on production. Also to simplify the DX, that for a static site is really complex in my opinion.

So first of all, the infrastructure of this site definitely needs work and developer experience (I'm assuming that's what you mean by DX) really needs to be simplified.
I think React can be a good static site generator but the setup that we have now is definitely not ideal imo. I think the biggest point of confusion has been the Interactive components, which are used because antwar doesn't do true SSR (server-side rendering) while other generators like Phenomic and Gatsby do. This makes it easier to bind events, import css, and prevents some of the duplicate bundle issues we've been running into.
To antwar's credit, @bebraw has given us a lot of freedom in terms of updating it to cater to a nice solution on this site. The problem has been that @bebraw (nor I) has had the time to make certain updates to the tool and even just managing content and development issues on this site is tough. There's also certain changes (like full on SSR) that @bebraw doesn't want to add to antwar as it will complicate what is now a fairly simple codebase.
I, and others I think, have also played around with the idea of a port. I do think Next.js might be a good option and potentially Phenomic or Gatsby could be as well. I did do a bit of testing on right after the v1 releases of Gatsby and Phenomic and had a lot of trouble with the provided examples for both.
I think we're close to getting #980 merged which will at least fix some things and put us on the latest version of webpack, antwar, and a bunch of other packages. From there, I think we can more fairly evaluate a port and talk about the pros and cons of each. There's just a lot of moving pieces with this site so I just want to get a good plan together before we dive into anything. Rushing a port could leave us in an even worse position than we are now.

That way we might be able to make content first citizen in this repo.

This is really what @bebraw and I have always discussed trying to get to. If we keep our build process and functionality fairly simple and externalize as much as possible to other packages then we can keep the focus on well organized and well written content. Which, at the end of the day, is what the users of the site need from us.

@skipjack yes, I agree with basically all stated. Just to be clear I'm not against using antwar, I just thing there are better options for this specific type of site.
Of course any port would a major change which should be widely discussed by all members. I'll be around to collaborate with team on both topics, content and infrastructure 🎉

Just to be clear I'm not against using antwar, I just think there are better options for this specific type of site.

Yeah I understand. We just need to weigh our options, list out the pros and cons, and pick something that makes the most sense for this site.

I'll be around to collaborate with team on both topics, content and infrastructure.

👍


Investigate implementation of CCS on BG/Q

Original issue: https://charm.cs.illinois.edu/redmine/issues/363

The Mercury project (http://trac.mcs.anl.gov/projects/mercury) may provide a portable scheme for communication with running applications that we can leverage.  It provides a basic functionality for RPC that is very similar to CCS.  If we can build CCS on Mercury, then we can use CCS anywhere that Mercury works, which should be everywhere that we care about.  This would then allow CharmDebug to be more generally useful on varoius target architectures.
If Mercury can't be used to support CharmDebug, then we should examine the scheme being used by gdb on BG/Q and determine how difficult it would be to use as the substrate for CCS.

Original date: 2017-08-01 18:11:05

BG/Q is dying, so lowering priority and assigning away from Bilge.

Original date: 2017-10-11 19:55:02

This is probably just not going to happen, so closing it out.


PreviousFields missing TakerGets

This occasionally happens in subscription where ModifiedNode's PreviousFields is missing TakerGets like below. I believe in normal response both TakerGets and TakerPays should exist. As I'm using ripple-lib-java the parser would return null exception. If this is a correct behavior would someone explain to me the meaning of no TakerGets ?
Some sample tx where this happens are :

5C5D507B8D33DF36DD598D2EC4443D5EF0301D9629A8455A88D27F8F2B96BDC1
F21E52A5C16FBD052E723BE811F962FE54644F3523BA4E593E6A5F48B8D02E16
A42B485F1B8ED8ADE41E4F2BC06248D761CB216248415CE46559B9767C278C8C

        {
          "ModifiedNode": {
            "FinalFields": {
              "Account": "rKLPBY3nEhETSThEfWRaHNBH1Rxeo57UGn",
              "BookDirectory": "6CBBA821BB26420284E9C91F4E8B5D66FA66DDB55163D1F54A16EA3D901EFD40",
              "BookNode": "0000000000000000",
              "Flags": 0,
              "OwnerNode": "0000000000001142",
              "Sequence": 185846,
              "TakerGets": "5000000000",
              "TakerPays": {
                "currency": "BTC",
                "issuer": "rB3gZey7VWHYRqJHLoHDEJXJ2pEPNieKiS",
                "value": "0.3224999809395302"
              }
            },
            "LedgerEntryType": "Offer",
            "LedgerIndex": "0AF9357F71535A90E94304AFDB531722F9F4898A70B93E430C4F8BADEA9D0FD1",
            "PreviousFields": {
              "TakerPays": {
                "currency": "BTC",
                "issuer": "rB3gZey7VWHYRqJHLoHDEJXJ2pEPNieKiS",
                "value": "0.3224999809744544"
              }
            },
            "PreviousTxnID": "E4AD49194E32791845BF2FBCF5C48D47673608C5BA8D4C75DE4E22237D221DEC",
            "PreviousTxnLgrSeq": 31757659
          }
        }

Interesting. Is it always XRP when it's missing ?

In [1]: 0.3224999809744544 - 0.3224999809395302
Out[1]: 3.492423017448232e-11

In [2]: 0.3224999809395302 /<PHONE_NUMBER>.
Out[2]: 6.449999618790604e-11

Out[1] is the difference between before and after of TakerPays, and Out[2] is the amount of BTC per drop. It seems there was not enough BTC taken to take a whole drop, the smallest quantity of XRP possible.
?

Seems like a bug really

Right. If the value doesn't change, the previous value doesn't appear under
PreviousFields. If the amount of XRP rounds down to zero, then there's no
change.
Though the current code does this more often than I think it should, it
will happen at least some of the time no matter what. (Consider an offer to
buy 1 FOO for 2 drops and where the first use is a payment that takes 0.5
FOO.)
DS
On Mon, Aug 7, 2017 at 9:10 PM, sublimator<EMAIL_ADDRESS>wrote:

In [1]: 0.3224999809744544 - 0.3224999809395302
Out[1]: 3.492423017448232e-11
In [2]: 0.3224999809395302 /<PHONE_NUMBER>.
Out[2]: 6.449999618790604e-11
Out[1] is the difference between before and after of TakerPays, and Out[2]
is the amount of BTC per drop. It seems there was not enough BTC taken to
take a whole drop, the smallest quantity of XRP possible.
?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ripple/rippled/issues/2199#issuecomment-320844997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1j7TwHY31FjQngsAxd8EbMJF3O41daks5sV9_FgaJpZM4OwNxQ
.

Those cases can't be detected and the offer just ignored? Spam/ledger consistency worries?

On Mon, Aug 7, 2017 at 9:27 PM, sublimator<EMAIL_ADDRESS>wrote:

Those cases can't be detected and the offer just ignored? Spam/ledger
consistency worries?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ripple/rippled/issues/2199#issuecomment-320846867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1j7apUER_Xoaa0_5ACSqcVcXoNjxOQks5sV-POgaJpZM4OwNxQ
.

The offer changed, just not on the XRP side. What do you think should
happen if a payment gives 10 FOO from an offer to buy 20 FOO for 1 drop?
We can't fail the payment or remove the offer without taking from it or we
get denial of service attacks. If we move one drop, we're leaving an offer
with no XRP on it. If we just sell the 10 FOO, we've ignored the user's
request to sell 20 FOO and (among other problems) made it much more
difficult to remove trust lines.
DS

Any plans to break the atom (drop) ?

So far I observe this happening on XRP trade only. I take it it's up to client to process or ignore such offer ?
Also does this happen intentionally ? It's difficult to see why someone would trade fractions of drops when each submission costs 12 drops.

I take it it's up to client to process or ignore such offer ?

If you meant to handle these odd metadata cases, rather than make
assumptions about both TakerX fields changing then I guess the answer is
yes.
Seems like they made subtle tradeoffs.

does this happen intentionally ?
It's difficult to see why someone would trade fractions of drops

Maybe the tip of the book only partially consumes an offer/payment, and
there's a tiny fraction left?

@inmyth They may have no choice. For example, they may be trying to pay, sell, or buy 1 bitcoin and have an offer for 0.9999999999999 bitcoins that they take. They will then wind up taking 0.0000000000001 bitcoins from the next offer to complete their 1 bitcoin purchase, sale, or payment, and that might take less than a drop from that next offer.

Closing this given that this behavior is as intended. Thanks for your inquiry.


Visual studio

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

VS Code Version:
OS Version:

Steps to Reproduce:

Some basic Git commands are:

Git status
Git add
Git commit

Command and Run program
tsconfig.app.json

goodjob

good job

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!


can't get right xml file

how can I get the right xml from commit id. I can not find this anymore.

Download seperately this two files and manually add them in project directory


Improve SASS variables

Right now we just use $primary and $secondary.


[Feature Request] Full Screen Control

This is a very "niche" request, but I would like to think it is a small request that can be completed without too much difficulty. (But I could be completely wrong!)
I work for a radio station, and one of the pieces of technology we use daily is the Wheatstone Glass LXE, a fully digital audio console that runs on a touchscreen, and is routed to operate the same way a physical audio console functions, but just eliminating the hardware aspect. (See link for more details)
I would love the ability to do something like this at home with the GoXLR so that I can put the physical hardware in a different spot while still having access to control the faders, activate the sound pads, voice modulator, etc. My idea to execute this is to allow a full screen option in some part of the app, and once entering full screen, you would only see the GoXLR mixer, and be able to control all aspects of it using your mouse, or in my case, touch controls on a touch screen monitor.
If this is possible, I would love to see it implemented for my use case, but I also understand it is a very niche request that might not be necessary enough to be implemented.
Thanks for all you have done so far to keep the GoXLR alive!

Sorry for the late response..
This is something which could be done in theory at least, but it would end up being quite a major undertaking. The API does support what would be needed for this (possibly outside of sample playback), and we do have an SVG representation of the GoXLR (which would need adjusting for this specific use case), but as you say, it's an incredibly niche use-case, and time would unfortunately be better spent working on other parts of the Utility.
I'll leave this open for now, in case that changes, or someone else wants to give it a shot. It's all open source, so someone else might want to try and give this a try :)


benchmarks in forms.py refactored

benchmarks refactored

form_clean moved to form_benchmarks/form_clean
form_create moved to form_benchmarks/form_create
small_form_render moved to form_benchmarks/form_render
large_form_render moved to form_benchmarks/form_render
selectdatewidget moved to form_benchmarks/select_date_widget

Hey @deepakdinesh1123 I've tried to rebase this one. Could you review it to check I've captured your proposed changes correctly?


Trying to use error template

I wanted to add custom error page while using LiipThemeBundle but came across a strange behavior.
As far as I can read in the README, adding an error should as easy as creating this kind of file: app/Resources/themes/phone/TwigBundle/Exception/error404.html.twig.
I've defined one for each available theme and after hitting an obvious 404 in the prod env, I still got the default error page (I also tried http://<IP_ADDRESS>:8000/app_dev.php/_error/404.html, same result). I thought it was related to my project so I created a fresh Symfony 3.0.2 install and got the same error.
I'm using the default configuration:
liip_theme:
    themes: ['standardTheme', 'winter_theme', 'weekend']
    active_theme: 'standardTheme'
    path_patterns:
        app_resource:
            - %%app_path%%/themes/%%current_theme%%/%%template%%
            - %%app_path%%/themes/fallback_theme/%%template%%
            - %%app_path%%/views/%%template%%
        bundle_resource:
            - %%bundle_path%%/Resources/themes/%%current_theme%%_%%current_device%%/%%template%%
            - %%bundle_path%%/Resources/themes/%%current_theme%%/%%template%%
            - %%bundle_path%%/Resources/themes/fallback_theme/%%template%%
        bundle_resource_dir:
            - %%dir%%/themes/%%current_theme%%/%%bundle_name%%/%%template%%
            - %%dir%%/themes/fallback_theme/%%bundle_name%%/%%template%%
            - %%dir%%/%%bundle_name%%/%%override_path%%

I started to dig into FileLocator and var_dumped all $checkPaths I found and got this:
string<EMAIL_ADDRESS>(length=40)
string<EMAIL_ADDRESS>(length=95)
string<EMAIL_ADDRESS>(length=96)
string<EMAIL_ADDRESS>(length=80)
string<EMAIL_ADDRESS>(length=95)
string<EMAIL_ADDRESS>(length=80)

First line is the $name given to the locate() method.
As you can see, it seems it's trying to find a template inside a @Twig folder instead of TwigBundle. I didn't find something on Google (except https://github.com/liip/LiipThemeBundle/issues/38) so I guess I misconfigured something :confused:
Cleared the cache doesn't help.
Do you have any idea?

Using Symfony 3.0.1, I only got this var_dumped value:
string<EMAIL_ADDRESS>(length=34)

I think it's related to the fact that $name is starting with a @ and no Resources are in the path. So it throw an exception (Template files have to be in Resources.) which is catched and then display the 404.

@j0k3r same error with Symfony 2.8.3. I create a directory @Twig inside my theme directory to fix this

can you try with 1.4.1?

I wish there were a way to stop getting tagged in these issues lol

@lsmith77 I made few quick tests (I removed my test projet) on an existing project and it seems to be fixed.
@twig what a shame :)


Control contributors behavior to not feed trolls

After an experiment, we have found that you all feed trolls too much. This includes:

Making another account that is supposedly me and saying racial slurs (terrible idea and extremely stupid, kindly don't do that)
Replying way too much with nonsense.

I have a simple solution to all your problems.  Especially the guy saying racial slurs. Thanks.

nice one skid, not funny
(tips: https://ifunny.co/)

Thanks for the link! Unfortunately, yet again, you failed. This is no skid, no v3rm user, no troll. This is research, which yielded terrible results.

Thanks for the link! Unfortunately, yet again, you failed. This is no skid, no v3rm user, no troll. This is research, which yielded terrible results.

Identify yourself ##gg#

Well, considering the fact you said that word, maybe your connected to @DavidBaszuckiB

Ah stfu

Hello, nice research, but I request that you identify yourself.

Going to ask you all to KINDLY STOP REPLYING TO STUPID STUFF.
All you're doing is creating further spam, which is not what issue discussions are for. Just message me on the Discord when they appear and I'll block/remove them.


keyof does not work with extends in generic type argument.

TypeScript Version:  2.3.4
Code
function shallowCopy<T, U extends T>(s: T, d: U) {
  Object.keys(s).forEach((k: keyof T) => d[k] = s[k]);
}

Expected behavior:
I would expect this function to compile, since U is a sub class of T and U's keys are presumably treated as superset of T's keys. Each key of T should be a key of U as well.
Actual behavior:
TypeScript reports the following error: "Type 'T[keyof T]' is not assignable to type 'U[keyof T]'."

Actually, this seems to be preventing a genuine bug.
interface Tee {
	x: number | string;
}

interface Yoo extends Tee {
	x: number;
}

let t: Tee = { x: "" };
let u: Yoo = { x: 1 };
t = u;
u = t; // Error

shallowCopy<Tee, Yoo>(t, u);

function shallowCopy<T, U extends T>(t: T, u: U) {
	const tKeys = Object.keys(t) as Array<keyof T>;
	for (const key of tKeys) {
		let uk = u[key];
		let tk = t[key];
		tk = uk; // OK -- `number | string` = `number`
		uk = tk; // Error -- `number` = `number | string`
	}
}

As @andy-ms is pointing out, this is working as intended. You are right that each key of T is a key of U as well, but a U[K] may be a subtype of the corresponding T[K] for the same K, and T[K] is therefore not assignable to U[K].

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


500 Internal Server Error: When integrating MyViallant

Problem description
When I try to install myVaillant, I always get the following error message when I add the integration.
I have tried both the manual installation via the "Custom Components" folder and the installation via HACS.
500 Internal Server Error Server got itself in trouble.
Logs
File "/usr/src/homeassistant/homeassistant/requirements.py", line 302, in _raise_for_failed_requirements
raise RequirementsNotFound(integration, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for mypyllant not found: ['myPyllant==0.8.11'].

When I switch to heating it shows an error

Is this still a problem? It may have been a temporary issue with the package not being published yet when you installed this update. Or your HA version is outdated. Please post the full log, if you still have problems.


indicate how to disable all assertions temporarily

Many times I am debugging code partially written by someone else.  I get lots of unnecessary assertions (for one reason or another) and have to click past them all.  I finally found how to disable all assertions (temporarily).  Would be good to update this topic with a link to this page: https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/1y71x448(v=vs.100)?redirectedfrom=MSDN

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

ID: 9b528831-6809-773c-e160-a90f9698addf
Version Independent ID: 1e9e4cae-c0f5-93c5-60f1-4e39743fe1b5
Content: C/C++ Assertions - Visual Studio
Content Source: docs/debugger/c-cpp-assertions.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

Current doc for _CtrSetReportMode

Adding link. Fix should go live by EOD today.


Feature/death masking normalisation

What?

Prevent normalisation of concatenated attributes such agent ids and agent previous actions.
Compute value normalisation parameters based on the behaviour values same as in acme.

Why?

We don't to want loose one hot encoded vectors concatenated to observations.
Also prevent normalisation of death masked agents as this will add change 0s to some values that can confuse the network in smac environments.

How?

Added a death_masked_agents abstract method to the environment wrappers to keep tracked of dead agents.
Added an obs_normalisation_start_index abstract method to keep track of which features which shouldn't normalise. This assumes all the features we don't normalise are placed at the front of the array.

Extra
[Any extra information.]

Thanks @ulricharmel :slightly_smiling_face: Can you split this PR into two PRs? One for the obs norm fix and one for the value norm fix.


Add Search Abstraction for Paged Results

Add a function to retrieve all paged results from a search using post_search and get_search.

Fixed.


Revert "Exchangestep Claiming limiting and exportTask fix"

Reverts world-federation-of-advertisers/cross-media-measurement#1386

This change is

Lint can be safely ignored here.


Migrated Gradle's apply method as it was deprecated

Migrated Gradle's apply method to declarative block type to apply Flutter Plugins as this method was depricated and not recommended to build or run apks in android side
please review changes and let me know if anything is wrong
As a proof of correctness i am attaching this screenshot

Thank you Maintainer, Much appreciated as it was my first contribution to such other repo than mine.

Aah , the pleasure is all mine. Welcome to the open-source community. and thanks for the contribution.


Feature/log events

NOTE: Based on 3.0 branch so only review the new code (in the last commit, aa80a0a).

usage:
grid.logEvents(logger); // add logging listeners for each event; logger defaults to console.log
grid.logEvents(null); // remove logging listeners

grid.canvas.logEvents(logger); // add canvas loggers
grid.logEvents(null); // remove canvas logging listeners

Closing this. Decided to make it a stand-along npm module.


Rename langcheck.eval to langcheck.metrics

eval is a built-in global function in Python.

@liwii can you work on this before Thursday?

Sure!


Fix panic in webhooks server when patching workspace with nil Labels

What does this PR do?
Fix a panic that can occur if you try to update a DevWorkspace with nil labels
What issues does this PR fix or reference?
Is it tested? How?

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path to trigger)

[ ] v7-devworkspaces-operator-e2e: DevWorkspace e2e test
[ ] v7-devworkspace-happy-path: DevWorkspace e2e test

/test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path

/test v7-devworkspace-happy-path

I assume it can be reproduced only when devworkspace is created before webhooks are set.

I thought similar, but I can reproduce this issue in main with
yq -y '. * {"metadata": {"labels": {"test": "test"}}}' samples/theia-next.yaml \
  | kubectl apply -f -

kubectl apply -f samples/theia-next.yaml

:upside_down_face:

There's an issue in happy-path tests unrelated to this PR:

+ mv '/tmp/eclipse-che-che-operator-*/deploy' /tmp/che-operator
mv: cannot stat '/tmp/eclipse-che-che-operator-*/deploy': No such file or directory


Debug tool is not working on recent versions

I have VScode remotely to debug python code. The launch.json is ok, I already used in the past but now it stopped working.
I had to rollback the version of python extension to v2022.4.0 and now is working. I tested in the 3 most recent versions but it is not working.
My env:

some remote server with vscode
python and pylance extensions installed in remote server
remote server OS: ubuntu 18.04.2 LTS

My launch config
{
  "name": "some-project",
  "type": "python",
  "request": "launch",
  "python": "/home/ubuntu/.local/share/virtualenvs/some-project-pipenv-loc/bin/python",
  "program": "/home/ubuntu/some-project/test_main.py",
  "console": "integratedTerminal",
  "envFile": "/home/ubuntu/some-project/.env",
  "cwd": "/home/ubuntu/some-project/",
  "justMyCode": true
}

Let me know if extra information is needed.
Thanks in advance

same behavior on ubuntu 18.04.2 LTS

Same issue for me. Neither of the 2022.10.x versions work for me, but reverting to 2022.8.1 did re-enable debugging.
I'm using an old version of Python (3.6.8) installed via pyenv on Linux Mint 20.2 (Uma) based on Ubuntu Focal (20.04).
I guess it's related to https://github.com/microsoft/vscode-python/issues/19482 (The latest debugger requires Python >= 3.7 but fails silently when used on an older version).

Yes, I just confirm the code I was trying to debug is in python 3.6
But is it ok to kill the support for older versions of Python 3? as suggested in #19482

In the latest release of debugpy, support for Python versions older than 3.6 was dropped as Python 3.6 is not supported upstream since last year by the Python development team (this is also the support promise the Python extension itself follows as mentioned in our README). Based on the age of Ubuntu LTS that everyone is running, my assumption is you're all still running Python 3.6 (or older).
We are discussing/planning on breaking out debugging support into its own extension (https://github.com/microsoft/vscode-python/issues/19559). That would allow us to do an initial release using debugpy 1.5 which you all can pin to, but then allow the Python extension to update as normal (as long as it happens to support your older Python versions). Feel free to subscribe to that issue, follow our blog at https://aka.ms/pythonblog, or follow the VS Code release notes where we would announce any new extension.

Thank you!


Clicking cancel on channel edit page does nothing

Thanks to @Invariant-Change for pointing this one out. It should just go back to the channel page.

yeah "cancel" isn't doing anything, but the channel edit also starts with focus on tags. Is this behavior intentional? there are a lot of options in front of it?


Minimal C++ example，Compilation error

My system is ubuntu 22.04
When I try run “teaser_cpp_ply.cc”，a compilation error has occurred:
:~/TEASER-plusplus/examples/teaser_cpp_ply/build$ cmake .. && make
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Configuring done
CMake Error in CMakeLists.txt:
Imported target "teaserpp::teaser_registration" includes non-existent path
"/home/xiaowang/TEASER-plusplus/build/teaser/CMakeFiles/Export/include"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not
provide.

I solved the problem, but why is it that my output is not the same as the one you provided?

Please do not use GPT responses in your issues. Regarding the difference in estimated rotations and translations, note that the example generates noises and outliers randomly.


#6350: Add mem config for TTNN operations

Tracking Issue: #6350
Checklist

[x] Post commit CI passes - https://github.com/tenstorrent/tt-metal/actions/runs/10317795787
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Closing as memory config parameter is not needed for these ops


<EMAIL_ADDRESS>Failed to install

npm install gave an error. This is the full stack. Is there a way around this?
$ sudo npm install
npm http GET https://registry.npmjs.org/net-ping/1.1.7
npm http 304 https://registry.npmjs.org/net-ping/1.1.7
npm http GET https://registry.npmjs.org/raw-socket
npm http 304 https://registry.npmjs.org/raw-socket

><EMAIL_ADDRESS>install /var/www/uptime/node_modules/net-ping/node_modules/raw-socket
> node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack     at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:66:16)
gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack     at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:152:20)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:95:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:719:7)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack     at maybeClose (child_process.js:991:16)
gyp ERR! stack     at Socket.<anonymous> (child_process.js:1141:11)
gyp ERR! stack     at Socket.EventEmitter.emit (events.js:107:17)
gyp ERR! stack     at Pipe.close (net.js:461:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/uptime/node_modules/net-ping/node_modules/raw-socket
gyp ERR! node -v v0.11.13-pre
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the raw-socket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls raw-socket
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /var/www/uptime
npm ERR! node -v v0.11.13-pre
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /var/www/uptime/npm-debug.log
npm ERR! not ok code 0

Even number install fails too:
$ node -v
v0.12.0

raw.target.mk:84: recipe for target 'Release/obj.target/raw/src/raw.o' failed
make: *** [Release/obj.target/raw/src/raw.o] Error 1
make: Leaving directory '/src/node_modules/net-ping/node_modules/raw-socket/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.13.0-32-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /src/node_modules/net-ping/node_modules/raw-socket
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.0
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the raw-socket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls raw-socket
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /src/npm-debug.log

works on v0.10.36 though.

yep, got the same problem on the 0.12.0

Same.

I ultimately had to reinstall Node.js

Got the same issue at 0.12.1, 0.12.4 ! worked at 0.10

Node v4.2.1 worked for me

Confirm 0.12.4
I went in and changes the package.json node version

This is 8 years open. Likely no longer relevant.


[DOC] ESnet Monitoring project

@preeti-bhat ESNet sent a google doc with project requirements. Can you add details to this repo from all answers? (I would also maybe clone google doc and put it projects dir

https://github.com/cmscaltech/sdn-testbed/blob/main/Projects/ESNet SENSE Realtime Flow Monitoring Project .pdf


Snowflake connection type fix

This fixes two issues with the Snowflake plugin:

Adds support for the new Snowflake database connection type (originally only supported a generic JDBC type)
Looks at all possible parameter locations for a connection string. Previously it only looked at the query string of jdbcurl. It now looks for high-level connection properties, then for JDBC properties, then at query string parameters (in order of preference). This fixes a security flaw with the current implementation that requires the user to put the password (unencrypted) in the query string.

Closing since the snowflake connector is now shipped within DSS.


How to change language in spell checker

Hi, I'm from Spanish, so I type my diary entries in that language. I do not mind the options to be in English, but the spell checker is in English too so every single word I type appears with an underlying red line:

Is there a way to change this?

I have exactly the same problem except I need spell checking in Turkish. There does not seem to be an option for that in the preferences.
On linux I can launch the app from terminal as:
LANGUAGE=tr_TR mini-diary
This makes menu items, names of the days and such Turkish BUT the spell checker remains English.

Find where the diary files are. In my computer it is in snap folder. Go to "/minidiary/19/.config/Mini Diary/". Open the "Preferences" file. You can change spellchecker from there.


Contract definitions page

closes #16
Contract definition page support multi selection of existing assets.
See previous PR for renamings: #23
Running sample: http://mvd464-company1-mvd.northeurope.azurecontainer.io

I think the Edit button of the ContractDefiniiton Viewer should go away. There is no way to "edit" a CD in the DM API, only to create and delete.

I think the Edit button of the ContractDefiniiton Viewer should go away. There is no way to "edit" a CD in the DM API, only to create and delete.

Currently the edit button does exactly this: remove and then recreate. Should I delete it?

I think the Edit button of the ContractDefiniiton Viewer should go away. There is no way to "edit" a CD in the DM API, only to create and delete.

Currently the edit button does exactly this: remove and then recreate. Should I delete it?

Actually you are right, in this case the edit was not recreating the Contract Definition. I will delete the button.


Fix iOS crash in getErrorDescription

When I call RtcEngine.getErrorDescription(110) (or any error code number) on iOS, the app hard crashes. Xcode gives this log message:
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file react_native_agora/RtcEngine.swift, line 1048

This PR fixes the parameter name that the Swift implementation is using. The Java implementation is already using error and works.

Thanks for your PR!


Is Video 360 in iOS possible?

I Cannot get 360 video working on iOS in Safari (360 photos work fine). I have tried iOS (10.2 and 10.3)
I keep getting this error...
“Your browser does not have the necessary WebGL support to display this panorama"
Even the Pannellum example video page https://pannellum.org/documentation/examples/video/ will not work for me.
Has anyone gotten video 360 working on iOS with Pannellum or is there some compatibility issue because of iOS / Safari making it impossible to get working?
Thanks!

WebGL+video doesn't really work on iOS. See #232 and #347.

With new ios 16.4 its still the same error as above “Your browser does not have the necessary WebGL support to display this panorama" on your demo:  https://pannellum.org/documentation/examples/video/
But if I try like this, then this works on ios. (of course this doenst provide video controls like videojs can and support for other formats like hls) but what is the reason that this works and not your demo?
`

<video id="panorama" preload="auto" loop muted autoplay crossorigin="anonymous" controls>
    <source src="03.mp4" type="video/mp4"/>
</video>

var video = document.getElementById("panorama");

video.addEventListener('loadedmetadata', function() {

     video_viewer = pannellum.viewer('panorama_viewer', {
          "type": "equirectangular",
          "panorama": video,
          "dynamic": true,
          "dynamicUpdate": true,
          "autoLoad": true,
      })

});`


2 okta push instead of 1

recently gimme-aws-creds started doing 2 okta push instead of 1
Expected Behavior
there should be only 1 okta push
Current Behavior
$ gimme-aws-creds -p dev
Using password from keyring for xxxxx
Multi-factor Authentication required.
Okta Verify App: SmartPhone_IPhone: iPhone selected
Okta Verify push sent...
Multi-factor Authentication required.
Okta Verify App: SmartPhone_IPhone: iPhone selected
Okta Verify push sent...
Pick a role:
Possible Solution
i dont have clue on this
Steps to Reproduce (for bugs)

run gimme-aws-creds

Context
it requires to accept 2 okta pushes
Your Environment

App Version used:
$ gimme-aws-creds --version
gimme-aws-creds 2.7.0
EDIT:
same issue with 2.7.2 version
$ gimme-aws-creds --version
gimme-aws-creds 2.7.2

Environment name and version:

Operating System and version:
MacOS

Run gimme-aws-creds --action-register-device and make sure the Device Token gets updated in your config file.

thanks @epierce for response, still getting 2 push notifications after doing gimme-aws-creds --action-register-device
$ gimme-aws-creds --action-register-device
Using password from keyring for xxxx
Multi-factor Authentication required.
Okta Verify App: SmartPhone_IPhone: iPhone selected
Okta Verify push sent...

Device token saved!

2 push notifications:
$ gimme-aws-creds -p dev
Using password from keyring for xxxx
Multi-factor Authentication required.
Okta Verify App: SmartPhone_IPhone: iPhone selected
Okta Verify push sent...
Multi-factor Authentication required.
Okta Verify App: SmartPhone_IPhone: iPhone selected
Okta Verify push sent...
Pick a role:

anything else to look/ try for? there is no DEBUG option to the cli as well which could show more verbose logs to see what is happening

I was having this issue too and figured out the solution.
Running gimme-aws-creds --action-register-device will only update the device token for the default profile.  If you are using more than one profile, they will each have their own device_token set.  Open your .okta_aws_login_config and update the device token for each profiles.  Just copy it from the default profile.  You could probably also run the --action-register-device with a profile flag, but I haven't tried that.

Running gimme-aws-creds --action-register-device will only update the device token for the default profile. If you are using more than one profile, they will each have their own device_token set. Open your .okta_aws_login_config and update the device token for each profiles. Just copy it from the default profile. You could probably also run the --action-register-device with a profile flag, but I haven't tried that

thanks @nolan-m, copying device_token from default to other profiles is working fine now!


Support other SSH ports than 22 or Git access via HTTPS

For management reasons I needed to use another SSH port for my Git installation. Please support other SSH ports than 22. Or HTTPS with API key<EMAIL_ADDRESS>Thank you.

it was the id_ed25519 key and/or I need to add ssh:// to the url. But still doesn't work: fatal: not a git repository (or any of the parent directories): .git
Using your docker image.


Adding tsc note to readme

Hi @MisterJames, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


Bar chart: omit nulls? (2.0-beta)

Hello again.
I'd like to omit null values from being displayed on a bar chart... is that possible, perhaps via extension? Effectively, I'm attempting to display data grouped by day, but each day could have a different number of data points. Here's a Codepen I set up for this. I can finagle my data into multiple datasets to get it to display in the categorized bar chart form, but nulls cause unsightly blank spots (as you'd normally want). In this case, I'd like to display a varying number of columns per category, instead of assuming nulls are zero.
Any suggestions?

hey @oladon I think is definitely possible to do (it probably should be in the core as well). You would need to create a controller that derives from the Bar Controller (https://github.com/nnnick/Chart.js/blob/v2.0-dev/src/controllers/controller.bar.js)
You would need a modified getBarCount method and a modified draw method. The getBarCount method would need to take an index (so that it could check for nulls).
To create a new controller, you can do
var NewConstructor = Chart.controllers.bar.extend({
    /* new methods here */
});

@etimberg Thanks. I might delve into that over the weekend.

Tagging as enhancement to add this behaviour into the core bar controller.

+1

@etimberg I've spent some time on this yesterday:

It's messier than I expected because lots of different parts are assuming an even width for elements. I've only made it work for my current use case and I know it broke line charts. Basically, anything that uses the category scale needs a new getCategoryPercentage() which returns the percentage of a given element. It's a crappy name, I didn't notice you already had a categoryPercentage in the scale options. It is unrelated.
contoller.bar.js.patch.txt
scale.category.js.patch.txt

+1

Is this patch available on the core chart.js? or do we still have to modify it ourselves?

+1

+1

+1

+1

+1

+1

+1

+1

+1, I am badly in need of this.

So can something be done about this yet? Any solutions?

@it-leksand For hiding NaN from tooltip for null values, try following code in config. I display '-' instead of NaN, you can change the code accordingly.
tooltips: {
    mode: 'index',
    intersect: false,
    callbacks: {
        label: function(tooltipItem, data) {
            var index = tooltipItem.index;
            var datasetIndex = tooltipItem.datasetIndex;
            var label = data.datasets[tooltipItem.datasetIndex].label || '';
            var value = data.datasets[datasetIndex].data[index];
            if (label) {
                label += ': ';
            }
            if (value === null) {
                label += "-"
            } else {
                label += Math.round(tooltipItem.yLabel * 100) / 100;
            }
            return label;
        }
     }
}

I accomplished this goal in my local version by making some minor tweaks to the the bar controller, as originally recommended by @etimberg, specifically in the _getStacks function:
` _getStacks: function(last) {
var me = this;
var chart = me.chart;
var scale = me._getIndexScale();
var stacked = scale.options.stacked;
var ilen = last === undefined ? chart.data.datasets.length : last + 1;
var stacks = [];
var labels = chart.config.data.labels; //so we can match meta.stack to a dataset
var i, meta, j; //added j so we can iterate over labels
for (i = 0; i < ilen; ++i) {
meta = chart.getDatasetMeta(i);
//find position of meta.stack in label list
for (j = 0; j < labels.length; j++) {
if (labels[j] === meta.stack) break;
}
if (meta.bar && chart.isDatasetVisible(i) &&
//We can use i and j to check for blank or missing values and exclude them
typeof chart.config.data.datasets[j].data[i] !== undefined &&
chart.config.data.datasets[j].data[i] !== null &&
chart.config.data.datasets[j].data[i] != 0 &&
(stacked === false ||
(stacked === true && stacks.indexOf(meta.stack) === -1) ||
(stacked === undefined && (meta.stack === undefined || stacks.indexOf(meta.stack) === -1)))) {
stacks.push(meta.stack);
}
}
    return stacks;
},

`

A lot easier to just add .filter(x => x !== null) to the data array.
Pen

Hi, guys!
Is it this problem solved in the current version ChartJS? If not, will you close this problem in future?
Thanks in advance for your reply!


Illegal Instruction

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

On a Raspberry Pi Zero W the sample app crashes on start up.
What is the expected behavior?

The app should run and not crash
What behavior are you observing?

When I start the app, it fails after the notification phase and gives an error Illegal Instruction.
Provide the steps to reproduce the issue, if applicable:

Make sure audio works (it does). Compile from source using instructions. Authorize. Run sample app.
Tell us about your environment:

What version of the AVS Device SDK are you using?
  1.6.0

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ x] Raspberry Pi Zero W
[x ] Other - tell us more: Seeed Voicecard 2 Mic Hat

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[x ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

The audio works well. And works well on Pi3 with Alexa working properly. I am trying to configure the unit and integration tests, but I'm having trouble with them because I'm not experienced.
Bash output:
#################################################
NOTIFICATION INDICATOR STATE: OFF
#################################################
2018-03-30 19:23:25.957 [  1] 5 TemplateRuntime:addObserver
2018-03-30 19:23:25.959 [ 10] 5 TemplateRuntime:addObserverInExecutor
2018-03-30 19:23:25.953 [  f] 0 HTTP2Transport:cleanupFinishedStream:streamId=3,result=204
2018-03-30 19:23:25.966 [  f] 0 HTTP2StreamPool:releaseStream:streamId=3,numAcquiredStreams=1
2018-03-30 19:23:25.969 [  f] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
./startsample.sh: line 3:  1896 Illegal instruction     ./SampleApp "/home/pi/Documents/alexa/build/Integration/AlexaClientSDKConfig.json" "/home/pi/Documents/alexa/third-party/alexa-rpi/models" DEBUG9

Strace:
#################################################
NOTIFICATION INDICATOR STATE: OFF
#################################################
2018-03-30 19:29:29.833 [  1] 5 TemplateRuntime:addObserver
2018-03-30 19:29:29.835 [ 10] 5 TemplateRuntime:addObserverInExecutor
2018-03-30 19:29:29.829 [  f] 0 HTTP2Transport:cleanupFinishedStream:streamId=3,result=204
2018-03-30 19:29:29.847 [  f] 0 HTTP2StreamPool:releaseStream:streamId=3,numAcquiredStreams=1
2018-03-30 19:29:29.848 [  f] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGILL}], 0, NULL) = 2000
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xb6e036b0}, {sa_handler=0x53014, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xb6e036b0}, 8) = 0
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
brk(0xfb0000)                           = 0xfb0000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2995
brk(0xfb1000)                           = 0xfb1000
brk(0xfb2000)                           = 0xfb2000
read(3, "", 4096)                       = 0
close(3)                                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "./startsample.sh: line 3:  2000 "..., 202./startsample.sh: line 3:  2000 Illegal instruction     ./SampleApp "/home/pi/Documents/alexa/build/Integration/AlexaClientSDKConfig.json" "/home/pi/Documents/alexa/third-party/alexa-rpi/models" DEBUG9
) = 202
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=2000, si_uid=0, si_status=SIGILL, si_utime=148, si_stime=33} ---
wait4(-1, 0xbee4bf9c, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn({mask=[]})                    = 0
read(255, "", 201)                      = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(132)                         = ?
+++ exited with 132 +++

Your issue seems related to https://github.com/alexa/avs-device-sdk/issues/503.
As noted in the thread we do not actively test the SDK on Pi Zero.
Can you try some of the suggestions from there?

Remove third party libraries like WW.
Start a fresh install or verify the versions of required third party libraries - curl, nghttp2 as the path of the illegal instruction seems to lead to CURL.
Compile the SDK with the -DCMAKE_BUILD_TYPE=Debug option to get a debug build.
Provide logs and trace of the crash.

Thanks for the advice. I'll try. I would urge you to try and make the Zero work - the small form factor is irresistible and just begs to be put everywhere.
I have a noob question - I am pretty sure that the raspbi build specifies debug option for build. Are the logs that I copied not debug logs?
Again I know this isn't really on topic with the Zero W, so thanks for replying.

Hi @crashflow, thanks, we are seeing the debug logs.
Could you try modifying the pi.sh and disable the wakeword detection to OFF (i.e. -DSENSORY_KEY_WORD_DETECTOR=OFF) and run the script again.  I think we are getting the illegal instruction error due to the library file from git://github.com/Sensory/alexa-rpi.git is not compatible with pi Zero.

Closing for now.  Please re-open if you'd like further guidance from us.

I am getting the exact same problem and I am using raspberry pi zero w.


C mode

@cc =
    int add(int x, int y) {
        return x + y;
    }
@end

I've made some interesting advances on this feature, see issue #430.


You should include better instructions on how to get a GitHub oAuth token to prevent credential leaks

https://github.com/revolunet/sublimetext-markdown-preview/blob/1.3.2/MarkdownPreview.sublime-settings#L144-L147:

Uses an OAuth token when parsing markdown with GitHub API. To create one for Markdown Preview, see https://help.github.com/articles/creating-an-oauth-token-for-command-line-use.

When a user follows that, he or she creates a token with the default scopes. From the doc:

The default scopes allow you to interact with public and private repositories, user data, and gists.

That's read/write access to all public and private repos, user data, and gists!
People often share dotfiles, and they commonly fail to remember (or are not aware) that their Sublime Text settings has a token that gives write access to all their repos on GitHub to anyone.
If your app works fine without those scopes, you should tell the user to create a token that doesn't have unneeded scopes. Preferably — with no scopes at all. Also, you should better tell users that that token is supposed to be kept secret.
See https://github.com/ChALkeR/notes/blob/master/Do-not-underestimate-credentials-leaks.md#common-sources-of-leaks for details.

Would you like to write up better instructions?  Pull requests are welcome.   This package is community driven.

@facelessuser I am not a user of this package or Sublime Text. I have no idea what scopes does this package require, though I am confident that the default list is too high. Also, I am not a native Enlish speaker.

Thanks for reporting that issue, your english looks very good :) i'll fix the README

@facelessuser added a note in the README. i planned to make a PR for you to review but for some reason it commited directly on master....; sorry for that !

@revolunet Looks good to me, thanks!

No worries.  Looks good to me.


OneSignal.h file not found

Getting this error on xcode OneSignal.h file not found. I have expo detached and everything was working fine suddenly it stopped maybe an unexpected update or smth.
Sometimes I get an error OSEmailSubscription.
Any ideia what's going on? how to fix it?

@faustoct this was fixed in a recent PR (#404) which has now been included in update 3.1.1

@Nightsd01 tks will test let u know.. tks for replying me as soon as possible..

worked ! thanks


Fix: Zero shards

Filter outdated accounts (bad chainId)

Task linked: CU-8693c5vfh DynamicDerivations. Account selector. May show 0 accounts


:wrench: Some fixes and features.

Solved some issues and added some features:
Fixes

Solve #609
Solve #708
Solve #288
Solve #249
Solve #180

Features

Better service navigation logic on open.
Better usability: if click on cancel button return to chosen active service.

Help needed to build the project! I have read the contribution readme but without success to get the build process work.


Embedding RTCView in a ScrollView

Expected behaviour
The expected behaviour is that RTCView would render inside a ScrollView.
Observed behaviour
The RTCVideoView's call to layoutSubviews shows self.bounds.size.height to always be zero when RTCView has a ScrollView as its parent. The width appears correctly.
I tried setting various options for flex and wrapping the RTCView (or alternatively the ScrollView) inside a regular View, but none of the options seem to work (for me).
Steps to reproduce the problem
Simply wrap a RTCView inside a ScrollView.
Platform information

React Native version: 0.45.1
Plugin version: 1.58.2
OS: iOS
OS version: 10.3.3

Setting contentContainerStyle value for flex to 1 fixes the issue (for me).
Closing invalid bug report.


Use same algorithm to solve 2x2 eigenvalue problem

The eigenvalue problem is solved in two different method that use different methods
to calculate the discriminant of the solution to the quadratic equation.
Use the method whose computation is considered more stable.
Reference issue #655 in comment

Thanks!


Feature Request: Add/Remove player to NetworkedObject

My project doesn't spawn player objects as controllable objects because the player is supposed to be able to switch their control to any networked object that has player controls available. This means I need the ability to turn on player position synchronization for any object, as well as remove it. In the HLAPI this translates to:

registering all prefabs I will use (by registering the SpawnHandler and UnSpawnHandler hooks,) spawning some objects
spawning one permanent player object that serves as a persistent object for communicating with the server, such as to request a new netobject be spawned, or to request control of an existing netobject.
once the server has been asked to spawn a player or grant control to a player, it can do appropriate checks, then add/replace that object in player control

I believe the only thing currently missing from MLAPI for this are signatures like:
NetworkedObject.AddControl(NetworkConnectionObject conn, bool replace)
NetworkedObject.RemoveControl(NetworkConnectionObject conn)

You cannot change the player object. I.E the isLocalPlayer object. However, you can change the OwnedObjects.
NetworkedObject.RemoveOwnership & NetworkedObject.ChangeOwnership
This should be enough. Reopen if not.

That should be fine. If not already there, a flag that indicates ownership would be nice so you don't have to track that yourself when calling those methods.
Out of curiosity, what is the functional difference between a player and something that has ownership? Just the isLocalPlayer flag?

Yes, no difference. one of them has isLocalPlayer the other one has IsOwner. And owner objects can already be identified. Currently, they are not in the NetworkedBehaviour tho. You need to do networkedObject.IsOwner right now. Will be fixed shortly.

isOwner has been added to NetworkedBehaviour.

That's great, thank you. Is there a reasonable way to call a hook when these changes occur? HLAPI has a methods OnStopAuthority and OnStartAuthority which are fired if present. This makes the change of ownership very easy to deal because I don't then need to send a second message to the client telling it what has changed.

Added two virtual functions to NetworkedBehaviour:
OnGainedOwnership and OnLostOwnership. Simply override them.

Rad, thank you.


remind: use gitUpdater

Use nix-update-script for automated updates using r-ryantm

How would the current maintainers feel about me also becoming a maintainer for this package?
This would allow me to merge updates through r-ryantm created update PRs.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Just learned from a link to this comment that r-ryantm may be able to update this package with only the src changes from this PR.
Do any of the current maintainers have more insight into this?

I am not sure about the exact update logic

(OK with adding you as a maintainer)

Thanks for the feedback everyone, and thanks for the invitation to become a maintainer of remind, which I'll gladly accept.
Let's see if we can get this merged before the next version of remind comes out :) I'm already seeing two beta having been published recently.

Thanks for merging this, @7c6f434c, much appreciated 💯  I'm looking forward to seeing bot update PRs for this package 😃🤞


Games crashing immediately upon launch

After Valve released Proton 5.0, every game that have made use of DXVK started crashing on launch, so I naturally opened an issue there: https://github.com/ValveSoftware/Proton/issues/3573
Debugging the issue eventually led to bisecting DXVK, as release v1.5.1 worked fine, but release v1.5.4 had problems. Through bisection, I found https://github.com/doitsujin/dxvk/commit/252ec9406d864e64949ec60ab20fe24e1dbc6262 to be the first bad commit. After checking out the master branch again and reverting said commit, games would start launching again. I guess this also explains why the wine would crash right as the supported Vulkan properties is being written to the log, as can be seen in the attachment on that issue.
Another user on the mentioned issue also seems to have the same problem, and he's also using an RX 580 GPU, but a newer driver. Perhaps it's some quirk with RadV and that specific GPU not properly supporting this Vulkan extension? In which case, it would be a bug with RadV and not DXVK.
Running Vulkan Info, I also see VK_KHR_get_physical_device_properties2 among the instance extensions, but that's the only occurrence of get_physical_device_properties when using grep on the output.
System information

GPU: Radeon RX 580
Driver: Mesa version 19.3.3 (DRM 3.35.0, 5.4.0-4-amd64, LLVM 9.0.1)
Wine version: Proton 5.0
DXVK version: Any following https://github.com/doitsujin/dxvk/commit/252ec9406d864e64949ec60ab20fe24e1dbc6262

Okay, so after looking through the posted system information, I found that it detected an old icd placed in /etc/vulkan/icd.d/ stating the api version was only 1.0.3.
Apparently when launching games through proton, it chose this icd by default and not a more up-to-date one placed elsewhere. I guess this made DXVK think only Vulkan 1.0.3 was supported and thus crashed.
Deleting this directory, as icds are now saved under /usr/share/vulkan/icd.d/ instead, fixed the issue. This was never a problem with DXVK. Sorry for noise


Enhancement : Basic layout for a application and custom layout for a page .

Idea Behind is to create a basic layout for application and provide a way to add custom layout per page.
Basic example of this would be showing just a logo on navbar and on some other page developer can customise the navbar by adding different menu to it as per the need .
As a starter template it will set a path for developer to setup a layout ahead for application.
let me know and ill raise a PR for the same .
for reference : Per-Page Layouts

Great!

 custom layout pr 🚀

@Easyvipin LGTM.


Broken link in documentation for quick start

Describe the bug
The "accompanying article" link in the quick start is broken.  I think the correct link is here
To Reproduce
Go to link above and look for  "accompanying article" link
Expected behavior
A clear and concise description of what you expected to happen.
Version of the Cognitive Services Speech SDK
Which version of the SDK are you using.
Platform, Operating System, and Programming Language

OS: [e.g. Windows, Linux, Android, iOS, ...] - please be specific
Hardware - x64, x86, ARM, ...
Programming language: C#, C++, Java, JavaScript, Objective-C, Python
Browser [e.g. Chrome, Safari] (if applicable) - please be specific

Additional context

Error messages, log information, stack trace, ...
If you report an error for a specific service interaction, please report the SessionId and time (incl. timezone) of the reported incidents. The SessionId is reported in all call-backs/events you receive.
Any other additional information

Closing as fix under work


[QUESTION] Is there a way to prevent a node being collapsed?

Is there a way to prevent a node being collapsed?
I've set this:
    chart.buttonContent(({ node, state }) => null)
Which stops the expand/collapse button showing, but it still collapses when I tap near where the button was.

Hi, I've had the same problem and while I haven't found the "clean" solution yet, here is a workaround:
1. Set the button content to null, as you have already done:
chart.buttonContent(({ node, state }) => null)

Assign the chart to a variable and set the onButtonClick callback to null afterwards:
const chart = new OrgChart().container('#chartDiv)...; chart.onButtonClick = null;

This should solve your issue.

chart.onButtonClick = null;

Ah, but I want some nodes expandable and others not, so I cannot use this approach.

In nodeUpdate you can check which nodes should be collapsible and then set pointer-events to none to the responsible element class (don't remember exact name)

pointer-events is already null on the node-button-div class:

Click event is bound to .node-button-g, so either remove that or set pointer events to none

Thanks will give that a go.

To get it to work I had to set pointer-events on .node-button-rect:
    .nodeUpdate(function (d, i, arr) {       d3.select(this)       if (d.data.name === '') { // conditionally prevent collapse           d3.select(this)         .select('.node-button-rect')         .attr("style", "pointer-events:none");       }     })

Thanks for your help @bumbeishvili, have closed this now.


quicklogic: add initial PP3 support

This PR introduces basic support for QuickLogic PP3 devices.
It adds a third party repository with architecture data in a similar way as it was done for PP3E.
Since there is no timing data available for PP3 at this moment, we are using PP3E data
which will be changed in the nearest future for proper PP3 files.
data_import.py utility for QL had to be modified in order to ignore empty switchboxes
in architecture techfile that were causing failures while importing the data.
Additionally, basic test designs were enabled for the jimbob4 boards and the test cases
for routing were added.

This PR is moved to https://github.com/QuickLogic-Corp/symbiflow-arch-defs/pull/467
I'm closing this one.


BUG Fix users with all cms section access not able to edit files

Fixes #4078
If a user has "all cms section" access they should be able to edit files.

Thanks @chillu


Jesse: Watch (?-i:3Rx4NZM)(?#bit.ly)

Jesse requests the watch of the watch_keyword (?-i:3Rx4NZM)(?#bit.ly). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:3Rx4NZM)(?#bit.ly) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[BUG] Poetry failing to recognize file directory

What is the bug?
Running samples with Poetry fails on Windows 10 and Mac
How can one reproduce the bug?

Install Poetry in the home directory using pipx install poetry.
Navigate to the "opensearch-py/samples" directory. cd opensearch-py/samples
Install the project dependencies with poetry install.
Execute poetry run hello/hello.py.

What is the expected behavior?
Poetry should run the samples without any errors
What is your host/environment?
Windows 10, Docker 4.17.1 (101757)
macOS 10.15
Do you have any screenshots?
The result on Windows machine:
$ poetry run hello/hello.py
"hello" is not an internal or external
command, executable program, or batch file.
(base)

The result on the Mac machine:

I tested this on my mac and didn't face any error. Will try it again on some other machine

Installed Poetry in the home directory using pipx install poetry.
Navigated to the "opensearch-py/samples" directory. cd opensearch-py/samples
Installed the project dependencies with poetry install.
Executed poetry run hello/hello.py.

If anyone else is experiencing this issue, please feel free to leave a comment here. Thank you!

I think this may be broken (wrongly documented) on Windows. Does poetry run python hello/hello.py work?
It works on *nix because hello.py has a BOM of #!/usr/bin/env python and automatically invokes python.
@roma2023 if you can confirm, let's insert python everywhere we say poetry run ... in the docs? Will you please help?

@dblock Yes, running poetry run python hello/hello.py works on Windows machine:

I can take up this issue and open a new PR or fix this at #486

The  bug is that running samples with Poetry fails on Windows 10 and Mac when executing poetry run hello/hello.py. It results in a "command not found" error.

The expected behavior is that Poetry should run the samples without any errors.

It works as expected on Linux, but fails on Windows and Mac.

A workaround is to run poetry run python hello/hello.py instead of just poetry run hello/hello.py. This works on Windows.

The root cause seems to be that on Windows, the hello.py script doesn't have the proper shebang line to invoke python automatically.

A fix proposed is to update the documentation to recommend running poetry run python instead of just poetry run on Windows.

User @roma2023 volunteered to submit a PR to fix the documentation.

In summary, it's a documentation issue on Windows due to lack of a proper shebang line in the scripts, and the recommendation is to call python explicitly when using Poetry on Windows.


Self-healing

Motivation
See https://github.com/spacemeshos/SMIPS/issues/46
Requires #2394, #2393, #2357
Closes #2203
Changes

adds zdist param: whereas hdist is the "Hare lookback" distance (the number of layers for which we consider hare results/local input vector rather than global opinion), zdist is the "Hare result wait" distance (the number of layers we're willing to wait for Hare to finish before reverting to invalidating layers with no input vector)
Hare explicitly reports failed CPs to the mesh, with the results stored in memory

Test Plan
TBD
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Finish rescoring block goodness after healing
[x] Rescoring block unit test
[x] Block voting weight unit test
[x] Make sure healing -> verifying tortoise handoff is working
[x] App test (for decay in active set size)
[ ] Split-then-rejoin test (two way split, three way split w/o majority fork)
[x] Late blocks unit test(s)
[x] Correctly weight votes from blocks with late atxs/those with a bad beacon value (will follow up in separate issue: #2540)
[ ] Multi tortoise unit tests

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[ ] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

please use logtest.New(t) in tests and not log.NewDefault

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge
On Sat, Aug 21, 2021, 12:20 bors[bot] @.***> wrote:

Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3389889106

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2400#issuecomment-903139973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNGETJMQ2ISNAN4O7KTT57G5XANCNFSM43XVGWUQ
.

bors merge
On Sat, Aug 21, 2021, 13:26 bors[bot] @.***> wrote:

Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3390072515

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2400#issuecomment-903148718,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNDZECJXIQ2IZ7PFMALT57OVPANCNFSM43XVGWUQ
.

bors merge
On Sat, Aug 21, 2021, 14:39 bors[bot] @.***> wrote:

Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3390294278

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2400#issuecomment-903158716,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNENNPP4GEQ4EYUX7STT57XENANCNFSM43XVGWUQ
.

bors merge

bors merge
On Sat, 21 Aug 2021 at 20:23, bors[bot] @.***> wrote:

Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3391292157

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2400#issuecomment-903192919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNHHUZMWTXAJF2FTKFDT6A7PNANCNFSM43XVGWUQ
.

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

Here are the logs for the latest latenodes systest failure (with some filters): http://<IP_ADDRESS>:5601/goto/760e4d8aa78c69d21358608525d7ffb9
Here are the first few relevant errors/warnings (with filters applied): http://<IP_ADDRESS>:5601/goto/91a1cc5a33cfa8ec699fa98c69f381d3
I'm seeing the following errors and warnings:

hare | error checking if identity is active | empty active set for layer 6 in epoch 2
blockBuilder | failed to check for block eligibility | failed to get latest atx for node in epoch 2: failed to get atx id for target epoch 2: atx for node 08d24 with publication epoch 1: leveldb: not found
hareOracle | error getting active set | empty active set for layer 6 in epoch 2
blockOracle | failed to calculate eligibility proofs | failed to get latest atx for node in epoch 2: failed to get atx id for target epoch 2: atx for node 08d24 with publication epoch 1: leveldb: not found
mesh | requested unknown layer hash
tBeacon | failed to send proposal message | proposalPassesEligibilityThreshold: atxThreshold: zero epoch weight provided
tBeacon | failed to handle proposal message | get node ATXID for epoch (miner ID 78bc0): atx for node 78bc0 with publication epoch 1: leveldb: not found
tBeacon | failed to handle first voting message | verify first voting message: get node ATXID for epoch (miner ID f57a2): atx for node f57a2 with publication epoch 1: leveldb: not found
hare | error processing hare tick | not starting hare since node is not synced

@countvonzero @nkryuchkov I could use your help troubleshooting the sync and beacon related issues here.


feeds for all

Adjusted feed.xml to recognize category and categories.
Added ability to generate feeds for tags.
Added flag to generate feeds for all categories and/or tags.

We just merged #153


cmd/compile: poor error for constant using missing import

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Playground.
Does this issue reproduce with the latest release?
I haven't checked, but the playground says it is running Go 1.10.3.
What did you do?
https://play.golang.org/p/KDfoNw1JzXb
package main

import (
	"fmt"
)

func main() {
	const delay = 5 * time.Second
	fmt.Println(delay)
}

What did you expect to see?
One error, pointing out that I didn't import "time".
What did you see instead?
Two errors, one of which is misleading:
prog.go:8:8: const initializer 5 * time.Second is not a constant
prog.go:8:20: undefined: time

The first error is outright wrong if the "time" package was imported, yet it was printed, and worse, it came first. The only useful error there is the second message.

This issue has been fixed, the reproducer above now only prints the second error message. Closing here, then.


Add basic docker-compose support

Add basic docker support.
To run: docker-compose up
(and it will run on port 8080)

Thanks @Firefishy, but I'm going to close this for now.. I think using Docker is great when the development environment is complicated and has a lot of dependencies, but we've already done a bunch of work to make sure that the only requirement for building iD is to have a Node.js 4.0 or newer, which is a pretty easy requirement to satisfy.


Fix: Wrong symbols at gitchanges

Fix #50

I forget to change the order in the table. I'll update the pr tomorrow ... if I found out how. 😅


Is there any roadmap for ios?

I 'm working on ios version with this module but not working and no any error.
Please share what is roadmap in the future for ios.

I 'm working on ios version with this module but not working and no any error.
Please share what is roadmap in the future for ios.

I guess you can use this official wifi info plugin: https://pub.dev/packages/wifi_info_flutter

Thanks. But it is just for getting current connected wifi information. I need to get all available wifi list.
Could you please share your experiences?

Sorry I haven't tried such thing on ios. Perhaps you can follow this plugin https://github.com/alternadom/WiFiFlutter, I think they actively develop it at the moment.


Update rori instruction according to specification

For RV32, the encodings corresponding to shamt[5]=1 are reserved.
Now it isn't.

Same as #1508. Score as 0 points because it is the same issue.


Add assertion on def->permissions in check_permission

Although def->permissions is only NULL on non-actor behaviors and type alias functions, And thus they should never get here, we should assert before we null deref.
One of the commits originally in #4331

Thanks. I'll merge this once it passes CI.

Thanks @Dante-Broggi