"Controller" suffix required?

Is it possible to run sailsjs w/out the required "Controller" suffix on controller filenames in the controller dir?
Using blueprint actions "Hello.js" with a hi method doesn't generate /hello/hi.  But the endpoint is generated when I rename the file to "HelloController.js".
I'd prefer not to use the suffix, but please update docs for clarity either way.
http://sailsjs.org/#!/documentation/reference/blueprint-api
ps.  Loving what I see so far in the framework so far!

Ya, I often wondered why controllers have the suffix, but models, services, and policies ect . ..  don't

@ItsLeeOwen yes, the suffix is required. Maybe we'd could consider everything in controllers/ to be a controller with a route named after the module (file) name.

I agree with all of you guys, this suffix is pretty useless. Do you mind writing a PR @ItsLeeOwen please? I'll be happy to merge it as soon as it works.

Hi there, was such pr proposed? If not, would it be accepted if done correctly?


Handover partner field issue

See Issue --> #14

Coverage decreased (-0.001%) to 99.299% when pulling 3dbaa8def174267c037500e79031c1239f6f8e63 on handover_partner_field_issue into 208f9234fe57aaabc54b70b43b4be2df2226e04a on master.

0.001% coverage decreasing is meaningless. Decide to merge branch


Typo leaflet name

Named leafjet instead of leaflet : https://cdn.svgporn.com/logos/leafjet.svg

Updated in a02fbe40d0c2e0658ac614783e452fca9d0f17f1
Thanks


Can't install RoundedBoxView package on Profile259

Using Xamarin.Forms with Profile 259 does not let me install this package. There is a reason of this or this is not going to be available on this profile.
Regards

same here

same here

I already solved this problem! 👍
https://forums.xamarin.com/discussion/85174/how-to-deal-with-profile259-vs-profile78-hell

Thank you! Also, you can modify your project by doing Right Click > Options(Properties) on Xamarin Studio (Visual Studio for Mac) and in the General Tab change your profile.
Thanks @kikolopes90 for your solution also. Supporting  Profile 259 is to keep compatibility with the default Xamarin Forms XAML Pages template

#123

#123 Here is a pull request for this so there is no reason to keep this issue open


Add expression parser evaulator for build filter

continuation of https://github.com/drone/drone/issues/2171#issuecomment-327589521, using the expression library from https://github.com/drone/expr

ok, quick guide to vendoring ...
download the govendor tool
go get -u github.com/kardianos/govendor

and make sure you have a local copy of the expr library
go get -u github.com/drone/expr

and then you can run this command:
govendor add github.com/drone/expr

this will add the code to the vendor directory, which gets checked into the repository.

Thoughts on moving this logic into the fn declaration? That would reduce the need for having the extra variable declarations. Or is catching a potential error from the selector initialization important?

I'm guessing you were looking to clean up / simplify the code. That file is definitely getting a bit unruly after a lot of changes and years of evolution ...
If you wanted to clean things up a bit, you could break out the function like this:
func createFilterFunc(filter rpc.Filter) (queue.Filter, error) {
	var st *expr.Selector
 	var err error

 	if filter.Expr != "" {
 		st, err = expr.ParseString(filter.Expr)
 		if err != nil {
 			return nil, err
 		}
 	}

	return func(task *queue.Task) bool {
 		if st != nil {
 			match, _ := st.Eval(expr.NewRow(task.Labels))
 			return match
 		}

  		for k, v := range filter.Labels {
  			if task.Labels[k] != v {
  				return false
  			}
  		}
  		return true
	}, nil
}

You could then invoke this above function to get the filter, and pass to the poller:
fn, err := createFilterFunc(filter)
if err != nil {
	return nil, err
}
task, err := s.queue.Poll(c, fn)

I am fine either way, so I'll leave the decision up to you :)

good recommendation!

Nice job, well done!
@bradrydzewski
Could you provide some instructions on how to use this feature?

I am planning on writing official docs, but in the mean time, here is a quick overview.
The first step is to define a query used to filter which builds the agent will accept. The query expression is similar to sql. For example:
platform = 'linux/amd64' AND repo GLOB octocat/*

There are two fields available by default:

repo is the repository name
platform is the target platform for the build

The user can define additional fields in the labels section of the .drone.yml file. These fields can then be evaluated by the query expression:
pipeline:
  build:
    image: golang
    commands: go test

label:
  - ram=32
  - cpu=16

For example:
platform = 'linux/amd64' AND ram >= 32 AND cpu >= 16

The query expression string is passed to the agent using the DRONE_FILTER environment variable. The agent will only process builds when the expression evaluates to true.

@bradrydzewski is it possible to define labels at each step so individual steps are executed by a given agent? It does not look like is possible right now but I just wanted to confirm.

It does not look like is possible right now but I just wanted to confirm

It is not possible, but perhaps this is something that would be possible when we launch the .drone.js file, which will have more advanced scripting and conditional capabilities.

Quick question though: this new upcoming functionality in .drone.js, is something that can be tested? Like we're in the process of choosing our CI tool and I personally like Drone and features such as this one would really help in the decision process (as well as the monorepo one ;)).

There should be a release candidate for 0.9 end of month, which will include mono-repo support. The .drone.js will probably be part of 0.10. So will be a while.


Please how do I use extracted text and map it to values

Hi please how do I retrieve extracted text and map it to several values?

i guess i'd have to edit the native code then

In case you would like to receive the whole string without manipulation you just need to get the return variable: "resultText".


Support for InvokeAI .png metadata

Please add support for the prompt metadata added by InvokeAI's version of stable diffusion.  https://github.com/invoke-ai/InvokeAI  Older versions include a 'Dream' tEXt chunk in a plaintext cli command format and newer versions add an additional 'sd-metadata' tEXt chunk with json formatted prompt related data.
Examples below.  Hopefully the upload doesn't strip the metadata.

looks like the metadata is intact, thanks!

This should be working in the latest release
https://github.com/RupertAvery/DiffusionToolkit/releases/tag/beta_v0.7


Remove explicit check for annotations

Check for the addr annotation is duplicate here, because its already
covered by parseVaultConfig method.
Fixes #938
Signed-off-by: flozzone<EMAIL_ADDRESS>

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixes #938

License
Apache 2.0

What's in this PR?
Remove checks for the address annotation, because it is already done by the parseVaultConfig method.
Why?
This allows Secrets and Unstructured configurations to be mutated even there is no explicit vault.security.banzaicloud.io/vault-addr annotation. It will use the default configuration value instead.
Additional context
Testings with this fix showed that Secrets get mutated as expected. See docker.hub repository
https://hub.docker.com/repository/docker/florinzz/vault-secret-webhook with the PR-remove-annotation-check. I assume this will applies also to Unstructured configurations.
Checklist

[x] Code meets the Developer Guide
[x] User guide and development docs updated (if needed)
[x] Related Helm chart(s) updated (if needed)

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

Thanks @flozzone, probably #1006 is also going to be easier a bit with this one!


chore: create contribution document

Add a contribution document to the repository.
Acceptance criteria

[ ] Create a new file called CONTRIBUTING.md in the project's root.
[ ] Add a description of the steps to follow when contributing.
[ ] Commit changes and open a pull request.

Close the issue


stabilize @std/semver

part of #4600

[x] fully documented
[ ] fully tested
[x] no ongoing breaking change discussion
[ ] 1.0.0-rc.1
[ ] wait 1 month
[ ] 1.0.0 (stabilization)

Blocker: #4845


Add useExternalWithApp

Some middleware, such as express-stormpath, decorates the app before becoming middleware. From it's docs: app.use(stormpath.init(app, { }));
It's pretty dumb, in my opinion, but it's how express middleware is sometimes written, and I need to use that middleware.
What are your thoughts on adding this?
As an example of how I'm using this, here's my middleware function in my Main.js FFI:
// Main.js
var stormpath = require('express-stormpath');
exports.stormpathWithConfig = function(app) {
  return stormpath.init(app, {
    debug: 'info',
    web: { ... }
  });
}

foreign import stormpathWithConfig :: forall e. Application -> Fn3 Request Response (ExpressM e Unit) (ExpressM e Unit)

``` purescript
appSetup = do
  useExternal $ static_ "static/dist"
  useExternalWithApp stormpathWithConfig

This middleware, then, handles requests to "/login", "/register", "/forgotpassword", etc.

Sorry for the late reply. Yeah, it's a bit strange, but since there is rather popular middleware requiring it, let it be. Could you please add a test for it?

Sure. Writing a test seems a bit tricky. I have to come back to this after I finish some other things, though.

Sure, no worries :+1:

I feel terrible about it, but I just can't get myself together enough to write tests for this. I'll close - maybe someone else can pick up the remaining work.


Limits of CPU/Memory are confusing. Are they per container or per group?

East US (Linux), for example, has a limit of 4 CPU and 14 GB Memory.
Should I be able to deploy 5 containers of 1 CPU and 1 GB inside a single container Group? Because it doesn't seem possible as I'm getting this error: The requested resource is not available in the location 'eastus' at this moment. Please retry with a different resource request or in another location. Resource requested: '5' CPU '5' GB memory 'Linux' OS
In which case I assume the limit of 4 CPU is per Container Group. In that case, why is there a limit of 60 containers per group? How can I deploy more than 4 containers per group if each container requires at least 1 CPU?
Any information on this regard would be appreciated. Thanks!

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

ID: c7a4f16d-190f-a1c0-fab0-5a9065554166
Version Independent ID: 0dab3702-f14f-7fb8-f9d7-e39be7230ab5
Content: Azure Container Instances quotas and region availability
Content Source: articles/container-instances/container-instances-quotas.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

Thanks for the feedback! We are currently investigating and will update you shortly.

@goenning I can totally understand your point. We do have a backlog work item open to make the documentation more clear.
Here is the answer from the doc author which I think will help answer your questions.

You raise a good question, and I see our documentation isn't totally clear on the point. (We have a backlog doc work item to clarify.) The short answer is that the regional limits apply to a container group. ACI allocates container group resources based on the sum of each instance's resource requests. These instances should be able to share the group's CPU and memory resources, unless you specify a resource limit on individual containers. See the ResourceLimits and ResourceRequests descriptions in the REST API.

@goenning Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


[JENKINS-50216] - RemotableGoogleCredentials.expiration fix

Supersedes #15 much more simply. See my explanation in JENKINS-50216. CC @oleg-nenashev

OTOH I would advice to recover the roundtrip and "data migration" tests from #15 . The latter one would need to be adjusted to just ensure that the data loads and that the key is invalidated.

AFAICT—based on my interpretation of the bug and the plugin’s expected usage of this class as described in JIRA—there is no reason to rename the field, no reason to have tests covering XStream round-tripping or data migration, and no reason to mark the plugin as incompatible:

Normally the class is serialized only over Remoting, which would always be using bytecode from the currently installed plugin version (never persisted).
The XStream occurrence is one-way (serialized for a checksum, never deserialized), and given other bugs in the plugin, what it serializes to is completely irrelevant.

Any update on when this might be released? for some reason im still running into the issue with the latest commit of .6

@astroilov thanks! Let me know once it is released, I will update the documentation.
P.S: I still think that some roundtrip tests from #15 would not hurt, because currently the plugin has almost no tests with JenkinsRule. But I will unlikely have time to recover it. Created https://issues.jenkins-ci.org/browse/JENKINS-51076 as a follow-up

@astroilov Please let us know if you have any issues with the release. The PR is merged to master, but it is not available to users so far

Sorry, I was out of office the last few days. This is now released.

Thanks a lot!


RRES-RAYLIB.H is missing the extern "C defines

Hello!!
rres-raylib.h is missing the cplusplus if defined stuff:
before the functions:
#if defined(__cplusplus)
extern "C" {            // Prevents name mangling of functions
#endif

and at the end of the functions (after #endif // RRES_RAYLIB_IMPLEMENTATION)
#if defined(__cplusplus)
}
#endif

with this added, rres can be compiled without any issue on c++, including it on a separated .c file using the rres headers and its implementations. It compiles, and it works.
Results:

Reviewed!

thx!!


Bottom options bar in manga viewer glitched

Steps to reproduce
Read a manga
Expected behavior
The options bar should be completely hidden
Actual behavior

You can see it glitched at the navbar
Mangayomi version
0.1.65
Device
iPad Mini 6, iPadOS 17
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated all installed extensions.

Ok will check it

Ok will check it
Bug is still there, even on v0.2.2 unfortunately


Xcode compilation is slow on macOS 14 bots

There seems to be a pretty high frequency of timeouts right now on mac ci bots.
Examples:
From https://github.com/flutter/flutter/pull/150585
https://github.com/flutter/flutter/pull/150585/checks?check_run_id=26535171974
https://github.com/flutter/flutter/pull/150585/checks?check_run_id=26535172379
From https://github.com/flutter/flutter/pull/150614
https://github.com/flutter/flutter/pull/150614/checks?check_run_id=26520636606
https://github.com/flutter/flutter/pull/150614/checks?check_run_id=26520632867
From https://github.com/flutter/flutter/pull/150517
https://github.com/flutter/flutter/pull/150517/checks?check_run_id=26528249189
https://github.com/flutter/flutter/pull/150517/checks?check_run_id=26528248334

Timeout seems to only be happening in the try pool
https://ci.chromium.org/ui/p/flutter/builders/try/Mac build_ios_framework_module_test?limit=50
vs
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac build_ios_framework_module_test?limit=50

Timeout seems to only be happening in the try pool https://ci.chromium.org/ui/p/flutter/builders/try/Mac build_ios_framework_module_test?limit=50 vs https://ci.chromium.org/ui/p/flutter/builders/prod/Mac build_ios_framework_module_test?limit=50

Saw this one in prod/post-submit: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac tool_integration_tests_1_4/17133/infra

Possibly related to trying out the Xcode beta in https://github.com/flutter/flutter/pull/150405
The slow bots show the Xcode 16 beta xcode_16a5171c in the Xcode caches:
 drwxr-xr-x   6 chrome-bot  staff  192 Jun 18 10:32 xcode_15a240d
 drwxr-xr-x   6 chrome-bot  staff  192 Jun 18 09:43 xcode_16a5171c
 drwx------   5 chrome-bot  staff  160 Jun 18 10:36 xcode_runtime_dmg_ios-17-0_15a240d

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8744492829230850609/+/u/Show_xcode_cache/stdout
And the passing ones don't:
drwxr-xr-x   6 chrome-bot  staff  192 Jun 14 10:02 xcode_15a240d

The test logs show they are correctly and exclusively using the 15a240d version of Xcode, so I'm not sure why having the other one installed would matter.
@christopherfujino any idea how to clear the Xcode caches to ensure only 15 is present?  go/flutter-infra-xcode#cache-pollution  doesn't have explicit instructions.  I see go/flutter-luci-playbook#delete-corrupted-mac-caches.

Saw this one in prod/post-submit: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac tool_integration_tests_1_4/17133/infra

Hmm, well that doesn't bode well for my theory...

Maybe we should split these out by builder/test target, as I think Jenn and I are investigating different timeouts

go/flutter-luci-playbook#delete-corrupted-mac-caches makes it sound like you need to go in one by one and rm rm -rf via ssh on each bot

go/flutter-luci-playbook#delete-corrupted-mac-caches makes it sound like you need to go in one by one and rm rm -rf via ssh on each bot :'(

@bdero do you know if--with SALT--you can run a remote command on all the minions at once?

The last 5 timeouts of https://ci.chromium.org/ui/p/flutter/builders/try/Mac tool_integration_tests_1_4?limit=100 in the try pool had xcode_16a5171c in the cache.

The last 5 timeouts of https://ci.chromium.org/ui/p/flutter/builders/try/Mac tool_integration_tests_1_4?limit=100 in the try pool had xcode_16a5171c in the cache.
I wish I knew why this is happening, ideally these installations wouldn't impact each other.

There are two hard problems in computer science: naming things, and caching CI artifacts.

@christopherfujino the xcode_16a5171c bots be removed from the try pool in the meantime?

@christopherfujino there's code in the recipe to remove the cache:
https://cs.opensource.google/flutter/recipes/+/master:recipe_modules/osx_sdk/api.py;l=244-247
Would it be easier to change the recipe to run that on test run timeout until all the bots have it cleared up?

I tried locally hard-coding the CacheMicroManager module to delete this cache, and scheduled a LED build on one of the affected bots: https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Mac tool_integration_tests_1_4/525/infra

The previous build failed because I used rmtree, which apparently doesn't work on newer macos caches? In any case, updated it to use rm -rf, https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Mac tool_integration_tests_1_4/528/infra

The previous build failed because I used rmtree, which apparently doesn't work on newer macos caches? In any case, updated it to use rm -rf, https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Mac tool_integration_tests_1_4/528/infra

Looks like it worked, I will put out a recipes CL for this.

Looks like it worked, I will put out a recipes CL for this.

Documenting here: the recipe CL led run successfully deleted the cache, but the test still timed out. So it must not be related to the Xcode cache. Possibly something new and horrible only seen on the macOS 14.5 bots?

@christopherfujino closed his recipe CL that deleted the Xcode beta caches, because the builds were timing out with and without that in the cache.
Comparing succeeding 20 minute run A to timing out run B
Hardware
Most of the failing builds look like they are mostly happening on Intel, and the passing ones are happening on ARM.  However, here's ARM build that's timing out as well (C)
https://ci.chromium.org/ui/p/flutter/builders/try/Mac plugin_test_ios/32197/infra
A
arm M1, 2020 Macmini9,1
B
Intel, 2018 Macmini8,1

curl is taking longer
A (1,462ms)
 [2024-07-15 02:25:09.923715] [STDOUT] stdout: [   +2 ms] Downloading ios tools...
 [2024-07-15 02:25:10.062979] [STDOUT] stdout: [ +139 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/54f0879a6d88ad06db73bf1b8c324b0d964d0314/ios/artifacts.zip md5 hash: 3udN9eSYL3k+LD+KebNDrA==
 [2024-07-15 02:25:11.390285] [STDOUT] stdout: [+1327 ms] Downloading ios tools... (completed in 1,462ms)

B (4.7s)
 [2024-07-15 00:57:57.352483] [STDOUT] stdout: [   +9 ms] Downloading ios tools...
 [2024-07-15 00:57:57.638480] [STDOUT] stdout: [ +286 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/39cd71f524f0a5245cf5c65cdf67cdb4b0aa5f7d/ios/artifacts.zip md5 hash: /OkvALMwpRKP8wu9rxEC9w==
 [2024-07-15 00:58:02.019085] [STDOUT] stdout: [+4380 ms] Downloading ios tools... (completed in 4.7s)

A (1,203ms)
 [2024-07-15 02:25:14.247250] [STDOUT] stdout: [  +27 ms] Downloading ios-profile tools...
 [2024-07-15 02:25:14.348025] [STDOUT] stdout: [ +100 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/54f0879a6d88ad06db73bf1b8c324b0d964d0314/ios-profile/artifacts.zip md5 hash: 6nerqgP+U5TVeECi8vT2JQ==
 [2024-07-15 02:25:15.450731] [STDOUT] stdout: [+1102 ms] Downloading ios-profile tools... (completed in 1,203ms)

B (3.5s)
 [2024-07-15 00:58:07.203080] [STDOUT] stdout: [  +95 ms] Downloading ios-profile tools...
 [2024-07-15 00:58:07.316529] [STDOUT] stdout: [ +113 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/39cd71f524f0a5245cf5c65cdf67cdb4b0aa5f7d/ios-profile/artifacts.zip md5 hash: v5SIAgpGiCX6vGEgkEVYwg==
 [2024-07-15 00:58:10.742525] [STDOUT] stdout: [+3426 ms] Downloading ios-profile tools... (completed in 3.5s)

xcrun xcodebuild building the project is consistently slower
A (9361 ms)
 [2024-07-15 02:25:21.261761] [STDOUT] stdout: [        ] executing: [/Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.YHXZbg/plugintest/example/ios/Runner.xcodeproj/] /usr/bin/arch -arm64e xcrun xcodebuild -project /Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.YHXZbg/plugintest/example/ios/Runner.xcodeproj -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.YHXZbg/plugintest/example/build/ios PROVISIONING_PROFILE_SPECIFIER=match Development * CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=S8QB4VV633
 [2024-07-15 02:25:30.624459] [STDOUT] stdout: [+9361 ms] Command line invocation:

B (11265 ms)
 [2024-07-15 00:58:21.256956] [STDOUT] stdout: [        ] executing: [/Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.SudFFU/plugintest/example/ios/Runner.xcodeproj/] xcrun xcodebuild -project /Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.SudFFU/plugintest/example/ios/Runner.xcodeproj -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Volumes/Work/s/w/ir/x/t/flutter_devicelab_plugin_test.SudFFU/plugintest/example/build/ios PROVISIONING_PROFILE_SPECIFIER=match Development * CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=S8QB4VV633
 [2024-07-15 00:58:32.525233] [STDOUT] stdout: [+11265 ms]

A (9077 ms)
 [2024-07-15 02:25:39.718249] [STDOUT] stdout: [+9077 ms] Command line invocation:
 [2024-07-15 02:25:39.718276] [STDOUT] stdout:                /Volumes/Work/s/w/ir/cache/osx_sdk/xcode_15a240d/XCode.app/Contents/Developer/usr/bin/xcodebuild -list

B (11151 ms)
 [2024-07-15 00:58:43.729228] [STDOUT] stdout: [+11151 ms] Command line invocation:
 [2024-07-15 00:58:43.729283] [STDOUT] stdout:                 /Volumes/Work/s/w/ir/cache/osx_sdk/xcode_15a240d/XCode.app/Contents/Developer/usr/bin/xcodebuild -list

pod install is slower
pod install is downloading and writing to disk, but not compiling anything with Xcode
A (734ms)
 [2024-07-15 02:25:49.300788] [STDOUT] stdout: [   +1 ms] Running pod install...
 [2024-07-15 02:25:50.035156] [STDOUT] stdout: [ +734 ms] Running pod install... (completed in 734ms)

B (2,251ms)
 [2024-07-15 00:58:56.527252] [STDOUT] stdout: [   +3 ms] Running pod install...
 [2024-07-15 00:58:58.779464] [STDOUT] stdout: [+2251 ms] Running pod install... (completed in 2,251ms)

This seems like the whole machine is crawling and isn't specific to Xcode compilation.
A top
 Processes: 488 total, 2 running, 486 sleeping, 1922 threads
 2024/07/15 02:45:28
 Load Avg: 6.27, 15.77, 13.16
 CPU usage: 2.27% user, 11.36% sys, 86.36% idle
 SharedLibs: 505M resident, 75M data, 188M linkedit.
 MemRegions: 38982 total, 1244M resident, 219M private, 523M shared.
 PhysMem: 9686M used (1573M wired, 477M compressor), 5975M unused.
 VM: 186T vsize, 4921M framework vsize, 0(0) swapins, 0(0) swapouts.
 Networks: packets: 118903256/157G in, 26494/1467M out.
 Disks: 13015232/137G read, 6526599/361G written.

B top
 Processes: 464 total, 2 running, 462 sleeping, 1725 threads
 2024/07/15 01:27:52
 Load Avg: 22.81, 13.89, 13.48
 CPU usage: 2.43% user, 10.45% sys, 87.10% idle
 SharedLibs: 678M resident, 103M data, 63M linkedit.
 MemRegions: 42664 total, 1902M resident, 338M private, 669M shared.
 PhysMem: 14G used (2863M wired, 0B compressor), 18G unused.
 VM: 15T vsize, 4528M framework vsize, 0(0) swapins, 0(0) swapouts.
 Networks: packets: 20013151/25G in, 263604/1352M out.
 Disks: 6387003/86G read, 1396493/143G written.

Spotlight and mds and fseventsd are running on both passing and failing machines (these shouldn't be running? https://g-issues.chromium.org/issues/40255200 and https://g-issues.chromium.org/issues/40790126)

I'm at a loss for why this would be happening so much more in presubmit than postsubmit...

I'm at a loss for why this would be happening so much more in presubmit than postsubmit...

are we timing out at the same limit pre and post?

are we timing out at the same limit pre and post?

Just glanced quickly, but it looks like in post submit, plugin_test_ios is passing in around 10 minutes, but timing out after 30 minutes in presubmit. So the timeout config if there is a difference is probably not related.

are we timing out at the same limit pre and post?

Just glanced quickly, but it looks like in post submit, plugin_test_ios is passing in around 10 minutes, but timing out after 30 minutes in presubmit. So the timeout config if there is a difference is probably not related.

ahh, ok, weird.

I can try Xcode 15.2 (15C500b) which should run on both of our macOS 14.5 and macOS 13.6 machines.

I tried this on the packages repo and it didn't work, still hit timeouts https://github.com/flutter/packages/pull/7132#issuecomment-2229115457

@stuartmorgan points out this isn't just happening on macOS 14, here's an ARM macOS 13.6.4 machine crawling and then timing out on a packages test:
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 ios_platform_tests_shard_3 master/14458/infra
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8742357634243779457/+/u/Run_package_tests/drive_examples/stdout


[[CHORE]] Update JSHint

The latest stable version of JSHint revealed an erroneous configuration:
when the console identifier is listed as a global variable, JSHint
creates an internal "label" to track references to that binding. The
local console variable in jshint.js shadows this global reference,
meaning the global binding is never referenced.
Lint the in-development codebase with the latest stable version of
JSHint. Update the configuration to avoid the new (valid) warning.
Supersedes gh-2810.

Closing in favor of gh-2860.


LAStools_jll Usage

Using LAStools_jll
Description
Replacing locally built binaries that were stored in the repo for running laszip with LAStools_jll, meaning we will be able to support LAZ on far more OS platforms
Types of Changes

Refactor/improvements

Tasks
List of tasks you will do to complete the PR

[x] Replace executables in repo with calls to LAStools_jll

Review
List of tasks the reviewer must do to review the PR

[ ] Tests
[ ] Documentation

os - latest, wouldn't that cause a hiccup later?

It should be fine, it just guarantees that we're always testing on the latest version of the OS which I think is what we want

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


chore(all): add GNU ARM Embedded Toolchain compile

1.add gcc compile for STM32F429I_DISCO board. It works on Ubuntu 14.04
and arm-none-eabi-gcc cross compile. It contains Markdown file,
SystemClock_Config() function source code, Makefile, ldscript,
assembler in GNU style.
Close #14

as the change ,we need LiteOS_Migration_Guide_stm32f429_gcc.md.

if you have any quetions about this , please ask xuming. @BaikalHu


Backend Added

Issue #136 solved
@vijayyprajapati I have added backend for this app.

Great @deepakgohil009


Change Editor background based on Language

I'm using a dark VSCode Theme and I really like the new Python capability to work natively with Jupyter Notebooks.
Unfortunately, the default Notebook theme is a light background, and default matplotlib theme is dark text on transparent background. Same thing for Pandas tables. This means my VSCode renders many diagram labels and table data as dark-on-dark and impossible to read.
Would it be possible to support something like this:
    "workbench.colorCustomizations": {
        "[Material Theme Darker]": {
            "[jupyter]": {
                "editor.background": "#f1f1f1"
            }
        }
    }

I realize the usual counter-argument to supporting language-specific workbench.colorCustomizations goes something like "workbench themes more than the editor, so what if you have two languages open side-by-side?", but it would be very useful to at least support language-specific editor theming
The Extension "Theme by language" currently doesn't support defining a custom theme for Notebook Preview since it doesn't have an associated language.
Here is how most of my Jupyter Notebooks render now:

I realize the usual counter-argument to supporting language-specific workbench.colorCustomizations goes something like "workbench themes more than the editor, so what if you have two languages open side-by-side?", but it would be very useful to at least support language-specific editor theming

May be duplicate of: https://github.com/microsoft/vscode/issues/54507
May be resolved by this proposal: https://github.com/microsoft/vscode/pull/82781

The request to have language specific colors is #20652. It's not likely to happen due to the issue you mentioned above (theme also defined workspace colors) and the way our theming is implemented
However, for your example, I think this needs to be fixed in the Jupiter extension.
The Jupiter extension should

make sure that tables and graphs use colors that go well with the current theme
define a separate color for Jupiter notebooks so users can change the notebook background color

Can you file an issue against the extension that you use?


Fix bug in Full Adder

    #connect the outputs
    thesum = ha2.sum
    carry = ha1.carry
    outputs = [thesum, carry]

carry output should be the output of the Or.

fixed bug and improved tests


Race-condition with PSP when creating calico-kube-controllers deployment with operator.

We use Pod Security Policies extensively on our cluster (due to be replaced before we move to Kubernetes 1.25). Our default PSP is very restrictive (read-only containers, etc). The operator does create a PSP but the pods come up with the default PSP applied.  If we restart the calico-kube-controllers pods, the correct PSP is used.

We would expect the operator to get the PSP installed before the pods but they currently have identical timestamps, meaning a race-condition exists.

Would it be possible to create the Pod Security Policies before the node deployment?

Steps to Reproduce (for bugs)

Install EKS 1.21 cluster.
Create default, restricted PSP. Remove "eks.privileged" PSP.
Install tigera-operator.
Examine calico-kube-controllers deployment.

Context
We cannot migrate from helm-chart to tigera-operator until this is resolved.
Your Environment

Operating System and version: AWS Linux (latest)

Looking at the code, it looks like the deployment is currently getting created before the PSP (I'm fairly certain the objects are created in the order in the slice/array, and are created one at a time).
So the fix might just be to fix that ordering, though since you mention that the timestamps are the same on both I have some concern that might not fix the issue.


net: Dial timeout reports incorrect problem DNS entry

What version of Go are you using (go version)?
go version go1.7 linux/amd64
What operating system and processor architecture are you using (go env)?
linux_amd64, scilinux 6.3
What did you do?

Have two nameserver entries in /etc/resolve.conf; first one is the invalid, second one is valid.
Run the test program

package main

import (
	"fmt"
	"net/http"
)

func main() {
	_, err := http.Get("https://www.google.ca/")
	if err != nil {
		fmt.Println(err)
	}
}

What did you expect to see?
Timeout message reporting the invalid nameserver IP
What did you see instead?
 I missed the "go1.7" in the original report.

This is a duplicate of #16865.


Can you provide a visualize function?

When I try to plot images with predicted results, it shows:

(tip: blue represents gt box, red represents predict box)
Then I reference converter.py and datasets.py:

extract real gt box (x1, y1, x2, y2) from *.mat
calculate (x_ctr, y_ctr, width, height)
calculate normalized (x_ctr, y_ctr, width, height) and write it to *.txt
do padding on image -> (500, 500) pad pixel is 0
calculate padded (x1, y1, x2, y2)
calculate normalized (x_ctr, y_ctr, w, h) according to padded (x1, y1, x2, y2)
do augmentation
use ToTensor() pixel range (0, 255) -> (0, 1)
convert normalized (x_ctr, y_ctr, w, h) to tensor
get img_path, img, targets
It is tedious, Can you provide a demo.py to visualize predict results?

I write it.
demo.txt


mount specifications destroy ownership

When creating an APPC image, using an empty mount destroys any ownership within the existing image.
$ ls -l .acbuild/currentaci/rootfs/var/lib/
total 4
lrwxrwxrwx 1 root root    9 Dec  5 14:05 misc -> ../../tmp
drwxr-xr-x 2   99   99 4096 Dec 29 07:00 tor
$ sudo acbuild  write /tmp/image.aci
$ sudo  rkt  run --interactive --insecure-options=image    /tmp/image.aci --exec /bin/sh
rkt: using image from local store for image name coreos.com/rkt/stage1-coreos:0.14.0
rkt: using image from file /tmp/image.aci
run: group "rkt" not found, will use default gid when rendering images
rkt: warning: no volume specified for mount point "torfiles", implicitly creating an "empty" volume. This volume will be removed when the pod is garbage-collected.
sh-4.3$ ls -l /var/lib/
total 4
lrwxrwxrwx 1 root root    9 Dec  5 22:05 misc -> ../../tmp
drwxr-xr-x 2 root root 4096 Dec 30 17:19 tor

As you can see, attempting to run a process as a non-root user will invalidate any ability to create needed files for the process.
Ideally this is something which could be specified in the APPC spec, or at the very least as an extension to rkt.

Additionally, this cannot be fixed with a set-event-handler call, as any script called will also be run as the non-root user.

This is actually behaving as stipulated in the spec
https://github.com/appc/spec/blame/master/spec/ace.md#L57 :

If the target path is a non-empty directory, its contents SHOULD be discarded (e.g. obscured by the bind mount).

https://github.com/appc/spec/blame/master/spec/ace.md#L63 :

The target path directories that the ACE creates SHOULD be owned by UID 0 and GID 0, and have access mode 0755 (rwxr-xr-xr-x).

There are a few different ways to tackle your use case. What makes the most sense from your UX perspective?

If the pod manifest is created manually and used in rkt run --pod-manifest=..., you can specify the ownership and permissions:
https://github.com/appc/spec/blob/master/spec/pods.md

mode (integer, optional, only interpreted if kind is "empty", defaults to "0755" if unsupplied) indicates the mode permission of the empty volume.
uid (integer, optional, only interpreted if kind is "empty", defaults to "0" if unsupplied) indicates the user id that will own the empty volume. Note it is an integer number because each app in the pod would interpret a user name differently.
gid (integer, optional, only interpreted if kind is "empty", defaults to "0" if unsupplied) indicates the group id that will own the empty volume. Note it is an integer number because each app in the pod would interpret a group name differently.

/cc @iaguis for setting this on the command line

You can specify the ownership and permissions of an empty volume with the command line:
# rkt run --volume data,kind=empty,mode=0777,uid=1000,gid=1000 --insecure-options=image docker://busybox --mount volume=data,target=/tmp --interactive
rkt: using image from local store for image name coreos.com/rkt/stage1-coreos:0.15.0+gita2ce2a8
rkt: using image from local store for url docker://busybox
/ # ls -ld /tmp
drwxrwxrwx    2 1000     1000          4096 Jan 15 15:29 /tmp

needs docs :-)
On Fri, Jan 15, 2016 at 4:31 PM, Iago López Galeiras <
<EMAIL_ADDRESS>wrote:

You can specify the ownership and permissions of an empty volume with the
command line:
rkt run --volume data,kind=empty,mode=0777,uid=1000,gid=1000 --insecure-options=image docker://busybox --mount volume=data,target=/tmp --interactive
rkt: using image from local store for image name coreos.com/rkt/stage1-coreos:0.15.0+gita2ce2a8
rkt: using image from local store for url docker://busybox
/ # ls -ld /tmp
drwxrwxrwx    2 1000     1000          4096 Jan 15 15:29 /tmp
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/1928#issuecomment-171992151.

https://github.com/coreos/rkt/issues/1980


Documentation is closed for contributions

I would like to contribute to the documentation, but I am currently not able to as it's closed. GitHub wikis are weird as I remember they don't work via pull requests? Maybe a public wiki is a pain, hence I've never seen one in the wild.
Humble suggestions for this:

Make the wiki publicly editable, or
do documentation via github pages. For example: like Wurst, or w3ts

It seems that at present the only way to allow people without write access to your repository to contribute is to open it to literally anyone, which I'm not that keen on. Given that, there's only 2 real ways to go about this (other than opening a ticket and having me handle whatever change you want to make... which would get exhausting for me very quickly).

I make a new repo with the wiki pages on it, then change the origin of WCSharp's wiki page to that so I can pull changes on that repo into WCSharp's wiki.
We go for the github pages route, but in this case you're probably kind of on your own? If you're familiar with them and would like to try your hand at making one, then by all means, go for it.

It seems that at present the only way to allow people without write access to your repository to contribute is to open it to literally anyone, which I'm not that keen on.

That how I recalled it as well. And definitely agree, that seems either bad or a unnecessary workload for you.

We go for the github pages route, but in this case you're probably kind of on your own? If you're familiar with them and would like to try your hand at making one, then by all means, go for it.

I'll look into this and set it up in my fork. If you have a preference between docusaurus or mkdocs let me know.

Docusaurus looks a bit cleaner to me, but I'm fine with either option.

I've been working at it and I've merged the current wiki to mkdocs implementation here. It's under WCSharp. I'm pretty sure I've fixed all the broken links and formatting, etc. Still needs a lot of work.
Included is also some work I've been doing on rewrites, which is under Getting Started.
I started with Docusaurus, because it looked cleaner just like you said. But I found material for mkdocs, which is similar to Docusaurus. Other reasons I think mkdocs is preferable is that it's not React based (easier to maintain for different people), and it has client-side search, while docusaurus recommends third party crawlers for search.

Also, I've found the best way to set this up is to have a separate repo for the docs.
The actions script deploys everything pushed to the main branch to the gh-pages branch. So whenever the implementation is ready, you just create a new repo for the docs and I push upstream.


opencv fails to build with opencv_contrib enabled

I followed #862 to uncomment the opencv_contrib part in the port file to build opencv, but I encounter the below config error
-- The CXX compiler identification is MSVC 19.0.24215.1
-- The C compiler identification is MSVC 19.0.24215.1
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Failed
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Failed
-- FP16: Compiler support is available
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found ZLIB: C:/dev/vcpkg/installed/x64-windows/lib/zlib.lib (found suitable version "1.2.11", minimum required is "1.2.3")
-- Found TIFF: C:/dev/vcpkg/installed/x64-windows/lib/tiff.lib (found version "4.0.8")
-- Found JPEG: C:/dev/vcpkg/installed/x64-windows/lib/jpeg.lib
-- Found ZLIB: C:/dev/vcpkg/installed/x64-windows/lib/zlib.lib (found version "1.2.11")
-- Found PNG: C:/dev/vcpkg/installed/x64-windows/lib/libpng16.lib (found version "1.6.31")
-- Looking for C:/dev/vcpkg/installed/x64-windows/include/libpng/png.h
-- Looking for C:/dev/vcpkg/installed/x64-windows/include/libpng/png.h - not found
-- ICV: Unpacking ippicv_windows_20151201.zip to C:/dev/vcpkg/buildtrees/opencv/x64-windows-rel/3rdparty/ippicv...
-- ICV: Package successfully downloaded
-- found IPP (ICV version): 9.0.1 [9.0.1]
-- at: C:/dev/vcpkg/buildtrees/opencv/x64-windows-rel/3rdparty/ippicv/ippicv_win
-- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.13", minimum required is "2.7")
-- Found PythonLibs: C:/Python27/libs/python27.lib (found suitable exact version "2.7.13")
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.4")
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2")
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
-- Found VTK ver. 7.1.1 (usefile: C:/dev/vcpkg/installed/x64-windows/share/vtk/UseVTK.cmake)
-- Caffe:   NO
-- Protobuf:   NO
-- Glog:   YES
-- freetype2:   NO
-- harfbuzz:    NO
-- Found required Ceres dependency: Eigen version 3.3.4 in C:/dev/vcpkg/installed/x64-windows/include/eigen3
-- Found required Ceres dependency: glog
-- Looking for C++ include shlwapi.h
-- Looking for C++ include shlwapi.h - found
-- Performing Test GFLAGS_IN_GOOGLE_NAMESPACE
-- Performing Test GFLAGS_IN_GOOGLE_NAMESPACE - Success
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.12.0 installed in: C:/dev/vcpkg/installed/x64-windows with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations, OpenMP]
-- Checking SFM deps... TRUE
-- The protocol buffer compiler is found (C:/dev/vcpkg/installed/x64-windows/tools/protoc.exe)
-- Tesseract:   NO
-- Check contents of vgg_generated_48.i ...
-- Downloading vgg_generated_48.i...
-- Downloading vgg_generated_48.i... Done
-- Check contents of vgg_generated_64.i ...
-- Downloading vgg_generated_64.i...
-- Downloading vgg_generated_64.i... Done
-- Check contents of vgg_generated_80.i ...
-- Downloading vgg_generated_80.i...
-- Downloading vgg_generated_80.i... Done
-- Check contents of vgg_generated_120.i ...
-- Downloading vgg_generated_120.i...
-- Downloading vgg_generated_120.i... Done
-- Check contents of boostdesc_bgm.i ...
-- Downloading boostdesc_bgm.i...
-- Downloading boostdesc_bgm.i... Done
-- Check contents of boostdesc_bgm_bi.i ...
-- Downloading boostdesc_bgm_bi.i...
-- Downloading boostdesc_bgm_bi.i... Done
-- Check contents of boostdesc_bgm_hd.i ...
-- Downloading boostdesc_bgm_hd.i...
-- Downloading boostdesc_bgm_hd.i... Done
-- Check contents of boostdesc_binboost_064.i ...
-- Downloading boostdesc_binboost_064.i...
-- Downloading boostdesc_binboost_064.i... Done
-- Check contents of boostdesc_binboost_128.i ...
-- Downloading boostdesc_binboost_128.i...
-- Downloading boostdesc_binboost_128.i... Done
-- Check contents of boostdesc_binboost_256.i ...
-- Downloading boostdesc_binboost_256.i...
-- Downloading boostdesc_binboost_256.i... Done
-- Check contents of boostdesc_lbgm.i ...
-- Downloading boostdesc_lbgm.i...
-- Downloading boostdesc_lbgm.i... Done
-- Found required Ceres dependency: Eigen version 3.3.4 in C:/dev/vcpkg/installed/x64-windows/include/eigen3
-- Found required Ceres dependency: glog
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find Ceres - Missing required Ceres dependency: gflags. Searched using GFLAGS_INCLUDE_DIR_HINTS: C:/dev/vcpkg/installed/x64-windows/include and gflags_DIR: .
-- Configuring incomplete, errors occurred!
See also "C:/dev/vcpkg/buildtrees/opencv/x64-windows-rel/CMakeFiles/CMakeOutput.log".
See also "C:/dev/vcpkg/buildtrees/opencv/x64-windows-rel/CMakeFiles/CMakeError.log".

It seems to have problem with ceres and gflags, but I have both ceres and gflags installed.

This actually got solved with the latest 3.3.0 release. Will submit a PR later


Shortcut impelemented in OutpostPlanner1-1

...so I don't think this needs to be here any more.
Thanks! 👍

Thanks for implementing it. It's way easier that way.


[SPARK-32501][SQL] Convert null to "null" in structs, maps and arrays while casting to strings

What changes were proposed in this pull request?
Convert NULL elements of maps, structs and arrays to the "null" string while converting maps/struct/array values to strings. The SQL config spark.sql.legacy.omitNestedNullInCast.enabled controls the behaviour. When it is true, NULL elements of structs/maps/arrays will be omitted otherwise, when it is false, NULL elements will be converted to "null".
Why are the changes needed?

It is impossible to distinguish empty string and null, for instance:

scala> Seq(Seq(""), Seq(null)).toDF().show
+-----+
|value|
+-----+
|   []|
|   []|
+-----+

Inconsistent NULL conversions for top-level values and nested columns, for instance:

scala> sql("select named_struct('c', null), null").show
+---------------------+----+
|named_struct(c, NULL)|NULL|
+---------------------+----+
|                   []|null|
+---------------------+----+

.show() is different from conversions to Hive strings, and as a consequence its output is different from spark-sql (sql tests):

spark-sql> select named_struct('c', null) as struct;
{"c":null}

scala> sql("select named_struct('c', null) as struct").show
+------+
|struct|
+------+
|    []|
+------+

It is impossible to distinguish empty struct/array from struct/array with null in the current implementation:

scala> Seq[Seq[String]](Seq(), Seq(null)).toDF.show()
+-----+
|value|
+-----+
|   []|
|   []|
+-----+

Does this PR introduce any user-facing change?
Yes, before:
scala> Seq(Seq(""), Seq(null)).toDF().show
+-----+
|value|
+-----+
|   []|
|   []|
+-----+

After:
scala> Seq(Seq(""), Seq(null)).toDF().show
+------+
| value|
+------+
|    []|
|[null]|
+------+

How was this patch tested?
By existing test suite CastSuite.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31425/
Test PASSed.

Test build #126804 has started for PR 29311 at commit 8e3b910.

Test build #126804 has finished for PR 29311 at commit 8e3b910.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126804/
Test PASSed.

@cloud-fan @HyukjinKwon @maropu Please, take a look at this.

Looks a reasonable change. Actually, hive does so;
hive> select named_struct('a', 1, 'b', null);
{"a":1,"b":null}

hive> select array(1, 2, null);
[1,2,null]

hive> select map('a', 1, 'b', null);
{"a":1,"b":null}

Test build #126989 has started for PR 29311 at commit 6347cda.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31613/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31615/
Test PASSed.

Test build #126992 has started for PR 29311 at commit 2325c7f.

Test build #126989 has finished for PR 29311 at commit 6347cda.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126989/
Test PASSed.

Test build #126992 has finished for PR 29311 at commit 2325c7f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126992/
Test PASSed.

Test build #127047 has started for PR 29311 at commit 2a711dc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31669/
Test PASSed.

Test build #127047 has finished for PR 29311 at commit 2a711dc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127047/
Test PASSed.

Test build #127064 has started for PR 29311 at commit a686b99.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31686/
Test PASSed.

Test build #127064 has finished for PR 29311 at commit a686b99.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127064/
Test PASSed.

@cloud-fan @maropu @HyukjinKwon Please, review this PR.

Test build #127083 has started for PR 29311 at commit 9547682.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31706/
Test PASSed.

Test build #127083 has finished for PR 29311 at commit 9547682.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127083/
Test FAILed.

Test build #127088 has started for PR 29311 at commit 39daa90.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31711/
Test PASSed.

Test build #127088 has finished for PR 29311 at commit 39daa90.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127088/
Test PASSed.

thanks, merging to master!


Add new USB PID for Feather M0 with CDC + MSC

Right now the feather M0 bluefruit uses the USB PID 0x000b.  This is the same as the bootloader PID though and can cause some confusion.  Talking to Limor we really want a new PID for this since it's a new 'class' of device with CDC + MSC (vs. just CDC alone that would be PID 0x800b).

Fixed in 90bf13e


implement intermediate component (before turn-result displayed), which shows why the turn was finished (client)

e65d016090775fabb847c42490db6362635bd5dc


Consolidate all gesture recognizer performers into one performer

This will allow us to reuse a good amount of the logic.

🎊 My diff is ready for review at http://codereview.cc/D1907


feat(types,clerk-js): Show/Hide Invitations/Requests OrgProfile based…

… on instance settings
Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Fixing DirectRB notebook

There were a couple functions that seemed to have changed.

@enielse @tjproct

Some of the changes in the PR use outdated functions, and the current DirectRB.ipynb seems to run fine.  I think we had forgotten to update this notebook at some earlier point, which may have prompted this (sorry!), but I think the current version doesn't need any revision.  Let me know if you think these updates are needed as of pyGSTi version <IP_ADDRESS>.

@enielse let me check - I thought I was on master.

@ampolloreno - just a ping.  Would it be ok to close this?

@enielse Oh sure, sorry about that, got buried under other things. I believe you!


[Misc]: duplicate BaiChuanForCausalLM

Anything you want to discuss about vllm.
https://github.com/vllm-project/vllm/blob/e7116c017c86cb547f4d1888edaf13a9be2a4562/vllm/model_executor/models/baichuan.py#L434-L463
BaichuanForCausalLM is defined twice, and the second one will overwrite the first one. which one should we keep?
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Probably keep the first one? (since the 7B case in the first one also works for the second one) But then we'll have to update the registry accordingly.

credit to @simon-mo

there’s one that is lower case and the other upper case C in Chuan.

Oh, I thought you meant merging the classes together.


The error callback should not be required

It should also be possible to catch failures with promises.

Thanks :)


Enable auth by default [K8SSAND-935]

What this PR does:
Adds support for enabling authentication in the cluster.
Which issue(s) this PR fixes:
Fixes #170
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[x] CHANGELOG.md updated (not required for documentation PRs)
[x] CLA Signed:  DataStax CLA

Here is the current state of this PR wrt to the action items I listed here:

Global boolean switch to enable / disable auth: implemented
Cassandra changes: implemented
Reaper changes: implemented
Stargate changes: not implemented
Medusa changes: not implemented, waiting for #242.

Tests:

Unit tests: implemented;
Controller tests: one test with auth disabled implemented;
E2e tests: no new test implemented yet, but existing tests are now all using Cassandra auth.

I'd suggest that we tackle Stargate and Medusa later on, let's focus on getting Cassandra and Reaper with auth enabled working + tests in this PR.
If someone wants to continue the work while I'm away, please go ahead!

Putting this back in draft state as I need to finalize a few more things, sorry.

Ready for review again:

Global boolean switch to enable / disable auth: implemented
Cassandra changes: implemented
Reaper changes: implemented
Stargate changes: implemented
Medusa changes: not implemented, waiting for Add medusa APIs #242.

Tests:

Unit tests: added;
Controller tests: one test with auth disabled implemented;
E2e tests:

existing tests are now all using Cassandra auth.
new test that toggles auth on and off.

Also worth noting: Reaper REST API and WEB UI are currently unauthenticated, we may want to look into enforcing authentication there in a follow-up PR.
The WEB UI is not used in code nor in tests. The REST API however is used in code (reaper controller) and in e2e tests.

FYI I'm going to merge this now, even if some e2e tests are failing (the failures are unrelated).


condense to a single read per file type with handling for partial reads

This PR unifies the read interfaces as discussed in telecons.
@plaplant can you review this?
@nkern I'd also like to make sure it works for you
Fixes #389
Fixes #386

So if I'm not mistaken, this eliminates the UVData.read_miriad_metadata function in favor for a kwarg in UVData.read_miriad that allows the user to do either a full data+metadata read, or just a metadata read. That seems fine to me, I'll have to change some of my scripts to accommodate, but that shouldn't be an issue.

Looks good to me! Feel free to merge.


No support for async methods on classes

There seems to be no support for async methods on classes:
class Foo {
    async bar() {
        return await something();
    }

    static async bar() {
        return await something();
    }
}

Bublé transpiles this to
var Foo = function Foo () {};

Foo.prototype.async bar = function bar () {
    return await something();
};

Foo.async bar = function bar () {
    return await something();
};

which is not valid JS.
Demo here: https://buble.surge.sh/#class Foo {
    async bar() {
        return await something()%3B
    }

    static async bar() {
        return await something()%3B
    }
}

Just found https://github.com/Rich-Harris/buble/pull/125. Guess it's not allowed in Bublé... how do I switch Svelte's transpiler?

I tested #125 and it does not fix this problem.

+1, I am running into the same issue :(

There are two issues here:

Bublé does not transpile async functions. That's #90 for implementing support and #113 for at least giving an error.
Bublé emits invalid code when encountering async functions. This issue is about methods, #109 is about arrow functions.

Both need to be fixed. Let's make this issue about invalid syntax when transpiling a class with async methods (without transpiling async functions). Head to #90 if you want to talk about implementing transpilation of async functions.


[WIP] Self concept exemplar

Add self-concept dataset and script to run self-concepts
WIP: Create a function vector in addition to concept vector

Dataset for few-shots:

We use the Big-Bench self-awareness dataset as our stimulus set for the concept data. Since the number of datapoints is small, we merge all subcategories present in the dataset (except subtask_detect_self_aware.json, as it does not contain any answer to the questions present, and as a result no particular positive or negative correlation to self awareness).

We append the target keys for each question present as an answer to the question, to generate our positive and negative samples for the concept.


Add list of custom derives

Closes #1
This PR is aimed at adding an optional list of custom_derive traits.
    #[derive(Debug,Copy,Clone)]
    struct DebugCopyClone(u32); // does not implement PartialEq, PartialOrd

    #[newtype(custom_derives(Debug,Copy,Clone))]
    type Hello = DebugCopyClone;

@fdoyon clever. :) Is there a reason we can't just use the derive ident? i.e.:
#[newtype(derive(Debug, Copy, Clone))]
type Yes = Thing;

And perhaps, if you're willing, we could have a second one called "with_derive" to extend the default list? That would be my primary use case. That can be in a separate PR though, just spitballing. :)

I have renamed the custom_derive arg to derive - you are right it's easier for users!

Published in v0.5.4


CMake error when deselecting "UART Port 0 Driver type"

Describe the bug
CMake error when deselecting "UART Port 0 Driver type" in Device Drivers -> Serial Drivers -> nRF UART nrfx drivers (through menuconfig).
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -GNinja -DBOARD=nrf52840_pca10056 ..
ninja menuconfig
deselect Device Drivers -> Serial Drivers -> nRF UART nrfx drivers -> UART Port 0 Driver type
ninja
See error

Screenshots or console output
CMake Error at zephyr/CMakeLists.txt:674 (message):
  The Zephyr library 'drivers__serial' was created without source files.
  Empty (non-imported) libraries are not supported.  Either make sure that
  the library has the sources it should have, or make sure it is not created
  when it has no source files.
Environment (please complete the following information):

OS: Linux
Toolchain: GNU ARM GCC
Commit 48f493208baf4d7e6d8f72b1473889b2cc9fcbcb

@oxymoron87 :In my opinion it is expected behavior. You've selected that you want to use serial but you did not choose a driver. It seems to be related to your other issue: #11928. Do you still consider this PR as an issue?

@oxymoron87 : Please let me know if this is still an issue for you or it can be closed?

I just thought that UI (menuconfig) should not let me to do so, but that's my opinion.  Not an issue anymore.

@oxymoron87 unfortunately there's a bit more coupling between Device Tree and Kconfig than it might be apparent. We are working towards improving the user experience, and we are aware of this issue, thanks for letting us know!


nix-daemon.nix: Add option nix.registry

This allows you to specify the system-wide flake registry. One use is to pin nixpkgs to the Nixpkgs version used to build the system:
nix.registry.nixpkgs.flake = nixpkgs;

where nixpkgs is a flake input. This ensures that commands like
$ nix run nixpkgs#hello

pull in a minimum of additional store paths.
You can also use this to redirect flakes, e.g.
nix.registry.nixpkgs.to = {
  type = "github";
  owner = "my-org";
  repo = "my-nixpkgs";
};

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@roberth @edolstra
I'm using NixOS 21.11 and Nix 2.4. I'd like to globally pin the nixpkgs flake to the same version as my system.
{
  # ...
  nix.registry.nixpkgs.flake = pkgs;
}

But this causes an error:
$ nixos-rebuild test
building Nix...
building the system configuration...
error: attribute 'outPath' missing

       at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/misc/nix-daemon.nix:522:27:

          521|                 ({ type = "path";
          522|                    path = config.flake.outPath;
             |                           ^
          523|                  } // lib.filterAttrs
(use '--show-trace' to show detailed location information)

Is the

Ok I might have made a bit of progress.
I tried this and now at least the build works:
{
  # ...
  nix.registry.nixpkgs.flake.outPath = toString <nixpkgs>;
}

But when using nixpkgs as an input in a flake I get this error:
$ nix develop
warning: Git tree '/home/matt/projectxyz' is dirty
error: access to path '/nix/store/nv5hy4qdqv1cqlhqg8wv3lpvjqn6jpdx-nixos-21.11.335443.e84444b14cc/nixos/flake.nix' is forbidden in restricted mode

<nixpkgs> doesn't work in a flake because in pure evaluation mode, you don't have access to the Nix search path (NIX_PATH).
Here is what I do:
nix.registry.nixpkgs.flake = nixpkgs;

where nixpkgs is the Nixpkgs flake. See here: https://www.tweag.io/blog/2020-07-31-nixos-flakes/

@edolstra Thank you for the response and thank you for bringing the awesomeness that is Nix/NixOS to the world.
I read your blog post, that is where I saw that it was possible to configure the registry and when it didn't work I tracked it down in the code to this MR.
I don't currently have my NixOS configuration set up as a flake, so I think I would have to switch to a flake-based system config to do this. This was my plan anyways, but I was just starting to experiment with flakes to replace shell.nix development environments.
Regarding pure-evaluation: I see that nix develop --impure works, but I don't understand why. The help for --impure says "Allow access to mutable paths and repositories", but /nix/store/nv5hy4qdqv1cqlhqg8wv3lpvjqn6jpdx-nixos-21.11.335443.e84444b14cc/nixos/flake.nix is not mutable. Why is this considered to be impure?


Missing onFocus

A recent commit seems to remove onFocus from type definition.
https://github.com/ryansolid/dom-expressions/commit/5d0b08317f0136670e3dfb9e76c9a24a20b24de1#diff-b30b26e449710cd6cdd9f82724a2ca1ac009365d41734e30b0f46a7b8aae6492L113
Let me know if I can help to add it back.
Cheers,

I think it is still there just moved.

Yeah thanks, someone on Discord also pointed out.
In that case, I am not sure why my vscode didn't auto-suggest it? maybe vscode can only detect first level interface?

Err, I removed node_modules and install again, and it seems to work.
Cheers,


CB-13419 Revert back to Basic load-balancer in Azure for datalake and…

… DE HA for 7.2.10.

Basic load-balancer allows the VMs behind it talk to internet, Standard doesn't.
This does not entirely fix CB-13419, instead a stop gap till 7.2.11 DE HA is released.
To fix DE HA, we need to find a way for the nodes to communicate with internet using one of the options given in https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections

@cegganesh84 if something is neede in a release branch, like 2.46, then please open a PR there first, and merge it forward instead of opening a separate one for all branches. As I see this is already merged to 2.46, in that case 2.46 should be merged to master. Please refer to CB branching documentation


Feature Request:  Create a sorting visualizer

Is your feature request related to a problem? Please describe.
I would like to create a sorting visualizer
Describe the solution you'd like.
sorting visualizer will be able to sort using multiple sorting also and show it using a ui
Additional context (if any)
No response

Sure, go ahead @con-artist 🙌


fix: swap max for non native assets

Description
Brings back the existing Max button in the TradeAssetInput component, for ERC20 tokens.  This allows users to easily fill the input field with their max balance.
This was originally removed to simplify the logic for calculating gas costs, but since ERC20 tokens are not used for paying native gas it is not an issue to bring it back for those.
Pull Request Type

[X] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
closes https://github.com/shapeshift/web/issues/5828
Risk
This change adds a listener to the Max button, causing it to appear, and fills the input field with the total balance, for non-native (ERC20) tokens only.
This is low-risk, it is unlikely there are unintended consequences to this.  Users are generally familiar with the placement and function of a Max button, so should understand what it is doing.
Testing
Engineering

View the swap (Trade/Bridge) feature at http://localhost:3000/#/trade
Confirm that the Max button appears when swapping FROM an ERC20 token to anything else.
Confirm that clicking the Max button inputs the value displayed in the top right (Balance) into the input field.
Confirm that the Max button DOES NOT appear when swapping from a native currency (e.g. ETH).

Operations
This is user facing. Testing can be the same as above.
Screenshots (if applicable)

Hey @herbig thanks for the PR! 🍻

It looks like the scientific notation is used however, versus precision in the send modal, see:

@gomesalexandre oh good catch, yeah I didn't see that since I only checked a few assets that would not have triggered scientific notation
maybe I'm missing something, but to me it seems both of those screenshots would be wrong.
Scientific notation in the Swap field isn't great UX, and I'll need to fix that.

The scientific notation should never be user-facing, we always want to have either full-precision when applicable, or trimmed decimal places depending on the screens and product spec. For things like sends and swapping, we want to ensure we display the actual amounts that users are going to send out of their wallet.
i.e when sending FOX, you can see that the balance (for display purposes only) has trimmed precision, but max. click actually inputs the full-precision amount, with 18 digits in the case of FOX:

But in the Send screen it looks as though you're sending 4.414, which isn't accurate.

Not sure what do you mean here @herbig? Clicking max/percent options will replace the input with the prorated one, with full asset precision, i.e in the screenshot above<PHONE_NUMBER>10339184543 FOX (not e.g 115.61 FOX)

Also so we're clear, the Max button in Send is already in production, and unrelated to Max here in the Swap, so I think we have a bug there in production. I've just tried prod Max and got this:

That's correct as per our current flow, though definitely not the best UX: we do fees deduction (on native assets only obviously) so trying to send 0.0003 ETH would result in more fees than the actual balance, hence the negative value.

@herbig - thanks for the PR and work on this issue. @gomesalexandre is going to take it over from here since we haven't heard from you in a bit.
I would love to send some FOX tokens your way as a way to thank you for the work on this, if you want to DM me I can get that arranged.  Thanks again for your contributions.

Closing in favor of https://github.com/shapeshift/web/pull/5961


Installation failing on Ubuntu 14.04 with pip install .

Hi all,
I installed all the dependencies listed (I also have (i)python 3.4 installed). However, when I run sudo pip install . on jupyterhub cloned repository I get:
/usr/local/bin/pip run on Thu Mar 19 10:41:28 2015
Unpacking /home/francesco/git/jupyterhub
   Running setup.py (path:/tmp/pip-Co0pAS-build/setup.py) egg_info for package from file:///home/francesco/git/jupyterhub
     ERROR: Jupyter Hub requires Python version 3.3 or above.
     Complete output from command python setup.py egg_info:
     ERROR: Jupyter Hub requires Python version 3.3 or above.

----------------------------------------
Cleaning up...
  Removing temporary dir /tmp/pip_build_root...
 Command python setup.py egg_info failed with error code 1 in /tmp/pip-Co0pAS-build
 Exception information:
 Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1229, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 325, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/lib/python2.7/dist-packages/pip/util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip-Co0pAS-build

Thanks

You probably need to use pip3 to go with python3.

Yes, thanks. I tried to install it via
sudo pip install --upgrade pip

and
sudo apt-get install python-pip3

But the correct command was
sudo apt-get install python3-pip

Thank you

Faced the same problem. When run sudo pip install . got error saying "ERROR: Jupyter Hub requires Python version 3.3 or above."
Then did sudo apt-get install python3-pip as suggested above followed by sudo pip3 install . it went fine.
Perhaps the ReadMe.md should be updated. I would be happy to do PR if its ok.

@KrishnaPG that would be great, thanks!

Added the relevant details to ReadMe.md and created pull request https://github.com/jupyter/jupyterhub/pull/256

I have followed steps from https://github.com/jupyter/jupyterhub and also tried above approaches but still failing on  sudo pip3 install, below is the error:
      File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-dsdgb5bx-build/setup.py", line 179, in run
        env=env,
      File "/usr/lib/python3.4/subprocess.py", line 557, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['bower', 'install', '--allow-root', '--config.interactive=false']' returned non-zero exit status 1
    Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-dsdgb5bx-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-f_u__rfn-record/install-record.txt --single-version-externally-managed --compile:
    running install

running build

running build_py

running js

bower bootstrap#~3.1        not-cached git://github.com/components/bootstrap.git#~3.1

bower bootstrap#~3.1           resolve git://github.com/components/bootstrap.git#~3.1

bower font-awesome#~4.1     not-cached git://github.com/components/font-awesome.git#~4.1

bower font-awesome#~4.1        resolve git://github.com/components/font-awesome.git#~4.1

bower jquery#~2.0           not-cached git://github.com/components/jquery.git#~2.0

bower jquery#~2.0              resolve git://github.com/components/jquery.git#~2.0

bower moment#~2.7           not-cached git://github.com/moment/moment.git#~2.7

bower moment#~2.7              resolve git://github.com/moment/moment.git#~2.7

bower requirejs#~2.1        not-cached git://github.com/jrburke/requirejs-bower.git#~2.1

bower requirejs#~2.1           resolve git://github.com/jrburke/requirejs-bower.git#~2.1

bower moment#~2.7              ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/moment/moment.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: <IP_ADDRESS>]: errno=Connection timed out

Additional error details:

fatal: unable to connect to github.com:

github.com[0: <IP_ADDRESS>]: errno=Connection timed out

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/tmp/pip-dsdgb5bx-build/setup.py", line 297, in <module>

    main()

  File "/tmp/pip-dsdgb5bx-build/setup.py", line 294, in main

    setup(**setup_args)

  File "/usr/lib/python3.4/distutils/core.py", line 148, in setup

    dist.run_commands()

  File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command

    cmd_obj.run()

  File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 53, in run

    return _install.run(self)

  File "/usr/lib/python3.4/distutils/command/install.py", line 598, in run

    self.run_command('build')

  File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command

    cmd_obj.run()

  File "/usr/lib/python3.4/distutils/command/build.py", line 126, in run

    self.run_command(cmd_name)

  File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command

    cmd_obj.run()

  File "/tmp/pip-dsdgb5bx-build/setup.py", line 249, in run

    self.run_command('js')

  File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command

    cmd_obj.run()

  File "/tmp/pip-dsdgb5bx-build/setup.py", line 179, in run

    env=env,

  File "/usr/lib/python3.4/subprocess.py", line 557, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['bower', 'install', '--allow-root', '--config.interactive=false']' returned non-zero exit status 1

----------------------------------------
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-dsdgb5bx-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-f_u__rfn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-dsdgb5bx-build
Storing debug log for failure in /home/rwdna/.pip/pip.log

Below errors are from pip.log file
Cleaning up...
  Removing temporary dir /tmp/pip_build_root...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-dsdgb5bx-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-f_u__rfn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-dsdgb5bx-build
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/usr/lib/python3/dist-packages/pip/util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-dsdgb5bx-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-f_u__rfn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-dsdgb5bx-build

This is some network error you are getting. Note the fatal: unable to connect to github.com: in your error log which is the problem.
This command git ls-remote --tags --heads git://github.com/moment/moment.git is not getting executed properly.
Please check why git is unable to connect. For example, try running that above command manually and see if that works fine.

Thanks @KrishnaPG . I figured out the issue, I think it was my firewall that was blocking git://. When I changed my settings to use https://.. instead, it went smoothly.
Below is the command I used to make this config change in case someone experience this issue:
git config --global url."https://".insteadOf git://


OpenDMARC image: opendmarc-params failure

Fails with following error:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/sbin/opendmarc-params line 14.
BEGIN failed--compilation aborted at /usr/sbin/opendmarc-params line 14.

See relevant.

😭


calico-node CrashLoopBackoff with termination reason completed

Expected Behavior

calico-node pods should run on each node in the fleet
Current Behavior

In our Kubernetes environments, we have been seeing calico-node pods occasionally get into a CrashLoopBackoff state, with the Termination reason: Completed. For example:
Containers:
  calico-node:
    Container ID:   docker://bd1f6d86e2796e63b93e5e358a25cdbd1acaedb567a40278150083d073e72361
    Image:          quay.io/calico/node:v3.8.1
    Image ID:       docker-pullable://quay.io/calico/node@sha256:7d0f26a672017fecb16191acc2ea72a0e0e61588b68282bbf86deb6c109a59fd
    Port:           <none>
    Host Port:      <none>
    State:          Running
      Started:      Thu, 29 Aug 2019 10:50:47 -0400
    Last State:     Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Thu, 29 Aug 2019 10:46:42 -0400
      Finished:     Thu, 29 Aug 2019 10:50:47 -0400

Viewing logs of either the current or previously terminated pod shows no indication of why it terminated, just log output of the typical control loop.
In general, the pod will restart and go ready for a few minutes only to terminate with the same exit code and reason.
Steps to Reproduce (for bugs)

I have no real steps to reproduce, since the issue appears to happen randomly on one or two pods at a time across our fleet of ~40 Kubernetes nodes.
Context

The Kubernetes node on which the crashlooping pod is running will have degraded or no DNS service.
It does not make sense to my why calico-node container would ever terminate itself with a 0 exit code, since it is intended to be a long-running container.
Your Environment

Calico version v3.8.1
Orchestrator version (e.g. kubernetes, mesos, rkt): Kubernetes v1.12.4
Operating System and version: CentOS 7

I have never seen or heard reports like this before. Yeah I do not know why that would be happening. Could you increase the Log level on the node to see if there is anything useful when that happens?

Sure, I can try that and get back to you. Interestingly, I saw another issue yesterday with a calico-node pod which may or may not be related:
  Normal   Created    166m                    kubelet, kube164.drt.ewr.prod.squarespace.net  Created container
  Normal   Started    166m                    kubelet, kube164.drt.ewr.prod.squarespace.net  Started container
  Warning  Unhealthy  166m                    kubelet, kube164.drt.ewr.prod.squarespace.net  Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
  Warning  Unhealthy  164m (x7 over 166m)     kubelet, kube164.drt.ewr.prod.squarespace.net  Readiness probe failed: calico/node is not ready: felix is not ready: Get http://localhost:9099/readiness: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  Unhealthy  6m30s (x457 over 166m)  kubelet, kube164.drt.ewr.prod.squarespace.net  Liveness probe failed: Get http://localhost:9099/liveness: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  BackOff    97s (x54 over 21m)      kubelet, kube164.drt.ewr.prod.squarespace.net  Back-off restarting failed container

Sure I can try that and get back to you.
Interestingly I saw another issue with calico-node pod crashing yesterday, which may or may not be related:
Events:
  Type     Reason     Age                     From                                           Message
  ----     ------     ----                    ----                                           -------
  Normal   Scheduled  166m                    default-scheduler                              Successfully assigned kube-system/calico-node-f4vdx to kube164
  Normal   Pulled     166m                    kubelet, kube164  Container image "quay.io/calico/cni:v3.8.1" already present on machine
  Normal   Created    166m                    kubelet, kube164  Created container
  Normal   Started    166m                    kubelet, kube164  Started container
  Normal   Pulled     166m                    kubelet, kube164  Container image "quay.io/calico/pod2daemon-flexvol:v3.8.1" already present on machine
  Normal   Created    166m                    kubelet, kube164  Created container
  Normal   Started    166m                    kubelet, kube164  Started container
  Normal   Pulled     166m                    kubelet, kube164  Container image "quay.io/calico/node:v3.8.1" already present on machine
  Normal   Created    166m                    kubelet, kube164  Created container
  Normal   Started    166m                    kubelet, kube164  Started container
  Warning  Unhealthy  166m                    kubelet, kube164  Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
  Warning  Unhealthy  164m (x7 over 166m)     kubelet, kube164  Readiness probe failed: calico/node is not ready: felix is not ready: Get http://localhost:9099/readiness: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  Unhealthy  6m30s (x457 over 166m)  kubelet, kube164  Liveness probe failed: Get http://localhost:9099/liveness: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  BackOff    97s (x54 over 21m)      kubelet, kube164  Back-off restarting failed container

I say it may be unrelated because in all previous occurrences of the issue I originally reported, the container is able to start fine but then terminates. In the case of the pod in the snipped above, it looks like the container was unable to start due to failing liveness/readiness probes. Just thought I would post anyway

@jekohk Did you get a chance to collect the logs so we continue to investigate this issue?


move conversion from x:[], y:[] to [{x,y}] to a separate useMemo call

closing this in favor of #48

closing this in favor of #48


The close button on the annoying banner

Add a close button on the banner please
It's extremely annoying

Can you provide a screenshot? "annoying banner" is kinda vague

The banner that leads me to this issue page

The v2 banner? No, I'm not removing that until, or giving folks the option to remove it it's ready to ship. I get enough bug reports from people thinking links from v2 should work in v1 for example, this sets expectations right.


fix: Address KSM does not match but successfully sent

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #2494
[ ] <brief_description_of_what_I've_added>

change log:

bugFix: disable submit button when the KSM address is invalid
do some refactor to make the code more readable and reasonable

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[x] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

https://user-images.githubusercontent.com/31397967/159218628-b17f551b-43df-4f95-9e65-c5871a80c435.mov

it would be nice to know which ones are right and which ones are wrong.

Alright, I add some reason about why I write so.
Is there still anything confused?

ps: missing translation mint.expert.batchSend

TBH, I don't know which translation is appropriate.

any particular reason why u removed @Debounce ?

any particular reason why u removed @Debounce ?

I just move the position of @Debounce, from every attribute update function to final onInput function.

Is there anything I need to modify? 👀

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 183.8 USD/KSM ~ 0.544 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x5bf8e579f4578ace56a3d4774e6e74b159d3d94ac613bb8717293af1882bed7e
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Add define for the function GLBlendModeHack

Hi
It's possible to put a define for the function  GLBlendModeHack
This function working for MorphOS
https://github.com/BSzili/SDL/commit/eee96d27c0b45dc1353ac6ac6c49827f43be8b1a
I also added your fix here : https://github.com/BSzili/SDL/commit/eee96d27c0b45dc1353ac6ac6c49827f43be8b1a#diff-4956a04b2a5178a1ab45e6567ebbd365a956893ddc64227a9f14d1ea211a634dR1231
I dont know if necessary for AmigaOS, but here working better....
Thanks

Hello,

Does MorphOS have glBlendFuncSeparate and glBlendEquation functions? If not, I think we could have the same fallback for OS4/MOS: if function pointers are NULL, then do "blend hack", otherwise use proper functions.

About enabling texturing: how this issue can be triggered? Please note that SDL folks fixed something earlier this year (BZ 4998).

hi,

no dont have  glBlendFuncSeparate and glBlendEquation functions here
dont know but if i dont enable, i have a white screen

But anywhay, i need to wait next release of MorphOS with better support of GL_BGRA.. until that BLEND doesnt working
thanks

can you reproduce white screen by using some SDL2 tests, like testsprite2 --renderer opengl?

I guess there is a possibility that issue is MorphOS-specific (differences between MiniGL and TinyGL or drivers).

MorphOS Team do that : tingl convertion GL_RGBA to GL_BGRA. : https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=12836&forum=12
Seem to be available on next release.
I have a beta version of it, and with this fix, i have 90% of game working with opengl renderer.
But now I have problem with BLEND mode, this is why i launch this discussion.
(PS: normaly MOS Team will check)
testsprite2 result :

with software

I close this issue.


laravel helper function array_dot empty arrays doesn't ignore

Laravel Version: 5.6
PHP Version:7.2

Description:
Original Array
[
  'test1' => 1230,
  'test2' => [
            "nested"=>"value"
       ],
  'test3' => []
];

after using array_dot method
[
    'test1' =>  1230,
    'test2.nested' => "value",
    'test3'=>[]
]

But test3 is still an array.
Expected result:
[
    'test1' =>  1230,
    'test2.nested' => "value",
    'test3'=>''
]

Shouldn't  every dot notation value must be a none array value ?

I don't know what you mean... Can you make it more clear?

I would say that it's the expected result. If you want the transformation to be reversible, this is only possible way.

In that case, what problems do you have in your development?

It's actually the wanted behavior. If you check the internals there's an explicit check for this:
https://github.com/laravel/framework/blob/63dd423e8c7d537d2774d9e4caf5ca16f005bc96/src/Illuminate/Support/Arr.php#L114


added the testimonial section

fixes : #516
https://www.awesomescreenshot.com/video/30178962?key=92f9c82784e795c3a97e1c6917f3a667

@PSS2134 check this

Looks Fantastic @ayush-848 !

Looks Fantastic @ayush-848 !

Thaks for you appreciation. The coding part for infinite scroll broke my back


feat: lossless image optimization.

My repos have access to https://imgbot.net, and it triggered an optimization run on my fork of Spoolman (see https://github.com/StuSerious/Spoolman/pull/1)
This is a lossless compression on the images, reducing size by 32% through optimization at no expense of quality.

Merge at your discretion.

Looks good, thank you :)


Keyboard shortcut system crash

Moved from https://github.com/Microsoft/vscode-cpptools/issues/1739 by @Calaan (I don't think our C/C++ extension can cause this).
ctrl+alt+12 with C/C++ extention is default keyboard shortcut for peek declaration. It is also shortcut for switching virtual console in ubuntu. I suspect conflict there. It hung whole system and hard reset is required. Tested on two PCs (one got Ubuntu with cinnamone, on with Ubuntu with unity).
VS Code version: Code 1.20.1 (f88bbf9, 2018-02-13T15:31:21.019Z)
OS version: Linux x64 4.13.0-36-generic
Item | Value
CPUs | Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2194)
Load (avg) | 1, 1, 1
Memory (System) | 15.37GB (1.55GB free)
Process Argv | /usr/share/code/code --unity-launch
Screen Reader | no
VM | 0%
Extension | Author (truncated) | Version
gitlens | eam | 8.0.2
cpptools | ms- | 0.15.0
partial-diff | ryu | 0.5.1

Thanks bot!


Add to PREFIX/lib to LDFLAGS and PREFIX/include to CFLAGS

Because the compiler automatically adds PREFIX/lib to rpath
it doesn't make sense not adding these.

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The outputs section contained an unexpected subsection name. run_exports is not a valid subsection name.
The outputs section contained an unexpected subsection name. run_exports is not a valid subsection name.
The outputs section contained an unexpected subsection name. run_exports is not a valid subsection name.

@conda-forge-admin, rerender


MS Edge (very old version) Accordion and details elemement

Hello,
I've come across an issue with using accordion and details elements when using Edge version 42 (not an issue with Edge version 79+). When you expand an accordion item the details elements cannot be opened or closed.  If you close the accordion then the details elements work as expected.  I understand this is an issue with a very old browser but most of our users are stuck using this version of edge (there are plans to upgrade but not sure about timeframes).  Accordion state is stored in session storage so I can't imagine that could cause a problem.
Any pointers were to look for the cause of this issue would be appreciated.
Thank you.

Hi Amin,
I've tried to reproduce this by including an accordion and a details component on the same page, using Edge 42.17134.1.0 on Windows 10, but have not been able to – both components are working as expected.
Are you able to provide any more details about how the details and accordion are placed on the page? A URL where I can try and reproduce this or a code example would be ideal.
Can you also confirm which version of GOV.UK Frontend you are using, and that you're including and initialising the JavaScript correctly?
Ollie

Hi @36degrees
Thanks for getting back to me.  After doing a bit more debugging I worked out that I was using an internal library class which wrapped your JS APis which was causing the issue. Once i removed it and used the your JS apis directly to initialise the components it started to work.
Thank you again and sorry to have raised the issue!

Hi @36degrees
Thanks for getting back to me. After doing a bit more debugging I worked out that I was using an internal library class which wrapped your JS APis which was causing the issue. Once i removed it and used the your JS apis directly to initialise the components it started to work.
Thank you again and sorry to have raised the issue!

No problem at all – glad you were able to get it sorted 👍


I have included the time from Dates package in tic and toc functions

I think this can make it clearer, what do you think about it?

I think this can make it clearer, what do you think about it?

Obs.: I didn't add the dependencies, just the example.