feat: add more samples

This adds a ton more examples including:

Input elements like switch or text-field with v-model binding
Base components to provide reusable and styled elements as an intermediate solution until CSS styling is available
Bonus: Use of FontAwesome icons

Example usage of Titanium elements:
Structural views

[x] View
[x] ImageView
[x] ListView
[x]  TableView
[x]  ScrollableView
[x]  ScrollView
[x]  WebView

Input elements

[x] Switch
[x] Slider
[x] Button
[x] Picker
[x] TextField
[x] TextArea

Utility / Other

[x] ActivityIndicator
[x] MaskedImage
[x] ProgressBar
[x] RefreshControl
[x] SearchBar
[x] Toolbar

Dialogs

[x] Alert
[x] Confirm
[x] Prompt
[ ] Options
[x] Custom dialogs

Platform specific
Android:

[ ] CardView
[ ] ProgressIndicator

iOS

[x] BlurView
[x] Stepper
[x] TabbedBar

Navigation views

[x] TabGroup
[ ] NavigationWindow

Vue.js specific examples:

[ ] Two-way binding with v-model
[ ] Window routing and nested routes

Merging the current state. Currently missing and future examples will be added separately.


smartgaps on default hyprland.conf

smartgaps should be included as comments by default on hprland.conf. they should also have their own page on the wiki that is easy to find.
Describe your PR, what does it fix/add?
makes easier for users to setup their configs
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
i spend 20 minutes searching around until i find the mention that was kinda hidden on a page on the wiki about something else.
Is it ready for merging, or does it need work?
i think so, maybe the 2 comments that i did need to be changed.

why? Wiki exists.

I don't have a proper statistics, but there are 739 issues with config from systeminfo listed, and out of them, 155 have no_gaps_when_only mentioned somewhere.
So a fifth of people (likely) have this options in their config for some reason, despite it, as far as I can tell, never been mentioned in the default config.
This, of course, is just a rough estimate, but I think a good number of people would want this option anyway, so mentioning how to do it in the default config seems like it'll save them time setting things up.
Case in point https://github.com/hyprwm/Hyprland/issues/8114

oke, but the formatting here is totally bonkers. I'll just add it myself.


Incorrect resource ordering / dependency

Hi
I get this when creating database with the module:
Error: /Stage[main]/Main/Influxdb::Database[librenms]/Exec[create_database_librenms]: Could not evaluate: Could not find command 'influx'
Works in second run though.
Puppet looks like this:
class { 'influxdb': }

influxdb::database { 'librenms':
  ensure  => present,
}

I tried adding a require on the database for the class, but I got the same result, so I'm probably missing some resource that isn't explicitly referred to here.

Scrath the port after require not working, it does (but I wrote the wrong thing in it).
Still, would be nice if the module did the dependencies by itself.

We'll fix that quickly :)

Hi,
The database creation now require Class['influxdb'].


Bonsai Parser, tested on Resnet18, Resnet50 and U-net

TBA: comparing outputs with the original pytorch models, correcting non linear function locations, adding optional non-separate batch norm layers.
Note: BonsaiParsedModel is a class that makes writing to *.cfg files redundant, although it also supplies that functionality.
Note 2:  Added tensorflow to requirements.

Codecov Report

Merging #15 into dev will increase coverage by 1.3%.
The diff coverage is 16.44%.

@@           Coverage Diff            @@
##              dev     #15     +/-   ##
========================================
+ Coverage   77.19%   78.5%   +1.3%
========================================
  Files          28      28
  Lines        1675    1628     -47
========================================
- Hits         1293    1278     -15
+ Misses        382     350     -32

Impacted Files
Coverage Δ

bonsai/modules/bonsai_parser.py
17.27% <14.38%> (-3.54%)
:arrow_down:

tests/test_bonsai.py
87.5% <38.46%> (-3.86%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1309d4...fd8265d. Read the comment docs.


specify tag

below will cause "detached HEAD".
$ git checkout verilator_3_904
Note: checking out 'verilator_3_904'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 02530172... Version bump
$ git status
HEAD detached at verilator_3_904
nothing to commit, working tree clean

Related issue:

Type of change: bug report | feature request | other enhancement

Impact: no functional change | API addition (no impact on existing code) | API modification

Development Phase: proposal |  implementation
Release Notes

Can one of the admins verify this patch?

Is there anything particularly undesirable with the (temporary) Verilator repo being in detached HEAD?

detached HEAD(is same main branch) cause undesirable like below link
https://github.com/ekiwi/pynq/issues/1

Hi, developers. Can the verilator dependency upgrade from v3.904 to v3.924 or other newer version?
v3.904 have some conflicts with the latest systemC (2.3.2)?
Thanks a lot.

Could you check if all the Chisel unit tests still pass with v3.924 or a newer version?


AI Tour Workshop Updates

Updated docs/ with workshop/docs folder for AI Tour Workshop guide
Updated docs/ with workshop/src folder for AI Tour Workshop labs
Updated infra/hooks with script to fix access roles post-provisioning
Updated devcontainer with mkdocs to support local guide preview

cc @cassiebreviu for quick review before merge

Merging since changes are primarily to docs - next PR will update the README to reflect architecture changes and add a note to indicate that sample is evolving quickly (recommend waiting for stable version before submitting new issues)


Generalized support for fluent chains

This is a master issue describing an architectural change that would fix many individual bugs
Thesis

Humans recognize expressions known as call chains or fluent chains

A chain may not align with an evaluation-oriented AST
A chain is rooted on an arbitrary expression
A chain has one or more links following the root, each containing

A dereference operator {., ?., ::, ?::}
A member name
0 or more left-associative operator-like terms {call, array access, !!, ++, etc.}

Humans want chains to fit on one line

But if it won't fit, they want a break at each link
And if a chain ends in a call-link, they perceive that call to be block-like

Unless the member name would exceed the line length limit

Humans recognize typenames (including static members) as distinct from the following links of a chain

Typenames (and static members) should break separately from other links

Points of clarification

All qualified expression are fluent chains but not all fluent chains are qualified expressions. A qualified expression has no operators (e.g. a.b.c) (well maybe it has single calls because the AST is strange (e.g. a.b().c) but I consider that an artifact). A fluent chain may contain operators (e.g. a.b[0]!!.c(1)(2))
Chains often don't look like a chains in the AST. My example looks something like:

CALL
  QUALIFIED `.`
    POSTFIX `!!`
      ARRAY_ACESS
        QUALIFIED `.`
          NAME `a`
          NAME `b`
        NUMBER `0`
    CALL // Making this a child of QUALIFIED is super strange IMO
      NAME `c`
      NUMBER `1`
  NUMER `2`

Blocklike means a pair of paren-like symbols where the closing paren aligns with an earlier/outer piece of syntax. This is the intuitive behaviour of the } in an if statement. Imagining the { ... } as a syntax level, the { is "cheating" to stay on the same line as the if condition.

// This is blocklike
all.these(names).fitOn[0].oneLine(
  but = theseDont,
)
// Notice the alignment of this paren

// Here's what would happen if it were expression-like
all
  .these(names)
  .fitOn[0]
  .oneLine(
    but = theseDont,
  )
// We need a structure that morphs between the two states depending on the lengths of the links.

See also

https://github.com/facebookincubator/ktfmt/pull/294 Proposal PR
https://github.com/facebookincubator/ktfmt/issues/297 Generalization of blocklike behaviour for calls, which is important for this proposal

This was at least partially addressed by f19bd22a97f5922168c1c32399c4efaac9ebdc7a (for ::) and c7fffbeac65e15a897d6fae09a4ce82bf7cd01be (for !! and other cases). I'm unsure how many issues remain though, so keeping this open.

I'll close this now (as it's old) assuming you agree with me, but feel free to reopen in case you think we should keep this issue around to track things, but please do write something here to clarify what are the remaining issues you see and expect to be worked on

I'm mostly satisfied with the current output, although I find the implementation hard to follow. I had proposed an intermediate representations for fluent chains (a separate class) but that never went anywhere.

One part that we might need to reconsider is block-like trailing lambdas. e.g.
foo.bar(a, b).bip<T>.callback {
  ///
}

I pushed for this in the original design because it looked better for "short" cases, but we've gotten a few bugs recently where "long" cases cause weird wrapping. e.g.
foo.bar(a, b).buuuuuuuuuuuuuuuuuuuuuuuuuuuuup<T>.callback<
  Foo,
  Bar
> {
  ///
}

A constraint on chain length or chain composition might be needed.


GEOMESA-1043,GEOMESA-1042 Adding tracking and progress to tools inges…

…t, redirecting stacktraces to logs in tools ingest
Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

You now get lovely status bars in both local and ingest mode like so:
[=======================================================>    ]  95% 00:05:42

@jahhulbert-ccri think i should add running counters of succeeded/failed?

e6ff42741fca97bb741f7a067f2fb5c873e6e054


Enhancement on text field auto-completion

Coverage increased (+0.005%) to 79.995% when pulling b09fd5f1ad6f82d3b02fc6a977db5297ce9c8d40 on dalessr:branch_last_version into 3532ed77788ef6fb856b085ddd9f8ace7426b66b on CS2103AUG2017-W09-B3:master.


Windows Server 2022 Image Version: 20230425.1 Pester test fails for 'Component.MDD.Linux.GCC.arm'

Description
I have been attempting to build the latest Windows Server 2022 Image using the packer build and content in the runner-images GitHub repo and the Pester test for Component.MDD.Linux.GCC.arm is failing as it is not being found in the collection.
Below is the error message received:
azure-arm.vhd:    [-] Component.MDD.Linux.GCC.arm 432ms (428ms|3ms)
azure-arm.vhd:     **Expected 'Component.MDD.Linux.GCC.arm' to be found in collection @('android', 'Component.Android.Emulator.MDD', 'Component.Android.NDK.R23C', 'Component.Android.SDK.MAUI', 'Component.CPython39.x64', 'Component.Dotfuscator', 'Component.HAXM.Private', 'Component.Linux.CMake', 'Component.Linux.RemoteFileExplorer', 'Component.MDD.Android', ...259 more), but it was not found.**
azure-arm.vhd:     at $installedComponents | Should -Contain $ComponentName, C:\image\Tests\VisualStudio.Tests.ps1:22
azure-arm.vhd:     **at <ScriptBlock>, C:\image\Tests\VisualStudio.Tests.ps1:22**

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
OS Version: 10.0.20348 Build 1668
Image Version: 20230425.1
Is it regression?
N/A
Expected behavior
The Pester test should pass as I am not modifying the PowerShell script and using the runner-image packer build as-is.
Actual behavior
Pester fails as indicated in problem description.
Repro steps
Step 1. Follow instructions in the runner-images repo to build/create an image using packer.
Step 2. Execute image build
Step 3. Receive error message when Pester test is run,

The issue has self-resolved.


Smaller Step Size

Is it possible to reduce the step size any more?  I'm trying to scan UK CB40 (27.60125, 27.61125.... etc) but I can't directly enter or scan as these seem to fit outside of all steps?
Is this possible with firmware changes?

Yes. Look at https://github.com/amnemonic/Quansheng_UV-K5_Firmware/blob/main/uvmod_kitchen/mod_custom_steps.py

How can I implement this? Is this already part of the nodded firmware? Can I upload just this modification?
Greetings?

uvmod_kitchen is a tool that allows you to make your own modified firmwares with only what you want.
Look at the README file at https://github.com/amnemonic/Quansheng_UV-K5_Firmware/tree/main/uvmod_kitchen

Is it possible to provide some compiled binaries with this frequ. steps added and more microfon gain levels?

Closing this issue since a firmware with smaller steps has been provided.


JettyServerUtil fails to insert handlers if the handler is a HandlerCollection wrapped in a HandlerWrapper

Actual behavior (the bug)
If the server har a StatisticsHandler which contains a HandlerCollection,
https://github.com/tipsy/javalin/blob/master/src/main/java/io/javalin/core/util/JettyServerUtil.kt#L104
will try to invoke HandlerWrapper.insertHandler(). This method however fails if any handler it finds is not a HandlerWrapper with IllegalArgumentException("bad tail of inserted wrapper chain")
Expected behavior
It should find the wrapped collection and add itself to the list.
To Reproduce
var statisticsHandler = new StatisticsHandler();
statisticsHandler.addHandler(new HandlerList());
server.setHandler(statisticsHandler);

Additional context
This could be considered a bug in Jetty:
https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-server/src/main/java/org/eclipse/jetty/server/handler/HandlerWrapper.java#L118
This method is supposed to insert the wrapper between a given wrapper and it's child wrapper, but feels the need to resolve the chain, and insert before last element in the chain. If however the last element in the chain is a HandlerCollection it throws an exception, because it's not a HandlerWrapper.

@eoftedal Thanks, seems you've done the hard work already. Would you like to submit a PR?


UI is broken after update

Environment data

VS Code version: 1.57.1
Jupyter Extension version (available under the Extensions sidebar): v2021.6.999662501
Python Extension version (available under the Extensions sidebar): v2021.6.944021595
OS (Windows | Mac | Linux distro) and version: Mac OS Big Sur
Python and/or Anaconda version: python3.7.3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local | Remote | N/A: Local or Remote

I am getting multiple issues after notebook has updated.

First of all, edges of cells are barely visible with Atom theme (they were visible before). The view is really strange and seems like I am getting less cells in my screen...
Numbers on Y and X axes are not visible
The most annoying thing which literally is breaking for me - a solid 0.5 second delay before starting scroll. Scroll feels laggy and irresponsive now.
Existed shortcuts were lost. My shift + enter doesn't work anymore

Is there's a way to downgrade? It is not usable by now. Really waiting for fixes, this UI might be pretty nice after resolving issues.
P.S. Hope cmd+z is fixed it this version

BTW it's really unpleasant to read your code when it is flatten from top and bottom with text and icons. You have made strange UI, in some places there is too much padding, on other places too little. Press Enter to execute the cell should be removed

I don't even know what's going on here


Edit On  Links

Currently, we're able to include links in our documentation for editing on GitHub.
It'd be fantastic to have a similar option for editing on GitLab/BitBucket/VSTS.

Hello, I added a way to support your use case, you can use it with the following configuration:
{
    "html": {
        "edit_on": {
            "name": "Bitbucket",
            "basepath": "https://bitbucket.org/onigoetz/daux.io/src/master/docs"
        }
    }
}

This is only available in the development branch for the moment.

Perfect! Thank you! :)


Deadlock in MapDataset

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
no

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 14.04

TensorFlow installed from (source or binary): source

TensorFlow version (use command below):
95d90ab2e0994127ffc42b80e16a3f532895cf6d

Bazel version (if compiling from source):
0.5.0

CUDA/cuDNN version:
None

GPU model and memory:
None

Exact command to reproduce:
python map_dataset_op_test.py

Describe the problem
The process hangs forever
Source code / logs
Below is from map_dataset_op_test.py:
"""Tests for the experimental input pipeline ops."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import numpy as np

from tensorflow.contrib.data.python.ops import dataset_ops
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import errors
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import data_flow_ops
from tensorflow.python.ops import lookup_ops
from tensorflow.python.ops import math_ops
from tensorflow.python.ops import random_ops
from tensorflow.python.ops import string_ops
from tensorflow.python.ops import variable_scope
from tensorflow.python.platform import test

class MapDatasetTest(test.TestCase):

  def _buildParallelMapDataset(self, components, count, num_threads,
							   output_buffer_size):
	def _map_fn(x, y, z):
	  return math_ops.square(x), math_ops.square(y), math_ops.square(z)
	return (dataset_ops.Dataset.from_tensor_slices(components).map(
		_map_fn, num_threads=num_threads, output_buffer_size=output_buffer_size)
			.repeat(count))

  def testParallelMapDataset(self):
	"""Test an dataset that maps a TF function across its input elements."""
	# The pipeline is TensorSliceDataset -> ParallelMapDataset(square_3) ->
	# RepeatDataset(count).
	components = [np.arange(7),
				  np.array([[1, 2, 3]]) * np.arange(7)[:, np.newaxis],
				  np.array(37.0) * np.arange(7)]
	count = array_ops.placeholder(dtypes.int64, shape=[])
	num_threads = array_ops.placeholder(dtypes.int32, shape=[])
	output_buffer_size = array_ops.placeholder(dtypes.int64, shape=[])

	dataset = self._buildParallelMapDataset(components, count, num_threads,
											output_buffer_size)
	iterator = dataset.make_initializable_iterator()
	init_op = iterator.initializer
	get_next = iterator.get_next()

	self.assertEqual([c.shape[1:] for c in components],
					 [t.shape for t in get_next])

	with self.test_session() as sess:
	  def do_test(num_threads_val, output_buffer_size_val):
		# Test single-threaded access to the iterator.
		sess.run(init_op, feed_dict={
			count: 14,
			num_threads: num_threads_val,
			output_buffer_size: output_buffer_size_val})
		for _ in range(14):
		  for i in range(7):
			result = sess.run(get_next)
			for component, result_component in zip(components, result):
			  self.assertAllEqual(component[i]**2, result_component)
		with self.assertRaises(errors.OutOfRangeError):
		  sess.run(get_next)

		# Test multi-threaded access to the same iterator.
		sess.run(init_op, feed_dict={
			count: 18,
			num_threads: num_threads_val,
			output_buffer_size: output_buffer_size_val})
		results = []
		def iterator_thread():
		  while True:
			try:
			  results.append(sess.run(get_next))
			except errors.OutOfRangeError:
			  return
		threads = [self.checkedThread(target=iterator_thread) for _ in range(8)]
		for t in threads:
		  t.start()
		for t in threads:
		  t.join()

		# `results` will contain the same elements components**2
		# repeated 18 times, but in a non-deterministic order. Sort the
		# results, and assert that each element of components**2 is
		# produced 18 times.
		results.sort(key=lambda x: x[0])
		for i in range(7):
		  for j in range(18):
			for component, result_component in zip(components,
												   results[i * 18 + j]):
			  self.assertAllEqual(component[i]**2, result_component)

	  for num_threads_val, output_buffer_size_val in [
		  (1, 1), (1, 2), (2, 2), (2, 4), (8, 8), (8, 16)]:
		do_test(num_threads_val, output_buffer_size_val)

if __name__ == "__main__":
  test.main()

bt.txt

(gdb) thr 14
(gdb) f2
(gdb) p *mutex
$2 = {__data = {__lock = 2, __count = 0, __owner = 28288, __nusers = 1, __kind = 0, __spins = 0, __elision = 0,
	__list = {__prev = 0x0, __next = 0x0}},

This mutex is owned by LWP 28288. (Thread 12),  which is waiting the output_buffer_ to be non-empty.

@snnn : Could you reduce your sampler to something simpler? (Among other things, seems like you're running multiple groups of threads, if you can reduce it to the smallest example that demonstrates the failure, that will be helpful)
CC @mrry

This is definitely a real bug, which I suspect arises because you have 8 or fewer cores on the machine where you're running the test. The issue is that the current implementation of the IteratorGetNext op is a synchronous OpKernel but it can block an inter-op threadpool thread, and the unblocking action may require the use of another inter-op threadpool thread. The default threadpool size is the number of cores in your machine.
I'm working on a fix, but there are two short-term workarounds:

Increase the size of the inter-op threadpool when you create the session using tf.ConfigProto. Setting it to (maximum number of concurrent get_next() ops) + 1 (i.e. 9 in this case) should address the deadlock.
Reduce the number of concurrent get_next() calls to (number of cores) - 1.

The true fix will involve rewriting IteratorGetNext as an AsyncOpKernel, which I'm working on now....


🏷 » new icons: more variety for typescript icons

Icon Type

[ ] Folder
[x] File

Add more typescript icons:

[x] common
[x] constants [const]
[x] utils
[x] types
[x] index
[x] abstract [abs]
[x] interface
[x] factory
[x] model
[ ] dto
[ ] main
[ ] app

#5


Remove OperationsConfig.extendError in the config file

As mentioned in issue #1666, this ticket should move the config setting and refactor related codes.

we can do this, the fix will be to remove the config and any places we were tracking if error V2 should be used.
e.g. look at the CommandResultBuilder where is tracks it, most places we have it will be configured to set the value on the builder.

Makes sense for @Hazel-Datastax  to pick this up


error: opening file '/nix/store/....': No such file or directory on nix store commands

Describe the bug
Some nix commands which operate on the store all return the same error message
error: opening file '/nix/store/pgrnz3yny412l4q8s46kw39jf184gn7q-webcord-vencord-4.9.1.drv': No such file or directory
Steps To Reproduce
Steps to reproduce the behavior:

Run nix-collect-garbage -d, nix-store --gc or nix-store --optimise
Wait for command to finish

Expected behavior
There shouldn't be any error messages and the command should just succeed.
Screenshots

Additional context
/
Notify maintainers
No idea who maintains these commands or the nix store.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.8-zen1, NixOS, 24.11 (Vicuna), 24.11.20240716.ad0b5ee`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.0pre20240709_142e566a`
 - nixpkgs: `/etc/nix/path/nixpkgs`

Add a :+1: reaction to issues you find important.

Not related to nixpkgs, it's a nix thing. And if you're getting these errors you need to do a store repair, you probably have some disk corruption.

Not related to nixpkgs, it's a nix thing. And if you're getting these errors you need to do a store repair, you probably have some disk corruption.

Whats the correct repo for the nix command? I have also tried all different kinds of repair commands for the nix store but none did any change.

I would suggest running sudo nix-store --verify --repair --check-contents as the repair command (exactly as is).
For help/questions you can get more help on discourse.nixos.org, would probably get more attention than asking here IMO.

I would suggest running sudo nix-store --verify --repair --check-contents as the repair command (exactly as is).

I tried the command you suggested. I now get a new error:
error: executing SQLite statement 'delete from ValidPaths where path = '/nix/store/vlkzz3c0ihb0y78c9hvhdpqbi763y4bp-electron-30.0.3.drv';': constraint failed, FOREIGN KEY constraint failed (in '/nix/var/nix/db/db.sqlite')

For help/questions you can get more help on discourse.nixos.org, would probably get more attention than asking here IMO.

I think I'll just reinstall my entire system at this point. Seems like my nix store isn't doing good at all.


How to run code saved in an exp file?

Thank you for your excellent work！I would like to ask you a question, how can I run and save in Pointcept/exp/scannet/semseg-pt-v3m1-0-base/code/?

If you run the provided bash script, it will use the code from that specific folder.

If you run the provided bash script, it will use the code from that specific folder.

Thx


Manually create subRow structure without using a PivotBy

I have an application where I am rendering a directory structure. I have created a recursive rendering using subcomponent and fetch data, where on every pivot expand of the subcomponent, it fetches the data as per the name and the re-renders a new subcomponent.
Here, every time I render the subcomponent I can easily render the whole react-table again. I wish to render just rows. Especially padded rows. No column headers.
I am trying different things while understanding the code.
So far I have tried to use TrComponent, TrGroupComponent, makePadRows directly but nothing has worked.
Sorry for posting a question in issue, any suggestion is appreciated.
Thanks.

Interesting. So basically you want to manually create indented sub rows
with expander arrows?
On Sat, Feb 25, 2017 at 7:28 PM Vaithiyanathan Sundaram <
<EMAIL_ADDRESS>wrote:

I have an application where I am rendering a directory structure. I have
created a recursive rendering using subcomponent and fetch data, where on
every pivot expand of the subcomponent, it fetches the data as per the name
and the re-renders a new subcomponent.
Here, every time I render the subcomponent I can easily render the whole
react-table again. I wish to render just rows. Especially padded rows. No
column headers.
I am trying different things while understanding the code.
So far I have tried to use TrComponent, TrGroupComponent, makePadRows
directly but nothing has worked.
Sorry for posting a question in issue, any suggestion is appreciated.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/98, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFUmCRyJQr3OKDI5_JmycmW9hDUwH3ERks5rgONLgaJpZM4MMNq3
.

Yes. Its a huge directory structure with lot of data integrated as a part of each person. So loading all the data upfront and pivoting them would be a performance issue.
So I made it fetch when click, which is free when I use subcomponent.
Please correct me if my assumptions are wrong:

Pivoting is done on pre-rendered data, i.e. the {data} we insert into ReactTable
I can extend TrRow and TrRowGroup, but cannot use them as a subcomponent.
If I have to pre-fetch data, either I should implement a click handler using your getProps example or async pre-fetch data as soon as the first data is loaded. But the latter would be a bit complex since I have to maintain more states.
If I extend the data state already existing, it would re-render the table with new dataset?

Depending on my assumptions, I can pursue my experiments, if gaps found I am open to contribute back. I have design significant amount of requirements around your table, so I am open to stick to it and help grow :)

Awesome! I'm going to sleep on this and hopefully have a good solution path
for you by Monday :)
On Sat, Feb 25, 2017 at 8:28 PM Vaithiyanathan Sundaram <
<EMAIL_ADDRESS>wrote:

Yes. Its a huge directory structure with lot of data integrated as a part
of each person. So loading all the data upfront and pivoting them would be
a performance issue.
So I made it fetch when click, which is free when I use subcomponent.
Please correct me if my assumptions are wrong:

Pivoting is done on pre-rendered data, i.e. the {data} we insert
into ReactTable
I can extend TrRow and TrRowGroup, but cannot use them as a
subcomponent.
If I have to pre-fetch data, either I should implement a click
handler using your getProps example or async pre-fetch data as soon as the
first data is loaded. But the latter would be a bit complex since I have to
maintain more states.
If I extend the data state already existing, it would re-render the
table with new dataset?

Depending on my assumptions, I can pursue my experiments, if gaps found I
am open to contribute back. I have design significant amount of
requirements around your table, so I am open to stick to it and help grow :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/98#issuecomment-282529982,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCTcS36R430Tv9qFGYHt3X7ASnUdzks5rgPFSgaJpZM4MMNq3
.

Thanks a lot. Just before I let you into that state, some data from my experiments.

I was able to add the data through parallel fetch.
However, since the data is like this:

[
{parent: 'abc', child: 'xyz'},
{parent: 'xyz', child: 'ttt'},
{parent: 'xyz', child: 'zzz'}
]

Now this is good enough, but there is a catch, I want xyz to also be inside the abc's (its parent's) pivot. That doesn't happen now obviously since the data is not like that. And currently AFAIK there is no way to say:
[
{parent: 'abc',
child:  [
{parent: 'xyz', child: 'ttt'},
{parent: 'xyz', child: 'zzz'}
]
}

]

Is that a fair assumption?

I haven't been able to find a good solution for this problem yet.  I've fiddled around with allowing manual subRows, but so far I haven't been able to make it work.  That is most definitely the way the solution needs to go though.  The dataModel logic and the render logic should be able to handle manually assembling your own subRow tree without pivotBy being used.

Thanks a lot of checking.
I did some experiments on my own too. Built a basic table to learn the art
of appending rows like a linked list.
In that process, I found that, may be if the Row and the TrGroup/TrRow
components are exported out, such that I can just add the Row Component as
a subcomponent, would that be helpful?
Which is quoting: "I've fiddled around with allowing manual subRows"
On Tue, Feb 28, 2017 at 11:24 AM, Tanner Linsley<EMAIL_ADDRESS>wrote:

I haven't been able to find a good solution for this problem yet. I've
fiddled around with allowing manual subRows, but so far I haven't been able
to make it work. That is most definitely the way the solution needs to go
though. The dataModel logic and the render logic should be able to handle
manually assembling your own subRow tree without pivotBy being used.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/98#issuecomment-283137137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQSdKYSoRAEzUQx6mMtEZPoFehmQkNmHks5rhHSFgaJpZM4MMNq3
.

I've been thinking about this too for my own needs.
I would love an API that looks something like this.
File directory list as example (This isn't my use case though):
        let data = [
            {
                dirName: "Projects",
                dirPath: "/home/projects",
                dirSize: "40mb",
                children: [
                    {
                        dirName: "project_1",
                        dirPath: "/home/projects/project_1",
                        dirSize: "30mb",
                        children: [
                            {
                                dirName: "sub_1",
                                dirPath: "/home/projects/project_1/sub_1",
                                dirSize: "20mb"
                            },
                            {
                                dirName: "sub_2",
                                dirPath: "/home/projects/project_1/sub_2",
                                dirSize: "10mb"
                            }
                        ]
                    },
                    {
                        dirName: "project_2",
                        dirPath: "/home/projects/project_2",
                        dirSize: "10mb"
                    }
                ]
            }
        ]
    }

    <ReactTable data={data} subrowAccessor={"children"}/>

I'm not sure if this would complicate the library too much.

I know I can make this happen.  Just need to do another pass on it from scratch.  It's just a matter of of:

Recursively accessing the data if needed
Enabling the subRow component view logic for non-pivotBy's with manual subRows

Related: hiding the expander if there is no manual subrow.

This feature would be awesome because I have exactly the same requirement.
I tried several solutions but currently not found the best way to accomplish this.
Using SubComponent to render a sub table is currently the only solution to fulfill somehow the requirement. However it not benefits of the "one-table" advantages like the pivot functionality.
By the way I already tried with pivotBy but I recognised fast that it ends up in a static nested structure.
My data items have an id property:
root.field1
root.field2
root.items.1.field3
root.items.2.field4

So the maximum I can accomplished was a table output like:
- undefined
   - field1
   - field2
- items.1
   - field3
   - field4

Beside the "subRow" method or however strategy, maybe a "dynamic pivot" (or call it table based tree! ;)) could be also a nice feature. So that the nesting are created dynamically per entry. Every item must provide it's parent.
Apropos... I think one picture says everything:

Hi all and @tannerlinsley  sorry its been very very long since I came back to this thread. Apologies for delay.
However, I had some deliverables, so did some of my own solutions, and now ready to contribute back. I am using a combination of plain tables through Semantic UI react and React Table with search.
Essentially here are the features I implemented:

Sementic UI tables contains a linked list tree based remote fetching and caching compatible pivot table that can keep going as long as there is data. The data is driven by the server-side data, by having a flag called is_pivot = true/false.
I haven't completely abstracted to put to use for any use case, but it is clean enough to start patching into React Tables.
On top of it, I am still using your tables for other purposes where the datasets are important to be multi-sorted. Love your shift+ sort options 👍
Now have few questions:

Are your tables responsive to different screen sizes? When I tried rendering in mobile, I saw PaginationComponent wrapped and wasn't stacked.
Would you be interested in providing a plugin (already tested) on top of Semantic UI CSS ?
Would you be okay to accept a search Component (already tested) ?
Finally, need some cues on how to convert the code I have using LinkedList based tree algorithm into your infrastructure.

@vaidsu your questions:

The table is responsive to a certain point (there is no stacking involved, and there are no plans to include responsive stacking in the core of the library). We consider the base styles to be sufficient for the majority use case.
We don't plan on providing any "official" plugins just yet, but I would be more than happy to put an example of it in the Wiki until we a more suitable home for plugins comes to light.
(See above)
We ourselves are still working on a decent way to do manual subRows.  There are a lot of possible answers and use cases for doing so and we want to make sure it will be flexible enough to allow for the majority use case of customization.

@here, we have tested a few ways of accomplishing manual subRows (one of which is easily achieved by changing the subRowsKey to children and just nesting your rows inside of a children key in your rows.  This opened up a pandoras box of edge cases and different uses that we weren't ready to put into v6, so we are going to leave this issue open and keep chipping away at the feature.

I'm not experienced enough in js or html to understand the full detail of what is being discussed here, but I see this as a need for a flexible cell-level subcomponent. That is, the current SubComponent functions at the row level and is very adaptable to all kinds of use cases there. Would it not be possible to design a similar interface at the cell level so that there is an expand icon attached to a cell which passes the cell data to something similar to SubComponent?
In my current case,  each data row includes a cell with an array of 1..n sub-objects. My accessor writes a concatenated list of the names of the sub-objects, and the filter is easily adapted to search the array for any match. I first tried using the SubComponent to show a nested table of the expanded array. That was OK except it's really a cell-level, not row-level expansion, and I needed the row-level expansion for a different purpose (to display an html document generated from the row). So I want to be able to designate a cell as expandable, which will add an icon to the cell which, when clicked, will show a SubComponent which is passed the cell data.
I think what I am suggesting is that you simplify by adding a generic row-level subcomponent rather than building in full functionality from the start.

Just want to comment that this is exactly a feature I'm looking for! Do you think we'll see this feature make into a future release?

I suspect you will, as this is technically being developed, but it won’t be
very soon. :(
On Thu, Jul 6, 2017 at 7:43 AM Rogin Farrer<EMAIL_ADDRESS>wrote:

Just want to comment that this is exactly a feature I'm looking for! Do
you think we'll see this feature make into a future release?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/98#issuecomment-313399836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCdI24WT8Qq_U-HVxk9TSSIaY8Esqks5sLOR6gaJpZM4MMNq3
.

Can we make SubComponent be dynamic?   Currently once SubComponent shows up, it won't go away unless you re-launch the component.
example:
let subComponentAttr = {}
if (this.state.showSubComponent) {
  subComponentAttr = {
    SubComponent: (row) => console.log('showing showSubComponent...')
  }
} else {
  subComponentAttr = {}
}

return (

    <button onClick={this.handleClick}>Click me</button>

    <ReactTable
      data={data}
      columns={columns}
      {...subComponentAttr}
    />

)

@davchang Why not just click the arrow to hide the subComponent?  Or use the fully controlled expanded and onExpandedChanged props?

Thank you for the great open source.  I am now trying to use expanded and onExpandedChanged props.
When an user clicks an arrow, I want to append an empty div just like what SubComponent did.
The snippet is not working.  Am I missing anything?
const columns = [{
Header: '',
accessor: '', // String-based value accessors!
expander: true,
show: this.state.showSubComponent,
getProps: (state, rowInfo, column) => {
return {
className: 'myFoo'
style: {
background: 'yellow'
}
}
}
}, {
Header: 'Name',
accessor: 'name' // String-based value accessors!
}, {
.....
<ReactTable
data={data}
columns={columns}
onExpandedChange={(newExpanded, index, event) => {
return (

It even has access to the row data:

)
}}
/>

This feature request is going into the deep freeze until the next major version. TBD

Was this implemented in any new version?

@pbrandone I don't believe so, I had to go with transforming the data to a flat structure and pivoting on the parent key.

any news here? Has anyone been able to get around this elegantly?

@tannerlinsley can you give us a hope, please?

You will be able to do this in the next version.

@tannerlinsley thanx! I see 7.0.0-alpha.0 already published, but no documentation yet. Can you give the cue what props to use?
Excuse my annoyance.

It's not documented for that reason. The API is still in too much flux. If
you want to to try the alpha you can use the codesandbox in the readme.
On Tue, Feb 5, 2019 at 8:57 AM Shamil<EMAIL_ADDRESS>wrote:

@tannerlinsley https://github.com/tannerlinsley thanx! I see
7.0.0-alpha.0 already published, but no documentation yet. Can you give the
cue what props to use?
Excuse my annoyance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/98#issuecomment-460692215,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCWspBvst227WbBwuZ_4883JYQzDzks5vKanggaJpZM4MMNq3
.

I solved my problem (with version 6.8.6 of react-table) setting up subRowKey prop and adding expander column:
<ReactTable
data={this.props.incidentSteps}
columns={columns}
subRowsKey="child_steps"
@vaidsu did you try it?

I want to display tree-view in column and expand/collapse showing with cell value in same column using react-table. As what i see react-table has tree-view with expand/collapse but not showing with value. Sharing the screenshot what I actually want. Please provide source code in react-table.


Could I build on OSX without XCode?

Runnig ./learnuv make or ./learnuv ninja is always asking for XCode
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

If you're using a Mac with a Mac OS then to use the command line to do a lot of C related things you probably need to at least have the Xcode command line tools installed.  This will probably help with lots of other developer related things anyway so it's probably good to do. This can probably be done with https://www.embarcadero.com/starthere/berlin/mobdevsetup/ios/en/installing_the_xcode_command_line_tools_on_a_mac.html


Handle Enter for IE and Edge. Fixes #305.

Handle IE and Edge adding   instead of <br>.

Wow this is huge just for IE :(
I think we can forget IE10, only IE11 and Edge are to support for me.

Dropping IE10 would save about four lines of code in this case.
While size is important, correct functionality is more important.


Faster Time for same video with different audios?

HI I am running gradio on 4090 rtx, for a 30 seconds audio, for the same video, it is waiting so long everytime, just when audio is different. How can I get faster results for same video?

it uses deepspeech to convert the audio into mapped features and its probs using CPU you can get a 40% decrease in audio conversion time using gpu but i didn't figure out a way to use gpu while not affecting the speed of the frame inference as both perform better on different cuda or torch versions I cant remember which, when I did get the audio on gpu the frame inference was super slow


sqltrie: sqlite: add sqlite version check

At the very least until we implement older versions support (really hope to avoid doing that).

Codecov Report
Patch coverage: 33.33% and project coverage change: -0.24 :warning:

Comparison is base (f3d1e5b) 79.58% compared to head (da5a90f) 79.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   79.58%   79.34%   -0.24%
==========================================
  Files          11       11
  Lines         578      581       +3
  Branches      100       60      -40
==========================================
+ Hits          460      461       +1
- Misses        108      109       +1
- Partials       10       11       +1

Impacted Files
Coverage Δ

src/sqltrie/sqlite/sqlite.py
85.71% <33.33%> (-0.92%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

Ah, looks like still need to add support for older versions. Working on that...


How to correctly use useAsyncStoryblok inside a composable?

In my current setup, I have a special story inside Storyblok editor called site-config that stores all info not directly related to a single webpage but as general info for my entire website, like header and footer info, settings and so on.
At the moment, I'm using this to retrive this Story inside every Vue file where I need to access the relevant data
const siteConfig = await useAsyncStoryblok('config/site-config', {
  version: 'draft',
  resolve_links: 'url',
})
const config = siteConfig.value.content

But it is not really handy and even not too correct to duplicate code like this, so I'm willing to create a custom composable and ue in wherever I need this data.
I tried to create something like this
export const useSiteConfig = () => {
  const siteConfig = await useAsyncStoryblok('config/site-config', {
    version: 'draft',
    resolve_links: 'url',
  })
  const config = siteConfig.value.content

  return config
};

then in my templates using const config = useSiteConfig(), but it's not working.
First of all, to address the problem that 'await' expressions are only allowed within async functions and at the top levels of modules, I edited my composable like this
export const useSiteConfig = async () => {
  const siteConfig = await useAsyncStoryblok('config/site-config', {
    version: 'draft',
    resolve_links: 'url',
  })
  const config = siteConfig.value.content

  return config
};

But even now the data is not retrieved correctly, and Nuxt keeps giving me a 500 error.
Am I doing something wrong? How can I use useAsyncStoryblok inside another composable?

Indeed @stefanobartoletti, you shouldn't use the composables outside the setup. Why? Because we are using the onMounted lifecycle hook to initialize the bridge.
If you want to externalize the API call, you can do it using the other approach, having the useStoryblokApi in your wrapper function and the useStoryblokBridge on the pages setup itself, like in the short-hand equivalent: https://github.com/storyblok/storyblok-nuxt/blob/main/README.md#composition-api

Thanks for your reply @Dawntraoz !
Using useStoryblodBridge in the context of what I need to do is mandatory, or using only useStoryblokApi could be sufficient?
Anyway, thanks for the clarifications 🙏🏻

In the composable you're creating, you will use only useStoryblokApi, indeed!

The bridge should be only added on the page context, where you want to allow RealTime Editing, and it's optional.


Example for flows with schedule

As @uvchik asked for, a jupyter notebook example was added to demonstrate the new feature of adding a schedule to the flow. Also a csv file was added containing the demand for heat.
It's an example for the new feature for oemof.
Necessary imports are:

pandas
oemof
datetime
matplotlib

Thank you for providing your example. It looks really good. Could you just add a simple sketch of the energy system. You can use ASCII code as in the basic_example but as you do have a notebook you can also add a simple block diagram. Thanks in advance.

Thank you. I will merge it into the solph-v0-4-examples branch. This branch will be merged once solph v0.4.0 is released.


Remove and clean up fallback sender implementations

Remove fallbacks that are removed in P2300 that were still there in later revisions of P0443 (e.g. 14). Specifically:

completely removes submit
makes execute a "plain" algorithm, i.e. removes the fallback using submit, it only dispatches through tag_dispatch overloads
removes the fallback of connect using as_operation etc.
removes the fallback of schedule using as_sender, connect, etc.

I think this should be ready to go now, but I'd like to give #5283 priority to be merged.

retest cscs


add COMB support

Thank you!

This is a proprietary command supported in several commercial FTP server such as Titan, GlobalSCAPE etc. It is useful for local files but useless for S3/GCS/Azure backends.
I have almost finished my TODO. The last thing is ABOR support. This will change the server logic and should be reviewed and tested carefully.
I think for some optional interface could be useful to return a well know error and handle the request ourself in this case.
I mean something similar to this: if the ContentTyper interface implementation returns ErrNotImplemented the library will use its internal implementation. In our case it could be useful for hash, for example:

you implement the Hasher interface
if the hash is md5 and the backend is gdrive you fetch the hash in your application
if you return ErrNotImplemented ftpserverlib will calculate the hash itself so you don't have to duplicate the library code in your application to calculate the hash for local fils.

Other minor things that I could contribute in future:

ModeZ
Allow to customize login ok and login fail messages (multilines)
Ensure that the active data connection will be started from the same IP as the control connection (configurable)
CISD command support


Add REPCA, REECB, REGCA

To do:
Documentation

@rodrigomha this PR is now too big. We should merge as it is and address some of the pending improvements in subsequent PR's

Agree with this. Let's go with the merge and we'll fix some of the remaining issues in future PRs


Today button returns current seconds

Environment

Tech
Version

@material-ui/pickers
v3.2.7

Peer library
date-fns

Steps to reproduce
Hi,
When we enter time, the input is usually having the seconds as 00. I also couldn't find an option to show seconds (we don't need that feature really 😄).
What is happening now is we are very particular to always having 00 as the seconds in our times. The only place when that is happening is when the user clicks today which I believe returns new Date() and that has whatever seconds we currently have at the moment.
Expected behavior

Is it possible to have today button to return the current date and time with 00 seconds since when we manually enter date/time it is always 00 seconds.

Keep up the good work and thanks!
(PS: I hope my gif has loaded)

Fixed in v4 already


creating a NPM debug image

Reason for Change:

Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

/azp run

are you trying to ship this? is there a reason kubectl debug isn't good enough?


Check client endpoints and ensure that they are not returning Task

Twitter almost always return a payload.
Sometimes it returns an updated version of the object.
It could be useful for developers to have access to such updated object without performing a 2nd request.
Check all the endpoints and return what Twitter is returning instead of a simple Task wherever possible.
Operations that actually perform verifications could be avoided for the sake of cohesion (e.g. Lists.CheckIfUserIsSubscriberOfList for which twitter returns the TwitterList or actually returns a 404).

[ ] AccountActivity
[ ] AccountSettings
[ ] Auth
[ ] Help
[ ] Lists
[ ] Message
[ ] RateLimits
[ ] Search
[ ] Stream
[ ] Timelines
[ ] Trends
[ ] Upload
[ ] Users

AccountActivity

DeleteAccountActivityWebhook - Normal Task kept


Remove version: Jackett.Jackett version 0.20.2679

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.2679/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


boss please make flux1-schnell GGUF model

please make flux1-schnell GGUF model. thanks

Here you go chief https://huggingface.co/city96/FLUX.1-schnell-gguf

thank you so much


Bump version to fix git vurnerability

Github published security advisory which describes high severity bug in git client. A new resource version will install the latest version of git client GHSA-qm7j-c969-7j4q

Hey @raghu999 and thanks for the heads up!
I've re-triggered the automated build on Docker hub  for the latest commit on master, and get the following git version on the current dev tag (latest is on 2.18.1):
$ docker run teliaoss/github-pr-resource:dev /bin/sh -c "git --version"
git version 2.18.4

Seems like the fix was introduced in 2.18.3, so based on the above a new patch release of github-pr-resource should trigger the automated builds and bring latest to a good state. Will do that now :+1:

I've released v0.19.2 now and latest is currently running Git 2.18.4. For the record the credentials helper is not used by this resource, so we were not affected by the above vulnerability specifically, but keeping up with patch releases is a good idea anyway 🙌
Closing this issue now since it has been resolved. Thanks again!


Not able to set/get the datetimepicker options dynamically

Once the datetimepicker has been initialized, I am not able to re-set or modify any of its option dynamically.
I tried using the object which gets stored as "data" attribute :
$("#element_id").data("xdsoft_datetimepicker").setOptions({...});
It seems like if we change only single option say "allowTimes", it will reset all the remaining options ("format", "formatDate", "formatTime" etc.) to its default value. So in this case, I have to re-initialize datetimepicker by specifying same option list again which is not at all a valid use case. Flexibility should be given to developer to set any parameter dynamically.
So to handle such case, there should be some method to get/set any options dynamically without re-setting rest of the options.

Add a getter method to the js file. I added the below just before datetimepicker.getOptions = function (_options) {...}
datetimepicker.getOptions = function (_options) {
	return options;
}

Call .getOptions() to get an object with full list of options.
I wonder why a trivial function like this was not available out of the box! The developer must have had something in mind, probably cases that I may not have thought about..?!

The options can be retrieved like this:
var options = $(input).data("xdsoft_datetimepicker").data('options');


Python 3 dependency bloat

The closure of the Python 3 package is much bigger than Python 2:
$ du -sch $(nix-store -qR $(nix-build -A python27))
110M    total

$ du -sch $(nix-store -qR $(nix-build -A python34))
269M    total

This is primarily due to the dependency on TCL/TK, which pulls in libX11 and other X11 libraries.

Yup. Python 2 has pythonFull with all modules, Python 3 has all modules builtin.

Maybe we could have a python34Full equivalent to pythonFull? Or alternatively, put the tcl/tk stuff in a separate output. (Maybe the multiple-outputs branch already does that, @vcunat?)

I don't think separate output will help with Python modules, since nothing will reference it. It will essentially work the same way as current modules (as separate derivations) need to be specified explicitly.

I think that's true. IIRC in that branch I was just fixing up the code to find python's dependencies.

(triage) So do we need to change anything?

Domen wrote it exactly, I believe. I think we shouldn't default to python3 before splitting it #18185.

New figures as of 16.09 are in https://github.com/NixOS/nixpkgs/issues/19255#issuecomment-251941739

In staging:
$ du -sch $(nix-store -qR $(nix-build -A python27))
22M     /nix/store/23vndix3mzcyw84kag06h8fh464g32nq-glibc-2.24
3.4M    /nix/store/4vq58j5cdpwpxmw2272kp3g9l9g8h71v-openssl-1.0.2j
100K    /nix/store/bjcyhbv746jklqb34k0sl34vkgz9n2r5-attr-2.4.47
108K    /nix/store/caz03y58cyrqn4i5ckdw4i21g9sdjb18-zlib-1.2.8
584K    /nix/store/cx5q5z8gpvlw323ycrsdbml8b2sq1dc4-gdbm-1.12
12M     /nix/store/p4zgz3jkfkm5rd48d7mwn9x8gjrz04nv-ncurses-6.0
400K    /nix/store/d2ycd6zq2rnzxbwwhspp5hvylv3b6qvp-readline-6.3p08
140K    /nix/store/n4772agrh2d5zhdr4902410zyqwj9ln4-acl-2.2.52
11M     /nix/store/ip4rh8n3p6ajnnf584wm2qj2x3ak73i8-coreutils-8.25
84K     /nix/store/iqp3bknzw3m3m8fbcwvgkjz6gra28pln-bzip2-<IP_ADDRESS>.1
4.8M    /nix/store/kdi9rs18zcpkx62wxxcn4m4km7dq38mj-gcc-5.4.0-lib
4.4M    /nix/store/nl0j7zjk555f38aw9jvh4hbxc2pnd8j8-db-5.3.28
952K    /nix/store/s7xrn3w9kadm3azl1yxws0bcq2azn7ns-sqlite-3.14.1
828K    /nix/store/vjm2a2zviphmxiz7j1ghl2dcw6f401bl-bash-4.3-p46
51M     /nix/store/qsi6jakmkl4cgdzn61svjlw2lfvj08mh-python-2.7.12
110M    total

$ du -sch $(nix-store -qR $(nix-build -A python35))
22M     /nix/store/23vndix3mzcyw84kag06h8fh464g32nq-glibc-2.24
3.4M    /nix/store/4vq58j5cdpwpxmw2272kp3g9l9g8h71v-openssl-1.0.2j
100K    /nix/store/bjcyhbv746jklqb34k0sl34vkgz9n2r5-attr-2.4.47
344K    /nix/store/c0np5q077pj2h0zd780c6yxmyzrryf3x-xz-5.2.2
108K    /nix/store/caz03y58cyrqn4i5ckdw4i21g9sdjb18-zlib-1.2.8
584K    /nix/store/cx5q5z8gpvlw323ycrsdbml8b2sq1dc4-gdbm-1.12
12M     /nix/store/p4zgz3jkfkm5rd48d7mwn9x8gjrz04nv-ncurses-6.0
400K    /nix/store/d2ycd6zq2rnzxbwwhspp5hvylv3b6qvp-readline-6.3p08
140K    /nix/store/n4772agrh2d5zhdr4902410zyqwj9ln4-acl-2.2.52
11M     /nix/store/ip4rh8n3p6ajnnf584wm2qj2x3ak73i8-coreutils-8.25
84K     /nix/store/iqp3bknzw3m3m8fbcwvgkjz6gra28pln-bzip2-<IP_ADDRESS>.1
952K    /nix/store/s7xrn3w9kadm3azl1yxws0bcq2azn7ns-sqlite-3.14.1
828K    /nix/store/vjm2a2zviphmxiz7j1ghl2dcw6f401bl-bash-4.3-p46
72M     /nix/store/x1yi7hz7xgqf0kgda5dzaywrmf85yc06-python3-3.5.2
123M    total

Python3 lib itself grew by 20MB, so not much we can do about that.


Error when stac_extensions (or collection) is not present

If the items don't have a stac_extensions entry (which is valid), I get an error:
Traceback (most recent call last):
  File "/home/mm/.local/bin/stac", line 8, in <module>
    sys.exit(run_cli())
  File "/home/mm/.local/lib/python3.10/site-packages/stactools/cli/cli.py", line 37, in run_cli
    cli(prog_name="stac")
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mm/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/mm/.local/lib/python3.10/site-packages/stactools/geoparquet_items/commands.py", line 58, in create_command
    df = stac_geoparquet.to_geodataframe(items)
  File "/home/mm/.local/lib/python3.10/site-packages/stac_geoparquet/stac_geoparquet.py", line 79, in to_geodataframe
    gdf = pd.concat([gdf[columns], gdf.drop(columns=columns)], axis="columns")
  File "/home/mm/.local/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1475, in __getitem__
    result = super().__getitem__(key)
  File "/home/mm/.local/lib/python3.10/site-packages/pandas/core/frame.py", line 3767, in __getitem__
    indexer = self.columns._get_indexer_strict(key, "columns")[1]
  File "/home/mm/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 5877, in _get_indexer_strict
    self._raise_if_missing(keyarr, indexer, axis_name)
  File "/home/mm/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 5941, in _raise_if_missing
    raise KeyError(f"{not_found} not in index")
KeyError: "['stac_extensions'] not in index"

I assume something similar will occur for the collection property.
Looking into it right now, but want to persist the issue already.

Ah, I didn't realize it was optional.
At https://github.com/TomAugspurger/stac-geoparquet/blob/main/stac_geoparquet/stac_geoparquet.py#L68, we'd need something like columns = set(["type", ...]) & set(df.columns)).

Thanks, PR incoming...

Please see PR #13


[Event Request] Table 39 "Purchase Line"."No.".Validate

Please add events by our request #21367 or confirm that there are no unsaved values.

Hello @AleksandricMarko,
we asked for two events with PurchHeader. If you add Purchase Header parameter to OnAfterValidateNo  it will be OK. But we need same parameter to event JobTaskIsSet or new event  OnValidateNoOnBeforeJobTaskIsSet(PurchHeader, Rec, xRec, TempPurchLine.

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


feat: update xkcd archive

Updates the XKCD archive to a version I'm maintaining through DNSlink. It's updated automatically every day to make sure it's up to date 😃
Also, closes #193
License: MIT
Signed-off-by: Henrique Dias<EMAIL_ADDRESS>

We should probably ignore the pipeline errors, right?

@koalalorenzo yes, the errors from Travis aren't related to this PR. It seems that some of the links on the website don't exist anymore. I can make a PR later to remove them.


Cannot read property 'nodes' of undefined

After login and select one repo to show in monitor tab it just returns this error message:
Error
Cannot read property 'nodes' of undefined

Your Version of Pullp
2.1.1
Your OS
Windows 10 Pro - Insider Preview - Build 18898.rs_prerelease.190510-1634
Expected Behavior
From what I took in the readme screenshots it should show me a monitor widget of my repo.
Current Behavior
It's just showing an error message.

Steps to Reproduce (for bugs)

Login in
Select one repo
Change to Monitor tab

Console Errors
react-dom.production.min.js:151
TypeError: Cannot read property 'nodes' of undefined
    at Object.children (index.js:160)
    at n (react-apollo.browser.umd.js:462)
    at t.render (react-apollo.browser.umd.js:466)
    at f (react-dom.production.min.js:131)
    at beginWork (react-dom.production.min.js:138)
    at i (react-dom.production.min.js:176)
    at a (react-dom.production.min.js:176)
    at w (react-dom.production.min.js:182)
    at g (react-dom.production.min.js:181)
    at v (react-dom.production.min.js:181)

index.js:13
TypeError: Cannot read property 'nodes' of undefined
    at Object.children (index.js:160)
    at n (react-apollo.browser.umd.js:462)
    at t.render (react-apollo.browser.umd.js:466)
    at f (react-dom.production.min.js:131)
    at beginWork (react-dom.production.min.js:138)
    at i (react-dom.production.min.js:176)
    at a (react-dom.production.min.js:176)
    at w (react-dom.production.min.js:182)
    at g (react-dom.production.min.js:181)
    at v (react-dom.production.min.js:181)

index.js:14
{componentStack: "↵    in t↵    in t↵    in t↵    in a↵    in t↵    …withRouter(t)↵    in t↵    in t↵    in t↵    in t"}

Thanks for reporting this Arthur, not an issue I have seen before... Will have a look now.

I wonder if its something to do with your organisation igarape-inc  not having authorized the app (see the GraphQL error near the top of the console). Is the repo that you selected one that belongs to this organisation? If not and its public, please can you link to the repo so I can try to monitor it myself?

Hi @rkclark, actually no, the repo a selected has nothing to do with this org. I selected one of my own creations vue-izitoast. 😃
If you need any other information please let me know 😄

So I can monitor the repo using the Windows build! I therefore think this must be something to do with the error saying Error: Can't find field organizations [...] on object User.  This is really weird as the organizations field should be retrievable for every Github user, even if its an empty array. I have a test account that I use for testing Pullp which has no organizations and it works fine.
Maybe the field is supposed to have an organization in it (igarape-inc) but because its restricted due to no authorization it has got itself into a strange state. Are you a member of any other organizations?
I think I will have to look at falling back to an empty array value when this field is not present 🤔
It might be difficult for me to test for real, would you be willing to try out a beta build if I put something together over the next few days?

Currently, I am on 3 orgs:

but it seems that the only one causing problems is igarape-inc and I don't know why haha.
Yeah sure, I can test any beta you release :smiley: just let me know what I can do to help :wink:

Hi again!
So, this is the Graphql query that Pullp uses to get the organizations and teams that you are in:
{
  viewer {
    id
    login
    organizations(last:100) {
      edges {
        node {
          id
          teams(last:100, userLogins: [$login]) {
            edges {
              node {
                id
                name
              }
            }
          }
        }
      }
    }
  }
}

To try to replicate your issue, I have used the Github Graphql explorer to make a similar query on your user account:
query {
 	user(login: "arthurvasconcelos") {
    organizations(last: 10) {
      edges {
        node {
          name
          teams(last: 10, userLogins: ["arthurvasconcelos"]) {
            edges {
              node {
                name
              }
            }
          }
        }
      }
    }
  }
}

This successfully resolves to this data:
{
  "data": {
    "user": {
      "organizations": {
        "edges": [
          {
            "node": {
              "name": "Instituto Igarapé",
              "teams": {
                "edges": []
              }
            }
          },
          {
            "node": {
              "name": "igarape-inc",
              "teams": {
                "edges": []
              }
            }
          }
        ]
      }
    }
  }
}

This is strange as I can't think why Pullp's query (which is basically the same) is failing. Would you be able to go onto Github's Graphql explorer yourself, sign in, and then run this query to see if it works?
{
  viewer {
    id
    login
    organizations(last:100) {
      edges {
        node {
          id
          teams(last:100, userLogins: ["arthurvasconcelos"]) {
            edges {
              node {
                id
                name
              }
            }
          }
        }
      }
    }
  }
}

This will mimic what Pullp does as closely as possible so I would be interested to see the result.
I have encountered bugs with the Github Graphql API before, it may turn out this is one of them. Did you try signing into Pullp and selecting your repo more than once? If not, could you try that? On the Account screen you can sign out. If you can't get to that screen for any reason then if you open the console and enter window.localStorage.clear() then close and open the app you should find that you are signed out.
Thanks!

@rkclark Hi, I executed the query you mentioned and there is really an error:
{
  "data": {
    "viewer": {
      "id": "MDQ6VXNlcjEyODY3Njg=",
      "login": "arthurvasconcelos",
      "organizations": {
        "edges": [
          {
            "node": {
              "id": "MDEyOk9yZ2FuaXphdGlvbjQwMzA1NzQ=",
              "teams": {
                "edges": [
                  {
                    "node": {
                      "id": "MDQ6VGVhbTM3MjU2Nw==",
                      "name": "Admin"
                    }
                  },
                  {
                    "node": {
                      "id": "MDQ6VGVhbTMxMjgyMDU=",
                      "name": "Staff"
                    }
                  },
                  {
                    "node": {
                      "id": "MDQ6VGVhbTMxMjgyMDg=",
                      "name": "Developers"
                    }
                  }
                ]
              }
            }
          },
          {
            "node": null
          }
        ]
      }
    }
  },
  "errors": [
    {
      "type": "FORBIDDEN",
      "path": [
        "viewer",
        "organizations",
        "edges",
        1,
        "node",
        "teams"
      ],
      "locations": [
        {
          "line": 9,
          "column": 11
        }
      ],
      "message": "Although you appear to have the correct authorization credentials,\nthe `igarape-inc` organization has enabled OAuth App access restrictions, meaning that data\naccess to third-parties is limited. For more information on these restrictions, including\nhow to whitelist this app, visit\nhttps://help.github.com/articles/restricting-access-to-your-organization-s-data/\n"
    }
  ]
}

That's very helpful! Interesting how the API gives you different results because you are the viewer.
I'm pretty sure Pullp is erroring because of the node with value null. It will be expecting it to be an object with a teams array every time. Will make a build with a fix soon (am away for a long weekend though so might be a few days).

@arthurvasconcelos hey!
Try this beta version: https://drive.google.com/open?id=1s-EOqdNgxhqUWcHEs394JlzbWYbH7MoW
It has a lot of changes that I am working on in a new major version so it looks a bit different to what you have seen before. I can see there are some broken icons in the Windows build but this is more to see if I have fixed your particular issue.
Let me know :)
Cheers!

Hi @rkclark, sorry for this late answer! Yeah now it works =D
It doesn't break anymore but the repo is appearing 3 times in a row haha.

But the problem of this issue is solved now =D

@arthurvasconcelos haha ok! Thanks for testing it for me!
The duplicate repositories is a known issue that is in the current production version as well. It's actually the main thing holding back the beta I am working on as I want it to be fixed in the next release.
There is a way to resolve it - Go to the Select screen, wait a few seconds, then go back to Monitor. Might need to do it a couple of times.
I'm pretty sure it's caused by Apollo Client being in the middle of a request to get your watched repositories when you leave the Select screen. It doesn't handle it nicely and all sorts of bad stuff happens 😢

@rkclark yeah this back and forth in the selection screen for a few seconds really solved the problem and one time it also cleaned completely my selected list but was just repeat the process and the list was back again.

Hi mate, included this fix in a new release! https://github.com/rkclark/pullp/releases/tag/v3.0.0

@rkclark Hey thank you! =D


Cart.php: Difference betweeb Github code and last WP Repo version?

Hi there,
I'm having some issues with some attributes on Cart.php on a website a manage. The attributes in question do have a translation.
The problem leads to php timeouts error and sometimes users are not able to add products in the cart (wp_ajax returns 500).
The error log reports:
[14-Feb-2021 06:28:28 UTC] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in {my_path}/wp-includes/class-wp-post.php on line 265
[14-Feb-2021 09:17:35 UTC] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in {my_path}/wp-includes/taxonomy.php on line 1588
[14-Feb-2021 10:08:11 UTC] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in {my_path}/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/LocaleNumbers.php on line 117
[14-Feb-2021 16:22:52 UTC] PHP Fatal error:  Uncaught Exception: Store is a required field in {my_path}/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Cart.php:370

Now I checked Cart.php on the server and Cart.php here, but it seems the file is different.
What I would like to know is if it's safe to use the current Github code or it's better to wait for a new release sometimes somehow (I see that there's been some development lately, after the last quiet years).
Please let me know.

Hi, the new version 1.5 has now been released on https://wordpress.org/plugins/woo-poly-integration/
There are no significant updates that I recall to cart.php, I logged #537 to review as I don't think the cart handling has had a good review for a while.
looking at your log, maybe your server is having a problem with the locale numbers, trying going to:
wp-admin/options-general.php?page=hyyan-wpi
and turning off the feature "Use locale number formats"
Another thing that can happen is other plugins cause issue, for example anything which hooks woocommerce_get_cart_contents gets called repeatedly at various points during the calculation and display of the mini-cart and cart page.  This plugin doesn't hook that but some of the other hooks may get called more than strictly necessary.
Please any specific issues on cart, welcome to comment on: #537


Typo ? I think that you wanted to send a JSON encoded response here.

I think that you wanted to send a JSON encoded response here.

@medinae according to PHP Manual this method should return the data that will be passed to json_encode when you do json_encode(new ResultsCollection()), so I think it's fine exactly as it is right now.

Ok, thanks.


Examples

Add examples and tutorials.
Also improve the documentation.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #121   +/-   ##
=======================================
  Coverage   78.78%   78.78%
=======================================
  Files           5        5
  Lines         707      707
=======================================
  Hits          557      557
  Misses        150      150

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 390606a...9406c65. Read the comment docs.


Zero pages with non-temporal write instead of memset to keep cache untouched

This is for experimenting non-temporal write when zero-ing pages in background thread, so it doesn't evict cache lines other task is using.

:+1:


Configuration for initial module visibility

It would be useful to configure a module initially visible especially when it is rendered in the sidebar.
Idea by @fschmenger from #213:
A general way to solve this could be to add some module property like 'show' to the config - this can be easily implemented for the generic module card windows.

You can assign this to me. Will be straight forward after #219 is integrated.
What name would you propose for the property?
open, show, visible, showInitially, .... ?

What name would you propose for the app-conf.json modules property?
open, show, visible, showInitially, .... ?

Maybe open ?

Ok, this one is ready. However I suggest you merge in #220 first to have a stable release first.
I just found that the layer config uses the attribute 'visible', so I will use the same attribute name - I hope you don't mind.

Closed by #221


🚀 - Documentation on how to use TUI_ATTACH_FILES_LOADER (TuiEditorTool.Attach)

Description
When using  with tool TuiEditorTool.Attach, after we select a file a console error is presented:
tinkoff-tui-editor-components-toolbar.js:677 Assertion failed: Please provide TUI_ATTACH_FILES_LOADER

When searching the documentation, on how to setup  TUI_ATTACH_FILES_LOADER there's no examples or reference to TUI_ATTACH_FILES_LOADER token.

+1

I will take it on Monday

Thank you @splincode
In the meantime, I made some progress. I read part of the source code of the component and managed to get the functionality active and without compiling errors.
Nevertheless, after activating the tools "Image Upload" and "Attachments Upload" (TuiEditorTool.Img, TuiEditorTool.Attach), I select some files (via file browser) and upload them, but nothing happens in the editor area... nothing is added or presented.
The TUI_IMAGE_LOADER seems to need a string as return in the adapter.
The TUI_ATTACH_FILES_LOADER seems to need an array of TuiEditorAttachedFile objects.
Below is the source code I have at the moment:
Config TOKEN and providers in main.ts:
bootstrapApplication(AppComponent, {
	providers:
	[
		...
		{ provide: TUI_BUTTON_OPTIONS, useValue: { size: 'm' } },
		{ provide: TUI_TEXTFIELD_SIZE, useValue: { size: 'm' } },
		{ provide: TUI_ANIMATIONS_DURATION, useValue: 200 },
		{ provide: TUI_SANITIZER, useClass: NgDompurifySanitizer },
		{
			provide: TUI_EDITOR_EXTENSIONS,
			deps: [INJECTOR],
			useFactory: (injector: Injector) =>
			[
				...TUI_EDITOR_DEFAULT_EXTENSIONS,
				import('@tinkoff/tui-editor/extensions/image-editor').then(({ tuiCreateImageEditorExtension }) => tuiCreateImageEditorExtension({ injector })),
			],
		},
		{
            provide: TUI_IMAGE_EDITOR_OPTIONS,
            useValue:
			{
				maxWidth: 512,
				minWidth: 290
			},
        },
		{
			provide: TUI_ATTACH_FILES_OPTIONS,
			useValue:
			{
				accept: ".pdf, .doc, .docx .xls, .xlsx",
				multiple: false
			},
		},
		{
            provide: TUI_IMAGE_LOADER,
            useFactory: TuiImageLoaderAdapter,
            deps: [FileUploaderService],
        },
		{
			provide: TUI_ATTACH_FILES_LOADER,
			useFactory: TuiAttachFilesLoaderAdapter,
			deps: [FileUploaderService],
		}

        ...
	]
});

Uploader Service and Upload Adapters
import { Injectable } from '@angular/core';
import { HttpContext } from "@angular/common/http";
import { AbstractAPIService, CLIENT_REQUEST_LOADING } from<EMAIL_ADDRESS>import { IFileUpload } from<EMAIL_ADDRESS>import { IClientUser } from<EMAIL_ADDRESS>import { TuiEditorAttachedFile } from "@tinkoff/tui-editor";

import {forkJoin, Observable} from 'rxjs';
import { map } from 'rxjs/operators';

export function TuiImageLoaderAdapter(FileUploaderService: FileUploaderService): (file: File) => Observable<string>
{
    return (file: File) =>
	{
		return FileUploaderService.UploadFile(file).pipe(map((response: IFileUpload) => FileUploaderService.PublicUrl(response)));
    };
}

export function TuiAttachFilesLoaderAdapter(FileUploaderService: FileUploaderService): (files: File[]) => Observable<TuiEditorAttachedFile[]>
{
	return (files: File[]) =>
	{
		const uploadObservables = files.map(file => FileUploaderService.UploadFile(file));

		return forkJoin(uploadObservables).pipe(map((responses: IFileUpload[]) => responses.map(response =>
		{
			const attach: TuiEditorAttachedFile =
			{
				link: FileUploaderService.PublicUrl(response),
				name: `${response.OriginalFileName}`
			};

			return attach;
		})));
	};
}

@Injectable({ providedIn: 'root' })
export class FileUploaderService extends AbstractAPIService
{
	constructor() { super(); }

	PublicUrl(file: IFileUpload)
	{
		return `${this.BASE_URL}/Files/Render/${file?.Id}`;
	}

	UploadFile(file: File): Observable<IFileUpload>
	{
		const formData: FormData = new FormData();
		formData.append('file', file, file.name);

		const context = new HttpContext().set(CLIENT_REQUEST_LOADING, false);

		return this.Upload<IFileUpload>('Files/Upload', formData, context);
	}

	DeleteFile(file: IFileUpload)
	{
		return this.Delete<IClientUser>(`Files/${file?.Id}`);
	}
}

https://taiga-family.github.io/editor/starter-kit/Options

And example
https://taiga-family.github.io/editor/embed/html5#video-audio


Add Kubernetes guestbook example tests

Add support for get_entities with namespace
Add tests for create and delete services, replication controllers
Based on guestbook example
https://github.com/kubernetes/kubernetes/tree/master/examples/guestbook-go
Record VCR

@simon3z thoughts on this change?

@simon3z please review

@abonas It'd be great if we could get this merged in. The namespace support is probably the most important piece for us, so if it's easier, we could break that piece out into a separate PR. I'm happy to do the work for that since this one seems a little stuck?

hi @iterion, yeah, I was hoping for a long time this patch would get reviewed before merging it but it wasn't. I understand this feature is needed, so I'll try to rebase it next week and you could review it then perhaps? how does that sound?

Sounds perfect, thanks!

Sounds perfect, thanks!

@iterion, I rebased and repushed it, please give it a round of review.
I'll go over it again to see if anything can be simplified or shortened too.

Looks great, thanks for updating this.
Some thoughts:

Do we have a unit test for get_entities and/or do we want one? It looks like the method was updated without any test changes.
In the guestbook example, might it be easier/cleaner to store the various rcs/services in yaml or json files then just read them in for the test? It would save writing many methods to build such objects and might make it easier to write integration tests easier in the future.

Other than that, awesome! :+1:

@iterion thanks a lot for this, it's really helpful. I'll go over your comments and address them in the next cpl of days. vacation + some public holidays causes a bit of delay, sorry about that...

Do we have a unit test for get_entities and/or do we want one? It looks like the method was updated without any test changes.

Looks great, thanks for updating this.
Some thoughts:
Do we have a unit test for get_entities and/or do we want one? It looks like the method was updated without any test changes.

there are tests for get_entities in test guestbook go - or you meant something else?

In the guestbook example, might it be easier/cleaner to store the various rcs/services in yaml or json files then just read them in for the test? It would save writing many methods to build such objects and might make it easier to write integration tests easier in the future.

generally speaking - yes, but one of my goals in this was to
check that it is possible to construct the objects via the api.

Other than that, awesome!

there are tests for get_entities in test guestbook go - or you meant something else?

I was thinking something that tested get_entities in isolation. But, the coverage in test guestbook is probably sufficient for now.

generally speaking - yes, but one of my goals in this was to
check that it is possible to construct the objects via the api.

Fair enough, it's also true that we should test that.
Overall, :+1: on this! I can't merge, but definitely would if I could at this point :)

I was thinking something that tested get_entities in isolation. But, the coverage in test guestbook is probably sufficient for now.

can be done separately in addition to this, adding tests is always welcome.


Include some information about oauth accounts in GET /auth/users/ and GET/PATCH /auth/users/{id}/

This could be just some aggregate information, e.g. the number of oauth accounts in relationships with a given user.
An example could be (TBD) a new field in UserRead.oauth_accounts, which only includes id, oauth_name, expires_at, and account_email.
Note that this UserRead should only be used in admin endpoints, and not in the /auth/current-user/ ones.
Ref #1758

Closed with #1765, and released in 2.5.0a1


Dropping {sp} and {rgdal} deps

This was silly anyway

Linux is still failing because the CA cert store used is different than the windows store, and od.cdc.gov.tw doesn't work with cURL.
Merging in any way and will track this issue separately.


Update lading to Rust 1.74.0

What does this PR do?
This commit updates our rust toolchain to 1.74 and switches its profile from 'default' to 'complete', meaning rust-analyzer et al are installed now by default for every lading developer.
Related issues
REF SMPTNG-94

Please update the rust version in dockerfiles as well

Oops, completely forgot. Good looking out.


App Configuration: Key/values without labels are not returned when using the label parameter

Describe the bug
The use of --label \0 has broken in one of the more recent versions of the Azure CLI, causing our CI/CD to fail.
We use the --label flag to filter out any key/values that should not be accessible to the application. We use az appconfig kv list at deploy-time (in Azure DevOps) to build up a list of environment variables & secrets that should be deployed along with our micro-services (to aks).
Our build script has been failing since of today (last successful deploy was at 2020-10-06T01:58:48.375Z), complaining that particular environment variables could not be found within Azure App Configuration. I ran the deploy script locally, and it worked just fine, so I updated to the latest version of the Azure CLI (via Homebrew), re-ran the deploy script, and it failed.
I debugged the deploy script, and I can see that the call to az appconfig kv list is only returning key/values that have labels. For example, we have one App Configuration resource per environment, and key/values that we'd like all micro-services to have access to have no label, and key/values we only want particular micro-services to have access to have a label like this: app=custom-tools-service or app=text-extraction-service. We have generic key/values (like NODE_ENV) which are shared across all micro-services, thus do not have a label attached, and those are the ones that are not returning.
I have tried a number of things to try and get the correct results returning from the CLI, however nothing I have tried has worked. I have tried re-ordering the labels in the cli. I have tried URL encoding the \0 label manually. And a number of random other things.
Command Name
az appconfig kv list
Errors:
The command doesn't error, however it does not return any key/values. The App Configuration resource has many key/values without labels.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az appconfig kv list --subscription [REDACTED] --name [REDACTED] --label \0

OR

az appconfig kv list --subscription [REDACTED] --name [REDACTED] --label \0,app=custom-tools-service

Expected Behavior
All key/values without labels should be returned.
Environment Summary
macOS-10.15.6-x86_64-i386-64bit
Python 3.9.0
Installer: HOMEBREW

azure-cli 2.12.1

Extensions:
front-door 1.0.4

Additional Context

I've just checked the last Azure DevOps build that was successful, and it used version 2.11.1 of the Azure CLI.
So this has regressed somewhere between 2.11.1 and 2.12.1.

I can see that there was only one change relating to App Configuration between the two versions I've determined the regression must've happened. I see that the azure-mgmt-appconfiguration package was updated from 0.5.0 to 0.6.0 - I wonder whether the regression has happened there, and not within the Azure CLI itself.

appconfig

Hi @jmshal, thanks for providing all the details of the issue you are facing.
I was able to reproduce the issue in Azure Cloud Shell using bash. The problem occurs because the backslash character needs to be escaped in bash. If you run the command with --debug argument, you'll see that the \ character is lost from input:
You can resolve the issue by providing --label '\0' or --label "\0" or --label \\0.

Hope that helps!

Hi @avanigupta,
Our build script is already quoting the arguments (using double quotes), it has been since the build script was put together. We've not changed the build script at all within the past few days, and as far as I can tell - the only different is the version of the Azure CLI that us being used by Azure DevOps.
I think it perhaps may have been all the random things I have tried - but it appears the actual issue is when we use \0 along with another label (multiple label filters). The \0 filter works just file, as you correctly pointed out - it must however be quoted. This is a little confusing as the --help flag shows an example without it quoted - it should probably be updated I imagine, as it made me believe there was also something wrong with the \0 filter alone.
Here's an example of the command our build script executes, and it's output:
$ az appconfig kv list --subscription [REDACTED] --name [REDACTED] --label "\0,app=custom-tools-service"
[]

It should be returning results, however it is not.

Hi @jmshal, thanks for pointing this out! We did introduce a regression with querying multiple labels in the last CLI update. This will be fixed in the next CLI release. Sorry for the inconvenience.

This will be fixed in the next CLI release

Thanks, @avanigupta. Do you know what kind of timeline are we looking at here? From as far as I can tell, I cannot target an older version of the Azure CLI within Azure DevOps - so without making some large changes to our pipelines, we're stuck without the ability to deploy.
I also don't know how often the Azure DevOps team updates the version of Azure CLI they use - so that's another concern.
Any information, just so we're not in the dark, will be helpful. Thanks!

@jmshal, Azure CLI has a new release approximately every 3 weeks, and this fix would most likely be included in the release scheduled for end of this month. Until then, the workaround would be to tweak the command for listing key values in either of these two ways:

You can split the list command into two commands - one which lists only null labels, and the second which lists any other labels:

settingsWithNullLabel=$(az appconfig kv list --name test-appconfig-00 --label '\0')
settingsWithOtherLabels=$(az appconfig kv list --name test-appconfig-00 --label MyLabel,MyLabel2)

You can fetch key-values with all labels and then use --query argument to filter the required labels:

az appconfig kv list --name test-appconfig-00 --query """[?label=='MyLabel'||label==null]"""

Thanks @avanigupta - I can confirm the workarounds you've provided are enough to get us back on track with deploys for the time being. Much appreciated!


Error when logging in via GitLab

Describe the bug
When trying to log in via Gitlab (implicit grant) while the Netlify identity widget is enabled, the system gives an error message that is not helpful when debugging the issue (see attached picture).
To Reproduce

Set up the CMS with Gitlab implicit grant.
Add the Netlify identity widget somewhere.
Try to log in.

Expected behavior
The CMS will tell me to remove the Netlify identity widget.
Screenshots

Applicable Versions:

Netlify CMS version: ^2.1.3
Git provider: Gitlab
Browser version: Safari 13.0.2

Actually the identity widget just shouldn't activate at all. Definitely need to address. Any errors printed to console?

I believe there was, something like:
Failed to parse tokenResponse claims: {"access_token":"5994e5b48102775876cd16190f85f5480ad6c4c4d886fc1af83e73b9df3d561e","token_type":"bearer","state":"3e2c8465-7614-4887-a2be-c66eb7f2316f"}
Or that is what I googled after the error occurred anyway. I believe this is related to #1690.

Looks like we're tracking this under #1824, can you comment there?


Raiden => Main account arrow not shown

Steps to Reproduce

Go to https://lightclient.raiden.network/staging
Connect
Click identicon
Click on raiden account

Expected Result

Actual Result

Arrow not displayed
Main account icon is cut off

Additional Infos (Optional)

Browser: Firefox

Related, in Chrome when hovering the arrow there's a gray circle:

Not sure if it should not be shown or if it should cover the whole arrow

Seems related to #1582. Couldn't reproduce. Could this be some caching issue?

I don't think so, service worker has been updated so all assets have been refetched


What does 'unofficial predecessor version' mean

I presume this is because C#8 is planning to incorporate Async Streams. What do you see as the future of this library? Are the .NET team looking at this library for examples (e.g. authoring an enumerable is much easier here than in the System.Interactive namespace), do you expect this library to live alongside the BCL libraries, or do you expect them to supersede this and it to sunset when the Async Streams are officially released?
Thanks Serge!

hi @ndrwrbgs, this library was created before C# team announced a built-in language support for async enumerators in version 8.0 of the language (also known as 'Async Streams'). Then, the idea of this library was simply enable async enumerators in a similar way as you do regular enumerators. There is no connection between C# language team and this library (they might have looked at it, but honestly, I don't know). Hence you can call it an 'unofficial predecessor' of the feature.
When C# 8.0 is released, the library continue to exist. While you can easily upgrade your code to use built-in async enumerators due to similarity in syntax, all other useful extension methods might not be included in the next version of .NET (like .Batch or .ParallelForEachAsync). And not everyone will upgrade to C# 8.0 right away, so having an alternative for Async Streams will definitely take place for a couple of years.

Thanks for the history! It sounds like when they finally finish up all of that stuff we should work to integrate into it as best as we can. Would making it so this library exposes System.Collections.Generic.IAsyncEnumerable from System.Interactive.Async make sense, providing translation functionality, or waiting until C#8 finalizes (and decides if they use that interface or another).


Add new format short key index

In this patch, we create a new format for short key index. In orgin code
index is stored in format like RowCusor which is not effecient to
compare. Now we encode multiple column into binary, and we assure that
this binary is sorted same with the key columns.

Close this PR, because this patch is contained in #1577


CTRL-C to copy current image file to clipboard

Someone suggested this to me a while ago. Other image viewers have this ability and it would be nice to have.
First I would have to add support for key combos in the config/vimage_settings.exe (probably just CTRL, SHIFT and ALT ones). After that making a function to simply add the current file to the clipboard would be trivial.

Added Copy command https://github.com/Torrunt/vimage/commit/22368432732eef2b591bd24f0dbd748634be3c09
Working on support for key combos next.

Added key combination support https://github.com/Torrunt/vimage/commit/6490ea6c16045399051d0b33dc0f117120cabb02
Also added a Copy as Image command https://github.com/Torrunt/vimage/commit/92a494d990a5ec7b8ce0412f9da75d4d98f45985


Remove allocations by serialize

I remembered that there was a last part of the code that still had unnecessary allocations. The solution was a bit complicated because I wanted to keep the main code clean. No changes to the user-facing API.

This is neat! I don't have super strong opinions about this, so I will defer to you on the best practices here!


Check for http protocol before urlize

Fix #2085
With http protocol

With git protocol

Yeah! I was thinking the same as @agjohnson, then I thought that it could be a template filter (in case we need to re use it). I'm :+1: on merging this as it is for now.
Altough if you know that we have more places where we will need this you can write a template filter --could be useful for .com also, since we may need to write the same code in the similar template.

@agjohnson @humitos I was thinking the same, but felt like was over-thinking it, also I did a grep and this is the only place where this is used.

Haha well I'm glad everyone was thinking the same thing here. Looks like we can merge!


feature request: upload to basic auth protected environment

Hello,
We recognize that this uploader lacks the ability to upload plugins to a basic authentication protected environment.
We want to use this uploader for basic auth protected environments, so we're requesting an upgrade.
Thanks in advance.

@latica-jp
Thank you for your feedback! That makes sense to me so we'll consider adding the feature.

@latica-jp
We've just released a new version including the basic authentication support!
https://github.com/kintone/plugin-uploader/blob/master/CHANGELOG.md#410-2020-06-22
Thank you for reporting!!!

@koba04
Glad to hear that! Thanks for your effort!


B #4793: Update tm_mad/shared/monitor

MONITOR_ADDRESS could differ from <IP_ADDRESS> in /etc/monitord.conf
The default netcat (NC) on centos7.8 is nmap-ncat which do not accept '0' for --wait
(Ncat: Invalid -w timeout (must be greater than 0). QUITTING.)
The proposed change defines them as shell variables, not sure where to configure them to match the configuration in /etc/monitord.conf, though.
Also, needs a dependency on 'nc' in the packaging...
Signed-off-by: Anton Todorov<EMAIL_ADDRESS>

fixed better in upstream