spdx-CycloneDX conversion issue: document-creation-data: external references

External document references
Issue:

This spdx field is intended for a list of external SPDX docs, referenced within the doc. CycloneDX has a externalReferences object for components, but the relevant type is "bom" which does not indicate if it is an SPDX doc.

Suggestions

Default: This field will not be populated. It is intended for other spdx documents, and these are not expected in a cycloneDX document.
use config.spdx.externalReferences

Notes:
In the future this filed can be populated from cycloneDX.components[]externalReferences if the externalReference type is bom and it is an SPDX document. This requires access to the SPDX document, that I don't think we will have.
the cyclondDX.externalReferences field has a different meaning (it is a list of external relevan docs, and not a list of references used inside the SBOM)

the cyclondDX.externalReferences field has a different meaning (it is a list of external relevan docs, and not a list of references used inside the SBOM)

That is not accurate. “External” simply means from the object itself. External references can be URLs or URNs. BOM-Link establishes relationships between objects in the same BOM or external BOMs. External References in CDX are dual purpose and essentially perform the same task as relationships in SPDX.
Consult the relationship chapter for more information and examples. https://cyclonedx.org/guides/sbom/OWASP_CycloneDX-SBOM-Guide-en.pdf

Following @stevespringett comment - it is a great explanation but does not solve the spec decision required; the SPDX spec requires specifying links to other relevant SPDX Docs, and it is not simple to understand from the CDX which are they.
The suggested design decision:

Default: This field will not be populated. It is intended for other spdx documents, and these are not expected in a cycloneDX document.
use config.spdx.externalReferences

Lets discuss this on one of the upcoming meetings.


ValueError: No gradients provided for any variable: ['Variable:0', 'Variable_1:0']

I am facing the same issue gradient issue, I google it but not found any working solution. can anyone suggest me how to
deal with this problem..
import tensorflow as tf    version is 2.1.0
print('training data shape    ', X.shape)
print('training labels shape  ', y.shape)
print('validation data shape  ', X_v.shape)
print('validation labels shape', y_v.shape)
print('test data shape        ', X_t.shape)
"""
print following
training data shape     (10000, 784)
training labels shape   (10000, 10) # 10 classes label one hot encoded
validation data shape   (2000, 784)
validation labels shape (2000, 10) # 10 classes label one hot encoded
test data shape         (4000, 784)
"""
def build_computation_graph(X, y, X_val, y_val, X_test):
    graph = tf.Graph()
    IMAGE_SIZE, NUM_CLASSES, SEED = 28, 10, 42
    learning_rate = 0.5

    with graph.as_default():
        ############### Data sets conversion into tensorflow constant ##########################
        tf_train_dataset = tf.constant(X, dtype=tf.float64)
        tf_valid_dataset = tf.constant(X_val, dtype=tf.float64)
        tf_test_dataset = tf.constant(X_test, dtype=tf.float64)
        tf_train_label = tf.constant(y, dtype=tf.float64)
        tf_validation_label = tf.constant(y_val, dtype=tf.float64)

        ###################### weight matrix and Biases initialization ####################################

        # Initialized By using random values following a (truncated) normal distribution
        weights = tf.Variable(tf.random.truncated_normal((IMAGE_SIZE * IMAGE_SIZE, NUM_CLASSES),
                                                         seed=tf.random.set_seed(SEED), dtype=tf.float64),
                                                         dtype=tf.float64, trainable=True)

        biases = tf.Variable(tf.zeros([NUM_CLASSES] , dtype=tf.float64), trainable=True)

        # multiply weight matrix and add Bias
        logit = tf.add(tf.matmul(tf_train_dataset, weights), biases)

        # generate loss function
        # labels: Each row labels[i] must be a valid probability distribution
        # logits: Unscaled log probabilities.
        loss =  lambda : tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels=tf_train_label, logits=logit))

        # optimizer
        #optimizer = tf.compat.v1.train.GradientDescentOptimizer(learning_rate).minimize(loss)
        optimizer = tf.keras.optimizers.SGD(learning_rate=learning_rate).minimize(loss, var_list=[weights,biases])

        train_prediction = tf.nn.softmax(logit)
        valid_prediction = tf.nn.softmax(tf.nn.matmul(tf_valid_dataset, weights) + biases)
        test_prediction = tf.nn,softmax(tf.nn.matmul(tf_test_dataset, weights) + biases)
        return graph
# End

build_computation_graph(X, y, X_v, y_v, X_t)

 #########################   Error ##################################################
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-36-311f05332c36> in <module>
----> 1 build_computation_graph(X, y, X_v, y_v, X_t)

<ipython-input-35-f0e7793c1da2> in build_computation_graph(X, y, X_val, y_val, X_test)
     31         # optimizer
     32         #optimizer = tf.compat.v1.train.GradientDescentOptimizer(learning_rate).minimize(loss)
---> 33         optimizer = tf.keras.optimizers.SGD(learning_rate=learning_rate).minimize(loss, var_list=[weights,biases])
     34
     35         train_prediction = tf.nn.softmax(logit)

C:\Anaconda\lib\site-packages\tensorflow_core\python\keras\optimizer_v2\optimizer_v2.py in minimize(self, loss, var_list, grad_loss, name)
    316         loss, var_list=var_list, grad_loss=grad_loss)
    317
--> 318     return self.apply_gradients(grads_and_vars, name=name)
    319
    320   def _compute_gradients(self, loss, var_list, grad_loss=None):

C:\Anaconda\lib\site-packages\tensorflow_core\python\keras\optimizer_v2\optimizer_v2.py in apply_gradients(self, grads_and_vars, name)
    424       ValueError: If none of the variables have gradients.
    425     """
--> 426     grads_and_vars = _filter_grads(grads_and_vars)
    427     var_list = [v for (_, v) in grads_and_vars]
    428

C:\Anaconda\lib\site-packages\tensorflow_core\python\keras\optimizer_v2\optimizer_v2.py in _filter_grads(grads_and_vars)
   1037   if not filtered:
   1038     raise ValueError("No gradients provided for any variable: %s." %
-> 1039                      ([v.name for _, v in grads_and_vars],))
   1040   if vars_with_empty_grads:
   1041     logging.warning(

ValueError: No gradients provided for any variable: ['Variable:0', 'Variable_1:0'].

All data value lies between [-1, 1]
System information

OS Platform - window 10
tensorFlow version (use command below):- 2.1.0
Python version: 3.7.3
GPU model and memory: - No GPU support

@Aksh-kumar,
On running the code, I am facing an error stating NameError: name 'X' is not defined.
In order to expedite the trouble-shooting process, could you please provide all the supporting files required to reproduce the issue reported here. Thanks!

I am sharing pickled data. Extract Data_Sub.zip, inside Data_Sub folder 'data_subset.pkl'  file is there. please load the data by
data = None
with open('Data_Sub/data_subset.pkl', 'rb') as f:  # provide  the path if require
    data = pickle.load(f)
X, y, X_v, y_v, X_t = data['X'], data['y'], data['X_v'], data['y_v'], data['X_t']

Data_Sub.zip

It's been 2 days any progress guys....

@Aksh-kumar,
Sorry for the delayed response.
@rmothukuru,
I was able to reproduce the issue with TF v2.3 and TF-nightly. Please find the attached gist. Thanks!

@Aksh-kumar,
As mentioned in the Documentation for Graphs,

A tf.Graph can be constructed and used directly without a tf.function, as was required in TensorFlow 1, but this is deprecated and it is recommended to use a tf.function instead.

So, please use tf.function instead of tf.Graph. Thanks!

@rmothukuru sorry for the delayed response, I went through the documentation but I am not able to grasp it completely, can you please give me sample code changes inside TF-nightly  that @amahendrakar share with us. Thanks in advance.

any update guys..

Hi @Aksh-kumar, Github is for bugs/performance issues. For support issues, it's best to try Stack Overflow. There is a larger community there that can help.
+1 to the comment from @rmothukuru, using tf.Graph is not recommended in TF2.
It seems to me that your use case could be solved by using tf.Keras. This library makes it simple to build models. I'm linking the documentation here. In general, there's no reason to write your model layers from scratch. Keras implements a large number of layers, and if none of those work for you, you can always try creating your own custom layer with subclassing.
Hope this helps.

thanks @nikitamaia for responding back to me,I seen your suggestions, which ,I found satisfactory but I was just resting these API in python and my actual implementation rely on c++, can you guide me if I want to do the same thing in c++ what will be the approach?


[release-v1.4] Increase default HTTP client max pool size (#2441)

Cherry-pick of https://github.com/knative-sandbox/eventing-kafka-broker/commit/bde3587b582dce06881cdf328561c99c4eca3df4

/assign @aliok @matzew

/retest

/retest

/retest

/retest-required


Showcase Submission for challenges/173-snake-applesoft-basic

Thank you Vivian Crompton for your contribution! A member of the Coding Train team will review it shortly.

Vivs snake game
Vivian Crompton

incredible work, thank you for sharing! 🚂🐍❤🚀


Adds feature test for loading existing resource.

Also, adds the ability to provide resources as fixtures.
closes #2259

Try npx jest --clearCache or running test with npx jest --no-cache.

Hmm, tried both options and still getting testing errors for loadResource.test.js.


The result of rolling aggregations in the presence of NaNs depends changes if bottleneck is installed

Without bottleneck, we are inconsistent with pandas:
In [27]: d = xr.DataArray([0, np.nan, 1, 2, np.nan, 3, 4, 5, np.nan, 6, 7], dims='x')

In [28]: d.rolling(x=2).mean()
Out[28]:
<xarray.DataArray (x: 11)>
array([ nan,  0. ,  1. ,  1.5,  2. ,  3. ,  3.5,  4.5,  5. ,  6. ,  6.5])
Coordinates:
  * x        (x) int64 0 1 2 3 4 5 6 7 8 9 10

# using the pandas RC for v0.18
In [29]: d.to_series().rolling(2).mean().to_xarray()
Out[29]:
<xarray.DataArray (x: 11)>
array([ nan,  nan,  nan,  1.5,  nan,  nan,  3.5,  4.5,  nan,  nan,  6.5])
Coordinates:
  * x        (x) int64 0 1 2 3 4 5 6 7 8 9 10

xref https://github.com/pydata/xarray/pull/772#discussion_r53556663

I think I know how to fix this. The problem is the define valid windows by their width, not the number of non-null values (count). So, we need to add a count and mask step is Rolling.reduce.

@shoyer - I think the basic idea for the fix is in #777.  I think after some more rigorous testing (working on it now), it will need a few tweaks, but the idea is there.


Add support for queries in list endpoints

ChallengeList, for example:
/api/v1/challenges?q=WEB&field=category
expected:
CTFd.pages.challenges.getChallenges({category: "WEB"});

and since CTFd doesn't support multiple query conditions on such endpoints (yet?), maybe some check is needed

This would be a good improvement. I would accept a PR if you could put one up.

Closed in #14


Unable to install on CentOS 7

CentOS Linux release 7.1.1503
Node v0.10.36
zeromq-devel-4.0.5-4.el7.x86_64.rpm
zeromq-4.0.5-4.el7.x86_64.rpm
#npm install zmq
npm http GET https://registry.npmjs.org/zmq
npm http 304 https://registry.npmjs.org/zmq
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan

><EMAIL_ADDRESS>install /home/rapol/node_modules/zmq
> node-gyp rebuild

make: Entering directory `/home/rapol/node_modules/zmq/build'
  CXX(target) Release/obj.target/zmq/binding.o
In file included from ../binding.cc:38:0:
../node_modules/nan/nan.h:316:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
   static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
                                               ^
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory `/home/rapol/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.10.0-123.8.1.el7.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/rapol/node_modules/zmq
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

Installed zeromq using yum (zeromq-devel) and after getting stuck with the error I tried from source to no avail. Tested if zeromq was installed by running the performance tests included in the source folder and was able to install pyzmq using pip. Any ideas?

cc @kkoopa
Is there an issue in NAN with 0.10 BC?

No, the issue is that that rpm is built wrong.

This command is what I'm using to install Zeromq
yum install zeromq-devel

I checked for the pkg-config library and I already have it. Am I missing something else? I ran a simple pairclient on python using pyzmq and it is working.

It is the Node RPM that is wrong. It is not built correctly. Don't use it. Get an official build.

Installed node 0.12.7 from source and it works now. Thanks! FYI the 0.10.36 version of node was installed using yum so there might be other people with this issue in the future.

For posterity: Get your packages from Nodesource: https://github.com/nodesource/distributions


Facing Error while converting JMX which has SMTP sampler to send emails

I have JMX script which is needs to be converted into k6 project, but facing below issue
[root@vpc-centos7-bin]# jmeter-to-k6 smtpPROD.jmx -o k6script
(node:30105) UnhandledPromiseRejectionWarning: Error: Unrecognized element: SmtpSampler
    at element (/usr/lib/node_modules/jmeter-to-k6/src/element.js:61:11)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/element.js:3:10)
    at elements (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:20:19)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:2:10)
    at Object.hashTree (/usr/lib/node_modules/jmeter-to-k6/src/element/hashTree.js:4:10)
    at element (/usr/lib/node_modules/jmeter-to-k6/src/element.js:66:36)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/element.js:3:10)
    at elements (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:20:19)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:2:10)
    at Object.ThreadGroup (/usr/lib/node_modules/jmeter-to-k6/src/element/ThreadGroup.js:28:19)
(node:30105) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30105) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi,
Yes, the SmtpSampler is not supported by the converter, unfortunately.
Please remove it and try again.
Best,
Simme

Hi,
Yes, the SmtpSampler is not supported by the converter, unfortunately.
Please remove it and try again.
Best,
Simme


DELIA-65834 : Skipped new mode request

Reason for change: Throwing error in case of new mode request(when newmode requested is same as currentmode),thereby avoiding crash.
Test Procedure: 1.Set device to any of the modes(WAREHOUSE/EAS/NORMAL) for 30s.
2.During that 30s,again make a request to set the same mode again.
3.Check for WPEFramework crashes.
Risks: Low

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


What pain point does this package solve?

Hey, I have seen recommendations to use this package. I'm thinking If there is a comparison between this/style and the vanilla style it will help me decide on whether I should adopt this project.

Like vue-property-decorator, my understanding is that it's all syntactic sugar around being able to use an annotation/decorator driven workflow.

https://github.com/vuejs/vue-class-component/issues/109#issuecomment-310919020
This package is necessary if you don't want to write definitions twice.

It resolves almost all my issues related to typing system when using Typescript with Vue. Using classical extend style it often cannot derive type and cause me to write ugly code like (this as any).comeComputedProp = newVal.


CPU issue

The DJ Controls in the OnAir studio is sometimes taking up a whole processor of CPU. It seems to only happen on the OnAir studio DJ Controls. But when it does, it slows things down. Unknown at this time what is causing it.

[x] Identify the problem

[x] Fix

[x] Monitor

Still unable to identify the cause.

meterLooper does not seem to be the issue; audio streams do not seem to be the issue; WebAudioRecorder was spawning itself multiple times, but that was fixed and the issue of high CPU and memory use still exists... metaTick / calendar processing may be the culprit. Check into that.

Added calendar caching. Will see if this resolves the CPU and memory issue.

Still cannot determine what the issue is; calendar caching did not help. Seems to be present on Windows computers with 4 or less processors.

The issue seems to be in meterLooper for SkywayJS, after having multithreaded DJ Controls and observing performance.

I believe the issue was from the audio meters, which doubled up every time an audio device was changed or re-loaded. Changed to use onaudioprocess instead of timers. Also added directives in renderer to prevent DOM changes when the window is hidden. CPU issue seems to finally be resolved.


Integrate the references generation into the CI/CD pipelines of the relevant projects

Closed in favour of  https://github.com/iotaledger/iota/issues/4097


Add unit tests to artifacts.rs module

Unit tests functions linked in code with this issue.

Hi, I'd love to work on this, is there more details or context I'd need before I jump on this?

Hi. I'd love to try it！！！！


IPv6 (@PPP?): Neighbor Discovery broken

SoftEther version: Current Master (as of 2020-12-09)
Component: Server
Operating system: Linux (Debian Buster in a XEN virtual machine)
Architecture: 64 bit
Description
I'm running a SE-VPN server in a dual stack (IPv4+IPv6) network, the hub uses a Local Bridge with a TAP interface to connect to the LAN. Clients connecting via L2TP/IPsec or SSTP get both an IPv4 and an IPv6 address. While IPv4 is working great and routed IPv6 connections (to the "internet") are fine too, the VPN clients cannot talk to other machines in their LAN over IPv6. This is obviously a problem, if most of your services (including the nameserver) have an IPv6 address configured and supplied by DNS.
After some debugging, I think I found 2 issues in the IPv6 Neighbor Discovery (IPv6s equivalent to IPv4s ARP) implementation, causing this for me:

Neighbor Solicitations are sent for the targets solicited-node multicast address (not just TO which would be correct, but also FOR). RFC4861 section 4.3 states, that "It MUST NOT be a multicast address." and I observed no targets actually answering to it. This happens in Cedar/IPC.c:2583
Two conditions again in Cedar/IPC.c at lines 2062-2063 and 2068 compare an IPv6 address type numerically with constants which are defined as bitmasks. And since for both IPV6_ADDR_LOCAL_UNICAST and IPV6_ADDR_GLOBAL_UNICAST the more generic bit IPV6_ADDR_UNICAST is always set as well, this effectively prevents any Neighbor Advertisement from entering the Neighbor Discovery Table and the already cached packets to be sent to their targets.

To solve this, I corrected both if-conditions, moved the assembly of the solicited-node multicast address to Mayaqua/TcpIp.c:BuildICMPv6NeighborSoliciation() and added a switch there, to allow selection of either this multicast target address (for MAC resolution of unkown hosts) or the unicast target address (for verification of already known hosts).
The latter seems to be used by Cedar/Hub.c:HubWatchDogThread() in building the IP table, but even after enabling the needed ExtOptions (at least I think I had) I didn't see any of those unicast packages leaving the interface. Maybe I applied the wrong filters to tcpdump, I'm not sure. But I think there are still issues here, e.g. this condition at Cedar/Hub.c:1575:
if ((e->UpdatedTime + (UINT64)(IP_TABLE_EXPIRE_TIME)) > Tick64())
Shouldn't the comparison operator be the other way around, to check for expired entries? Currently I would expect that the whole address table is updated in every watchdog cycle. Anyway, I just don't understand this table enough to dig deeper here and my changes shouldn't affect any of it's behaviour.
I attached the patch I'm currently using and which solves my IPv6 related problems described earlier. I'm sorry for the inconvenient way of providing this, but I have no experience with git and hope that a developer with access to a dual stack network can have a look at this and integrate the useful parts of the patch in a clean way into this repository.
Edit: Marked wrong assumptions, as clarified later by @domosekai
PPP_IPv6_NeighborDiscovery.diff.txt

Haha, OK, I have doubts but still tried :grin:


R111

Hey @alexanderdean, could you please merge this? Both commits got green ticks in #1023 and #1026


Fix issues identified by automated audit

This pull request was created by a tool: Cake.AddinDiscoverer version 3.14.0
Resolves #32

@Jericho I have merged this change here: https://github.com/cake-contrib/Cake.AliaSql/commit/a8d3b567d074987f6877b81ca2f198f93139095b
As such, I am going to go ahead and close this PR.  Thanks for submitting it though!


created basic recovery script

created basic recovery script

looks like this has conflicts, and needs a merge of master

so rather the interactive wizard style with screen clearing, i think just two subcommands, one to list snapshots given an instance id, and one to restore with params on the cli would suffice and avoid some odd interaction modes as well as being more portable (ie. work on windows). for the case where the instance no longer exists, i think we need additional cli params re subnet, role, instance type, sec groups, and key for pass through to run_instances


infer type unexpect

When I run code as :
type PayloadType =((s: number) => void) extends (arg1: any, payload?: infer U) => any ? U : never;

I got the PayloadType = {}
I think it's a bug, it should be undefined i wise.

{} is the type produced by generic inference when there are no inference candidates, which is what's happening here. I don't see a principled reason to produce undefined here - there is simply no corresponding parameter for U at all.

Emmm, And how I get undefined when the second paramters is empty?
Here is what i want todo：tsplayground

@foreverzmy Since this turned into a question, maybe you should ask it on SO ?

@dragomirtitian sorry, I misunderstand.


[docs] Adjust design kits-related content

[x] I have followed (at least) the PR section of the contributing guide.

This PR adds the Figma store link to the Joy UI overview page + adds a bit of polish to the Material UI one.

https://deploy-preview-39367--material-ui.netlify.app/joy-ui/getting-started/#start-now
https://deploy-preview-39367--material-ui.netlify.app/material-ui/getting-started/design-resources/

One bad thing about a page's content being short like it is now on the Material UI is that this happens 😅
I'm slightly hesitant to mess with the app layout component CSS and then mess other pages up... 😶

@alexfauquette I wonder if you have any insights about the point above ☝

Adding a minHeight: '100vh' here should do the job.
I don't see a drawback since for most pages the height will be much larger than the view height. But I could be missing something


Update upseto dependency

i'll update using dirbalak after finishing with all the pull requests. in the future, no need to create pull requests for manifest update, as i'm tracking inconsistencies with dirbalak.


[Chore]: No need to check HNC readiness in install_dependencies.sh

Background
HNC is 1.0.0 now and they seem to have introduces liveness and readiness probes, which makes some retries in our install dependencies script redundant.
Action to take
Remove the bits waiting for HNC to start responding
Impact
Simpler scripts
Dev Notes
No response

Picking this up as we need to bump dependency yaml to address dependabot's upgrade PR, and ignoring these start-up checks is trivial


Hot reload not working (Redirecting to base URL when front page is set)

Version
10
What did you expect to happen?
Since I mainly work on styles and layouts this is crucial to me. The expected behaviour is a page reload whenever I change a scss file, this does not work anymore once the Wordpress front page is set as a static page.
What actually happens?
When attempting to open page in dev mode over port 3000, it will automatically redirect to base URL (localhost)
The page does not reload anymore. It has to be reloaded manually.
Steps to reproduce
Download and install sage 10 and set front page to a static page
Start dev mode via yarn dev
System info
Docker, macOS Version 12.3 (21E230), happens also on Linux
Log output
No response
Please confirm this isn't a support request.
Yes

Head over to https://discourse.roots.io/ for support requests


"How to use tutorial" absence

Could you add info about usage (especially, installation) of your component into README file?

I know it's 5 years down the road and so this project is likely either abandon-ware or used internally by the dev, but it would still be nice to have some detailed information about how to use this. It looks very simple and efficient, but the last steps of how to use it are still missing.

I'm sorry to have not responded to the original question when this was filed.
Unfortunately I haven't done anything related to Qt/QML in years, and I don't even really remember how this library works. So any explanation I could give would be me reverse-engineering it.
Also it seems unlikely that everything would work as normal with modern versions of Qt/QML, and whatever changes they have had along the way.
I am currently very tied up with other open source aspirations and obligations and I don't have time to work on this.
If someone wants to take the time to update the repo and add some info about installing/compiling it in a modern Qt/QML program, I am happy to accept a pull request or even transfer the repository to them.
If nobody responds, perhaps it would be best for me to use GitHub's archiving feature and mark this more clearly as abandonware.
I'm sorry for any confusion or lost time this has caused.

@jemc, thanks a lot for the response. No worries whatsoever, thanks a lot for publishing this library to begin with.
I futzed around a bit with the UDP parts and they were pretty easy to get working! I'll post some info on it and maybe with some guidance it can get promoted into the Readme.md.

@kubark42 I'm a bit stuck with installation, I'm working with Qt 5.15 and I will be very glad if you could do some tutorial or a simple cpp/QML example project, it could help newbies like me <3


Installing formulas from taps with a dot in the tap name does not work

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[X] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[X] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[X] ran brew update and can still reproduce the problem?
[X] ran brew doctor, fixed all issues and can still reproduce the problem?
[X] ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why)
What happened (include command output)
What you expected to happen
Step-by-step reproduction instructions (by running brew commands)

Features
Please replace this section with:

a detailed description of your proposed feature
the motivation for the feature
how the feature would be relevant to at least 90% of Homebrew users (if it's not: do not open a feature request)
what alternatives to the feature you have considered

We will close this issue or ask you to create a pull-request if it's something the maintainers are not actively planning to work on.

Description
I wanted to install a formula from a tap with a custom URL as the repository is not prefixed with homebrew-. Adding the tap worked, but installing failed by stating the formula does not exist (see "Actual Result"). This seems to be due to a dot character in the name of the tap. Note: This issue also seems to affect GitHub repositories with a dot in the name (e.g. when not using a custom name).
Expected result
Formula gets installed as with using a tap name without a dot.
If this issue might not get fixed/not be fixable a more descriptive error message would be helpful as a tap maintainer could think this issue is caused by the tap.
Actual result
Homebrew does fail with an error message stating that the formula is not available. Funnily it tries to search for a similar formula, finds the exact same one to be installed and suggests the command which actually caused the error.
Error: No available formula with the name "foobar/foo.bar/crunch"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
This similarly named formula was found:
foobar/foo.bar/crunch
To install it, run:
  brew install foobar/foo.bar/crunch

Steps to reproduce

Tap a repository with a custom tap name containing a dot, e.g. brew tap foobar/foo.bar https://github.com/sidaf/homebrew-pentest.git
Try to install an arbitrary formula, e.g. brew install foobar/foo.bar/crunch

Workaround
Do not use dot characters in tap names.
Attachments
brew config
HOMEBREW_VERSION: 1.5.4-40-g988e805
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 988e8054482c3458c387c5e589292144f2b26e50
Last commit: 12 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 39e72cdec0cadefbdf17bccea59f7f23b5837639
Core tap last commit: 84 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.16.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.1/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.5.0/bin/ruby
Java: 1.8.0_45, 1.6.0_65-b14-468
macOS: 10.12.6-x86_64
Xcode: 9.2
CLT: <IP_ADDRESS>.1.1510905681
X11: 2.7.11 => /opt/X11

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: You have HOMEBREW_BUILD_FROM_SOURCE set. This environment variable is
intended for use by Homebrew developers. If you are encountering errors,
please try unsetting this. Please do not file issues if you encounter
errors when using this environment variable.

Warning: Your default Python does not recognize the Homebrew site-packages
directory as a special site-packages directory, which means that .pth
files will not be followed. This means you will not be able to import
some modules after installing them with Homebrew, like wxpython. To fix
this for the current user, you can run:
  mkdir -p /Users/martin/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/martin/Library/Python/2.7/lib/python/site-packages/homebrew.pth

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libactivboardex.dylib
  /usr/local/lib/libactivlog.dylib
  /usr/local/lib/libdetectcoll.dylib
  /usr/local/lib/libgnuradio-paint.dylib
  /usr/local/lib/libhackrf.0.3.0.dylib
  /usr/local/lib/libpolyclipping.19.0.0.dylib
  /usr/local/lib/libsha1detectcoll.0.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/paint/api.h
  /usr/local/include/paint/paint_bc.h
  /usr/local/include/python2.7/greenlet/greenlet.h
  /usr/local/include/python3.5m/persistent/cPersistence.h
  /usr/local/include/python3.5m/persistent/ring.h
  /usr/local/include/python3.6m/persistent/cPersistence.h
  /usr/local/include/python3.6m/persistent/ring.h

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/kismet.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libquiet_static.a

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  avr-gcc
  clingo
  gnome-common
  gnupg
  kcoreaddons
  lesstif
  numpy
  rarian
  vim
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy

Warning: Some keg-only formulae are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:
  gettext

Do not use dot characters in tap names.

This seems to be an acceptable workaround.

What about a better error message?

We would accept a pull request to add one.


Ability to exclude a render mesh from a node

Is your feature request related to a problem? Please describe.
In the current implementation of the exporter, when a Blender mesh object is exported, the glTF node will always have a mesh property; however, there are scenarios where I believe this shouldn't be the case.
For example, when configuring a scene for physics simulation, you may want an object with a complex render mesh coupled and a simplified collision mesh. The normal Blender workflow for this is:

Create the complex mesh; in the physics properties, make it a rigid body with shape type "Compound Parent"
Add a child node with the simplified mesh, make it a rigid body with shape type "Convex"/"Mesh"/etc.
Set the child node to be non-renderable (blender_object.hide_render = True) so it's not visible in the final result, but will still be able to have an effect on the parent via it's physics properties.

However, this workflow conflicts a little with how glTF-Blender-IO works. By default, hide_render won't have an effect unless the "Limit selection to renderable options" (ExportGLTF2_Base.use_renderable=True) is set.
When use_renderable=True, though, the node isn't exported at all. Inside recursive_filter_tag() the node's keep_tag will be set to False, and that node will be filtered out. This is problematic as that node will never even get to a
glTF2ExportUserExtension.gather_node_hook so a user plugin won't have the ability to add extension data which they want.
Describe the solution you'd like
Ideally, the glTF-Blender-IO handling of hide_render would be more consistent with the way Blender operates.
Describe alternatives you've considered
In my user plugin, I've added an additional setting which says "this mesh should be non-renderable"  and, when exporting, nulls out the mesh on the glTF object[0]. This feels a little fragile and differs from the normal Blender workflow, so may be confusing for users.
[0] https://github.com/eoineoineoin/glTF_Physics_Blender_Exporter/commit/fc963386d5fe8e7ac0764677ee6e404bc9821a12

Hello,
Other exporters don't have a "use_renderable" option, but if we have a look on "use_selection", we are aligned with other exporter to not include the object at all.

Ideally, the glTF-Blender-IO handling of hide_render would be more consistent with the way Blender operates.

Not sure to understand what is the way Blender operates you are talking about regarding hide_render

the normal Blender workflow

Do you have any example of export workflows that handle your case?
Your request is quite specific to your pipeline, and probably not something that can be generalized to all workflow.
I think using hooks and post-processing is the better way to be generic enough to provide flexibility.
We probably can add a hook to check if we want to export the mesh data or not. I mean before the mesh are calculated.

Other exporters don't have a "use_renderable" option, but if we have a look on "use_selection", we are aligned with other exporter to not include the object at all.

Ideally, the glTF-Blender-IO handling of hide_render would be more consistent with the way Blender operates.

Not sure to understand what is the way Blender operates you are talking about regarding hide_render

the normal Blender workflow
Do you have any example of export workflows that handle your case?

Here's a simple blend file which highlights the issue. BlenderIO_2173.zip
Here, we have a [complex] "Suzanne" mesh node, with a child "CollisionProxy" node. The "CollisionProxy" has hide_render=False, so if you render this scene in Blender, this node is not visible. However, if you run the animation, you can see that the "CollisionProxy" does have an effect on the motion of "Suzanne".
However, if you export this scene with use_renderable=False in the exporter, that node is visible again (i.e. you get a glTF.node with a mesh parameter); by itself, I think this is an inconsistency bug, as the scene renders differently between Blender and a glTF renderer.
On the other hand, if you export this scene with use_renderable=True, the "CollisionProxy" node isn't exported at all.  This is problematic as this node is a container for other important scene information.


can't find the cloned repo

I would like to download a repo and zip it via a lambda , however after cloning the repo I can not find the repo, in order to be able to zip it :
  require("lambda-git")({
      targetDirectory: "/tmp"
    })
    .then(function (env) {
      // git is now ready
      console.log('running git commands : ')
      exec("git clone --quiet https://github.com/pimterry/lambda-git.git");
    })
    .catch(function (error) {
      // something failed
      console.log('error with the git commands', error);
    });

If you're not hitting an issue where git doesn't exist or throws some error starting up, then this is unlikely to be related to lambda-git directly, but an issue with how your code uses git itself, so I'm going to mark this issue as closed.
That said, looking at your code I suspect the problem is that you're not waiting for git clone to complete. Your call to exec() is asynchronous, and you need to wait until the clone finishes somehow. You probably want to pass a callback, and only try to zip it once that's been called successfully: https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback.


Two arrow heads in Columbus view

Run the polyline Sandcastle example, switch to Columbus view, and zoom in on the polyline with the arrow material.  On AMD at least, I see two arrows:

It appears this bug still exists.  This is from the Materials Sandcastle example.
The distance to the line matters, as does the angle:

And, I was able to get it to render more than two arrow heads at extreme angles:

This is on Intel hardware (GNU/Linux, Chromium v43), though it seems this is something in the material [shader] and not hardware specific.
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.8

var viewer = new Cesium.Viewer('cesiumContainer');
var scene = viewer.scene;

var polylines = scene.primitives.add(new Cesium.PolylineCollection());
var polyline = polylines.add({
    positions : Cesium.PolylinePipeline.generateCartesianArc({
        positions : Cesium.Cartesian3.fromDegreesArray([-110.0, 42.0,
                                                        -85.0, 36.0,
                                                        -100.0, 25.0,
                                                        -77.0, 12.0])
    }),
    width : 10.0,
    material: Cesium.Material.fromType('PolylineArrow')
});

viewer.camera.setView({
    position: new Cesium.Cartesian3(1404234.8527806934, -6079977.723369969, 1316874.3368459751),
    heading: 5.474598641469072,
    pitch: -0.3385580768913532,
    roll: 6.282147026410673
});

@bagnell

The problem is clipping the line segments to the near planes of the multifrustum. For example, if the near plane of the multifrustum intersects a line segment and vertices of the line segment have the x texture coordinates 0.0 and 1.0, the vertex with x texture coordinate is 1.0 could be clipped to the near plane. This would draw the arrow head at the near plane in one frustum and again in the closer frustum.
The solution would be to add extra texture coordinates for the adjacent vertices and interpolate at the clipped point. Another idea is to have all of the vertex data in the batch table and add indices to look up the vertex data at the current vertex and the adjacent vertices.

Also reported here: https://groups.google.com/forum/#!topic/cesium-dev/IsF-ljI1IE0

Related forum thread: https://groups.google.com/forum/#!searchin/cesium-dev/line$20clipping|sort:date/cesium-dev/VmvDX4nU_bM/2hAIMzW_BAAJ

Log depth reduces the likelyhood of multiple frustums, which makes the bug less command, but there will always be cases with multiple frustums (especially when log depth off) so the root cause of the issue is still there.


test: check static linking of FoundationNetworking

This trivial file when built with -static-stdlib is supposed to be statically linked with FoundationNetworking, but crashes on Ubuntu (and potentially all Linux distributions) with this error:
Foundation/NSSwiftRuntime.swift:409: Fatal error: You must link or load module FoundationNetworking to load non-file: URL content using String(contentsOf:…), Data(contentsOf:…), etc.
Trace/breakpoint trap

This was fixed in https://github.com/apple/swift-corelibs-foundation/pull/3135 for Swift 5.5, but regressed in Swift 5.6 and Swift 5.7. Having this test should help us prevent subsequent regressions.

@swift-ci please smoke test

@swift-ci please smoke test

Closing this, as it's not a regression.
This code having no references to FoundationNetworking causes a crash:
import Foundation

let str = try String(data: Data(contentsOf: URL(string: "https://httpbin.org/get")!), encoding: .utf8)
print(str)

Data(contentsOf:) weakly (indirectly) links FoundationNetworking, which leads to the linker stripping that as seemingly unused.
This snippet works perfectly fine when compiled with swiftc -static-stdlib:
import Foundation
import FoundationNetworking

_ = URLSession.shared

let str = try String(data: Data(contentsOf: URL(string: "https://httpbin.org/get")!), encoding: .utf8)
print(str)

Having a direct reference to symbols in FoundationNetworking (such as URLSession) is the recommended workaround as of Swift 5.7 and 5.6, and is likely to work in Swift 5.5 as well.
We're investigating if other solutions can be implemented in a future version of Swift.


POC s3

Is it Possible that when user upload a video to TopicVideo

original file is saved in s3
hls files created by this packages is stored on s3
urls in program endpoint are from s3 (here there is URL to hls.m3u playlisty only)


adds mssql driver

Summary
Adds a mssql driver in drivers
Changes

adds drivers/mssql.go, the actual driver
adds drivers/mssql_test.go, these tests are not automated, meaning you have to provide a database and set the tableName, databaseName and connection string. (It is pretty straight forward)
adds compiler checks to each driver implementation to verify these implement the Driver interface
adds mssql driver to components/ConnectionForm.go
adds mssql driver to components/ConnectionSelection.go

Related Issues
Fixes #12

Whopsie, forgot a big todo. Give me a moment.

Thank you for the PR. I'll check and test it a bit a come back with suggestion/merging.

I don't know much about mssql, but i created a docker instance, created a table named "test", i am able to connect to it and list all the "instances" and "tables", but when i select a table it shows the following error:

Any idea of why is this happening?

I will check on this as soon as I have time.
I only have an already working remote database and since I am on M1 I cannot really have an local instance.
As I said I will look into this. I am also preparing a PR with some more driver tests if you are interested.

Oh and I did not mention this yet: it's a great project you created here. Props for that. :)

I will check on this as soon as I have time. I only have an already working remote database and since I am on M1 I cannot really have an local instance. As I said I will look into this. I am also preparing a PR with some more driver tests if you are interested.

I'm on M1 also, i just created a docker instance.

Oh and I did not mention this yet: it's a great project you created here. Props for that. :)

Thank you very much, i love this project, i use it daily. I know it is not the best code (first go project), and it have bugs, but with the help of the community we can make this awesome.
Thanks for your time making this PR.

Hi,
above problem is indeed solved, but there's still something i noticed today. When you press "2" inside the table view to see the "Columns", it is empty.

Maybe there's a problem in the GetTableColumns function in the driver file.

So the problem is, that even though the drivers interface specifies the GetTableColumns with the parameters database and table, the database is empty, whereas the table is of format database.table.
Apparently I misunderstood the interface, but I think it should be refactored. There should always be a database and a table attribute. The table attribute should never have the database encoded into it.  Also I suggest a context.Context is passed, as described in https://pkg.go.dev/context.
I would love to make this a separate PR. For now I will always check if the table param contains a database and if so overwrite database param, I guess.
Change is comming up.
If you have a way for private communication let me know. I would love to here what you say on the interface change. I am sure there is a reason that the database is encoded in the table param, that I just dont know about.

When i try to filter a table, the following error happens:

Apparently I misunderstood the interface, but I think it should be refactored. There should always be a database and a table attribute. The table attribute should never have the database encoded into it. Also I suggest a context.Context is passed, as described in https://pkg.go.dev/context.

I agree that should be refactored

@jorgerojas26 @FrauElster Was just curious if there had been any progress with this? I've been looking forward and following this project for a while, but my work only involves MSSQL so unfortunately I still can't use it. But I am looking very forward to when this MSSQL support is completed!

@jorgerojas26 @FrauElster Was just curious if there had been any progress with this? I've been looking forward and following this project for a while, but my work only involves MSSQL so unfortunately I still can't use it. But I am looking very forward to when this MSSQL support is completed!

I think this PR is stuck, there has no been any progress in a while. I'll try to make the integration myself in a few days.

@jorgerojas26 Awesome! I was just curious been following this since I had seen the initial PR and was curious as it did seem stuck. But thanks for all your work!

Sorry back from the oblivion. It have been super busy both at work and personal.
If I remember correctly I was somewhat unhappy with the interface for the drivers, which sometimes passed the database.tablename, sometimes only tablename, sometimes nothing. This was the root cause of the problems at hand, and I started to refactor it...and got lost and distracted doing this.
I would be happy if someone else takes over, this PR, if not my forecast is that in late october my situation gets a bit more calm and I can give it another try :)

Sorry back from the oblivion. I have been super busy both at work and personal.
If I remember correctly I was somewhat unhappy with the interface for the drivers, which sometimes passed the database.tablename, sometimes only tablename, sometimes nothing. This was the root cause of the problems at hand, and I started to refactor it...and got lost and distracted doing this.
I would be happy if someone else takes over, this PR, if not my forecast is that in late october my situation gets a bit more calm and I can give it another try :)

It's ok :) yeah, the interface has been refactored to always receive the database name. I'll close this PR because there has been major refactors since opened. Thanks for the try :)


Proposed fix for issue 90

Lombok disabled during ast creation in DefaultCodeFormatter & CleanUpPostSaveListener
Tested using @Getter(lazy=true) @Setter(AccesLevel.Private) and @Cleanup and the save actions described in issue 90 active

Instead of disabling lombok here, it might be possible to narrow the locations where lombok is activated.
ie only bind "transform" and "transform_swapped" when the compilationunit actually needs to contain the lombok generated methods, but that would have more impact.
I'll probably be looking into this anyway :)


Added missing metal resistor symbols for Xschem

I'm using some metal resistors in local interconnect and metal 3, and the symbols were missing. To get the LVS correct I copied the res_generic_m1 to the other metal layers.
Example files:
Sch: https://github.com/wulffern/aicex/blob/main/ip/sun_pll_sky130nm/design/SUN_PLL_SKY130NM/CAP_LPF.sch
Lay: https://github.com/wulffern/aicex/blob/main/ip/sun_pll_sky130nm/design/SUN_PLL_SKY130NM/CAP_LPF.mag

Never mind, I thought the symbols was in git, but that's obviously not the case


Convert dump block json to archive sql

You'll need

a gcloud service key (ask me for it)

Running the following commands should get you the data
$ gcloud auth activate-service-account --key-file=<keyfile path>
$ gcloud cp gsutil cp gs://mina_network_block_data/$testnet-* .

Once you have downloaded the blocks with the commands above, you can ingest them using
coda.exe advanced archive-precomputed-blocks path/to/downloaded/blocks/*

The tool talks to a daemon connected to an archive database over its GraphQL connection, so you may need to pass -rest-server http://daemon-address:port/graphql if it is not local on the default port.

Once you have downloaded the blocks with the commands above, you can ingest them using
coda.exe advanced archive-precomputed-blocks path/to/downloaded/blocks/*

The tool talks to a daemon connected to an archive database over its GraphQL connection, so you may need to pass -rest-server http://daemon-address:port/graphql if it is not local on the default port.


Use env.log_level

environs now has first-class support for logging levels,
which may be specified as an int or a str (e.g. 'WARNING', 'INFO')

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: sloria sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


v2rayn: Add architecture

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

/verify


(Rust) pacify & re-enable Clippy on CI

existing code has warnings & errors that don't pass CI if Clippy is enabled.

Clippy checks are now running all the time on CI: https://github.com/build-trust/ockam/actions/runs/4234409353/jobs/7356653532


fix(rust):replaced termimad with formatdoc & opts.terminal.stdout() in authenticated

Current behavior
The authenticated commands uses termimad to format and print its output.

Proposed changes
The command output has been formatted with formatdoc and printed with opts.terminal.stdout().
fixes https://github.com/build-trust/ockam/issues/6678

Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] There are no Merge commits in this Pull Request. Ockam repo maintains a linear commit history. We merge Pull Requests by rebasing them onto the develop branch. Rebasing to the latest develop branch and force pushing to your Pull Request branch is okay.
[x] I have read and accept the Ockam Community Code of Conduct.
[x] I have read and accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a separate Pull Request, this will mark the commit as verified.

@KekmaTime while we still have to review this change. I'm adding the HACKTOBERFEST-ACCEPTED label so the contribution is counted by hacktoberfest bots before the end of October. Thank you for taking time to contribute 🎉
Please note @adrianbenavides's feedback above.

@adrianbenavides is this okay?


Auth overhall + App Check

Make it so admins can be assigned by other admins. Can just yoink this logic from Helios
Enforce App Check on Firestore and Cloud Storage.

Not needed based on meeting today


Adding missing request timeout env and no register backup if empty

follow startup args in server mode, i.e. no register backup if filename is set to empty
adding missing information to get env FCLI_REQUEST_TIMEOUT working which is used in scripts/deploy/Dockerfile

🎉


[external-dns] support OVH as a DNS provider

OVH is an important ISP providing a public DNS service with an API.
They published a go library to use their API : https://github.com/ovh/go-ovh
It would be really nice to support this provider in the external-dns service.
If you find this request worthy of interest, I may be able to provide a patch (no strong promises here, I never coded a line in go :-)).

PRs welcome, these are mostly community contributed.  (external-dns BTW, rancher-dns is not the same thing)

Ok thanks for your answer, I will give an update here if I try to make a patch.
For the title I followed the link in external-dns README file.


XmlReader should be disposed

Since XmlReader implements IDisposable, the XmlReader should be disposed after use, e.g.
using (XmlReader books = XmlReader.Create("books.xml", booksSettings))
    while (books.Read()) { }

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

ID: e99bf3b5-3eb2-a0d3-2009-4fb2b9de3b76
Version Independent ID: 8252e3d3-0718-9814-d685-852387f16afd
Content: XML Schema (XSD) Validation with XmlSchemaSet
Content Source: docs/standard/data/xml/xml-schema-xsd-validation-with-xmlschemaset.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thank you for opening this issue. I'll add it to the backlog.
Thanks again!


Translate README.md to different languages

Like in https://github.com/firstcontributions/first-contributions

Can I be assigned this for hindi?  I am an Indian so I already know a lot of hindi


go-ethereum: 1.9.14 -> 1.9.15

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/go-ethereum/versions.
meta.description for go-ethereum is: "Official golang implementation of the Ethereum protocol"
meta.homepage for go-ethereum is: "https://geth.ethereum.org/"
meta.changelog for go-ethereum is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.9.15 with grep in /nix/store/jv7645rg9r4b7gik4x42cym0q3cixbxs-go-ethereum-1.9.15

directory tree listing: https://gist.github.com/0869e9512cf03c1e51cfb2376ac928d8

du listing: https://gist.github.com/2f9250b842b1404dac00e74f6616ed98

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
go-ethereum

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jv7645rg9r4b7gik4x42cym0q3cixbxs-go-ethereum-1.9.15 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A go-ethereum https://github.com/r-ryantm/nixpkgs/archive/9b0a95e481533193344fc87fedd54c176122263a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jv7645rg9r4b7gik4x42cym0q3cixbxs-go-ethereum-1.9.15
ls -la /nix/store/jv7645rg9r4b7gik4x42cym0q3cixbxs-go-ethereum-1.9.15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- go-ethereum

Maintainer pings
cc @adisbladis @asymmetric @lionello @xrelkd @kalbasit for testing.

Result of nixpkgs-review pr 89932 1

1 package built:
- go-ethereum


Laurel: Watch ^Asim Ahmed$

Laurel requests the watch of the watch_keyword ^Asim Ahmed$. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

^Asim Ahmed$ has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


[Feature Request] Return key to start search

Great plug-in. When I open a new tab showing beautitab, my default action is to search for a note. Instead of having to use the mouse to click on the earch bar or the top left search icon, why not just respond to the first key press, RETURN, or others, to start the search logic?

Added in version 1.6.0 (just released). :)


Use the workload identity

This PR splits the introduction of workload identity part of #124 and allows us to do the granular permissions in later PR.

Is this reviewable? @RadekManak


[BUG] OperationFailure: PlanExecutor error during aggregation :: caused by :: BSONObj size: 17544285 (0x10BB45D) is invalid. Size must be between 0 and 16793600(16MB)

Describe the problem
When I tryna executing dataset.distinct('filepath') on a very large dataset (170,000 images), this error occured.
Code to reproduce issue
OperationFailure                          Traceback (most recent call last)
Cell In[1], line 9
      7 ds = fo.load_dataset(dsname)
      8 # data-cleasing
----> 9 flist = ds.distinct('filepath')
     10 npaths = [path for path in flist if path.split(".")[0].split("_")[-1].isdigit()]
     11 spaths = [path for path in flist if not path.split(".")[0].split("_")[-1].isdigit()]

File /opt/conda/lib/python3.10/site-packages/fiftyone/core/collections.py:7463, in SampleCollection.distinct(self, field_or_expr, expr, safe)
   7371 """Computes the distinct values of a field in the collection.
   7372
   7373 ``None``-valued fields are ignored.
   (...)
   7458     a sorted list of distinct values
   7459 """
   7460 make = lambda field_or_expr: foa.Distinct(
   7461     field_or_expr, expr=expr, safe=safe
   7462 )
-> 7463 return self._make_and_aggregate(make, field_or_expr)

File /opt/conda/lib/python3.10/site-packages/fiftyone/core/collections.py:9702, in SampleCollection._make_and_aggregate(self, make, args)
   9699 if isinstance(args, (list, tuple)):
   9700     return tuple(self.aggregate([make(arg) for arg in args]))
-> 9702 return self.aggregate(make(args))

File /opt/conda/lib/python3.10/site-packages/fiftyone/core/collections.py:9395, in SampleCollection.aggregate(self, aggregations)
   9392     pipelines.append(pipeline)
   9394 # Run all aggregations
-> 9395 _results = foo.aggregate(self._dataset._sample_collection, pipelines)
   9397 # Parse batch results
   9398 if batch_aggs:

File /opt/conda/lib/python3.10/site-packages/fiftyone/core/odm/database.py:348, in aggregate(collection, pipelines)
    345     return _do_async_pooled_aggregate(collection, pipelines)
    347 if num_pipelines == 1:
--> 348     result = collection.aggregate(pipelines[0], allowDiskUse=True)
    349     return [result] if is_list else result
    351 return _do_pooled_aggregate(collection, pipelines)

File /opt/conda/lib/python3.10/site-packages/pymongo/collection.py:2720, in Collection.aggregate(self, pipeline, session, let, comment, **kwargs)
   2642 """Perform an aggregation using the aggregation framework on this
   2643 collection.
   2644
   (...)
   2717     https://mongodb.com/docs/manual/reference/command/aggregate
   2718 """
   2719 with self.__database.client._tmp_session(session, close=False) as s:
-> 2720     return self._aggregate(
   2721         _CollectionAggregationCommand,
   2722         pipeline,
   2723         CommandCursor,
   2724         session=s,
   2725         explicit_session=session is not None,
   2726         let=let,
   2727         comment=comment,
   2728         **kwargs,
   2729     )

File /opt/conda/lib/python3.10/site-packages/pymongo/_csot.py:107, in apply.<locals>.csot_wrapper(self, *args, **kwargs)
    105         with _TimeoutContext(timeout):
    106             return func(self, *args, **kwargs)
--> 107 return func(self, *args, **kwargs)

File /opt/conda/lib/python3.10/site-packages/pymongo/collection.py:2627, in Collection._aggregate(self, aggregation_command, pipeline, cursor_class, session, explicit_session, let, comment, **kwargs)
   2616     kwargs["comment"] = comment
   2617 cmd = aggregation_command(
   2618     self,
   2619     cursor_class,
   (...)
   2624     user_fields={"cursor": {"firstBatch": 1}},
   2625 )
-> 2627 return self.__database.client._retryable_read(
   2628     cmd.get_cursor,
   2629     cmd.get_read_preference(session),  # type: ignore[arg-type]
   2630     session,
   2631     retryable=not cmd._performs_write,
   2632 )

File /opt/conda/lib/python3.10/site-packages/pymongo/mongo_client.py:1492, in MongoClient._retryable_read(self, func, read_pref, session, address, retryable)
   1487 # Ensure that the client supports retrying on reads and there is no session in
   1488 # transaction, otherwise, we will not support retry behavior for this call.
   1489 retryable = bool(
   1490     retryable and self.options.retry_reads and not (session and session.in_transaction)
   1491 )
-> 1492 return self._retry_internal(
   1493     func,
   1494     session,
   1495     None,
   1496     is_read=True,
   1497     address=address,
   1498     read_pref=read_pref,
   1499     retryable=retryable,
   1500 )

File /opt/conda/lib/python3.10/site-packages/pymongo/_csot.py:107, in apply.<locals>.csot_wrapper(self, *args, **kwargs)
    105         with _TimeoutContext(timeout):
    106             return func(self, *args, **kwargs)
--> 107 return func(self, *args, **kwargs)

File /opt/conda/lib/python3.10/site-packages/pymongo/mongo_client.py:1462, in MongoClient._retry_internal(self, func, session, bulk, is_read, address, read_pref, retryable)
   1428 @_csot.apply
   1429 def _retry_internal(
   1430     self,
   (...)
   1437     retryable: bool = False,
   1438 ) -> T:
   1439     """Internal retryable helper for all client transactions.
   1440
   1441     :Parameters:
   (...)
   1451       Output of the calling func()
   1452     """
   1453     return _ClientConnectionRetryable(
   1454         mongo_client=self,
   1455         func=func,
   1456         bulk=bulk,
   1457         is_read=is_read,
   1458         session=session,
   1459         read_pref=read_pref,
   1460         address=address,
   1461         retryable=retryable,
-> 1462     ).run()

File /opt/conda/lib/python3.10/site-packages/pymongo/mongo_client.py:2315, in _ClientConnectionRetryable.run(self)
   2313 self._check_last_error(check_csot=True)
   2314 try:
-> 2315     return self._read() if self._is_read else self._write()
   2316 except ServerSelectionTimeoutError:
   2317     # The application may think the write was never attempted
   2318     # if we raise ServerSelectionTimeoutError on the retry
   2319     # attempt. Raise the original exception instead.
   2320     self._check_last_error()

File /opt/conda/lib/python3.10/site-packages/pymongo/mongo_client.py:2445, in _ClientConnectionRetryable._read(self)
   2443 if self._retrying and not self._retryable:
   2444     self._check_last_error()
-> 2445 return self._func(self._session, self._server, conn, read_pref)

File /opt/conda/lib/python3.10/site-packages/pymongo/aggregation.py:164, in _AggregationCommand.get_cursor(self, session, server, conn, read_preference)
    161     write_concern = None
    163 # Run command.
--> 164 result = conn.command(
    165     self._database.name,
    166     cmd,
    167     read_preference,
    168     self._target.codec_options,
    169     parse_write_concern_error=True,
    170     read_concern=read_concern,
    171     write_concern=write_concern,
    172     collation=self._collation,
    173     session=session,
    174     client=self._database.client,
    175     user_fields=self._user_fields,
    176 )
    178 if self._result_processor:
    179     self._result_processor(result, conn)

File /opt/conda/lib/python3.10/site-packages/pymongo/helpers.py:322, in _handle_reauth.<locals>.inner(*args, **kwargs)
    319 from pymongo.pool import Connection
    321 try:
--> 322     return func(*args, **kwargs)
    323 except OperationFailure as exc:
    324     if no_reauth:

File /opt/conda/lib/python3.10/site-packages/pymongo/pool.py:968, in Connection.command(self, dbname, spec, read_preference, codec_options, check, allowable_errors, read_concern, write_concern, parse_write_concern_error, collation, session, client, retryable_write, publish_events, user_fields, exhaust_allowed)
    966     self._raise_if_not_writable(unacknowledged)
    967 try:
--> 968     return command(
    969         self,
    970         dbname,
    971         spec,
    972         self.is_mongos,
    973         read_preference,
    974         codec_options,
    975         session,
    976         client,
    977         check,
    978         allowable_errors,
    979         self.address,
    980         listeners,
    981         self.max_bson_size,
    982         read_concern,
    983         parse_write_concern_error=parse_write_concern_error,
    984         collation=collation,
    985         compression_ctx=self.compression_context,
    986         use_op_msg=self.op_msg_enabled,
    987         unacknowledged=unacknowledged,
    988         user_fields=user_fields,
    989         exhaust_allowed=exhaust_allowed,
    990         write_concern=write_concern,
    991     )
    992 except (OperationFailure, NotPrimaryError):
    993     raise

File /opt/conda/lib/python3.10/site-packages/pymongo/network.py:192, in command(conn, dbname, spec, is_mongos, read_preference, codec_options, session, client, check, allowable_errors, address, listeners, max_bson_size, read_concern, parse_write_concern_error, collation, compression_ctx, use_op_msg, unacknowledged, user_fields, exhaust_allowed, write_concern)
    190             client._process_response(response_doc, session)
    191         if check:
--> 192             helpers._check_command_response(
    193                 response_doc,
    194                 conn.max_wire_version,
    195                 allowable_errors,
    196                 parse_write_concern_error=parse_write_concern_error,
    197             )
    198 except Exception as exc:
    199     if publish:

File /opt/conda/lib/python3.10/site-packages/pymongo/helpers.py:230, in _check_command_response(response, max_wire_version, allowable_errors, parse_write_concern_error)
    227 elif code == 43:
    228     raise CursorNotFound(errmsg, code, response, max_wire_version)
--> 230 raise OperationFailure(errmsg, code, response, max_wire_version)

OperationFailure: PlanExecutor error during aggregation :: caused by :: BSONObj size: 17544285 (0x10BB45D) is invalid. Size must be between 0 and 16793600(16MB) First element: _id: null, full error: {'ok': 0.0, 'errmsg': 'PlanExecutor error during aggregation :: caused by :: BSONObj size: 17544285 (0x10BB45D) is invalid. Size must be between 0 and 16793600(16MB) First element: _id: null', 'code': 10334, 'codeName': 'BSONObjectTooLarge'}

Hi @stevezkw1998, MongoDB has built-in limits on the size of a single document, which a distinct result must fit into. For large datasets, computing distinct values for a field with high cardinality, I recommend a grouping approach like the below.
my_filepaths = set(dataset.group_by("filepath").values("filepath"))


application builder: non-informative exceptions with prerender: true

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Hi.
I am trying new application builder with "prerender": true option enabled, but it gives me an error:
An unhandled exception occurred: window is not defined
See "C:\Users\123\AppData\Local\Temp\ng-AXVmxB\angular-errors.log" for further details.

Content of the error file:
[error] ReferenceError: window is not defined
    at file:///C:/chunk-SJA6CGGK.mjs:96:121215
    at file:///C:/chunk-7JMVHTMF.mjs:3:1036
    at file:///C:/chunk-SJA6CGGK.mjs:696:32603
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

But there is no file at given location. Angular deletes it after failed build?
I don't use raw window global, instead i am injecting WINDOW token everywhere, so root of the problem is somewhere in vendor. There is literally no way to debug this for now
Minimal Reproduction
ng build
Exception or Error
No response
Your Environment
Angular CLI: 17.0.0-next.8
Node: 18.18.1
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 17.0.0-next.7
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.0-next.8
@angular-devkit/build-angular   17.0.0-next.8
@angular-devkit/core            17.0.0-next.8
@angular-devkit/schematics      17.0.0-next.8
@angular/cdk                    17.0.0-next.6
@angular/cli                    17.0.0-next.8
@angular/material               17.0.0-next.6
@angular/ssr                    17.0.0-next.8
@schematics/angular             16.2.5
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.0

Anything else relevant?
No response

You can already enable namedChunk to have a first idea of which chunk is throwing the error.

You can already enable namedChunk to have a first idea of which chunk is throwing the error.

Yeah, that helped me. ng-apexcharts is using window global sadly :(

We should resolve and load sourcemaps when enabled to provide a better stack trace .


Where to log ?

Hi there, I'd like to get the logs from my app using monolog.
Where do I output it ? Is there a way to monolog to STDOUT ???
Is there a cool basic heroku conf for monologing ?

Closing as this has been implemented in #78


fix issues 13015 : use id cmd to check if user exist

fix https://github.com/apache/dolphinscheduler/issues/13015#issue-1465777680

Please submit the PR to the dev branch.


Not responsive in Mobile.

Describe the bug
App is not looking good in mobile view and button are getting displaced
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

DUPLICATE #53


Error 3725 if a FK depends on it

While it may work in this database, it's not that simple -- if the PK being removed is referenced by a FK somewhere, error 3725 is throw: The constraint '<PK name>' is being referenced by table '<referenced table>', foreign key constraint '<FK name>'.

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

ID: 0f0c0857-1a99-d09d-157d-04edf8edda01
Version Independent ID: bf4b680f-7849-a05f-a567-c084875ab790
Content: Delete Primary Keys - SQL Server
Content Source: docs/relational-databases/tables/delete-primary-keys.md
Service: sql
Sub-service: table-view-index
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@haagensen -- Christian, thank you for your clear feedback.
@WilliamDAssafMSFT -- William, please look into this issue.

Makes sense, @haagensen. We'll add that detail to this page. Thanks for taking the time to provide this feedback!


Support for AuthN with JWT stored in session http-only cookies

Summary
Create in-box support for Authn with JWT stored in http-only cookies
Motivation and goals
Then we develop SPA application with ASP.NET Core (for ex. with React at frontend) we very often think about how we implement authentication in our application. There is currently two ways to do it: with session cookie, and with JWT. As devs, we prefer to use jwt, because it does not require for a DB lookup.
If we decided to use jwt, there is 3 ways to do request with it:

Set as authorization header (Authorization: Bearer <token>) and store it locally in memory (.AddJwtBearer()
Set as authorization header (Authorization: Bearer <token>) and store it in browser local storage (.AddJwtBearer())
Pass jwt token in http-only cookie

The third option is currently the most secure way to pass and store jwt tokens, because we become immutable to XSS attack, because attacker cannot read our token from cookie. Still, we became vulnerable to CSRF, but this we can fix this by providing XSRF token on a client side. By the end of a day, we can see why JWT with http-only secure cookie is preferred as authn solution using jwt's.
However this way is most secure, ASP.NET Core does not provide in-box solution for this, so we need to add custom middleware to any project which uses this technique. Currently, we implement this logic by this sort of middleware:
app.UseCookiePolicy(cookiePolicyOptions); // making cookie http-only, strict, e.t.c
app.Use(async (context, next) =>
{
        var token = context.Request.Cookies[".AspNetCore.Application.Id"];
        if (!string.IsNullOrEmpty(token))
                context.Request.Headers.Add("Authorization", "Bearer " + token);

        await next();
});
app.UseAuthentication();

Futhermore, a lot of other tech solutions (such as NextAuth) already have support for this feature.
Goals:

[ ] Create Solution to support JWT in Session token support in-box

In scope
A list of major scenarios, perhaps in priority order.
Out of scope
Scenarios you explicitly want to exclude.
Risks / unknowns
There is security concern, and we need to be careful about reviewing PR for this. Also,
Examples
Design proposal No.1: New middleware
We can add new middleware, which will
app.UseCookiePolicy(cookiePolicyOptions);
app.UseJwtInCookie(jwtInCookiePolicyOptions);

Design proposal No.2: Different authentication scheme?
I'm not sure, if that can be considered as a different authn scheme. If so, we would be able to add jwt in cookie alongside with default jwt bearer and cookies:
builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
    .AddCookie(options =>
    {
        // some cookie settings
    })
    .AddJwtBearer(options =>
    {
         // some jwt settings
    })
    .AddJwtInCookie(options =>
    {
         // There is an options for both cookie and jwt configuration for this?
    });

Associated WorkItem - 55240

@Rick-Anderson Do we document this particular scenario for OnMessageReceived to incorporate JWT token derived from a cookie?

@Rick-Anderson Do we document this particular scenario for OnMessageReceived to incorporate JWT token derived from a cookie?

No.

There are some docs on this pattern in https://learn.microsoft.com/en-us/aspnet/core/signalr/authn-and-authz?view=aspnetcore-7.0#built-in-jwt-authentication.

Where should this information go? I don't see a doc where it could be added.

I think adding it to the same heading linked above should be sufficient.

I think adding it to the same heading linked above should be sufficient.

But that's SignalR, as you asked

@Rick-Anderson Do we document this particular scenario for OnMessageReceived to incorporate JWT token derived from a cookie?

How will non-SignalR folks find it?
@adityamandaleeka  can you assign someone to draft how to use  OnMessageReceived to incorporate JWT token derived from a cookie?

@HaoK Can you help with that?
FYI @Rick-Anderson The auth space is now owned by @rafikiassumani-msft's team.

FYI @Rick-Anderson The auth space is now owned by @rafikiassumani-msft's team.

Can you update Team Ownership? That's what I use.

Will do.

cc: @JeremyLikness
There's questions here about where to document a scenario that users inquired about. Bringing it to your radar because I'm not sure where the best place in the docs to place it is.

Will address this as part of a broader effort to improve auth-related docs and will cross-link when the other issue is available.


server: abandon support for raftcmd from network.

Do we need to remove raftcmd from kvproto too?

I think we can update kvproto at the same time with grpc.

PTAL @BusyJay

PTAL @BusyJay

PTAL @BusyJay

LGTM


Doesn't unescape escaped characters

parse('1rem Courier\000020New')

should yield results containing unescaped font name, 'Courier New'

Can you submit a PR?

Also, how would that value be unescaped anyway? It's not something that unescape would handle.


Hide some rules and clean up the generated syntax tree of some statements

To make the parser lighter as discussed in #5.
The "cleaning up" part is yet to be done.

Some notes:

The test is failing (intentionally) due to #7; I figured that I'd rather have the test fail now and rebase the branch with the fix later.
I used tree-sitter test --update to generate the updated test cases (whose accuracy I verified manually).  It reformatted the file in a uniform way, and I made it add the field names in the test cases so that they are covered as well.

I've done some simplifications in tests so it is easier to test on for now since precedences are messed up and this let's me test directly on this branch which has nicer tree, still did not solve the #7.

Ok, #7 should be fixed, I think you can rebase on top and finish up your PR safely now.

The branch should be ready for merging; I've also added some cleanups that go slightly outside of the scope of the discussion at #5:

I removed the condition rule since the addition of the logical_expression rules makes it redundant.
I added a body rule for statements that contain multiple statements inside (IF, DO, PROCEDURE, FUNCTION, etc.).