[DOCS] Starting on local host

Fixes Issue

**My PR closes #577 **
Changes proposed
What were you told to do ?
change the command of starting the app on localhost from npm start to npm run dev.

What did you do ?
did the same

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title and description of the PR is clear and explains the approach.

Screenshots

LGTM ✅ Thankyou so much for making Project Milan even better !

i'll try to contribute more to the project🙂


Issue when requiring package.

Getting this issue when installing this package or when requiring therobfonz/laravel-mandrill-driver
It seems like there is something wrong when this 2 need to be installed. Anyone else has come to this issue before?
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   BadMethodCallException

  Method BeyondCode\HeloLaravel\Laravel7Mailer::extend does not exist.

  at vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php:103
     99|      */
    100|     public function __call($method, $parameters)
    101|     {
    102|         if (! static::hasMacro($method)) {
  > 103|             throw new BadMethodCallException(sprintf(
    104|                 'Method %s::%s does not exist.', static::class, $method
    105|             ));
    106|         }
    107|

      +9 vendor frames
  10  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(LaravelMandrill\MandrillServiceProvider))

      +5 vendor frames
  16  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Actually it seems there is no conflict with therobfonz/laravel-mandrill-driver but something with helo package  at least on my app.

I have the same issue.

I've added this static function to vendor\beyondcode\helo-laravel\src\Laravel7Mailer.php and it solved my problem.
    /**
     * Void function, bug fix for BeyondCode Hello
     */
    public static function extend()
    {

    }

Yeah i did this as well but the issue is when this will be update will be overridden. Probably the best way is to be fixed by Marcel.

Yeah i did this as well but the issue is when this will be update will be overridden. Probably the best way is to be fixed by Marcel.

True :)

I have the same issue using PostmarkServiceProvider

Trying to install laravel-postmark whilst Helo is installed and getting the same issue

Trying to install laravel-postmark whilst Helo is installed and getting the same issue

Same, laravel postmark


How about bigger state?

Nice example of UDF & swiftUI, but:

is there any way / suggestions how to keep state in bigger apps? (I saw that state can derive from another but, I'm afraid of later mess)
what about navigation state (should it be part of main state) with newest swiftUI NavigationStack?
for big lists with images & stuff how does it affects performance and memory footprint?
did you have other examples of bigger apps, how did they avoid complex state?

I`m just courios & afraid to take risks to implement smth new :)

@adriantabirta in my apps I use a store per feature approach which is super-efficient.
I don't usually keep navigation state or any other part of UI state(like selected item) in the store.


GPFS health check and enable liveness probe

@madhuthorat Could you please elaborate in PR comment section about this problem/resolution for future ref purpose.?

Following tests were executed for liveness probe testing and all of them passed.

install liveness probe images - should succeed
csi driver pods should show 3 containers - an extra container added for liveness-probe
pre-req: GPFS is up on all nodes
liveness probe container log should show success
csi container log should show gpfs healthy
pre-req: GPFS down on all nodes
liveness probe container log should show success on all nodes
csi container log should show gpfs unhealthy on all nodes
pre-req: GPFS is down on node1 but up on node2
liveness probe container log should show success on node1 and node2
csi container log should show gpfs unhealthy on node1 and healthy on node2
pre-req: csi node name (e.g. deism3.fyre.ibm.com) and gpfs node name (deism3) differs; gpfs is down on that node
liveness probe container log should show success
csi container log should show gpfs unhealthy
pre-req: csi node name (e.g. deism3.fyre.ibm.com) and gpfs node name (deism3) differs; gpfs is running on that node
liveness probe container log should show success
csi container log should show gpfs healthy
Ensure liveness-probe checks health every 30 seconds.
Ensure Probe() function runs every 30 seconds and checks GPFS health.

Purpose of this PR - One of the requirements for CSI-CNSA integration is to make CSI aware about GPFS. This PR takes care of making CSI pods aware about GPFS health by doing the following:

Use REST API "Nodes/{name}/health/states: GET" in CSI driver code to get GPFS health status on a node.
Also update Probe() function to call the REST API to get GPFS health status. The Probe() function does the following:
a) Add a log to indicate GPFS is healthy or unhealthy on the node.
b) Return with SUCCESS status (irrespective of GPFS status). We don't want CSI driver PODS to restart as of now when GPFS is unhealthy, so we return with SUCCESS status from Probe() status. This is avoid loosing valuable CSI driver logs in case of CSI POD restarts.
Add a container to have liveness probe in existing CSI PODs.
Set various options, port for liveness probe in operator code. The options for liveness probe are set such that, one minute after CSI driver pod has started, the liveness probe would start sending "Probe" requests to CSI container . It would thereafter continue sending "Probe" requests every 30 seconds to the CSI container. Thus "Probe()" function, would be invoked every 30 seconds and GPFS health status would be checked and reported in CSI driver logs.

liveness probe works post upgrade too (CSI 220 to liveness probe images).
original version: 220
upgraded version/images:
quay.io/madhuthorat/ibm-spectrum-scale-csi-driver-dev:gpfschk_driver
quay.io/madhuthorat/ibm-spectrum-scale-csi-operator-dev:gpfschk_operator
test result:

before upgrade, csi driver pods had two containers [driver-registrar ibm-spectrum-scale-csi]

post upgrade, container liveness-probe was added to csi driver pods [driver-registrar liveness-probe ibm-spectrum-scale-csi]

csi driver pod log for container ibm-spectrum-scale-csi started showing probeRequest and gpfs healthy messages.

I0707 12:09:12.678692       1 utils.go:51] GRPC call: /csi.v1.Identity/Probe
I0707 12:09:12.679079       1 identityserver.go:49] Probe called with args: &csi.ProbeRequest{XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
I0707 12:09:12.679149       1 identityserver.go:62] Probe: scale node mapping not found for K8sNodePrefix_spectral2.fyre.ibm.com using spectral2.fyre.ibm.com
I0707 12:09:12.679170       1 identityserver.go:67] Probe: scalenodeID:spectral2.fyre.ibm.com --known as-- k8snodeName: spectral2.fyre.ibm.com
I0707 12:09:12.791308       1 identityserver.go:81] Probe: GPFS on node spectral2.fyre.ibm.com is healthy


Infra: Fix image build for non OCI-compliant envs

[x] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[x] No need to
[x] Manually (please, describe, if necessary)
[x] Unit checks
[x] Integration checks
[x] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

Hi, I think that this PR is incomplete as it only changed the release workflow, but there are other workflow configurations that remain unchanged, which may lead to inconsistent results:
https://github.com/search?q=repo%3Aprovectus%2Fkafka-ui build-push-action&type=code


[BugFix] Fix memory leak in LocalExchange

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：
Fixes #
Problem Summary(Required) ：
local exchange will leak _name and _memory_manager because of without define virtual in destructor
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


ATM8 server wont start up...

Please provide a brief summary of the bug
Trying to start up the server, but it keeps crashing before it fully opens..
Please provide steps to reproduce where possible

Click ¨Start Server¨
Let server load
Crash
Repeat

Expected Results
I expected the server to run correctly.
Actual Results
Server crashed.
What Java Version are you using?
17.0.1 update 12
What is your operating system and platform?
Server host:
CentOS Linux release 7.8.2003 (Core)
Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
Ram: 12356MB
How did you install Java?
It was automatically installed into the server
Did it work before?
It has worked on this version before yes.

Did you test with other Java versions?
No response
Relevant log output
https://pastebin.com/k7eWLW9i

Please try 17.0.5 and post the error log.


nofeat(saml): add SSO/SAML migrations

Adds migrations that add all of the necessary entities. Changes from the POC implementation:

sso_providers includes a resource_id optional column that will allow providers have user-generated unique IDs that can be used in cases like a Terraform provider.
sso_domains has a lowercase unique index on domain.
saml_relay_states uses the inet type for the IP address.
sso_sessions references back to sessions instead of being its own thing.

rmb to rename the squashed commit to feat or fix


Add sample for Pub/Sub Lite I/O Connector for Beam

This is a planned sample (See internal b/186049986), to be published as an official quickstart as well. It uses PubsubLiteIO+Dataflow to read from Pub/Sub Lite (a streaming source), group messages by fixed windows, and write them to  Cloud Storage.
Known issues:

When run on Dataflow, this I/O connector will generate a lot of java.lang.RuntimeException: ManagedChannel allocation site errors due to improper channel shutdown, but this doesn't seem to negatively affect performance. Also tracked in https://github.com/googleapis/java-pubsublite/issues/548 and see the maintainer's comment.

When stopping the pipeline, the "Drain" option is unsupported. See the note in the I/O's README.

This sample is written using the I/O connector released with the Java client library for Pub/Sub Lite. When its official version, i.e. the I/O released with Apache Beam, becomes stable (~May/June), this sample will need an update.

Note the difference between:
import org.apache.beam.sdk.io.gcp.pubsublite.PubsubLiteIO;

vs.
import com.google.cloud.pubsublite.beam.PubsubLiteIO

Any tests?

@averikitsch
Re: tests, no. I looked in the /dataflow samples directory and saw none.

https://beam.apache.org/documentation/pipelines/test-your-pipeline/
https://beam.apache.org/documentation/io/testing/

@averikitsch
Re: tests, no. I looked in the /dataflow samples directory and saw none.

Tests are now a requirement. Let me know if I can help in any way.

@lesv @averikitsch Got it. I added a test.

It uses Strings as input instead of SequencedMessages.
It writes files locally instead of to Cloud Storage.


HV-1496 Add @CodePointLength that validate code point length

See https://hibernate.atlassian.net/browse/HV-1496 .

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

Ok to test

@gsmet thanks for your comments! I'll update this PR at later.

@kazuki43zoo Thanks!
FYI, we have a release planned for tomorrow morning (CEST time) so it would be nice if we could include this one in it.

@gunnarmorling @gsmet
I want to support "Unicode normalization" option as follow:
public @interface CodePointLength {
	int min() default 0;

	int max() default Integer.MAX_VALUE;

	NormalizationStrategy normalizationStrategy() default NormalizationStrategy.NONE;

	String message() default "{org.hibernate.validator.constraints.CodePointLength.message}";

	Class<?>[] groups() default { };

	Class<? extends Payload>[] payload() default { };

	/**
	 * Defines several {@code @CodePointLength} annotations on the same element.
	 */
	@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE })
	@Retention(RUNTIME)
	@Documented
	public @interface List {
		CodePointLength[] value();
	}

	public enum NormalizationStrategy {

		/**
		 * No normalization.
		 */
		NONE(null),

		/**
		 * Normalization by canonical decomposition.
		 */
		NFD(Normalizer.Form.NFD),

		/**
		 * Normalization by canonical decomposition, followed by canonical composition.
		 */
		NFC(Normalizer.Form.NFC),

		/**
		 * Normalization by compatibility decomposition.
		 */
		NFKD(Normalizer.Form.NFKD),

		/**
		 * Normalization by compatibility decomposition, followed by canonical composition.
		 */
		NFKC(Normalizer.Form.NFKC);

		private final Normalizer.Form form;

		NormalizationStrategy(Normalizer.Form form) {
			this.form = form;
		}

		/**
		 * Normalize specified character sequence.
		 * @param value target value
		 * @return normalized value
		 */
		public CharSequence normalize(CharSequence value) {
			if (this.form == null || value == null) {
				return value;
			}
			return Normalizer.normalize(value, this.form);
		}

	}

}

What do you think?

@kazuki43zoo and you would use the normalized form to check the code point length?
Could you give us a use case for that?
Your implementation looks good so feel free to do it if you can give us a use case.
Btw, I will wrap the release soon so we would need this change sooner rather than later :).
Thanks!

For example, there is the case that normalizes "が"(one character) and "か゛"(two characters) of Hiragana and persists a normalized value to the database or external system. In such a case, we need to validate a normalized value.

@kazuki43zoo OK so it looks like it's something useful!
Please proceed, it looks like a nice addition to what you already did.

@gsmet @gunnarmorling
I've added the normalization option and updated the document.
Should I squash to one commit?

@kazuki43zoo I'll review, squash it and merge it, thanks!

@kazuki43zoo I squashed everything, amended your commit to fix very minor formatting/wording issues here and there and merged.
Great contribution! Thanks a lot for that.


Have BOM list ?

What part F1 and F2 ?
thankyou

https://www.espressif.com/sites/default/files/documentation/esp32-c3_hardware_design_guidelines_en.pdf
page 11: section 2.5 RF hardware design notes - "add a pi matching network for antenna matching, preferably CLC network." Parts tbd based on actual pcb.

Tradeoff between device size and fully matchable antenna. So it's not a complete pi network but nevertheless seems to work fine for this four layer board with its dimensions.
BOM is added.


Download audio directly without conversion

Sometimes when you don't specify audio format or quality it downloads audio directly, is it possible to determine beforehand whether it can just download the audio directly without the need to convert?

In general you can't known that until formats are extracted and there are some audioonly ones.


Error in jusuf Slurm config

I couldn't try it because I don't have access to Jusuf. But I'm fairly certain that there is an error in it. You specified the CPUs per task twice: Once with -c, once with --cpus-per-task.
https://github.com/psteinb/sota_on_uncertainties/blob/ddd513b2aea18b7ad5bf031e8ec15ef924a2a401/config/slurm/jusuf/config.yaml#L2
Also, the ngpu setting is not used in the cluster string.

thanks for spotting this. slurm didn't throw an error.
Fixed with 84f9668


Get models out of grid and back to jupyter notebook.

The grid will train models in tree mode, and will publish models to IPFS, but there is not currently any good way for a data scientist to pull models back out from the grid and use them.
One idea might look like this
c = Client()
models = c.get_best_models_for('mnist')

# models is a list of keras.Sequential (or w/e the best architecture was
models.predict(input)

Please share your ideas on a good flow for this.

I think Client.fit should return everything you need.  I think we want it to return a message of type transact with the address of the best model at model_addr, so then all you'd need to do is call best_model, _ = Client.receive_model(model_addr) to receive the model you want, and then you'd use it like any other Keras model.
We should also eventually have a log of all the different models from training, so that if the user prefers a different model from the training process, they can extract the IPFS address from a log and call receive_model on it, e.g. if they suspect it to perform better for some reason.


picking feature issue: glScissor: width < 0

This occasionally occurs during the program initialization stage. The last line (192 messages) was triggered by mouse-moving on the map.

I was working on the tagmap example, but it occurred even though I disabled my code. Seems to be relevant to the picking feature in deck.gl.

@rivulet-zhang This should have been fixed by https://github.com/uber/deck.gl/pull/756
Try install the latest beta.

Hi @Pessimistress both beta.2 and beta.4 still have this issue. Here is the line of code that generates the negative width value in draw-and-pick.js:
const width = Math.min(pickingFBO.width, deviceX + deviceRadius) - x + 1;
When it occurs, I saw that the picking frame buffer (pickingFBO) had the size of 1000 (the default setting?) while the mouse position (deviceX) was outside the box. It looks like the frame buffer was not resized correctly.

1000 is the default canvas size. Sounds like the canvas and picking framebuffer sizes are out of sync.
Can you try change componentDidMount to componentWillMount in app.js and see if the problem goes away?

That fixed the issue. Thanks!


⚠ Bofrost.de has degraded performance

In 233c2ef, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1748 ms

Resolved: Bofrost.de performance has improved in ba5342c after 6 minutes.


avoid -lm with Intel compiler

Original issue: https://charm.cs.illinois.edu/redmine/issues/1165

It is advised to not explicitly link to -lm with the Intel compiler as this may override the faster Intel math library.  Currently charmc automatically adds -lm to the end of every link line.  This should be moved to the compiler-specific files so that it can be included for gcc (where it is needed) but not for Intel (where it is not).

Original date: 2017-08-28 21:27:20

With some changes from a Charmworks intern, Ani, coming down the pike, this gets much easier to accommodate - we'll have all of the gcc-using builds described by a common cc-gcc.sh, and the same for others.

Original date: 2018-01-03 21:59:31

https://charm.cs.illinois.edu/gerrit/3477 is the first half of a fix for this, removing -lm from link line. However, the patch was validated by testing in this state. What is a case where the build should fail without -lm and with a compiler other than Intel's?

Original date: 2018-01-04 04:14:55

You would need to link something that calls a math function in libm such as sin, cos, etc.

Original date: 2018-01-04 20:49:00

Doing a little experimenting, I only see the link error for gcc on a C file, not for g++ on a C++ file:
jim`tulsa$cat foo.c

#include <math.h>

int main(int argc, char **argv) {

  double a;
  a = sin(argc);
  return (int)a;

}

jim`tulsa$diff foo.c foo.C
jim`tulsa$gcc foo.c
/tmp/cc6J8Dby.o: In function `main':
foo.c:(.text+0x15): undefined reference to `sin'
collect2: error: ld returned 1 exit status
jim`tulsa$gcc foo.c -lm
jim`tulsa$g++ foo.C
jim`tulsa$g++ foo.C -lm

Original date: 2018-01-12 22:33:24

Jim Phillips wrote:

Doing a little experimenting, I only see the link error for gcc on a C file, not for g++ on a C++ file:

Confirmed. Trying the same test with ICC, the build succeeds with or without -lm. More interestingly, the resulting binaries are identical.
$ icc -v
icc version 18.0.0 (gcc version 4.9.4 compatibility)
$ icc foo.c -lm -o foo_lm
$ icc foo.c -o foo
$ cmp foo foo_lm
$ echo $?
0
$ ldd foo
	linux-vdso.so.1 =>  (0x00002af75fb12000)
	libm.so.6 => /lib64/libm.so.6 (0x00002af75fd15000)
	libgcc_s.so.1 => /usr/local/gcc/gcc-4.9.4/lib64/libgcc_s.so.1 (0x00002af75ff99000)
	libc.so.6 => /lib64/libc.so.6 (0x00002af7601b1000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00002af760545000)
	/lib64/ld-linux-x86-64.so.2 (0x00002af75faf2000)

This is on iForge (the only access I have to ICC) and I have not found a way to completely remove gcc from $PATH. I have no idea if that makes a difference here.
Is there anything else that could be affecting my result?

Original date: 2018-12-19 19:05:19

This may have been old advice.  Intel's meager docs say to use mathifm.h and even then I need -limf to get any Intel libraries to show up in ldd.
Go ahead and drop this.

Original date: 2018-12-19 19:50:22

Does the presence of -lm on the command line interfere with -limf? If not, I'll drop this issue and the patch I started.

Original date: 2018-12-19 22:55:16

It's really hard to tell.  Does the -lm get inserted before or after the user-provided libraries?  Assuming first-match if the -lm comes last it shouldn't matter.  How can you tell which version was linked?

Original date: 2018-12-20 00:30:39

First-match of libraries on the link line is my understanding.
I think the math library in use can be determined by which comes first in the output of ldd, and it definitely can by breaking on a math function in GDB.
-lm first:
$ gcc foo.c -g -L/usr/local/intel-2018-U3/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lm -limf
$ ldd ./a.out
	linux-vdso.so.1 =>  (0x00007ffd4bbfc000)
	libm.so.6 => /lib64/libm.so.6 (0x00002b7f792e7000)
	libimf.so => /usr/local/intel-2018-U3/lib/intel64/libimf.so (0x00002b7f7956b000)
	libc.so.6 => /lib64/libc.so.6 (0x00002b7f79aff000)
	libintlc.so.5 => /usr/local/intel-2018-U3/lib/intel64/libintlc.so.5 (0x00002b7f79e93000)
	/lib64/ld-linux-x86-64.so.2 (0x000055601fbe2000)
$ gdb ./a.out
GNU gdb (GDB) 7.12
...
Reading symbols from ./a.out...done.
(gdb) b sin
Breakpoint 1 at 0x4005c0
(gdb) r
Starting program: ./a.out

Breakpoint 1, 0x00002aaaaacea750 in sin () from /lib64/libm.so.6

-limf first:
$ gcc foo.c -g -L/usr/local/intel-2018-U3/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -limf -lm
$ ldd ./a.out
	linux-vdso.so.1 =>  (0x00007ffe391d2000)
	libimf.so => /usr/local/intel-2018-U3/lib/intel64/libimf.so (0x00002b38b5778000)
	libm.so.6 => /lib64/libm.so.6 (0x00002b38b5d34000)
	libc.so.6 => /lib64/libc.so.6 (0x00002b38b5fb9000)
	libintlc.so.5 => /usr/local/intel-2018-U3/lib/intel64/libintlc.so.5 (0x00002b38b634d000)
	/lib64/ld-linux-x86-64.so.2 (0x000056493c161000)
$ gdb ./a.out
GNU gdb (GDB) 7.12
...
Reading symbols from ./a.out...done.
(gdb) b sin
Breakpoint 1 at 0x4005a0
(gdb) r
Starting program: ./a.out

Breakpoint 1, 0x00002aaaaaceed80 in sin () from /usr/local/intel-2018-U3/lib/intel64/libimf.so

It looks like libraries manually specified to charmc are added to the link line before -lm, so it should work. Marking this resolved.


Large amount of data being sent back for FrequencyLayout

in chrM, whole chromosome, 150 MB of data being pulled to frontend

Fixed #149


Generate QC report showing segmentation results for all participants

This will have to be generated a posteriori using the manual segs.

segs are sent to users, which fixes this issue


add node <IP_ADDRESS>:8197

new node <IP_ADDRESS>:8197

adding my node http://<IP_ADDRESS>:8197

we will add your node in the next commit.


SecurityTemplate - " Task  did   not   complete   successfully "

Apologies about the syntax below. But I am trying out the dsc resource SecurityTemplate. I am presuming from that I can supply an inf file and it will apply that to the computer.
So that is what I did and I get  an error in the logs saying that task did not complete successfully. (full details below).
I have looked at the inf file and I can see the entry in the inf file and it looks like this:
SeDenyInteractiveLogonRight = *S-1-5-32-546
Is this the correct syntax?  Any help  would be appreciated.
[code]
{ " time " :   " 2019 - 08 - 26T17 : 52 : 50 . 763 + 12 :00 " ,   " type " :   " verbose " ,   " message " :   " [ WIN-TFOSCLO6JKV] :
[ [ Security Template ] Direct Resource Access ]   Policy :   SeDeny Interactive LogonRight   not   in   a   desired   state . " } ,
{ " t i m e " :   " 2019 - 08 - 26T17 : 52 : 50 . 763 + 12:00 " ,   " type " :   " error " ,   " message " :   " T ask   did   not   complete   successfully " } ,
 { " time " :   " 2019 - 08 - 26T17 : 52:50.779 + 12:00 " ,   " type " :   " verbose " ,   " message " :   " [ WIN-TFOSCLO6JKV ] :   LCM :     [   End         Set
         ]     [ [ Security Template ] Direct Resource Access ]     in   0.6410   seconds . " }

[/code]

I noticed that this is a privilege access section of the security policy. Is this something to do with it?


docs: how to use kube-ovn with kubevirt

https://excessive-continent-c42.notion.site/Kube-OVN-KubeVirt-c9f151a8948c49af8e90d408e973ba7f


[Suggestion] Reset counter

It would be nice if the counter had an option to input a redstone signal on the side of the counter to reset the counted value inside, setting it back to 0.

Good idea


Captcha for the CNPJ

Is it illegal to break the captcha on Receita's website? If it is not maybe I can share a project that I did using scikit-learn.

@jaysonsantos I guess not. Well, at least it is not a big deal, since many Brazilian companies sell it as service/product. Do you have annotated data for that?

@montenegrodr drop me an email and i can share what I have with you and maybe you can use it.

@jaysonsantos montenegrodr at GMAIL

According to the 8.777 / 2016 decree the Ministry of Finance must open the CNPJ data up until november 11th http://www.planalto.gov.br/ccivil_03/_Ato2015-2018/2016/Decreto/D8777.htm

Hi all, i've published the code here https://github.com/jaysonsantos/captcha-breaker

That is a high value dataset that unfortunately isn't open yet in Brazil.
At least there are some other sources for company data. Incomplete, but still could be useful.
OpenLEIs has 1047 Brazilian companies. Companies that trade assets publicly abroad (such as the NYSE) are legally required to register for a LEI, which is an international legal entity identifier. This dataset is already open.
The voluntary federal fund transfer system (Siconv) has a daily updated open data API with some 43962 legal entities. These are mostly city council public bodies and non-profits civil society organizations. However, it might be useful to include those in the database to detect possible cases where a politician might use an NGO's legal entity to be reimbursed for a fictional expense.
The federal government's procurement system also has an open data API. If a company has done business with the federal government or has registered itself to be able to participate in procurement at some point in its life, it is on the supplier registry (SICAF). Unfortunately, the API's data has not been updated since 2015, however, its registry of 333977 legal entities ought to be useful.

@caduvieira do we have any update on the status of the Decreto 8.777, will the Receita release such information?

Not yet. I open a LAI request but I don't have a response yet.

Based on the conversations I had at CGU this week, Federal Revenue is probably far from publicly sharing their databases (regardless the existence of this decree). We can and should open a official request, but start discussing alternatives is already welcome.
@caduvieira Can you post the request number so we can follow the progress with you?

The request was already denied. I asked for a review and I am waiting for a response. They claimed that they don't have the technology to open the data.
https://esic.cgu.gov.br/sistema/Pedido/DetalhePedido.aspx?id=UX6bMBnVD30=
ESIC Report

Meanwhile we could use the https://www.receitaws.com.br/ for check data

Meanwhile we could use the https://www.receitaws.com.br/ for check data

That's what we're doing ; )

Closing this: ReceitaWS is already in use and recently started to offer data that was missing (partners list).


Edit "Enable HVCI using Intune" section

Description
It changes the Intune configuration section of this article from pointing to Applocker CSP to point to Policy CSP - Virtualization Based Technology.
Why
Whilst reading through documentation and trying to find the location to configure HVCI in Intune I came across this article and also the Policy CSP one. I think the reference to VirtualizationBasedTechnology I am making is more accurate than the Applocker CSP.
Changes
From this:
"Enabling in Intune requires using the Code Integrity node in the AppLocker CSP."
To this:
"Enabling HVCI via Intune requires configuring the Policy CSP - VirtualizationBasedTechnology."

@vinaypamnani-msft can you add @rotruxal to review instead. He owns HVCI

This was changed in another PR, closing this PR.


[DOC] More details in README

Closes #

Changes proposed in this pull request:

Testing making changes from a branch on the fork of the repo

Checklist
This section is for the PR reviewer

[ ] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[ ] PR links to GitHub issue with mention Closes #XXXX
[ ] Tests pass
[ ] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

now we only need to wait for the bot to come pick this up and put it in the board


[Oracle] via UI columns creating problems

DBeaver 7.3.5
Oracle 12
Steps:

Open existing Oracle table or create new one
Create column via UI. Choose data type from the drop-down list and do not change anything after
Try to save result

This type of data type of Oracle Columns generate incorrect alter statement:
BFILE
CFILE
CONTENT POINTER
DECIMAL
INTERVALs
LONG
LONG RAW
OID
OCTET

https://docs.oracle.com/database/121/SUTIL/GUID-169DE9FB-36A5-4087-9857-7F03DCF8D3C6.htm INTERVAL case

Now BFILE, CFILE, CONTENT POINTER, LONG, LONG RAW,OCTET - do not have parameters on creation by default.
OID - is special case, I did not change anything.
DECIMAL - scale+precision bounds check added.
INTERVALs - alter statement fixed.

CFILE:
ALTER/Create

CONTENT POINTER
CREATE TABLE HR.NEWTABLE1 (
COLUMN1 CONTENT POINTER
);

ALTER

OCTET
ALTER/CREATE

CFILE, CONTENT PROVIDER AND OCTET are predefined Oracle data types ("SELECT * FROM ALL_TYPES"), but I can't find any documentation about them. So let them go further.

verified


#243 Avoid warnings showing up ildcp-core and jackson-datatypes

Signed-off-by: Sudheesh Singanamalla<EMAIL_ADDRESS>

Strange ... This builds cleanly for me
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hyperledger Quilt Parent 0.19-SNAPSHOT:
[INFO]
[INFO] Hyperledger Quilt Parent ........................... SUCCESS [  2.493 s]
[INFO] Quilt :: IL-DCP Core ............................... SUCCESS [ 21.207 s]
[INFO] Quilt :: Codecs :: Parent .......................... SUCCESS [  0.107 s]
[INFO] Quilt :: Codecs :: Framework ....................... SUCCESS [ 10.155 s]
[INFO] Quilt :: BTP Core .................................. SUCCESS [  8.437 s]
[INFO] Quilt :: IL-DCP Core ............................... SUCCESS [  8.803 s]
[INFO] Quilt :: Link Parent ............................... SUCCESS [  0.065 s]
[INFO] Quilt :: Link :: Core .............................. SUCCESS [  9.896 s]
[INFO] Quilt :: Link :: ILP-over-HTTP ..................... SUCCESS [ 10.985 s]
[INFO] Quilt :: Codecs :: BTP ............................. SUCCESS [  7.532 s]
[INFO] Quilt :: Codecs :: ILP ............................. SUCCESS [  7.461 s]
[INFO] Quilt :: Codecs :: IL-DCP .......................... SUCCESS [  7.169 s]
[INFO] Quilt :: STREAM :: Parent .......................... SUCCESS [  0.057 s]
[INFO] Quilt :: STREAM :: Core ............................ SUCCESS [ 10.528 s]
[INFO] Quilt :: Codecs :: STREAM .......................... SUCCESS [  9.640 s]
[INFO] Quilt :: Jackson Datatypes ......................... SUCCESS [  8.361 s]
[INFO] Quilt :: SPSP :: Parent ............................ SUCCESS [  0.068 s]
[INFO] Quilt :: SPSP :: Core .............................. SUCCESS [  8.412 s]
[INFO] Quilt :: SPSP :: Client ............................ SUCCESS [ 10.443 s]
[INFO] Quilt :: STREAM :: Client .......................... SUCCESS [ 36.128 s]
[INFO] Quilt :: STREAM :: Server .......................... SUCCESS [ 15.419 s]
[INFO] Quilt :: Examples :: Parent ........................ SUCCESS [  0.052 s]
[INFO] Quilt :: Examples :: Send Money .................... SUCCESS [  0.822 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Amending the commit and pushing it again to re-trigger the CI

Strange ... This builds cleanly for me

I'm confused by your comment. Were you expecting the build to fail?

Strange ... This builds cleanly for me

I'm confused by your comment. Were you expecting the build to fail?

Yes, the previous commit circle CI build had failed.


add ut

UT: C++20 μ(micro)/Unit Testing Framework.
I don't how to deal with header only modules package.

UT: C++20 μ(micro)/Unit Testing Framework.
I don't how to deal with header only modules package.

还得再来个 patch 改下，这个包名来通用了，容易冲突，改成 boost_ut


[BUG] ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package

v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/autoscaler.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/autoscaler.py", line 2, in <module>
    from swarms.swarms.autoscaler import AutoScaler, Worker
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package
v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/autoscaler.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/autoscaler.py", line 2, in <module>
    from swarms.autoscaler import AutoScaler, Worker
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package
v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/dialogue_simulator.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/dialogue_simulator.py", line 2, in <module>
    from swarms.swarms.dialogue_simulator import DialogueSimulator, Worker
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package
v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/godmode.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/godmode.py", line 2, in <module>
    from swarms.swarms.god_mode import GodMode, LLM
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package
v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/groupchat.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/groupchat.py", line 3, in <module>
    from swarms.models import OpenAIChat
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package
v@v-System-Product-Name:~/swarms$ /bin/python3 /home/v/swarms/tests/swarms/multi_agent_collab.py
Traceback (most recent call last):
  File "/home/v/swarms/tests/swarms/multi_agent_collab.py", line 2, in <module>
    from swarms.swarms.multi_agent_collab import (
  File "/home/v/swarms/tests/swarms/swarms.py", line 4, in <module>
    from swarms.swarms.swarms import (
ModuleNotFoundError: No module named 'swarms.swarms'; 'swarms' is not a package``

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@vyomakesh09 this has been fixed, run the tests again


Property aliases

Is your feature request related to a problem? Please describe.
Sometimes you need to have an ability to create mapping between Form properties and keys from request.
For example, you want to map _id  JSON attribute into id property of ExampleForm.
{
    "_id": 15
}

class ExampleForm(Form):
     id = fields.IntegerField()

Describe the solution you'd like
Introduce mapping property in Form object using Meta class.
class ExampleForm(Form):
    class Meta:
        # source:destination
        mapping = {
            '_id': 'id'
        }

     id = fields.IntegerField()

Hye, I am new to open source but have experience working in django as you can see in my profile and want to contribute to this issue for hacktoberfest.
So, can you assign this issue to me?

Hi @DireWolf707,
sure feel free to solve this issue. Please keep in mind to use the Meta class as described. If you will have any questions feel free to ask.

No luck :(
Sry for not informing


Integration with the brig CLI

Let me start by saying this is a tool that I use daily with Brigade, and it has made my life much easier - thanks!
And because lots of people use this together with the brig CLI, it means it is required for them to install two separate tools - not an ideal user experience, in my opinion - would it make sense to have an integration between brig and brigadeterm - something along the lines of brig term?
Ideally, we would vendor this package and replicate the functionality of Brigadeterm.
What do you think?
Also, are there any obvious blockers to doing this?
Thanks!
cc @technosophos

That is great!
I'll open an issue in the Brigade repo to track this.
As to migrating to a more official org, we started migrating various things to https://github.com/brigadecore, with the intention to move everything there, and we
re currently making sure we have everything setup there CI, CLA bot, etc.).


improve type signature of NonEmptyArray.make

I personally find this signature better.

cherry-picked and rebased in main


Add name to README.md

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Reopen pull request


docs: correct sacrebleu ref

Signed-off-by: Ryan Russell<EMAIL_ADDRESS>What does this PR do?
sacreblue -> sacrebleu
Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Illegal Start of Expression

Hello, I am not really sure why I got this error when i submitted my java files to codecrunch because I wrote package cs2030.simulator in previous versions of my files in the past and it did manage to pass a few test cases for the first few levels of the project

I also have this issue, so I resubmitted levels 1-3 and it passed the test case. But the moment I upload Simulate4.java, I will get this illegal start of expression package cs2030.simulator. Then I went to experiment with it by making my Simulate4.java returns a random String "hehe", and uploading it to code crunch. The code crunch didn't catch the illegal start of expression error but of course, my output is wrong ah. I still have no idea how to resolve this issue but at least these are so far what I have tried and hopefully, someone can find out the root cause or come out with a workaround.

Could be a system error

Codecrunch has some issues today. Prof Henry has emailed their end and they should be rectifying.

Could be a system error as what the rest mentioned can you confirm it is working now?


External standard subsystem for each reaction to make it comparable from different GEMs

Here, I have an issue in model comparison. It is that the subsystem of one rxn from different models are different. I think for standard-GEM, the subsystem should be compared. Currently, the GEMs from modelSeed have a series of standard subsystem, which make it easy for the model life.

@hongzhonglu It does make sense to standardize subsystems and make them comparable across GEMs.
The majority subsystems of available GEMs were adapted from the names of KEGG pathways. How similar between the modelSeed subsystems and KEGG pathways?

While some standardization of this could indeed be useful, I would argue that this is outside of the scope of standard-GEM. People will have arguments to use different ways of naming subSystems, and most likely none of these naming systems will be satisfactory to all. Instead, one can annotate reactions to e.g. KEGG pathways (should be added to COBRAToolbox similar as https://github.com/opencobra/cobratoolbox/pull/1591), are modelSeed subsystems also in identifiers.org?
We are also not instructing what reaction identifiers to use. Allowing flexibility in standard-GEM (unless there are clear standards, like identifiers.org annotations) is part of its appeal.

I agree with @edkerk - the focus of standard-GEM at the moment essentially stops at the file tree of a repository. There have been many approaches targeting standardization of specific file formats, and the content of the respective files. Maybe this is a place where standard-GEM could contribute at some point in the far future.
Subsystem comparison sounds like a nice tool for a website. @hongzhonglu I hope you don't mind that we borrow this idea for the roadmap of Metabolic Atlas. Such feature requests are very appreciated over at the Met Atlas repository.

the focus of standard-GEM at the moment essentially stops at the file tree of a repository.

This is something missing before, and should be moved to somewhere more obvious (README or issue template) for contributors.

The issue template is "locked" because whatever issue template is defined on the main branch is used both for the creation of new issues, and also passed on to people who Use this template to set up their own repository. Similarly, README.md is set up for templating purposes.
Even though this specific issue is something we cannot focus on at the moment, I still think it's valuable to have an open discussion. Therefore I would propose to not "exclude" such issues, or close them, but to keep them in the Backlog.
@Hao-Chalmers how about creating a new issue that described the current focus of standard-GEM, and pin it at the top of the Issues page?

how about creating a new issue that described the current focus of standard-GEM, and pin it at the top of the Issues page?

Great idea

@hongzhonglu I wonder if you have any ideas or plan for standardizing subsystems, are you suggesting to adopt the way modelSeed?

Hi Hao, not sure whether modelSeed is used. It is better to also use KEGG, metacyc?

To answer @hongzhonglu's original question, let me take one step back and describe how the subsystem information has been stored in SBML before proposing a more structured way of dealing with them.
Originally, subsystem information was written into the reaction's notes, resulting in the redundant mentioning of the same subsystem in every reaction belonging to that subsystem. The new release of the BiGG Models database in 2015 introduced a new approach to redefining the use of subsystems in SBML. BiGG then used the groups extension from SBML to declare a group of reactions for every subsystem. Those groups contain members, each of which points to a reaction within that subsystem. With this approach, each subsystem was only specified once, and at the same time, one reaction could now belong to multiple subsystems.
As an additional advantage, we can annotate every group that represents such a subsystem. This means that we can add references in the form of controlled vocabulary terms to the subsystems and refer to KEGG and diverse other pathway databases. With this, it is possible to identify canonical pathways or subsystems across multiple models.
Furthermore, the idea of separating annotations from models (see https://doi.org/10.1093/bib/bby087) allows us to even store subsystem annotations in an external glossary file. Maybe those techniques can be helpful to solve such problems and to make models more comparable. Let's suggest using SBML groups and annotate them, possibly in separate glossary files.

@draeger sounds a great idea by separating annotations of models in separate glossary files.


MultiLine not working

On a Material-UI TextField I am adding a react-text-mask to restrict the characters that can be entered. I am using multiline set to true but after adding the inputComponent to the TextField it goes down to a single line and pressing enter does not allow the field to go to another line.
I have added \n to the mask but this still doesn't allow the field to expand to another line

Having the same problem here. Did you find a workaround?


conchord:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

I have read and followed the submission guidelines and, in particular, I

[x] selected a name in conformance with the guidelines
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] ensured that my submission does not infringe upon the rights of a third party
[x] tested my package locally on my system and it worked
[x] named this PR as name:version of the submitted package
[x] agree that my package will not be removed without good reason

Description: Package to write lyrics with chords and generate colorful fretboard diagram (aka chord diagram). Its purpose is basically the same as chordx, but there are several major differences and additional features. The main feature&constraint is much easier diagram drawing at cost of less flexibility in some "extreme" cases.
The bried comparison to chordx may be seen there (included in README):

Imports are ommited there, but they are given at start of README

I considered contributing to chordx first, but after some investigation I decided that it would be easier to create my own package. I know it is not that good for the ecosystem to have several packages for generally the same task, but to my vision, conchord should be used for some trivial song typing, requiring minimum effort both at learning and typing. With provided examples, such writing should be really easy and comfortable. While chordx is about more tuning&complexity, used for things like "instrument playing manuals" with fingers and manually placed barres.
Repo: https://github.com/sitandr/conchord
I've put some effort into README and examples, hope they are useful! There is also a more thorough comparison with chordx and almost full list of features. :)

Thanks for the submission!


Consistently use OpenRewrite nullness annotations

If IDEA hasn't been configured appropriately, sometimes the JetBrains nullness annotations slip in.

Figured look through the SaaS if there's any others: https://public.moderne.io/results/EuFT6
I'll commit the other ones quickly, but feel free to explore for other such quick fixes as well.

https://github.com/openrewrite/rewrite-spring/commit/fd58f74e234cb04bd2244949faec03b40d48be3f
https://github.com/openrewrite/rewrite-testing-frameworks/commit/bfa9228ed0456e4ecff1e6abaea0411a234c6e49
And a couple internal ones as well; Good catch!

For this I will try to set up an ArchUnit rule.

@timtebeek See #2836.


Add rule for cpu usage

Implements #271
WIP Do not merge

So this PR implements the cpu-usage-rule however it doesn't actually change the governor, this is because I don't want to mess around with the weird overlapping rules situation going on when it's going to be refactored in #298. I think we should merge this now (since it doesn't break anything) then I can avoid merge issues in the future. @JakeRoggenbuck does that make sense?


Update version: Aserto.Topaz version 0.31.10

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Hi @gertd,
Do you approve of these changes?
(Automated response - build 876.)

No, this is a bot that does not represent our company or product.


Rewrite

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6e82279). Click here to learn what that means.

@@           Coverage Diff           @@
##             master    #37   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      4
  Lines             ?    156
  Branches          ?      0
=======================================
  Hits              ?    156
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/cli.js
100% <100%> (ø)

src/utils.js
100% <100%> (ø)

src/slack.api.js
100% <100%> (ø)

src/main.js
100% <100%> (ø)

Continue to review full report at Codecov.

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


Cleanup multi-line comment style

Match the rule here:
https://github.com/airbnb/javascript#comments--multiline

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-59


Implement validator aggregator selection changes for DVT

Link to detailed description
In short, when configured as part of a DVT (distributed validator technology) cluster, validators are unable to work out directly whether they are to perform attestation (or sync committee) aggregation duty for a committee. This is because they do not have access to the entire signing key needed to generate the signature used for aggregator selection.
To support this, some changes to the validator client are needed. At high-level (see the doc for details),

Configure the validator client to know that it is part of a DVT cluster. I have a slight preference for the manual method (--distributed flag on the VC) rather than automatic detection, but happy to discuss.
If distributed mode is active, then modify the control flow after attesting in order to consult the beacon node about whether the validator is an aggregator or not, after supplying a partial signature. Also modify the control flow for sync committee aggregation duty.

These changes use new standard beacon APIs and should be generic across DVT solutions. (This is why I prefer manual configuration via a flag - automatic detection might be solution-specific or fragile.)

It sounds like the latest DVT solution won't be requiring beacon-api changes, so these suggested changes are going to be fairly specific to this implementation - worth taking into consideration while prioritising...
https://github.com/ethereum/distributed-validator-specs
emerging spec...

That spec is looking quite old right now, and doesn't deal with aggregators at all afaics (which might be a blind-spot). We should get some clarity on what the current state of play is. There are only two major implementers of DVT that I'm aware of at the moment, so anything we implement is inevitably going to be fairly application specific. Would definitely prefer to be adhering to whatever "standard" emerges, though.

Completely agree with your comment @benjaminion . As a side note, this solution might look like application-specific but is not since it is applicable for any DVT middleware solution. Also, other teams like lodestar and nimbus are already implementing this solution and we will probably start testing them from Q2. At Obol, teku is the most supported client for as of now and we use teku for almost all of our integration tests. So, it would be great to have these aggregator changes implemented at the earliest so that we can test them out. This would make teku a "fully DVT-compatible" client.
Not sure about the dv-specs since it's outdated and on the other hand, 1000+ obol DV clusters are running obol's DV middleware client on goerli now alongwith 5 clusters on mainnet.

Is there any update on this?

As discussed with @Paul Harris on Discord understanding 1) the spec is not complete, 2) some are testing on mainnet with Obol and 3) it's a small change, please could I request that this is included and put behind a feature toggle.

Currently implementing a MVP of this feature.


HI3518EV200 with JXH62 Invalid Exposure

Required information

Camera board id: HI3518EV200
OpenIPC version: <IP_ADDRESS>
Commit: f5c5bad9
Branch: master
Tag: 2023-06-30?
installation method: manual according to site instructions
modified majestic.yaml: no

Issue description
Video feed not working, possibly due to exposure issues?
00:45:29  <     iq_monitor> [     sdk] monitor_thread@363            Query exposure info
00:45:29  <     iq_monitor> [     sdk] monitor_thread@363            Unknown error code A01C8046

Expectations
Video feed works
Steps to reproduce

Start majestic
Try to connect to any video feed

Information to attach
ezviz C3W camera, can also provide OEM firmware dump if needed
Logs
kmsg.log
majestic.log

I'm not sure if this is helpful at all, but I've extracted the OEM firmware a bit and there's a gamma_table.tar.gz.
Does gamma = exposure?  I've attached the file if it is helpful.

We don't have such combination of SoC and sensor in our lab, please provide your hardware for tests


Add support for Concurrency Scaling and Spectrum usage limits

I might be missing something in the docs but it appears usage limit for Concurrency Scaling and Spectrum is not yet supported in Terraform ?
This feature has been announced few months ago : https://aws.amazon.com/about-aws/whats-new/2020/04/announcing-cost-controls-for-amazon-redshift-spectrum-and-concurrency-scaling/

Please see the linked issue in the upstream AWS provider - once this is implemented we can add it here
Please do head over to the issue and add a 👍🏽 to the ticket so that it gets prioritized https://github.com/hashicorp/terraform-provider-aws/issues/20584

bad bot


data cleaning with staticmethod

Hi,
I was reading the docs, specifically the data cleaning part, and wondering whether I should define the clean_* methods ad static or regular, because it's done in both ways.
Thanks in advance

Hi @alenucci :
Which way is up to you, if you need to rely on self.method or self.attr, suggest using the regular


Deploying resources using New-TestResources fails

> Login-AzAccount -Subscription faa080af-c1d8-40ad-9cce-e1a450ca5b57

> .\eng\common\TestResources\New-TestResources.ps1 keyvault -BaseName pakrymkv

8:50:27 AM - Detected .NET repository. Defaulting OutFile to true. Test environment settings would be stored into the file so you don't need to set environment variables manually.
8:50:27 AM - Using subscription 'Azure SDK Developer Playground (faa080af-c1d8-40ad-9cce-e1a450ca5b57)'
8:50:27 AM - TestApplicationId was not specified; creating a new service principal in subscription 'faa080af-c1d8-40ad-9cce-e1a450ca5b57'
WARNING: Assigning role 'Owner' over scope '/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57' to the new service principal.
8:51:03 AM - Created service principal 'cee8a47f-ceac-489a-982f-47d8401b38b3'
8:51:03 AM - Logging into service principal 'cee8a47f-ceac-489a-982f-47d8401b38b3'.
WARNING: Logging into service principal may fail until the principal is fully propagated.
WARNING: Attempt 1 failed: Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: ClientSecretCredential authentication failed: AADSTS700016: Application with identifier 'cee8a47f-ceac-489a-982f-47d8401b38b3' was not found in the directory '72f988bf-86f1-41af-91ab-2d7cd011db47'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
Trace ID: 40e1e110-555f-44c1-b4ca-0383f5b00a00
Correlation ID: b9caa241-d26a-4d3a-8cc3-0691cf822862
Timestamp: 2021-04-07 15:51:03Z". Trying again in 10 seconds...
WARNING: The client '21660195-04fb-4cd8-8368-443da83ff71a' with object id '21660195-04fb-4cd8-8368-443da83ff71a' does not have authorization to perform action 'Microsoft.Resources/subscriptions/read' over scope '/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57' or the scope is invalid. If access was recently granted, please refresh your credentials.
WARNING: Attempt 2 failed: Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The provided account cee8a47f-ceac-489a-982f-47d8401b38b3 does not have access to subscription ID "faa080af-c1d8-40ad-9cce-e1a450ca5b57". Please try logging in with different credentials or a different subscription ID.". Trying again in 20 seconds...
WARNING: Attempt 3 failed: Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: ClientSecretCredential authentication failed: AADSTS700016: Application with identifier 'cee8a47f-ceac-489a-982f-47d8401b38b3' was not found in the directory '72f988bf-86f1-41af-91ab-2d7cd011db47'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
Trace ID: 40e1e110-555f-44c1-b4ca-038380b20a00
Correlation ID: 6da067ca-bc46-466d-bb68-8f45befa59ff
Timestamp: 2021-04-07 15:51:34Z". Trying again in 40 seconds...
WARNING: The client '21660195-04fb-4cd8-8368-443da83ff71a' with object id '21660195-04fb-4cd8-8368-443da83ff71a' does not have authorization to perform action 'Microsoft.Resources/subscriptions/read' over scope '/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57' or the scope is invalid. If access was recently granted, please refresh your credentials.
WARNING: Attempt 4 failed: Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The provided account cee8a47f-ceac-489a-982f-47d8401b38b3 does not have access to subscription ID "faa080af-c1d8-40ad-9cce-e1a450ca5b57". Please try logging in with different credentials or a different subscription ID.". Trying again in 80 seconds...
WARNING: The client '21660195-04fb-4cd8-8368-443da83ff71a' with object id '21660195-04fb-4cd8-8368-443da83ff71a' does not have authorization to perform action 'Microsoft.Resources/subscriptions/read' over scope '/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57' or the scope is invalid. If access was recently granted, please refresh your credentials.
Write-Error: D:\github\azure\net\eng\common\TestResources\New-TestResources.ps1:306
Line |
 306 |          $provisionerAccount = Retry {
     |                                ~~~~~~~
     | Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The provided
     | account cee8a47f-ceac-489a-982f-47d8401b38b3 does not have access to subscription ID "faa080af-c1d8-40ad-9cce-e1a450ca5b57". Please try logging in with different credentials or a
     | different subscription ID."

cc @heaths, can this be related to the recent changes?

I don't think so. The SP ID and subscription IDs match. I've been seeing this message since the beginning of this year, but it normally only prints 2 or 3 times. Perhaps we have too many SPs and it's slowing things down. Normally after the first or second retry, it works. Maybe we need to increase the timeout or making it geometrically increase like Az cmdlets do themselves, like New-AzResourceGroupDeployment (10s first retry, 20s, 40s, 80s, fail).

After checking in the portal my SP didn't have a role assignment:

Per offline discussion, this worked subsequently. The script has been working from me. If anything, the recent changes fixed an issue where the SP could go to the wrong sub (or at least the script attempted to in some cases, most prevalent on non-SDK users' machines).

@heaths are you saying this is resolved? or is this related to SP propagation delays (if so, is this different than that existing known issue?).

It usually is propagation delays. Not sure in Pavel's specific case, but when he tried it again after we checked his context, it works. This could probably be closed.


fix: updated alb ingress module to the latest version

what
Just update alb version module, I need it mostly because this target group name limit is killing
why
Sounds like a good idea to keep it up to date as well
references
No issue for this, it super simple update, I tested it on my setup so it should be fine, but will see when all tests passes

/terratest

/terratest


Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway'

I found this in my logs:
WARNING:vehicle:/vehicles/WVGZZZE2ZPP51XXXX: Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway', 'errorTimeStamp': '2024-08-31T15:19:13Z', 'info': 'Something went wrong. Please try to re-login. If the problem persists, please contact our support.', 'code': 4003, 'group': 3, 'retry': True}} in domain climatisation
Only wanted to report this - maybe something is broken on VW servers and this may be a new currently unsupported value
regards
Ulrich

Hi Ulrich,
I guess this is only available with newer firmware. I'm looking for someone who actually gets data from this endpoint

WARNING:vehicle:/vehicles/WVGZZZE2ZPP51XXXX: Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway', 'errorTimeStamp': '2024-08-31T15:19:13Z', 'info': 'Something went wrong. Please try to re-login. If the problem persists, please contact our support.', 'code': 4003, 'group': 3, 'retry': True}} in domain climatisation

I have the exact same thing as described above with ID.Buzz SW3.2

I am seeing this same error on both an ID.3 and ID.4
Thanks!

same here, get the following approx. every 60 seconds:
2024-09-22 15:44:46.797 WARNING (SyncWorker_49) [weconnect] /vehicles/WVWZZZE16RP006022/domains/charging/chargingStatus: Unknown attribute chargingScenario with value off
2024-09-22 15:44:46.801 WARNING (SyncWorker_49) [weconnect] /vehicles/WVWZZZE16RP006022: Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway', 'errorTimeStamp': '2024-09-22T13:44:45Z', 'info': 'Looks like your service has expired. Please update your service subscription.', 'code': 4104, 'group': 4, 'retry': False}} in domain climatisation

2024-09-22 15:45:45.381 WARNING (SyncWorker_20) [weconnect] /vehicles/WVWZZZE16RP006022/domains/charging/chargingStatus: Unknown attribute chargingScenario with value off
2024-09-22 15:45:45.387 WARNING (SyncWorker_20) [weconnect] /vehicles/WVWZZZE16RP006022: Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway', 'errorTimeStamp': '2024-09-22T13:45:43Z', 'info': 'Looks like your service has expired. Please update your service subscription.', 'code': 4104, 'group': 4, 'retry': False}} in domain climatisation

2024-09-22 15:46:35.738 WARNING (SyncWorker_52) [weconnect] /vehicles/WVWZZZE16RP006022/domains/charging/chargingStatus: Unknown attribute chargingScenario with value off
2024-09-22 15:46:35.744 WARNING (SyncWorker_52) [weconnect] /vehicles/WVWZZZE16RP006022: Unknown attribute climatisationTemperatureOutside with value {'error': {'message': 'Bad Gateway', 'errorTimeStamp': '2024-09-22T13:46:34Z', 'info': 'Looks like your service has expired. Please update your service subscription.', 'code': 4104, 'group': 4, 'retry': False}} in domain climatisation

Are you on the latest version already?

Are you on the latest version already?

yes, if it is 0.2.3, I should be:

Thanks!


MISSING DEP  Can not find dependency 'vite' on PNPM 7.29.x

Describe the bug
When

you only have vitest in the dependencies, and no vite
use PNPM

Running the tests

succeeds on PNPM 7.28
fails in PNPM 7.29 with MISSING DEP  Can not find dependency 'vite'

Reproduction
https://github.com/Hurtak/vitest-bug-repro
CI on 7.28 (OK) https://github.com/Hurtak/vitest-bug-repro/actions/runs/4413733229/jobs/7734553084
CI on 7.29 (FAIL) https://github.com/Hurtak/vitest-bug-repro/actions/runs/4413733229/jobs/7734552904
System Info
System:
    OS: Linux 5.15 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (2) x64 Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
    Memory: 5.92 GB / 6.78 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.19.1 - /opt/hostedtoolcache/node/16.19.1/x64/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.3 - /opt/hostedtoolcache/node/16.19.1/x64/bin/npm
  Browsers:
    Chrome: 110.0.5481.177
    Chromium: 110.0.5481.0
    Firefox: 110.0.1
  npmPackages:
    vitest: 0.29.2 => 0.29.2

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

It seems that dependencies vite for vitest should be move from "devDependencies" to "dependencies" ?

@fireairforce That should not matter since I am doing pnpm i and not pnpm i --prod. I tried it right now to move it into dependencies and the result is the same.

@fireairforce they seem to be in dependencies

ooo sorry for i misread the package.json file for vitest

Doesn't seem like this is a Vitest issue.


Use agent storage instead of indy

replace use of indy's did endpoint and meta APIs with new connection storage
replace use of indy's pairwise API with new connection storage

Approach has been moreless stupid: just replace the current functionality with minimal changes. We should probably consider at some point that do we need separate buckets for DIDs and connections or could we just cope only with connections.

It seems that using coverpkg-flag when measuring code coverage fixed the false positives with code coverage reporting.


How to import annotation?

I am wondering is there any way to import annotation to Quick annotator?

Yup, via scripting:
https://github.com/choosehappy/QuickAnnotator/blob/main/cli/import_annotations_cli.py


chore: bump versions

Updates the repo to use the latest version of the frameworks

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0255c54). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##             main      #7   +/-   ##
======================================
  Coverage        ?   0.00%
======================================
  Files           ?       1
  Lines           ?       1
  Branches        ?       0
======================================
  Hits            ?       0
  Misses          ?       1
  Partials        ?       0

Flag
Coverage Δ

unittests
0.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


how to use rqinfo in python code to check if worker is running?

I know we can do it from the terminal, does rqinfo expose any APIs  to use in python code to check if the worker is running

The code below from file grabs the states of the workers and can be found in the file/project line below.
https://github.com/nvie/rq-dashboard/blob/master/rq_dashboard/dashboard.py
def list_workers():
    def serialize_queue_names(worker):
        return [q.name for q in worker.queues]

    workers = [dict(name=worker.name, queues=serialize_queue_names(worker),
        state=worker.get_state()) for worker in Worker.all()]
    return dict(workers=workers)

It would be a handy feature to be able to call python manage.py rqinfo along with the other commands...


Mounting subdir of FS now possible(?)

The docs for man mount mention X-mount.subdir=/dir being an existing, though experimental, option that can be used, which might satisfy the second entry in the readme (although it seems to use a similar "namespace exercise" to achieve this judging by the description, so maybe not).
If it isn't a clean solution, it might be worth mentioning in the readme what it doesn't do cleanly enough to be fully useful.

yeah, the mount namespacing shenanigans have been possible for a longer time (and systemd-homed even uses that!). But the feature request is really about doing that without that.
I clarified this now in #22.


BaseComplexNDArray potential typo

i'm working to learn the code. it appears that line 1008 in BaseComplexNDArray.java should have an operation of type 'h' (reverse subtract) and not 't' (reverse divide) within the doColumnWise() method invokation. if that is not accurate, please feel free to slap me around as i become acquainted with the code.

ComplexNDArrays are not covered with tests at this moment, and have no native implementation :(


ReactList waiting for scroll event before rendering dynamic items

Hello!
First of all thank you very much for a such great plugin.
We noticed a little bug when we add items to react-list dynamically.
When we add batch of new elements react-list doesnt render new items until we scroll the page despite that half of the viewport is blank. You can test that behaviour here  https://codepen.io/razum-the-animator/pen/MWedNww
Press  "Load More" several times and then you'll see strange render behaviour

Double-check to see if your error still persists when you fix the off-by-one error in your loadMore function. (During the the first iteration of your for loop, i is still equal to last.)

Double-check to see if your error still persists when you fix the off-by-one error in your loadMore function. (During the the first iteration of your for loop, i is still equal to last.)

Howdy! Thanks for your note. And yep, even after fix this error still persists.

Howdy! Thanks for your note. And yep, even after fix this error still persists.

Isn't most of that whitespace on the bottom the 700px of padding you have on .wrapper?

Isn't most of that whitespace on the bottom the 700px of padding you have on .wrapper?

Sorry with the response delay. Here is a video that better describes the problem

Sorry with the response delay. Here is a video that better describes the problem


Code for StackedAutoEncoder is missing

Hi, thanks for publishing the code along with your paper. Just wanted to point out that the code for the "StackedAutoEncoder" called here: https://github.com/eelxpeng/CollaborativeVAE/blob/master/citeulike-t/test_dae.py#L27 is missing in the lib.
I'm sorry if I missed it while reading your paper, you pretrained using DAE in the case of citeulike-t instead of standard variational autoencoders as in case of citeulike-a?

@rootAvish Yes, you're right. I renamed some files when I released the code. Now it is fixed.

Cool, thanks for the clarification 🙂


Broken hyperlinking after  "Manage items you own"

Content after "Manage items you own" header is showing up as a single hyperlink.

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

ID: e0947245-d1c6-486a-94a1-f8622a4f7efc
Version Independent ID: c837d3a1-75f5-ffd4-a32a-541bab72ffa7
Content: Manage data storage in your workspaces - Power BI
Content Source: powerbi-docs/admin/service-admin-manage-your-data-storage-in-power-bi.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks, @milesgratz! This is assigned to the author and we'll get this updated quickly.

Thanks so much, @milesgratz ! The article is fixed now.


Thanks for the additional updates Jim.  Much better.  Thank you.


Feature request:  Ctrl+w to delete previous word

In vim, Ctrl+w deletes the previous word (like in windows ctrl+backspace or macos option+delete); could this be enabled (and then it would hopfully keep the browser tab from closing.

Because Logseq does not support cursor in block, so it's hard to operate word by word for now.


add boostrap method for boostraping a app with variants

Coverage increased (+0.05%) to 99.454% when pulling 59caa607de6e9b485c1d519d51a715f09f28f715 on lholmquist:application-bootstrapper into e23ecca68e5e6c5df4e53dff50bfaa5697136696 on bucharest-gold:master.


build stand-alone code and data for ENSO heat map

base off of https://github.com/Thomas-Moore-Creative/Climatology-generator-demo/blob/main/notebooks/archive_29042024/demo_sandbox.ipynb

Notebook here: https://github.com/Thomas-Moore-Creative/Climatology-generator-demo/blob/main/notebooks/heatmap_ENSO_i29.ipynb
Tabular data (.csv) here, including a list of BRAN2020 source files used:
https://github.com/Thomas-Moore-Creative/Climatology-generator-demo/tree/main/data/issue_29_tabular


env.onDidChangeShell API naming feedback

Testing #194028
Most probably it's too late for this but I did notice some inconsistencies where both "shell" and "profile" are being used:

The even is called "onDidChangeShell"
The field tied to the event is called "shell"
The command in VS Code that results in the event being fired is called "Select Default Profile"
There is already existing API to register a profile provider - registerTerminalProfileProvider

It would be nice if we would settle on one of them and use it consistently across the API surface

These are different concepts though; a profile is a combination of a name, executable, arguments, env, icon, etc. and a shell is just the executable.


Added errors to the available namespace when requiring 'levelup'.

This adds the errors to the available namespace so that it can be used from levelup.
var levelup = require('levelup');
var db = levelup('./somedata');

db.get('somekey', function(err, value) {
  if (err instanceof levelup.errors.NotFoundError) {
    return db.put('somekey', 'somedata', function (err) {
      if (err) {
        throw err;
      }
    });
  } else if (err) {
    throw err;
  }
});

:+1:

For NotFoundError you can do
if (err.notFound) {
  ...
}

lgtm, needs docs as well, and maybe a blog post?

sure, may as well put this in the v1.0 bucket

@braydonf Mind rebasing this onto latest master?

Rebased

+1 on this. Seems like a candidate for its own module but this isn't a bad stepping stone

@jcrugzz Aye. We'll get there :)

@braydonf Thanks!


Add spawn_liquid

@zappatic @Dregu @gmjosack I am very very unsure about the Lua interface I created for the spawn stuff. In particular the set_pre_entity_spawn lets you replace spawns which is very flexible. But that also means that users who use spawn_entity might get back an entity that they didn't ask for which can break the script easily. In addition, replacing some vanilla spawns just straight up breaks the game, for example replacing pets means the game interprets another entity as a pet, essentially writing random stuff into said entity. So I am very tempted to remove that interface and just make one on_entity_spawn, but I'd like some input on it.

Also, regarding the vtable hooks. If we want to bother with it we can make it much more efficient and less volatile if we require specifying the size of a vtable on hooking (from what I could see there was no way to programmatically determine that). Then we could just allocate the copy of the original vtable per entity and safely hook each function there, instead of having to hook the vtable for a while type and then redirecting based on the actual entity address. Even better for the dtor, which we right now have to hook the same call for each type, so all dtor calls are funneled through this one function. You get the gist  :)

@zappatic @Dregu @gmjosack I am very very unsure about the Lua interface I created for the spawn stuff. In particular the set_pre_entity_spawn lets you replace spawns which is very flexible. But that also means that users who use spawn_entity might get back an entity that they didn't ask for which can break the script easily.

I don't mind keeping volatile functions in the api if they have their use cases and can be maintained, but I also see a lot of problems with this. Always catching all script spawn_entity()s too means creating a circular replacement just leads to a stack overflow. That should be optional at least.
Circumventing that I also tried making a little enemy rando with set_pre_entity_spawn and I'm just crashing all the time.
meta.name = 'Pre-Rando test'
meta.author = 'Dregu'

local script_spawn = false
local small = {ENT_TYPE.MONS_SNAKE, ENT_TYPE.MONS_SPIDER, ENT_TYPE.MONS_BAT, ENT_TYPE.MONS_CAVEMAN, ENT_TYPE.MONS_SKELETON, ENT_TYPE.MONS_SCORPION, ENT_TYPE.MONS_HORNEDLIZARD, ENT_TYPE.MONS_MANTRAP, ENT_TYPE.MONS_TIKIMAN, ENT_TYPE.MONS_MOSQUITO, ENT_TYPE.MONS_MAGMAMAN, ENT_TYPE.MONS_ROBOT, ENT_TYPE.MONS_CROCMAN, ENT_TYPE.MONS_COBRA, ENT_TYPE.MONS_JIANGSHI, ENT_TYPE.MONS_FEMALE_JIANGSHI, ENT_TYPE.MONS_OCTOPUS, ENT_TYPE.MONS_HERMITCRAB, ENT_TYPE.MONS_UFO, ENT_TYPE.MONS_YETI}

set_pre_entity_spawn(function(entity_type, x, y, layer, overlay_entity)
  if overlay_entity ~= nil then return end
  local new_uid = nil
  local new_type = small[math.random(#small)]
  if not script_spawn then
    script_spawn = true
    new_uid = spawn(new_type, x, y, layer, 0, 0)
    script_spawn = false
  end
  return new_uid
end, 0, small)

I'll try that script to see why it crashes.
As for making some spawns not be caught by the callbacks, I think that's a good idea. Perhaps add a spawn_nonreplacable or some such, which then just skips the pre_entity_spawn callback?

Just having spawn_nonreplacable would already make the rando script a lot simpler, but I might also want to apply a callback to original level gen entities only and ignore script entities, regardless of what the other script maker was thinking.
Then again having something like enemy randomizer work with an unrelated script that also adds enemies would be cool.

Hooking specific types of spawns will just take more research or hax, but it's probably a good idea in general. The tags I could think of off the top of my head are LEVEL_GEN, SCRIPTED and SYSTEMIC (though technically others might be relevant, like PLAYER, but need ever more research)
Personally I don't mind holding off with this until we have done the research, and in the meantime we merge only the liquid stuff.

@Dregu I added spawn_nonreplaceable and SPAWN_TYPE as an argument to the spawn callbacks


What does this span do and why do we need it in the model::Cfd code?

https://github.com/itchysats/itchysats/blob/e4f910f35070c47672c8e37e224b51e3b532e833/model/src/cfd.rs#L840-L841
I would like to understand why we decided to place this span in the model. I would have expected this to be part of the protocol.
As far as I could see this is the only tracing::span! in the model, so I am wondering if this is even intentional?

I also saw this, seems like it was introduced by @luckysori at some stage. I thought maybe it could be to add the order id to the logs?

It was intentional. As @Restioson pointed out, the idea was to add the order ID context to logs emitted inside of Dlc::base_dlc_params. Here's an example of how it looks on Grafana.

I thought it was important because otherwise if you filter the logs by order ID you might miss the important detail that a particular rollover was a "retry" rollover.

@da-kami: Are you satisfied with this explanation? Please reopen if not.


Update replay-markup-language-utility.md

The updated RML Utilities now apparent live here on GitHub: https://github.com/microsoft/SqlNexus/wiki/RML-Utility
So the download links in the section titled "Obtain the RML Utilities for SQL Server" should probably be updated.

@treytro : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@treytro Thanks for the contribution! The broken link has already been fixed. I will close the PR.


Try to use OpenAPI fuzzing

Depends on #33

https://github.com/matusf/openapi-fuzzer

https://github.com/KissPeter/APIFuzzer

So maybe we need to write our own "fuzzer"

https://github.com/microsoft/restler-fuzzer

Looks cool:
https://github.com/schemathesis/schemathesis


Use suspend APIs in kotlin example

use suspend APIs in kotlin example

Hey @ccen-stripe Any chance you would be open to making these same updates in the new accept-a-payment sample? https://github.com/stripe-samples/accept-a-payment We're working on deprecating the samples where we show individual payment methods and instead are trying to fill out the canonical accept-a-payment one.

will do!

Thanks, @ccen-stripe! Leaving this review for @mshafrir-stripe (wish I knew Android!)  :)

Sبتاريخ ٠٦/٠٥/٢٠٢١ ٦:٠٠ م، كتب Michael Shafrir @.***>:
@mshafrir-stripe approved this pull request.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Consider recalibrating how bits are divided in Span

Currently fallback spans store a pair of 32-bit low and high character indices.
https://github.com/dtolnay/proc-macro2/blob/fecb02df0e2966c7eb39e020dbf650fa8bafd0c5/src/fallback.rs#L491-L496
A span in which lo > hi is malformed, so right off the bat, approximately half of possible Span bit patterns are wasted.
Separately, tokens are usually small compared to the total amount of input parsed by a thread. If we switch to storing lo and hi - lo instead of lo and hi, then an even split of 32 bits each may not be the wisest allocation. For example, we could decide to give 36 bits to lo (supporting 64 GB input size) and 28 bits to hi - lo (limiting token size to 256 MB). Or some other uneven split.

Rustc enforces a file size limit of 4 GB, so a token cannot be bigger than that.
use std::fs::File;
use std::io::Write as _;

fn main() {
    let buf = vec![b' '; 1024 * 1024];
    let mut file = File::create("spanoverflow.rs").unwrap();
    file.write_all(b"fn main() {\n").unwrap();
    for _ in 0..4100 {
        file.write_all(&buf).unwrap();
    }
    file.write_all(b"}\n").unwrap();
}

$ ls -lh spanoverflow.rs
-rw-r--r-- 1 dtolnay users 4.1G Oct  9 18:41 spanoverflow.rs

$ rustc spanoverflow.rs
fatal error: rustc does not support files larger than 4GB

There appears to be no limit on the total amount of text parsed by rustc, even though its internal representation for BytePos is 32 bits.
https://github.com/rust-lang/rust/blob/1.73.0/compiler/rustc_span/src/lib.rs#L2010-L2014
If you parse more than 232 bytes, it overflows and you get bogus spans referring to the wrong files.
use std::fs::File;
use std::io::Write as _;

fn main() {
    let buf = vec![b' '; 1024 * 1024];

    let mut file = File::create("spanoverflow.rs").unwrap();
    file.write_all(b"mod module;\n").unwrap();
    for _ in 0..2050 {
        file.write_all(&buf).unwrap();
    }
    file.write_all(b"fn main() {}\n").unwrap();

    let mut file = File::create("module.rs").unwrap();
    for _ in 0..2050 {
        file.write_all(&buf).unwrap();
    }
    file.write_all(b"pub fn f() {}\n").unwrap();
}

According to rustc -Zunpretty=ast-tree,expanded spanoverflow.rs, this is the location of the f function (wrong):
                        Item {
                            attrs: [],
                            id: NodeId(10),
                            span: spanoverflow.rs:2:4194319: 2:4194332 (#0),
                            ident: f#0,
                            kind: Fn(

and this is the location of main (wrong):
        Item {
            attrs: [],
            id: NodeId(12),
            span: /home/dtolnay/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:2952:2144473580: 2952:2144473592 (#0),
            ident: main#0,
            kind: Fn(

The correct locations would be module.rs and spanoverflow.rs respectively, which you get if the files do not overflow 232 bytes total size.

For scale, currently there is 200 GB of Rust code published on crates.io. Looking at just the newest version of every crate, it is 16 GB of code. So a workload that involves parsing this, even on multiple threads, would currently hit overflow.


Test LZ4_COMPRESSION on all RocksDB column families

By default, RocksDB uses Snappy compression algorithm, but from RocksDB documentation, we can read that "LZ4 is almost always better than Snappy".
Signed-off-by: Ameziane H<EMAIL_ADDRESS>

PR description
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Changelog

[ ] I thought about the changelog and included a changelog update if required.

Confirmed, Besu ended up using ~13 GB (6.5 GB in RAM, 6.5 GB in swap) with this changeset. Testing the old Snappy behavior had it at ~3 GB in RAM and no swap. I'll test again with LZ4 enabled but none of the other explicit cache settings specified and see how it does.

After running LZ4 without any of the other manual settings (i.e. using this build) Besu has been happily syncing on Mainnet with my Pi using 4.5 GB of RAM and no swap space. It's at ~24% after 5 hours. This configuration is quite promising.

@garyschulte and @jclapis : Sorry for the inconvenience, this is a draft PR, so I used the same PR to do some other tests related to RocksDB configuration, not only LZ4 compression.

Other new tests are done in this PR #4166


use response.raise_for_status() instead of assert

requests has a built in method for handling http errors
http://docs.python-requests.org/en/latest/api/#requests.Response.raise_for_status

Beautiful! Thanks, @diwu1989!


Solver tends to solve at NEGATIVE durability

Quite often the "best" solution tends to end up in the negative durability

why would that be an issue ?

The final action pushes you to negative durability, it's still a valid action though.
If you have 5 durability left, you can still use a 10 durability action. You end up at -5, but the action still works. Try it ingame!


How to get text to be in 2 lines only

How to get text to be in 2 lines only but extended out.  There are some tracks that are long and it display in 3 or 4 lines and it smooshes it

Could it be that you need to make your browser source a higher resolution?

I tried that it didn't work.
On Sat, Mar 6, 2021, 3:59 AM Carl<EMAIL_ADDRESS>wrote:

Could it be that you need to make your browser source a higher resolution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/erikrichardlarson/unbox/issues/19#issuecomment-791924568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASPOQ7H7DIGOXQ3O63AWWXDTCIKLNANCNFSM4YWQKO5Q
.

Usually this is caused by the width of the browser source in OBS being too small, you can set it to 1200px on the OBS browser source settings page and it should work. Let me know if that doesn’t work.


Switch lock system to allow expire

In Symfony 3.3 the lock system will now include an expire option.
Since the fetch command is sometimes locked because a website took too long to respond or timeout or I really don't know what happen... using expire lock might avoid the command to be locked until a manual action is done.
// blocking, expiring in 60 seconds (unless the lock is refreshed)
$lock = $container->get('lock')->acquire(true, 60);

:arrow_right: http://symfony.com/blog/new-in-symfony-3-3-lock-component

Postponed in Symfony 3.4 🙄

https://symfony.com/doc/3.4/components/lock.html#lock-store-semaphore


skopeo: fix version

Description of changes
#214047
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The go tests don't need to pass, they just need to run, so I don't understand why we need this?


[BugFix] GAE JavaDoc not generated

The GAE Java doc not generated since javadoc path error.

Codecov Report

Merging #2206 (ffe42e0) into main (abdd5c9) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #2206   +/-   ##
=======================================
  Coverage   72.95%   72.95%
=======================================
  Files          89       89
  Lines        9789     9789
=======================================
  Hits         7142     7142
  Misses       2647     2647

Continue to review full report at Codecov.

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


Tag 2.1.0 doesn't include Package.swift

Swift Package Manager has not been released yet. It will be released in 2.2.0 most likely early this week.


Reorganize fabric cli to use namespaces and support different execution contexts

We need to define a minimal API for us to implement a new execution context (e.g., spark-ec2 scripts, director, local, etc.)

This is kinda happening through the refactor.


Fix backspace behavior

The backspace behavior has been really frustrating for me. I've made it so backspace cannot trigger a display, but it will stay open during backspace operations. Also, previously, it would flash (hide, then show again) on backspace, which was annoying.
Old

New

This is actually by design, and is desirable (at least, for some). For example - suppose you select a suggestion, but you realize you meant to use a different suggestion - you might backspace until you get to the desired point, press the down arrow once or twice, then tab/enter to confirm. This is a common use-case.
Perhaps this should be made configurable (with show on backspace enabled, by default). If we merge this, we will get numerous requests to re-enable the behavior.

No other editors trigger on backspace unless it's already open.

I do like two aspects to this in particular:

You keep the list open and prevent the "blink" when it makes sense - this is a very good thing
You are able to detect backspacing while the suggestion list is visible, and allow it

No other editors trigger on backspace unless it's already open.

So?
This should be distilled down to:

If I backspace into existing text, should the suggestion list display?
If I backspace into whitespace, should the suggestion list display?

And in both cases, should this be configurable (what default?), enabled, or disabled.

If I backspace into existing text, should the suggestion list display?

This is what I believe people will ask to keep configurable, enabled by default.

If I backspace into whitespace, should the suggestion list display?

I think we should suppress this, and not make it configurable.

See also #137, #145.


HTTP: Allow root path in request-line (#2710)

fix #2710 by fixing regexp in http request line parser, and adding test.

Thank you for the PR @Jxck!
To make the build pass, please run the npm run build command and commit all changes.

Thank you for the PR @Jxck!
To make the build pass, please run the npm run build command and commit all changes.

Thank you for contributing @Jxck!

Thank you for contributing @Jxck!


Fixes for the zoom behaviour and overlay height in iOS Safari

Description
Address a few issues I've discovered when using the library in my project.

Implements the style fix for #433 as suggested by @rpearce
Allows to zoom on the already zoomed image with ctrl + wheel and pinch to zoom gestures on desktop
Triggers unzoom on touchmove instead of touchstart. That is much closer to the behaviour on Medium (https://medium.design/image-zoom-on-medium-24d146fc0c20). Handling unzoom on touchend leads to nothing happening with the image while I touch-scroll until I lift my finger up.

Plus, renames master to main in CONTRIBUTING.md; otherwise, the instructions don't fully work.
Testing

Clone this project and go to the project directory
Run npm ci && npm start
Go to http://localhost:6006 (or equivalent local IP if you use a mobile device as suggested by Storybook on start)
See if the behaviour described above is working as intended

Wow! This PR looks like a great addition. Thank you for taking the time to do this PR and update the docs; it really helps.
I need to test it across my devices, and I will do so as soon as I can (probably tonight).


Added Grafana Spec for Equinox+Propulsion

Targeted wrong repo in GitHub UI. Current UI flow for adding a file only creates a PR for fork repo.


Migrate from strings to typed buildable nodes in SyntaxBuildableWrappers

As proposed in https://github.com/apple/swift-syntax/pull/485#pullrequestreview-1033905250, this PR migrates the generated snippets of Swift code in SyntaxBuildableType and SyntaxBuildableChild to ExprBuildables and TypeBuildables.
This will pave the way for a future PR porting BuildableNodes.swift.gyb to SwiftSyntaxBuilderGeneration.

@swift-ci please test

@swift-ci please test


Observability

attempts to address some of the goals laid out in #132. Current status:

Tracing:

configured from environment variable
a few spans have been added

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.56%. Comparing base (b962fb6) to head (515f4e8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   73.26%   73.56%   +0.29%
==========================================
  Files          17       17
  Lines        1343     1358      +15
==========================================
+ Hits          984      999      +15
  Misses        266      266
  Partials       93       93

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


Change priority status for users/group

We should not use an extra group "Prio" but a flag at the group model to determine whether a user/client should use the prio URL.

outdated


Show preview area on same docking location

On the On the https://github.com/emoon/ProDBG/tree/viewdock branch
Repro:

Create the same layout as show in image
Drag the lower plugin to the lower part of the top plugin

Notice that no preview is being show. I would assume the reason is because the doc will just be in the same place but it would be better to show it as it make the UX more consistent with what is being shown when docks are being dragged around.

What about undo/redo? Should this unchanged state be saved to undo/redo stack?

As this action will not generate any result (it's only a visual thing) undo/redo stack should be unaffected