implementation of map ranking algorithm on gpu

also effected necessary suggestions mentioned in the earlier ranking pr's
made some performance improvements to the ndcg algo as well
i'll work on documenting the perf. numbers next

performance numbers
test environment

1 socket
6 cores/socket
2 threads/core
80 gb system memory
v100 gpu

test

tree method is gpu_hist
uses all cpu threads
100 trees
objective is rank:map

small mslr dataset

~ 3.6m training instances
distributed over ~ 10k groups
consuming 3.9 gb disk space
master does the gradient computation on cpu
fork does the gradient computation on gpu - i.e. this pr
gradient computation time and (inferred additional) memory overhead below

|   |   | master |   |   |   | fork |
:--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--:
metric |   | value | time (s) | memory (MiB) |   | value | time (s) | memory (MiB)
  |   |   |   |   |   |   |   |
map |   | 0.648909 | 7 | 2177 |   | 0.648607 | 0.57 | 2191
auc |   | 0.992987 | 6.96 | " |   | 0.996506 | 0.57 | "
rmse |   | 1.05868 | 6.99 | " |   | 1.053611 | 0.57 | "
ndcg |   | 0.738857 | 6.99 | " |   | 0.739546 | 0.57 | "
large mslr dataset

~ 11.3m training instances
distributed over ~ 95k groups
consuming 13 gb disk space
master does the gradient computation on cpu
fork does the gradient computation on gpu - i.e. this pr
gradient computation time and (inferred additional) memory overhead below

|   |   | master |   |   |   | fork |
:--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--:
metric |   | value | time (s) | memory (MiB) |   | value | time (s) | memory (MiB)
  |   |   |   |   |   |   |   |
map |   | 0.656295 | 23.12 | 4371|   | 0.656354 | 1.77 | 4414
auc |   | 1.026710 | 23.42 | " |   | 1.022204 | 1.76 | "
rmse |   | 0.994965 | 22.60 | " |   | 0.992704 | 1.76 | "
ndcg |   | 0.709523 | 22.95 | " |   | 0.710803 | 1.78 | "

upstream merge of #4805 into this fork is failing builds. can someone please look?

@RAMitchell @trivialfis @rongou please review when you get a chance.

Will look into this at weekend.  Thanks!

Overall looks good to me.
Is this comment still valid:
https://github.com/dmlc/xgboost/blob/ccaa819a7a01af5c9dc434060d8434c0f73d4e49/src/objective/rank_obj.cu#L1056
?

fixed the debug message.


Pypi package is outdated

I pip installed clint, and the version i got didn't have prompt.options and validators.OptionValidator.

+1

+1

+1

Hi all - I'm in Cambodia at the moment and don't have access to a computer. I'll push a new version to pypi within the next week!
J
Sent from my iPhone

On 16 Aug 2015, at 03:27, Magicshui<EMAIL_ADDRESS>wrote:
+1
—
Reply to this email directly or view it on GitHub.

Done!


New rule: no-submodule-imports

I'd like a new rule to disallow reaching into submodules in import paths. Similar to eslint-plugin-import/no-internal-modules (but we can't call it that since TypeScript has its own notion of "internal module").
// bad
import { Keys } from "@blueprintjs/core/dist/common";

// good
import { Keys } from "@bluepirntjs/core";

with rule config
"no-submodule-imports": {
  "options": [
    "@blueprinjs/core"
  ]
}

Will this be very similar to the "import-blacklist" rule? If so, I think I could give it a try.

Yes, this rule will be very similar to import-blacklist. In fact there will
only be a different condition to show an error. The rest of the logic can
be exactly the same.
Am 02.08.2017 18:07 schrieb "aervin_"<EMAIL_ADDRESS>Will this be very similar to the "import-blacklist" rule? If so, I think I
could give it a try.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/palantir/tslint/issues/3051#issuecomment-319719610,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALaeKA9jQXoNA-Pn-8gAS91bzWxf-8JIks5sUJ7EgaJpZM4ObgWg
.


Unspecified web container support for mobile Chrome or not

Describe the bug
It seems pretty clear that by default Chromium is mainly the supported browser for web containers. However the official doc for browser support makes no mention though if mobile Chrome is supported or not. The link was provided on an error message about my unsupported browser for web containers on mobile Chrome, but the link doesn't mention if mobile chrome is specifically supported or not yet. It should make some mention of any kind, even if just to say "not yet" . Understandably it would not be supported on iOS but the question would be outstanding on Android.. This link specifically
https://developer.stackblitz.com/docs/platform/browser-support/
Link to the blitz that caused the error
https://stackblitz.com/edit/withastro-astro-ga3cgp
Steps to reproduce
Open any web container template in mobile Chrome
Expected behavior
Since Chrome is a supported browser, the error message or linked article should make some mention of the mobile version specifically being not supported. If there's somehow already is some mentioned, it should be more explicit easier to find
Parity with Local

[ ] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
User agent
Mozilla/5.0 (Linux; Android 11; Surface Duo) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36
Additional context
No response

At some point Chrome for Android started requiring a COOP header for SAB support. Stackblitz is working on it. We'll probably see it Oct 12th. I detailed how to enable it on #810, but it's a lot of work and requires an ADB connection. Another possible solution is to change the user agent to Firefox using the Kiwi browser and the User-Agent Switcher for Chrome extension to permanently spoof stackblitz.com with a Firefox user-agent.

Hi @Seanmclem. Android Chrome should be supported and was supported for a while. Then due to a bug it didn't work anymore and we now just released a fix.
Could you try it again? If you still run into an issue, let us know!

Hi @Seanmclem. Android Chrome should be supported and was supported for a while. Then due to a bug it didn't work anymore and we now just released a fix.
Could you try it again? If you still run into an issue, let us know!

Hi, I tried it today and it says "Failed to boot WebContainer"
I can't find any other output or errors.
User agent: Mozilla/5.0 (Linux; Android 11; Surface Duo) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36

@Seanmclem There was a misconfiguration in our setup which caused CORS issues under the hood. Can you test again?

We believe this is now entirely fixed (also for Chrome mobile with desktop mode turned on).

We believe this is now entirely fixed (also for Chrome mobile with desktop mode turned on).

@SamVerschueren ok I tried it again. Fails to install dependencies. See screenshot.

We believe this is now entirely fixed (also for Chrome mobile with desktop mode turned on).

@SamVerschueren ok I tried it again. Fails to install dependencies. See screenshot.

That's an IO error... Probably a sandbox issue.
Try Vite.new/vue-ts
My phone works but my 4GB arm32 tablet quits


Minor documentation updates

Clarified callback ordering (see: #258)
Added several cross-references
Fixed several typos

Great work, thanks for taking the time.
I will merge once back in office on Monday.


show status when installing/uninstalling

Right now, it doesn't display anything so it's hard to understand if the terminal froze or is still processing.

Hello,
I would like to have a try at this issue

@Enzuo Awesome! Please do. 👍


Remove orphan tabs following deletion of old controllers

Questions
Answers

Description?
While upgrading to PrestaShop v9, remove tabs who lost their parent relation with the previous row deletion. this cleans the table and fixes an issue reported while opening the Stock page.

Type?
bug fix

BC breaks?
Nope

Deprecations?
Nope

Fixed ticket?
Fixes https://github.com/PrestaShop/PrestaShop/issues/35879

Sponsor company
PrestaShopCorp

How to test?
Upgrade from PS 8 to 9, then open the Stock page. It should load without error.

Hi @Quetzacoalt91
Thank you for your PR, I tested it on :
8.1.5 to 9.0.0, that works without any exception
but when I try to upgrade from 8.0.5 to 9.0.0, that what I have :
recording(202).webm
Waiting for your correction

Seen with @AureRita: Because the stack trace relates to a module it is interesting to see if the error can be reproduced on the dev branch as well.


Rebuild with NodeJS 6 makes huge trace every time node-sass used

After npm rebuild node-sass appeared: http://pastebin.com/S4wetaaX
and each time I use grunt-sass this huge trace appears in console.
Someone forgot to disable debug info?

Duplicate of https://github.com/sass/node-sass/issues/1484

<EMAIL_ADDRESS>has been released.


Add a React example to the subscriber - how to use event listener with subscriber

Hi,
I want to add to my subscriber event listeners.

Video-subscibers - the subscriber works, but I can't find a way to listen to the events.
Video-subscriber - I can see the ways to use the listener. I failed to subscribe, firstUpdate first eun is with an empty stream and it is not subscribed due to it.

How can I activate the subscriber with react

I need to subscribe and show the video:
I used opentok-react
<OTPublisher
key={'video-audio'}
session={session}
properties={props}
onPublish={onPublish}
eventHandlers={publisherEventHandlers}
onError={onError}
onInit={onInit}
/>
As you can see I used:         onPublish={onPublish}
eventHandlers={publisherEventHandlers}
onError={onError}
onInit={onInit}
and log all the meeting data for my data team.
There are 2 options to replace the OTPublisher:

video-subscriber: This run the firstUpdate before the session initiated and due to this the subscribe not happends.
  firstUpdated() {  if (this.stream) {    this.subscriber = this.session.subscribe(
video-subscriber: The video subscriber use update function, it partially works with react and fails in the update due to lit changeProperties. I needed to add subscriber.current.session = null in the teardown of the effect for this to work. I fail to find how do I log all the events.
Can you send me an example of react that uses:         onPublish={onPublish}      eventHandlers={publisherEventHandlers}      onError={onError}      onInit={onInit}?
Does video-subscriber suits for react? if not, I think video-subscribers should send event with its subscriber(same as the publisher) for using the events.
Thanks

There are 2 options to replace the OTPublisher

Why couldn't you use < video-publisher > ? That's the closest thing to OTPublisher. Right now, you can listen for published and error events because those were requested. If you want to set Publisher events to listen for, I can add a listeners property that you can pass in an Array of strings of the event names you want to listen for in your application. The Web Component can then dispatch a custom event of the same name with the event details as payload. How's that?

log all the meeting data

Do you mean the Publisher events?

video-subscriber: This run the firstUpdate before the session initiated and due to this the subscribe not happens.

Are you placing the < video-subscriber > without having a stream for it?
With opentok-react, you had to wrap OTSubscriber with OTStreams and OTSession, use sessionHelper.streams.map, or directly call OT.initSession and listen to streamCreated events.
Since the Web Components aren't React-specific, you'll have to use the last option of listening to streamCreated events.

The video subscriber use update function, it partially works with react and fails in the update due to lit changeProperties.

Can you be more specific in what you mean by "partially works" and "fails"?

I needed to add subscriber.current.session = null in the teardown of the effect for this to work.

If you are using < video-subscriber >, it's because you want more control over where your subscriber elements show up and behave, so you are then responsible for adding and removing them from the DOM.

I fail to find how do I log all the events.

Currently, for < video-subscriber >, you can listen for error, subscribed and unsubscribed events. If you'd like to add more, we can do the same thing I suggested earlier with the listeners property.

Can you send me an example of react that uses

Do you mean, how do you listen for Web Component events in React? Web Component events work the same regardless of framework/library. You get a reference to the Web Component and then you attach an event listener. Each framework/library may have its own implementations and can sometimes change, so we leave that up to the developer.
Currently, in React, you can do something like:
publisher.current.addEventListener('published', handlePublished);

Does video-subscriber suits for react?

I don't understand what this means? Can you use < video-subscriber > in React? Yes. Does it suit your specific use case? I don't know. So far, you've just asked about listening for specific events which we can add with the listeners property I mentioned before.

if not, I think video-subscribers should send event with its subscriber(same as the publisher) for using the events.

< video-subscribers > is meant to be the easier way of having all subscribers show up in a place without worrying about listening for streamCreated and adding the elements to the DOM. Anything above that, you'll probably want to use < video-subscriber >.
Let me know what you think.


*: update etcd to v3.5.0

Signed-off-by: disksing<EMAIL_ADDRESS>Including some import paths changes. It also updates minimal required go version to 1.15.

 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.

/merge


feat(vercel): allow fine-grained isr config via route rules

rework of #2375
related to #1880

This PR adds the ability to define isr route rule as an object:
{
  expiration?: number | false;
  group?: number;
  fallback?: string;
  allowQuery?: string[];
  passQuery?: boolean;
}

Example:
export default defineNitroConfig({
  routeRules: {
    "/products/**": { isr: { allowQuery: ["q"] } },
  },
});

These route rules will be used to generate vercel prerender config
{
  "expiration": false,
  "allowQuery": [
    "q",
    "url"
  ]
}

Merging to try on nightly.


Update Gruntfile.js

High Level Overview of Change
Adding Verifiable PayID protocol for Non-custodial Service providers to gruntfile
Type of Change

[x] Documentation Updates

Merged with #39. Closing this.


Add --version switch

It would be fantastic if go-chromecast were to show me which version is installed when I e.g. run
$ go-chromecast --version
go-chromecast v0.0.9 (<maybe-git-hash-here>)

It will make installing and maintaining go-chromecast on systems a lot easier.

This should be working with the latest release v0.0.11.
$ go-chromecast --version
go-chromecast v0.0.11 (87a4ec6) 2019-07-07T12:03:39Z

@vishen It would appear the functionality got lost with 0.0.12 again .. ?
./go-chromecast --version
[...]
unknown flag: --version

@vishen It would appear the functionality got lost with 0.0.12 again .. ?
$ ls -l
total 18328
-rwxr-xr-x 1 moe moe 13609152 Okt 13 19:53 go-chromecast
-rw-r--r-- 1 moe moe  5128682 Okt 13 19:53 go-chromecast_0.0.12_Linux_x86_64.tar.gz
-rw-r--r-- 1 moe moe    11353 Okt 13 19:50 LICENSE
-rw-r--r-- 1 moe moe     8993 Okt 13 19:50 README.md

./go-chromecast --version
[...]
unknown flag: --version

Hmm,my  apologies. Let me see if I can fix this again!

Haha yup! This should be working again in v0.0.13:
$ ./go-chromecast --version
go-chromecast v0.0.13 (3c39494) 2019-10-22T20:44:40Z

and there is a test to hopefully catch this again!


[FIX] Easter egg in appwrite.svg

Hey @tabuz   👋
Thanks a lot for your contribution! Please head over to our discord and share the PR link with us to claim your swags 🎁


libpcap.so.0.8 is missing

amazon-dash needs libpcap.so.0.8:
iobroker.2019-05-15.log:2019-05-15 07:41:23.396  - error: Caught by controller[0]: Error: libpcap.so.0.8: cannot open shared object file: No such file or directory
iobroker.2019-05-15.log:2019-05-15 07:41:23.396  - error: Caught by controller[0]:     at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
iobroker.2019-05-15.log:2019-05-15 07:41:53.829  - error: amazon-dash.0 uncaught exception: libpcap.so.0.8: cannot open shared object file: No such file or directory
iobroker.2019-05-15.log:2019-05-15 07:41:53.831  - error: amazon-dash.0 Error: libpcap.so.0.8: cannot open shared object file: No such file or directory

RTFM...
Please use environment variable "PACKAGES".
For more details see readme.md.
Regards,
André


Make responsive transform fn customisable

Hi!
Great work first of all!
In the responsive.js built-in plugin, I'd would be great to have the chance to customize the selector.value interpolation:
   const parser = require('postcss-selector-parser');

+  opts.transform = opts.transform || function(selector, suffix) {
+    return `${selector.value}-${suffix}`
+  };
+
   const createTransformer = suffix => {
     return selectors => {
       selectors.walk(selector => {
           if (selector.type == "class") {
-            selector.value += `-${suffix}`
+            selector.value = opts.transform(selector, suffix)
           }
       });
     };

selector.value += "-${suffix}" is not so common, and many popular CSS frameworks are prepending the suffix insted sm:font-size-100.

Hi @lorenzomigliorero. Thanks for the feedback. Feel free to submit a PR with this change.

Here we go! https://github.com/cogentParadigm/postcss-variants/pull/2


Chameleon page, browser and device testing

We have logged a ticket with Safari for: https://github.com/govau/designsystem/issues/362
More testing to come

Discovered palette options weren't being applied on radio input, also found we needed to encode the query param with ColorStateToString().
Both have been resolved, awaiting QA: feature/add-templates-landing-page


adding BucketSize class

Still need to specify the bucket or buckets and test

Currently experiencing:
botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the GetMetricStatistics operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

Going to have to add AWS keys to the work generator

Successfully able to get size of mirrulations bucket when providing AWS keys. Currently not saving value to Redis, just prints the size of the bucket in gb in the work generator

This pull request is ready to review

Writing to the actual dashboard will be in pull request #168. Broke process down into two seperate pull requests to avoid editing too many files.

Looks good to me as the classes were properly made with try except blocks, as well with proper tests.


Table-UI FR: make data entries clickable

Description
As a dashboard user viewing information in a Table-UI node, I would like to be able to select an entry, so further action can be taken on my choice, like pre-fill another form or showing a modal window for deleting that entry.
It would be ideal if also the column that was clicked within that row would be reported.
Which customers would this be available to
Everyone - CE/Starter/Team/Enterprise
Have you provided an initial effort estimate for this issue?
I am not a FlowFuse team member

Also requested here on the forums and is a very quick feature to implement that should be in there anyway. Will prioritise.


Change references to the peopledoc orga into workalendar

refs #651
There's one reference (in the ical generation code) that can has a functional impact. The rest is docs.

I've reverted the ical-related things.

Thank you very much for this patch (and sorry for having let this project a bit aside, because reasons)


Wrong URL in example for extending subscription

It should be https://purchase.mp.microsoft.com/v8.0/b2b/recurrences/{recurrenceId}/change

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

ID: 5e6f5f94-6f63-e18a-673c-b8c4fac73dea
Version Independent ID: c094c841-0477-362a-1070-cedba080f57e
Content: Change the billing state of a subscription for a user - UWP app developer
Content Source: windows-apps-src/monetize/change-the-billing-state-of-a-subscription-for-a-user.md
Product: windows
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for reporting this. I have fixed the request example in the article.


runtime: bsdthread_register fatal error (CylancePROTECT)

What version of Go are you using (go version)?
go version go1.8beta1
What operating system and processor architecture are you using (go env)?
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/kevin.saldana/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

uname -prsv
Darwin 14.5.0 Darwin Kernel Version 14.5.0: Mon Aug 29 21:14:16 PDT 2016; root:xnu-2782.50.6~1/RELEASE_X86_64 i386

What did you do?
Any call to go build/tools fails with
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x16b2b8c, 0x21)
   /usr/local/go/src/runtime/panic.go:596 +0x95 fp=0x7fff5fbff180 sp=0x7fff5fbff160
runtime.goenvs()
   /usr/local/go/src/runtime/os_darwin.go:108 +0xa0 fp=0x7fff5fbff1b0 sp=0x7fff5fbff180
runtime.schedinit()
   /usr/local/go/src/runtime/proc.go:476 +0xa1 fp=0x7fff5fbff1f0 sp=0x7fff5fbff1b0
runtime.rt0_go(0x7fff5fbff220, 0x11, 0x7fff5fbff220, 0x0, 0x11, 0x7fff5fbff490, 0x7fff5fbff4bc, 0x7fff5fbff4bf, 0x7fff5fbff549, 0x7fff5fbff553, ...)

What did you expect to see?
Working builds.
I have gone through all threads related to this error and have tried their solutions (disabling anti-virus, messing with DYLD environment variables, adding -ldflags -linkmode=external to build) and am still running into this issue.
Note, I am running an old version of OSX -- Yosemite v10.10.5.
I have tried both building from source and using the installer. Same effect either way.
Downgrading to 1.7.4 does not run into this error.

It will be helpful to know what does bsdthread_register return.
Could you please apply this patch to Go 1.8beta source code and
post what does the new println say?
https://gist.github.com/minux/ef054728f5f9b8e3685b88f5c88d1ad3
(I don't post the patch inline because github and/or Gmail will
reformat the message and make it harder to apply the patch.)
Thanks.

@minux I think we should just include the return value in error message permanently. That would make it easier to debug in future.
i.e.
if r := bsdthread_register(); r != 0 {
	...
	throw(fmt.Sprintf("runtime: bsdthread_register error(%d)", r))
}

WDYT?

Yeah, we can do that, but I'm still interested in this particular case
because this is obviously system dependent (so far we only got
one such issue, so it's not widespread....)

Is the go command binary itself crashing? We have built the go binary for 1.8 beta 1 on Macs without problems. I'm wondering what is different about your system.

It may work to try
GO_LDFLAGS=-linkmode=external ./all.bash

but I don't know that would be necessary. I wonder if there's something on your system intercepting process execution and doing an implicit DYLD insertion.

FWIW, I can generate this panic 100% of the time using both 1.7.4 and tip by running an executable under dtruss:
$ go build -o hw17 ~/hello.go
$ sudo dtruss ./hw17
Password:
SYSCALL(args) 		 = return
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0xa79ad, 0x21)
	/Users/josh/go/1.7/src/runtime/panic.go:566 +0x95 fp=0x7fff5fbffb80 sp=0x7fff5fbffb60
runtime.goenvs()
	/Users/josh/go/1.7/src/runtime/os_darwin.go:88 +0xa0 fp=0x7fff5fbffbb0 sp=0x7fff5fbffb80
runtime.schedinit()
	/Users/josh/go/1.7/src/runtime/proc.go:450 +0x9c fp=0x7fff5fbffbf0 sp=0x7fff5fbffbb0
runtime.rt0_go(0x7fff5fbffc28, 0x1, 0x7fff5fbffc28, 0x0, 0x0, 0x1, 0x7fff5fbffd28, 0x0, 0x7fff5fbffd2f, 0x7fff5fbffd3d, ...)
	/Users/josh/go/1.7/src/runtime/asm_amd64.s:145 +0x14f fp=0x7fff5fbffbf8 sp=0x7fff5fbffbf0
thread_selfid(0x0, 0x0, 0x0)		 = 672106 0
open(".\0", 0x0, 0x1)		 = 3 0
... elided ...

GO_LDFLAGS=-linkmode=external does not fix it.

dtrace will insert libSystem.dylib into the process, so using dtrace on
non-cgo Go binaries will result in a crash. This is known.

What does bsdthread_register even do?

Register a thread creation callback function to the kernel.
A process can only register one. When cgo is not used (internal linking),
Go doesn't pthread_create to create threads, and registers its own
thread creation callback function.
See https://golang.org/src/runtime/sys_darwin_amd64.s for details.

We still don't know why @ksaldana1's system is force-inserting libSystem.dylib into ordinary process execution. Maybe we can make all binaries expect libSystem.dylib, but I think it's too late for Go 1.8.

Updating to go 1.8rc1 I've noticed this issue as well on OSX 10.11.6. Reverting back to 1.7.4 does not reproduce the issue. I did not experienced the issue with 1.8beta1, but I did recently have a antivirus software installed on my system within the past few days. Not sure if that is related.

I rebuilt Go from source on both tip and go1.8rc1 tag, and doing so lets me build and run Go source.  Only using the pre-built package on golang.org/dl for 1.8 do I experience the issue.

Just thought I'd chime in, just ran into this as well in the upgrade to 1.8. I was running CylanceProtect and it would throw the same errors. Strangely 1.7.x had no issues.

I'm also running into the issue. I have Cylance installed as well.

I also have the same problem and I have Cylance installed.

I can confirm that I am having the same error on macOS Sierra, Go 1.8, running Cylance protect.

I managed to get around this problem by asking the IT support to change the Cylance policy to (MAC - BG).

This is caused by CylancePROTECT Memory Protection. Please ask your Cylance administrator to add the following Memory Protection exclusions:
/usr/local/go/bin/go
/usr/local/go/pkg/tool/darwin_amd64/compile
/usr/local/go/pkg/tool/darwin_amd64/link

If you need to pass along to your Cylance administrators, this article indicates the directories that need to be excluded to work around Go 1.8 fatal errors.
https://support.cylance.com/hc/en-us/articles/115004085328

I'm curious why this started in Go 1.8. The fact that @jasdel rebuilding from source doesn't have the problem is also interesting, although that didn't help @ksaldana1. I wonder if it means our build has changed in some way.
At a glance, I can't see anything different about the Go 1.8 binaries vs the Go 1.7.5 binaries. bin/go should be using cgo in both versions, which should make it not call bsdthread_register at all. Perhaps @jamiseichenauer was over-conservative and the go command does not need to be on the whitelist.
tool/compile and tool/link don't use cgo (because they don't have network code in them), and they do try to call bsdthread_register.
We can close this issue forever by making all Go binaries built for OS X implicitly import "runtime/cgo" (when CGO_ENABLED=1). Then Go will always use libpthread for thread creation and not call bsdthread_register (again assuming cgo is enabled).

We can close this issue forever by making all Go binaries built for OS X implicitly import "runtime/cgo" (when CGO_ENABLED=1). Then Go will always use libpthread for thread creation and not call bsdthread_register (again assuming cgo is enabled).

I don't want to play the game of trying to make antivirus happy. Nobody ever seems to win that game.

It's not just antivirus, though. It's also DTrace. See #17819, merged (I think incorrectly) into #17490.

Can confirm that this happens with Go 1.8 on OS X El Cap 10.11.6 running Cylance 1.2.1418.609.

Similar to @ccampo133, I can also confirm that this happens with both Go 1.8 and Go 1.8.1 on OS X El Cap 10.11.6 running Cylance 1.2.1418.609, but does not happen with Go 1.7.5.

Confirming works on 1.7.4 & 1.7.5, fails on 1.8 and 1.8.1
CylancePROTECT 1.2.1400.524 on El Capitan 10.11.6

I started to look into this, but compiling runtime/cgo requires invoking the cgo binary, which would have to be linked with runtime/cgo in order to get past Cylance, which is a cycle. The cycle can be broken by having a special bootstrap cgo binary that isn't linked using cgo code, but that starts to get a bit complex. Leaving for later.

 Haven't tried other versions.
I have CylancePROTECT Version 2.0.1420.528.
Mac OS X Sierra 10.12.4

Figured out how to temporarily work around this, everytime i start my computer i run:
sudo launchctl unload /Library/launchdaemons/com.cylance.agent_service.plist

Same problem here.

Same problem. 1.7.6 works. 1.8 or 1.8.8 does not.

We don't know why this is happening, nor why it started with Go 1.8. It's very likely not going to be fixed for Go 1.9. Sorry.

Perhaps someone can followup with Cylance?

@rsc We have a contact with Cylance, anything in particular you'd recommend reaching out to them about?

@polds, thanks for the offer. Before we ping Cylance, can people having this problem try the following? I've attached a zip file with six binaries:

That was cool, I knocked my mouse over and managed to click Close and Comment.

Anyway, I've attached a zip file with six binaries, three from Go 1.7.6 and three from Go 1.8.2.
$ unzip -l go-issue-18171.zip
Archive:  go-issue-18171.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  05-24-2017 10:19   go-issue-18171/
  9884220  05-24-2017 10:19   go-issue-18171/go1.7.6
  9985940  05-24-2017 10:19   go-issue-18171/go1.8.2
 15065500  05-24-2017 10:18   go-issue-18171/godoc1.7.6
 15129860  05-24-2017 10:18   go-issue-18171/godoc1.8.2
  2976976  05-24-2017 10:18   go-issue-18171/gofmt1.7.6
  3320448  05-24-2017 10:18   go-issue-18171/gofmt1.8.2
---------                     -------
 56362944                     7 files

@andredasilvapinto, @j-mroz, @polds, anyone else having problems, can you download the zip file and then run:
unzip go-issue-18171.zip
cd go-issue-18171
./go1.7.6 -help
./godoc1.7.6 -help
./gofmt1.7.6 -help
./go1.8.2 -help
./godoc1.8.2 -help
./gofmt1.8.2 -help

and post the resulting shell transcript? On my non-Cylanced system, I just get help messages. But the expectation is that under Cylance some of these binaries will fail. Specifically, I expect gofmt1.8.2 to fail but not any of the others. Confirming or disproving that assumption would be useful for asking good questions of Cylance.
Thanks.

So of interesting note, I just installed Cylance on a VM (had to disable it since it's been messing with Go) I did not see the errors in Cylance 1.0.x. When I upgraded to Version 2.0.x it started throwing those errors.
@rsc Here is the output of those commands, successful results stripped (you were right about gofmt failing):
Peters-Mac:go-issue-18171 peter$ ./go1.7.6 -help
# success

Peters-Mac:go-issue-18171 peter$ ./godoc1.7.6 -help
# success

Peters-Mac:go-issue-18171 peter$ ./gofmt1.7.6 -help
# success

Peters-Mac:go-issue-18171 peter$ ./go1.8.2 -help
# success

Peters-Mac:go-issue-18171 peter$ ./godoc1.8.2 -help
# success

Peters-Mac:go-issue-18171 peter$ ./gofmt1.8.2 -help
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x1177bef, 0x21)
        /usr/local/go/src/runtime/panic.go:596 +0x95 fp=0x7fff5fbffb10 sp=0x7fff5fbffaf0
runtime.goenvs()
        /usr/local/go/src/runtime/os_darwin.go:108 +0xa0 fp=0x7fff5fbffb40 sp=0x7fff5fbffb10
runtime.schedinit()
        /usr/local/go/src/runtime/proc.go:486 +0xa1 fp=0x7fff5fbffb80 sp=0x7fff5fbffb40
runtime.rt0_go(0x7fff5fbffbb8, 0x2, 0x7fff5fbffbb8, 0x0, 0x0, 0x2, 0x7fff5fbffcd0, 0x7fff5fbffcdd, 0x0, 0x7fff5fbffce3, ...)
        /usr/local/go/src/runtime/asm_amd64.s:158 +0x183 fp=0x7fff5fbffb88 sp=0x7fff5fbffb80

@rsc Here is my output (OS X El Cap 10.11.6 with Cylance 1.2.1418.609):
$ ./go1.7.6 -help
Go is a tool for managing Go source code.

Usage:

	go command [arguments]

The commands are:

	build       compile packages and dependencies
	clean       remove object files
	doc         show documentation for package or symbol
	env         print Go environment information
	fix         run go tool fix on packages
	fmt         run gofmt on package sources
	generate    generate Go files by processing source
	get         download and install packages and dependencies
	install     compile and install packages and dependencies
	list        list packages
	run         compile and run Go program
	test        test packages
	tool        run specified go tool
	version     print Go version
	vet         run go tool vet on packages

Use "go help [command]" for more information about a command.

Additional help topics:

	c           calling between Go and C
	buildmode   description of build modes
	filetype    file types
	gopath      GOPATH environment variable
	environment environment variables
	importpath  import path syntax
	packages    description of package lists
	testflag    description of testing flags
	testfunc    description of testing functions

Use "go help [topic]" for more information about that topic.

$ ./godoc1.7.6 -help
usage: godoc package [name ...]
	godoc -http=:6060
  -analysis string
    	comma-separated list of analyses to perform (supported: type, pointer). See http://golang.org/lib/godoc/analysis/help.html
  -ex
    	show examples in command line mode
  -goroot string
    	Go root directory (default "/usr/local/go")
  -html
    	print HTML in command-line mode
  -http string
    	HTTP service address (e.g., ':6060')
  -httptest.serve string
    	if non-empty, httptest.NewServer serves on this address and blocks
  -index
    	enable search index
  -index_files string
    	glob pattern specifying index files; if not empty, the index is read from these files in sorted order
  -index_interval duration
    	interval of indexing; 0 for default (5m), negative to only index once at startup
  -index_throttle float
    	index throttle value; 0.0 = no time allocated, 1.0 = full throttle (default 0.75)
  -links
    	link identifiers to their declarations (default true)
  -maxresults int
    	maximum number of full text search results shown (default 10000)
  -notes string
    	regular expression matching note markers to show (default "BUG")
  -play
    	enable playground in web interface
  -q	arguments are considered search queries
  -server string
    	webserver address for command line searches
  -src
    	print (exported) source in command-line mode
  -tabwidth int
    	tab width (default 4)
  -templates string
    	directory containing alternate template files
  -timestamps
    	show timestamps with directory listings
  -url string
    	print HTML for named URL
  -v	verbose mode
  -write_index
    	write index to a file; the file name must be specified with -index_files
  -zip string
    	zip file providing the file system to serve; disabled if empty

$ ./gofmt1.7.6 -help
usage: gofmt [flags] [path ...]
  -cpuprofile string
    	write cpu profile to this file
  -d	display diffs instead of rewriting files
  -e	report all errors (not just the first 10 on different lines)
  -l	list files whose formatting differs from gofmt's
  -r string
    	rewrite rule (e.g., 'a[b:len(a)] -> a[b:]')
  -s	simplify code
  -w	write result to (source) file instead of stdout

$ ./go1.8.2 -help
Go is a tool for managing Go source code.

Usage:

	go command [arguments]

The commands are:

	build       compile packages and dependencies
	clean       remove object files
	doc         show documentation for package or symbol
	env         print Go environment information
	bug         start a bug report
	fix         run go tool fix on packages
	fmt         run gofmt on package sources
	generate    generate Go files by processing source
	get         download and install packages and dependencies
	install     compile and install packages and dependencies
	list        list packages
	run         compile and run Go program
	test        test packages
	tool        run specified go tool
	version     print Go version
	vet         run go tool vet on packages

Use "go help [command]" for more information about a command.

Additional help topics:

	c           calling between Go and C
	buildmode   description of build modes
	filetype    file types
	gopath      GOPATH environment variable
	environment environment variables
	importpath  import path syntax
	packages    description of package lists
	testflag    description of testing flags
	testfunc    description of testing functions

Use "go help [topic]" for more information about that topic.

$ ./godoc1.8.2 -help
usage: godoc package [name ...]
	godoc -http=:6060
  -analysis string
    	comma-separated list of analyses to perform (supported: type, pointer). See http://golang.org/lib/godoc/analysis/help.html
  -ex
    	show examples in command line mode
  -goroot string
    	Go root directory (default "/usr/local/go")
  -html
    	print HTML in command-line mode
  -http string
    	HTTP service address (e.g., ':6060')
  -httptest.serve string
    	if non-empty, httptest.NewServer serves on this address and blocks
  -index
    	enable search index
  -index_files string
    	glob pattern specifying index files; if not empty, the index is read from these files in sorted order
  -index_interval duration
    	interval of indexing; 0 for default (5m), negative to only index once at startup
  -index_throttle float
    	index throttle value; 0.0 = no time allocated, 1.0 = full throttle (default 0.75)
  -links
    	link identifiers to their declarations (default true)
  -maxresults int
    	maximum number of full text search results shown (default 10000)
  -notes string
    	regular expression matching note markers to show (default "BUG")
  -play
    	enable playground in web interface
  -q	arguments are considered search queries
  -server string
    	webserver address for command line searches
  -src
    	print (exported) source in command-line mode
  -tabwidth int
    	tab width (default 4)
  -templates string
    	load templates/JS/CSS from disk in this directory
  -timestamps
    	show timestamps with directory listings
  -url string
    	print HTML for named URL
  -v	verbose mode
  -write_index
    	write index to a file; the file name must be specified with -index_files
  -zip string
    	zip file providing the file system to serve; disabled if empty

$./gofmt1.8.2 -help
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x1177bef, 0x21)
	/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0x7fff5fbff150 sp=0x7fff5fbff130
runtime.goenvs()
	/usr/local/go/src/runtime/os_darwin.go:108 +0xa0 fp=0x7fff5fbff180 sp=0x7fff5fbff150
runtime.schedinit()
	/usr/local/go/src/runtime/proc.go:486 +0xa1 fp=0x7fff5fbff1c0 sp=0x7fff5fbff180
runtime.rt0_go(0x7fff5fbff1f0, 0x2, 0x7fff5fbff1f0, 0x0, 0x2, 0x7fff5fbff4c0, 0x7fff5fbff4cd, 0x0, 0x7fff5fbff4d3, 0x7fff5fbff4e3, ...)
	/usr/local/go/src/runtime/asm_amd64.s:158 +0x183 fp=0x7fff5fbff1c8 sp=0x7fff5fbff1c0

Appears that ./gofmt1.8.2 -help is the only command that fails.

@polds, thanks, OK, so then here's my question for Cylance.
As background, on the Mac, C programs using threads use libSystem.dylib to interact with the operating system to manage those threads. Go programs that call out to C libraries do the same.  But Go programs that don't call out to C libraries do everything themselves, to avoid any dependencies on C when not needed. Using networking on a Mac means calling a C library, so on a Mac it's the basic file I/O-only Go programs that don't use the usual C threads. This has been true from Go 1.0 and before.
As more background, we also know from experience that some Mac programs force dynamic loading of libraries ahead of ordinary program start, including libSystem.dylib. For example if you run under dtruss, you can't avoid having libSystem.dylib. If libSystem.dylib is forced into a Go binary expecting to manage threads itself, the two do not get along: Go's bsdthread_register system call fails, causing output like the errors above. We've also seen this with interposition software that sets the DYLD_INSERT_LIBRARIES environment variable.
Now, about Cylance. The failing gofmt binary from Go 1.8.2 (gofmt1.8.2 in go-issue-18171.zip) is behaving for all the world like Cylance is doing some kind of early dynamic library loading that is registering for creating threads before Go can. The question is why gofmt from Go 1.7.6 (gofmt1.7.6 in the same zip file) works fine.   Is there any advice Cylance would give us on what we can do to make our newer binaries be treated like the Go 1.7 binaries are treated?
An alternative long-term fix would be to use libSystem.dylib even for non-C-using Go binaries, but that's technically quite difficult for us and wouldn't be something we could do retroactively to Go 1.8 or even the upcoming Go 1.9.
Thanks very much.
Russ

By the way,  gofmt works if I run it via lldb for some reason, don't crashes ...

I've done a git bisect on golang repository using all.bash script to check for the issue
276803d6111b46c66956c99d982d70f23820ba5d is the first bad commit
commit 276803d6111b46c66956c99d982d70f23820ba5d
Author: David Crawshaw<EMAIL_ADDRESS>Date:   Mon Sep 5 23:29:16 2016 -0400
cmd/link: introduce a rel.ro segment

When internally linking with using rel.ro sections, this segment covers
the sections. To do this, move to other read-only sections, SELFROSECT
and SMACHOPLT, out of the way.

Part of adding PIE internal linking on linux/amd64.

Change-Id: I4fb3d180e92f7e801789ab89864010faf5a2cb6d
Reviewed-on: https://go-review.googlesource.com/28538
Run-TryBot: David Crawshaw<EMAIL_ADDRESS>TryBot-Result: Gobot Gobot<EMAIL_ADDRESS>Reviewed-by: Ian Lance Taylor<EMAIL_ADDRESS>
:040000<PHONE_NUMBER>94da05c8a090f3aadb7b36a5d2769384f20a 75b4f6cac52c869353962f88f72a568a86348573 M	src

So, my contact no longer works at Cylance, I'm going through alternative "slow channels" but not having high hopes.

I wonder if Go should just use libSystem.dylib always on macOS.  I would
imagine that doing anything else is not supported by Apple.
On May 31, 2017 11:52 AM, "Peter Olds"<EMAIL_ADDRESS>wrote:

So, my contact no longer works at Cylance, I'm going through alternative
"slow channels" but not having high hopes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/18171#issuecomment-305231176, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGGWBzhOBjLmUfjplknF4Yt1THhjUlOLks5r_YytgaJpZM4LDD37
.

Moving sections SELFROSECT and SMACHOPLT to their old position after the SPCLNTAB fixes the issue with bsdthread_register.
files changed: cmd/link/internal/ld/symkind.go, src/cmd/link/internal/ld/data.go.
But all test have passed, for some reason that I haven't checked net/http test failed. I've used 4aa5d2eede522567b183f11fd201e5d257fe652a.
Why on earth that would change anything?

@DemiMarie, I agree we might want to do that in the long term, but it's tricky to bootstrap (see https://github.com/golang/go/issues/18171#issuecomment-285098816 and https://github.com/golang/go/issues/18171#issuecomment-293366609 above).
@j-mroz, thanks very much for finding that. Can you send a CL, even if it breaks net/http? Maybe someone else can figure out what's wrong with net/http. Also network tests on macOS are flaky under some configurations, apparently due to problems with the macOS network stack. So your change might be fine.
Thanks everyone.

I've also experienced net and log/syslog tests failure - "signal: broken pipe", but then it all worked. Seems to be random, and not reproducible all the time.
Anyway, I've posted a CL as you suggested .
I just reverted parts of the original commit but I do not know if it is full fix or does it introduces a regression. Hope that it helps you solve the issue.

CC @crawshaw

One of our contacts at Cylance has been working on this issue, and has targeted the 1450 release for resolving it.
I just got added the Early Adopter release for the 1450...
Preliminary results: this issue hasn't appeared when running 1.8.3 with CylancePROTECT <IP_ADDRESS>0.505 🎊

FWIW: El Capitan and go 1.8.3 with CylancePROTECT (now at 2.0.1450.506) not producing the error where this same machine was producing it before a Cylance update.

Thanks so much @ascondment, @bru7us, and the engineers at Cylance who got this fixed.

@bru7us I am experiencing the same issue but do not have the update mentioned for cylance.
Mac OSX Sierra 10.12.5
Cylance Agent Version 2.0.1440.541 (No other available update to push from the console)
Go Version: go1.8.3 darwin/amd64
Do you know when this update will get pushed to Sierra?

@nilator83 1450 was released on June 20th, you may need to ask your Cylance admin to enable it for your zone


Factor interop into 3rd party modules where applicable

In discussion of https://github.com/quantumlib/Cirq/issues/4339 at the cirq cync, we thought it would be a good idea to think about moving some of the "interop" functionality from cirq-core, especially to_quil into 3rd party modules like cirq-rigetti if one exists. Then issues could be fixed by their rightful codeowners
A question: what will we do with other interop like to_qasm that don't have 3rd party modules to handle?

Xref: #4623

Moved to triage-discuss to get a decision.

Discussion from Cirq-sync: We have moved quil outputs to cirq-rigetti now and qasm seems universal enough where we can just leave it in cirq-core (since it has no better home we can think of. Same goes for quirk). Going to close for now.


Addition of 2 Papers

Hello!
Congrats on the survey paper!
I am adding two more papers:

Explainable Fact Checking with Probabilistic Answer Set Programming: This is already cited in the paper. I have added it in the README and pointed to the code. I have included it under "Justification Production" as in the paper.
Scrutinizer: A Mixed-Initiative Approach to Large-Scale, Data-Driven Claim Verification: I have added the paper and the link to the code. I have included it under "Factual Verification."

Best Regards,
Mohammed SAEED

Thanks for adding the missing reference!


Add MADV_* constants for Linux

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

CI failed, could you also modify the semver file? See the contribution guide for details.

@JohnTitor Thanks for the review. Sorry about not paying attention to the contribution guide; I will fix this accordingly.

@topecongiro Friendly-ping, could you address the failure?

Closing as inactive, feel free to reopen/resubmit if you're still interested in this change. Thank you!


fix permission denied url with git clone

When i use git clone git@github.com:opendp/opendp.git, got this
<EMAIL_ADDRESS>Permission denied (publickey).

So i try to fix it with github url

Thanks for the PR! The git@github.com:opendp/opendp.git address assumes you have an SSH key configured with GitHub. This is nice because you don't need to input your password in every time you push/pull. I think it would be better to keep the default SSH-based address, but add a troubleshooting note for people who have not yet configured SSH (that recommends either setting up an SSH key or adjusting to the https address).

Closing in favor of #423. Thanks for opening this!


[FEATURE REQUEST] Make the library usable with find_package, support C++20 module and vcpkg.

First of all, thank you for creating such an excellent library. It has been incredibly helpful for interoperability between Modern C++ projects and C libraries (especially for use with ImGui).
Currently, I am using a fork of this library. My project manages dependencies via vcpkg, so I have made some adjustments to the directory structure and CMakeLists.txt. Additionally, I am introducing C++20 modules into my project.
Here are my proposals:
1.	I would like to add this library as a vcpkg port.
2.	I would like to add module files, like this.
All proposed changes are already implemented in my forked repository, and I am willing to contribute if you are open to these suggestions.

Hi stripe2933,
sorry for the late reply. Of course, contributions are always welcome. Feel free to open a PR :smiley:


Updated Usage example returns 400 Bad Request on oauth/token call

Hello,
The Usage example on the ReadMe works just fine against the Sandbox environment.
However, using the same code but with my production userid, and OAuth base path of "account.docusign.com" returns a 400 Bad Request error.
It is reproducible 100% of the time.
Please assist, thank you!

@jeffhee You may be missing the consent part - this is a one time activity before you can move forward with JWT authentication.
Just update your integrator key and Redirect Uri below and give consent when prompted... and try again...
https://account.docusign.com/oauth/auth?response_type=code&scope=signature impersonation&client_id=**$YourIntegratorKey**&redirect_uri=**$YourRedirectUri**
Please See - https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken

Hi there,
Consent was already granted. To confirm, I tried it again and was sent directly to the redirect url, bypassing the authorization screen.

Hi @jeffhee  Confirm what version you are using, we recommend NuGet v2.2.0 or latest GitHub release v2.2.0.
If your using the latest csharp client you may get more information on the response, by debugging at this line. https://github.com/docusign/docusign-csharp-client/blob/12ee722bca4321eea7b9f192ee127b36296cdab5/sdk/src/DocuSign.eSign/Client/ApiClient.cs#L826
Just to confirm you are using your host for production as "https://www.docusign.net/restapi"
and oauthbasepath as "account.docusign.com"
You can give more details on your issue here https://support.docusign.com/en/createCase
Thanks

Hello,
First of all, thank you for your prompt responses. :)
Just pulled latest, now running under GitHub release v2.2.0 and experiencing the same error result on production only. Using the correct production host of https://www.docusign.net/restapi and oauth base path of account.docusign.com, the CallApi line is returning a "BadRequest" error.
I've already created a ticket, #04233413. There hasn't been any responses from the CS team since June 25th.
Thank you!

any answer?

Hi @thallesrv , this issue was closed almost two years ago.
If you're having a problem using the C# SDK, the best way to get help is to open a request on StackOverflow, with tag docusignapi.
If you feel the SDK itself has a bug, you can raise a new issue here. Thank you, Larry


[BEAM-10249] Populate state cache with initial values before appending

When new values are added to a bag state, the cache handler in the Python SDK
does not check whether the underlying state already has values present. Although
the append operation will be sent to the backend, the cache itself will be
corrupted because it returns only the newly appended values for get operations,
not the values present before the append operation.
This is a concern when restoring from a checkpoint but also when items are
evicted from the cache.

Run Python2_PVR_Flink PreCommit

Failures are unrelated to this change.
12:15:27     import rsa
12:15:27   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Phrase/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/rsa/__init__.py", line 24, in <module>
12:15:27     from rsa.key import newkeys, PrivateKey, PublicKey
12:15:27   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Phrase/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/rsa/key.py", line 1
12:15:27 SyntaxError: Non-ASCII character '\xc3' in file /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Phrase/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/rsa/key.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Also Dataflow tests are failing (unrelated):
12:46:05 1: Task failed with an exception.
12:46:05 -----------
12:46:05 * Where:
12:46:05 Script '/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/dataflow/common.gradle' line: 77
12:46:05
12:46:05 * What went wrong:
12:46:05 Execution failed for task ':sdks:python:test-suites:dataflow:py2:preCommitIT_batch'.
12:46:05 > Process 'command 'sh'' finished with non-zero exit value 1
12:46:05
12:46:05 * Try:
12:46:05 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
12:46:05 ==============================================================================
12:46:05
12:46:05 2: Task failed with an exception.
12:46:05 -----------
12:46:05 * Where:
12:46:05 Script '/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/dataflow/common.gradle' line: 77
12:46:05
12:46:05 * What went wrong:
12:46:05 Execution failed for task ':sdks:python:test-suites:dataflow:py2:preCommitIT_streaming'.
12:46:05 > Process 'command 'sh'' finished with non-zero exit value 1
12:46:05
12:46:05 * Try:
12:46:05 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
12:46:05 ==============================================================================
12:46:05
12:46:05 3: Task failed with an exception.
12:46:05 -----------
12:46:05 * Where:
12:46:05 Script '/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/dataflow/common.gradle' line: 77
12:46:05
12:46:05 * What went wrong:
12:46:05 Execution failed for task ':sdks:python:test-suites:dataflow:py2:preCommitIT_batch_V2'.
12:46:05 > Process 'command 'sh'' finished with non-zero exit value 1
12:46:05

Run Python2_PVR_Flink PreCommit

Run Portable_Python PreCommit

Run Python PreCommit


fix(ktor): scalability for server

Noticed slow processing in ktor, when there is a high amount of load. The thread pool sizes (connectionGroupSize, workerGroupSize, and callGroupSize)  dynamically calculated based on the available processors, ensuring optimal performance.
This setup will be 16, 32, 32 instead of 8, 8, 16 -> This configuration assumes that application processing is more CPU-intensive than connection handling. Not true looking at metrics.
checking the docs:
If /token processing is delayed, we can increase callGroupSize gradually to handle more concurrent requests.
consider:
install(IdleTimeout) {
requestTimeoutMillis = 15000
idleTimeoutMillis = 60000
}
to handle connection not consuming resources use

Nice work! How does Runtime.getRuntime().availableProcessors() change? Does it scale with the given CPU requests or limits?
Is the slow processing present when scaling with multiple replicas as CPU load goes up?

How does Runtime.getRuntime().availableProcessors() change? Does it scale with the given CPU requests or limits?
Is the slow processing present when scaling with multiple replicas as CPU load goes up?

In Kubernetes, the value adapts to the CPU limits set on the container.
If no specific limits are set, it reflects the total processors available on the host machine.
CPU Requests:
availableProcessors() does not reflect CPU requests; it reflects the CPU limits.
CPU Limits:
availableProcessors() will return the number of logical processors corresponding to the limit.
like, If no limits are set, availableProcessors() will reflect the total CPUs on the node.
If a limit is set to 2 CPUs, availableProcessors() returns 2.
If increase replicas and observe how availableProcessors() scales
So we want to set a cpu limit, I tested in dev-gcp and it gave me ->16, thats from the calculation in my PR.

New commit:
for dev-gcp with 16 cpu av. and max 12 pods scaled
connectionGroupSize = 8
workerGroupSize = 16
callGroupSize = 32

heres an example of the server taking over 1 sec to start to handle the request:
https://grafana.nav.cloud.nais.io/a/grafana-exploretraces-app/explore?primarySignal=server_spans&from=now-30m&to=now&var-ds=P8A28344D07741F8D&var-filters=kind|%3D|server&var-filters=resource.service.name|%3D|tokenx-tokendings&var-metric=duration&var-groupBy=All&var-latencyThreshold=134ms&var-partialLatencyThreshold=40ms&refresh=&traceId=a27461350744b1b76db23cfca3b275b1&spanId=865ae8939def404c&actionView=traceList&selection={"duration":{"from":"134ms","to":""},"raw":{"x":{"from":1733728389000,"to":1733730189000},"y":{"from":8.5,"to":12.5}}}


Fix argparse linewrap for R| strings

This prevents lines being broken within words when using R| at the beginning of an argparse help string
Useful for #2658

i tried de580da3e12bd3b9b85f71511f1f2329be03fe33 with sct_create_mask on a Terminal with 100 col, here is the output (notice the broken word):
  -p <str>              Process to generate mask.
                          <coord,XxY>: Center mask at the X,Y coordinates. (e.g. "coord,20x15")
                          <point,FILE>: Center mask at the X,Y coordinates of the label defined in i
nput volume FILE. (e.g. "point,label.nii.gz")

hmm that's the output I get before the PR, but it's fixed in de580da3e for me. Could it be a mac thing?

Could it be a mac thing?

Yeah that's what i thought... let me try from within docker

i confirm this is likely a mac thing... in ubuntu (via docker), using the same terminal size, i get the proper word break:
  -p <str>              Process to generate mask.
                          <coord,XxY>: Center mask at the X,Y coordinates. (e.g. "coord,20x15")
                          <point,FILE>: Center mask at the X,Y coordinates of the label defined in
input volume FILE. (e.g. "point,label.nii.gz")

but regardless, it would be nice to have the text aligned with "<point,FILE>" (which is the case when we do not use "R|"). Do you think that would be possible without too much pain?

I can think of a pretty rough solution. Just match any number of tabs and spaces in the previous line and insert it in all following lines. I'll see if it works.

I think I have a working solution. Not sure what to do about the mac issue. Do we think it's using _split_lines on linux and _fill_text on linux? It could explain why _fill_text is more developed than _split_lines despite apparently not being used on Ubuntu 18.04

Do we think it's using _split_lines on linux and _fill_text on mac? It could explain why _fill_text is more developed than _split_lines despite apparently not being used on Ubuntu 18.04

no idea...

I tried sct_create_mask with terminal 2.10(433), osx 10.15.4 (19E287). And it seems to work well.
Here are my screenshots:

I just tested the updated 353485916fc7f4c0e024058fbf63019eeb8a56a3 on OSX 10.14 and I get the same output as @alexfoias here, so it looks like your fix fixed it @cfhammill 🥇

Great, thanks @alexfoias and @jcohenadad. This is ready for review/merge!


Added MColouring and HamiltonPath to backtracking folder(#239 Issue)

📥 Pull Request
Description
This pull request adds the implementation of the Hamiltonian Path and Cycle algorithms. The goal is to solve the problem of finding whether a Hamiltonian Path or Cycle exists in a given graph. The change includes the implementation of the recursive backtracking algorithm to find such paths or cycles. Additionally, the code is well-documented to explain the logic and approach used.
Fixes #239
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

please add ltags of hacktoberfest, gssoc and level to it

@770navyasharma, please sync your fork with the latest changes from the main repository. I've resolved the backtracking-questions.md error at line 56.
Here's what you need to do:

Fetch the latest updates from the main repository:git fetch upstream
git merge upstream/main

Push the merged changes to your fork:git push origin your-branch

After syncing, resolve any remaining issues.

Please don't hesitate to let me know if you encounter any problems.


Updated all styles to the BJCP 2015 Style Guide from 2008

Updated the Styles.xml file to be the BJCP 2015 style guide instead of 2008, also updated the gradle packages to no use deprecated libraries.

Thanks! This LGTM.

@couchguy are the build.grade changes relevant? If possible could we remove those from the PR?

No, I don't think they are, There are just what I had to change to get it to work with the newest graddle stuff.

Created a new PR without Gradle changes.


Remount

@CodiumAI-Agent /review

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 4 🔵🔵🔵🔵⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Error HandlingThe error handling in the newUSBHandlers function may lead to unhandled errors if the mounter creation fails, as it logs the error but does not stop execution or propagate the error up.
Goroutine LeakThe goroutine started in createFuseMountAndCache function to wait for the FUSE server might lead to a goroutine leak if the server fails to unmount properly.
Error HandlingThe error handling in the FindDevicePathAndCache function might not properly handle retries and error propagation, potentially leading to incorrect or missed mount point handling.

@CodiumAI-Agent /improve

PR Code Suggestions ✨
No code suggestions found for the PR.

@CodiumAI-Agent /describe

Title
Remount

PR Type
Enhancement, Bug fix

Description

Introduced MountManager to handle USB device mounts with support for multiple strategies (FUSE, symlink, MPD).
Added FuseFinder, SymlinkFinder, and mpdFinder for managing specific mount types.
Updated USB playback logic to use the new MountManager for mounting and unmounting devices.
Added new configuration options for mount management and USB subfolders.
Removed legacy mount point cache logic and replaced it with the new MountManager.
Extended MPD operations with methods for managing mounts and neighbors.
Updated module dependencies to include go-fuse for FUSE-based mounts.

Changes walkthrough 📝
Relevant filesEnhancement11 files

root.goAdd context parameter to USB handlers initialization

cmd/root.go
Updated newUSBHandlers function to accept context as a parameter.  Adjusted handler initialization to use the updated function signature.

+1/-1

usb.goIntegrate MountManager for USB playback handling

cmd/usb.go
Introduced MountManager for USB playback handling.  Replaced direct mount point retrieval with MountManager methods.  Improved error handling and logging for USB playback operations.

+14/-8

mountpoints.goRemove legacy mount point cache logic

hwcontrol/mountpoints.go
Removed the entire file and its associated mount point cache logic.  Replaced functionality with the new MountManager implementation.

+0/-148

fuser.goAdd FuseFinder for FUSE-based mount management

hwcontrol/mounts/fuser.go
Added FuseFinder for managing FUSE-based mounts.  Implemented methods for creating, validating, and clearing FUSE mounts.  Added thread-safe caching for FUSE servers.

+116/-0

mountpoints.goAdd MountManager for USB device mount handling

hwcontrol/mounts/mountpoints.go
Introduced MountManager for managing USB device mounts.  Added support for multiple mount strategies (FUSE, symlink, MPD).  Implemented caching and validation for mount points.

+211/-0

mpd.goAdd mpdFinder for MPD-based mount management

hwcontrol/mounts/mpd.go
Added mpdFinder for managing MPD-based mounts.  Implemented methods for mounting and unmounting devices via MPD.  Added error handling for MPD mount operations.

+64/-0

symlinks.goAdd SymlinkFinder for symlink-based mount management

hwcontrol/mounts/symlinks.go
Added SymlinkFinder for managing symlink-based mounts.  Implemented methods for creating, validating, and clearing symlinks.  Added caching for symlink paths.

+183/-0

utils.goAdd utility functions for mount management

hwcontrol/mounts/utils.go
Added utility functions for reading mount files and generating target paths.  Implemented helper functions for validating and preparing mount paths.

+70/-0

usb.goUpdate USB device validation and pre-check logic

hwcontrol/usb.go
Replaced regex-based USB device validation with USBNameRegex.  Updated USB pre-check logic to use the new MountManager.

+3/-4

operations.goExtend MPD operations with mount management

mpdplayer/operations.go
Added methods for mounting, unmounting, and clearing MPD mounts.  Replaced direct track count retrieval with a utility function.  Implemented neighbor and mount validation for MPD operations.

+99/-2

utils.goAdd utility function for track count retrieval

mpdplayer/utils.go
Added utility function getTrackCount for retrieving track counts.  Delegated track count retrieval to shared utility logic.

+9/-0

Configuration changes1 files

config.goAdd configuration options for USB and mounting

config/config.go
Added new configuration options for MPDCueSubfolder, MPDUSBSubfolder, and MountConfig.  Updated initialization logic to handle new configuration options.

+18/-5

Miscellaneous1 files

disc.goRemove unused GetTrackCount function

hwcontrol/disc.go
Removed unused GetTrackCount function.  Cleaned up unused imports.

+0/-6

Dependencies2 files

go.modUpdate module dependencies for mount management

go.mod
Added dependency on github.com/hanwen/go-fuse/v2.  Updated module dependencies to support new mount management features.

+1/-0

go.sumUpdate dependency checksums

go.sum
Updated checksums for new and updated dependencies.  Removed unused dependency checksums.

+2/-9

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

@CodiumAI-Agent /review

Persistent review updated to latest commit https://github.com/b0bbywan/go-mpd-discplayer/commit/8391130bdb5cb6927c9943321e58b9d1eeb39a83

@CodiumAI-Agent /improve

PR Code Suggestions ✨
No code suggestions found for the PR.

@CodiumAI-Agent /review

Persistent review updated to latest commit https://github.com/b0bbywan/go-mpd-discplayer/commit/2c056480c5637809af2cc226fabd01ae88e19908

@CodiumAI-Agent /improve

PR Code Suggestions ✨
No code suggestions found for the PR.

PR Code Suggestions ✨
No code suggestions found for the PR.


Fix: Add trailing index.html for indexing template rendering

Found that CF can not look for index.html automatically as the root
page for a directory as httpd or nginx does, so we need to manually
add the trailing index.html for the dir link in index.html rendering.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.712%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1110

Relevant Lines:
1342

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


Establishing a directory structure for RAIL projects

Directory structure: rail_pipelines/{study_name}/{config_name}/{data_type}/{data_subtype}
rail_pipelines contains:

global README
ref_cats
directories corresponding to different studies

The directory for each study contains:

a README that describes the study
directories corresponding to different configurations

the configuration directories contain:

the 2 config files
the directories corresponding to {data_type}

The data_types are:

catalogs
models
pdfs
metrics

The data_subtypes depend on the data_type.
The subtypes for catalogs are:

created_cats
degraded_cats
etc

The subtypes for models are:

creators
degraders
estimators
summarizers
evaluators

The directory structure under each study do not need to be pre-created by the user, but will instead be created and populated by the ceci pipeline as it runs. However, we need to make sure that the user creates file names that obey the structure we want. In order to aid this, we will create a NameFactory (issue #230) class that will generate the paths to files you want to save.

Done in rail_pipelines


Rate Limit on API

I'm curious to know what the rate limit on the API calls to clip-retrieval is? I've noticed that a single query takes ~30s to return image results and am trying to speed up downloads on a list of queries I've collected by making multiple parallel calls but I don't want to overwhelm the service / get flagged.

Hi, the only rate limit is "if too many people call it then it doesn't work" :)
If you want to do a lot of queries, I advise you download the index and run things locally so you have the whole thing for yourself. It's available at huggingface

Thank you for the prompt reply! Just to be sure : you are referring to the index here - https://huggingface.co/datasets/laion/laion5B-index - right?
Also are there any instructions / blogs that can help me set things up locally for fast queries? Can I feed this index to something like ElasticSearch and query from there?

Yes, you can use this by running clip-retrieval back as explained in the readme

It should be the full folder from hf, all the files, with the same
directory structure. Both index and metadata sub directory
On Thu, Dec 8, 2022, 05:57 Varad Gunjal @.***> wrote:

Sorry to press on with further questions, but I wanted to clarify
something about running clip-retrieval back to do the same thing as the
API (provide text query and get a bunch of caption + URLs)
I read on another issue that the output_folder at
https://github.com/rom1504/clip-retrieval#clip-back is the folder I
download from HF. Is that just the image.index folder listed on HF? Does
it figure out what to do with .index or .ivfdata files by itself?
—
Reply to this email directly, view it on GitHub
https://github.com/rom1504/clip-retrieval/issues/211#issuecomment-1342037147,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437XCMXJL3PS3A4VFUODWMFTEZANCNFSM6AAAAAASXFBKYM
.
You are receiving this because you commented.Message ID:
@.***>

If you want to document the exact steps you took and pull request it as a
.md it would be great
Will be useful for next people asking the same thing
On Thu, Dec 8, 2022, 16:36 Varad Gunjal @.***> wrote:

Closed #211 https://github.com/rom1504/clip-retrieval/issues/211 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/rom1504/clip-retrieval/issues/211#event-7990312006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437TN7NBBBWTKL24WDTTWMH57NANCNFSM6AAAAAASXFBKYM
.
You are receiving this because you commented.Message ID:
@.***>

#214 https://github.com/rom1504/clip-retrieval/pull/214

Hi, when trying the instructions here and in #214, I get a failure at
load_index(clip_options.indice_folder + "/image.index", clip_options.enable_faiss_memory_mapping) in clip_back.py:
*** RuntimeError: Error in faiss::Index* faiss::read_index(faiss::IOReader*, int) at /project/faiss/faiss/impl/index_read.cpp:527: Error: 'ret == (1)' failed: read error in /data2/laion5B/laion5B-index/image.index: 0 != 1 (Is a directory),
The implication seems to be that image.index should not have been a directory, even though on hf, it is. I have the data from hf with the correct directory structure at /data2/laion5B/laion5B-index/.
Any advice?

Thanks for the quick reply. I ran clip-retrieval back --port 1234 --indices-paths indices_paths.json on its own first, and then started including the various flags that have been suggested in related issues here:
--enable_hdf5 False --use_arrow True --clip_model "ViT-L/14"

I advise you use the config mentioned in https://github.com/rom1504/clip-retrieval#clip-back

Thank you -- confirming that this worked.

great
out of curiosity, what are you doing with it @ptsividis-csm ?

I'm just looking into how easily I can generate a more curated subset of LAION5B, no concrete plan of what to do with that yet.


Disable update reminder

My Setup

My OS name and version: Windows Server 2008 R2
My current app version: 2.7.0

[ ] I have tested with the latest application version
[x] I can simulate the issue easily

Description

When I start the app, a window appears to remind me to install the new version of the client.
I have installed Rocket.Chat on a Terminal Server and every user is getting this reminder. But they don't have the permission to install updates. They are really confused. :-)
There should be a possibility to disable this reminder for all users on a certain workstation/server (By registry key or global config file (could be related to #139)?).

Additionally, it would be even better if there was an installation/registry switch to disable this centrally, not per each computer.

If you choose to skip the update, a json file is created in the user's appdata folder - if you push this file to all users with a script or group policy you can suppress the update check

That is correct. This is a temporary workaround. But it only works until the next version is released (or I guess the future version numbers).

@flauschi you can also disable permanently updates using the update file:
{
  "autoUpdate": false
}

I have also create a PR which will allow this file to be created in the install directory for all users.

@alexbrazier Thanks, it works!

@alexbrazier Thanks for your pr! Where do i need to put the file ? Inside the "resources" folder, like the servers.json ? Or in the root folder of rocketchat ?

@johnyb0y you can either put the file in the app data directory (in the rocket chat folder) or in the install directory.
This is a runtime config, and is currently not built with the installer. This may change (see #523)

Thank you. Yeah, i was talking about the "All Users" installation in %Program Files%\rocketchat+.


Opens Firewall on Server for any DataStore

Fixes Issue #1

merged. Thanks for the bug report and contribution


[AIRFLOW-286] Improve FTPHook to implement context manager interface

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-286

Testing Done:

all unit tests passed on Travis CI

[Current coverage][cc-pull] is 64.09%

Merging [#1632][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.02%

@@             master      #1632   diff @@
==========================================
  Files           121        121
  Lines          8472       8472
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           5432       5430     -2
- Misses         3040       3042     +2
  Partials          0          0

Powered by Codecov. Last updated by [d15f8ca...0c2ccc5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/apache/incubator-airflow/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/apache/incubator-airflow/compare/d15f8ca370b746087eb4f9241acbe543d35ae191...0c2ccc5ae8cc797699be4461097727ce121e2005
[cc-pull]: https://codecov.io/gh/apache/incubator-airflow/pull/1632?src=pr

@bolkedebruin, please take a look :)

@mistercrunch, could you, please, have a look? Thanks.

@criccomini, thanks!

Nice PR @skudriashev

@jlowin, thanks :smiley:


[Bug]: UI problem and doesn't respond in MacOS Catalina 10.15.7 with 1.14.0

Application
Outline Client
Describe the bug
After update to 1.14.0 on MacOS Catalina 10.15.7 the UI is corrupt, the app doesn't work and doesn't respond.
Steps to reproduce

Update the app (or install from Mac App Store)
Launch
Doesn't respond

What did you expect to happen?
No response
What actually happened?
No response
Outline Version
1.14.0
What operation system are you using?
macOS
Operating System Version
Catalina 10.15.7
Screenshots and Videos

Same here.
macOS 11.7.10
Outline client version 11.4.0 from App Store

Same for me: MacOS BigSur 11.7, Outline client 1.14.0

Same here.
macOS Catalina 10.15.7
Outline 1.14.0 from AppStore

did u solve this problem? i have the same

Same for me: MacOS BigSur 11.7, Outline client 1.14.0

We are aware of the issue with the new release and working on getting a fix out as soon as we can. #2278 has been merged and a new build is currently going through the release process.
For posterity, this issue is the same as the one affecting iOS (#2276) and is a problem specifically with older versions of Safari (<16.4). If you're able to upgrade to a newer version of Safari, you can get unblocked sooner.

We are aware of the issue with the new release and working on getting a fix out as soon as we can. #2278 has been merged and a new build is currently going through the release process.
For posterity, this issue is the same as the one affecting iOS (#2276) and is a problem specifically with older versions of Safari (<16.4). If you're able to upgrade to a newer version of Safari, you can get unblocked sooner.

When is the fix expected to Release ?

Could we please get some updates on this issue? When should we expect a new release to patch this bug? Thanks guys!

The same problem. How soon will the update be released?

@sbruens I was able to update my safari to 16.x but still have this bug. Please share any other work arounds? I really need vpn on my ASAP, and this has been blocking me for too long. Thanks

any update regarding this UI issue?

We're working hard to get the new release out to you all as soon as possible. Unfortunately Apple does not have a way to rollback to a previous version, so to get an update out we need to do a full new release and go through the entire release process again, which involves several steps and can unfortunately take some time.
The good news is that the new build is already with our QA team, and then it's off to Apple for final approval. I'm hopeful we can get there by the end of the week (assuming we hit no snags), but know that the timing is slightly out of our control.
Thanks for your patience and understanding. We know this is frustrating.
PS: Thanks @itjinshan for the note that upgrading Safari does not reliably work on all platforms. I've amended my earlier comment to avoid confusion. Some folks found workarounds in #2285, but know that it involves using a download not verified or endorsed by Jigsaw.

Just a quick update that the app is currently with Apple for final review.

Hi everyone,
Thanks for your patience. Apple has accepted the app and we've just released version 1.14.1 to address the reported issues.
Apple is currently rolling out the update in phases, so it might not be immediately available for everyone. You can either wait for the automatic update or manually update to the latest version directly from the App Store: https://apps.apple.com/us/app/outline-app/id1356178125
If you continue to experience problems after updating, please let us know by re-opening this issue.
We appreciate your reports and feedback!


Dynamicly Add Slide(s) To Carousel

Hey @meandmax, thanks for this great lib.
Is there a way to add slides to carousel dynamically via AJAX with the current codebase? How would you go about to implement it?
Also, are there any plans to support this natively?

any update on this? Seems to be a common task


Handle cache_timeout = 0 in GCSFileSystem

Fixes https://github.com/fsspec/gcsfs/issues/645

A test for this would be nice.

@martindurant added a test to test_expiry_keyword & passes as expected. let me know if you think it should live somewhere else!


[Feat] - Show attached policy details when showing socket info

this is not the place to do PRs!

this is the new repo we've moved to https://github.com/borderzero/border0-cli

Stale commit, and archived repo -- closing.
Feature is already implemented in new repo


POS Service account

Background
For Open Targets Platform, once the ETL has finished the data analysis, we use POS for the following tasks, related to the platform release process:

Create the data images that will be deployed in the platform’s infrastructure (Clickhouse and Elastic Search)
Data Synchronization:
GCP pre-releases bucket -> EBI FTP Service
GCP pre-releases bukcet -> GCP Production bucket (requester pays)
BigQuery development database
BigQuery production database

Up until now, this has been run from personal computers, with personal cloud credentials.
In order tu run this on the cloud, unattended, we need a service account for POS with the proper permissions to perform all those operations.
Tasks
Create a service account with the right collection of roles and permissions in order to perform all those operations.
Acceptance tests
When all the aforementioned operations can be run from a cloud machine using the newly created service account.

Will review at the end of the year @mbdebian


Upgrade log4j 1.2 to 2.15.0

Before or while filing an issue please feel free to join our  slack channel to get in touch with development team, ask questions, find out what's cooking and more!
Issue #, if available:
Description of changes:
Testing done:
To run CI tests on your changes refer README.md
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Further Qlog changes to be part of a separate PR


Fix soname in cmake project

Signed-off-by: Maxime Gervais<EMAIL_ADDRESS>

PR updated

@Vascom please test this version.

All OK.

ok, I merge when Travis finishes, please update Fedora packages with that.


basics: add picture

include description of what the things mean e.g. "fork (different people working on it)"
one that shows a merge commit (between fork and master?)

I think we are good image-wise now in the basics episode. We can always add more later.


feat: add support for constant-impedance and -current loads

Fixes #55

@FiedLa which SystemTypes are missing?

@FiedLa which SystemTypes are missing?

I think these loads can be mapped as SystemTypes for the shunt loads,
constant current loads would be normal loads aswell?
the system type REACTIVE_POWER_COMPENSATOR of ElmGenstat would be a shund load aswell?
I dont know if i got the question right, is this the answer to your question?

do you have the english terms?

do you have the english terms?


modify definitions of GO:0043886 and GO:0031470

Hello,
GO:0043886 (structural constituent of carboxysome, an MF term) has the following definition:
"The action of a molecule that contributes to the structural integrity of a carboxysome, an organelle found in the Cyanobacteria consisting of a proteinaceous coat and enzymes for the fixation of carbon dioxide. "
--carboxysomes also exist in some chemoautotrophs, (see PMID  28934381 for a review) so the definition is too narrow. I suggest the following:
"The action of a molecule that contributes to the structural integrity of a carboxysome, an organelle found in all cyanobacteria and some chemoautotrophs, consisting of a proteinaceous coat and enzymes for the fixation of CO(2). "
There is also an improvement possible for the carboxysome term in GO (GO:0031470). It says:
"An organelle consisting of a proteinaceous coat and enzymes for the fixation of carbon dioxide including mechanisms for the concentration of carbonate to increase the efficiency of fixation under low-carbon dioxide conditions."
--which isn't quite true, they are required under atmospheric conditions, and to increase CO(2) levels (the RuBisCO substrate), not carbonate. So:
"An organelle consisting of a proteinaceous coat and enzymes for the fixation of CO(2). It augments the concentration of CO(2) in the vicinity of RuBisCO to increase the efficiency of CO(2) fixation under atmospheric conditions."
Thanks, Andrea

Hi Andrea,
(We exchanged about this a few days ago): following that discussion - are there proteins whose function is to maintain the structure of the carboxysome? Or should that term be obsoleted ? (I see there are no annotations)
Thanks, Pascale

Hi Pascale,
There are a number of proteins that form the carboxysome; the shells are formed by CcmK/CsoS1 paralogues, the vertices by CcmL/EutN/CsoS4/PduL proteins, probable minor shell proteins such as CcmO and cCmP, with other proteins that also help structurally and with assembly, CcmM, CcmN (note I didn't go looking for all their different names in different compartments). Do proteins that form the carboxysome also maintain the carboxysome? I'm still having problems understanding which proteins I would annotate with GO:0043886...
Thanks, Andrea


No email on registering/membership/game submission

Shows the warning on unverified email, doesn't fix email.

SWAG is that the sending email is not a verified sending email address on AWS SES account used.

I have an AWS account with an SES sender that has @ambercon.com verified as a sending email address and can generate a new API user on that.

Sent auth info in Signal


M: change viz colors for HRRR smoke

Ravan has requested that the highest visibility values be true white. They are currently tan-ish to match the MDL color scheme, per a request from @terraladwig et al. Here's an example.

Overcome by new requests with merged PR #174


Should silently fail hydrating empty container in production

What problem does this feature solve?
In my SSG app, I have several html files generated by renderToString (e.g. /index.html, /about/index.html). For all other routes, I would like to fallback to an empty app.html rather than my homepage's /index.html. This prevents my app from temporarily flashing the homepage before routing to the correct components.
# nginx config
server {
    listen      80;
    location / {
        # Exact route match or app.html
        try_files $uri $uri/index.html /app.html;
    }
}

<!DOCTYPE html>

// main.js
const app = createSSRApp(App)
app.mount('#app')

This works fine in development but breaks in production due to an Cannot read property 'nodeType' of null error. I think this is due to the early exit guarded by __DEV__ && !container.hasChildNodes() condition:
https://github.com/vuejs/vue-next/blob/b46a4dccf656280f9905e1bdc47022cb01c062c3/packages/runtime-core/src/hydration.ts#L60-L69
What does the proposed API look like?
Instead, I believe it should always full mount when !container.hasChildNodes() and guard the console warning with __DEV__
    if (!container.hasChildNodes()) {
      if (__DEV__) {
        warn(
          `Attempting to hydrate existing markup but container is empty. `
            `Performing full mount instead.`
        )
      }
      patch(null, vnode, container)
      return
    }

You can find multiple workarounds like having one index.html that isn't ssr rendered to avoid doing the hydration. After all, you are purposely hydrating the page with the wrong content

I'm currently working around this by manually checking IS_SSR || document.querySelector('#id').hasChildNodes() ? createSSRApp(App) : createApp(App)
This is pretty messy and couples the root app creation step with the DOM.
AFAIK, there's no way to disable hydration in the DOM in Vue 3 since createSSRApp always assume it should hydrate. Back in Vue 2, removing data-server-rendered attribute from
 is enough to disable hydration.

Thanks Trinovantes , helps me al lot


Minor doc improvement for Pass action in Antrea-native policies

Clarify how the pass action interacts with both Antrea-native policy objects and K8s NP

/skip-all


Update black to 21.4b2

Motivation for changes:
Dependabot alert again
Detailed changes:

Merge Dependabot PRs + pre-commit autoupdate

It has already left its mark on the PRs #2943 #2944

Yeah ... mostly did it for the pre-commit config change...


iCal for showings

So users can add the event to their calendars.

Merged to master and deployed to production.


Website blocker

Script Title - script able to block user-requested website
what will change - Adding script
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

hey dev @pawangeek  I would like to work on this!!!

Okay go ahead @GaganSingh5