cant open file unless in that directory?

Environment

Operating System:
Vim version :version: NVIM 0.3.2
NERDTree version git rev-parse --short HEAD: 72c3656
NERDTree settings applied in your vimrc, if any:

let g:NERDTreeDirArrowExpandable = '  '
let g:NERDTreeDirArrowCollapsible = '  '

nnoremap <leader>[ :NERDTreeToggle<CR>
let g:NERDTreeWinSize = 50
let g:NERDTreeQuitOnOpen = 1
let g:NERDTreeAutoDeleteBuffer = 1

augroup nerdtree
    autocmd FileType nerdtree setlocal signcolumn=no modifiable
augroup END

Process

open nerdtree
open dir with
try to o or <CR> on file to open it

Current Result

nothing happens, I have to cd nerdtree with C into the directory and only then can I o or <CR> to open the file
Expected Result

I used to use nerdtree in the past and this worked. I recently switched back and I cannot find any options or issues relating to this, but it doesn't work for me anymore
Screenshot(s)
Possible Fix

So I noticed that I was having that issue if using version:
vim: stable 8.1.0850 (bottled), HEAD

I'm on a Mac, and that version was installed by brew install vim. I've fallback to the default in Mac: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 17 2018 17:24:51) and it works now.
Maybe an incompatibility with the 8.1 version of VIM? Of something that the brew version didn't compile it with?

If you could grab the output of :version for both 8.1 and 8.0, we might see whether a feature being turned on or off is making a difference. I'm using
VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 16 2018 11:09:46)
macOS version
Included patches: 1-529

and I don't see this issue. I did compile it with a lot of features turned on though.

This is the default on the Mac 10.14.2, and it works:
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 17 2018 17:24:51)
Included patches: 1-503, 505-680, 682-1283
Compiled by<EMAIL_ADDRESS>Normal version without GUI.  Features included (+) or not (-):
+acl             +file_in_path    -mouse_sgr       +tag_old_static
-arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           -mouse_urxvt     -tcl
-balloon_eval    +folding         +mouse_xterm     -termguicolors
-browse          -footer          +multi_byte      -terminal
+builtin_terms   +fork()          +multi_lang      +terminfo
+byte_offset     -gettext         -mzscheme        +termresponse
+channel         -hangul_input    +netbeans_intg   +textobjects
+cindent         +iconv           +num64           +timers
-clientserver    +insert_expand   +packages        +title
-clipboard       +job             +path_extra      -toolbar
+cmdline_compl   +jumplist        -perl            +user_commands
+cmdline_hist    -keymap          +persistent_undo +vertsplit
+cmdline_info    +lambda          +postscript      +virtualedit
+comments        -langmap         +printer         +visual
-conceal         +libcall         -profile         +visualextra
+cryptv          +linebreak       +python/dyn      +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             -rightleft       +windows
+diff            +menu            +ruby/dyn        +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
-emacs_tags      -mouseshape      +startuptime     -xpm
+eval            -mouse_dec       +statusline      -xsmp
+ex_extra        -mouse_gpm       -sun_workshop    -xterm_clipboard
+extra_search    -mouse_jsbterm   +syntax          -xterm_save
-farsi           -mouse_netterm   +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -o vim        -lm -lncurses  -liconv -framework Cocoa

And this one, installed using brew install vim doesn't:
vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan 31 2019 16:43:52)
macOS version
Included patches: 1-850
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +extra_search      +mouse_netterm     +tag_old_static
+arabic            +farsi             +mouse_sgr         -tag_any_white
+autocmd           +file_in_path      -mouse_sysmouse    -tcl
+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +textprop
+byte_offset       -hangul_input      +num64             +timers
+channel           +iconv             +packages          +title
+cindent           +insert_expand     +path_extra        -toolbar
-clientserver      +job               +perl              +user_commands
+clipboard         +jumplist          +persistent_undo   +vartabs
+cmdline_compl     +keymap            +postscript        +vertsplit
+cmdline_hist      +lambda            +printer           +virtualedit
+cmdline_info      +langmap           +profile           +visual
+comments          +libcall           -python            +visualextra
+conceal           +linebreak         +python3           +viminfo
+cryptv            +lispindent        +quickfix          +vreplace
+cscope            +listcmds          +reltime           +wildignore
+cursorbind        +localmap          +rightleft         +wildmenu
+cursorshape       +lua               +ruby              +windows
+dialog_con        +menu              +scrollbind        +writebackup
+diff              +mksession         +signs             -X11
+digraphs          +modify_fname      +smartindent       -xfontset
-dnd               +mouse             +startuptime       -xim
-ebcdic            -mouseshape        +statusline        -xpm
+emacs_tags        +mouse_dec         -sun_workshop      -xsmp
+eval              -mouse_gpm         +syntax            -xterm_clipboard
+ex_extra          -mouse_jsbterm     +tag_binary        -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -lintl -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation  -lruby.2.6

I'm actually on nvim, but here is my version info
VIM v0.3.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -W
all -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=aut
o -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/b
uild/config -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Content
s/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/build/src/nvim/auto -I
/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.4/share/nvim"

I have the same issue and has made NERDTree unusable for the most part (unless I cd to the dir as deltaskelta suggested).
vim --version

VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 11 2019 17:46:54)
macOS version
Included patches: 1-1150
Compiled by Homebrew
Huge version without GUI.   I just upgraded my homebrewed vim 8.1 this morning, and I now have patches 1-1174 and exactly the same features as @thameera. My first guess is another plugin could be doing something strange here. Have you tried uninstalling other plugins to see if there is any interference? Later today, I'll create a new branch with some logging statements in it, which you can use to help me see what's happening on your end.

@deltaskelta , @celsodantas , @thameera , I created a branch that has some debugging statements in it. Could you go to your nerdtree repository folder and issue these commands:
git pull
git checkout must_cd_before_open

Then open vim, and run through the scenarios you've described. Grab the messages that are output, and post them in the issue. Every function call along the way for opening a file should be displayed.
Thanks,
Phil

I followed what you said. When I open a file in the same directory, I get this output...
CWD: /Users/Jeff/.config/nvim/plugged/nerdtree
NERDTree Root: /Users/Jeff/.config/nvim/plugged/nerdtree
activateNode(/Users/Jeff/.config/nvim/plugged/nerdtree/CHANGELOG)
 TreeFileNode.activate({'reuse': 'all', 'where': 'p'})
 TreeFileNode.open({'reuse': 'all', 'where': 'p'})
  Opener.New(/Users/Jeff/.config/nvim/plugged/nerdtree/CHANGELOG, {'reuse': 'all', 'where': 'p'})
  Opener.open(/Users/Jeff/.config/nvim/plugged/nerdtree/CHANGELOG)
   Opener._openFile()
   Opener._reuseWindow()
   Opener._gotoTargetWin()
   Path.edit()
    vim command: edit CHANGELOG
"CHANGELOG" 179L, 8491C

but when I try to open a file in a different directory, nothing happens at all. I was able to narrow it down to one NERDTree setting.
In my config I have the following two lines (it is an expanded and collapsed folder unicode symbol which I had added some whitespace around to display better in the tree. If the collapsible symbol has a trailing space, I get the error.
let g:NERDTreeDirArrowExpandable = '  '
let g:NERDTreeDirArrowCollapsible = '  '

but if I remove the space, I do not get an error.
let g:NERDTreeDirArrowExpandable = '  '
let g:NERDTreeDirArrowCollapsible = ' '

So I think I will just remove all the whitespaces around the characters for now, not sure if it is worth fixing in NERDTree or just noting in the docs. Can anyone else confirm this is what caused their issue?

@deltaskelta same thing with me.
If I don't set
g:NERDTreeDirArrowExpandable
g:NERDTreeDirArrowCollapsible

when I try to select something in another folder, nothing happens. No output. If I set g:NERDTreeDirArrowCollapsible with no right space, it works and I get an output.
here's the output for a file in the same directory:
CWD: /Users/celsodantas/.dotfiles/vim
NERDTree Root: /Users/celsodantas/.dotfiles/vim
activateNode(/Users/celsodantas/.dotfiles/vim/vimrc)
 TreeFileNode.activate({'reuse': 'all', 'where': 'p'})
 TreeFileNode.open({'reuse': 'all', 'where': 'p'})
  Opener.New(/Users/celsodantas/.dotfiles/vim/vimrc, {'reuse': 'all', 'where': 'p'})
  Opener.open(/Users/celsodantas/.dotfiles/vim/vimrc)
   Opener._openFile()
   Opener._reuseWindow()
  _reuseWindow() is true

and for one in another directory wit the "fix":
CWD: /Users/celsodantas/.dotfiles/vim
NERDTree Root: /Users/celsodantas/.dotfiles/vim
activateNode(/Users/celsodantas/.dotfiles/vim/colors/xterm16.vim)
 TreeFileNode.activate({'reuse': 'all', 'where': 'p'})
 TreeFileNode.open({'reuse': 'all', 'where': 'p'})
  Opener.New(/Users/celsodantas/.dotfiles/vim/colors/xterm16.vim, {'reuse': 'all', 'where': 'p'})
  Opener.open(/Users/celsodantas/.dotfiles/vim/colors/xterm16.vim)
   Opener._openFile()
   Opener._reuseWindow()
   Opener._gotoTargetWin()
   Path.edit()
    vim command: edit colors/xterm16.vim
"colors/xterm16.vim" 811L, 36180C

Thanks!


💡Some ideas regarding storage (DB) concepts

@liamhuber, as we have just discussed please find below a sketch of the envisioned storage concept. The main idea is to have two databases/stores, one for the nodes, macros, workflows (left side) and one for the data resulting from running the node, workflow etc.

Follow up content from a conversation between me, @pmrv, and @JNmpi:
One can imagine two fundamentally different types of table: one for storing classes, i.e. templates to use in your new work, and one for storing instances, i.e. coupling a particular node with particular input (hash & storage location) to particular output (storage location). This is already reflected in the NodeDB and InstanceDB above.
For NodeDB we would imagine queries where a node class is given, and related node classes are returned -- e.g. alternate versions of the same node, or macros that contain that node somewhere in their graph.
For InstanceDB we the fundamental table might be something like "Node specifier" (package+class+version), "input hash", "storage location". So each time a node is run and saved, it registers these things with the DB. (One can imagine refactoring this database, like levels above that that is (package, class, subtable), (version, subsubtable), where subsubtable is the one holding node_specifier, input_hash, location or what have you).
Some ideas of the sorts of queries we might make

Very generic: "give me a table of all executions of ThisNodeClass, including any version and any macro that has it in the graph somewhere"
Or less generic: "give me a table of all the executions of ThisNodeClass, then look at their input and filter to give me only those with input.x < 42 -- or they might be very specific
Hyper specific: "If this particular version of NodeClass has been executed, and the input hash matches this_value, load the output and return it to me.

The last case shows how such a DB could be used to accelerate workflows where the compute cost is high relative to the storage cost; conversely, if the compute cost is trivial we might never want to store it in the instance DB!
Note also that if the node output is stochastic, responsibility then falls to the node designer to make sure the random seed is also included in the IO. This wouldn't be perfect because I guess there is some hardware- and cosimic ray-dependence, but it would let us store multiple copies of output the same nominal input -- particularly important for, e.g., molecular dynamics.
These thoughts are neither complete nor, relative to the sketched figure above, particularly novel -- I just wanted to add some detail, as I understood it, following our very nice chat.

@JNmpi, @jan-janssen and I had a nice meeting on this topic this morning, and Joerg has content already pushed in the pyiron_nodes repo.
Here are my takeaways for the target spec:

Columns (can refactor these into separate tables as needed; most of these are in Joerg's prototype):

critical A node class identifier -- for now just the python library path, but versioning is important
critical A hash combining the node class identifier and current input
critical A column allowing us to retrieve the output (either a raw representation, or direction to a file)
Blacked source code and/or a hash thereof
A JSON or similar representation of input
pyiron_workflow version used at creation (or last update?)
Creation date
Last-access date
Size on disk of any associated file/directory/tarball

@JNmpi's: if the workflow input is not human readable, then it is not FAIR in a meaningful way, thus we should only allow a certain subset of inputs to be used, e.g. str, int, float, lists and tuples of these, ...
Key feature of Joerg's prototype: input can also be the hash of another node -- this allows database storage of nodes that have complex and otherwise unstorable input, and gives the chance to reconstruct whole workflows directly from the database
@jan-janssen: for QoL and maintainability, this hashing/caching should be independent of hashing/caching the live workflow, i.e. this issue is independent of #169, although we may be able to reuse some of the hash-generating code and they may sometimes fulfill the same purpose of avoiding a re-run
How to actually convert to the database, what is the opt-in process?

Current prototype by @JNmpi: there is a separate database run command the node gets passed to, but this means graph execution is totally manual and tools like .iter are incompatible
@liamhuber: Maybe nodes could carry a database and overwrite_database properties+input kwargs, allowing them to opt in, and then saving happens as part of regular execution

This is tricky to combine with the ability to store complex data as input links -- we would need some automated way of a-priori or post-facto working out the path of nodes the user didn't specify that need to be stored until all upstream nodes have permissible input for storage

@jan-janssen: Maybe we could pass executed workflows/node sets post-facto

This shares the missing-link issue from above, but since everything is finished it's probably easier to solve it here

Next step: Forget storing children that require complex input links for now, to start with only allow sending nodes to a database whose input values are compliant with our restrictions -- it's limited, but it gets the ball rolling

We are not super concerned about the size of the database or hash-match queries because...

If it stays opt-in at some level, there should not be too many nodes (need to watch this if we start automatically tracing dependency trees and storing paths of nodes until we hit a layer with completely compliant input)
This sort of hash matching is super optimized by the database tools (probably by maintaining the hashes in a sorted list to make lookup fast at the cost of injection being a bit slower?)

@jan-janssen, @JNmpi did I miss any key points?

When I read through the posts in this issue I wonder: Are they connected? compatible? In principle the idea of a class database and an instance database seems to be missing in the recent summary. Maybe a concrete example can help. What is the minimal database implementation which would already benefit a specific use case? The fitting of machine learning potentials with different hyper parameters like number of basis functions, different training sets and the validation with tools like calculating energy volume curves. So it's basically a three component workflow and by hashing the different components the connections get more clear.

Thanks @liamhuber for nicely summarizing our discussion. A simple approach to mark which input is regarded as human readable and can serve as an endpoint would be to mark (in addition to simple data types such as strings, int, etc.) certain dataclass definitions as compatible. An example would be a VASP incar datatype, whereas a dataclass storing atomistic structures or trajectories would be rejected. We thus should provide support for pyiron expanded dataclass objects that contain such internal (ontological) information and hints.
I also feel that in most practical use cases, the complexity of node usage decreases with increasing level. For example, a top-level macro node will only have input and output, no cyclic workflows, etc. So I am pretty confident that in most practical cases we will only need the hash-based node storage for "simple" workflows connecting high-level macros, which themselves can be highly complex. So we will not have to worry about cyclicity, multiple outputs going into a single input, etc. I agree with @jan-janssen that real-world examples are crucial, and this is what I intended with the examples in the Jupyter notebook. They helped me a lot to better understand what structures/concepts we need.


Add design time and nullable bool for feature #67

Allow the developer to override the Ctrl+c to copy text in the Caption

No idea what the conflicts are.. I has just done a fresh Catch-up pull before these changes !


account locked when trying to send a video since today

Hello,
It's more a story that an issue, but I'm wondering what is the raisonable limit to respect in order to not get an account locked when sending videos.
Here's what happened to me :
I created a bot using your wonderfull API that does those simple things.

every 3 mn I list all the friends I have with the getFriends() function
every 1mn I list all the friends that added Me with the getAddedFriends() function
if a new friend added me I add them back width the addFriend(). I use a simple array_diff($addedFriends, $friends);
then if this friend sends me a specific keyword message, I add them in a local DB as subscriber to a limited video newsletter.
then, every week day between 5PM and 6PM, I send a 9s 250KB video too all the friends in the DB every 1mn to 2mn (I only have 42 subscribers ATM) using send(), followed by a message using sendMessage().
the video newlestter is supposed to end in a few weeks.

Everything's was fine for 2 weeks, but today, no video were sent, only the message, and I received an account lock email.
I could not add friends anymore, but was still able to send text message.
After some test and unlocking the account on the snapchat website, I can add friends again, but sending a single video that already worked yesterday to my personnal snapchat account only, get the account instantly locked again.
So I guess that the account has been "flagged", and that I'm not able to send videos anymore.
I don't think I did any mistakes in the process, but it's surprising to get locked with this few contacts.
That's not too bad though, the client was already warned it could happen.
Still, I wanted to share this story in case there is in fact a change in the way snapchat handle videos.
Any confirmation of this ?
Just in case, here's what's happening :

REQUEST TO: https://feelinsonice-hrd.appspot.com/ph/upload

Sent Request info: POST /ph/upload HTTP/1.1
User-Agent: Snapchat/<IP_ADDRESS> (HTC One; Android 4.4.2#302626.7#19; gzip)
Host: feelinsonice-hrd.appspot.com
Accept: */*
Accept-Language: en
Accept-Locale: en_US
X-Snapchat-Client-Auth-Token: Bearer eyJhbGciOiJSUzI1NiIsIm...
X-Timestamp: 0
Content-Type: multipart/form-data; boundary=Boundary+0xAbCdEfGbOuNdArY
Content-Length: 185932
Expect: 100-continue

DATA: 185932 byte data
RESULT:

REQUEST TO: https://feelinsonice-hrd.appspot.com/loq/send

Sent Request info: POST /loq/send HTTP/1.1
User-Agent: Snapchat/<IP_ADDRESS> (HTC One; Android 4.4.2#302626.7#19; gzip)
Host: feelinsonice-hrd.appspot.com
Accept: */*
Accept-Language: en
Accept-Locale: en_US
X-Snapchat-Client-Auth-Token: Bearer eyJhbGciOiJSUzI1NiIsIm...
Content-Length: 246
Content-Type: application/x-www-form-urlencoded

DATA: media_id=USERNAME%7E3DE9AA61-5187-001A-0009-0381806D6B62&zipped=0&recipients=%5B%22FRIENDNAME%22%5D&username=USERNAME&time=10&timestamp=1441821114144&features_map=%7B%7D&req_token=6ba0bad9d3ae48e5129b123386d6723d7bb78a03a1451e61b378916035bddf9d
RESULT: {"snap_response":{"success":true}}

Thanks again anyway for this very usefull API !

@plopinou seems fine, make sure you are sending to all your subscribers with only one request, don't do a request per user, that will flag your account.
Remember send() allows you to pass an array of recipients:
	 * @param array $recipients
	 *   An array of recipient usernames.


Adding possibility to clear the selector and the properties clearable, disabled and placeholder.

Hello again,
I did some changes which I needed in my current project and hope that could help you to keep improving :).
Here a resume of the changes:

Added the property 'value' as now it is possible that the selector doesn't have any value at the beginning or that the developar want to change the value fro outside the selector.
Added the property 'placeholder' instead of 'defaultText'. As the datepicker can be empty now, I think it would be useful to make use of the standard html placeholder attribute instead of setting the value with defaulText.
Added the property 'clearable'. This property set if the selector should show a clickable '×' where the user would be able to clean the selecte date*.
Added the property 'disabled'. Gives the developer the possibility to show the datetimepicker but not allowing the use of it.
React.Addons.classSet was also removed in favor of https://github.com/JedWatson/classnames as the old one it's deprecated in last versions of react (https://facebook.github.io/react/docs/class-name-manipulation.html).

*To be able to have selectedDate empty, I had to completely split viewDate and selectedDate along the code.
I think they are all my changes. We needed them really fast and maybe I didn't take long enought time to really check the code. But I hope that you get an idea of the features which I did and the code is helpful.
Again, thank you very much for all your work :)
Regards

I forgot,
I removed the console.log in the onChange, because sometimes I don't need any onChange handler and then the console.log will be shown all the time.
Regards

+1 from us. A datepicker which can have it's selectedDate value emptied is a must-have feature. Any prospects of a merge of alex1712's changes into the quri mainstream?

Is there any progress on this case? Using placeholder instead of defaultText would be better, as in default text the input is not cleared when the user enter value.


Discord bots and documentation

Main Changes

Implementation of Discord bots
Documentation and README file

The result looks like this:

@jamie-54 @pdavid747 @Yuanbwcx I have invited you to our private Discord server. You'll find a link on Teams.
Associated Issues

Closes #142

Tests
It has not been tested on the quadcopter, but I tested on an older Raspberry Pi model 3B I have at home. We should test it on our Raspberry Pi and Rock Pi too.

Tested! Works well.

Looks Good I'll test it tomorrow,
I noticed this branch seems to be 21 commits behind the main branch, will this matter before we merge?

Looks Good I'll test it tomorrow,
I noticed this branch seems to be 21 commits behind the main branch, will this matter before we merge?

It shouldn't be a problem, but I merged dev into this branch, just in case.

Looks Good I'll test it tomorrow,
I noticed this branch seems to be 21 commits behind the main branch, will this matter before we merge?

It shouldn't be a problem, but I merged dev into this branch, just in case.

good stuff


Request to change UnlimitedGPT URL

Hello,
I appreciate mentioning my project in this repository. However I have recently changed my username from sxvxgee to theAbdoSabbagh; thus I would appreciate it if the URL was updated.
Thank you,
abdo

Hi @theAbdoSabbagh. Thank you for submitting the issue. I got it. I will fix it in the next update, so please wait for a while. I will report again once the update is complete.

Hi @theAbdoSabbagh! I changed UnlimitedGPT URL in this repository. If this is OK, please close this issue. Thank you.
https://github.com/taishi-i/awesome-ChatGPT-repositories/blob/7ffa28083bfc5e69aba3d235676c569f00c43fb3/README.md?plain=1#L1174

Hey there!
Thank you for updating the link, I really appreciate it. I was wondering about whether the spot of where my project is placed at is randomly chosen or if it is controlled by something like star count or such, as I would actuallt appreciate it if my project would be raised to the top for more exposure.

Hi @theAbdoSabbagh! No problem! I'm always looking forward to comments like this.
This list adds new repositories based on GitHub stars and recent update histories. Therefore, the information is presented in the order the repositories were added. For now, I am not considering changing the order of this list, but I am thinking about adding star statistics and providing a way to make information easier to find.


Renaming GetGroupItemList to GetGroupSceneItemList

Description:
I had a type error with the "GetGroupItemList" request. After looking around, found out that it is  "GetGroupSceneItemList" for v5
reference: https://docs.google.com/spreadsheets/d/1LfCZrbT8e7cSaKo_TuPDd-CJiptL7RSuo8iE63vMmMs/edit#gid=1402923009

types.ts is autogenerated from obs-websocket provided protocol.json on new releases of obs-websocket. This typo was fixed a week after 5.0.0 release
@tt2468 is 5.0.1 gonna be released soon considering the version bump commit? (If it is then I'd just wait for that since I'd run the update script anyway)

merging as code tagged as 5.0.1 (in a separate branch from master) didn't include the correction

Ah sorry for not responding to this, I knew there was somewhere I got pinged with a question.


Different consumers triggered when message came 1 queue

I have 2 listeners. I want them to listen to 2 separate exchanges. I create events on separate queues. However, when a message comes to 1 queue, 2 exchanges are triggered. How to figure out this problem?

There should be an issue with the binding relationship between exchange and queue


Docker container fails to connect to https://api.wiretrustee.com:443 on Linux ARM

Describe the problem
When launching the agent for Docker, the services fail to connect to the management API
To Reproduce
Steps to reproduce the behavior:

Get an ARM device
Copy the config for docker from the management page
Run said config on ARM device
See errors in log

Expected behavior
The agent should connect to the management API
NetBird status -d output:
If applicable, add the output of the netbird status -d command
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Logs:
# docker run --rm --cap-add=NET_ADMIN -e NB_SETUP_KEY=XXX -v netbird-client:/etc/netbird netbirdio/netbird:latest
2023-05-07T20:37:40Z INFO client/internal/config.go:107: generating new config /etc/netbird/config.json
2023-05-07T20:37:45Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:45Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:45Z WARN client/cmd/root.go:187: retrying Login to the Management service in 888.935035ms due to error context deadline exceeded
2023-05-07T20:37:51Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:51Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:51Z WARN client/cmd/root.go:187: retrying Login to the Management service in 752.025144ms due to error context deadline exceeded
2023-05-07T20:37:56Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2023-05-07T20:37:56Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.wiretrustee.com:443 context deadline exceeded
2023-05-07T20:37:56Z WARN client/cmd/root.go:187: retrying Login to the Management service in 2.552169567s due to error context deadline exceeded

Hello @NekoLuka , sorry for not replying your issue sooner. If the problem still happening, can you run the container with these two environment variables and share the logs?
-e GRPC_GO_LOG_VERBOSITY_LEVEL=99 -e GRPC_GO_LOG_SEVERITY_LEVEL=info


Fix H1 #229401

https://hackerone.com/reports/229401

For consistency I removed the t() from the ->getDisplayName method.

Can I get final approval from @aembler and @mlocati on this?

I'd simply remove the getEntityDisplayDescription / getEntityDisplayName (if they are not in v.8.1)

This looks good to me.

I'm with @mlocati, we should remove those display methods.

Why would we remove them? I thought the original issue was simply that it made no sense to wrap the description in the translation function. But we still have the problem of displaying a sanitized description, and whenever we display a sanitized version of any other string specifically for output, this is how we've done it in the past (with a getDisplay* method.)


Added report views for Jenkins Runs Elapsed Time Report on Roslyn Dashboard

Copied from TFS work item #234583.
•       Added report views below (screenshots of those views can be found in next few slides):
•            “Total Elapsed Time List of all Projects” view
•            “Job Elapsed Time List” view
•            “Job Elapsed Time per build” view
•            The link to Jenkins run page for each build on “Job Elapsed Time per build” view
•            “Elapsed Time Summary” view

Completed


Use path relative to docker-compose.yml file

Description

Relative paths are relative to the compose file, not the execution directory. This was changed incorrectly during the monorepo switchover.
Note: It probably makes more sense to keep this configuration in the infrastructure repository as it's only relevant there and splitting the locations for the deployment configuration makes it more difficult to debug these issues (requiring PRs in multiple places).
Testing Instructions

N/A
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[N/A] I added or updated tests for the changes I made (if applicable).
[N/A] I added or updated documentation (if applicable).
[N/A] I tried running the project locally and verified that there are no visible errors.
[N/A] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Issue exists now to move this file to the infrastructure repository: https://github.com/WordPress/openverse-infrastructure/issues/483

Issue exists now to move this file to the infrastructure repository: https://github.com/WordPress/openverse-infrastructure/issues/483


Dependency over Clang to compile UnQlite

Steps taken/Steps to reproduce

Get a fresh ubuntu 21 LTS instance
Clone the repo
Run tests

Expected Behavior
Tests must run smoothly!
Experienced Instance of the bug
error: failed to run custom build command for `unqlite v1.5.0`

Caused by:
  process didn't exit successfully: `/mnt/s/pyrsia/target/debug/build/unqlite-3f191de97f971bd5/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /home/abhijithganesh/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.55.1/src/lib.rs:1896:31
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
error: command /usr/bin/cargo test --no-run --message-format json-render-diagnostics exited with code 101

$ sudo apt install clang

related to #599


Contributing documentation

At the moment there's no clear documentation on how to contribute to this project.
Here are just some things I think might be worth having

Getting started documentation
How can we work on UI components in this repo? (e.g. a local environment/Storybook?)

I have started writing the contribution guide multiple times, but I keep postponing it trying to add more new features first.
Hopefully next week I will find some time to finish with it.
 You can check it out here: https://github.com/rewindui/rewindui/blob/main/CONTRIBUTING.md
Let me know if it is as clear as it should!


How to transform the super venn diagram to donut plot?

Hi,
I found the super venn diagram very helpful as it can handle data with many sets. Is it possible to have a function to stretch and bend the rectangular plot to a donut plot (circular)?  Sometimes, a donut plot is visually more appealing. It doesn't require any rearrangement of the chunks or rows, maybe just changing from a Cartesian coordinate system to a ploar coordinate system.
Thanks!

Hi, glad you find supervenn useful. I'm not aware of a way of doing it easily and currently have no plans to implement such a feature.


add landing page

https://user-images.githubusercontent.com/17890338/225504152-ae061d79-0163-484f-94ea-aae5b7d68e1c.mov
Notes:

the particles on the background are animated, render better in live, but I can remove it if it's annoying or something else
the form is doing nothing right now

closes #65

Hey Sarah, sorry this has taken so long to review. If I gave you a logo that has transparent background and white text would you prefer updating that to the landing page?

Hopefully this image works? if there's some image quality issues, I'm happy to try to figure out a solution.

Hey Sarah, sorry this has taken so long to review. If I gave you a logo that has transparent background and light text would you prefer updating that to the landing page?

No worries Dawn, Yes it would be better without the background, I would like to try with the red one (as it's the initial one) without the background or grey


add Chase bank

They have some silly rules about restricted special characters, not allowing more than 2 sequential or repeated characters and a max length restriction.  It scares me to think of what kind of backend technical problems required these restrictions.

Chase ignores any case on the password, type it in all caps, all lowercase, doesnt matter.

Chase ignores any case on the password, type it in all caps, all lowercase, doesnt matter.

No way, that's terrible. Can you add that to the PR @nainslie if you can confirm?

I've had conversations online with others about this, and at least other one person attempted their password in multiple cases and claimed it only worked in the correct case.
Personally, I'm able to log in to the Android app and the web interface with any case password. If I'm adding a new device, the "confirm password" prompt with the provided code is case sensitive. Others reported that every prompt was case sensitive.
#179 removed Chase from the list claiming Chase uses case insensitive passwords, but I just tested and am still able to login with any case.

The website at least is case sensitive when it comes to passwords.  Just confirmed.

Thanks. Can you please resolve the conflicts?

Conflicts are resolved and this PR should be up-to-date with upstream now.

Thank you.

I also confirm that the chase.com website ignores case and I think this is bad enough to appear in the list.

This PR was merged - it is on the list.

@duffn The case insensitivity isn't

@remram44 I'll happily review PRs.

Thanks! I was not trying to be difficult, just wanted to confirm the situation since this was mentioned before and removed (and it was discussed here but not included). I opened #236.
Hopefully someone there notices this incredible list and does something about that!


Support for custom time intervals

A user should have the ability to display summaries for a custom time range other than "Today", "Yesterday", etc. presets.
Originally posted by @notarock in https://github.com/muety/wakapi/issues/82#issuecomment-774626058

I could help with this if you point me in the right direction. Also, does this depends on #108 ?


More icons for the warp system

Feature overview
[11:14 PM] cabb99: can we also get fluid and logic icons?

Pr has been merged which implimented the changes, closing this issue.


Refactor logger configuration

Describe:
The centralized configuration of the persistence allows to keep multiple configurations in a single file.
There is a need to refactor the logger to use centralized configurator, so that it uses areg framework to read and configure the connections similar to mcrounter. In addition, the configurator should be able to save configuration file, read and save the scopes as an entries in the configuration.
For details, see issue #256 and #257

Fixed in PR #262


Drop "dirs" dependency

We only use a single function from it, home_dir, but we don't actually need it (see comment in the diff for the explanation).
Reviews are welcome! Will merge in three days if no issues are raised.

Coverage decreased (-0.03%) to 57.116% when pulling a8f23585414e265a29a2aaedcdc6e332583f3d9e on feature/remove-dirs-dependency into 7156b65e8320dbdcce9cbdfed80a85864f2c0067 on master.

I keep force-pushing because Dependabot's PRs keep making this PR unmergeable (conflicts on Cargo.toml). But all of these rebases I'm doing are safe, all I do to resolve the conflicts is git checkout HEAD -- Cargo.lock && cargo check.


Unity-OSVR plugin renders everything flipped in direct mode

-When I try and run the OSVR-Unity plugin based Game example with the the OSVR render manager configured to render in direct mode all the rendering appears flipped on the x-axis.
-Examples like the OpenGL 3D cube and the Direct X render correctly.

In Unity everything appears flipped.
I would like to emphasize that this happens with direct mode enabled.

What display are you using? Display rotation is definied in the RenderManager config:
For HDK2 it should be:
"display": {
	"rotation": 180,
	"bitsPerColor": 8
},

from: https://github.com/OSVR/OSVR-Core/blob/master/apps/sample-configs/osvr_server_config.renderManager.HDKv2.0.direct.json

I am using a custom display where the native mode is potrait so I had to set the rotation to 270 to get direct mode working.
Importantly the RenderManagerPresentD3DExample and SteamVR seems to be working fine. It's only unity that appears flipped.

The Unity creates texture different from native d3d example.
The unity texture is upside-down compare to native d3d.
You could manually revert it in rendermanager config file.

There is a flag parameter to PresentRenderBuffersInternal() called flipInY that the OSVR Unity plugin uses to invert this.  If you are using the OSVR Unity plugin, this should be happening automatically.  If you are writing your own plug-in, you will need to set this flag.  It sounds like you are using an example program that is not behaving properly.  Please post a link to that so we can see which one is not working and fix it.

@LoSealL  Can you point me to the config parameter? In any case wont setting up the render manager config also effect the native application and flip everything there? Is there a way this can be handled in the plugin or Unity scripts?

@russell-taylor I am using the OSVR Unity plugin available in the asset store and not writing my own plugin. Is there a native plugin src code where I can modify the flipInY parameter you mentioned? I could not find it here..
All the samples have the same issue I mentioned and it;s not just a single sample.

If you're seeing it in the stock plug-in, I'm going to have to bump you to @DuFF14 for further help.  I work on RenderManager but he has done the plug-in.

@raunaqatmeta the flipy parameter is here: https://github.com/OSVR/OSVR-Unity-Rendering/blob/master/OsvrRenderingPlugin.cpp#L838
What display config are you using?
Which version of Unity?

@raunaqatmeta the contributors taylor and duff14 has mentioned the parameters in either config files and the codes.
If you just change the settings of Unity Plugin, that won't affect other apps, if you change the setting of rendermanager, however that would affect all the apps

@DuFF14 : I modified the flipInY parameter and set it to false and that fixed the distortion issue. However that caused an issue with the head position rotation data being inverted.
What display config are you using?

I am using the custom display config.

Which version of Unity?

5.4


Update and pin GitHub actions

Update the actions and pin them to their commits. We also allow dependabot to keep them up to date.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.86%. Comparing base (57570dd) to head (7f7725c).
Report is 23 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #216       +/-   ##
===========================================
+ Coverage   26.61%   70.86%   +44.24%
===========================================
  Files          24       26        +2
  Lines        2788     3147      +359
  Branches     1516     1663      +147
===========================================
+ Hits          742     2230     +1488
+ Misses        948      917       -31
+ Partials     1098        0     -1098


PHPUnit integration should support pass by reference

Currently pass-by-reference is not supported with the PHPUnit integration trait PHPMock. I.e. if you want to mock e.g. exec($command, &$output, &$return_var) you can only do this by using PHPMock's API directly (i.e. using Mock).
The goal of this PR is to support pass-by-reference in PHPMock as well. You should be able to do something like this in a test:
public function testExec()
{
    $mock = $this->getFunctionMock(__NAMESPACE__, "exec");
    $mock->expects($this->once())->willReturnCallback(
        function ($command, &$output, &$return_var) {
            $this->assertEquals("foo", $command);
            $output = "failure";
            $return_var = 1;
        }
    );

    exec("foo", $output, $return_var);
    $this->assertEquals("failure", $output);
    $this->assertEquals(1, $return_var);
}

This PR currently does support above mentioned use case. But it fails with using the default value of optional parameters. See PHPMockTest::testPreserveArgumentDefaultValue().
The reason for this is:

There's the namespaced function mock with the signature $arg = 'optionalParameter'.
PHPMock does remove from the call any parameter which equals to "optionalParameter".
The call will be delegated to the mock callback, also with no argument which leads to: MockDelegateFunction::delegate($arg = 'optionalParameter').
And now we're in PHPUnit land, again with the value "optionalParameter" and no one who would remove that parameter again before it hits to the final callback.

The solution: I don't know. My plan is to somehow intercept between 3. and 4. so that I could remove any parameters which equals to "optionalParameter".

Well, I guess I found my entry point into intercepting PHPUnit: PHPUnit_Framework_MockObject_Matcher_Invocation.


Sublevel compatibility

sublevel breaks when you pass it a sqldown db, because it for some reason it runs (db.db || db).get. Sqldown's db.db are Knex instances and dont have .get().
Perhaps this sublevels 'fault', hard to say.

are you wrapping this in a levelup instance? because I think that's where the db.db comes from

to clarify:
var db = SqlDown('pg://localhost')
db.db //=> knexDb
var subDb = sublevel(db)
subDb.get(key, cb) //=> explode

db.db:
level-sublevel
sqldown

I somewhat assumed that Sublevel was meant to work with levelup not leveldown. Aka do
levelup('pg://localhost', {db:SqlDown } )

cc @dominictarr

Ah I see. Doing it as you suggest does work for me.
but it also seems to work after the PR without the levelup constructor :cactus:
either way im satisfied. feel free to close this PR.


add license

https://github.com/sindresorhus/awesome/blob/master/awesome.md#choose-an-appropriate-license

without licence, we can't be listed on awesome repo


Support for multiple fee recipients

The API supports splitting fees when listing:
https://github.com/reservoirprotocol/indexer/issues/1540
And will soon support it for bids: https://github.com/reservoirprotocol/indexer/issues/1596
This package expects a string for these fields however. Not sure if the types will update once the API is updated. Happy to contribute a PR here too (I can imagine some other parts of this package will break once feeRecipient supports both string and string[]).

Hi!
After doing a bit of digging I think this is an issue with the type generation from joi. We use this script to generate the types from the api:
"syncApi": "npx openapi-typescript https://api.reservoir.tools/swagger.json --output ./src/types/api.ts"
I opened up an issue in the openapi-typescript repo to further debug this issue. Are you using reservoir-kit-client or reservoir-kit-ui? If using the client you can just override the listToken parameters and ignore any typescript errors:
    getClient().actions
      .listToken({
        listings: [{
            ...
            //@ts-ignore
            fee: ["2"],
            //@ts-ignore
            feeRecipient: ["0x056F19d211b4ad5539b365956CcCFE2306f7385D"]
        }],
        signer,
        onProgress: (steps: Execute['steps']) => {
            ...
        },
      })

Upgraded some of the fee logic in #67 , also upgraded some of the endpoints there. You can globally set 1 fee/recipient combo. If you need more then you'll have to pass that in manually. Also still waiting on a response from the openapi-tyepscript folks on how we can handle the dynamic types better. Closing this issue for now.


update Travis config; housekeeping

test against Ruby 2.3.0
test against Rails 5
delete unneeded dependencies and files

Nice cleanup. Looks good.


DOM API to be made more message based

One way to look at cycle is as messages flowing in from source drivers and out to sink drivers via pure synchronous (usually) code.
This is really powerful (even classical OOP should have focused on Messages, according to Alan Kay)
Drivers can actually accept (and possibly emit) 2 types of message; Data and Commands
For example the history driver accepts paths '/' or commands {type: go, value: -1}
(This appears to be similar to OS drivers ioctl mechanism)
This results in a flow in the main that is consistent for data and commands. The code sends an output message and later gets async messages in which are dealt with as they occur. Usually with out much need for state to be kept between the 2 effectively independent actions. This is a well establish pattern for async message based systems. It can make tracing transactions a bit harder but logging incoming and outgoing messages helps
DOM
so the point of this issue is (at last) the DOM driver doesn't work this way. the Source is not a stream like other drivers. Rather it is an object that has fluid style operators that you use to make select the stream you want. eg
const intentUsername$ = DOM.select('.username').events('change')
Why not change this so it receives commands like so
{select: '.username', event: 'change'}

A side effect is that all sources can use $ if you so like.

Then how would I get the stream of change events?
At a first glance for me that looks like a step backwards because you move from a declarative way of working with events back to an imperative way. Would there be commands for removing listeners as well?

Then how would I get the stream of change events?

From DOM$ in your sources not from
const intentUsername$ = DOM.select('.username').events('change')

At a first glance for me that looks like a step backwards because you move from a declarative way of working with events back to an imperative way.

Maybe depends on your definition of 'imperative'. To my mind message are declarative You raise a point though, you create the messages on demands, not statically when the main function is executed. Arguably you should only get events in certain circumstances decided by the logic. Currently you have to ignore messages should you not wanted them anymore, or remove the DOM node. Neither of which appear less explicit.

Would there be commands for removing listeners as well?

I should think so. Can we remove the listeners in the current setup?

What about the following: A drag event. I want to listen for mousemove events that happen between the mousedown and the corresponding mouseup event. Would I need send a {... event: 'mousedown'} message to the driver first, then await the result, then send a {... event: 'mousemove'} message?

I don't think there would be any specific response for setting a handler. Perhaps a failure, which is like the current situation, though the impact of failure is different. You'd just start getting the events. So in your example you send the 2 commands and the events come in. Perhaps a message format to support aggregated commands could exists.
This does highlight a key difference though. Currently you use a selector to get each stream, 1 for each selector/event pair. This alternative would mean everything comes in via DOM$ and you'd have to filter to get separate streams.
Another difference is timing. As it is the streams are set up one at a time at the point the main runs. If you send commands the timing is quite different, as each command is processed. May be more complex to handle - may not.

I am not seeing the point at all. But maybe I am missing something entirely.

Just the idea of a consistent messaged based model. I wanted see if it has legs. Perhaps not :)

btw: The dom driver is not the only driver that provides objects with methods instead of raw observables.

Ah - which would those be. I've obviously not used them yet.

Another difference is timing. As it is the streams are set up one at a time at the point the main runs.

Yeah that's kind of the disadvantage from my perspective. Currently with Rx I do not have to care about when exactly the listeners get added (they get attached to the dom when the stream is subscribed and are detached if no longer needed - but that's an implementation detail).
A simple drag-n-drop handling can be build like this:
O.fromEvent('.draggable', 'mousedown').flatMapLatest(() =>
  O.fromEvent(document, 'mousemove').takeUntil(O.fromEvent(document, 'mouseup'))
).map((evt) => ...)

It's a declarative way of working with the events, similar to an SQL query it says: "give me the mouse move events between a mousedown and a mouseup events". But just these 3 lines do not even attach the listeners to the dom. I may happen on subscription and I do not have to care.
Now please show me how I would do that with the API you propose. I would have to send messages to the dom driver in the correct order to tell it to "now please add a listener for the mousedown event", "now please add a mousemove listener", "now please remove the listener you just added". Yeah each message might be an object that can be constructed declaratively but the combination of messages is an imperative sequence.

Ah - which would those be. I've obviously not used them yet.

New version of the http driver has a select method. localstorage driver as a get method for accessing values streams by key.

That's a great example. I was trying to think of why the Rx fluid style could be useful for the DOM. The fromEvent wrapper made it much clearer.  We wrap "almost streams" with the Obs lib creators. Doesn't Rx have a from Event too?  Is good enough for me. I won't close just yet though in case other's have thoughts. Glad I asked as I learnt something :)
So perhaps the fluid model is the one to make more drivers use, when it make sense. I'll look at mine.

New version of the http driver has a select method. localstorage driver as a get method for accessing values streams by key.

Can you point to that local strorage driver. The on I was using accept the key in the factory function.

The fromEvent wrapper made it much clearer. We wrap "almost streams" with the Obs lib creators. Doesn't Rx have a from Event too?

I am not sure I understand what you are saying. The main reason you can not just use the Rx fromEvent constructor directly but have to use DOM.select(...).events(...) is that the element's you are referring to are created at runtime and may even change at runtime. So the DOM driver has to do some additional book keeping in order to provide you with the correct event streams.

Can you point to that local strorage driver. The on I was using accept the key in the factory function.

https://github.com/cyclejs/storage/blob/master/example/app.js#L21-L23

I've no idea how I missed that driver. Is making my head spin a bit.
Thanks for the education!


Add German translation

Including new date formats like dd.mm.YYYY and 23. for 23th etc.
Changes:

Adding translation strings in recurrence.js (day of month & date format for "until ...")
Creating new po/mo files (Dutch/French translations from @bheesink and @ollb were quite helpful as basis for translation)

Further contributions and improvements are always welcome. Keep up the nice work!

Hope the project is not dead, I would really appreciate some feedback.

Definitely not dead, sorry for the slow reply. I'll aim to take a look at
this today.
On 3 Dec 2016 9:03 p.m., "Denis Anuschewski"<EMAIL_ADDRESS>wrote:

Hope the project is not dead, I would really appreciate some feedback.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/django-recurrence/django-recurrence/pull/77#issuecomment-264665372,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_7XSJWilggXaN1yDLwgHLkE6-gh96pks5rEdkigaJpZM4K45Jk
.

Glad to hear that!

Thanks @denisiko! The change looks good, so I've merged it. I'll wait a bit to see if any other pull requests come in over the next few weeks - if not, I'll get a release merged with it.

Nice! Hope someone can use it.

I checked, and we have a few things in 1.4.1 already, so hopefully @emperorcezar can push a release fairly soon (Adam - if it's easier feel free to just grant me access to PyPI so I can do it).


Internal code deprecation API

Proposal for an internal API to deprecate LangChain code.
This PR is heavily based on: https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/_api/deprecation.py
This PR only includes deprecation functionality (no renaming etc.).
Additional functionality can be added on a need basis (e.g., renaming parameters), but best to roll out as an MVP to test this
out.
DeprecationWarnings are ignored by default. We can change the policy for the deprecation warnings, but we'll need to make sure we're not creating noise for users due to internal code invoking deprecated functionality.

Doing minimal work to add type hints to this code, but I don't think we want to spend much effort (it's hard, but not super useful)

Ready for review. It's not attached to anything yet, so little risk from it. I'll roll it out to predict and parse and update code to correctly modify sphinx documentation so we get deprecation warnings in docs

@baskaryan let me know if i can merge

@baskaryan let me know if i can merge

ship it 🚢


Standardize License to BST 3 Clause

RE JOSS Review https://github.com/openjournals/joss-reviews/issues/6943#issuecomment-2263134055

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.69%. Comparing base (cbf8ce8) to head (9573516).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #207   +/-   ##
=======================================
  Coverage   88.69%   88.69%
=======================================
  Files         114      114
  Lines       12817    12817
=======================================
  Hits        11368    11368
  Misses       1449     1449

Flag
Coverage Δ

unittests
88.69% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


code first from existing database through EDM wizard doesn't display Stored procedures or functions.

Code First from existing database through VS EDM wizard doesn't display Stored procedures or functions.
Do we support Stored procedures  from Code first from existing Database ?
EF version:  EF6 (6.1.1)
Database Provider:  SQLServer
IDE:  Visual Studio 2017 15.5.7
Operating system: (e.g. Windows 10)
Thanks,
Radhika.

EF Team Triage: This issue is lacking enough information for us to be able to effectively triage it. In particular, it is missing the following information requested in the new issue template. Can you please provide this information?

Steps to reproduce

Ideally include a complete code listing that we can run to reproduce the issue.
Alternatively, you can provide a project/solution that we can run.
BTW we're not just doing this to be mean :smile:... we get a lot traffic on this project and it takes time to attempt to reproduce an issue based on fragments of information. In addition, our attempt is often unsuccessful as the exact conditions required to hit the issue are often not explicitly included in the code provided. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we ask that folks give us a self-contained way to reproduce an issue.
For a guide on submitting good bug reports, read Painless Bug Tracking.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


eslint --fix runs " Cannot find module 'eslint-config-prettier/vue' " issue

got error on my laravel-vue project
Error:
Error: Cannot find module 'eslint-config-prettier/vue'
Referenced from: C:\xampp\htdocs\numcell-generator\.eslintrc.json
    at ModuleResolver.resolve (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\util\module-resolver.js:72:19)
    at resolve (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:484:28)
    at load (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:556:26)
    at configExtends.reduceRight (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:430:36)
    at Array.reduceRight (<anonymous>)
    at applyExtends (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:408:26)
    at loadFromDisk (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:528:22)
    at Object.load (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:564:20)
    at Config.getLocalConfigHierarchy (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config.js:227:44)
    at Config.getConfigHierarchy (C:\Users\DIKA\AppData\Roaming\npm\node_modules\eslint\lib\config.js:179:43)

.eslintrc.json
{
    "env": {
        "browser": true,
        "commonjs": true,
        "es6": true
    },
    "extends": [
        "eslint:recommended",
        "plugin:vue/recommended",
        "plugin:prettier/recommended",
        "prettier",
        "prettier/vue"
    ],
    "parserOptions": {
        "sourceType": "module"
    },
    "plugins": ["vue", "prettier"],
    "rules": {
        "linebreak-style": [
            "error",
            "windows"
        ],
        "quotes": [
            "error",
            "single"
        ],
        "no-console": "off",
        "no-empty": 0,
        "no-unused-vars": 0,
        "no-undef": 0,
        "no-mixed-spaces-and-tabs": 0
    }
}

package.json
{
    "private": true,
    "scripts": {
        "eslint-check": "eslint --print-config . | eslint-config-prettier-check",
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "npm run development -- --watch",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },
    "devDependencies": {
        "axios": "^0.18",
        "cross-env": "^5.1",
        "eslint": "^5.13.0",
        "eslint-config-airbnb-base": "^13.1.0",
        "eslint-config-standard": "^12.0.0",
        "eslint-plugin-import": "^2.16.0",
        "eslint-plugin-node": "^8.0.1",
        "eslint-plugin-prettier": "^3.0.1",
        "eslint-plugin-promise": "^4.0.1",
        "eslint-plugin-standard": "^4.0.0",
        "eslint-plugin-vue": "^5.1.0",
        "laravel-mix": "^4.0.14",
        "lodash": "^4.17.5",
        "prettier": "1.16.1",
        "prettier-eslint": "^8.8.2",
        "resolve-url-loader": "^2.3.1",
        "sass": "^1.17.0",
        "sass-loader": "^7.1.0",
        "vue": "^2.6.3",
        "vue-template-compiler": "^2.6.3"
    },
    "dependencies": {
        "@vue/eslint-config-prettier": "^4.0.1",
        "ag-grid-community": "^20.0.0",
        "ag-grid-vue": "^20.0.0",
        "moment": "^2.24.0",
        "sweetalert": "^2.1.2",
        "vee-validate": "^2.1.7",
        "vue-infinite-loading": "^2.4.3",
        "vue-multiselect": "^2.1.3",
        "vue-property-decorator": "^7.3.0",
        "vue-router": "^3.0.2",
        "vue-server-renderer": "^2.6.3",
        "vuetify": "^1.5.0",
        "vuex": "^3.1.0"
    },
    "eslintConfig": {
        "root": true,
        "extends": [
            "plugin:vue/essential",
            "plugin:prettier/recommended",
            "eslint:recommended"
        ]
    }
}

Hi! Can you make a repo that I can clone and run to reproduce the issue?

I have the same problem with Error: Cannot find module 'eslint-config-prettier/babel'
.eslintrc.json:
{
  "root": true,
  "env": {
    "browser": true,
    "es6": true,
    "node": true,
    "amd": true
  },
  "parserOptions": {
    "ecmaVersion": 9,
    "sourceType": "module"
  },
  "extends": [
    "eslint:recommended", "prettier", "prettier/babel"
  ],
  "rules": {
    "linebreak-style": [
      "error", "unix"
    ],
    "no-unused-vars": [
      "warn", {
        "vars": "all",
        "args": "after-used",
        "ignoreRestSiblings": false
      }
    ]
  }
}

I'm just having one simple JS file, so it must be easy to reproduce.
package.json:
  "dependencies": {
    "scrollreveal": "^4.0.5"
  },
  "devDependencies": {
    "browser-sync": "^2.26.3",
    "browser-sync-webpack-plugin": "^2.2.2",
    "clean-webpack-plugin": "^1.0.1",
    "cross-env": "^5.2.0",
    "eslint": "^5.14.1",
    "eslint-config-prettier": "^4.0.0",
    "eslint-loader": "^2.1.2",
    "eslint-plugin-vue": "^5.2.2",
    "laravel-mix": "^4.0.14",
    "laravel-mix-eslint-config": "^0.1.7",
    "sass": "^1.17.0",
    "sass-loader": "^7.1.0",
    "vue-template-compiler": "^2.6.6"
  }

Closing due to inactivity. Feel free to leave a comment if you find anything!

sorry for making you waiting till closing this issue
here it is:
https://github.com/handhikadj/eslint-bug-report
i'm using vscode with plugins: eslint, prettier, and vetur.
prettier seems to work
sidenote: do you know why do every time I hit save (CTRL + S), double quote is changed to single quote and vice versa

Thanks! What are the steps to reproduce your issue?

create a hypothetical .js file.
code anything as you like
run eslint --fix [jsfile] on terminal you can see the error

Thanks. I tried to follow your steps, but couldn't reproduce.
~/stuff
❯ git clone git@github.com:handhikadj/eslint-bug-report.git
Cloning into 'eslint-bug-report'...
remote: Enumerating objects: 124, done.
remote: Counting objects: 100% (124/124), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 124 (delta 9), reused 124 (delta 9), pack-reused 0
Receiving objects: 100% (124/124), 347.74 KiB | 749.00 KiB/s, done.
Resolving deltas: 100% (9/9), done.

~/stuff
❯ cd eslint-bug-report/

~/stuff/eslint-bug-report master
❯ npm ci

><EMAIL_ADDRESS>install /home/lydell/stuff/eslint-bug-report/node_modules/fsevents
> node install

added 1181 packages in 8.966s

~/stuff/eslint-bug-report 9s master
❯ touch resources/js/foo.js

~/stuff/eslint-bug-report master %
❯ node_modules/.bin/eslint --fix resources/js/foo.js

~/stuff/eslint-bug-report master %
❯ echo 'console.log( 1+1 )' > resources/js/foo.js

~/stuff/eslint-bug-report master %
❯ node_modules/.bin/eslint --fix resources/js/foo.js

/home/lydell/stuff/eslint-bug-report/resources/js/foo.js
  1:20  error  Delete `␍`  prettier/prettier

✖ 1 problem (1 error, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

could you elaborate, please? so could it be fixed? cause I got some errors like you did

Can you copy and paste from your terminal just like I did, so I can see what you did? Maybe you did some tiny mistake that we can spot?

same errors:

Isn't that what is supposed to happen? Everything is working?

But maybe we should add linebreak-style to eslint-config-prettier, since Prettier has the end-of-line option these days.

so we have to type node_modules/.bin/eslint --fix resources/js/foo.js instead of type eslint --fix resources/js/app.js directly?
by the way, I'm running an issue:

do you have an idea to fix it?

so we have to type node_modules/.bin/eslint --fix resources/js/foo.js instead of type eslint --fix resources/js/app.js directly?

Yes, you have installed ESLint and all its plugin locally. When you run just eslint foo.js on the command line, you run another ESLint that you must have installed globally at some point.
Quoting https://eslint.org/docs/user-guide/configuring:

Note: Due to the behavior of Node’s require function, a globally-installed instance of ESLint can only use globally-installed ESLint plugins, and locally-installed version can only use locally-installed plugins. Mixing local and global plugins is not supported.

This is a common mistake when using ESLint, and has nothing to do with eslint-config-prettier.
Here are a couple of ways of running the local ESLint:

node_modules/.bin/eslint foo.js
npx eslint foo.js
Add { "scripts": { "eslint": "eslint" } } to package.json and npm run eslint -- foo.js. (Alternatively: { "scripts": { "eslint": "eslint whatever" } } and just npm run eslint).
Learn about $PATH and do clever stuff to it

do you have an idea to fix it?

Yes, remove the quotes rule from your .eslintrc.js – it's not needed. Also, remove linebreak-style and use Prettier's end-of-line instead.

Some other tips:

Always add steps to reproduce from the beginning to avoid wasting people's time :)
You can select text in most terminals using the mouse and then pressing ctrl+shift+c or cmd+shift+c (or right-click and select Copy) to copy output as text.

okay, thank you @lydell . you are wonderful person. it works at its fullest now.


NthChild and NthLastChild selectors support

What does the pull request do?
<Style Selector="ListBox ListBoxItem:nth-child(2n)">
  <Setter Property="Foreground" Value="Blue" />
</Style>

How was the solution implemented (if it's not obvious)?
New selector and IChildIndexProvider interface to be able to read item position/total count.
Currently this implementation has two problems:

~When item is removed (virtualization or manually from Panel) indexing is going broken. Selector activator should be created and IChildIndexProvider should be extended to observable.~ Fixed
IChildIndexProvider can't be used in the future for another selector like nth-of-type or nth-child(2n of .class). Filtered by type or class list will have different indexes comparing with original list.

Checklist

[x] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[x] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
None so far
Obsoletions / Deprecations
None
Fixed issues
Closes https://github.com/AvaloniaUI/Avalonia/issues/6262

Also, I always see this error when I work in VS with this project, in Rider this selector is not highlighted simply. Do you have any ideas why this may happen? Also, I think we will need to request from the Rider team to add support of this selector in their product.


remove unnecessary line

sorry about this! Its for a feature I was toying with as its pretty handy but not ready.

I didn't look at your code in too much details, but if I understand this correctly you were trying to listen to the realtime events of PocketBase to automatically refresh the content when a entry changes, right?
Since this will only work in dev mode and Astro restricts content collections to only load at built time, this might be a nice addition for the toolbar in the astro-integration-pocketbase instead. 🤔

@pawcoding Yes, that's exactly right! I'm leveraging PocketBase's real-time events to refresh content automatically. I hadn’t thought about the integration initially, but now that you mention it, I completely agree — it makes a lot of sense! I’m really excited to see how this idea unfolds, and I’m glad you’ve already started working on it and opened an issue in #1. Looking forward to following its progress. I’d be happy to help if needed — just let me know!

I haven't started working on it yet, just looked into how this feature could be structured and opened the issue. If you have time you can already start with an implementation and I'll take a look later this week.


Case-insensitive alphabetization

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[x] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
It always surprises me when the alphabetization of notes in the Tree View sorts capital letters before lowercase letters. I would expect the tree view's alphabetization to be case-insensitive.

As the screenshot above shows, the current alphabetization logic will sort ALPHABET before Aack or App.
This becomes a problem when I want notes to be sorted purely by the alphabet, while also having note whose titles are abbreviations or all-caps.
For instance, if I wanted to have a note about De La Soul and one about DMX in a published website, right now DMX would be sorted above De La Soul. Similarly, NYU would be sorted above New School in a set of notes about universities in New York City.
Describe the solution you'd like
I think that the alphabetization logic should entirely ignore capitalization. It's excellent that the tree view will display a note's title as it's written in the YAML header, but I'd prefer that it not affect the sort order.
Describe alternatives you've considered
Alternately, perhaps there could be a setting that allows users to switch between the current behavior and case-insensitive alphabetization.
For a very small set of notes, nav_order could be used to change the order how the notes are displayed. However, I think this would be cumbersome to use just to emulate case-insensitive alphabetization.
Additional context
N/A

@ryan-p-randall - so do you prefer DMX or De La Soul?
Jokes aside - a fix for this should go out in the next release or two: https://github.com/dendronhq/dendron/pull/3420

It looks like case-insensitive alphabetization is working, as of v0.109.1!
Now with title: DMX, that note sorts after notes with title: De La Soul and title: Del the Funky Homosapien.

Thanks everyone!


Add a wrapping_abs function to all signed integer types.

Rendered

Can you name a use case?  It's hard for me to picture when it would be useful to receive a value of a different type when you want the absolute value of a number.
An alternative could be checked_abs (which would use checked_neg for negatives).

Obtaining the absolute value is going to always result in a positive number, so why would you not want to store that in an unsigned type? In any case, one example where this is useful for converting a number to a sign-and-magnitude representation:
(signed.is_negative(),signed.wrapping_abs() as u64)

The alternative you mention is not really an alternative but it is something that could be added to this RFC.

Added checked_abs and overflowing_abs to the RFC. I didn't add saturating_abs since there is no saturating_neg.

Rendered link seems to be broken

earlier proposal for reference: Change abs() to return unsigned integers

Rendered link seems to be broken

Fixed

Do all these have concrete use cases or are they just here to provide symmetry to other numeric methods? ISTM like checked_abs is the only one that really matters.

See above for a usecase for wrapping. I don't know of one for overflowing.

🔔 This RFC is now entering its week-long final comment period 🔔
The libs team is leaning towards merging this as is, and we'd also be willing to just take a PR for this as well if you'd prefer to take that route @jethrogb :)

https://github.com/rust-lang/rust/pull/35058

Thanks @jethrogb! In that case I'll just close this in favor of that.


both proxy and admin log do not need pass in correlation id explicitly

Hi @spikelu2016 , this PR changes all the correlation id log related code, both admin and proxy.
Now the sub logger with correlation id is stored inside the http request context.
Whenever we can get it from the http request context whenever we need it, especially when we are in some deeper place.
In such cases, we need to pass the http request context as the parameter to this "deeper place".
Please feel free to let me know if you have any comments.

unused cid can still be found across many functions. you can find all of them using vscode search. removing all of them would be great

all cids are removed.


train with multi-class, only output one-class in inferencing

Multi-class of data are used in training, but only one class result will be produced in inferencing, and the other categories are all empty.
Why is this happening?
Thank you in advance.

Multi-class of data are used in training, but only one class result will be produced in inferencing, and the other categories are all empty. Why is this happening? Thank you in advance.

Did u get an answer for this?


Avoid breaking when DBnomics API upgrades

Hi @dreameater89 !
I am a developer of the DBnomics team. We already discussed here.
I just wanted to recommend that you put the version number of the web API of DBnomics in your apipath variable (at this line if I'm not mistaken). Otherwise, when we'll release a major version of DBnomics API, suddently the users of your Stata library will face errors, because URL paths, query-string parameters or JSON responses will have changed.
It turns out that we are preparing a v22 in pre-production, available at https://api.dev.nomics.world/v22/ (documentation available here). You could also start a new branch to adapt your code to the new version. We're going to start updating the Python module for DBnomics in a couple of days. After that we'll be able to publish a migration guide.

Hello @cbenz !
Many thanks for this! This is now fixed in version 1.2.0 of the command, which now elicits the API version and should be robust to API version changes. And by the way, the command is now (finally) compliant with API v22.


New features

Pwangotchi (handshake fishing)
Wardriving with and without GPS
DPWO

Wow, those will be great addition. Here in Argentina Marauder price is prohibitive, but this project is very affordable. Cheers!

@Teapot321 v1.1.0 coming soon

@Teapot321 done


Moved statistics to seperate section and made some clarifications, when to send device attributes.

Just a proposal, feel free to improve (or decline..).

I like the idea but then you might want to move the $stats/interval to the last row and add a note like "Interval in seconds at which the $stats/ subtopics are refreshed (see below)"

I've left two more comments. Looks good so far ;)

I've been offline for a while (almost complete disconnect during holidays in "la douce France"). But this almost completely fits what I was thinking in #17 . I would just add a note to the table that it is exemplary and it is implementation-dependant. (as the "MUST be one of these" is left away).
Also, I would change They MUST be sent every $stats/interval seconds. to All attributes MUST be sent every $stats/interval seconds.

Last comment: The example already includes interval and uptime but no others. Maybe move the example behind the stats section and add 1-2 of the new stats topics?

Maybe its a good idea to use a collaborative editor for further improvements.
I uploaded the current revision (of this PR) to https://hackmd.io/s/HJtf_lqDb .
However, I think it would be good to merge first and than start to use hackmd.io for collaborative editing.


Adding a pointer to the icons

I want to add the pointer to the icons as it doesn't look nice without it in the footer section

I want to add the pointer to the icons as it doesn't look nice without it in the footer section
I am already working on this #4


New Machine requirement: Ubuntu 22.04 (Static Docker)

I need to request a new machine:

New machine operating system (e.g. linux/windows/macos/solaris/aix): Ubuntu Linux 22.04
New machine architecture (e.g. x64/aarch64/arm32/ppc64/ppc64le/sparc): x64 and aarch64 for now)
Provider (leave blank if it does not matter):
Desired usage: Testing on latest Ubuntu LTS
Any unusual specification/setup required:
How many of them are required: 1 per architecture

Please explain what this machine is needed for: Testing on latst ubuntu LTS (released today)

working on this one


Billboard using alignedAxis not aligned with the path direction in 2D mode.

Using the CZML sandcastle(https://sandcastle.cesium.com/?src=CZML Path.html), I set
alignedAxis: {
        velocityReference: '#position'
}

to billboard to make billboard's direction following the path direction.
In 3D mode the result seems ok, but in 2D mode the billboard's heading is not aligned with the path's direction.
The same scenerios in 2D and 3D mode are as below:
2D:

3D:

Sandcastle example:
https://sandcastle.cesium.com/?src=CZML Path.html
Browser:
Chrome  108.0.5359.125
Operating System:
Windows 11

I'm getting what looks like correct results in both 3D and 2D if I replace the following line in BillboardCollectionVS.glsl:
            vec4 projectedAlignedAxis = czm_modelViewProjection * vec4(alignedAxis, 0.0);

with
            vec4 projectedAlignedAxis = czm_modelView3D * vec4(alignedAxis, 0.0);

czm_modelView3D should account for differences in the camera between 3D and 2D mode.


Suggestion: Add "Feedback / Submit new issue" button on top bar

I think a simple link to the solid-playground repo would probably suffice. The repo README can have all the necessary links (Issues for bug reports, link to Solid).
I feel like the GitHub mark  would be the most natural icon for this.  I see two alternatives:

If we stick to solid-heroicons, we could use the information-circle icon:

If we switch to solid-icons, we can use another icon library that provides the GitHub mark:

If I can get a vote on the preferred approach, I can work on a PR.

If nobody is working on it, then you can check the pull request I made #143


Error with addListener and removeListeners on Android

Hello,
I have recently installed this module on my React Native project and it works perfectly fine on iOS, but on Android I get a never-ending stream of the following two warning messages which freezes the app completely:
WARN  `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.
WARN  `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.

Any help would be greatly appreciated.
RN version: 0.67.1
react-native-sensors version: 7.3.3
Android version: 9

Fixed, was incorrectly installed

@AidenForrest Can I know how you fix it ? I have the same error after a basic install :
npm install react-native-sensors --save
react-native link react-native-sensors

@wibimaster I don’t think I ever managed to completely fix it but a work around was disabling the errors by either ignoring them by using:
import { LogBox } from 'react-native'; LogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message
Or another method that prevented the freezing was running the Android app as release rather than debug.
Hope one of these workarounds works for you.

This is helpful: https://stackoverflow.com/questions/69538962/new-nativeeventemitter-was-called-with-a-non-null-argument-without-the-requir
A pull request like this might fix this: https://github.com/microsoft/appcenter-sdk-react-native/pull/942/files

Same problem

Instead of ignoring all warnings, probably the best approach will be add on index.js
import { LogBox } from 'react-native';
LogBox.ignoreLogs(['new NativeEventEmitter']);
However, it is not a fix, the future library should support these warnings, this happens in new versions of RN like 0.70.2

Same problem for me, any updates?
"react-native-sensors": "7.3.5", "react-native": "0.67.4",


Future of possible stale syno.js base project

ioBroker.synology is based  on syno.js, located at https://github.com/kwent/syno. This repo did not get real updates since a longer timeframe (last non dependa bot commit from Oct 2020, last commit not related to dependencies longer ago).
I've open an issue questioning whether a official support of DSM 7 is planned:
https://github.com/kwent/syno/issues/72
This isse has not yet been answered / processed. In case syno.js is really dead we should discuss whether the code should be moved into ioBroker.synology all together and expanded to support DSM 7.

Might be a problem:
kent/syno seems to be written using coffee script (?). To be checked who could manage this or rewrite it using js.

a) in fact download the npm package and you will have "compiled" javascript ... this could be a basis for a rewite and restructing, but yes gets then a bigger topic
b) Is just a "mid prio" issue ... yes if rewritten then can be exchanged, but still works fine

AttentioN.
According to package.json the syno module is loaded from meisterTR github (!)
  "dependencies": {
    "@iobroker/adapter-core": "^2.6.6",
    "moment": "^2.29.4",
    "simple-ssh": "^1.1.0",
    "syno": "git+https://github.com/MeisterTR/syno"
  },


UDP FD handle is not released

Actions I've taken before I'm here

[X] I've thoroughly read the documentations on this issue but still have no clue.
[X] I've searched the Github Issues but didn't find any duplicate issues that have been resolved.
[X] I've searched the internet for this issue but didn't find anything helpful.

What happened?
srv code
err = gnet.Run(srv, yml.Bind, 			gnet.WithLoadBalancing(gnet.LeastConnections), 			gnet.WithNumEventLoop(yml.Workers), 		)
traffic
func (srv *Server) OnTraffic(c gnet.Conn) gnet.Action { 	srv.incr() 	body, err := c.Next(-1) 	if err != nil { 		return gnet.Close 	} 	srv.handle(body, c) 	return gnet.Close }
result

Major version of gnet
v2
Specific version of gnet
v2.5.0
Operating system
Linux
OS version
Linux 3.10.0-862.el7.x86_64 x86_64
Go version
go version go1.22.2 linux/amd64
Relevant log output
时间长了 回到too many open files 报错

Code snippets (optional)
# srv code
`
err = gnet.Run(srv, yml.Bind,
			gnet.WithLoadBalancing(gnet.LeastConnections),
			gnet.WithNumEventLoop(yml.Workers),
		)
`

# traffic
`
func (srv *Server) OnTraffic(c gnet.Conn) gnet.Action {
	srv.incr()
	body, err := c.Next(-1)
	if err != nil {
		return gnet.Close
	}
	srv.handle(body, c)
	return gnet.Close
}
`

How to Reproduce
srv code
err = gnet.Run(srv, yml.Bind, 			gnet.WithLoadBalancing(gnet.LeastConnections), 			gnet.WithNumEventLoop(yml.Workers), 		)
traffic
func (srv *Server) OnTraffic(c gnet.Conn) gnet.Action { 	srv.incr() 	body, err := c.Next(-1) 	if err != nil { 		return gnet.Close 	} 	srv.handle(body, c) 	return gnet.Close }
Does this issue reproduce with the latest release?
It can reproduce with the latest release

I don't think these file descriptors were created by gnet because a UDP server typically does not create a new file descriptor every time it receives a datagram. A UDP server creates a single file descriptor for the socket when it's initialized. This file descriptor is then used for both sending and receiving datagrams throughout the server's lifetime.
You need to examine your own codebase to ensure that all file descriptors created by youself will be closed when not needed.


Print something less scary / more helpful as a default eval response for Aniseed / Fennel

This commit https://github.com/Olical/conjure/commit/1945bcad14111ee68c07454ddf72fccddd9fbdad#commitcomment-81031952 and this issue https://github.com/Olical/conjure/issues/392 tried to fix a lie but introduced confusion.
When you eval the module macro etc it actually returns ZERO results, nothing, nada, not even a single nil. I made the code lie to you and say it returned nil because it made the most sense in this context but wasn't quite true. I changed that to instead print a warning to maybe help you realise you have to restart your REPL if it's hung / died. That has created more confusion!
So what should it be? A comment that just says ; No result? Back to nil? No idea!

I think there is a hard but correct route. That is to hook into fennel's compiler to find out whether the input is completed or the compiler is craving for more input. Or maybe we could file an issue at fennel's site if that's super hacky/impossible.

https://git.sr.ht/~technomancy/fennel/tree/main/item/src/fennel/repl.fnl#L14
So here's how they deal with incomplete inputs;
We can also check if the input is complete and reject incomplete inputs.

Great job Olical!


2024-11-13_01-35-02_master-next_aws-cli

Automatically created.

Backport failed for kirkstone-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin kirkstone-next
git worktree add -d .worktree/backport-10319-to-kirkstone-next origin/kirkstone-next
cd .worktree/backport-10319-to-kirkstone-next
git switch --create backport-10319-to-kirkstone-next
git cherry-pick -x 3c0cba34e849c58f7ccdabb2e61c6a16a2220cad

Backport failed for scarthgap-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin scarthgap-next
git worktree add -d .worktree/backport-10319-to-scarthgap-next origin/scarthgap-next
cd .worktree/backport-10319-to-scarthgap-next
git switch --create backport-10319-to-scarthgap-next
git cherry-pick -x 3c0cba34e849c58f7ccdabb2e61c6a16a2220cad

Backport failed for styhead-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin styhead-next
git worktree add -d .worktree/backport-10319-to-styhead-next origin/styhead-next
cd .worktree/backport-10319-to-styhead-next
git switch --create backport-10319-to-styhead-next
git cherry-pick -x 3c0cba34e849c58f7ccdabb2e61c6a16a2220cad


Define which blockchain will be used and deploy contracts (Ethereum, L2, L3 ...)

The highest contenders IMO are:

Ethereum Sepolia (as L2)
Arbitrum Sepolia (as L3)
Optimism Sepolia (as L3)

By default, I think I would go for Ethereum Sepolia.
Is there a reason to prefer Arbitrum or Optimism?
@endersonmaia @zzzzhui @claudioantonio @felipeargento @tuler

Hey @guidanoli !
Given that, to the mainnet deployment, we will probably prefer deploying BugLess on a L2 to take benefit of lower gas prices, maybe we could already starting testing it on top of a L2.
But no objection if you guys prefer to first deploy it to Ethereum Sepolia. 😉

I created an Alchemy account and two Ethereum Sepolia apps (see #33).
I'll need help setting up the application contracts so I can configure the node.

Application deployed to sepolia.
https://sepolia.cartesiscan.io/applications/0x5c7a258c4b833b31d51f105f8deb5a5233156cf9


[zh]Urls is incorrect. File: "tasks/administer-cluster/network-policy-provider/cilium-network-policy/"

Signed-off-by: yuandongx<EMAIL_ADDRESS>

/assign @tengqm

/assign @tengqm

/lgtm
/approve

/lgtm
/approve


How to handle basic authentication dialog that is asking for user name and password

How to handle basic authentication dialog that is asking for user name and password

I believe you are talking about the dialog box that the browsers display to handle basic auth. You can avoid those dialogs by specifying credentials in the URL of the page when you are using the NavigateTo keyword. For example:
- description: Load page
  action: org.getopentest.selenium.NavigateTo
  args:
    url<EMAIL_ADDRESS>

@adrianth is this something that should be added to the OpenTest documentation? It currently doesn't indicate that passing in username and password is an option. https://getopentest.org/reference/selenium-keywords.html#navigateto

passing the user name and password is not working. is there any alternative?

error:
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for alert to be present (tried for 5 second(s) with 500 milliseconds interval)

Basic auth is not a feature of OpenTest. This is defined in the http spec.
https://en.wikipedia.org/wiki/Basic_access_authentication?wprov=sfla1
David
using voice to text. excuse any typos
On Tue, Sep 22, 2020, 5:08 PM Sam E. Lawrence<EMAIL_ADDRESS>wrote:

@adrianth https://github.com/adrianth is this something that should be
added to the OpenTest documentation? It currently doesn't indicate that
passing in username and password is an option.
https://getopentest.org/reference/selenium-keywords.html#navigateto
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mcdcorp/opentest/issues/386#issuecomment-697008383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABYHQGFWUIFY2Q2LK3P5PDSHEN6PANCNFSM4RWIJV5Q
.


fix: typo

this so-small PR is about typo correction. hope this help this awesome open-source project 🙏🏻

thank you!


NativeScript (Vue) 8 No such module 'Stripe' in Xcode

I am receive the following error when trying to run the app in Xcode:
No such module 'Stripe'
Nativescript 8 using Vue and used ns plugin add @triniwiz/nativescript-stripe to pull it in. It compiles using the command line ns run ios --no-hmr but hitting the play button in Xcode breaks.
It's coming from the Stripe class that's imported but doesn't exist, any ideas?

@seivad Try setting IPHONEOS_DEPLOYMENT_TARGET = 11.0 in your build.xcconfig, that fixed it for me

@seivad Did setting IPHONEOS_DEPLOYMENT_TARGET work for you? I tried that and still have the same issue with the latest version.

Please ensure the .xcworkspace is opened and not .xcodeproj