Treating failed optimizations

Currently, we treat every returned result of the optimization in the same way, regardless of it returning 3.14, NaN or "failed". As has been pointed out, this behaviour requires user intervention to fix (manually changing the evaluation result) and should therefore be changed, especially since GPy fails any optimization once any value is NaN or inf. This means that, once a single optimization has failed, apsis becomes useless (without user intervention).
There are several ways to treat this:

Ignore the value, and let the optimization fail. The worst solution.
Ignore the value and only use the other, successful evaluations to produce the next candidate. Better, but has the disadvantage that the GP will just return the failed position again (barring changes in optimization, random initialization or multiple workers)
Set the result to some arbitrarily bad result. May cause problems with scale, i.e. setting it to 1e5 if the usual results are between 0 and 1 covers most information while if the usual results are between 1e6 and 1e10 it makes the result seem useful instead of to avoid.
Set the result to some multiple of the current worst result. For example, any failed result is treated as ten times as bad as the current worst result. This will result in an artificial hill in the result landscape, meaning further optimizations will rather avoid it.
Use a second Gaussian process to predict which candidates will fail. This would be nice, but has the disadvantage of requiring far more implementation work and roughly doubles the runtime.

Right now, the best approach is probably to implement an additional bool in the candidate (failed, default = False) which will be set when the result is inf, NaN or something similar.

Later, we could then add the Gaussian prediction strategy.

This is currently implemented in branch i_131_failed_optimizations, with the latest commit c4807213ad6bd65c1a0e15332be179a512618833
Some more tests will be necessary before merging.

Will have to merge the branch. There are merge conflicts; I'll have to do so manually and check correctness.


PipelineLayoutCreateInfo.p_set_layouts should be optional

In PipelineLayoutCreateInfo, the generator currently produces
set_layout_count: u32 = 0,
p_set_layouts: [*]const DescriptorSetLayout,

Since set_layout_count can be 0, p_set_layouts should have type ?[*] and default to null.
My guess for the cause of the bug:
Here's the XML for VkPipelineLayoutCreateInfo:
<member optional="true"><type>uint32_t</type> <name>setLayoutCount</name><comment>Number of descriptor sets interfaced by the pipeline</comment></member>
<member optional="false,true" len="setLayoutCount">const <type>VkDescriptorSetLayout</type>* <name>pSetLayouts</name><comment>Array of setCount number of descriptor set layout objects defining the layout of the</comment></member>

The optional attribute of pSetLayouts is false,true. The generator probably sees the false and makes pSetLayouts non-nullable. But the false should be ignored, since setLayoutCount can be 0. The only reason it's there (I'm inferring) is as a placeholder in the first position, so that the true can be specified in the second position (meaning each VkDescriptorSetLayout in the array can be a null handle).

I think the correct way of determining whether a [*] should be optional is if any of the following is true:

It's marked with optional="true"
Its corresponding count is marked with `optional="true".

There are cases where only one of those is satisfied. For example, in the original post above, setLayoutCount is marked optional but pSetLayouts is not; but in vkGetSwapchainImagesKHR, pSwapchainImageCount is marked not optional (because it's a pointer to the actual count) and pSwapchainImages is marked optional. In both cases the pointer should be optional.


Overlapping of message button over scroll button

Overlapping of buttons

i can solve it , please let me fix it


Require password for certain features

Creating new applications, adding/deleting organizations and other such critical actions should require a password prompt. However, since Lastuser doesn't require a password to login if the account is linked to external ids, this should be amended too.

When accessing a critical feature, ask for a password. Remember this for up to 15 minutes.
If the user does not have a password, require them to set a password before they can proceed.
Provide an option in the profile setting that requires a password at all times. This setting can be enabled only if they have at least one verified email address.

UserSession introduced a sudo_enabled_at column with a has_sudo property and set_sudo method in 0b9b07bc29e5ba6cccaaed407c99e54367f7ea68 for #89.

The has_sudo method from #89 is hardcoded to a 1 hour timedelta, not 15 minutes as per this ticket. We should revisit during implementation of this ticket.

This was originally discussed in #5.


stack canary storage area should be read-only to user mode

The memory containing the stack canary value should not be overwritable by user mode.
The canary value gets set at boot before the application starts. Implementing this could be troublesome depending on configuration:

For non-XIP systems, we can put the canary storage in the rodata section, and when setting it, temporarily disable the MMU/MPU so we can actually write to it to set the value. Then resume the normal memory access policy. User mode won't be able to clobber it.
For XIP systems, this will eat up an MPU slot. rodata actually lives in immutable flash. It may not be possible to write to that, ever. Instead we would have to declare a memory partition that is read-write to supervisor mode, but read-only to user mode. All threads would have to add this partition to their memory domain.

Dropping this to 'low' there's some discussion on whether this is actually needed, since simply being able to read the kernel's stack canary value is enough to bypass this mechanism.


✨ with temp table created materialised view

vs CTE which creates a plan which is inserted when called.

SELECT name, id INTO TEMPORARY [UNLOGGED] TABLE _TEMP FROM $planets; SELECT * FROM _TEMP;

Materialised view should probably be saved to disk rather than kept in memory. Could have a config setting for maximum size of materialised subqueries to keep in memory.


BOV reader semi-support time steps

To reproduce:

Open VAPOR, import BOV file: /glade/p/cisl/vast/vapor/Bugs/BOV_Bugs/bug3.bov
Create and enable a volume renderer.
Advance time step by 1. Notice that the rendering remains the same, though the 2 time steps clearly point to different data files.

Visit's BOV specification doesn't mention specifying multiple time steps like this.  IMO, this is an enhancement.
BOV Specification: section 3, page 9
https://wci.llnl.gov/sites/wci/files/2020-08/GettingDataIntoVisIt2.0.0.pdf

@shaomeng are you sure the file you created (bug3.bov) is how time-varying data sets are supported? My interpretation of VisIt's documentation is that you can only have one set of keyword-value pairs per file. I.e. You need a single file per time step or per variable. I could be wrong, however.

@clyne VAPOR shows 2 time steps available with the bov file in question, and a user is able to switch between these 2 time steps. It's OK to not show 2 time steps if you don't support 2 time steps.
Re VisIt comparison: I feel we're in a state where when VAPOR behaves differently from the VisIt and its documentation, it's considered a VAPOR uniqueness. When VAPOR exhibits a bug (or bad behavior in general) and VisIt behaves the same, it's considered "see, VisIt does the same." This isn't a good situation to be in. A mitigation is to

Agreed that it should not show two time steps. I think a reasonable behavior for repeating the same keyword multiple times is to simply accept the last value found.

@shaomeng, you are observing #2812 here, which is not BOV related.  If you import one timestep of a wrf file, you can advance the timesteps as well.


Manage Users -  wrong ordering of steps

On the https://docs.pivotal.io/runtimes/pks/1-0/manage-users.html page, the Retrieve UAA Admin Credentials step comes after Log in as an Admin.
However, the steps should be reversed as we need the credentials before we can login. step 5 of Log in as an Admin actually references that fact.

Hey @leeloodub, thanks so much for this PR! I'm making the changes you suggested now, and clarifying the text a bit more while i'm here. :)


Width of dataZoom Settings have no effect

Version
5.0.2
Steps to reproduce
https://echarts.apache.org/zh/option.html#dataZoom-slider.textStyle.textShadowOffsetX
The ones I tested on this page also didn't have any effect
What is expected?
effect
What is actually happening?
didn't have any effect

Thank you for your hard work.

like this ,i set width = 1,but didn't have any effect


The height of Add to cart button should be a little less on compare page.

Bagisto Version: Master
Steps To reproduce--
1. Log in as a customer
2. Add some items into the compare items.
3. Go on compare item page.
Expected result:  The height of Add to cart button should be a little less on compare page. please take a reference from Here
Actual result: The add to cart button is taking up the unnecessary space on the compare item page. Please find the screenshot Here

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


[OSX] make sanity_tests: too many open files

While running the tests for Core CPU on OSX Mojave, the tests stall with too many open files:
6: [----------] 28 tests from Update
6: [ RUN      ] Update.DecimalOverflow
6: [       OK ] Update.DecimalOverflow (10604 ms)
6: [ RUN      ] Update.VarlenSmartSwitch
6: [       OK ] Update.VarlenSmartSwitch (0 ms)
6: [ RUN      ] Update.Text
6: [       OK ] Update.Text (1054 ms)
6: [ RUN      ] Update.TextINVariant
6: [       OK ] Update.TextINVariant (1010 ms)
6: [ RUN      ] Update.TextEncodingDict16
6: Could not create logging file: Too many open files
6: COULD NOT CREATE A LOGGINGFILE 20190224-143849.71145!F0224 14:38:49.160812 421135808 File.cpp:49] Error trying to create file './tmp/mapd_data/table_1_58/1.4096.mapd', the error was: Too many open files
6: *** Check failure stack trace: ***
6: Thrift: Sun Feb 24 14:38:49 2019 TSocket::open() getaddrinfo() <Host: localhost Port: 36279>nodename nor servname provided, or not known
6: E0224 14:38:49.161345 421135808 Calcite.cpp:443] Error shutting down Calcite server: Could not resolve host for client socket.

Are these instructions applicable to Mojave?
https://castorgroup.net/?p=30

Yes, that still works. Thanks Alex!


Add HttpRequest.GetUri method

There's a helpful extension method: Microsoft.ApplicationInsights.AspNetCore.Extensions.HttpRequestExtensions.GetUri that returns full uri for a given HttpRequest. For some reason these's no such a method in base classes.
But the method is in Microsoft.ApplicationInsights.AspNetCore which starting 2.1 isn't included in metapackage anymore. So usage of the method became not very convenient.
It'd be nice to have such a method somewhere in "Microsoft.AspNetCore.App".

You're looking for GetEncodedUrl or GetDisplayUrl.
https://github.com/aspnet/HttpAbstractions/blob/ab0185a0b8d0b7a80a6169fd78a45f00a28e057d/src/Microsoft.AspNetCore.Http.Extensions/UriHelper.cs#L176
Out of curiosity what do you need it for? It's not much good outside of logging.

Thanks, but GetEncodedUrl or GetDisplayUrl return strings not Uri.
Besides logging (and putting uri into exceptions) I use Uri.IsLoopback() to detect local requests.

See https://github.com/aspnet/HttpAbstractions/issues/536


Add a 3 hour timeout to individual builds

This was part of the old system, but we hadn't yet had the problems that require it resurface yet.  The limit here is kind of arbitrary, but the specific value isn't as important as having one -- we had a build hang for 6d (due to some tool that doesn't have a timeout of its own but arguably should), and this prevents that from stalling our whole process.

(This is definitely one to review without whitespace: https://github.com/docker-library/meta-scripts/pull/28/files?w=1)

Also relevant for our GHA builds: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
(They default to 360 minutes, which is double this limit we've been using in the past -- their hardware is also roughly half or even less as capable as ours, so it seems fair to leave that at the default for now unless/until we have a compelling reason to change it or even make it explicitly part of this repository so they're consistent. :shrug:)


Broken with last build of ng2-idle

In the last build of ng2-idle, their has been a modification of the Module.
Basicly when importing ng2-idle in our app we now point directly on ng2-idle instead of ng2-idle/core.
The bug is that in ng2-idle-keepalive, the import statements have not been updated and they still point to ng2-idle/core.
core.ts
import {KeepaliveSvc} from 'ng2-idle/core';
should be
import {KeepaliveSvc} from 'ng2-idle;
keepalive.ts
import {KeepaliveSvc} from 'ng2-idle/core';
should be
import {KeepaliveSvc} from 'ng2-idle';

The dependency on ng2-idle is also locked at 1.0.0-alpha.17 in package.json

Yeah, I updated keepalive but I am having trouble figuring out the commonjs bundling i've been doing. Might switch both to UMD like Angular did.

Please note that this module has been moved to the ng2-idle repository.


Button "Keep Pressed Outside" has no effect

Godot version:
3.2.1 Stable
OS/device including version:
Win10 Version 1909
Issue description:
When using buttons the keep_pressed_outside property only affects the visual function of buttons.
Signals aren't emitted until the mouse is released.
Steps to reproduce:
Use a button, print the button_up and button_down signals
Minimal reproduction project:
Base project with button.

I think this is intended. Otherwise, there would be no way for the user to "cancel" pressing a button after pressing down the button and moving the cursor away from it.

I think this is intended. Otherwise, there would be no way for the user to "cancel" pressing a button after pressing down the button and moving the cursor away from it.
Still, the documentation should be updated to reflect this.

but the button visual state and functional state do not match, meaning only the visual state changes and has no function. For cancelling a button if dragged away, set the button activation to be on the released rather than pressed.

I think this is intended. Otherwise, there would be no way for the user to "cancel" pressing a button after pressing down the button and moving the cursor away from it.
Still, the documentation should be updated to reflect this.

but the button visual state and functional state do not match, meaning only the visual state changes and has no function. For cancelling a button if dragged away, set the button activation to be on the released rather than pressed.

I think you are right.


Make Float extensible

If the Float type was extensible, a language user could easily create distinct types for eg. temperatures, distances, weights.
As of current, such values all have to be merely Floats, giving us no type safety against mixing them up when doing computations.
PS. I know that it's possible to define one's own Floaty type, but I also know that it is quite cumbersome. Simply extending Float would give me all that Floatyness for free.
PPS. F# has ability to mingle Floats of various units. Eg. if I divide a value that has a 'lengthy' unit (eg. meters) by a value that has a 'timy unit' (eg. seconds), I get a length per time type.  If I divide a length by a length, I get a scalar value. That's all quite cool. Could Ceylon support something similar, and would that feature be in good harmony with the ability to extend the Float type?

If by "extending", you mean "subclassing", that would mean we can't erase the type Float to float in the JVM.

Heads up: To achieve the F# feature you describe, it’ll take a lot more
than just subclassing.
On Sat, Apr 7, 2018 at 7:17 PM loldrup<EMAIL_ADDRESS>wrote:

Yes I meant subclassing.
An, most likely, ignorant question: Why would it no longer be possible to
type erase Float to float?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/ceylon/issues/7348#issuecomment-379506027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFj24Yyw-HoeFjeElQZ-uaSC-PC8mv7ks5tmUkggaJpZM4TLRJF
.

Why would it no longer be possible to type erase Float to float?

Because I could assign a value of type Length to a variable of type Float, but I would lose the concrete type.

To achieve the F# feature you describe, it’ll take a lot more than just subclassing.

Right, a proper units-of-measure system is really surprisingly complex. For example, F# lets you write numerical functions that abstract over the unit of measure.

To make things better, simply embedding a Float in a Length class like
shared class Length(shared variable Float val) {}

will take about the same amount of memory as a subclass of Float since the compiler can use the primitive type float to store the value. The downside of course is that you have to refer to the value as:
Length len = Length(5);
print(len.val);

Thanks for the tip!
Kind regardsJon Loldrup

Aug 2018 21:07 af<EMAIL_ADDRESS><EMAIL_ADDRESS>

To make things better, simply embedding a Float in a Length class like
shared>  > class>  > Length> (> shared>  > variable>  > Float>  > val> ) {}
will take about the same amount of memory as a subclass of Float since the compiler can use the primitive type > float>  to store the value. The downside of course is that you have to refer to the value as:
Length>  > len>  = > Length> (> 5> );> print> (> len> .> val> );
—
You are receiving this because you modified the open/close state.
Reply to this email directly, > view it on GitHub https://github.com/eclipse/ceylon/issues/7348#issuecomment-416705052> , or > mute the thread https://github.com/notifications/unsubscribe-auth/AAP_NBOlxYyekupV1CXqVn2HDzttF1tHks5uVZUCgaJpZM4TLRJF> .


k8s / policy: allow all services for toServices when using highscale ipcache

Normally, toServices rules only allow Endpoints that are external to the cluster. This is to prevent conflict with entries already existing in the ipcache.
However, this is not relevant with highscale ipcache, where podips are normally excluded from the ipcache anyways. So, allow all services to be specified in toServices egress rules when highscale is enabled.

/test

Checkpatch is complaining with
  Error: ERROR:CUSTOM: Please avoid long commit subjects (max: 75, found: 76)

Maybe format the commit msg to
k8s, policy: enable toServices for high-scale ipcache

https://github.com/cilium/cilium/actions/runs/5259867178 is failing all for the same test :thinking:

https://github.com/cilium/cilium/actions/runs/5259867178 is failing all for the same test thinking

cloudflare blip :-/.

/test

Is there a test for this at all? Doesn't Cilium just ignore these rule sections if they're not translated?


Fix projectRoot path resolve issue with plugin tree view

Purpose
Skip the project root path resolve flow by providing the current document identifier to avoid the projectRoot path resolve issue on the project API.
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/32954
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

I was thinking, though the project returned Optional.empty(), tests passed because the validations we do on the returned components aren't enough. If not now, it'll be better to add more validations to the returned components.
Added an assert for the package count to avoid test skip.


runtime: windows callback on non-Go thread fails

This test

diff --git a/src/pkg/runtime/syscall_windows_test.go
b/src/pkg/runtime/syscall_windows_test.go
--- a/src/pkg/runtime/syscall_windows_test.go
+++ b/src/pkg/runtime/syscall_windows_test.go
@@ -240,5 +240,35 @@
 }

 func TestCallbackInAnotherThread(t *testing.T) {
-   // TODO: test a function which calls back in another thread: QueueUserAPC() or
CreateThread()
+   d := GetDLL(t, "kernel32.dll")
+
+   f := func(p uintptr) uintptr {
+       return p
+   }
+   r, _, err := d.Proc("CreateThread").Call(0, 0, syscall.NewCallback(f), 123,
0, 0)
+   if r == 0 {
+       t.Fatalf("CreateThread failed: %v", err)
+   }
+   h := syscall.Handle(r)
+   defer syscall.CloseHandle(h)
+
+   switch s, err := syscall.WaitForSingleObject(h, 100); s {
+   case syscall.WAIT_OBJECT_0:
+       break
+   case syscall.WAIT_TIMEOUT:
+       t.Fatal("timeout waiting for thread to exit")
+   case syscall.WAIT_FAILED:
+       t.Fatalf("WaitForSingleObject failed: %v", err)
+   default:
+       t.Fatalf("WaitForSingleObject returns unexpected value %v", s)
+   }
+
+   var ec uint32
+   r, _, err = d.Proc("GetExitCodeThread").Call(uintptr(h),
uintptr(unsafe.Pointer(&ec)))
+   if r == 0 {
+       t.Fatalf("GetExitCodeThread failed: %v", err)
+   }
+   if ec != 123 {
+       t.Fatalf("expected 123, but got %d", ec)
+   }
 }

fails with

C:\>u:\test -test.v -test.run=Another
=== RUN TestCallbackInAnotherThread
--- FAIL: TestCallbackInAnotherThread (0.11 seconds)
        syscall_windows_test.go:259: timeout waiting for thread to exit
FAIL

hg id is 39c724dd7f25

Alex

PS: for after Go 1.2

Simple test case:

import (
    //"C" // Uncomment this and it works
    "fmt"
    "syscall"
)

func ThreadProc(p uintptr) uintptr {
    fmt.Println("FOO")
    return 0
}

func main() {
    modkernel32 := syscall.MustLoadDLL("kernel32.dll")
    procCreateThread := modkernel32.MustFindProc("CreateThread")
    r1, _, _ := procCreateThread.Call(0, 0, syscall.NewCallback(ThreadProc), 0, 0, 0)
    h := syscall.Handle(r1)
    syscall.WaitForSingleObject(h, syscall.INFINITE)
    syscall.CloseHandle(h)
}

In this case syscall.NewCallback(..) appears to be key, so possibly it should have a warning about this issue, but ideally we should fix this.
@rsc suggestion made in #9240 of always enabling "C" under Windows seems reasonable, if its an option.

@rsc suggestion made in #9240 of always enabling "C" under Windows seems reasonable, if its an option.

Importing "C" package makes your program use Cgo. So your approach does not seems reasonable to me personally.
Alex

Are there any plans to fix this problem?
My specific need is the following: I have cgofuse, a cross-platform FUSE (Filesystem in Userspace) package based on cgo. I am hoping to eliminate the need for cgo on Windows, by using syscall.DLL, syscall.Proc and syscall.NewCallbackCDecl, but I am blocked by this issue.
This is to support the go-ipfs project, which would rather avoid the use of a C compiler on Windows.
More information here: https://github.com/ipfs/go-ipfs/issues/5003#issuecomment-390868198

It may be worth mentioning that my original intention was to write a dynamic binding for winfsp separate from cgofuse. This issue prevents either effort from progressing.

@djdv try import _ "runtime/cgo" as a workaround

@zhangyoufu
> set CGO_ENABLED=0

> go version
go version go1.10 windows/amd64

> go build ./examples/memfs
# github.com/billziss-gh/cgofuse/examples/memfs
_cgo_init: relocation target x_cgo_init not defined
_cgo_notify_runtime_init_done: relocation target x_cgo_notify_runtime_init_done not defined
_cgo_thread_start: relocation target x_cgo_thread_start not defined
runtime.cgo_yield: relocation target _cgo_yield not defined
_cgo_init: undefined: "x_cgo_init"
_cgo_notify_runtime_init_done: undefined: "x_cgo_notify_runtime_init_done"
_cgo_thread_start: undefined: "x_cgo_thread_start"
runtime.cgo_yield: undefined: "_cgo_yield"

Are there any plans to fix this problem?

There is no one working on this. If you want this fixed, I suggest you try and fix it yourself. This issue has a test, so all you need to do is adjust runtime package to make test pass. :-) If  you need any help, just ask here. We will try and answer any questions you might have.
Alex

@alexbrainman thanks. It is unlikely I will have the time to look into this for a few days, but I am hoping to find some time for experimentation in the near future.

Actually this problem appears to happen with cgo as well.
Consider the following go program:
package main

func main() {
	select {}
}

Run it to find that checkdead works:
$ go run deadlock.go
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [select (no cases)]:
main.main()
	/Users/billziss/Projects/go/src/deadlock.go:4 +0x20
exit status 2

Now consider the following cgo program:
package main

import "C"

func main() {
	select {}
}

Run it to find that checkdead does not work and the program hangs:
$ go run deadlock.go
^Csignal: interrupt

I believe that the problem lies with checkdead, which should be improved to handle the extra M in cgo and the patch above.

The following patch passes all tests on Windows and macOS. (On Windows this excludes the 2 tests TestBreakpoint and TestAbort which freeze my Windows VM, even when the patch is not applied.)
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index ba76f7c3e7..1647044f36 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -1287,7 +1287,7 @@ func mstart1() {
 //go:yeswritebarrierrec
 func mstartm0() {
 	// Create an extra M for callbacks on threads not created by Go.
-	if iscgo && !cgoHasExtraM {
+	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
 		cgoHasExtraM = true
 		newextram()
 	}
@@ -1612,7 +1612,7 @@ func allocm(_p_ *p, fn func()) *m {
 // put the m back on the list.
 //go:nosplit
 func needm(x byte) {
-	if iscgo && !cgoHasExtraM {
+	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
 		// Can happen if C/C++ code calls Go from a global ctor.
 		// Can not throw, because scheduler is not initialized yet.
 		write(2, unsafe.Pointer(&earlycgocallback[0]), int32(len(earlycgocallback)))
@@ -4209,8 +4209,13 @@ func checkdead() {
 		return
 	}

+	var run0 int32
+	if !iscgo && cgoHasExtraM {
+		run0 = 1
+	}
+
 	run := mcount() - sched.nmidle - sched.nmidlelocked - sched.nmsys
-	if run > 0 {
+	if run > run0 {
 		return
 	}
 	if run < 0 {
diff --git a/src/runtime/syscall_windows_test.go b/src/runtime/syscall_windows_test.go
index dfde12a211..fd5ecca03d 100644
--- a/src/runtime/syscall_windows_test.go
+++ b/src/runtime/syscall_windows_test.go
@@ -251,7 +251,34 @@ func TestBlockingCallback(t *testing.T) {
 }

 func TestCallbackInAnotherThread(t *testing.T) {
-	// TODO: test a function which calls back in another thread: QueueUserAPC() or CreateThread()
+	d := GetDLL(t, "kernel32.dll")
+	f := func(p uintptr) uintptr {
+		return p
+	}
+	r, _, err := d.Proc("CreateThread").Call(0, 0, syscall.NewCallback(f), 123, 0, 0)
+	if r == 0 {
+		t.Fatalf("CreateThread failed: %v", err)
+	}
+	h := syscall.Handle(r)
+	defer syscall.CloseHandle(h)
+	switch s, err := syscall.WaitForSingleObject(h, 100); s {
+	case syscall.WAIT_OBJECT_0:
+		break
+	case syscall.WAIT_TIMEOUT:
+		t.Fatal("timeout waiting for thread to exit")
+	case syscall.WAIT_FAILED:
+		t.Fatalf("WaitForSingleObject failed: %v", err)
+	default:
+		t.Fatalf("WaitForSingleObject returns unexpected value %v", s)
+	}
+	var ec uint32
+	r, _, err = d.Proc("GetExitCodeThread").Call(uintptr(h), uintptr(unsafe.Pointer(&ec)))
+	if r == 0 {
+		t.Fatalf("GetExitCodeThread failed: %v", err)
+	}
+	if ec != 123 {
+		t.Fatalf("expected 123, but got %d", ec)
+	}
 }

 type cbDLLFunc int // int determines number of callback parameters

Despite my earlier statement about needing a few days to look into this I decided to have a look

Did not take you long to come up with a solution. :-)

Running all.bat hangs the whole OS(!)

I have never seen anything like that. If you care, you can create new issue and someone will investigate.

I have traced this problem to the following 2 tests: TestBreakpoint and TestAbort

Normally hanged test are debugged by adding -timeout parameter. -timeout forces test to crash, and crash prints stack trace, and you can see where test hangs. But your test hangs whole OS, so I don't see how my advise is useful here.

I believe that the problem lies with checkdead, which should be improved to handle the extra M in cgo and the patch above.

I do not know, if your program should hang or not. So I created #25538 to confirm.

The following patch passes all tests on Windows

Yes this works for me too. On Windows 10 here.
I am not familiar with scheduler, so I cannot confirm your patch is correct or not. But if you send your change for review https://golang.org/doc/contribute.html someone will check your code.
Thank you.
Alex

I am not familiar with scheduler, so I cannot confirm your patch is correct or not. But if you send your change for review https://golang.org/doc/contribute.html someone will check your code.

Thanks for the pointer. The document mentions Gerrit, which I am not familiar with, but it looks like I can now submit the patch as a GitHub PR as well. The Google CLA looks fairly benign, so I an inclined to sign it.
Re: the patch itself. A large portion of this patch includes your test @alexbrainman which I would not be able to submit under the Google CLA (I would be violating term 5 or have to follow the process in term 7, which I do not understand). So I can only submit my changes against runtime/proc.go.

I have now submitted PR # 25575, which includes the changes in runtime/proc.go, but not the test in TestCallbackInAnotherThread. (As explained above I cannot submit the test as it is not my work.)

it looks like I can now submit the patch as a GitHub PR as well.

Yes that should work. Unfortunately your PR #25575 seems stuck - you created and signed CLA 4 hours ago, and Gobot should have created Gerrit CL by now. We'll give it little more time, and maybe ping for help. It is not good that it is weekend now, perhaps we'll have to wait for next week.

large portion of this patch includes your test @alexbrainman which I would not be able to submit under the Google CLA

I contributed to Go before, so I have signed CLA, and you could take my code as part of your change. But I created https://go-review.googlesource.com/c/go/+/114755 in case we want two separate changes. I don't care how, as long as your change goes in with the test.

I have now submitted PR # 25575, which includes the changes in runtime/proc.go

Thank you for fixing this. It have very little free time nowdays.
Alex

Unfortunately your PR #25575 seems stuck...

I see. Obviously I am unfamiliar with the process, so I did not know what to expect. Perhaps the "gobot" needs a kick? :)

I contributed to Go before, so I have signed CLA...

You mean to tell me that you do not work for Google, but somehow you have 710+ commits on this project? Respect!

and you could take my code as part of your change. But I created https://go-review.googlesource.com/c/go/+/114755 in case we want two separate changes. I don't care how, as long as your change goes in with the test.

I would prefer it if we kept the changes separate. The CLA states in term 5 that: "You represent that each of Your Contributions is Your original creation...". I find it inadvisable to knowingly violate the CLA on the same day I signed it :)

Thank you for fixing this. It have very little free time nowdays.

You are welcome. I very much understand the no-time argument.

Perhaps the "gobot" needs a kick? :)

Perhaps it does need a kick. I pinged Brad on your PR, maybe he will help. It is getting late Friday in West coast of USA, so it might be a while when someone will help - Go Team members are real people. But we will get your change reviewed.

You mean to tell me that you do not work for Google,

No, I do not work for Google.
Alex

Dear alexbrainman
I got a same problem like this;

https://groups.google.com/forum/#!topic/golang-nuts/h91eDx27vrQ

I tried your old below sample but same result.

https://github.com/golang/go/issues/6751#issuecomment-66087949

Attachments:

multithread.go (1138 bytes)
multithreaded.zip (6031 bytes)

Could you please give me some solution ?
Thank you very much~
Best Regards,
JayKim

I got a same problem like this;

Same problem as #6751 ? As you can see, the issue is still opened, so the problem still remains. But @billziss-gh proposed solution - you can try his solution at https://golang.org/cl/114802.
Alex


[release-v1.6] Enforce owner references on contract ConfigMap creation

Cherry-pick of https://github.com/knative-sandbox/eventing-kafka-broker/pull/2924

/cherry-pick release-v1.7


Added important note for coexistence settings  #2720

Solving issue #2720 by adding an important not referring to the settings that a guest user will follow on Coexistence mode.

@vinbelms - please review.

@vinbelms @LolaJacobsen PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Error when taking snapshot

This erros occurs in first room created

Most likely this error was generated by the hot reload of my app, because of it the memory address remained linked to the variable
If something like this doesn't appear again soon, I'll close
But if Stefanw wants it, he can close it too 🙏🏻


3rd Party Marketplace Images

Is there a way to check if a 3rd party marketplace virtual machine image can be used by a subscription without trying to create the VM? For example is there some way I can list which images have already had agreements accepted?
Additionally, is there a way to authorize a subscription for a virtual machine image programmatically?
I would like to be able to determine or authorize a subscription for 3rd party marketplace image to run machines with managed disks.

@yugangw-msft opinion?

you can query the market-term and check the accepted field.

> I would like to be able to determine or authorize a subscription for 3rd party marketplace image to run machines with managed disks.

If you are asking about whether you can limit access to a subset of marketplace images, then I don't think there are such support, but in the near future, you can consider the shared-image-gallery which you can leverage regular role based access control.

> For example if I check that subscription x has not accepted the marketplace terms can I accept the marketplace terms or prompt the user to accept the terms?

It depends on an individual application's context. If your app just delegates the current user (like lots of web applications), then you can prompt users to accept the term; if your app runs under its own credential (like lots of LOB application) with access to the subscription, then you can just accept the term before create a VMs for users

I appear to be having an issue querying the marketplace agreements
marketplace_ordering.marketplace_agreements.get('publisher', 'offer', plan)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "lib/python2.7/site-packages/azure/mgmt/marketplaceordering/operations/marketplace_agreements_operations.py", line 90, in get
    response = self._client.send(request, header_parameters, stream=False, **operation_config)
  File "lib/python2.7/site-packages/msrest/service_client.py", line 369, in send
    raise_with_traceback(ClientRequestError, msg, err)
  File "lib/python2.7/site-packages/msrest/exceptions.py", line 57, in raise_with_traceback
    raise error
msrest.exceptions.ClientRequestError: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/{subscription}/providers/Microsoft.MarketplaceOrdering/offerTypes/virtualmachine/publishers/{publisher}/offers/{offer}/plans/{serialized plan}/agreements/current?api-version=2015-06-01 (Caused by ResponseError('too many 502 error responses',))

Hyphen is a safe character, and we don't url-encode it. It's generally allowed in URL:
https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventions#naming-rules-and-restrictions
Could you link your old issue?

https://github.com/Azure/azure-cli/issues/3411#issuecomment-359123790

Hi @whoarethebritons
I wasn't able to reproduce it:
        result = self.client.marketplace_agreements.get(
            publisher_id="intel-bigdl",
            offer_id="bigdl_vm",
            plan_id="bigdl_vm_0p4"
        )
        from pprint import pprint
        pprint(result.as_dict())

gives me
{'accepted': False,
 'id': '/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d/providers/Microsoft.MarketplaceOrdering/offerTypes/VirtualMachine/publishers/intel-bigdl/offers/bigdl_vm/plans/bigdl_vm_0p4/agreements/current',
 'license_text_link': 'https://storelegalterms.blob.core.windows.net/legalterms/3E5ED_legalterms_INTEL%253a2DBIGDL%253a24BIGDL%253a5FVM%253a24BIGDL%253a5FVM%253a5F0P4%253a24LPVML5SNN52KTQK2VUTTKOQB2GF5VLGDDHYIMTNCI5TVT54RPWAEFUUJFPSGA2SZ7YGQ4EEOVRA6UCUVLHC7JNZNNCNFUJT63EQ2XVI.txt',
 'name': 'bigdl_vm_0p4',
 'plan': 'bigdl_vm_0p4',
 'privacy_policy_link': 'https://www.intel.com/content/www/us/en/privacy/intel-privacy-notice.html',
 'product': 'bigdl_vm',
 'publisher': 'intel-bigdl',
 'retrieve_datetime': '2018-08-14T23:53:38.9764255Z',
 'signature': 'FH3SCI6A3JNV7EEEB6SCCGM4K5X2LPEROXSPQKDVHEUOHQYGOYKT4FSROUJMKTV6G4PTXEMUMC2A546FOFZKAYTP7FKG4OLVFE4FPEI',
 'type': 'Microsoft.MarketplaceOrdering/offertypes'}

Could you share the value you pass when you have your issue?

Ok, your code snippet was extremely helpful. Thank you so much.
here's what I had:
azure_image_id = "appscale-marketplace:appscale:3:3.5.2"
publisher, offer, sku, version = azure_image_id.split(":")
compute_client = ComputeManagementClient(credentials, params['azure_subscription_id'])
zone = params['zone']
image = compute_client.virtual_machine_images.get(
          zone, publisher, offer, sku, version)
image_ref = ImageReference(publisher=publisher,
                           offer=offer,
                           sku=sku,
                           version=version)
marketplace_ordering = MarketplaceOrderingAgreements(credentials, params['azure_subscription_id'])
plan = image.plan
marketplace_ordering.marketplace_agreements.get(publisher, offer, plan)

but from your snippet if I change that last line to
print marketplace_ordering.marketplace_agreements.get(publisher, offer, '3.5.2')
then it works perfectly.
I had not connected "plan" as "version" until I saw your snippet.
But now I'm wondering is there a way to update 'accepted' to True?

you can check out how CLI's logc does it and port over.

Thanks @yugangw-msft !
Writing the code here, so it stays forever:
    term = market_place_client.marketplace_agreements.get(publisher, offer, plan)
    term.accepted = True
    market_place_client.marketplace_agreements.create(publisher, offer, plan, term)

Also @whoarethebritons , there was a small issue in your code, the line before the last should have been:
plan = image.plan.name"

Since image.plan is a complex object, and you need a string.

Yes thanks I'm testing that in my code right now actually 😄
Interesting... is image.plan.name always the same as the version?

@whoarethebritons that's an excellent question, and unfortunately I don't know for sure :(. @yugangw-msft ?

I don't know, as I have never been an market place image vendor. But for this image of appscale-marketplace:appscale:3:3.5.2, the plan name 3 is different from the version 3.5.2, which makes sense as all versions of 3.x might share the same billing model.
I believe you do not need this anymore based on the code you provided. It always starts with querying the image and the plan information can be retrieved from the image, so the actual value should not matter. Also on top of Laurent's suggestion, for the call of marketplace_ordering.marketplace_agreements.get(publisher, offer, plan) , please propagate the publisher and product from image.plan as well


feat: secondary index for all document stores

This PR is a draft for storing secondary indices as a dict with different docarrays
ToDo:

[x] .find()
[x] .match()

[x] tests

[x] add
[x] delete
[x] update
[x] bug: multi-modal access path. Fix here: #448
[x] tests for multimodal (added in find and del)
[x] Decide on syntax and argument names

[x] Implement new nomenclature

[ ] Implement InMemory as syntax sugar
[ ] Validate/test other backends

[ ] ES
[x] Qdrant
[x] Weaviate
[ ] SQLite

[ ] Documentation

[ ] for end user
[ ] for backend devs

Naming proposal:
I am considering the following changes to nomenclature:
secondary_index -> subindex
secondary_indices_configs -> subindex_configs
da.find(query=<EMAIL_ADDRESS>-> da.find(query=<EMAIL_ADDRESS>Alternative: go even more minimal: da.find(query=<EMAIL_ADDRESS>Technically, secondary_index is probably more correct than subindex, but I much prefer the brevity.
Also related to this: with this nomenclature on find() we could enable the same syntax on in-memory-DA without causing confusion. It would unify the experience between in-memory and document store.
The implementation could be as simple as this, since no actual secondary index is needed:
def find(self, ..., find_on=None):
    if find_on:
        return self[find_on].find(...)

Design doc:
Design doc: https://docs.google.com/presentation/d/1rntTa1Ur2WmdAvOUEI01l2WeNSWgtqk2xjth_gdIr50/edit#slide=id.g13443d1ddb2_1_23
Continuation of this: https://github.com/jina-ai/docarray/pull/403

This is currently blocked by a bug in the SQLite backend: https://github.com/jina-ai/docarray/issues/470


Fix for #3 and #5 issues

Fixed:

https://github.com/augustas2/eldes/issues/5
https://github.com/augustas2/eldes/issues/3

Eldes token expire very fast. Need refresh it every time before requests to API. If get error need relogin. Existing token can expire or you can login over cloud website with same account. All old tokens will be revoked.
After arm or disarm you must wait status from API and do not change localy. If you arm but some sensor trigered eldes reject action. Eldes do not have arming and disarming. if you try arm and if fails you get just disarm. In eldes app you get info about sensor problem and ask to disable it.
I tested more than one week and works without problems. I use 15sec sync interval.

Nice! I will check the changes and test them today. If everything ok, I will make a release.
Thanks for your effort!


Recipe-App Project issue #3, created config directory with postgres c…

…redentials with a function that checks for undefined values, shutting down the server if undefined values are provided.
Fixes #3

Looks good :+1:


Loosen restrictions on renaming already-named Animania horses

Unless the name fits the pattern of "'s Steed" where XYZ != player.getName(), there's no need to restrict people from using the Ocarina to name horses when they can simply obtain a name tag and do it manually.
Security through obscurity/additional steps isn't security at all.
The only reason to ignore "'s Steed"-named horses is to do a small bit to prevent griefing. Indeed, even in that situation someone could probably use a name tag and then an Ocarina to begin griefing, but that would be a server-based dispute which should be resolved by administrators rather than programming.

Actually, this hasn't been fully tested to make sure that non-"'s Steed" horses can be correctly unnamed using the ocarina.

Disregard, tested with the standard testing name of "Boris" on a draft horse mare. She was sufficiently unnamed. Likewise, testing with "Anya's Steed" on a draft horse mare and the ocarina refused to unname it. Simply put, someone else could just screw you over with renaming your horse... but that's not my problem.


[Question] Is there anyway to add a pin before showing the password

When using gopass -c in linux, especially in an unlocked machine. Are there any way to add a secret pin, like a 4 digit pin, after which the password can be copied.

We rely on the crypto backend (e.g. GPG or age) for this. If you configure GPG to cache your passphrase it won't ask again until it's expired. But this can be changed.


EXC_BreakPoint on UIViewController.reject()

The demo code is here https://github.com/liujuncheng/PromiseKitViewContoller
libswiftCore.dylib`swift_dynamicCastClassUnconditional:
0x10032a4f0:  cmp    x0, #1
0x10032a4f4:  b.lt   0x10032a528               ; swift_dynamicCastClassUnconditional + 56
0x10032a4f8:  ldr    x8, [x0]
0x10032a4fc:  adr    x9, #347084               ; swift_isaMask
0x10032a500:  nop
0x10032a504:  ldr    x9, [x9]
0x10032a508:  and    x8, x9, x8
0x10032a50c:  cmp    x8, x1
0x10032a510:  b.eq   0x10032a520               ; swift_dynamicCastClassUnconditional + 48
0x10032a514:  ldr    x8, [x8, #8]
0x10032a518:  cbnz   x8, 0x10032a50c           ; swift_dynamicCastClassUnconditional + 28
0x10032a51c:  b      0x10032a528               ; swift_dynamicCastClassUnconditional + 56
0x10032a520:  cbz    x0, 0x10032a528           ; swift_dynamicCastClassUnconditional + 56
0x10032a524:  ret
0x10032a528:  brk    #1

Apologies, I'll look into it.

Sorry for the delay. But it's fixed now. 1.4.3 being pushed.


Check Out Issues/Observations

Fix these requirements for checking out a configuration on these pages:
Select Configurations:

When a user checks out a configuration, the "Open & Checkout" links should change to "Open" for any other configuration to prevent multiple checkouts by a single user
When a user checks out a configuration, the "Open & Checkout" links for configuration in the same facility should change to "Open" for all users.

Monitor Plan

When a user checks out a configuration, the "Check out" button should be hidden for all configurations in a facility with a checked-out configuration.
When a user checks out a configuation, the "Check out" button should be hidden to a user who already has a checked-out configuration.  They should only be able to see the "Check in" button on their checked-out configuration.

During backlog refinement with Chris, he stated that the configuration tab does not need the Lock icon added.
The issue is that when a facility is locked (from someone checking-out a configuration), other users can still check out other configurations in the same facility.  Instead, we need to disable check-out functionality for ALL configurations of a locked facility.

Test Passed


Add MinIO to sail:install Command

This PR add support for MinIO (GitHub) to Sail during the install process. It includes a minio.stub file to be included in the final docker-compse.yml file and updates to the InstallCommand.
MinIO is an S3 compatible object storage service and is a great compliment to the Laravel development experience so you don't have to use dev S3 buckets.

We would likely need documentation on how to actually use MinIO with Laravel's filesystem layer.

@taylorotwell I can take a shot at an accompanying PR to the laravel/docs repo today

We would likely need documentation on how to actually use MinIO with Laravel's filesystem layer.

Documentation PR here: https://github.com/laravel/docs/pull/7060

One last thought...
With the MinIO Client, I can add an entry to the stub to auto-create a default bucket as well. This may overcomplicate it maintenance though, it's very simple to create the bucket via the web interface as it is.


New source: HentaiVN

Source: HentaiVN (https://hentaivn.moe)
Language: Vietnamese

It's a hentai source in Vietnamese. What more could you ask for?
Notes
.wireit and out are .gitignored because I used google/wireit and aidoku-serve during development.

Also, the icon should be changed to fit iOS (I can do that if you need me to), and package-lock.json should be included since currently the aidoku-as package changes based on the github commit hash and not version number.

That should be everything aside from the icon, can you help me out with that please?

Yeah, I'll do it


feat/minimal-billing-layout

Please review before merging.

:tada: This PR is included in version 1.73.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ckeditor dependency installation mechanism

right now i'm using the ckeditor bower package, which is minified in advance. not very friendly for debugging purposes. i'd like to look into how we can get their development source to be usable. this will likely have build performance consequences, so likely should be opt-in.

We've done a bit of work on this. Turns out, if you use ckeditor-dev, you can get good debugging-friendly sources... it uses it's own module loader, so not ideal. Also, uglify blows up on one of the files, so you can't actually use it for a prod build... but it is WAY easier to debug.
If I were to pie-in-the-sky this, I'd want something like this:
https://www.youtube.com/watch?v=o9GrUNAqwNY
Of course, that would require that the ckeditor folks use a standard module format :-(


Support dart2 stable

Feel free to squash/merge and delete the branch if you're happy

We may want to consider removing the travis build instead. This is unsupported and may or may not work in Dart 2.
cc @sigmundch

Agree - I don't believe this has been updated in a long long time, and I don't believe the code is Dart2 compliant.

https://pub.dartlang.org/packages?q=dependency%3Acompiler_unsupported
No one uses it. Should we archive and mark it deprecated on the pub site?


rbtree cleanup

rbtree package is now renamed to hashring package.
hashring.go and hashring_test.go is now moved to this folder

Since it's a cleanup, can we fix these lint problems?
$ golint hashring/
hashring/hashring.go:35:6: exported type HashRing should have comment or be unexported
hashring/hashring.go:60:1: exported function New should have comment or be unexported
hashring/hashring.go:73:1: exported method HashRing.Checksum should have comment or be unexported
hashring/hashring.go:96:1: exported method HashRing.AddServer should have comment or be unexported
hashring/hashring.go:118:1: exported method HashRing.RemoveServer should have comment or be unexported
hashring/hashring.go:139:1: comment on exported method HashRing.AddRemoveServers should be of the form "AddRemoveServers ..."
hashring/hashring.go:166:1: comment on exported method HashRing.HasServer should be of the form "HasServer ..."
hashring/hashring.go:173:1: exported method HashRing.GetServers should have comment or be unexported
hashring/hashring.go:191:1: exported method HashRing.Lookup should have comment or be unexported
hashring/iter.go:28:1: exported function NewIterator should have comment or be unexported
hashring/iter.go:32:1: exported function NewIteratorAt should have comment or be unexported
hashring/rbtree.go:23:6: exported type RBTree should have comment or be unexported
hashring/rbtree.go:28:6: exported type Node should have comment or be unexported

@dansimau I agree, golint now passes

FYI, this PR conflicts with #43.

Ohw, that one slipped by me somehow.. I see Jeff and I had some similar ideas. I think I should merge my pr into his.


Component library with component that is composed of another does not render the base component

Version
3.0.0-rc.10
Reproduction link
https://github.com/lukef/vue-component-repro
https://stackoverflow.com/questions/63758716/vue-3-component-library-with-component-that-is-composed-of-another-does-not-ren
Steps to reproduce
I have included a project that will demonstrate the issue. Instructions in README.
What is expected?
<cool-component> is derived from <base-component>. My expectation is that when <cool-component> is rendered that it should also render the base component as well. That isn't happening.
What is actually happening?
What happens is that <cool-component> is rendered but <base-component> (in this case <BaseComponent>) is not being rendered and is being translated to the literal tag <basecomponent> (no hyphen).

The console contains the following warning: [Vue warn]: resolveComponent can only be used in render() or setup().
Not really sure what I've done wrong with setup or whether this is a bug.

@lukef transferred to vue-cli as it seems related to how the build service is used

I think the issue actually comes from vue-next. Someone also opened https://github.com/vuejs/vue-next/issues/2064. Closing in favor of that one because the reproduction is much simpler

See https://github.com/vuejs/vue-next/issues/2064#issuecomment-688296352. You also need to make sure your lib and app are using the same vue instance because right now they are both importing Vue from different files

I still don't see a solution to the issue in that other issue that resolves this one so I'm not really sure it is closed. I tried modifying the webpack config in my vue.config.js file to include:
vue$: path.resolve("./node_modules/vue/dist/vue.runtime.esm.js")
But this create a myriad of other issues if you're using vuex, vue-router, etc in the consuming project.
It shouldn't be this hard to make a component library for vue.

I also tried converting my plugin to use rollup via https://github.com/team-innovation/vue-sfc-rollup (4.0-beta) and I get the exact same issue.

I'm having the same issue that  @lukef in my library https://github.com/alvarosaburido/vue-dynamic-forms. If I use it on a typescript vue3 app like the. one in dev/typescript it works, but in a javascript one dev/vue, it doesn't
The console also output the following  warnings:


[firebase_auth] Adding support for reauthenticate.

I'm going to go ahead and merge this, probably we should refactor the API to have a credential class on the Dart side, but that can be done in a subsequent PR


transformer: inline const enum

Babel Option: https://babel.dev/docs/babel-preset-typescript#optimizeconstenums
Example:
Input:
const enum X {
    FOO
}

X.FOO

Output:
0 /* X.FOO */;

Babel revisits the AST https://github.com/babel/babel/blob/94e166782a37074d8c0031fc869f37e1b456194f/packages/babel-plugin-transform-typescript/src/const-enum.ts#L69
For us it should be adding enum data to semantic.
In the transformer, if the symbol is a const enum, we can lookup the enum value from semantic.

It would be good if oxc also collects non-const enum data. Rolldown could use this information to inline literal enum values across modules.

I'm thinking about implementing inline literal enum values across modules in rolldown.
It would be good if oxc also collects non-const enum data. Rolldown could use this information to inline literal enum values across modules.

I'm keen to work on exposing enum data from Semantic, but there are some prerequisites need to fulfilled before implementing this. Do you have an estimate time of arrival for this feature?

Do you have an estimate time of arrival for this feature?

Nope.
Let's have a discussion in the weekly-meeting.


cmd/cue: fmt is significantly slower when using a package pattern rather than a list of files

What version of CUE are you using (cue version)?

$ cue version
cue version v0.5.0-beta.2.0.20221212054949-16edb00a2504

      -buildmode exe
       -compiler gc
        -ldflags -w -s
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v3

Does this issue reproduce with the latest release?
Yes.
What did you do?
Clone https://github.com/vectordotdev/vector and checkout 78dd939d1c1dd18d6cbb873667b3629172648df1.
Try formatting all the CUE files inside the website directory, which is something upstream does. Since we don't have an equivalent to gofmt -l -w website to format all the files by walking directory trees, upstream uses cue fmt website/**/*.cue. I also tried cue fmt ./website/... to avoid bash-specific globbing.
What did you expect to see?
Both commands (** shell globbing and ... package pattern) should give the same result, and take roughly the same amount of time.
What did you see instead?
They seem to do the same, but the package pattern method is significantly slower, many tens of times slower in fact.
$ time cue fmt website/**/*.cue

real	0m0.812s
user	0m1.301s
sys	0m0.060s
$ time cue fmt ./website/...

real	0m35.568s
user	0m52.910s
sys	0m0.782s

I think this issue is related to loading the packages, because the formatting itself shouldn't be this costly.

I'm going to close this as a duplicate in favor of https://github.com/cue-lang/cue/issues/728 (fmt-specific) and https://github.com/cue-lang/cue/issues/2413 (more general about cue/load).


Turn flag on for deleting files from Syncada

Description
I had this flag set to false so it wouldn't clear out the files I was using for testing, and forgot to flip it back.
Reviewer Notes
Setup

Create a move
approve with TOO
use prime demo script and TIO interface to create a payment request and send it
Run the following command a couple of times to send the request to syncada and process it when it comes back.prime-api-client --insecure support-reviewed-payment-requests --filename readfromsyncada.json
It should eventually change your payment request status to RECEIVED_BY_GEX, and delete the file from syncada

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against cfab4c14a16cf32b75136d78ad309a61a870c0ad

Replaced by https://github.com/transcom/mymove/pull/6359. We decided to turn this into a parameter instead of hardcoding it.


[BUG]: Samples for Cert-CSI documentation should be updated based on the capabilities

Bug Description
Samples for Cert-CSI documentation should be updated based on the capabilities
Else it gives an opinion that it is not supported based on the comments we have given for each of those value
storageClasses:
  - name: # storage-class-name (ex. powerstore)
    minSize: # minimal size for your sc (ex. 1Gi)
    rawBlock: # is Raw Block supported (true or false)
    expansion: # is volume expansion supported (true or false)
    clone: # is volume cloning supported (true or false)
    snapshot: # is volume snapshotting supported (true or false)
    RWX: # is ReadWriteMany volume access mode supported for non RawBlock volumes (true or false)
    volumeHealth: # set this to enable the execution of the VolumeHealthMetricsSuite (true or false)
    # Make sure to enable healthMonitor for the driver's controller and node pods before running this suite. It is recommended to use a smaller interval time for this sidecar and pass the required arguments.
    VGS: # set this to enable the execution of the VolumeGroupSnapSuite (true or false)
    # Additionally, make sure to provide the necessary required arguments such as volumeSnapshotClass, vgs-volume-label, and any others as needed.
    RWOP: # set this to enable the execution of the MultiAttachSuite with the AccessMode set to ReadWriteOncePod (true or false)
    ephemeral: # if exists, then run EphemeralVolumeSuite. See the Ephemeral Volumes suite section for example Volume Attributes
      driver: # driver name for EphemeralVolumeSuite (e.g., csi-vxflexos.dellemc.com)
      fstype: # fstype for EphemeralVolumeSuite
      volumeAttributes: # volume attrs for EphemeralVolumeSuite.
        attr1: # volume attr for EphemeralVolumeSuite
        attr2: # volume attr for EphemeralVolumeSuite
    capacityTracking:
      driverNamespace: # namepsace where driver is installed
      pollInterval:    # duration to poll capacity (e.g., 2m)

Logs
storageClasses:

name: vxflexos
minSize: 8Gi
rawBlock: true
expansion: true
clone: true
snapshot: true
RWX: false
ephemeral:
driver: csi-powerstore.dellemc.com
fstype: ext4
volumeAttributes:
volumeName: "my-ephemeral-vol"
size: "8Gi"
storagepool: "sample"
systemID: "sample"
name: vxflexos-nfs
minSize: 8Gi
rawBlock: false
expansion: true
clone: true
snapshot: true
RWX: true
RWOP: true
ephemeral:
driver: csi-vxflexos.dellemc.com
fstype: "nfs"
volumeAttributes:
volumeName: "my-ephemeral-vol"
size: "8Gi"
storagepool: "sample"
systemID: "sample"
capacityTracking:
driverNamespace: powerstore
pollInterval: 2m

\
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
https://dell.github.io/csm-docs/docs/support/cert-csi/#run-all-test-suites - Refer to the examples
Expected Behavior
Samples to be updated to reflect the actuals
CSM Driver(s)
All drivers
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
NA

link: 27759


Api2000 ethernet network and added config files

Description
Api2000 ethernet network and added config files
Issues Resolved
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).

[ ] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).

[x] New endpoints supported are updated in the endpoints-support.md file.
[x] Changes are documented in the CHANGELOG.

I have added travis build results since it is not displayed here.
https://travis-ci.org/github/HewlettPackard/oneview-sdk-ruby/builds/724022308
https://travis-ci.org/github/HewlettPackard/oneview-sdk-ruby/jobs/724021072


[WIP] volume: Add support for volume size and env variable overrides (PROJQUAY-1090)

Add overrides to component spec
Add volumeSize and env fields to overrides spec field

I propose to add arbitrary labels as well. This will help with a lot of use cases where customers want to leverage labels to base automation and customization upon. One particular example is router sharding in OpenShift (https://docs.openshift.com/container-platform/4.9/networking/ingress-operator.html#nw-ingress-sharding-route-labels_configuring-ingress)

Hey @jonathankingfc, I thought we had agreed that we would focus on overrides, but this PR includes both labels and env vars. What are you plans here?

Updated the PR with fixes proposed by @ricardomaraschini and removed any implementation of env and label overrides (this should be supported in a later PR).


Less pager ignores arrow up/down

Environment
Windows build number: Microsoft Windows NT 10.0.19041.0
Windows Terminal version (if applicable): 1.0.1811.0
Windows PowerShell 5.1.19041.1 and PowerShell 7.0.2

Steps to reproduce

Run git diff HEAD~1 from within a git repo folder
Press the up arrow
Press the down arrow

Expected behavior
Pressing the up/down arrow the less pager move one line up/down
This is the behavior I experience:

in the cmd shell both inside and outside of Windows Terminal
in Windows PowerShell outside of Windows Terminal
in PowerShell outside of Windows Terminal

Actual behavior
Pressing the up/down arrow result in nothing
The key bindings listed in the less help still work:
e  ^E  j  ^N  CR  *  Forward  one line   (or N lines).
y  ^Y  k  ^K  ^P  *  Backward one line   (or N lines).

I believe there's an issue floating around about input in git bash being weird recently, but I can't find it off the top of my head

Thanks for the report! This is a /dupe of #6859 (the feature that will fix this issue) - Terminal 1.1 isn't susceptible to this, and is available in the Preview channel today.


Level overhaul

[X] remove universe polymorphism
[X] remove lmax, lsuc, etc. things in concrete and surface
[X] prepare for McBride universe liftings
[ ] implement McBride universe (even cruder stratification)

bors holdon

Planned: nuke RawUnivExpr

This is not as simple as I expected. ulift needs to be in the core

Almost ready

bors r-

bors r+

Related: https://github.com/RedPRL/redtt/commit/40829bf522329271735f369965b35c9ded3a04ca


Mark ScyllaDB as having a built-in exporter

ScyllaDB supports a built-in exporter on port 9180 since release 1.4.
Signed-off-by: Avi Kivity<EMAIL_ADDRESS>

Thanks!


Icons also for folders.

Would it be possible, to extend the file icons to folders which has the same name too? Like a folder called SASS also has the SASS icon for example.

Possible, yes, but I imagine that would go against a lot of user expectations. It would make the tree-view look confusing to see folder icons replaced with file icons.

Okay, so I should only do it locally then.

Yes. That's why we use CSS. =)

Or make it optional?

No, I think it's too niche a feature. Plus the stylesheet is already very complicated, and having all those rules apply to folders as well would likely impose maintenance issues.


OmniSharp server load timed out, i don't know what happend?

Starting OmniSharp server at 2017-9-20 22:51:29
    Target: /Users/Tom/Projects/TomSweet/TomSweet.sln

OmniSharp server started wth Mono
    Path: /Users/Tom/.vscode/extensions/ms-vscode.csharp-1.12.1/.omnisharp/run
    PID: 2879

OmniSharp: -s /Users/Tom/Projects/TomSweet/TomSweet.sln --hostPID 2842 --stdio DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/Tom/Projects/TomSweet' on host 2842."},"Seq":1,"Type":"event"}
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /Users/Tom/Projects/TomSweet
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        OmniSharp initialized with Mono MSBuild.
    MSBUILD_EXE_PATH: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/MSBuild.dll
    MSBuildExtensionsPath: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild
    TargetFrameworkRootPath: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild-frameworks
    RoslynTargetsPath: /Users/Tom/.vscode/extensions/ms-vscode.csharp-1.12.1/.omnisharp/omnisharp/msbuild/Roslyn
    CscToolPath: /Users/Tom/.vscode/extensions/ms-vscode.csharp-1.12.1/.omnisharp/omnisharp/msbuild/Roslyn

[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Detecting projects in '/Users/Tom/Projects/TomSweet/TomSweet.sln'.
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Loading project: /Users/Tom/Projects/TomSweet/TomSweet.Web/TomSweet.Web.csproj
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

macOS Sirrra 10.12.6 (16G29)
Visual Code  1.16.1 (1.16.1)
ms-vscode.csharp-1.12.1
Mono JIT compiler version <IP_ADDRESS> (d15-3/da80840 Thu Jul 20 16:43:07 EDT 2017)

Have you tried setting the 'omnisharp.projectLoadTimeout' to a higher number as mentioned in the error? I'm not sure how large your project is, but it seems that MSBuild is taking longer that 1 minute to perform a designtime build of it.
Also, I've heard of projects taking a long time to be processed by MSBuild when there are a large number of non-C# files that should be excluded. There have been several issues reported about this, for example: https://github.com/dotnet/cli/issues/7525.

Mine was the latter of what @DustinCampbell said.  Awesome!

@DustinCampbell
i have set the omnisharp.projectLoadTimeout to 3000,and it works well ,tku

I had the same problem with Omnisharp, Where intelligence was not working even with a Console application. I had to install .Net Framework 4, 4.5 and 4.7.2.
Hope this will help in case of issue with Omnisharp.
Thanks,
Shashi Bhan


Enhancement Request: Add Option to Navigate to Home Screen from Overlay Screen

Description:
Currently, the Android application lacks an option to navigate directly to the home screen when the overlay screen is displayed. To access the home screen, users are required to close the overlay. In my specific use case, I need to show an overlay on a particular screen and would greatly appreciate the inclusion of an option to navigate to the home screen directly from the overlay page. Implementing this suggestion would provide significant convenience and improve user experience.
Thank you for considering this enhancement.

What do you mean going to home screen ?

Marking it close as it's a very specific user requirement for us.


Windows classpath length issue

@sogaiu reported an issue on Windows where the classpath is hitting some length limit.
For Java 9 and up, it's possible to specify a classpath file (that contains the classpath argument) rather than passing the classpath itself as an argument. It might be possible to workaround the length issue with that.

First came across mention of this feature at:
https://stackoverflow.com/a/54270831
where there is some explanation.
The following quote is from the official docs at:
https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-4856361B-8BFD-4964-AE84-121F5F6CF111

In the command line, use the at sign (@) prefix to identify an argument file that contains java options and class names. When the java command encounters a file beginning with the at sign (@) , it expands the contents of that file into an argument list just as they would be specified on the command line.

So to use this functionality, it looks like an external file is necessary.
The official docs have a number of examples and the stackoverflow post has an example.

Hmm, inspecting the output of the Java 11 graal 19.3.0's native-image, I don't see the @-file support listed:
$ ./native-image --help

GraalVM native-image building tool

This tool can be used to generate an image that contains ahead-of-time compiled Java code.

Usage: native-image [options] class [imagename] [options]
           (to build an image for a class)
   or  native-image [options] -jar jarfile [imagename] [options]
           (to build an image for a jar file)
where options include:
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    --class-path <class search path of directories and zip/jar files>
                          A : separated list of directories, JAR archives,
                          and ZIP archives to search for class files.
    -D<name>=<value>      set a system property
    -J<flag>              pass <flag> directly to the JVM running the image generator
    -O<level>             0 - no optimizations, 1 - basic optimizations (default).
    --verbose             enable verbose output
    --version             print product version and exit
    --help                print this help message
    --help-extra          print help on non-standard options

    --allow-incomplete-classpath
                          allow image building with an incomplete class path: report type
                          resolution errors at run time when they are accessed the first
                          time, instead of during image building
    --auto-fallback       build stand-alone image if possible
    --enable-all-security-services
                          add all security service classes to the generated image.
    --enable-http         enable http support in the generated image
    --enable-https        enable https support in the generated image
    --enable-url-protocols
                          list of comma separated URL protocols to enable.
    --features            a comma-separated list of fully qualified Feature implementation
                          classes
    --force-fallback      force building of fallback image
    --initialize-at-build-time
                          a comma-separated list of packages and classes (and implicitly all
                          of their superclasses) that are initialized during image
                          generation. An empty string designates all packages.
    --initialize-at-run-time
                          a comma-separated list of packages and classes (and implicitly all
                          of their subclasses) that must be initialized at runtime and not
                          during image building. An empty string is currently not
                          supported.
    --no-fallback         build stand-alone image or report failure
    --report-unsupported-elements-at-runtime
                          report usage of unsupported methods and fields at run time when
                          they are accessed the first time, instead of as an error during
                          image building
    --shared              build shared library
    --static              build statically linked executable (requires static libc and zlib)
    -da                   disable assertions in the generated image
    -ea                   enable assertions in the generated image

Available macro-options are:
    --language:nfi
    --language:js
    --language:regex
    --language:llvm
    --tool:coverage
    --tool:profiler
    --tool:chromeinspector
    --tool:agentscript

Whereas for java -help (for AdoptOpenJDK 11), I see:
    @argument files
                  one or more argument files containing options

May be there isn't any support for this in native-image...

Did some brief testing and didn't get the sense that @-files are supported.
Have also asked at the graalvm slack's #native-image.

Apparently, other approaches include:

Pathing jar: https://stackoverflow.com/a/201969
Classpath wildcards: https://stackoverflow.com/a/202034

Brief testing of the pathing jar suggests it might work.

Perhaps the other approach (classpath wildcard) might not be too bad since Windows 10 has support for symlinks (I think).
May be a temporary directory could be made, filled with symlinks to each .jar item that is desired for the classpath and the non-jar items can be specified normally:

Class path entries can contain the basename wildcard character *, which is considered equivalent to specifying a list of all the files in the directory with the extension .jar or .JAR.

...

To match both classes and JAR files in a single directory foo, use either foo;foo/* or foo/*;foo.

via:
https://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html#Understanding
(The link actually points to the section immediately after the relevant one, so scrolling up might help.)

One more approach that has turned up is to use the CLASSPATH environment variable.
That sounds the simplest, but I don't know about the length limitations of this on Windows.

May be trying to use symlinks is worth considering.
I'm not exactly sure what the requirements are, but found this from some time back:

Starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator.

and:

Now in Windows 10 Creators Update, a user (with admin rights) can first enable Developer Mode, and then any user on the machine can run the mklink command without elevating a command-line console.

May be "Developer Mode" needs to be enabled.

Below are some concrete numbers for the project I had difficulty with.

The project that has the problem has a classpath length of 8487 on a Linux box -- still need to get some measurements on Windows.
There are 93 items in the classpath string, with 88 of them (.jars) in the local maven repository.  The rest are directories.
The path to the local maven repository is 26 characters, so a bit under 2300 of the characters are just the maven repository path.

I got confirmation from Paul Wögerer on #native-image that there isn't currently support for @-files in native-image.

It could be that the clj / clojure tooling on Windows is experiencing this issue.
If it turns out there's a way for the classpath to get shortened either before clj / clojure receives it, or before clj / clojure launches its final jvm, may be clj.native-image will inherit a short enough classpath.  Then, may be native-image will launch without problems.

An attempt at a summary of the state of work-arounds possible in native-image:

Pathing.jar: experiments suggest, yes: https://github.com/taylorwood/clj.native-image/issues/18#issuecomment-559240320
Classpath wildcards: apparently yes: https://github.com/oracle/graal/issues/1558#issuecomment-517587469
@-files: not supported according to Paul Wögerer on #native-image

As mentioned above, the manifest file has some limitations to it.  I don't know if that's something that can be surmounted.  On the surface, it makes the pathing.jar approach not-so-attractive.
Due to the symlinks being available on developer-mode-enabled Windows 10 machines, that in combination with the classpath wildcard functionality, seems promising.

To expand a bit on the "promising" idea, it might work like this:

Use clj to determine a classpath
Separate out the directories from the jar files in the classpath
Create a new directory, say symholder, to hold symlinks to the jar files
Create symlinks to the jar files within the new directory symholder
Create a new classpath consisting of the directories from the classpath along with an entry for symholder/*
Use the new classpath for both clj / clojure and native-image invocation

Notes:

The symlinks to the jar files need to be named in a way that they don't conflict.  Just taking the names of the jar files themselves might occasionally lead to conflicts.

The order of things in classpath might change using this procedure.  According to the "Setting the Class Path" doc:

The order in which the JAR files in a directory are enumerated in the expanded class path is not specified and may vary from platform to platform and even from moment to moment on the same machine. A well-constructed application should not depend upon any particular order. If a specific order is required, then the JAR files can be enumerated explicitly in the class path.

The symlinks to the jar files must be directly within symholder and not within a subdirectory of symholder.  Apparently the classpath wildcard functionality is not recursive:

Subdirectories are not searched recursively. For example, mydir/* searches for JAR files only in mydir, not in mydir/subdir1, mydir/subdir2, and so on.

Reference: Setting the Class Path : Class Path Wild Cards

Supposing there was code or a tool to accomplish the symlink + classpath wildcard idea, it might be used as follows:

Use the tool / code to create a new classpath that makes use of the directory with symlinks describe in the previous comment
clj.native-image's native-image-classpath (or a separate function) uses the new classpath to invoke native-image

Not sure yet how to invokce clj.native-image via an alias in a convenient way.  That is, invokding clj -A:native-image seems like it will lead to a too-long-classpath being used.
Something like:
clj -Scp <new-shorter-classpath> -A:native-image

seems like it could work, but it's certainly not as nice.  May be that's not worth worrying about.

On Windows 10, I compared the .cp file created via clj -A:native-image, to a plain invocation of clj.
Oddly enough, the native-image classpath is quite a bit longer (~7500 bytes vs ~250 bytes).
I fabricated an invocation of native-image using the content of the .cp file for the plain invocation.  The result was a successful build.
A similar fabricated invocation using the content of the .cp file from the clj -A:native-image run ended in failure:
...
The input line is too long.
The syntax of the command is incorrect.

I will try to compare the two classpaths.

It looks like invoking clj -A:native-image for at least some projects leads to clj.native-image's dependencies (including transitive) being added to the .cp file for those projects.
Specifically, (something close to, if not) the following (obtained via clj -Stree in clj.native-image's project directory and then compared with the .cp file content):
aopalliance/aopalliance1.0
com.amazonaws/aws-java-sdk-core1.11.184
com.amazonaws/aws-java-sdk-kms1.11.184
com.amazonaws/aws-java-sdk-s31.11.184
com.amazonaws/jmespath-java1.11.184
com.fasterxml.jackson.core/jackson-annotations2.5.0
com.fasterxml.jackson.core/jackson-core2.5.5
com.fasterxml.jackson.core/jackson-databind2.5.5
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor2.6.7
com.google.guava/guava20.0
com.google.inject/guice$no_aop4.0
com.googlecode.javaewah/JavaEWAH1.1.6
com.jcraft/jsch.agentproxy.connector-factory0.0.9
com.jcraft/jsch.agentproxy.core0.0.9
com.jcraft/jsch.agentproxy.jsch0.0.9
com.jcraft/jsch.agentproxy.pageant0.0.9
com.jcraft/jsch.agentproxy.sshagent0.0.9
com.jcraft/jsch.agentproxy.usocket-jna0.0.9
com.jcraft/jsch.agentproxy.usocket-nc0.0.9
com.jcraft/jsch0.1.54
commons-codec/commons-codec1.10
commons-io/commons-io2.5
commons-logging/commons-logging1.1.3
javax.annotation/jsr250-api1.0
javax.enterprise/cdi-api1.0
javax.inject/javax.inject1
joda-time/joda-time2.8.1
net.java.dev.jna/jna-platform4.1.0
net.java.dev.jna/jna4.1.0
org.apache.commons/commons-lang33.5
org.apache.httpcomponents/httpclient4.5.4
org.apache.httpcomponents/httpcore4.4.8
org.apache.maven.resolver/maven-resolver-api1.1.1
org.apache.maven.resolver/maven-resolver-connector-basic1.1.1
org.apache.maven.resolver/maven-resolver-impl1.1.1
org.apache.maven.resolver/maven-resolver-spi1.1.1
org.apache.maven.resolver/maven-resolver-transport-file1.1.1
org.apache.maven.resolver/maven-resolver-transport-http1.1.1
org.apache.maven.resolver/maven-resolver-transport-wagon1.1.1
org.apache.maven.resolver/maven-resolver-util1.1.1
org.apache.maven.shared/maven-shared-utils3.1.0
org.apache.maven.wagon/wagon-provider-api3.0.0
org.apache.maven/maven-artifact3.5.2
org.apache.maven/maven-builder-support3.5.2
org.apache.maven/maven-core3.5.2
org.apache.maven/maven-model-builder3.5.2
org.apache.maven/maven-model3.5.2
org.apache.maven/maven-plugin-api3.5.2
org.apache.maven/maven-repository-metadata3.5.2
org.apache.maven/maven-resolver-provider3.5.2
org.apache.maven/maven-settings-builder3.5.2
org.apache.maven/maven-settings3.5.2
org.clojure/clojure1.10.1
org.clojure/core.specs.alpha0.2.44
org.clojure/data.codec0.1.0
org.clojure/data.xml0.2.0-alpha5
org.clojure/java.classpath0.3.0
org.clojure/spec.alpha0.2.176
org.clojure/tools.cli0.3.5
org.clojure/tools.deps.alpha0.7.549
org.clojure/tools.gitlibs0.2.64
org.clojure/tools.namespace0.3.1
org.clojure/tools.reader1.3.2
org.codehaus.plexus/plexus-classworlds2.5.2
org.codehaus.plexus/plexus-component-annotations1.7.1
org.codehaus.plexus/plexus-interpolation1.24
org.codehaus.plexus/plexus-utils3.1.0
org.eclipse.jgit/org.eclipse.jgit<IP_ADDRESS>712302008-r
org.eclipse.sisu/org.eclipse.sisu.inject0.3.3
org.eclipse.sisu/org.eclipse.sisu.plexus0.3.3
org.slf4j/jcl-over-slf4j1.7.25
org.slf4j/slf4j-api1.7.25
org.sonatype.plexus/plexus-cipher1.4
org.sonatype.plexus/plexus-sec-dispatcher1.4
org.springframework.build/aws-maven5.0.0.RELEASE
s3-wagon-private/s3-wagon-private1.3.1
software.amazon.ion/ion-java1.0.2

@sogaiu I'm having the same issue and I'm currently stuck. I cannot use Leiningen because it doesn't work with cljfx and uberjar and I cannot use deps.edn because of this issue. I haven't had any issues with Leiningen and lein-native-image plugin.
Did you figure out how to remove those transitive dependencies?

I don't think a solution was arrived at that made it into clj.native-image.
IIRC, the compilation being done in the same process as clj.native-image running can lead to this situation.  It's been a while but I think it had to do with overlaps between clj.native-image's dependencies and those of one's project: https://github.com/taylorwood/clj.native-image/issues/20
As mentioned in #20, I worked around this once by using an older version of clj.native-image.  Whether that sort of thing works might be project-specific though.
Not sure if it would help for your case, but one thing that came about from these investigations was this: https://github.com/sogaiu/clj-pathing-jar
Sorry if this is a bit fragmented -- don't have the context loaded up :sweat_smile:

Hello!
I have just faced the same issue and it seems that graal now supports arguments file. https://github.com/oracle/graal/pull/2443
Will it help with resolving the issue?


Stop server after test when using promises

As far as I understand a call to "end" for the callback version of supertest does actually stop the server. Meanwhile it does not look like this has been implemented for the promise version. I am concerned about this because with mocha --watch on rerunning the tests they fail with an "EADDRESSINUSE" error.
So is there a way to take down the server after a test with the promise version? If not then this should probably added, maybe with a .stop() function or so.

Never mind, I was doing it wrong.

@Levino can you please explain what you were doing wrong? (if you remember)

@nabilfreeman No I do not remember. Please share some example that shows your issue and I will have a look.

Also something else to remember: Supertest can test an express app without starting a server! Maybe that is already enough?


[WIP] Store balance value at BInt.

Currently, Balance.swift cannot store UInt64 or more.
So, How about use big number integer like BInt?

@noppefoxwolf Yes! I was going to use BigInt instead of UInt64 eventually so thank you for doing it🎉 will review this PR!

about BigInt, I was going to use BigInt and is already in the repository actually. I am fine with the one you choose though 👍

Please check these PRs.
https://github.com/yuzushioh/Swift-Big-Integer/pull/2
https://github.com/yuzushioh/Swift-Big-Integer/pull/3
I will modify Cartfile when able to be add SMP framework with Carthage.

@noppefoxwolf 👍 I merged those two PRs.

@yuzushioh fixed. 🙇

↑ I did it 💪🏻


Question: How can I load string vectors from the environment?

I have the following configuration:

pub fn get_figment_config() -> Figment {
    Figment::new().merge(Env::prefixed("APP_").split("__"))
}

#[derive(Deserialize, Debug, Clone)]
struct Config {
   pub name: Vector<String>
}

And I have the environment variable APP_NAME="name1,name2,name3", but this does not work and I get this error:
Error: Error { tag: Tag(Default, 1), profile: Some(Profile(Uncased { string: "default" })), metadata: Some(Metadata { name: "`APP_` environment variable(s)", source: None, provide_location: Some(Location { file: "crates/utilities/src/lib.rs", line: 54, col: 20 }), interpolater:  }), path: ["background", "mailer", "data"], kind: InvalidType(Str("Dew1,Deb2"), "a sequence"), prev: None }

Note: The paths may be a bit different, I just put a random struct in the example.

Please see the Env docs. In short, it's:
APP_NAME="[name1,name2,name3]"

Thank you!


feat(avm): link up storage

Please read contributing guidelines and remove this line.

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

Current dependencies on/for this PR:

master

PR #4142

PR #4150   👈

This stack of pull requests is managed by Graphite.

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 16.8 (-79%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit af2be878 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,380
179,492
716,036

l1_rollup_calldata_gas
221,144
866,228
3,447,824

l1_rollup_execution_gas
928,916
3,900,042
24,034,295

l2_block_processing_time_in_ms
1,416 (+1%)
5,533 (+4%)
21,216 (+2%)

note_successful_decrypting_time_in_ms
406 (-14%)
930 (+1%)
3,408 (+2%)

note_trial_decrypting_time_in_ms
:warning: 16.8 (-79%)
58.7 (+15%)
143 (-21%)

l2_block_building_time_in_ms
16,166
64,009
256,535 (+1%)

l2_block_rollup_simulation_time_in_ms
11,756
46,615
187,086 (+1%)

l2_block_public_tx_process_time_in_ms
4,371
17,305
69,154 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,098 (-2%)
30,488 (-1%)

note_history_successful_decrypting_time_in_ms
2,192
4,358 (-3%)

note_history_trial_decrypting_time_in_ms
127 (-3%)
208 (-10%)

node_database_size_in_bytes
3,520,008
3,558,858

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
213
44,681
25,561

private-kernel-ordering
166
43,753
14,809

base-rollup
1,195
128,338
881

root-rollup
79.3
4,088
677

private-kernel-inner
292
71,208
25,561

public-kernel-private-input
206
31,863
25,561

public-kernel-non-first-iteration
204
31,905
25,561

merge-rollup
7.64
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,455
32,219

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
377
1,087

Metric
1 public data writes

tx_sequencer_processing_time_ms
536


Merge changes up to  istio-proxy:release-1.1.

Merge changes up to  istio-proxy:release-1.1.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


reliable inter-partition barrier

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

I'm trying to ensure that NAMD has reached certain phases of startup before allowing certain inter-partition one-sided operations.
However, if I call the NAMD DataExchanger replica_barrier() function too early the entry points don't exist on every partition so I get
a seg fault.  This seems like a chicken-vs-egg problem that needs to be addressed via an entry point set up during Converse
startup.  I only need the barrier for pe 0 of each partition.

Original date: 2015-08-13 20:20:11

Ping.

Original date: 2015-08-17 19:14:14

Will the attached patch to NAMD solve the problem?

Original date: 2015-08-18 22:11:30

It's not that the entry points don't exist on every thread on the node, but that they don't exist on pe 0 of every partition, unless I've somehow misdiagnosed the issue.

Original date: 2015-08-28 16:38:45

Using a slightly modified version of Nikhil's patch that guarantees that
CkpvAccess(BOCclass_group).dataExchanger is initialized on pe 0 before any message processing can call this function:
#define CPROXY_DE(x) ((CProxy_DataExchanger)(x))
void recvEvalCommand(DataMessage *dmsg) {
Pointer msg(dmsg);
CPROXY_DE(CkpvAccess(BOCclass_group).dataExchanger)[CkMyPe()].recv_eval_command(msg);
}
I now get this error (after a few tries):
------- Partition 0 Processor 0 Exiting: Called CmiAbort ------
Reason: Error! This group proxy has not been initialized!
Fatal error on Partition 0 PE 0> Error! This group proxy has not been initialized!
After adding some debugging, it looks like it is being called from inside the LrtsInitCpuTopo function, which calls a scheduler to process its own messages:
FATAL ERROR: BOCgroup::dataExchanger is zero in recvRed!
FATAL ERROR: See http://www.ks.uiuc.edu/Research/namd/bugreport.html
[0] Stack Traceback:
[0:0] CmiAbortHelper+0x73  [0xcd6ba3]
[0:1] _Z8NAMD_bugPKc+0x76  [0x6175f6]
[0:2] recvRed+0xda  [0xb87b6a]
[0:3] CsdSchedulePoll+0x95  [0xcdf035]
[0:4] LrtsInitCpuTopo+0x280  [0xd0d810]
[0:5] _Z10_initCharmiPPc+0x10fd  [0xbd756d]
[0:6] _Z11master_initiPPc+0x78  [0x61e698]
[0:7] main+0x18  [0x61a798]
[0:8] __libc_start_main+0xfd  [0x301e01ed1d]
[0:9]   [0x5ab8f9]
This means that messages from other partitions may arrive during the call to initCharm.
Is there a way to re-enqueue a message for delivery later?  When I try just re-sending it seems to loop forever on that one message.
For the record, my test case is:
./charmrun ./namd2 ++local +p16 ++ppn 2 +replicas 4 +stdout out.%d alanin -- replicaBarrier
with apoa1 running +p16 on the same 16-core/32-thread machine.

Original date: 2015-08-28 19:26:09

OK, I think I know how to fix this to implement a reliable cross-partition startup barrier.

Original date: 2015-08-28 20:01:45

Yes, I think I've achieved a workaround in NAMD.

Original date: 2015-08-28 20:05:20

Can I view it? Trying to understand the missing piece.

Original date: 2015-08-28 22:21:06

...

static int recvRedCalledEarly;

...
void recvRed(DataMessage *dmsg) {

if ( CkpvAccess(BOCclass_group).dataExchanger.isZero() ) {

  ++recvRedCalledEarly;

  CmiFree(dmsg);

  return;

}

CPROXY_DE(CkpvAccess(BOCclass_group).dataExchanger)[CkMyPe()].recv_red();
CmiFree(dmsg);
}

...
void replica_barrier() {

for ( ; recvRedCalledEarly > 0; --recvRedCalledEarly ) CPROXY_DE(CkpvAccess(BOCclass_group).dataExchanger)[CkMyPe()].recv_red();

CPROXY_DE(CkpvAccess(BOCclass_group).dataExchanger)[CkMyPe()].barrier();
CpvAccess(breakScheduler) = 0;
while(!CpvAccess(breakScheduler)) CsdSchedulePoll();

Original date: 2015-09-17 19:50:52

Jim did custom implementation for NAMD.

Original date: 2015-12-03 23:20:15

Dropping target version, to avoid confusing people into thinking the Charm code has such a thing recently implemented.


Empty Repo?

@frankdejonge This repo is empty. Are you discontinuing this adapter?

Oh, I see you just left it in the original flysystem repo. You should have really moved it here due to it's php extension requirements. Bit late now I guess.


[IDEA] Superconductors

Have you read the code of conduct?

[X] I have read the code of conduct.

Has this idea already been presented?

[X] My idea has not been presented yet.

Description of your idea
Add section about superconducting at room temp
Links
No response
Anything else?
No response

superconductors in trains and hoverboards


[TW#27856] esp_mesh_send does not send big buffers

Environment

IDF version (run git describe --tags to find it): v3.1.1-74-g0b3fdf420 (but the same behavior occurs on the latest master commit)
Build System: Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System:     Windows|Linux
Power Supply:         external 5V

Problem Description
esp_mesh_send fails to send large buffers (haven't had enough time to figure out the precise number but ours failed at around 5000 bytes) with the ESP_ERR_MESH_ARGUMENT error code, however, the documentation seems not to mention any upper bound. We're using a somewhat modified code of the internal communication example found in this repo.
Is this a bug in the implementation, or is the enforced upper bound valid but is  not mentioned in the documentation?

esp_mesh_send does not support Fragmentation now. One packet size is limited to MESH_MTU( defined in ./esp-idf/components/esp32/include/esp_mesh.h).

Thanks for your advice. We will consider adding this part of the comment.

@mandreyel Will temporarily close this issue, feel free to reopen. Thanks.

Does it resolve?
Problem > Root can't send more than 1400 char approximate to other nodes!
IDF version > release/v4.0 (v4.0.1)
Compiler version > xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Mesh example using > https://github.com/espressif/esp-idf/tree/master/examples/mesh/internal_communication


Create backend_multi_input

there is a sample unit test to test '#11245'
Summary
Related Issues
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[ ] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Please add your code sample to your issue ticket (e.g. link to a GitHub Gist), rather than opening a PR.