text:
multi-selection with search

I'm confused on whether or not multi-selection state should/can be preserved while going back and forth between multi-select and search view.  the already selected items seem to get overwritten if the search results overlap (might be logical as the wiki states its a copy... but then again it states it makes a copy on filter).  I've checked all the examples but there's no such use case.   or its multi-select or its search.
use case:  have a list of items.   select 2 items from the list, go to searchview, search. select some more items based on the results (or even un-select already existing) while preserving the selection state.
thanks.

As far as I tested, the issue is that the selections are stored as positions which are not globally relevant.  Do you think there is a way around this with a reasonable amount of time?

@jcuypers, positions are recalculated everytime an item is inserted/removed. In case of filter that should happen all the times.
If you enableLogs in Verbose, you should see "AdjustedSelected(%s)=%s", items, selectedPositions). Don't you?
Anyway, I won't change the method to track the selection, it is complicated and I want to publish the 5.0 soon. The other method is to store the selection status into the item: it's a big change and I might do it for the next major version with minimum Java 8 and API 24.

@davideas   So you are saying that with adjustselected this should work?  In the examples it doesn't.
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/DatabaseService: Database Type: ENDLESS_SCROLLING
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Running version 5.0.0-SNAPSHOT
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Initialized with StableIds=false
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Adding listener class MainActivity as:
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnItemClickListener
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnItemLongClickListener
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnItemMoveListener
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnItemSwipeListener
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set animateToLimit=10000
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set notifyMoveOfFilteredItems=false
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set notifyChangeOfUnfilteredItems=true
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set animationInitialDelay=100
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set animationOnForwardScrolling=true
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set animationOnReverseScrolling=true
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Set onlyEntryAnimation=true
02-26 12:44:40.749 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Detached Adapter from RecyclerView
02-26 12:44:40.750 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Attached Adapter to RecyclerView
02-26 12:44:40.751 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Adding listener class EmptyViewHelper as:
02-26 12:44:40.751 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnUpdateListener
02-26 12:44:40.752 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnFilterListener
02-26 12:44:40.752 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Adding listener class EmptyViewHelper as:
02-26 12:44:40.753 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnUpdateListener
02-26 12:44:40.763 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: - OnFilterListener
02-26 12:44:40.763 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Mode MULTI enabled
02-26 12:44:40.769 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Mapped viewType 2131427421 from SimpleItem
02-26 12:44:40.771 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=0
02-26 12:44:40.772 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=-1 mMaxChildViews=0
02-26 12:44:40.772 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.772 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[0]=200 FirstVisible=-1 LastVisible=-1 LastAnimated=-1 VisibleItems=0 ChildCount=0 MaxChildCount=0
02-26 12:44:40.772 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 0
02-26 12:44:40.775 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=1
02-26 12:44:40.776 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=0 mMaxChildViews=1
02-26 12:44:40.776 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.776 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[1]=200 FirstVisible=0 LastVisible=0 LastAnimated=0 VisibleItems=0 ChildCount=1 MaxChildCount=1
02-26 12:44:40.776 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 1
02-26 12:44:40.779 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=2
02-26 12:44:40.779 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=1 mMaxChildViews=2
02-26 12:44:40.779 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.779 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[2]=300 FirstVisible=0 LastVisible=1 LastAnimated=1 VisibleItems=1 ChildCount=2 MaxChildCount=2
02-26 12:44:40.779 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 2
02-26 12:44:40.782 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=3
02-26 12:44:40.783 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=2 mMaxChildViews=3
02-26 12:44:40.783 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.783 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[3]=400 FirstVisible=0 LastVisible=2 LastAnimated=2 VisibleItems=2 ChildCount=3 MaxChildCount=3
02-26 12:44:40.783 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 3
02-26 12:44:40.790 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=4
02-26 12:44:40.791 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=3 mMaxChildViews=4
02-26 12:44:40.791 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.792 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[4]=500 FirstVisible=0 LastVisible=3 LastAnimated=3 VisibleItems=3 ChildCount=4 MaxChildCount=4
02-26 12:44:40.792 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 4
02-26 12:44:40.800 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=5
02-26 12:44:40.800 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=4 mMaxChildViews=5
02-26 12:44:40.800 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.800 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[5]=600 FirstVisible=0 LastVisible=4 LastAnimated=4 VisibleItems=4 ChildCount=5 MaxChildCount=5
02-26 12:44:40.800 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 5
02-26 12:44:40.804 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=6
02-26 12:44:40.805 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=true isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=5 mMaxChildViews=6
02-26 12:44:40.805 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:44:40.805 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[6]=700 FirstVisible=0 LastVisible=5 LastAnimated=5 VisibleItems=5 ChildCount=6 MaxChildCount=6
02-26 12:44:40.805 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 6
02-26 12:45:00.573 8592-8592/eu.davidea.samples.flexibleadapter V/FlexibleViewHolder: onClick on position 1 mode=MULTI
02-26 12:45:00.574 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: toggleSelection added on position 1, current [1]
02-26 12:45:00.574 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: Last activated position -1
02-26 12:45:00.660 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:00.664 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:00.724 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:00.765 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:02.577 8592-8632/eu.davidea.samples.flexibleadapter E/Surface: getSlotFromBufferLocked: unknown buffer: 0x7f5ef66ece60
02-26 12:45:03.468 8592-8592/eu.davidea.samples.flexibleadapter V/FlexibleViewHolder: onClick on position 2 mode=MULTI
02-26 12:45:03.468 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: toggleSelection added on position 2, current [1, 2]
02-26 12:45:03.468 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: Last activated position -1
02-26 12:45:03.563 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:03.565 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:03.620 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:03.665 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:04.499 8592-8592/eu.davidea.samples.flexibleadapter V/FlexibleViewHolder: onClick on position 3 mode=MULTI
02-26 12:45:04.499 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: toggleSelection added on position 3, current [1, 2, 3]
02-26 12:45:04.500 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: Last activated position -1
02-26 12:45:05.471 8592-8632/eu.davidea.samples.flexibleadapter E/Surface: getSlotFromBufferLocked: unknown buffer: 0x7f5f01f39040
02-26 12:45:05.516 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:06.088 8592-8632/eu.davidea.samples.flexibleadapter D/EGL_emulation: eglMakeCurrent: 0x7f5f020a1fa0: ver 2 0 (tinfo 0x7f5f020bb240)
02-26 12:45:06.200 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: onQueryTextChange newText:
02-26 12:45:07.472 8592-8632/eu.davidea.samples.flexibleadapter E/Surface: getSlotFromBufferLocked: unknown buffer: 0x7f5ef66ece60
02-26 12:45:07.733 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: onQueryTextChange newText: 3
02-26 12:45:08.034 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: doInBackground - started FILTER
02-26 12:45:08.034 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: filterItems with filterEntity="3"
02-26 12:45:08.035 8592-8637/eu.davidea.samples.flexibleadapter I/Custom: item filtered and isselected : SimpleItem[id=I3, title=Simple Item 3] 2
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: Animate changes! oldSize=16 newSize=2 limit=10000
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=15 item=SimpleItem[id=I16, title=Simple Item 16]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=14 item=SimpleItem[id=I15, title=Simple Item 15]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=13 item=SimpleItem[id=I14, title=Simple Item 14]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=11 item=SimpleItem[id=I12, title=Simple Item 12]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=10 item=SimpleItem[id=I11, title=Simple Item 11]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=9 item=SimpleItem[id=I10, title=Simple Item 10]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=8 item=SimpleItem[id=I9, title=Simple Item 9]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=7 item=SimpleItem[id=I8, title=Simple Item 8]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=6 item=SimpleItem[id=I7, title=Simple Item 7]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=5 item=SimpleItem[id=I6, title=Simple Item 6]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=4 item=SimpleItem[id=I5, title=Simple Item 5]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=3 item=SimpleItem[id=I4, title=Simple Item 4]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=1 item=SimpleItem[id=I2, title=Simple Item 2]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateRemovals remove position=0 item=SimpleItem[id=I1, title=Simple Item 1]
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateModifications total mod=2
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateRemovals total out=14
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateAdditions total new=0
02-26 12:45:08.037 8592-8637/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: doInBackground - ended FILTER
02-26 12:45:08.039 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Performing 16 notifications
02-26 12:45:08.039 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(-1)=[1, 2, 3]
02-26 12:45:08.039 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(-1)=[1, 2]
02-26 12:45:08.039 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(-1)=[0, 1]
02-26 12:45:08.039 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Animate changes DONE in 5ms
02-26 12:45:08.050 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=1
02-26 12:45:08.051 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=6 mMaxChildViews=6
02-26 12:45:08.054 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=0
02-26 12:45:08.056 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=1 mMaxChildViews=6
02-26 12:45:13.565 8592-8592/eu.davidea.samples.flexibleadapter D/MainActivity: onQueryTextChange newText:
02-26 12:45:13.866 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: doInBackground - started FILTER
02-26 12:45:13.867 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: filterItems with filterEntity=""
02-26 12:45:13.867 8592-8638/eu.davidea.samples.flexibleadapter I/Custom: Empty filter
02-26 12:45:13.867 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: Animate changes! oldSize=2 newSize=16 limit=10000
02-26 12:45:13.867 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateModifications total mod=2
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateRemovals total out=0
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=0 item=SimpleItem[id=I1, title=Simple Item 1]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=1 item=SimpleItem[id=I2, title=Simple Item 2]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=3 item=SimpleItem[id=I4, title=Simple Item 4]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=4 item=SimpleItem[id=I5, title=Simple Item 5]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=5 item=SimpleItem[id=I6, title=Simple Item 6]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=6 item=SimpleItem[id=I7, title=Simple Item 7]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=7 item=SimpleItem[id=I8, title=Simple Item 8]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=8 item=SimpleItem[id=I9, title=Simple Item 9]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=9 item=SimpleItem[id=I10, title=Simple Item 10]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=10 item=SimpleItem[id=I11, title=Simple Item 11]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=11 item=SimpleItem[id=I12, title=Simple Item 12]
02-26 12:45:13.868 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=13 item=SimpleItem[id=I14, title=Simple Item 14]
02-26 12:45:13.869 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=14 item=SimpleItem[id=I15, title=Simple Item 15]
02-26 12:45:13.869 8592-8638/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: calculateAdditions add position=15 item=SimpleItem[id=I16, title=Simple Item 16]
02-26 12:45:13.869 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: calculateAdditions total new=14
02-26 12:45:13.869 8592-8638/eu.davidea.samples.flexibleadapter D/AsyncFilterAdapter: doInBackground - ended FILTER
02-26 12:45:13.869 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Performing 16 notifications
02-26 12:45:13.869 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[1, 2]
02-26 12:45:13.869 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 3]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 4]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 5]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 6]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 7]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 8]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 9]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 10]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 11]
02-26 12:45:13.870 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: AdjustedSelected(+1)=[2, 12]
02-26 12:45:13.871 8592-8592/eu.davidea.samples.flexibleadapter I/AsyncFilterAdapter: Animate changes DONE in 5ms
02-26 12:45:13.878 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=2
02-26 12:45:13.878 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=0 mMaxChildViews=6
02-26 12:45:13.878 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=3
02-26 12:45:13.879 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=2 mMaxChildViews=6
02-26 12:45:13.880 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=4
02-26 12:45:13.880 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=3 mMaxChildViews=6
02-26 12:45:13.880 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=5
02-26 12:45:13.881 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=true mLastAnimatedPosition=4 mMaxChildViews=6
02-26 12:45:18.337 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=1
02-26 12:45:18.339 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=5 mMaxChildViews=6
02-26 12:45:18.339 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:45:18.339 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[1]=100 FirstVisible=2 LastVisible=4 LastAnimated=0 VisibleItems=2 ChildCount=4 MaxChildCount=6
02-26 12:45:18.343 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 1
02-26 12:45:18.431 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=0
02-26 12:45:18.432 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=1 mMaxChildViews=6
02-26 12:45:18.432 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: duration=300
02-26 12:45:18.432 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: Delay[0]=100 FirstVisible=2 LastVisible=3 LastAnimated=-1 VisibleItems=1 ChildCount=4 MaxChildCount=6
02-26 12:45:18.432 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: animateView    Scroll animation on position 0
02-26 12:45:20.302 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: onViewBound    Holder=SimpleViewHolder position=6
02-26 12:45:20.303 8592-8592/eu.davidea.samples.flexibleadapter V/AsyncFilterAdapter: isForwardEnabled=false isReverseEnabled=true isFastScroll=false isNotified=false mLastAnimatedPosition=0 mMaxChildViews=6

Anyway, I agree that its a complex problem. I worked on trying to solve the behaviour and mostly its working for simple items (non-expandable, non header). I'm willing to lend a hand if you need, but i'm just a "hobbyist".   I agree that moving the "selected" status onto the item would be a better solution since now it is very tricky.  thanks for the support

As per your feedback:  AdjustSelected works when selecting/deselecting items when filtering.  it does (or something else breaks it) not work however or maintain correct positions for any selections that are active before the filter nor does it restore them when the filter is removed.

OK, I don't have a solution to quickly fix it, but what you can do, is to save the selected items and select them again after the filter is applied/removed.

I'll see if I can get it to  work correctly.  will send a pull request if something useful.
thx

authors: davideas jcuypers

repo: davideas/FlexibleAdapter


text:
Add comments field on personal site when entering hours.

Allows the user to add comments when entering hours on the personal site. The comments field is available through the VolunteersReportHoursFS fieldset on the volunteers hours object.

David, let me know if there is anything else you would like me to do in order to get this request merged. Thanks. Vladimir

source: gharchive/pull-request

repo: davidhabib/Volunteers-for-Salesforce

license_type: permissive

license_source: bigquery


text:
Arbitrary Python objects

Maybe this is totally off, but would it even be possible to support arbitrary Python objects? For example, if I had a Python function like this:
class Input(TypedDict):
  type: Literal["http"]
  status_code: int
  method: Literal["GET", "PUT"]
  callback: Callable[[], None]

class Output(TypedDict):
  message: str
  callback: Callable[[], None]

def process(inp: Input) -> Output:
  assert inp["type"] == "http"
  status_code = input["status_code"]
  assert 99 < status_code < 600
  method = input["method"]
  assert method in ("GET", "PUT")
  msg = f'{method} {status_code}"
  return Output(message, inp["callback"])

This crate is super convenient to parse and validate type, status_code and method since you can make a declarative serve model for this:
#[derive(Serialize, Deserialize]
#[serde(rename_all = "UPPERCASE")]
enum Method {
  Get,
  Post,
}

#[derive(Serialize, Deserialize]
struct HTTPMessage {
  status_code: u32,
  method: Method,
}

#[derive(Serialize, Deserialize]
#[serde(tag = "type")]
enum Message {
  Http(HTTPMessage),
}

But as far as I can tell there is no way to say "make the callback key a Py<PyAny>. In other words, something like:
#[derive(Serialize, Deserialize]
struct HTTPMessage {
  status_code: u32,
  method: Method,
  callback: Py<PyAny>,
}

Is that right?

Hello, sorry for the very slow response. You're correct at the moment this isn't possible.
I wonder if Pythonize and Depythonize traits could solve this problem. They could have blanket implementations for T: Serialize (or Deserialize) and then Python types which aren't serde-compatible could be handled separately. Other than that, I'm not aware of a way that we could hook into serde to achieve this.
(This problem is very related to #1 I think.)

To deal with this in a current project, I've been using a proxy class that can wrap an object and make it look like a dict to depythonize, that looks something like:
class DictProxy(collections.abc.Mapping):
    _inner = None
    _keys = None

    def __init__(self, inner, aliases=None):
        self._aliases = aliases or {}
        self._inner = inner
        self._keys = [k for k in dir(inner) if not k.startswith("_")]
        for alias in self._aliases:
            if alias not in self._keys:
                self._keys.append(alias)

    def __getitem__(self, key):
        if key in self._aliases:
            alias = self._aliases[key]
            if type(alias) is str:
                return getattr(self._inner, self._aliases[key])
            else:
                return alias(self._inner)
        elif key in self._keys:
            return getattr(self._inner, key)
        else:
            raise KeyError

    def __iter__(self):
        yield from self._keys

    def __len__(self):
        return len(self._keys)

    def __contains__(self, key):
        return key in self._keys

    def keys(self):
        return list(self._keys)

I only need to go in the Python -> Rust direction, but I think a similar approach could work in the other direction as well. One semi-major frustration at the moment, though: as currently implemented, the deserializer for mappings calls both .keys() and .values() on the incoming map, and eagerly evaluates the returned iterators, which means every field on the object gets accessed, including @property fields (which get evaluated), even if those fields aren't actually needed in the deserialization. At least in my application, this is resulting in some unnecessary slow/expensive calls, and I haven't yet figured out a way around it.
It doesn't seem like there's any reason it has to work that way, but that's how it works now. I think if object deserialization were to be explicitly supported, some kind of laziness would be important.

Given that pythonize doesn't yet support arbitrary python objects it is not as powerful as pickle which means that it doesn't have the same security concerns as pickle does. If you manage to support arbitrary python objects it's worth considering to leave a function that doesn't support the full set of python objects as that is a feature in of itself in terms of keeping security tight.

I'm using dill (or pickle) to serialize any python object.

source: gharchive/issue

authors: Stargateur adriangb apendleton davidhewitt jonathan-s

repo: davidhewitt/pythonize

license: MIT

license_source: github-api


text:
build: migrate sass @import and global built-in fns

After upgrading to v19, several SCSS warnings appeared related to deprecations. Some of them are related to the use of deprecated @import and global built-in functions. See https://sass-lang.com/documentation/breaking-changes/import/
Using the migrator to fix them all automagically

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#860  👈 (View in Graphite)
#859
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


text:
How to use it by using server render?

ReferenceError: document is not defined

Hi,
Is this fixed? I am also facing this issue.

@karthikvt26  Not yet.

any progress?

Vue2Editor doesn't currently support SSR.  You'll need to wait until in the browser process/on the client.
If you are using Nuxt.js, there are a few easy ways to configure the settings so that it works perfectly. Reopen this issue if this is case and you need assistance.

Vue2Editor doesn't currently support SSR. You'll need to wait until in the browser process/on the client.
If you are using Nuxt.js, there are a few easy ways to configure the settings so that it works perfectly. Reopen this issue if this is case and you need assistance.

Hello,
Thanks for great module !!!
Do you have any plans to support SSR in the near future?
Many Thanks

authors: Lahori-Jawan davidroyer dupeiduo gokhancetiner karthikvt26

license: mit


text:
Numbers only crashing plugin

If you type in any repeating string consisting of the same numbers repeated over and over, it causes a memory overflow.

Yes, that's a problem. I tracked it down to the leet speak detection in Password Score. Simple solution: turn of leet speark support. Will also work on a better solution.

authors: DoctorWhite davidstutz

repo: davidstutz/bootstrap-strength-meter


text:
Can we customize widget that open choices?

I try to find a builder that can customize widget that opens a selection box with choices, but cannot find it.
Do you have this one?

Sure, you can use tileBuilder
// default trigger widget usage example
SmartSelect<T>.single(
  ...,
  ...,
  tileBuilder: (context, state) {
    return S2Tile(
      title: state.titleWidget,
      value: state.valueDisplay,
      onTap: state.showModal,
      isLoading: true,
    );
  },
);

// default trigger widget from state
SmartSelect<T>.multiple(
  ...,
  ...,
  tileBuilder: (context, state) {
    return S2Tile.fromState(
      state,
      value: 'override the value',
      isLoading: true,
    );
  },
);

// or use your own widget
SmartSelect<T>.single(
  ...,
  ...,
  tileBuilder: (context, state) {
    return MyTriggerWidget();
  },
);

We can indeed do that. But still the title remains. It is not possible to get rid of it completely. I'd like to use SmartSelect in a bigger form and want to use floating labels only. I can not do that right now, can I?

NVM! I was just too stupid :cry:

Yes, this worked!

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?


text:
Example code freeze while training DNN

Expected Behavior

I am trying to run the _dnn_mmod_train_find_cars_ex example code provided with dlib. I expect the program to run until training is complete.
Current Behavior

The program freezes during training. Sometimes it runs for several hours, sometimes for a few minutes. It seems to freeze after saving the state to file. I added a printout at the bottom of the training while loop:
cout << "Still running: " << cnt << endl;
and the output looks like this after freeze:

Still running: 3989
Still running: 3990
Still running: 3991
Saved state to mmod_cars_sync
Still running: 3992

The only thing that I have changed in the original sample is reducing the batch size from 87 to 8. Otherwise I get an "out of memory" crash somewhere in cude malloc
    int batchSize = 8; // was 87 - not enough GPU memory
    while(trainer.get_learning_rate() >= 1e-4)
    {
        // Every 30 mini-batches we do a testing mini-batch.
        if (cnt%30 != 0 || images_test.size() == 0)
        {
            cropper(batchSize, images_train, boxes_train, mini_batch_samples, mini_batch_labels);

Steps to Reproduce

If you can: run the sample with Win10, NVIDIA Quadro P500 using VSS2019 and batch size 8

Version:
dlib version: 19.18
Where did you get dlib:
I downloaded dlib from dlib.net
Platform:
Win10 pro, build 18362, 64bit
Compiler:
Compiler: Visual Studio 2019 (v. 16.4.1)

I'm not sure there is much I can do about this. There are known bugs in
cuDNN on windows with some graphics cards.  You should report this to
NVIDIA and maybe it will help them debug it.

@EinarBjorn What version of CUDA do you have? If 10.2 or so, could you please try to remove the upper limit from this condition here?
@davisking If doing so helps, then we might consider removing the upper limit until there's at least some evidence suggesting that NVidia have actually fixed their drivers?

Yeah, removing the upper limit seems like a good idea if this turns out to be the case.

Thanks @reunanen.
I am in deed using CUDA 10.2 and this seems to have done the trick as the training has been running for about 12 hours without crashing.
I wonder though, after about 62.000 steps, the learning rate is still at 0.1. Is that normal?

I just changed the code to assume cudaStreamSynchronize is broken until CUDA V11.  I thought more about removing the upper limit but it would be so easy to forget about this forever and never change it back without an upper limit.
@EinarBjorn That example has the iterations without progress threshold set to 50,000.  So that sounds normal.

authors: EinarBjorn davisking reunanen

repo: davisking/dlib


text:
Can not find boost

Is it found the boost lib or not?  Where I should put the boost library in?  which root it checks the for the boost?

http://dlib.net/faq.html#Whywon'tthePythonbindingscompilework
Also, don't post screenshots, especially ones where the text is truncated.

thanks for replying so quickly!
2016年12月5日 下午3:12，"Davis E. King" notifications@github.com写道：

http://dlib.net/faq.html#Whywon'tthePythonbindingscompilework
Also, don't post screenshots, especially ones where the text is truncated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/353#issuecomment-264879248, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQoyN--xESN9i_GH1cMBvh-wdbvSKWrgks5rFCn5gaJpZM4LEU6l
.


text:
BroadcastToClientList 有一个小BUG

不是大问题，只是新创建空间后，地址没有赋给self对象造成的。
表现 BroadcastToClientList 指定用户不能正常收到广播。
review源码中发现问题出在：
router\routerconn.go 187行，
把
list = make([]int64, 0)
改成
self[routerSes] = make([]int64, 0)
list = self[routerSes]
@davyxu

ok, thanks

thinks.

authors: davyxu lantiao

repo: davyxu/cellnet


text:
Target .NET 4.5.2 too

.NET 4.5.2 support would be useful for me. Would you consider adding it? The effect seems minimal.

Yes, that looks reasonable.
As a side note, to me I have a plan migrating the project to .NET Core 2.0 in some day Autumn right after Microsoft officially releases NetStandard 2.0 and .NET Core 2.0. In such case most of the net461 APIs will be supported, but that is another story to net452. But anyway, we can adopt net452 and see the community feedback.

Thanks. I also checked out the .NET Core 2.0 preview yesterday.
PS: Any chance to push this to MyGet?

authors: daxnet igitur

repo: daxnet/irony


text:
fix: add results in time zone examples to clarify usage

Quite a few issues describe problems with the timezone plugin that result
from misinterpretation of parsing versus converting.

THX

repo: dayjs/dayjs-website


text:
Grouping panel works incorrectly

System information:

Operating system (distribution) and version Win10
DBeaver version 7.3.4 EA

Connection specification:

Database name and version MySQL, PostgreSQL

Describe the problem you're observing:
PostgreSQL and MySQL do not display all column values when dnd it to the Grouping panel
Steps to reproduce, if exist:
Open table (e.g. language) and dnd any column to Grouping panel
Expected: all values are displayed
Actual result: no values are displayed
Include any warning/errors/backtraces from the logs
Query manager writes:
SELECT name, COUNT(*) FROM (
SELECT * FROM sakila.`language`) src
GROUP BY name
HAVING COUNT(*) > 1
LIMIT 0, 100

https://user-images.githubusercontent.com/51405061/106267253-71b14400-623a-11eb-8a25-008fea71257a.mp4

It is not a bug. You enabled option "Show duplicates only" which hides all results with count<2.

It is not a bug. You enabled option "Show duplicates only" which hides all results with count<2.

authors: kseniiaguzeeva serge-rider

repo: dbeaver/dbeaver


text:
Driver property cannot be set to null (causes Redshift IAM failure)

System information:

Operating system (distribution) and version: Mint Linux 20.1
DBeaver version: 21.2.5.202111141807
Additional extensions: None

Connection specification:

Database name and version: Any, but can try with postgres
Driver name: : Any, but can try with postgres
Do you use tunnels or proxies (SSH, SOCKS, etc)? : No

Describe the problem you're observing:

It is not possible to connect to Redshift using IAM repeatedly. It is possible to connect once.
This is because when saving a connection with no ssl value it does "work". But then restarting DBeaver (or reopening the Edit Connection window) the value is set back to true.

Steps to reproduce, if exist:

Create any postgres Driver.
Set ssl to nothing (blank value)
Save
Reopen, it will have been set back to true.

This is a problem as when connecting to Redshift, then ssl must be null. Note, this is not a User defined property so it is always present. Setting it to false / 0 etc is not enough. As the screenshot shows, it must be null.
The fix would be that "no value" is stored as null persistently.
The workaround is to open DBeaver, then navigate to the connection and to blank out the ssl value every time the application is launched.
NB, This doesn't disable SSL when connecting to Redshift, as the sslmode can be set.

Immediate message when restarting DBeaver:

@hlascelles sorry for the late response.
Could you provide a full error log?

There isn't much in it I'm afraid, just confirmation that the "resetted settings" are not valid.

So just to simplify:

The "error" is that two settings are in conflict
The "cause" is that one of the settings must be null, but DBeaver changes the null setting back to true on restart.
If DBeaver could leave a user-blanked out setting as blank, then everything would work.

We need to investigate that.

@hlascelles Thank you for the report. I reproduced it and we will work on that.

@Matvey16 do you have any update on a possible fix for this issue? Thanks

I await with bated breath... thanks for putting this back on a milestone!

authors: Matvey16 Skydiveroid chuanzgh hlascelles owst


text:
Pause After Execute (ms) Input Box Not Saving Changes

System information:

Operating system (distribution) and version: MacOS Monterey Version 12.3.1
DBeaver version: 22.0.4.202205011839
Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
Changes to the Pause After Execute (ms) value in Shell Commands often does not get saved on exit from the menu.  I have successfully made changes stick after many attempts by changing other items around the menu, though none were obviously reproducible.

Steps to reproduce, if exist:

Edit Connection on a preexisting DB connection
Connection Settings > Shell Commands > Before Connect
Modify or enter a value in Pause After Execute (ms) entry box
Press OK
Repeat Steps 1-2
9/10 times the value has returned back to before the changes in Step 3

Include any warning/errors/backtraces from the logs

Reproduced: Modifying the Command string (removing a letter, etc.) and changing the Pause value will result in a saved change to the Pause value

thanks for the report


text:
More Snowflake Object types

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Since Snowflake is growing fast, adding more object types in Database Navigator will definitely help DBAs and Developers to leverage this tool in daily life.
Describe alternatives you've considered
NA
Additional context
Functions
Tasks
Alerts
Snowpipe
Streams
Integration
etc.

Hello @ksiddiqui79
We already have support some of these metadata types: https://github.com/dbeaver/dbeaver/wiki/Snowflake#metadata
But they are available in our PRO versions only.
But, we do not have Alerts and Integrations.
https://docs.snowflake.com/en/sql-reference/sql/show-integrations


text:
Error on saving Trigger

please help Dbeaver version 5.0.1 has Error when saving Trigger
Save Failed
java.lang.NullPointerException

What is you database?
Please post error and/or debug logs (https://github.com/dbeaver/dbeaver/wiki/Log-files)

authors: mbagusrd serge-rider


text:
Pipe Controlcasts key commands

I'm running into an issue where I run out of free keys to assign to OBS.
Modifier keys get picked up by whatever application is in focus so they can't help with enlarging the pool of available keys.
For example: CTRL+1 as keyboard command to switch to a specific scene in OBS triggers an action in many games (in my case Fallout 4) when I assign this keystroke to a button in Controlcast.
Reassigning modifier keys in the games is often impossible or impractical. Since we can't distinguish between left and right modifier keys within OBS or Controlcast either and the numkeypad isn't recognized in Controlcast, this limits available keys for Controlcast drastically.
Which brings me to my question:
Can Controlcasts commands (keystrokes) be 'piped' through directly to OBS exclusively so no other application would be getting those commands to avoid overlap and triggering of actions in in-focus applications?
It is either that, a second PC for streaming where OBS is always in focus, or being able to set-up MIDI notes as keycommands for OBS, which Controlcast as well as OBS would have to implement.
Any ideas?

Will not be able to pipe key commands to OBS. But Controlcast now supports left/right modifiers and numpad buttons. There should be more than enough key combinations to use all the midi buttons on the controller.

repo: dbkynd/controlcast


text:
WIP: Propose index encode solution

Motivations

Would you like to implement this feature? [y/n]

Goal

index key encode into/decode from bytes
index bytes can be sorted
index bytes order should be consistent with the original value order
support Null encode
support Emptry String encode
define the order between types. Reference: https://www.mongodb.com/docs/manual/reference/bson-type-comparison-order/
consider encode/decode performance and memory usage

Reference
https://www.mongodb.com/docs/manual/reference/bson-type-comparison-order/
Context
We currently support simple document index to converge the very basic use case. e.g (String index, Int64, Int32, Boolean)
In this issue, we aim to expand our support to include additional features such as Null value, empty String, null String, multi-index scenario, etc"
With respect to that, we need to review our index mechanism and then improve or redesign it if necessary.
Solution

Alternatives

Additional context

@jingchen2222  Has this issue been resolved?

not yep
On Fri, Apr 14, 2023 at 8:42 PM imotai @.***> wrote:

@jingchen2222 https://github.com/jingchen2222 Has this issue been
resolved?
—
Reply to this email directly, view it on GitHub
https://github.com/dbpunk-labs/db3/issues/321#issuecomment-1509488788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP75ZND4PAPBGYD55DHFO3XBIKIRANCNFSM6AAAAAAU764KGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

not yep
…
On Fri, Apr 14, 2023 at 8:42 PM imotai @.> wrote: @jingchen2222 https://github.com/jingchen2222 Has this issue been resolved? — Reply to this email directly, view it on GitHub <#321 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP75ZND4PAPBGYD55DHFO3XBIKIRANCNFSM6AAAAAAU764KGA . You are receiving this because you were mentioned.Message ID: @.>

We just solved the key order problem

Index

TYPE_ID
collection_id
index_field_id
fields_key
document_id

fields_key
|FIELD1|FIELD2|...|FIELDN
FIELD

FIELD_TYPE_ID
FIELD_DATA

NullType, BoolType, I32Type, I64Type, F32Type, F64Type, DataTimeType, StringType

TODO list

[ ] Add FieldKey as part of IndexId, implement a set of method for encode and decode fieldkey
[ ] Support Null and empty string
[ ] add unit test for single field key and multi fields keys including empty string and null

TODO:
replace the key encode&decode with storekey to cover more use cases https://github.com/surrealdb/storekey


text:
Fix: add optional --schema_location argument to check_model_parents_schema

I'm proposing a small change to the check_model_parents_schema check to fix an issue with the parsing of the parent models' schema.
Current state
When this check is run, it parses the schema from nodes → schema, which is prefixed by an individual's configuration in profiles.yml – for example:
For a BigQuery-based profile:
[project_name]:
  outputs:
    dev:
      dataset: [dev_dataset_name]
...

For a Snowflake-based profile:
[project_name]:
  outputs:
    dev:
      ...
      schema: [dev_dataset_name]
...

In manifest.json, for any given model, nodes → schema inherits the individual's [dev_dataset_name] and prefixes it in front of the "true" schema name, which itself comes from dbt_project.yml, e.g. for a "dim" folder in an example repo:
models:
  [project_name]:
    +materialized: view
    ...
    dim:
      +materialized: table
      +schema: dim_schema_name

This then causes the check to fail if we set the args as:
- id: check-model-parents-schema
    args: ["--manifest", "analytics/target/manifest.json", "--whitelist", "dim_schema_name", "--"]

Because the schema is parsed from nodes → schema as dev_dim_schema_name rather than dim_schema_name (which is found in nodes → config → schema), the check doesn't work as expected.
Proposed solution
In our organisation, we have had issues with this check because we actually need it to parse the schema from nodes → config → schema instead, as the different dbt developers each have their own dev dataset name which prefixes the model schema in their dev environment. This must have changed when the manifest was updated to a newer version.
By selecting from the "nested" schema that's inside config, we get the "true" schema name reliably every time, for each developer and in production.
The additional argument I'm adding to args is --schema_location to optionally specify if the intended schema is located inside config.
How it works
It's completely optional, and only requires the user to add "--schema_location", "config" to the args after the white-/blacklist argument, like:
- id: check-model-parents-schema
    args: ["--manifest", "analytics/target/manifest.json", "--whitelist", "dim_schema_name",  "--schema_location", "config", "--"]

Note on testing coverage
I'm not really too familiar with Pytest or how to ensure complete coverage, so if there are any other contributors with an idea of how to help with this I'd be hugely grateful!

Not sure how to ensure test coverage – would be very grateful for any advice

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (a3a276c) 100.00% compared to head (fcf0f1f) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##              main      #132   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           47        47
  Lines         2194      2207   +13
  Branches       272       271    -1
=========================================
+ Hits          2194      2207   +13

Impacted Files
Coverage Δ

dbt_checkpoint/check_script_has_no_table_name.py
100.00% <ø> (ø)

dbt_checkpoint/check_model_parents_schema.py
100.00% <100.00%> (ø)

dbt_checkpoint/tracking.py
100.00% <100.00%> (ø)

dbt_checkpoint/utils.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Potential fix for https://github.com/dbt-checkpoint/dbt-checkpoint/issues/135

@kiliantscherny thanks for contributing to dbt-checkpoint
Would you be able to extend existing test check model parents schema with this new argument?

I've just had a go at adding the test coverage for this new argument, but please just let me know if it wasn't done correctly. Thanks!

Hi @BAntonellini would you be able to take another look at this when you get the chance?

authors: codecov-commenter kiliantscherny

repo: dbt-checkpoint/dbt-checkpoint


text:
Add synapse installation condition in tests

Description & motivation
run_test.sh did not include an installation option when run as ./run_test.sh synapse which is called in the current circleci config.yml This appears to be the cause for the test failure in PR #103
Checklist

[x] I have verified that these changes work locally
[N/A] I have updated the README.md (if applicable)
[N/A] I have added an integration test for my fix/feature (if applicable)

It appears the synapse test failed due to missing Debian package in the azure cli/install step. Can this be rerun to verify downstream tests? My guess is this is due to some throttling or transient issue.

It seems to have the same failure with the azure CLI which is curious. The comment above pointed out this change being redundant for now I will close this pull request until the right answer can be found.

repo: dbt-labs/dbt-external-tables


text:
[Bug] on_configuration_changes=apply does not add new index on incremental view

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When I add a new index to an existing incremental model (see below), it is not created in the database
Expected Behavior
I would expect the  new index to be created
Steps To Reproduce

This is the output of pip freeze | grep dbt

dbt-adapters==1.7.0
dbt-common==1.10.0
dbt-core==1.8.7
dbt-extractor==0.5.1
dbt-postgres==1.8.2
dbt-semantic-interfaces==0.5.1

Below is the original file test.sql I run

{{ config(
    materialized="incremental",
    on_configuration_changes="apply",
    indexes=[
        {'columns': ['a']}
             ]
    )
}}

select * from (VALUES(1, 'a'), (2, 'b'), (3, 'c')) as t(a, b)

dbt run --select test

Modify test.sql to add an index

{{ config(
    materialized="incremental",
    on_configuration_changes="apply",
    indexes=[
        {'columns': ['a']},
        {'columns': ['a', 'b']}
             ]
    )
}}

select * from (VALUES(1, 'a'), (2, 'b'), (3, 'c')) as t(a, b)

rerun dbt run --select test
A new index should be created (or the run should fail if  on_configuration_changes="fail") but nothing happens.
Same behavior if I am removing the existing index, it is kept in place

Relevant log output
No response
Environment
- OS: Ubuntu 20.04
- Python:3.8.5
- dbt-postgres: 1.8.2

Additional Context
The related documentation on postgre website

My bad, it is clearly stated in the on_configuration_changes documentation that this currently only supported for materialized_view materialization.
I'm new to DBT, so I did not understand that this was a specific type of materialization at first, closing the issue

repo: dbt-labs/dbt-postgres


text:
[PP] KeyError in delete_schema_mssa_links

From Slack thread:

Yes I was editing a test that applied to a source. I only ran into this issue for custom generic tests that apply to sources

2021-07-15 20:41:44.027209 (MainThread): Encountered an error:
2021-07-15 20:41:44.027763 (MainThread): 'sources'
2021-07-15 20:41:44.032374 (MainThread): Traceback (most recent call last):
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/main.py", line 125, in main
    results, succeeded = handle_and_check(args)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/main.py", line 203, in handle_and_check
    task, res = run_from_args(parsed)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/main.py", line 256, in run_from_args
    results = task.run()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/task/runnable.py", line 406, in run
    self._runtime_initialize()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/task/runnable.py", line 122, in _runtime_initialize
    super()._runtime_initialize()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/task/runnable.py", line 79, in _runtime_initialize
    self.load_manifest()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/task/runnable.py", line 66, in load_manifest
    self.manifest = ManifestLoader.get_full_manifest(self.config)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/manifest.py", line 170, in get_full_manifest
    manifest = loader.load()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/manifest.py", line 212, in load
    project_parser_files = partial_parsing.get_parsing_files()
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 131, in get_parsing_files
    self.update_in_saved(file_id)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 201, in update_in_saved
    self.update_macro_in_saved(new_source_file, old_source_file)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 254, in update_macro_in_saved
    self.handle_macro_file_links(old_source_file, follow_references=True)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 360, in handle_macro_file_links
    self.schedule_macro_nodes_for_parsing(referencing_nodes)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 390, in schedule_macro_nodes_for_parsing
    self.delete_schema_mssa_links(schema_file, key, node_patch)
  File "/Users/<user>/Library/Python/3.7/lib/python/site-packages/dbt/parser/partial.py", line 578, in delete_schema_mssa_links
    prefix = key_to_prefix[dict_key]
KeyError: 'sources'

Missing key. Easy fix.

The code to remove related nodes (etc) when test macros are re-done was not handling source tests.

repo: dbt-labs/dbt


text:
[Tracking] v0.20.2RC1 release

Release Core

[x] [Engineering] Verify all necessary changes exist on the release branch
[x] [Engineering] Follow dbt-release workflow
[x] [Product] Update migration guide (next.docs.getdbt.com)

Release Cloud

[x] [Engineering] Create a platform issue to update dbt Cloud and verify it is completed. Example issue
[ ] [Engineering] Determine if schemas have changed. If so, generate new schemas and push to schemas.getdbt.com

Announce

[ ] [Product] Publish discourse
[ ] [Product] Announce in dbt Slack

Post-release

[x] [Engineering] Bump plugin versions (dbt-spark + dbt-presto), add compatibility as needed

[x]  Spark
[x]  Presto

[x] [Engineering] Create a platform issue to update dbt-spark versions to dbt Cloud. Example issue
[ ] [Product] Release new version of dbt-utils with new dbt version compatibility. If there are breaking changes requiring a minor version, plan upgrades of other packages that depend on dbt-utils.
[ ] [Engineering] Create an epic for the final release

Cloud tracking issue: https://github.com/dbt-labs/dbt-cloud/issues/3828

Final issue: https://github.com/dbt-labs/dbt/issues/3787


text:
adding label length truncation

Future change - don't merge -
adding label length truncation per https://github.com/dbt-labs/dbt-bigquery/pull/442

@matthewshaver FYI I switched the label for this one to dbt-core v1.4, because the associated change already landed in v1.4


text:
advanced layout

Would be great to get support for a modern menu like this:

Maybe you can join forces with:
https://github.com/laravel/nova/pull/566

Well, I think this is a bit off the goal of this package, I just meant to have an easy way to create collapsible groups and order the resources the way I need it to be in oppose to the alphabetical auto ordering way that the default resource manager imposes.
It would require a completely different approach, so I think if ever try to accomplish something like that would be a work for another package 😆

I just meant to have an easy way to create collapsible groups and order the resources the way I need

yes!
the rest is "just" some vue + css layout work.
Clicking on the main level would set a property. Based on the property a group is shown.

authors: cord milewski

repo: dcasia/collapsible-resource-manager


text:
refactor: DropdownContents Component to Function Component

Description
Refactored from React class to function component. Since there is an external library react-click-outside that wraps the component, it displayed an error suggesting to use React.forwardRef upon refactoring the component
Which issue(s) does this PR relate to?

#793

Testing
None
Trade-offs
None
Screenshots
Not Applicable
Checklist

[ ] If any new components were added, there are exported from packages/index.ts
[ ] This PR is associated with a JIRA and mentions in the commit message footer ("Closes …")
[ ] This PR contains breaking changes and states in the commit message body ("BREAKING CHANGE: …")
[X] I have reviewed the changes and provided detail to the sections above

Now you're going to want to run npm run test -- -u to update the snapshots that will be affected by this change.

repo: dcos-labs/ui-kit


text:
Fix networking naming

Changed .dcos: to .dcos.thisdcos.directory.

@nlsun

@sargun @nlsun can you give it one more review. i've made a lot of changes based on our conversation this morning.

@sascala can you give this a copy/edit

repo: dcos/dcos-docs


text:
Adding node and npm version check

This check will run on npm preinstall and npm start

Are we OK with this not functioning on Windows?

yes :grin:

Here is an example of the npm error printout:

ping @philipnrmn @daiyiwhale

Hi, I have some problem when build the dcos-ui using windows.

the scripts file cannot be run for task prebuild.
commit a511032d0f7969678932feaaa2b64f8ecad9d09a
This commit try to fix it but it is reverted.
$npm_package_config_port not works in windows.
_https://github.com/ngParty/Angular1-scaffold/issues/34_
There's also some dependency fails in windows.
I'd like to know do you have the plan to support the build on windows.
Sorry for the trouble, hope for your replies. Thank you.

The prebuild is running a gulp task checkDependencies and installs compression-webpack-plugin@latest npm module. You can skip this step and just install manually like so: npm i compression-webpack-plugin@latest

The commit you are pointing to is just checking the node and npm versions.
What you can do here is to run the script by prefixing it with sh like so: sh ./scripts/validate-engine-versions in powershell. Otherwise, you can just skip this step yourself and manually check that you are running the node and npm versions listed in under engines in package.json.

As it states in the link you posted you can replace these config variables with manual values:
i.e. set $npm_package_config_port to 4200

Could you list which dependencies that fail, then I can try to help you.

My suspicion is that some of the environment variables are also not being set correctly. You could use this module and prefix all the environment variable assignments with cross-env: https://www.npmjs.com/package/cross-env
It would be awesome if you could take a stab at making the build work for Windows!

The environment checks we could omit when running Windows (with IF-statements), that way our CI will still run the checks for you (NB: this will make the feedback loop larger for developers on Windows, but that is better than a non-working build :blush:)

Thank you for your kind reply. As mentioned before I've got following dependency fails:

Node version is valid (v4.4.6) NPM version is valid (v3.9.5)
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14

npm start and I got 'Uncaught TypeError: ReactHotAPI is not a function' in chrome console.
This is related to the react-hot-loader. It seems not a must, so I just run without --hot.

Then I got 'Uncaught TypeError: (0 , _typeof3.default) is not a function' in console.
This seems to be related to BABEL-6.

Hey @rainbowland302

This should be fine. That is just warnings and doesn't fail the build, so you can ignore that part.

Yes, you can run without --hot!

Hmmm... it seems to be a bug in Babel 6, and might require an update of Babel, which is a little out of scope for us right now. Would you be willing to give it a try?

Sure, I'll have a try. But I'm afraid there will be other more failed dependencies. Perhaps, I may use Linux instead.

authors: mlunoe philipnrmn rainbowland302

repo: dcos/dcos-ui


text:
v0.5.0

Changes:

Added Beta Options section to Settings menu
Allow Twitch moderators to listen to chat commands on another stream.

Must opt-in under Settings -> Beta Options to enable
Only available on channels where the logged in user can moderate.
When enabled, moderated channels are listed in the new dropdown at the top left.

New command !queue lists all of the people in the Playing queue
Migrated several component states to use Redux stores
Fixed issue with chat client improperly disconnecting
Added in-app Ko-fi donation button with iframe overlay. Hey, why not.

Codecov Report
Attention: Patch coverage is 89.14474% with 99 lines in your changes are missing coverage. Please review.

Project coverage is 84.38%. Comparing base (6c7be94) to head (7c012ba).

Files
Patch %
Lines

src/pages/authenticated-app/index.jsx
55.83%
53 Missing :warning:

src/components/header-menu/index.jsx
96.80%
14 Missing :warning:

src/components/main-screen/index.jsx
67.44%
14 Missing :warning:

src/api/twitch/index.js
91.91%
11 Missing :warning:

src/features/player-queue/index.jsx
40.00%
6 Missing :warning:

src/features/player-queue/user-slice.js
96.29%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   83.02%   84.38%   +1.35%
==========================================
  Files          32       31       -1
  Lines        5044     5252     +208
  Branches      111      122      +11
==========================================
+ Hits         4188     4432     +244
+ Misses        855      819      -36
  Partials        1        1

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

authors: codecov-commenter dcpesses

repo: dcpesses/code-whisperer


text:
data collecting interval

Hello,

Can someone help me why I am seeing spikes of data rather than continuous data?
I have spike in numbers from prometheus.

it seems mongodb server status is not constantly updated.
I appreciate your help.
Rock

I found out why. I provided multiple mongodb address like,
mongodb://x.x.x.x:27017,y.y.y.y:27017/db?replicaSet=mmm
this causes serverStatus data come from different mongod instance.
After I use only one, (primary address) it became fine.
/close


text:
Make Jekyll site regenerate automatically inside Docker container

For now we need to run:
./scripts/dev.sh

To build the container, and then every time a change is made we need to run:
./scripts/jekyll-build.sh

I'd like changes to occur automatically, in the background.
I tried these approaches but they don't work for me:
jekyll build --watch
jekyll build --watch &

Other Jekyll-Docker projects such as this one might have some insight.
Until then it is necessary to run
./scripts/jekyll-build.sh

every time a change is made.

Fixed by #8

repo: dcycleproject/dcycleu


text:
🛑 Danbs is down

In 7a3cb77, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 237 ms

Resolved: Danbs is back up in 11d43e4 after 31 minutes.

repo: ddanbs/upptime


text:
🛑 Danbs is down

In 8f477e8, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 2954 ms

Resolved: Danbs is back up in 15dea2c after 59 minutes.


text:
🛑 Danbs is down

In 4cf984c, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 129 ms

Resolved: Danbs is back up in 2c2e065 after 22 minutes.


text:
🛑 Danbs is down

In 9eda41b, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 3292 ms

Resolved: Danbs is back up in 3d13816 after 25 minutes.


text:
🛑 Danbs is down

In d1357fd, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 2951 ms

Resolved: Danbs is back up in a3fd371 after 18 minutes.


text:
🛑 Danbs is down

In d7e0692, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 185 ms

Resolved: Danbs is back up in 0cf4d9c.


text:
🛑 Danbs is down

In a89ca32, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 178 ms

Resolved: Danbs is back up in 874a5dc.


text:
🛑 Danbs is down

In cade2cd, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 235 ms

Resolved: Danbs is back up in 321a5fb.


text:
Add support for SFTP symlinks

Check for existing issues

[x] Completed

Describe the feature
Actually the main goal is support for Acode to be able to read directory or file symlinks.

(storage folder accessed via SFTP which contains symlinked directory created by termux-setup-storage command)
I'm working NodeJS coding files inside Termux and pnpm usually work managing package by using symlinks. However Android Internal Storage is an emulated filesystem that doesn't support symlinks (or I suppose permission restrictions because I'm in non-root device) so I can't put my work on Internal Storage and instead keep it inside Termux.

(Symlinks created using termux-setup-storage command)
Now accessing the Termux private storage is the challenge, my first workaround is by using Termux storage access provided from DocumentsUI. It works quite well, however it's comes to an issue that it doesn't support rename operation, this could be a hassle.

(Try to rename file using Material Files with Termux private directory access via DocumentsUI)
Another workaround is by using a file server, I had thought about setting up an FTP server in Termux but I haven't found the right tool for it. So I thought about using SSH instead. I set up an SSH server with Termux-SSH and it works fine, except for the symlinks support so I can access both Internal Storage and SD Card in the same place. This is just a small request actually, I hope it can be easily implemented...

I once use Acode plugin called AcodeX which allow to execute Termux command inside the editor. However you need to install NodeJS package acodex-server to be installed and running as well. But I thought using SSH feature directly within AcodeX without any bridge (except the SSH server itself) would be a better approach.
If applicable, add mockups / screenshots to help present your vision of the feature

(Cx File Explorer able to list symlinks)

I once use Acode plugin called AcodeX which allow to execute Termux command inside the editor. However you need to install NodeJS package acodex-server to be installed and running as well. But I thought using SSH feature directly within AcodeX without any bridge (except the SSH server itself) would be a better approach.

Let the ssh shell related stuff to be handled by AcodeX itself, As we are not going to reimplement terminal stuffs in Acode .

Hmm, currently Acode doesn't indicate symlinks, it just open that folder if it able to. Btw why using SFTP , as using "Add Path"(a.k.a External storage thing) you can access sd card , termux private directory etc and that will be also able to access symlinks

Actually as I mentioned before, it's doesn't support rename over the Termux private directory. I don't know if it's actually Termux issue, but it's annoying if I must rename by go over Termux and back again.
However since this is general SFTP related stuff, it can be useful for another case beside mine.

Actually as I mentioned before, it's doesn't support rename over the Termux private directory. I don't know if it's actually Termux issue, but it's annoying if I must rename by go over Termux and back again.

That's due to termux security restrictions. But this kind of fix this : https://github.com/deadlyjack/Acode/issues/1009

However since this is general SFTP related stuff, it can be useful for another case beside mine.

Yes, this should be fixed.

authors: bajrangCoder coder-newcomer

repo: deadlyjack/Acode


text:
Update cats-core, cats-laws to 2.8.0

Updates

org.typelevel:cats-core
org.typelevel:cats-laws

from 2.7.0 to 2.8.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.typelevel" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #190.

repo: debasishg/tradeio


text:
Add files via upload

lets see whether the class is public of public final. Here we need a dev

test failed

repo: debexpert/commons-csv


text:
DBZ-427 CI support for PostgreSQL 10

https://issues.jboss.org/browse/DBZ-427

Excellent; thanks, @jpechane!

authors: gunnarmorling jpechane

repo: debezium/debezium


text:
在接口的响应结果确认中，是否也支持变量值的引用

测试 case 示例
- test:
    name: 'test'
    request:
        url: /test
        method: POST
        json:
            device: $device
            version: $version
            testid: $testid
    validators:
        - {'check':'content.checkid', 'comparator':'eq', 'expected':$checkid}

其中$checkid 是之前绑定的变量或者其他接口响应内容提取绑定的变量的引用
问题
这样的写法似乎测试用例无法执行通过，当前是否支持这样在确认结果中对变量的引用？
如果支持，想请问一下写法。。。。

@TyouSF 当前是不支持在validators中引用变量和函数的。这个问题我将在后续修复，参考 #29 中的思路进行实现。

authors: TyouSF debugtalk

repo: debugtalk/ApiTestEngine


text:
Favorite icon

These ghost menu buttons should be 1:1 square in shape. Don't have screenshot, but the settings icon is the same.

This icon is now showing up super tiny for me

@adamgall This is what you fixed today yeah? Right now since the two pages of component are tied this will be fixed too?

Yep, I'm working on this one.

Closed via https://github.com/decentdao/fractal-interface/pull/1771

authors: Da-Colon adamgall

repo: decentdao/fractal-interface


text:
Sidebar component transparency and blur

Sidebar needs transaparency and background blur
Browser metadata
Path:      /
Browser:   Firefox 125.0 on Mac OS 10.15
Viewport:  1402 x 912 @2x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved
Originally posted by @nicolaus-sherrill in https://github.com/decentdao/fractal-interface/issues/1578#issuecomment-2100990724

This is mentioned in #1684, but might be good to have a separate issue

Is this what you are looking for? (or can you point me to the the right design? I removed the BG and added the blur and box-shadow.  @xraystyle1980

@Da-Colon I don't think we wanted full transparency here. The existing background color just needed like an alpha channel on it or something. I don't really know the right terminology to use. Paging @xraystyle1980 for the deets

@Da-Colon I don't think we wanted full transparency here. The existing background color just needed like an alpha channel on it or something. I don't really know the right terminology to use. Paging @xraystyle1980 for the deets

Thats probably correct. I thought about that after I posted the response that we could just use the same RGBA that is used for the main Header component.
to that point (unrelated to this card) but what if we swapped how the Header component is blurred. as the problem current is that the header's children menu can't be blured but if we main the Header a solid color and just move the blur to the menus?

Closed via https://github.com/decentdao/fractal-interface/pull/1782


text:
WIP: Feat/esbuild

What issue is this PR fixing
fixes #1321
Compared to this PR this is a more cleaner approach to show the current status.
Current problem with ESBUILD:

the build:js step passes for all projects without any problems. But when running the api and schemas it fails. Giving errors like:

> @veramo/core-types@5.6.0 generate-plugin-schema C:\Users\mollik\Projects\veramo\packages\core-types
> node ../cli/bin/veramo.js dev generate-plugin-schema

file:///C:/Users/mollik/Projects/veramo/packages/core-types/build/types/ICredentialStatusManager.js:1
import { DIDDocument, DIDResolutionOptions, DIDResolutionResult } from "did-resolver";
         ^^^^^^^^^^^
SyntaxError: The requested module 'did-resolver' does not provide an export named 'DIDDocument'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Node.js v18.17.0

Comparing the ICredentialStatusManager.js compiled with esbuild and tsc shows some differences:
tsc:
export {};
//# sourceMappingURL=ICredentialStatusManager.js.map

esbuild:
import { DIDDocument, DIDResolutionOptions, DIDResolutionResult } from "did-resolver";
export {
  DIDDocument,
  DIDResolutionOptions,
  DIDResolutionResult
};
//# sourceMappingURL=ICredentialStatusManager.js.map

Even when removing it from the ICredentialStatusManager.ts file, it will throw similar errors why types or so that are generated locally.
At this point I am not sure if this can be solved by a parameter that has to be passed to esbuild or changed in tsconfig or if we need to update the commands for the following tasks.
Quality
Check all that apply:

[X] I want these changes to be integrated
[ ] I successfully ran pnpm i, pnpm build, pnpm test, pnpm test:browser locally.
[ ] I allow my PR to be updated by the reviewers (to speed up the review process).
[ ] I added unit tests.
[ ] I added integration tests.
[ ] I did not add automated tests because _________, and I am aware that a PR without tests will likely get rejected.

Details
If applicable, add screen captures, error messages or stack traces to help explain your problem.

It would be much easier to test the migration of a single package to esbuild and to see if it actually improves things.
I suggested the @veramo/utils package as it is relatively isolated, but still uses tricky dependencies.
It's the dependencies that have caused the most issues for folks.

Despite the fact that esbuild is fast, I am getting a lot of problems when I don't only want it for compilation, but also being interested in the types etc.
I also tried the approach with compiling it with tcs for esm and in parallel with tsc for commonjs. Problem here is to pack both in one npm package. When you add "type": "module" to the package.json, it is treating all files with an '.js' ending as esm, even when they are in the folder for cjs. So according to the error you need to update the file endings for all files that are commonjs from '.js' to '.cjs'. This is not supported by tsc out of the box. I found some projects, but they seem not to be so stable anymore.
Maybe with a bundler like rollup or babel this could work, but I don't have the time right now to dig deeper.

For building both ESM and CommonJS I would recommend Tsup. I'm not sure if it resolves the issues here, but it is a great tool that solves a lot of issues regarding building/bundling for multiple environments. It is also fast as it uses ESBuild under the hood.

repo: decentralized-identity/veramo


text:
MP4 tagging doesn't work

I am using the latest version of aves and the MP4 tagging doesn't seem to work. I always get the "failed" message. I am using android 9 if that makes any difference
I am really hyped about this feature

v1.7.2 had an issue and MP4 editing was failing every time. v1.7.3 seems to work fine for me. If you're actually experiencing the issue with v1.7.3, could you please follow the instructions in About > Bug Report and paste here the system info and logs? And a sample video could be useful too.

the file is actually somehow corrupted after the failed tag assignment... in my file manager it shows up as having 0kB. tried it with a few test videos. I wanted to upload one here, but I can't because github is telling me to upload a nonempty file. the video I appended is untouched yet.
Aves version: 1.7.3-play (Build 83)
Flutter version: 3.3.8 (Channel stable)
Android version: 9 (SDK 28)
Android build: PPR1.180610.011.N950FXXUGDVG5
Device: samsung SM-N950F
Geocoder: ready
Mobile services: ready
System locales: en_AT, de_AT
Aves locale: en -> en
Installer: com.android.vending
aves-logs-20221111_193635.txt
https://user-images.githubusercontent.com/78076361/201409892-a406fe6e-69c1-43c7-b8d4-4fb6851a46b0.mp4

Damn, I can't reproduce on Android 12 but I do reproduce on Android 9. I need to check which platforms are impacted :/

Thanks again for the quick report. I'll push the fix to a new release as soon as possible.

@Ingegneus the update is in production on the Play Store. Please try and let me know if you still encounter issues.

seems to be working. I will give it some further testing later

@IzzySoft sorry to bother you but today i released several buggy versions of Aves (v1.7.2 v1.7.3) and finally a good one (v1.7.4). It seems IzzyOnDroid picked up v1.7.3, but not the latest one. I'm telling you this because users of Android 9 and below may corrupt their videos with Aves v1.7.3. Is it possible for you to manually update your system to pick up Aves v1.7.4 instead of waiting 24 hours?

Ermergency sequence initiated. 1.7.4 will be up in a few minutes (update checker only runs once a day, starting around 6:30 UTC – that would be a bit late for this I feel). Wow, do you really have different screenshots for all those languages? :scream: OK, all here. Now I'll run publish, and for the F-Droid clients the new index will be there within 5 minutes or so. WebIf will update a bit later.

Up now. And say what, I've triggered the importer on the webserver as well, so it should be visible now.

@IzzySoft Thank you!

do you really have different screenshots for all those languages?

I automated this so it's not painful to keep consistent and up-to-date. I run this scenario to cycle through the languages and take the screenshots, and then I run this script to resize/overlay/frame them for the different stores.

:astonished: Wonderful! I first was afraid of "everything duplicated" (had that misunderstanding with several projects where the authors weren't aware of the fall-back to en-US for missing elements). So I've checked myself before publishing my comment – which then was more a :astonished: :bow: :bow: (kudos). You amaze me more every day :smile:

authors: Ingegneus IzzySoft deckerst

repo: deckerst/aves


text:
Fix current prefix compression implementation to match paper

Problem

Currently the prefix compression that is implement will store the entire prefix of a node inside of a SmallVec<[u8; 8]>. The SmallVec struct implements an optimization where it will store the array ([u8; 8]) inline, and then if the vector grows beyond that capacity it will switch to a heap allocation.
This differs from the ART paper (section 3E) in that they describe a scheme where only the first 8 bytes (or less) of the prefix are stored. Prefix bytes after the 8th are implicit.

This approach would save a separate allocation and make lookup faster in trees with large prefixes.
I didn't originally implement this method because I hit lots of bugs and was having a difficult time rationalizing why this would be correct.

Partial implementation in the fix-prefix branch, still failing some specific insert tests.

This was implemented by Gabriel in #28 , going to resolve

repo: declanvk/blart


text:
feat: update tpm2-abrmd to 3.0.0

TPM2 Access Broker & Resource Management Daemon
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/552
Log: update repo

/integrate


text:
Load my own pytorch or tensorflow model(Not the standard model in model zoo)

Can i use my own pre-trained model for inferencing?

Sure @beHappy666 you can take a look at load_your_mxnet_model and load_your_pytorch_model

@beHappy666 you can use ModelZoo API load your own model from local file system, http server or even S3 bucket.
And you can also create your own model zoo by implementing: ZooProvider interface

@stu1130 @frankfliu  thanks

@beHappy666 I added a document regarding how to load model from local file system and URL: https://github.com/awslabs/djl/blob/master/docs/load_model.md

After reading the links above, I still did not get how to load my own pytorch model.
I have trained my own pytorch model, and I want to use it in Java.
Could someone please explain how to do it, or paste an example? Thanks!

@HaoWei-TomTom Here is youtube link talking about loading a model: https://www.youtube.com/watch?v=POIVT0L_P58
Here is the document about trace pytorch model: https://docs.djl.ai/docs/pytorch/how_to_convert_your_model_to_torchscript.html
And here is the link about how to load pytorch mode: https://docs.djl.ai/jupyter/load_pytorch_model.html
And here is jupyter notebook about how to create translator and load a pytorch BERT model: https://github.com/deepjavalibrary/djl/blob/master/jupyter/pytorch/load_your_own_pytorch_bert.ipynb

repo: deepjavalibrary/djl


text:
Detectron2 checkpoint state

Hi,
when I load a trained model, i get the following message from detectron:
Warning: The checkpoint state_dict contains keys that are not used by the model:
fc1000.{bias, weight}
stem.conv1.bias
Iam just wondering if this is expected?
Thanks in advance,
cheers,
M

Hi again,
issue is solved. The message only appears when loading ImageNet weights.
/M

repo: deeplearning-wisc/vos


text:
Support separable convolutions (2d)

Issue Description
Separable convs chain two special 2d convolutions, one depth-wise, one point-wise. Would be awesome to have this as an op in our backend, since it's very useful for many CV application we have in mind.

Not sure where this appeared first for DL, since this has been around for ages in computer vision... here are a few pointers:
Starting with slide 26: https://bcb9f395-a-8ac90a7d-s-sites.googlegroups.com/a/vanhoucke.com/vincent/publications/vanhoucke-iclr14.pdf?attachauth=ANoY7cr2M1S6WfWyERbUflUntDcGrDH5G-EKP0uhoE440Y0geCeNwuwHqHDWD-dG_dJv3ShS_OL5gaEZbPvQ0fvs1aQiPVDeAbQ8SHnhdyw3Gis8rfurMQHVcQczYf1Em5iclRCD1jJ4UdnAQ-NrByoKbtUScxugO5jZKoNdvAu_ZXxaigdQ5KTMi1i5EiAzhVAEoErQrea0-pi41mypj1Q0hgX1GRy9FypefF8pVHo3L6J80wJTzSE%3D&attredirects=0
TF impl: https://www.tensorflow.org/api_docs/python/tf/nn/separable_conv2d
related paper: https://arxiv.org/pdf/1610.02357.pdf
keras reference: https://keras.io/layers/convolutional/#separableconv2d

We can close this now I believe?

authors: agibsonccc maxpumperla


text:
Code for the next steps

Hi and congratulations for the nice work !
I was wondering whether you intended to also give access to the code that does operations with the latent modulations, i.e classification or generation tasks once the INR is trained. Besides, do you have recommendations to efficiently train a classifier or generator based on the modulations ?
Thanks for you help !

Hi, thanks! The TLDR is unfortunately we don't have plans to open source code for classification/generation, but here below is some explanation of why this is:
So the code for the classification of voxels used in the paper is just an MLP, but unfortunately we couldn't opensource code related to voxels because of some licensing issues of the ShapeNet dataset that clashes with opensoucing DeepMind code.
As for the generation, we relied on an DeepMind internal jax/haiku reproduction of the official DDPM codebase, which was again difficult to opensource from DeepMind. However all the details you need to implement this should be in the appendix of the paper.
In terms of recommendations for training classifiers/generators, I'd say use MLPs for classification and DDPM for generartion, and stick to the implementation details described in the paper!
I hope this answers your questions.

repo: deepmind/functa


text:
Mujoco MATLAB integration

Hi,
For some years I was using the Mujoco Haptix version, which comes with a precompiled MATLAB interface library. The version is not available on your web page or git, therefore I am curious if there are any plans for the future, for the MATLAB interface library to be available as open-source for Mujoco?
Thank you for the reply in advance!

Hi,
We do not use Matlab ourselves, but we could certainly consider open-sourcing the plug-in.
Would you be open to maintaining it as an open-source contributor, or do you just want to use it?

Hi gain, thank you for your reply, just to make it clear, is there a Matlab plug-in that can be used with Mujoco (not Haptix)? I personally would be interested in using it, but I will check with my colleague if he would be interested in maintaining it because he is very involved with the Matlab development.
Br.

A Matlab mex plug-in is available for MuJoCo 2.0 for Windows (mjx.cpp in the sample/ directory) and can be found in the roboti.us legacy downloads page. We currently do not support this plug-in, but we could consider helping external maintainers who wish to support it.

Hi,
Let us know if you've made any progress with this, we'd be happy to help.
Closing this issue in the meantime.

authors: AlKramb yuvaltassa

repo: deepmind/mujoco


text:
Fine-tune Problem

I have a pre-train model implemented in Sonnet. How do I fine-tune the model on another dataset?
For specific, how do I freezes variables or apply different learning rate for some layer, and add new layer on the top of the model?

Hi @RlChen0, the simplest way is to only request gradients to variables you want to train (e.g. use module.trainable_variables instead of tape.watched_variables()):
pretrained = snt.nets.MLP([300, 100, 10])
finetune = snt.nets.MLP([100, 10])

def forward(x):
  x = pretrained(x)
  x = tf.nn.relu(x)
  x = finetune(x)
  return x

x = tf.ones([1, 1])
with tf.GradientTape() as tape:
  y = forward(x)
  loss = tf.reduce_sum(y)

params = finetune.trainable_variables
grads = tape.gradient(loss, params)

If this is cumbersome (e.g. you are using a library which itself calls tape.watched_variables() or you don't have one module encapsulating what you want to finetune) then you can use a context manager to stop gradients being computed for specific parts of your forward pass:
def forward(x):
  with snt.custom_variable_getter(tf.stop_gradient):
    x = pretrained(x)
  x = tf.nn.relu(x)
  x = finetune(x)
  return x

with tf.GradientTape() as tape:
  y = forward(x)
  loss = tf.reduce_sum(y)

params = tape.watched_variables()
grads = tape.gradient(loss, params)

I put an example together in this Colab: https://colab.research.google.com/gist/tomhennigan/acf921df9a7e7dbbfd431414fd408fcb/example-of-selecting-variables-for-optimization.ipynb

Perfect solution to my problem.Thanks, Tom, you always help a lot.

Hi, Tom. I'm still confused about how to apply different learning rates.
Is there a way to do something like this?
pretrained = tf.saved_model.load(model_path)
finetune = snt.Linear(100, name='finetune')

opt1 = snt.optimizers.Adam(learning_rate)
opt2 = snt.optimizers.Adam(learning_rate *  10)

opt1.apply(pretained_grads, pretrained_params)
opt2.apply(finetune_grads, finetune_params)

Hi @RlChen0 , sure you just need to separate the gradients for pretrain and tune, the easiest way is to do this when you call into tape.gradient. Here is an example: https://colab.research.google.com/gist/tomhennigan/f6bf5520995e08fe54ade0736af9443b/example-of-selecting-variables-for-optimization.ipynb#scrollTo=WmcE3abMvMW2

Hi @RlChen0 , apologies it has been quite a while since I've used TF. Yes your suggestion would work, you can also query one of the traced functions on the restored model for the parameters it uses, that might be a bit more robust (e.g. it would work even if you change the names):
https://colab.research.google.com/gist/tomhennigan/43509a6d9156cf658666d6e158b557f6/example-of-selecting-variables-for-optimization.ipynb

repo: deepmind/sonnet


text:
permissionHandler.onClientConnect?

Since isValidUser has been moved to authenticationHandler there is no easy way to know in the permissionHandler whether a client has been connected (and authenticated).
Could we have a  onClientConnect in the permissionHandler?

That data is provided within the authData params:
this._options.permissionHandler.canPerformAction(
socketWrapper.user,
parsedMessages[ i ],
this._onPermissionResponse.bind( this, socketWrapper, parsedMessages[ i ] ),
socketWrapper.userData
);
Which is set by the auth handler during login.

That's not quite what I mean but it can be accomplished through that yes.

authors: ronag yasserf


text:
[Bug] NotImplementedError when running Docker deezer/spleeter:conda

[x] I didn't find a similar issue already open.
[x] I read the documentation (README AND Wiki)
[x] I have installed FFMpeg
[x] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description
When running docker image deezer/spleeter:conda I encounter a NotImplementedError when trying to seperate an audio file.
Step to reproduce

Executed the following command: docker run -v $(pwd)/output:/output -v $(pwd)/input:/input deezer/spleeter:conda separate -o /output /input/audio_example.mp3

Output
Traceback (most recent call last):
  File "/opt/conda/bin/spleeter", line 11, in <module>
    sys.exit(entrypoint())
  File "/opt/conda/lib/python3.7/site-packages/spleeter/__main__.py", line 250, in entrypoint
    spleeter()
  File "/opt/conda/lib/python3.7/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.7/site-packages/spleeter/__main__.py", line 131, in separate
    synchronous=False,
  File "/opt/conda/lib/python3.7/site-packages/spleeter/separator.py", line 382, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/opt/conda/lib/python3.7/site-packages/spleeter/separator.py", line 325, in separate
    return self._separate_librosa(waveform, audio_descriptor)
  File "/opt/conda/lib/python3.7/site-packages/spleeter/separator.py", line 263, in _separate_librosa
    outputs = self._get_builder().outputs
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 318, in outputs
    self._build_outputs()
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 501, in _build_outputs
    self._outputs = self.masked_stfts
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 342, in masked_stfts
    self._build_masked_stfts()
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 465, in _build_masked_stfts
    for instrument, mask in self.masks.items():
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 336, in masks
    self._build_masks()
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 449, in _build_masks
    instrument_mask = self._extend_mask(instrument_mask)
  File "/opt/conda/lib/python3.7/site-packages/spleeter/model/__init__.py", line 420, in _extend_mask
    extension_row = tf.zeros((mask_shape[0], mask_shape[1], 1, mask_shape[-1]))
  File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/util/dispatch.py", line 201, in wrapper
    return target(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 2747, in wrapped
    tensor = fun(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 2794, in zeros
    output = _constant_if_small(zero, shape, dtype, name)
  File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 2732, in _constant_if_small
    if np.prod(shape) < 1000:
  File "<__array_function__ internals>", line 6, in prod
  File "/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 3031, in prod
    keepdims=keepdims, initial=initial, where=where)
  File "/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 87, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
  File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 848, in __array__
    " a NumPy call, which is not supported".format(self.name))
NotImplementedError: Cannot convert a symbolic Tensor (strided_slice_4:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported

Environment

OS
Linux

Installation type
Docker

RAM available
4GB

Hardware spec
N/A

I get the exact same error running spleeter separate ... in conda-installed Spleeter on Windows machine.

Hi @niekvb,
thank you for reporting this issue.
Indeed there seems to have an issue which seems to be linked to an incompatibility between tensorflow and numpy versions (as mentioned in this SO post).
We'll investigate the issue. In the meantime, a workaround is to downgrade numpy to 1.18.5:
pip install -U numpy==1.18.5

Note that this is the numpy version that will be used by pip when installing spleeter through pip, so you can also upgrade spleeter with pip:
pip install -U spleeter

FWIW I suspect the fix for this is https://github.com/tensorflow/tensorflow/pull/47957.

authors: niekvb nj-vs-vh risicle romi1502

repo: deezer/spleeter


text:
[bug] GetTimeStamp should return time.Time

Now that type generation uses time.Time instead of string for the timestamps, when revising to another version the timestamp should be updated to reflect the type changes.

Hi there!
I've identified the location in the code where the correction is needed. The GetTimeStamp function is implemented in the timestamp.go file within the utils directory. Currently, it returns a string, but to align with recent type changes, it should return a value of type time.Time instead.
Here's a suggested correction:
import "time"

func GetTimeStamp() time.Time {
    return time.Now()
}

repo: defenseunicorns/go-oscal