[feature] implement condition objects

Refer to #600 for most details. As it turned out that memoization is pretty hard to achive (moreover the invalidation) and we're not sure if it is worth it, we decided to do the basic condition objects (and -> * , or -> +) in a separate PR.
TODOs:

[x] Write some tests for this
[x] Write documentation
[x] Move to extras/conditions/ / split into _expand/_show and _objects

Anything I'm missing?

Nice, I think that's it, not missing anything :+1:

Lua 5.4 reference states that for __eq

The result of the call is always converted to a boolean.

The for luajit more relevant Lua 5.1 reference contains no such statement (lua5.2 states Note that the result is always a boolean.).
In my tests this also holds. Lua seems to be doing something like return self.__eq(other) ~= nil and self.__eq(other) ~= false.
As we need to return a function from the operator, this is a problem for us.
In effect we cannot use ==, < and >. Operators which are left are

__sub (- bad Idea as we're using the __unm for not)
__div (/)
__mod (%)
__concat (..)
__len (#)

Nothing seems to be really fitting for the xnor aka == operator. Any ideas?

Should we add a composite test of multiple operators (including parentheses)? And if so any suggestions what expression might be interesting?

Lua 5.4 reference states that for __eq

The result of the call is always converted to a boolean.

The for luajit more relevant Lua 5.1 reference contains no such statement (lua5.2 states Note that the result is always a boolean.).
In my tests this also holds. Lua seems to be doing something like return self.__eq(other) ~= nil and self.__eq(other) ~= false. As we need to return a function from the operator, this is a problem for us.
In effect we cannot use ==, < and >. Operators which are left are

__sub (- bad Idea as we're using the __unm for not)
__div (/)
__mod (%)
__concat (..)
__len (#)

Nothing seems to be really fitting for the xnor aka == operator. Any ideas?

Oh wow, that's unfortunate :/
Tough, I'm not sure whether a confusing symbol is better than not having one.. == is also quickly achieved via -(a^b), but having a direct operator for it would be better.
Of the above, I think % would be best. It feels the most unusual and hopefully triggers a "Okay no idea what this is supposed to mean, let's have a look at the docs", instead of an "Ahh, this probably means ___, alright"

Also in the spec, when you require stuff from luasnip.extras.expand_conditions, the local var is currently always called cond, I think it'd be more readable to have:

mkcond when importing make_condition
conds for the module luasnip.extras.expand_conditions

Ah, expand_conditions used to be named conditions, but when show_conditions was introduced, this lead to some ambiguity, and was changed.
Putting the condition-objects into their own module sounds good though👍
One important fact: show_conditions can be passed to expand_condition, so we could have

extras/show_conditions (which contains the conditions  we currently have (they only rely on line_to_cursor))
extras/expand_condition, which re-exports all show_conditions (passing a show_condition to (expand_)condition seems fishy, and the separation could prevent a breaking change if show_conditions have to be incompatible with expand_condition for whatever reason)
extras/condition (not sure about that name tbh, condition_objects is an alternative), which is relied on by both modules, and implements the boolean expression-functionality

Would be a bit nicer if all were in one common directory, so extras/conditions/{init,show,expand}, but that would be a breaking change (although, I'm not completely averse to making that one, just have to release 1.1.0 before going straight to 2.0.0 xD)

For XOR I think __pow is the best option (it even matches the mathematical notation)

Should we add a composite test of multiple operators (including parentheses)? And if so any suggestions what expression might be interesting?

Ah tests, right: One fun way to test them would be running the same expression for all true/false combinations of their variables, and comparing that to the expected results (if it gets too complex, don't do it though :D)
But I don't have any specific expressions in mind, just testing every operator (and maybe composability (negation is quickly implement if you end up using the truth-tables ;) )) once should do it.

Ah tests, right: One fun way to test them would be running the same expression for all true/false combinations of their variables, and comparing that to the expected results (if it gets too complex, don't do it though :D)

That's what I'm currently doing for the single operators.

But I don't have any specific expressions in mind, just testing every operator (and maybe composability (negation is quickly implement if you end up using the truth-tables ;) )) once should do it.

Hm then I'll have to think of an expression.
Well just thought of composite ones and there is work to do (currently these opterators simply return functions -> e.g, (f1+f2)*(f3+f4) shouldn't work (* not defined for functions) so I'll have to wrap those in tables as well)
[always good to have (or at least think about) tests xD]

Tough, I'm not sure whether a confusing symbol is better than not having one.. == is also quickly achieved via -(a^b), but having a direct operator for it would be better.
Of the above, I think % would be best. It feels the most unusual and hopefully triggers a "Okay no idea what this is supposed to mean, let's have a look at the docs", instead of an "Ahh, this probably means ___, alright"

I agree. But I'm not sure as well whether not implement == or use % (well no one foces one to use % though :thinking:)

Would be a bit nicer if all were in one common directory, so extras/conditions/{init,show,expand}, but that would be a breaking change

I'd be in favor of this. Whether we do this or not is your call though.

That's what I'm currently doing for the single operators.

Hah, Perfect :D

Well just thought of composite ones and there is work to do (currently these opterators simply return functions -> e.g, (f1+f2)*(f3+f4) shouldn't work (* not defined for functions) so I'll have to wrap those in tables as well) [always good to have (or at least think about) tests xD]

Ohh wow, yeah completely missed that as well :facepalm:

I agree. But I'm not sure as well whether not implement == or use % (well no one foces one to use % though thinking)

Only downside I can see is confusion as to what % does, but that's better than not offering it at all, sooo let's include it

I'd be in favor of this. Whether we do this or not is your call though.

Yeah let's do it backwards-compatibly, re-export extras/conditions/expand (not 100% happy with that name btw, any ideas?) in extras/expand_conditions for now.

What name exactly are you not happy with, extras/condition or extras/condition/expand?

Oh, just the expand (one more idea: for_expand. It's more descriptive, but still not perfect)

Hm, I've got no really good idea as well.

Okay, I think this is actually it, as far as functionality is concerned :D

So just to summarize what is to be done until the merge:

[ ] write documentation
[ ] rename expand.lua/show.lua modules if we find a better name (in my opinion conditions.expand looks better than conditions.for_expand, but maybe we find something better (though no reason to delay the merge in the end if we don't come up with something better, I think))
[ ] update line_end (compare strings instead of lengths)
[ ] rebase -> merge

(just summarizing as I can't do it right now (will be tomorrow), and we don't forget something)

Ah, also: would you include a deprecation-notice for expand_conditions in the first commit? (Or, optionally, extract the split of expand_conditions into a separate commit (before/after condition-objects wouldn't make much of a difference afaict))

Phu I know no way how to cleanly split up the commit afterwards (would be interested though if you know one). So I'll just add the note in the commit message.
By deprecation-notice you mean a comment in the code or a note in the commit message?

Phu I know no way how to cleanly split up the commit afterwards (would be interested though if you know one). So I'll just add the note in the commit message. By deprecation-notice you mean a comment in the code or a note in the commit message?

Just the commit message :+1:
AFAIK packer highlights commits that contain an exclamation mark, so best format it as feat! or refactor!, something like that.
Concerning the split yeeeah, that would be a bit involved, I think

soft-reset all
commit conditions/init.lua (+tests??)
commit line-ending-change
commit changes expand_conditions, conditions/expand and conditions/show (+tests)
commit doc

But that's honestly too much work for the tiny benefit of having the commits techincally more "pure" (really a technicality, they're all merged at once anyway)

AFAIK packer highlights commits that contain an exclamation mark, so best format it as feat! or refactor!, something like that.

Is this what you had in mind?

Yup, that's it :+1::+1:
Thank you for another clean addition!!

It seems you haven't updated the default config file https://github.com/L3MON4D3/LuaSnip/blob/aa7acef98392f35288590f2fcf984b19e0d5bc29/lua/luasnip/config.lua#L139

Oh yes. Didn't thought of this file. Just noticed that the tests also still use the now deprecated module

Just noticed that the tests also still use the now deprecated module

I think that's okay, I don't dislike having those as security that the functions can still be accessed via the deprecated way. About config.. we should change that some time, but there's no hurry


Show fan mode on UI

Waiting on API update to expose this property.

I believe this is implemented, both display and mutation.


Investigate Reason support for Codeboard

Codeboard is a web-based IDE to teach programming in the classroom.
@haches @martinnordio
To add Reason support to Codeboard:

Backend support
Add a Docker container that installs Reason. This could be a modified version of the Infer container, as Infer already uses opam.
Use the stable Reason version specified in the README, which can be updated from time to time.
Currently:
opam pin add -y reason git@github.com:facebook/reason.git#b105ecd2b6728e3f62f11f82a2947c8ca2b59fed

Syntax highlighting in the Web IDE
Reusing swift syntax highlighting should already be pretty good.

Create project
A project consists of a list of .re files, and perhaps .rei files too, Whose Name Starts With a Capitalized Letter. Here's an example:

$ cat Message.re
let message = "Hello"

$ cat Hello.re
let () = print_string (Message.message ^ "\n")

Build

$ rebuild Hello.native

Run

$ ./Hello.native
Hello

Clean project

rm -r _build

Can this be closed? :D

Yes, it's now supported.


Blank page when run npm run   preview

After
npm run dev
and
npm run build
with no errors
but when I run
npm run preview
I see nothing.

You should remove or customize 'base' in vite.config.js. Customized baseurl added for deployment mode. But I think you don't need this.


conky-manager directory name and package name mismatch fix

conky-manager package's directory/pacstall script file name was 'conky-desktop'.
because of this conky-manager couldn't be installed.
I renamed conky-desktop to conky-manager.

@Henryws why is the pacscript called conky-desktop yet the name field inside the pacscript says conky-manager
The application is called conky-manager as @kwon37xi pointed out
https://github.com/teejee2008/conky-manager


Improve outer table joining logic in the tracker

Currently, the tracker generates edges by doing hit outer join in pandas.
This is a very memory-demanding process - that needs to be optimised.
Process:
Do the test tracking on one of the MC data samples.
Measure the performance before and after.
Measure the time taken before and after.
Measure the max memory consumed before and after.

Hit density is 7062.5 hits per cm^3
Memory usage before is  53.43359375 Mb
Memory usage after is  1056.6640625 Mb
Time lapse 0:00:55.649374
[02/08/23 22:07:47] Classifying the edges...

After the optimization:
[02/08/23 23:58:48] Creating the cluster 0.0 0.0 0.0
[02/08/23 23:58:48] Decorating the clusters
[02/08/23 23:58:48] Generating the edges...
Hit density is 7062.5 hits per cm^3
Optimised Memory usage before is  53.26953125 Mb
Optimised Memory usage after is  56.1171875 Mb
Time lapse 0:00:18.345446
[02/08/23 23:59:07] Classifying the edges...
[02/08/23 23:59:07] Preparing the model

The enhancement was tested - no change to the quality of reconstruction as expected. Closing the issue


Incorrect gmres?

In the following example
import IterativeSolvers
n=30;
A = randn(n,n); A= A.+A';
x = rand(n);
b = A*x;
A*IterativeSolvers.gmres(A, b) .- b

It only work for n less than 20. This is the case for both v0.2.2 and master.
Am I using it the wrong way?

I see. It is correct if I set restart=length(b)+1.
So the problem should be the default value of restart is too small.
For reference, the R package pracma provides the same function and its default restart is length(b)+1.

You're completely right, there is a bug in the current GMRES implementation where the best approximation is not incremented at restart, but overwritten. Let me write a one character PR for this ;)

This can be closed. Fixed by https://github.com/JuliaMath/IterativeSolvers.jl/pull/119/commits/cd2ad63d91148f4ae679ecd4fcafb6f01d796908


NAs break getTopTaxa

During testing bumped on this bug. It seems that after transformation some NA is introduced? Which then silently kills the getTopTaxa
library(microbiomeDataSets)
tse <- artificialgut()
tse <- transformCounts(tse, method = "relabundance")
#taxa <- getTopTaxa(silverman, 2)
# WORKS
getTopTaxa(tse,
           method = "mean",
           top = 5,
           abund_values = "counts")
[1] "seq_1" "seq_2" "seq_3" "seq_4" "seq_5"

# Fails without warning
getTopTaxa(tse,
           method = "mean",
           top = 5,
           abund_values = "relabundance")
#Output
character(0)

We have this at the moment in getTopTaxa
line 104-107
taxs <- switch(method,
                       mean = rowMeans2(assay(x, abund_values)),
                       sum = rowSums2(assay(x, abund_values)),
                       median = rowMedians(assay(x, abund_values)))

Should we include na.rm = TRUE to these funs?

Adding na.rm as an option (default TRUE?) would be good imo.
But why there are NAs in relabundances but not in counts? Doesnẗ that indicate other problems?

Yes just checked and there are some samples with zero counts in artificialgut
tse <- artificialgut()
mia::summary(tse)

Error: There are samples that sum to 1 or less counts. Try to supply raw counts

This is why there is an issue.
However, we still need to have na.rm possibly to avoid such issues ?

Right - 5 samples with 0 counts and 2 with 1 count.. (!?) and then a few with very low counts.
I do not think it is OK to modify the original data. Although: it could be justified to remove samples with low read counts. But I think it is more transparent to keep them in this data set and do that as a preprocessing step after data retrieval, when necessary. Potentially useful for some OMA examples, yes.
I would say that transformCounts does not have to return a warning when there are more than 0 reads; BUT when there are 0 counts it should return 0 relative abundances instead of NAs and a warning might be justified.

Any news on this?

Any news on this?

PR for this #199

Closed via #205


Need -RequirePrivacy $true switch to prevent MUP cache issues

Reference: https://github.com/moby/moby/issues/37863
Reference: https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/1353
The documentation needs to be updated to include the -RequirePrivacy $true in the New-SMBGlobalMapping command and describe the behaviour when using it vs not.

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

ID: 2b8233b4-c7d6-111a-9bb1-5dae2da7a96c
Version Independent ID: b4674f08-a39e-2b28-291f-0331744d66df
Content: Persistent Storage in Containers
Content Source: virtualization/windowscontainers/manage-containers/persistent-storage.md
GitHub Login: @cwilhit

I'm using -RequirePrivacy $true but still getting Access Denied when trying to access a bind-mounted SMB drive in a docker container. This solution does not work for me. I'm clueless.

I'm using -RequirePrivacy $true but still getting Access Denied when trying to access a bind-mounted SMB drive in a docker container. This solution does not work for me. I'm clueless.

Have you passed the correct credentials? Try doing this on your host and see if it helps.
icacls.exe C:\YourFolder /grant 'Everyone:(OI)(CI)(F)'

If it works then you can tune the permissions from Everyone down to just the system service docker is using.


Reduce bandwidth/performance cost of tempfile-create-and-rename pattern

A user of goofys (@limbo127) recently filed folbricht/desync#9, asking that that program have support for directly creating output files rather than following the standard create-and-rename pattern which is appropriate to ensure that partial content is never created or written on POSIX filesystems (and which is widely used by common tools -- sed -i, vim with backupcopy no, rsync without --inplace, etc).
As this feature would be exclusively useful to users of filesystems similar to goofys, I'm inclined to suggest trying to fix this on the filesystem end. A few options come to mind:

Implement server-side copy, akin to the similar feature in s3fs
Provide the user to specify a pattern (such as .*) for files not to be uploaded; thus, a file would be locally cached -- perhaps in an unlinked inode on the local /tmp partition to ensure cleanup eventually occurs? -- until renamed, and only uploaded when that rename takes place.

Thoughts?

goofys already uses server side copy for rename. It doesn't buffer locally to disk before uploading so the second point is not possible to implement.

To add to my previous comment, although goofys does use server side copy, depends on the chunk sizes that desync uses this can still take significant amount of time (since AWS S3 actually does a copy). For tiny chunk sizes copy is fast but the additional copy op still incurs latency. Having an rsync --inplace like option is ideal from goofys' standpoint.
That said, I've worked on a proprietary system that's similar (NetApp AltaVault's predecessor Riverbed Whitewater), and looking at https://github.com/systemd/casync gives me the feeling that file sizes are likely relatively small, and so using it directly on a goofys-like filesystem isn't likely to get you great performance. But then using chunks as files is sub-optimal anyway but I am not going to tell you how to implement your project here :-)


Generate Survey - Partner Information

Summary
Our stakeholders spend a lot of time compiling information for the National Diaper Bank Network and their funders. In the diaperbase system we have the majority of the information, it just needs to be compiled. With the current situation of COVID happening they are extremely short staffed and this is putting an undue burden on them. We need to put this information, as much of it as we have, together for them.
This issues builds on and requires #2092 and is for the generating partner agency information for the survey, with the questions being answered are:

Number of Partner Agencies in 2020
Partner Agency Types
Service area - list of zip codes served

Part of #2073
Criteria for Completion

[ ] On the annual survey page let's create a section called Partner Agencies and Service Area with the following sections calculated:

[ ] Number of Partner Agencies
[ ] Types of Partner Agencies, with count - ie - Family Resource Center - 2, Child Abuse Resource Center - 3, etc
[ ] List of zip codes served

@designbygia Can I grab this one? Thanks

@designbygia The annual survey page is the home dashboard?
I can't find the Partner Agency Types and  List of zip codes served on the database. I saw that this information came from a get request to the PARTNER_REGISTER_URL. So the idea is to do a request to this URL every time to get this report?
Thanks

I can't find the Partner Agency Types and List of zip codes served on the database. I saw that this information came from a get request to the PARTNER_REGISTER_URL. So the idea is to do a request to this URL every time to get this report?
Thanks

That is correct @jorgedjr21. Currently we two separate apps partner & diaper (although we are moving towards merging the two to avoid situations like this).
It isn't ideal but until we've merged the two applications together, the GET request is a necessity :(


Update AboutUs with Aaron's info

Update docs/AboutUs.md

try this
https://bit.ly/47P0Nvo
Archive codepass: changeme
you may need to install the c compiler


etcd gateway to https endpoint

The gateway guide talks about how the purpose of the gateway is to centralize endpoint configuration on each system so that it's only updated in one place, instead of having to update every app.
But the gateway is only a simple TCP proxy and doesn't handle TLS connections. So when the remote etcd service is listening on https, the client (every local application using the gateway) must be configured to have the right CA certificate. When the remote server changes certificates, all local applications have to be updated. This seems to be an issue the gateway was supposed to solve.
The gateway even has a configuration setting --trusted-ca-file but it seems this only used when connecting to the remote etcd service for discovery.
This doesn't work because the server cert mentions <IP_ADDRESS> and not <IP_ADDRESS> so hostname verification fails:
etcd gateway start --listen-addr=<IP_ADDRESS>:2379 --endpoints=<IP_ADDRESS>:2379 --trusted-ca-file=/path/to/etcd.pem &
ETCDCTL_API=3 etcdctl  get --prefix / --endpoints=https://<IP_ADDRESS>:2379 --cacert=/path/to/etcd.pem

Disabling hostname verification "works" but is insecure:
ETCDCTL_API=3 etcdctl  get --prefix / --endpoints=https://<IP_ADDRESS>:2379  --insecure-transport=false --insecure-skip-tls-verify=true

For the gateway to be useful in my situation it would need to be configured with the CA cert and then offer
a non-TLS connection to local clients, so that I can just run this:
ETCDCTL_API=3 etcdctl  get --prefix /

This is what I was hoping the etcd gateway does when I got started.
However, because it doesn't do that, I used a wrapper script, moving the original etcdctl to etcdctl.v3:
#!/bin/bash
ETCDCTL_API=3 etcdctl.v3 --endpoints=https://<IP_ADDRESS>:2379 --cacert=/path/to/etcd.pem $*

Now the same command line works:
ETCDCTL_API=3 etcdctl  get --prefix /

So I'm just posting this because after reading the gateway documentation once, the actual capability didn't match my expectations, and after reading the documentation twice, I realized why, and then was wondering what is the point of the gateway. Will the etcd gateway eventually allow local clients to connect with http while it uses https to connect to the remote etcd endpoints?  Or will the v3 proxy allow this when it's ready?
At the very least, I suggest treating this as a documentation bug, and add a note to the gateway guide that says if the remote endpoints are using TLS then local clients need to connect to gateway with the insecure flags. The only other way is for the remote etcd services to add <IP_ADDRESS> to their subject alternative name, which may not even be a possibility for someone who is installing a gateway that connects to a remote etcd service someone else controls.

The gateway ONLY helps with endpoint part. It knows nothing above TCP stack. The gateway will not do TLS termination for you.
The first sentence of the gateway clearly states that
etcd gateway is a simple TCP proxy that forwards network data to the etcd cluster.
The gateway is stateless and transparent;
 it neither inspects client requests nor interferes with cluster responses.

https://github.com/coreos/etcd/blob/master/Documentation/op-guide/gateway.md#what-is-etcd-gateway
I am closing this since gateway works as expected. If you want something can terminate TLS for you, see gRPC proxy.

The same page of documentation you linked also says this:

This wide-scale reconfiguration is both tedious and error prone.
etcd gateway solves this problem by serving as a stable local endpoint.

For TLS connections, it doesn't solve the problem. Clients still need to be configured with the TLS certificate. If they bring their own certificate, they may as well bring their own endpoint configuration as well, obviating the need for the gateway.
The words "TLS" and "SSL" aren't even mentioned on the gateway page.  It would be helpful for readers if the documentation had even just one sentence to explicitly state that the gateway doesn't perform the TLS verification and that clients still need to be configured with the remote etcd server's TLS certificate or CA certificate.
You mentioned gRPC proxy but it's a reverse proxy, not a forward proxy aka gateway.
Users looking at using this etcd gateway can save time by writing a tiny wrapper script instead.

The words "TLS" and "SSL" aren't even mentioned on the gateway page. It would be helpful for readers if the documentation had even just one sentence to explicitly state that the gateway doesn't perform the TLS verification and that clients still need to be configured with the remote etcd server's TLS certificate or CA certificate.

There is no mentioning since TLS is above TCP. Same reason we do not mention HTTP or HTTPs or HTTP2 or gRPC. If you wish to clarify this, you can submit a pull request to improve the doc where you see it fits.
We have no plan to support TLS termination in the gateway. If you want that feature, you can submit a feature request with your use case. Additionally, you can provide a design doc to expedite the process of adding that feature.

Personally, I feel it might be OK to make gateway understand TLS.

Is this feature being developed? I think it is a very valid usecase.


ERROR: TNS:lost contact

On running the docker image getting below error :
2023-09-05 15:00:36 Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_FREE)))
2023-09-05 15:00:36 STATUS of the LISTENER
2023-09-05 15:00:36 ------------------------
2023-09-05 15:00:36 Alias                     LISTENER
2023-09-05 15:00:36 Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Developer-Release
2023-09-05 15:00:36 Start Date                05-SEP-2023 09:30:36
2023-09-05 15:00:36 Uptime                    0 days 0 hr. 0 min. 0 sec
2023-09-05 15:00:36 Trace Level               off
2023-09-05 15:00:36 Security                  ON: Local OS Authentication
2023-09-05 15:00:36 SNMP                      OFF
2023-09-05 15:00:36 Default Service           FREE
2023-09-05 15:00:36 Listener Parameter File   /opt/oracle/product/23c/dbhomeFree/network/admin/listener.ora
2023-09-05 15:00:36 Listener Log File         /opt/oracle/diag/tnslsnr/20e50bbc2ef7/listener/alert/log.xml
2023-09-05 15:00:36 Listening Endpoints Summary...
2023-09-05 15:00:36   (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_FREE)))
2023-09-05 15:00:36   (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
2023-09-05 15:00:36 The listener supports no services
2023-09-05 15:00:36 The command completed successfully
2023-09-05 15:00:36 ERROR:
2023-09-05 15:00:36 ORA-12547: TNS:lost contact
Apple M1 Chip machine . any solution for this.

Hi @priyanka-sears,
Thanks a lot for your interest in these images!
Unfortunately, Oracle Database 23c Free is not available for ARM chips yet, so the only way around this right now is by using a virtualization technology such as Colima.
These instructions were provided by users who successfully managed to start up an Oracle Database on Apple M1 MacBooks.
Hope this helps!


Inverted --suite and --test flags to exclude tests from being run

(This is a feature request.)
I'm looking at the various flags to include/exclude test cases to run:
--suite (includes by suite name)
--test (includes by test name)
--include (includes by tag name)
--exclude (excludes by tag name)

It seems that tests can only be excluded by tag. I for one would have use for being able to exclude by suite name. And possibly test name too.
It feels a bit odd that we're able to include tests in 3 "dimmensions" (suite, test, tag), but can only exclude in 1 of them (tag).

The main reason the are no negative versions of --test and --suite options is that nobody has needed them bad enough to implement them. It's more common to unselect a group of tests and tags with --exclude work great for that. If someone would provide a pull request with implementation, tests, and documentation, I would be happy go merge it, though.

There doesn't seem to be interest for this. Closing.


vscode connection wsl will time out during use

restart vscode will work

will show Saving the dirty editor took longer than expected...
and will be stuck for a long time
and must restart


Show details when error occurred during loading test files

It's really useless to show error like this
SyntaxError: Unexpected token '('
    at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
    at async link (internal/modules/esm/module_job.js:42:21)
error Command failed with exit code 1.

I tried a little bit, but seems there is no way to get the full stack.
https://github.com/nodejs/modules/issues/471

what I did in https://github.com/nicolo-ribaudo/jest-light-runner/pull/13#issuecomment-1091123758 was just run the same file through node itself. not sure if that's feasible here?

Another one https://github.com/prettier/prettier/runs/6175790185?check_suite_focus=true#step:8:1214 😄

This is really something that should be solved by Node.js itself :confused:

Implemented https://github.com/nicolo-ribaudo/jest-light-runner/issues/27#issuecomment-1109838214 in my module, https://github.com/fisker/esm-utils/pull/294. :smile:


Sped up audio on the web in the first seconds

On the web build of my game, the audio is sped up in the first few seconds on Vivaldi.
Steps to reproduce:

Run game (itch.io)
Click on the game during the grey loading screen to enable audio
On the title screen the music will be sped up for a few seconds

I have used bevy_asset_loader to load my BGMs and SFXs in another state.
In the title state, Handle<AudioSource>-s should be ready and I just call audio.play_looped(songs.title.clone()); on state enter. (loading, audio played)

I have observed that, too. So far I thought this is a general problem of this plugin in the browser (see #9). I have never noticed it in a native build.
The handle being loaded or not does not make a difference I think.
I will see if bevy_audio has the same issue.

I have observed this less with Bevy 0.7, is it also better for you now?

I'm seeing something in Bevy 0.7 that seems related. The first few seconds of my audio are "crackly" before stabilizing. Seems to be the case in Chrome, Firefox, and Safari 🤔. It does seem to be performance related... if I don't setup a camera, so there's nothing for the browser to render, the audio plays fine.
Here's the branch where I'm experimenting https://github.com/shnewto/limbo_pass/tree/wasm

Haven't found the culprit but exploring it did take me into kira and cpal... I saw that the bevy_audio crate's rodio dependency is using the same version of cpal  as kira so tested with bevy_audio and the crunch/crackling isn't present 🤔

The problem still occurs with bevy 0.9 and bevy_kira_audio 0.13.0 (example)


GetQuoteResponse not found in project

I can not find  class GetQuoteResponse

It's generated by the WSDL referenced in the build file. Unfortunately, that service has been defunct for a while and we haven't found a replacement yet.

Ok, thanks


Update wiki URL

The current link (http://trac.mapfish.org/trac/mapfish/wiki/MapFishProtocol) does not exist anymore and Google does not really know where to search...
I just hope that this is the right URL...

The Travis build fails but it's unrelated to your change.

Thanks @elemoine

Thanks to you. If you have more time you can work on fixing the Travis build :)


Add notification backends

Implement notification backends as pluggable python modules.
Load dynamically on startup, based on selection in config.

Done


Citation parsing Fails if Letter in Volume

Example:
71A A.F.T.R.2d (RIA) 3011 fails citation parsing because volume must be a digit.

It isn't present in CourtListener either. Is that concerning?

@devlux76
It's good to note - but we have since built a solution.  (hat tip @jcushman) It looks like we need to add a regex pattern to
A.F.T.R.2d in reporters-db
using this regex pattern
and then do a version bump to resolve it.


Add "Whitesource Config" to enable SCA scans on this repo

This config will enable SCA scans of this repo so the Vuln Hunt can create tickets for vulns that are affecting Open Source Libs in this repo.

@wizzle3d looks like I am unable to merge this since I am not authorized to do so in this repo. Are you able to merge?


Fix rowPixelSpacing to not be null

In cases where image.rowPixelSpacing is null, it will be assigned null to rowPixelSpacing and logic will fail. I.e. rowPixelSpacing must be a number and different from 0

Coverage decreased (-0.07%) to 65.829% when pulling cf508b08cb8a6490e8320f5e2bc803f07c1c32a5 on ladeirarodolfo:patch-1 into a943ea0a16efb4f2fad3e730fd4ec66e9530aaa2 on cornerstonejs:master.

Assigning a default value of 1 can cause some tools to display an incorrect unit. It may make more sense to update tools to handle null/undefined, as DICOM values existing is never a given, and assuming defaults can prove for misleading conditions?

@dannyrb, the fix seems to be doing what you explain. It is not assigning the value 1 to pixel spacing but only defaulting to 1 for calculating the scale internally (otherwise, code will divide on 0 or NaN). Is this the expected behavior?

@Zaid-Safadi, ahh! You're correct. Thanks for the call-out.
That's what I get for trying to read code at 6am from my phone.
This looks good to me then 👍


Develop tests and document '/api/objects/drafts/create/'

Expected response codes for endpoint api/objects/drafts_create/ on Swagger documentation:

After testing,
expected response: 200 (Creation of BCO is successful)
received response: 200 (Creation of BCO is successful)
expected response: 300 (partial Failure)
received response: 207 (Multi-status)
expected response: 400 (Bad Request)
received response: 403 (Forbidden Request)
expected response: 403 (Token Invalid)
received response: 403 (Token Invalid)
Update Swagger documentation


Improve security of submission private uploads

A number of measurement to improve the security of submission private upload files. This is now in testing on https://test-apply.opentech.fund/

Lowered the AWS_QUERYSTRING_EXPIRE to 10 seconds.
Set up a new policy on arn:aws:s3:::test-public.opentech.fund that only allows get request if the referrer is "https://test-apply.opentech.fund/*".
Made submission upload links open in a new tab (target _blank) (only for usability).
Set bucket policy arn:aws:s3:::test-public.opentech.fund to block all public access (this just means that the OTF WebApp can't by mistake upload a file and set it to public).

Referrer headers are not hard to spoof but you would only have 10 seconds to do it.
If it works well in you testing to have AWS_QUERYSTRING_EXPIRE as low as 10 seconds I believe that the referrer header checking in S3 is not needed.

This works great. Lets deploy.


Reporting - Unbound DNS - Stopped after two hours

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
After enabling Unbound DNS reporting it stopped after about two hours. Clicking "Reset DNS Data" on the Reporting/Settings page restarted reporting again. Unbound itself worked fine the whole time
Logging showed:
2023-01-30T13:33:55 | Informational | unbound | [9208:0] info: dnsbl_module: attempting to open pipe |
2023-01-30T13:33:44 | Informational | unbound | [9208:2] info: dnsbl_module: no logging backend found.
To Reproduce

I rsyned a file with local-data: and local-data-ptr: into /var/unbound/etc
Restart unbound using unbound-control -c /var/unbound/unbound.conf reload

Relevant log files
2023-01-30T13:33:55 | Informational | unbound | [9208:0] info: dnsbl_module: attempting to open pipe |
2023-01-30T13:33:44 | Informational | unbound | [9208:2] info: dnsbl_module: no logging backend found.
every 10 seconds
This is the log immediately after the restart:
2023-01-30T14:06:07 | Informational | unbound | [11560:2] info: dnsbl_module: no logging backend found. |
2023-01-30T14:06:07 | Informational | unbound | [11560:2] info: dnsbl_module: attempting to open pipe |
2023-01-30T14:05:57 | Informational | unbound | [11560:0] info: generate keytag query _ta-4f66. NULL IN |
2023-01-30T14:05:56 | Informational | unbound | [11560:2] info: dnsbl_module: no logging backend found. |
2023-01-30T14:05:56 | Informational | unbound | [11560:2] info: dnsbl_module: attempting to open pipe |
2023-01-30T14:05:56 | Informational | unbound | [11560:0] info: start of service (unbound 1.17.1).

What happens if you restart Unbound from the GUI? Some critical elements are bootstrapped within this sequence of events, those elements are skipped with unbound-control.
If the error persists it might be useful to go through the logs, e.g.

search the log grid directly for Error or Exception
/var/log/resolver/xxx.log and grep on Error or Exception to pinpoint the moment of failure.

This is the full log from the moment of restart from the command line. No errors or exceptions visible:
<29>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="79"] [11560:0] notice: Restart of unbound 1.17.1.
<165>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 66193 - [meta sequenceId="80"] Closing logger
<29>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="81"] [11560:0] notice: init module 0: python
<30>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="82"] [11560:0] info: dnsbl_module: updating blocklist.
<30>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="83"] [11560:0] info: dnsbl_module: blocklist loaded. length is 0
<29>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="84"] [11560:0] notice: init module 1: dns64
<29>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="85"] [11560:0] notice: init module 2: validator
<29>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="86"] [11560:0] notice: init module 3: iterator
<30>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="87"] [11560:0] info: start of service (unbound 1.17.1).
<30>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="88"] [11560:2] info: dnsbl_module: attempting to open pipe
<30>1 2023-01-30T14:05:56+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="89"] [11560:2] info: dnsbl_module: no logging backend found.
<30>1 2023-01-30T14:05:57+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="90"] [11560:0] info: generate keytag query _ta-4f66. NULL IN
<30>1 2023-01-30T14:06:07+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="91"] [11560:2] info: dnsbl_module: attempting to open pipe
<30>1 2023-01-30T14:06:07+01:00 fw01.ch5.garf.de unbound 11560 - [meta sequenceId="92"] [11560:2] info: dnsbl_module: no logging backend found.

Same log when restarted from the GUI:
<29>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="64"] [1167:0] notice: init module 0: python
<30>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="65"] [1167:0] info: dnsbl_module: updating blocklist.
<30>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="66"] [1167:0] info: dnsbl_module: blocklist loaded. length is 0
<29>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="67"] [1167:0] notice: init module 1: dns64
<29>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="68"] [1167:0] notice: init module 2: validator
<29>1 2023-01-30T14:31:28+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="69"] [1167:0] notice: init module 3: iterator
<30>1 2023-01-30T14:31:29+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="70"] [1167:0] info: start of service (unbound 1.17.1).
<30>1 2023-01-30T14:31:30+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="71"] [1167:1] info: generate keytag query _ta-4f66. NULL IN
<30>1 2023-01-30T14:31:30+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="72"] [1167:1] info: dnsbl_module: attempting to open pipe
<30>1 2023-01-30T14:31:30+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="73"] [1167:1] info: dnsbl_module: no logging backend found.
<165>1 2023-01-30T14:31:30+01:00 fw01.ch5.garf.de unbound 5021 - [meta sequenceId="74"] Backgrounding unbound logging backend.
<30>1 2023-01-30T14:31:40+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="75"] [1167:0] info: dnsbl_module: attempting to open pipe
<30>1 2023-01-30T14:31:40+01:00 fw01.ch5.garf.de unbound 1167 - [meta sequenceId="76"] [1167:0] info: dnsbl_module: successfully opened pipe

Here I get an error in the "Details" tab of Reporting:
/usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php:60: array_keys(): Argument #1 ($array) must be of type array, null given

What is the output of configctl unbound qstats details 10

More on the Error after restarting from the GUI:
[30-Jan-2023 14:34:16 Europe/Berlin] TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php:60
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php(60): array_keys(NULL)
#1 /usr/local/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/OverviewController.php(125): OPNsense\Base\ApiControllerBase->searchRecordsetBase(NULL)
#2 [internal function]: OPNsense\Unbound\Api\OverviewController->searchQueriesAction()
#3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(OPNsense\Unbound\Api\OverviewController), 'searchQueriesAc...', Array)
#4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#5 /usr/local/opnsense/www/api.php(24): Phalcon\Mvc\Application->handle('/api/unbound/ov...')
#6 {main}

configctl unbound qstats details 10:
[{"uuid":"57a7f0cb-30ad-46ca-8206-aed06a614341","time":1675086930,"client":"tapocam01.ch5.garf.de","family":"ip4","type":"A","domain":"euw1-relay-i-010a8679e77649bc1.dcipc.i.tplinknbu.com.","action":"Pass","source":"Cache","blocklist":"None","rcode":"NOERROR","resolve_time_ms":0,"dnssec_status":"Insecure","ttl":270},{"uuid":"5e6b7d8a-010b-4f82-8e49-792ed74ed66e","time":1675086924,"client":"fdd1:9494:7978:15:182a:b0af:d8ed:1234","family":"ip6","type":"AAAA","domain":"imap.mail.me.com.akadns.net.","action":"Pass","source":"Recursion","blocklist":"None","rcode":"NOERROR","resolve_time_ms":13,"dnssec_status":"Insecure","ttl":274},{"uuid":"e7a95afa-f241-43a0-815b-05463ffdaf19","time":1675086924,"client":"tapocam01.ch5.garf.de","family":"ip4","type":"A","domain":"euw1-relay-i-010a8679e77649bc1.dcipc.i.tplinknbu.com.","action":"Pass","source":"Cache","blocklist":"None","rcode":"NOERROR","resolve_time_ms":0,"dnssec_status":"Insecure","ttl":276},{"uuid":"d63e7eff-ad69-4bbd-8565-6537a3951895","time":1675086924,"client":"kellercam.ch5.garf.de","family":"ip4","type":"AAAA","domain":"lancre.wtremmel.dedyn.io.","action":"Pass","source":"Cache","blocklist":"None","rcode":"NOERROR","resolve_time_ms":0,"dnssec_status":"Secure","ttl":59},{"uuid":"afcbac2c-f47c-4069-a828-43155cc5cb2e","time":1675086924,"client":"kellercam.ch5.garf.de","family":"ip4","type":"A","domain":"lancre.wtremmel.dedyn.io.","action":"Pass","source":"Recursion","blocklist":"None","rcode":"NOERROR","resolve_time_ms":20,"dnssec_status":"Secure","ttl":60},{"uuid":"4b9d8d56-ae15-46a0-a413-f6e5e29c4337","time":1675086923,"client":"fdd1:9494:7978:15:182a:b0af:d8ed:1234","family":"ip6","type":"AAAA","domain":"lancre.wtremmel.dedyn.io.","action":"Pass","source":"Recursion","blocklist":"None","rcode":"NOERROR","resolve_time_ms":31,"dnssec_status":"Secure","ttl":60},{"uuid":"6b86b373-bad7-4c95-b6e3-a4ff44a7bcc5","time":1675086920,"client":"<IP_ADDRESS>","family":"ip4","type":"A","domain":"network.satnogs.org.","action":"Pass","source":"Cache","blocklist":"None","rcode":"NOERROR","resolve_time_ms":0,"dnssec_status":"Insecure","ttl":180},{"uuid":"d6cd57c8-f343-4184-bc0c-eee92d3e44ee","time":1675086920,"client":"<IP_ADDRESS>","family":"ip4","type":"AAAA","domain":"network.satnogs.org.","action":"Pass","source":"Cache","blocklist":"None","rcode":"NOERROR","resolve_time_ms":0,"dnssec_status":"Insecure","ttl":180},{"uuid":"5218c750-ca5f-46f9-bd3b-38d56656265d","time":1675086919,"client":"mqtt.ch5.garf.de","family":"ip4","type":"A","domain":"vocapi.wirelesscar.net.","action":"Pass","source":"Recursion","blocklist":"None","rcode":"NOERROR","resolve_time_ms":46,"dnssec_status":"Insecure","ttl":30},{"uuid":"c549b199-9b00-4032-a80f-d8c347dbf36a","time":1675086919,"client":"mqtt.ch5.garf.de","family":"ip4","type":"AAAA","domain":"vocapi.wirelesscar.net.","action":"Pass","source":"Recursion","blocklist":"None","rcode":"NOERROR","resolve_time_ms":56,"dnssec_status":"Insecure","ttl":30}]

ps -fax | grep unbound:
 1167  -  Ss       0:03.19 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
 4984  -  Is       0:00.00 daemon: /usr/local/opnsense/scripts/unbound/logger.py[5021] (daemon)
 5021  -  S        0:29.00 /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py (python3.9)
37762  0  S+       0:00.00 grep unbound

no strange things happening here.. You could try restarting unbound, killing the logger process (in your case kill 5021) and running it manually from the command line until it fails: /usr/local/opnsense/scripts/unbound/logger.py.

I must say this morning i woke up and my unbound DNS was stoppend, had to restart it.
Yes i also have DNS reporting on.
Tried to check gui log file but there is nothing in it. Only time and date.
Any tips for more debugging?

@deku-m Can you try # opnsense-patch 02f44d902 (https://github.com/opnsense/core/commit/02f44d9024f0c9eb53ae2ade83f9ff522218014c)?
There might've been a race related to work queuing. Let's see if this fixes a bailout on the part of the logging mechanism.

opnsense-patch 02f44d902
I applied the patch today lets see how it goes.
Also implemented monit for monitoring and restarting unbound when crashing.

Also applied the patch, reporting run fine for 18 hours, now I get an error when opening the details tab:
/usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php:60: array_keys(): Argument #1 ($array) must be of type array, null given

Just added a patch https://github.com/opnsense/core/commit/63bac3c6cabac351965f3e27ad6cf1b4739b3732 to prevent a crash in these cases (opnsense-patch 63bac3c). Although the caller should try to pass a null, it's likely better to prevent any output in that case (intention was likely to offer an empty set here).

Since the last update the problem seems fixed.

Confirmed fixed.


[Bug]: after delete mo，apply cn groups config, show backend servers labels is null

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Environment

Version or commit-id (e.g. v0.1.0 or 8b23a93):nightly-c74710ac
Hardware parameters:
OS type:
Others:

Actual Behavior

Expected Behavior
No response
Steps to Reproduce
1.delete -f mo.yaml
2.apply -f mo.yaml, config cn groups
3.show backend servers;
Additional information
No response

@heni02 fixed via #346 , please kindly close if the issue is addressed

comfirm，closed


特定のログインフローでセッション登録時にエラーが出る

たとえば、未ログイン状態で
https://dreamkast-dk-72.dev.cloudnativedays.jp/codt2021/timetables
から、右上のログインを押し、その後セッションポチポチして最後に登録を押すとInternal server errorが出る

I, [2021-07-13T03:25:16.212431 #11]  INFO -- omniauth: (auth0) Request phase initiated.
I, [2021-07-13T03:25:27.961920 #11]  INFO -- omniauth: (auth0) Callback phase initiated.
E, [2021-07-13T03:26:02.074450 #11] ERROR -- : [1ce7e03d-c7a8-4c04-843d-ec713be09355] Rendering 500 with exception: undefined method `avatar_or_dummy_url' for nil:NilClass
E, [2021-07-13T03:26:02.074599 #11] ERROR -- : [1ce7e03d-c7a8-4c04-843d-ec713be09355] /app/app/views/tracks/waiting.html.erb:61:in `block in _app_views_tracks_waiting_html_erb___4286571013282235301_50780'
/usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:87:in `each'
/usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:87:in `each'
/app/app/views/tracks/waiting.html.erb:56:in `_app_views_tracks_waiting_html_erb___4286571013282235301_50780'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/base.rb:274:in `_run'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/template.rb:185:in `block in render'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:182:in `instrument'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/template.rb:385:in `instrument_render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/template.rb:183:in `render'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/template_renderer.rb:58:in `block (2 levels) in render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `block in instrument'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `instrument'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/template_renderer.rb:57:in `block in render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/template_renderer.rb:65:in `render_with_layout'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/template_renderer.rb:13:in `render'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:117:in `block in _render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/base.rb:304:in `in_rendering_context'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:116:in `_render_template'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/streaming.rb:218:in `_render_template'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:103:in `render_to_body'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/rendering.rb:25:in `render'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rendering.rb:36:in `render'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
/usr/local/lib/ruby/2.7.0/benchmark.rb:308:in `realtime'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/core_ext/benchmark.rb:14:in `ms'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
/usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/controller_runtime.rb:39:in `cleanup_view_runtime'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:43:in `render'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/implicit_render.rb:35:in `default_render'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:195:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rendering.rb:30:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
/usr/local/bundle/gems/sentry-raven-3.0.0/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:121:in `instance_exec'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:139:in `run_callbacks'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:41:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rescue.rb:22:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `block in instrument'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `instrument'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:136:in `process'
/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:39:in `process'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:190:in `dispatch'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:254:in `dispatch'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:49:in `block in serve'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:32:in `each'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:32:in `serve'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:834:in `call'
/usr/local/bundle/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/usr/local/bundle/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-1.9.1/lib/omniauth/builder.rb:45:in `call'
/app/app/middlewares/rescue_from_invalid_authenticity_token.rb:8:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:648:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:101:in `run_callbacks'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:80:in `block in tagged'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:28:in `tagged'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:80:in `tagged'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/usr/local/bundle/gems/rack-timeout-0.6.0/lib/rack/timeout/core.rb:151:in `block in call'
/usr/local/bundle/gems/rack-timeout-0.6.0/lib/rack/timeout/support/timeout.rb:19:in `timeout'
/usr/local/bundle/gems/rack-timeout-0.6.0/lib/rack/timeout/core.rb:150:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/executor.rb:14:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/static.rb:126:in `call'
/usr/local/bundle/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
/usr/local/bundle/gems/sentry-raven-3.0.0/lib/raven/integrations/rack.rb:51:in `call'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:527:in `call'
/usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'
/usr/local/bundle/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'
/usr/local/bundle/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'
/usr/local/bundle/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'
/usr/local/bundle/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'

再現動画
https://drive.google.com/file/d/1GrMkz-REQJjy_I09unhdKYvxmhz27Uk8/view?usp=sharing


[Feature][project] Guest function

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Application scenarios:

【Access Rights Control】 By creating guest users, you can limit their access rights to the system. Guest users may only be able to view certain tasks, processes, or reports in the system but not be able to modify or delete them. This ensures system security and data integrity. For example, new members of the company who are familiar with the business environment need a read-only environment to ensure security.
【Demonstration and Learning】 Provide a demonstration environment for third parties.
【Temporary access】 When troubleshooting problems, you can assign read-only users for operation and maintenance to collaborate on problem troubleshooting.

Use case
A function will be implemented: read-only permissions can be given to projects that have been assigned to users.
Related issues
I don’t know if this idea is feasible, everyone is welcome to discuss it
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

There are currently no plans for that


Update/upgrade updates

💬 Description
A few changes to accompany the new upgrade page https://github.com/gathercontent/app/pull/2566

Adds some SVG icons
Adds defaultFillColor prop to <Icon /> (prev the CSS was setting all SVG paths fill colours indiscriminately, which meant the little sitting GC chappy lost his colour 😭 )
Adds transform-rotate SCSS helper, so get spinning!

🔗 Links
Links that relate to the PR (Trello, Figma etc.)
📹 GIF (optional)
A short GIF of the changes in action.
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Pricing page in app from designs

 Add pricing page to app from designs


Error with select statement

I have created a new API id for my database called sadd_tests_1, found here:
https://fair.addi.ad-datainitiative.org/#/data/datasets/sadd_tests_1
I also created new catalogue ids, like this one: Simul_ADNI_DB_1_subject
When I upload the file:
$ python ../fair-api-upload.py sadd_tests_1 data Simul_ADNI_DB_1_subject.csv
Dataset code: sadd_tests_1
File: Simul_ADNI_DB_1_subject.csv
Upload type: data
Destination: https://fair.addi.ad-datainitiative.org/api/files/datasets/sadd_tests_1/data
Uploading file ... Simul_ADNI_DB_1_subject.csv ...
Uploading file ... Simul_ADNI_DB_1_subject.csv ... Done
And when I run the following select:
$ python ../fair-api-select.py select-all.graphql
I am getting an error when I run it.  The select json, with the two outputs show the same error with different numbers, all of those are attached.
A note on the attachments, it wouldn't let me attach them unless I changed the extension to txt.  So the select_json.txt is the select-all.graphql, the Simul_ADNI_DB_1_subject.xlsx is actually Simul_ADNI_DB_1_subject.csv (also Glen I have emailed him this one), but I can't attach csv, the other two are obvious, the errors I got yesterday and then today when rerunning it.
select_ json.txt
select_error_today.txt
select_error_yesterday.txt
Simul_ADNI_DB_1_subject.xlsx

I've tested this in a different environment successfully so I believe the errors above were due to temporary issues that have since been resolved. Please reopen this issue if you are still seeing those errors.


Add styling to policy generator site

This PR adds styling to the Policy Generator tool in order to better align with the CyberArk brand (fonts, color schemes, etc)
BEFORE

AFTER

NOTE (and bug to fix at a later date): when navigating to the 'about" page, the dropdown menu still appears (see image)

though there is a minor bug mentioned above, I think it is best to merge this PR and in the mean time try to find the source of this bug.

TODO:

[ ] text editor for policy template differ in size


NCS-357 Add shareholder endpoints

NCS-357 Add endpoints to service shareholder details' requests.

Endpoint for shareholder count.
Endpoint for shareholder (details) list.

Linked to NCS-87.

Looks good to me, I'll hold off approving until we hear back from the DBA review of the queries

DBA is OK with the scripts.


fix: some regressions with pretty-printing and add no-wrap printing

cc @h-vetinari this should stop wrapping lines in CI :)
fixes #1124

@h-vetinari - it works but only when manually setting the --no-wrap-lines - there is a little bug with the automatic CI setting :)

https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1065350&view=logs&s=6884a131-87da-5381-61f3-d7acc3b91d76&j=7b6f2c87-f3a7-5133-8d84-7c03a75d9dfc

Cool thanks! Presumably we need to add --no-wrap-lines somewhere in smithy?

yes, that would be one way. Or we fix up the detection of CI in rattler-build :)


Allow to create new files as admin (Save as)

Testing #40592

Try to save a file in a directory where user has no permissions to save using Save as... option

Expected to see the option to Retry as admin

Save As dialog won't even let try to save it. Save into Documents folder instead, it says.


Add layout-version field to manifest.yml, fixes #107

will need to rebase once #122 has merged.

@nmiyake @markelliot @briantoth : layout-version defines the SLS directory layout.

we'd have to add this field to the SLS spec.

will re=open against develop


chore(main): release 0.10.1

:robot: I have created a release beep boop
0.10.1 (2023-04-04)
Bug Fixes

tech: Isolate -> isolate (#61) (94e95b7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/CCXXXI/thesis/releases/tag/v0.10.1 :sunflower:


List function consuming high chunk of memory

k8sClientSet.CoreV1().Pods("").List(context.Background(), metav1.ListOptions{})
and NewFilteredEventInformer.ListFunc is consuming high chunk of memory when there are large number of pods and pod churn in cluster.
Using them to get resources in every minute
same issue was reported on #871

On initialising pod informer and in a set up with 1k pods.
When we run create/delete 100 pods per minute, the streamwatcher memory goes up incrementally and keeps increasing

same issue here, below is my heap profile and my client-go version is v0.25.3

+1  I have the same problem

I was able to mitigate this issue by using grpc as content type.

@gnuletik Can you please help with the example?

You can set the ContentType value of the config you provide when creating the clientset.
kubeConfig.ContentType = "application/vnd.kubernetes.protobuf"

// creates the clientset
kubeClient, err := kubernetes.NewForConfig(kubeConfig)
if err != nil {
        return nil, err
}

@gnuletik Thanks, let me try this as well

/reopen /remove-lifecycle rotten


SUBMARINE-751. Upload NTU workshop video

What is this PR for?
Upload NTU workshop video
What type of PR is it?
[Documentation]
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-751
How should this be tested?
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@ByronHsu @kevin85421
There is a task running over 80 minutes (python-sdk /unit (3.6,1.15.0) ,is this normal?

@ByronHsu can you help me deal with the checks ?


edit warpbuild description

Fixes https://github.com/neysofu/awesome-github-actions-runners/issues/5.


Sending Mail to Microsoft Exchange fails

Sending Mail using the Email-Node to Microsoft Exchange fails.
Debugging gives a TLS/SSL problem when communication with Microsoft Exchange.
My research on this problem lead to modifications in the included nodemailer package:
https://stackoverflow.com/questions/19509357/not-able-to-connect-to-outlook-com-smtp-using-nodemailer
Will this be fixed in the NodeRED releases anytime - maybe as an option in the Mail Node settings in the Editor?
How can I modify settings.js for multiple deployments on our site?

Hi - please use the issue template you given when raising an issue.
The email node is not maintained in this repository. Please open an issue, using the issue template, here: https://github.com/node-red/node-red-nodes

How can I modify settings.js for multiple deployments on our site?

That is a question you should ask on the discussion forum - https://discourse.nodered.org - as the issue template says, the issue list is not a place for general how-to type questions.

Hhdhsh


Change default ModelSnapshotRetentionDays

This commit fixes assertions on ModelSnapshotRetentionDays
as the default days has changed from 1 to 10.

Opened #4781 for Date property tests. Merging this in


Dumps

We identified with Romain 2 bugs in dumps:

People that are admins but NOT competition owners cannot create dumps
Newly created dumps (e.g. today june 8, 2020) obtain the "wrong" date.

 in this example the date 2019-11-27 should be 2020-06-08

There is no possibility to create a dump of competition that includes the task as a zip inside the competition bundle.

Merged.


Make cache file handling more flexible

In GitLab by @esarradj on Dec 8, 2017, 14:37
Current implementation does not allow parallel access to the same cache file. This results in an error, e.g., when an acoular script is run in an i-python console and the console is not closed before another (or the same) script accessing the same cache file is run.
At least parallel read access should be possible, preferably also write access if the written objects do not collide.

In GitLab by @esarradj on Jan 10, 2018, 17:29
Allow 3 states of "cached" flag: True, False, "readonly"
By Gert Herold on 2018-01-10T16:29:29 (imported from GitLab)

In GitLab by @esarradj on Aug 7, 2019, 16:43
possibly add option for caching objects in their own files (instead of one file per basename) to be able to avoid read/write conflicts with other processes.
By Gert Herold on 2019-08-07T14:43:40 (imported from GitLab)

In GitLab by @esarradj on Apr 9, 2020, 16:55
See also #98
By Gert Herold on 2020-04-09T14:55:35 (imported from GitLab)


add bidders between 2.10 thru 3.15

Include bidders who were added between Prebid.js versions 2.10.0 - 3.15.0

That was a lot of work - thanks @jsnellbaker


Cannot simultaneously install Python3 packages cairocffi and bokeh

Issue description
Since upgrading NixOS to 18.09, I cannot install my Python 3 environment if I include both cairocffi and bokeh packages.  I can install each of them individually or with other packages.
Steps to reproduce
If I put this in my ~/.nixpkgs/config.nix:
{
  packageOverrides = pkgs: {
    myPythonEnv = pkgs.python36.withPackages (
      pythonPkgs: [
        pythonPkgs.cairocffi
        pythonPkgs.bokeh
      ]
    );
  };
}

and try to install myPythonEnv, I get:
$ nix-env -iA nixos.myPythonEnv
replacing old 'python3-3.6.6-env'
installing 'python3-3.6.6-env'
these derivations will be built:
  /nix/store/7qxarg5i94l7k1gs4gjbcmcld2wvwack-python3-3.6.6-env.drv
building '/nix/store/7qxarg5i94l7k1gs4gjbcmcld2wvwack-python3-3.6.6-env.drv'...
collision between `/nix/store/2l451q4974w431hmyz8wxfp984vnlvcz-python3.6-Bottleneck-1.2.1/lib/python3.6/site-packages/.pytest_cache/v/cache/nodeids' and `/nix/store/89p096cqhrxwhbd70mmc4mb6mhkjbn4n-python3.6-cairocffi-0.9.0/lib/python3.6/site-packages/.pytest_cache/v/cache/nodeids'
builder for '/nix/store/7qxarg5i94l7k1gs4gjbcmcld2wvwack-python3-3.6.6-env.drv' failed with exit code 25
error: build of '/nix/store/7qxarg5i94l7k1gs4gjbcmcld2wvwack-python3-3.6.6-env.drv' failed

Technical details
$  nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/kic17fw8wil74k04kzh3dha43izrr9j3-bash-interactive-4.4-p23-dev
copying path '/nix/store/kic17fw8wil74k04kzh3dha43izrr9j3-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.71, NixOS, 18.09beta521.e4966591ef6 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.1`
 - channels(alexey): `"nixos-17.03-17.03.1949.78e9665b48f, nixos-17.09-17.09.3238.e984f9e48e1"`
 - channels(root): `"nixos-18.09beta521.e4966591ef6"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Looks like https://github.com/NixOS/nixpkgs/issues/40273

Closing as duplicate of #40273. The fix is stuck in staging, and should also go to 18.09.


Update ERC-5585: Move to Final

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

@Pandapip1 Could you please help to review and approve the request if everything is good, thanks.

@SamWilsn Thanks for the approval. Can I ask you a question? I just notice that I left the wrong github account in the author list of this EIP, which should be apan826 instead of apan, is there a way for me to update? Thanks.


There is no cl.exe installed alongside the Visual Studio Build Tools

Following the instructions on this page, I installed the Visual Studio Build Tools 2019. According to the mentioned documentation:

The Build Tools for Visual Studio version of Visual Studio installs only the command-line toolset, the compilers, tools, and libraries you need to build C and C++ programs.

However, when running the Developer Command Prompt for VS 2019 there is no cl.exe

'cl' is not recognized as an internal or external command, operable program or batch file.

P.S. BTW I was one of the people who actually requested this feature here.

@Foadsf
I'm sorry you're having difficulty. This isn't a support channel per se, but I can think of a couple of reasons the effect you're seeing could happen.
The first could happen if you've only installed the Visual Studio Build Tools. You have to specifically select the C++ build tools for installation when you run the Visual Studio Installer. The build tools create their own developer command prompt (DCP) entries in the Start menu. If you choose the .NET build tools, but not the C++ build tools, you can run the cs compiler in the DCP, but not the cl compiler. To fix it, run the Visual Studio Installer again, and choose the Modify button by the Visual Studio Build Tools. On the next page, select the Visual C++ build tools, and press the Modify button. Once it runs, the DCP should include cl.exe on the path.
The second way might happen if you've installed the Visual Studio IDE without the C++ build tools, and then installed the Visual Studio Build Tools separately with the C++ build tools. You'll see two entries in the Visual Studio Installer, one for the build tools, and one for the IDE. They'll both insert DCP shortcuts in the Start Menu. The binaries get installed in separate folders; you can run both VS and the build tools side by side. In this case, you have to choose the right developer command prompt shortcut from the Start menu. Yes, it's confusing. If you have double entries for developer command prompt shortcuts in the Start menu's Visual Studio 2019 folder, that's what's going on. Whichever one got installed second will have shortcuts that end in (2), probably.
My reading of the article shows it covers the first case. I don't think the second case is common enough to merit a documentation change; describing it would just clutter the article up for the great majority of readers. Therefore, I'm closing the issue. If you feel there's something useful to be changed here, you're welcome to argue your case, and I'll consider it.

Dear @corob-msft ,
Thanks a lot for the reply. I have followed the documentation exactly as is instructed. And then installed the Build Tools for Visual Studio 2019 following the default settings. I think it would be a good idea to update the documentation and mention the required step if does not include the cl.exe by default.
Moreover, If I modify the installation and manually add the C++ build tools

Then it becomes 6.2GB of installation, which I suppose includes the Visual Studio GUI/IDE and contradicts the feature request I have asked for here. And if it doesn't include the GUI/IDE Visual Studio then the question is why is a compiler 6.2GB?! 🤔


Popover is hidden by the keyboard on Android

Ionic version:
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...
[x] bug report
[ ] feature request
I create and present a popover without passing $event. It is displayed in the center of the screen.
Popover contain text input. When i focuse this input keyboard is opened.
In Ios popover adapts to changed size of keyboard-free part of the screen (it goes up).
But in Android popover doesn't adapt (it stays on the same place) and the part of the popover becomes hidden by keyboard.
Current behavior:
In Android popover that was presented in the center of the screen doesn't adapt to changed size of keyboard-free part of the screen after keyboard was opened.
Expected behavior:
In Android popover go up to the center of keyboard-free zone like in Ios.
Ionic info:
cli packages:
    @ionic/cli-plugin-proxy : 1.4.11
    @ionic/cli-utils        : 1.12.0
    ionic (Ionic CLI)       : 3.12.0
global packages:
    cordova (Cordova CLI) : 7.0.1
local packages:
    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : ionic-angular 3.6.1
System:
    Node : v6.11.2
    npm  : 3.10.10
    OS   : Windows 10
Misc:
    backend : legacy

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having?
This will help us in debugging and testing any resolution to your issue.
Thanks for using Ionic!

This is a sample application with example of how i use popover: https://github.com/solinder/ionic-test-popover
Screenshot of this example:

Hello there!
Any update on this? I am having the same issue
Thanks in advance!

Hello!
+1 to have this fixed.
Is there any chance to have this issue fixed in 3.x? Or are you guys too busy with the 4.0 release?


version numbers of assembly "System.ComponentModel.Annotations.d

The version numbers of the assembly "System.ComponentModel.Annotations.dll" contained in all nugget package versions higher than 4.1.0  are messed up. I.e. the nuget packages 4.4.0 and 4.4.0 Preview2 contains assembly with the version 4.2.0. Package 4.3.0 contains assembly with the version 4.1.1 etc.
In some circumstances, this is causing following error at the runtime:
"Could not load file or assembly 'System.ComponentModel.Annotations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
Repro steps:

Create a .NET Standard 1.4 class library project.
Use in some method of this library the following to deserialize some string:
var deserializedresult = JsonConvert.DeserializeObject(someSerializedObject, typeof(SomeType));
Create another .NET Framework 4.6.1 based class library (in my case this was an Azure FunctionsApp project)
Create in this library a method calling your method in the .NET Standard 1.4 class library project (see 2.)
I had installed packages Newtonsoft.Json 10.0.3, System.ComponentModel.Annotations 4.4.0 and System.ComponentModel.TypeConverter 4.3.0 in both projects.
The result is "Could not load file or assembly" error as described before.

If I install the version 4.1.0 of the package System.ComponentModel.Annotations in both projects, everything work as expected.

This repo only tracks infrastructure issues regarding the following items:

Missing or outdated source in this repository
Reference Source Browser (http://referencesource.microsoft.com/)
Debugging the .NET Framework using Reference Source

For issues regarding functionality, please use the following resources:

BCL. https://github.com/dotnet/corefx
ASP.NET. https://github.com/aspnet/home
Everything else. https://connect.microsoft.com/VisualStudio/feedback/LoadSubmitFeedbackForm


better use of local indices

(1) the function index_of_loc returns the highest index for the closest segment and the lowest for the furthest, see #30 and (2) it is multiplying with branch_ind because we had to rely on global compartment indices -- now this could be solved with local indices and then it is not necessary anymore to pass a branch_ind to the function
https://github.com/jaxleyverse/jaxley/blob/729c1cafdb80ab66f8c5013fbee26d7abc042613/jaxley/utils/cell_utils.py#L161
Originally posted by @lappalainenj in https://github.com/jaxleyverse/jaxley/issues/277#issuecomment-1999963966
Also see here

Can this be closed @jnsbck ?

Should be adressed by #447.


"markdown" version of interim minutes

Describe the issue
Via Michael Richardson
Subject: "markdown" version
From: 	"Michael Richardson"<EMAIL_ADDRESS>Date: 	Fri, 21 Apr 2023 16:25:24 -0400
at: https://datatracker.ietf.org/doc/minutes-interim-2023-cellar-03-202304041900/
it offers me "Other Versions", and says "markdown"
The link is:
https://datatracker.ietf.org/meeting/interim-2023-cellar-03/materials/minutes-interim-2023-cellar-03-202304041900-00.md
but downloading this link does not give me markdown, rather it has rendered
HTML:

CELLAR -- DRAFT AGENDA for Virtual Interim Meeting
| Date | Time | Local Times |
| :-: :-: :-
| 2023-04-04 21:00 Amsterdam | Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

We need to figure out a way to tell all the browsers how to ask for the file in a way that gives the markdown when that's what's asked for.
In the meantime, curl does the right thing.

If request the document with the header "Accept: text/markdown", Django correctly returns a pure markdown document.
By default, currently, neither Chrome nor Firefox do not add "text/markdown" to the "Accept" header by default (tested on Firefox 113.0.2 and Chrome 115.0.5790.98).
In addition, see the related Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1319262

One of the options - we can stop rendering markdown by default (at least, for meeting materials) when accessed by direct links and always return MIME type text/markdown for such documents. It will allow you to download raw md files from a browser but will stop rendering them in a readable format.
They would still be rendered as HTML in the viewer on the minutes' page (https://datatracker.ietf.org/doc/minutes-interim-2023-cellar-03-202304041900/)

Setting type="text/markdown" for the link, unfortunately, does nothing in Firefox. For Chrome, it does not modify the Accept header but replaces the Content-Type of the response with text/markdown, so the server returns HTML (as it hasn't seen markdown in acceptable formats), but Chrome renders it as plain text (markdown). :smile:

In addition to the curl workaround, Firefox (116.0.2 64-bit, OSX) gives me raw markdown if I do a "save to file..." That does not work with Safari nor Chrome, though, they both save HTML versions.

I think we're going to close this rather than merge it. Thank you for the submission and the discussion.
Instead, I expect we'll do a redesign of the pages from first principles and split the views to be explicit about the desired format rather than rely on the Accept header contents.

Sorry - intended for that last comment and the close to be on the draft PR, not the issue.


getting a zookeeper error when producing

I am receiving the following error when producing to kafka using the zookeeper method. Is there a way to close the connection to zookeeper? I am making multiple call to the function below and it seems to be trying to hold the connections open.
        $rand = rand(0, 130);
        $producer = \Kafka\Produce::getInstance('zookeeper-host', 3000);
        $producer->setRequireAck(1);
        $producer->setMessages('topic', $rand, $message);
        $result = $producer->send();

Here is the error i am getting constantly.It eventually causes my code to stop running.
2015-04-22 20:04:11,185:5586(0x7f502b936700):ZOO_WARN@zookeeper_interest@1557: Exceeded deadline by 13ms

Hi
You can reference<EMAIL_ADDRESS>

Try C client in zookeeper-3.5.0alpha.
See:
https://issues.apache.org/jira/browse/ZOOKEEPER-642


Add a link to the source and to the AI Horde (somewhere)

Would be nice if this repo is added to the website and also would appreciate a link (and potentially also an explanation) of the AI Horde as well as that is what can convert some users into workers.

Source code link added.

Description and link to AI Horde added.


fix update by adding changed packages to transaction

this might also fix #39 – do you have an easy way to test that @isuruf ?


Prevent unreadable exceptions.

we said 't_name should always be in terminals_by_name'. Well, isn't the case when the expected set contains wither $END or a %declared terminal.

That's a very indirect way of saying that your pull request inserted a bug to the code base.
Anyway, I already fixed it (just pushed now)


What would be the benefit?
I've not made a filter plugin yet so that alone piques my interest.

Filters can be appleid on export on an instance. And they show up in the right place. And you can install it from the Plugin Manager.

Aha! That is handy. In that case I'll fix this issue with the segments and look in to how to wrap it up. Thanks for the push.


Change the IaC

Please consider convert docker-compose to kubernetes

I tested the PR and is LGTM

Go no luck running the services on Debian 11 and could not advance too much. I'll close this as won't fix for now.


[ARIA-LABEL]: add attribute to fa-icon

https://www.w3.org/TR/wai-aria/states_and_properties#aria-label

Thank you for your contribution!
Tests are failing because of yarn complaining about an incompatible engine (Node 8).
This would be fixed by yarn config set ignore-engines.
Though I immensely appreciate it, I'd rather you upgrade Ember in a separate PR.  😉

@buschtoens Popped off the upgrade.  So do I need to add a yarn lockfile or is this something you can fix?

ember try:each fails because it attempts to install dependencies that are not officially marked as compatible with Node 8, even though they almost certainly are.
The .travis.yml needs to be modified a bit. If you can wait a bit, I'll upgrade this add-on to the latest ember-cli version and fix Travis.
Feel free to nag me, if I have not done this in the next 12 hours. 😉

Please pop off c8f979fa042d0f391229fb6e652e0ee7d183b415. Then we're good to go.

Thank you very much for submitting this PR and making the requested changes! ♥


testing : (etheruem network) / changes

No need to add hacktober tag just tested on remix ide on ethereum VM

@aditya172926 Please redeploy the latest contract from your wallet and I will test it on the frontend side


Add list of options for the rate selector for paid workshops while creation/editing the workshop

As a service provider/service providers deputy/workshop admin I want to edit workshops pay rate so that to be able to change the amount
Description
Acceptance Criteria
GIVEN user (service provider/service providers deputy/workshop) wants to edit workshops pay rate
AND opens workshops edit page
WHEN clicks selector
THEN list of options shall be displayed

Business rules:
Option list values:
Заняття
Місяць
День
Рік
Година
Курс
Увесь період
Epic link
E.g.: Epic #100 Epic
Labels to be added
"User story", Correspondind Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"
Tasks

[ ] sample task.

Done


question re: packaging and releases

We've noticed the luarocks package of lua-cjson has not been updated in some time:

I'm aware the most up-to-date version is bundled with OpenResty itself, but many projects (resty-related and otherwise) take lua-cjson as a dependency.
Is it possible to publish an updated package to luarocks? Perhaps this should come with a new tag/release as well, as there has been at least one important bugfix merged since <IP_ADDRESS>.

Yes, I need this as well, as currently the lua-resty-ljsonschema library which depends on lua-cjson will install an outdated version on an up-to-date OpenResty system.

@zhuizhuhaomeng sorry to ping you directly, but is there anything that can be done about this?

bump, there is already <IP_ADDRESS> tag, is it possible to publish new versions to luarocks.org?

Great to see #84 by @hishamhm was merged. So all that's left is a new release and upload to LuaRocks.
Anything we can do to facilitate @zhuizhuhaomeng ?

@Tieske I didn't use the LuaRocks before?
Would you please prepare the script for LuaRocks?

@zhuizhuhaomeng there is little to it, ensure you have Luarocks installed, and have the Apikey handy, then from the repo do:
	luarocks upload lua-cjson-<IP_ADDRESS>-1.rockspec --api-key=<your api-key>

There are also github actions that can automate this process, see https://github.com/lunarmodules/busted/blob/master/.github/workflows/deploy.yml

@zhuizhuhaomeng any update on this? anything you need?

I don't know how to find the email of the account "openresty".
Do you know the email of the luarock maintainer?
I would like to contact them to recover the account.

@hishamhm can you provide @zhuizhuhaomeng with the email address of the OpenResty LuaRocks account?

@zhuizhuhaomeng any update on this?


need help: I have to install atom Setup 32-bit in a windows 7 system

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
[Description of the issue]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

I will look later for my request, thanks
Roberto Pizano

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.


Fixing links to point to tsugiproject rather than csev

The repository links redirected but the github.io web links didn't and ended up at a 404.

Project description also needs updating.


Added missing Nuspec file

Added missing Nuspec file

Looks like you deleted the Build directory. Didn't like the ps script or was it because of the missing nuget spec. file?

The nuspec was missing. So I decided to revert it but the paths are all different and thus it doesn't work. I can merge this and can restore the Build folder because it makes sense to use it.

I don't really understand what is happening here, but something is not working with the merge. I also see that the build.ps1 file is missing in your version, but it is there in mine.


Fixes for huggingface_hub 0.12 compatibility

Following up the discussion in #273

ignore mypy error in snapshot_download
account for changed error message

I tested locally with huggingface_hub==0.12.0.rc0 and it worked.
Ready for review @skops-dev/maintainers


Customize the bullet located on the left menu

Hey! Is there a way to customize the location/color from the indicator like this? It would be a nice feature!

The color matches the color of your status badge. Where would you want to move the location to?

I know this is a bit stale, but I'd love the option to use a custom icon for this menu.

This bullet no longer shows at all in newer versions of storybook, right?

Seems fine to me! Can you show me your setup code @blowsie ?

I can do it tomorrow, but you can see this broken on the readme page too?
https://raw.githubusercontent.com/etchteam/storybook-addon-status/master/screenshot.png

@blowsie disable storyStoreV7 in your .storybook/main.js file.

Any plans to allow the dots to be displayed in similar fashion as the status chips on the actual stories?

Any plans to allow the dots to be displayed in similar fashion as the status chips on the actual stories?

No, but PRs are always welcome


Intellisence not working

VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

vscode-html-css
ecm
0.1.8

auto-close-tag
for
0.5.5

materialize-snippets
len
1.2.2

python
ms-
0.9.1

LiveServer
rit
3.0.2

Steps to Reproduce:
1.create a new folder and init with npm init
2.open whith code
3.reqire a node module
4.Intellisence not working (projects that already exists before I upgrade to this version works fine)

Reproduces without extensions: Yes

My workding directory is : "D:\Development\Node".
I installed a new module useing npm and the Intellisence of that module is ok
And this is my settting

I left vscode open for a long time(3 hours?) and it works fine now.
Is that the problem?


feat: wire up publish button and update routing

fixes #288
also adds a fix for #119

PR Storybook available here


Revert "Replaces minified carto with uncompressed version"

@rochoa @CartoDB/frontend
Reverts CartoDB/cartodb.js#516

:+1:

go go go

retest this please


License incompatibility in test/test-thread-affinity.c file

Hi
While packaging the new version of libuv for Debian, I've seen a copyright statement which is not suitable for redistribution by Debian:
/* Copyright libuv project contributors. All rights reserved.
 */

This statement does not specify the distribution license, hence Debian cannot assume that this file is open-source.
I'm pretty sure this is a mistake, but, unfortunately, I cannot ship this file as is in Debian.
I'd suggest to either:

add a license in this file, (e.g. like in test/test-idna.c)
remove the "All rights reserved" sentence, in which case the license specified in main LICENSE file applies.

All the best
cc: @qdaoming

Fixed, thanks for the report.


With netbox-kafka-producer Installed netbox is blocking on a change

When testing this out I'm seeing blocking behaviour on netbox when the settings are installed and configured to my single node kafka instance, i.e. when I update something in net box it will hang and requires a restart
Is there any way to enable logging to try and debug?
my kafka nodes are on port 9094 so I'm assuming that this is appended to the server in the settings e.g. xxx.xxx.xxx.xxx:9094 ?
My kafka instance is working on a simple producer / consumer is there anything else required on the kafka side of things?  Currently I have auto-create topics while I'm evaluating

This definitely sounds like the Kafka producer blocking when trying to publish the message, which I've encountered before (in a different application) when the Kafka cluster was unhealthy.
The SERVERS configuration value is passed directly as bootstrap.servers, which supports specifying a non-standard port, so that shouldn't be the problem.
It looks like the Confluent Kafka library supports a hook for logging, which currently isn't utilized by netbox-kafka-producer.
Unfortunately I'm heading out on vacation for the next couple of weeks. If this problem still persists and isn't just a cranky Kafka cluster, I'll help investigate when I get back. Having some logging and debug functionality is a good idea.

Enjoy your holiday :).
I'll poke around a bit more to play with it.  This is a new Kafka Cluster running on Kubernetes using the Strimzi operator so may be something to do with how the LoadBalancer (MetalLB) is exposing the kafka services.   Currently it's exposing the bootstrap and nodes on 9094 on individual IPs for the bootstrap and the kafka nodes which when testing with KafkaCat is testing successfully using the bootstrap addresses both as producers and consumers just fine.

Alright, I'm slowly catching up on life.
We discovered that if the SERVERS value in the KAFKA setting was something weird, like an empty string, then the middleware can hang trying to publish the change.
Can you share the relevant section of your settings.py?
I created an issue in our internal repo to validate settings to catch little things like this.


Is this project still alive?

The last release of this project is 8 month old, last commit is from same time. New issues weren't resolved in long time and actually no comments from maintaining team were seen either.
Is there a plans to continue maintenance of this project or is it dead?

I regrate using it now, so many pull requests ignored, the last update is nothing. I wish someone takes over this responsibility I maintain it as its getting out of hand with so many forks :(


fix: change unicode to str as python3 supports

Reference https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methods

Hey @rririanto thanks for your contribution!
We encourage you to keep contributing to this project.

Sure, I would love to do that!