Promote occurrences to first-class check attribute

'occurrences' is a defacto standard option for checks; please consider promoting it out of something that has to be added as an additional attribute into the same level as 'interval'.

We'll consider this for a future enhancement

Although occurrencesused by many, it's not currently one of the attributes defined in the check result specification.
Until such time as it is added to the check result specification, I'm 👎  on treating occurrences as a first-class attribute of sensu_check resources.


Incomplete browser-side rendering

Every one of the many audios I have are failing to render waveforms fully - a flatline at the end of varying length. This occurs regardless of the volume of sound at the end of the file. I include a sample below. It appears that audios longer than 60s render fully with no flat line at the end.
Wavesurfer.js version(s):
v3.3.1 and v2.2
Browser and operating system version(s):
all, renders identically on chrome, firefox latest
Code needed to reproduce the issue:
waveform config...
    const wavesurfer = WaveSurfer.create({
      audioRate: 1.0,
      barHeight: 2,
      barMinHeight: 0.25,
      container: "#waveform-" + id,
      cursorColor: "#66f",
      fillParent: false,
      minPxPerSec: 10,
      progressColor: "purple",
      scrollParent: true,
      waveColor: "red"
    })

no feedback, closing.

Facing the same issue. i have noticed that if the fill parent is set to true it works fine. but, based on my requirements i cant do that.
here is the sample wave. Both are created with same audio file the only difference is the fill parent.

WaveSurfer Version - 4.0.1
Code Sample:
var wavesurfer = WaveSurfer.create({
container: '#waveform',
waveColor: '#e81a48',
progressColor: '#D3D3D3',
cursorWidth: 6,
cursorColor: '#5c6a77',
fillParent: false,
minPxPerSec: 30,
})
NOTE: just to make sure weather the issue is not in the previous versions. i picked the lower versions. it worked fine on 1.4.0 but not after that.


chart icons does not appear when using Firefox

Chart icons on Analyze page does not work when using Firefox.
No issues with Chrome.

Current version of spot seems ok to me, on firefox version 50.1.0.
If we decide on supported browsers we should check this again ,but for now fixed by using recent browsers.


Fixed typo

Coverage remained the same at 84.524% when pulling 63c2b9d6bee0bbf784526205ff2e1a422a57e1aa on barbossa:patch-1 into 012a3669cf7682880a4535e37bb414ba214dbe5c on dwmkerr:master.

Cheers @barbossa !


Add package bitseqs

@narimiran sorry to disrupt you but is it possible to change url and web to "https://github.com/adokitkat/bitfields" ? I renamed the repository but it seems like it didn't change when doing nimble publish.

Send another PR, fixing that.

But, on further inspection, I don't understand what you're saying.

is it possible to change url and web to "https://github.com/adokitkat/bitfields" ?

It is already that link!?


Block explorer balance incorrect by most recent stake input size

Expected Behavior
Local wallet balance and explorer balance to be equal
Actual Behavior
Explorer balance is less than my local wallet by the most recent stake input size
Steps to Reproduce the Problem

Stake Bulwark with multiple inputs in the same address
Receive a stake reward and allow for enough confirmations (Over 600 in this instance)
Compare balance on the explorer and in wallet. There should be a discrepancy of the previous stake input .

I have checked I am on the correct chain with latest block height and block hash matching my local wallet.
Specifications

Version: 1030100
Platforms: Windows 10 & Raspbian GNU/Linux 9 (stretch)
Subsystem:

The balance on the explorer now appears to match my wallet and other explorers. Closing issue.


Accurate explanation for the calculation of number of failures in Job

The current wording is hard to interpret and might not reflect the reality.

/sig apps
/assign @soltysh

I'm approving this PR from a docs standpoint, and would prefer to see an LGTM from a SIG Apps reviewer.
@kubernetes/sig-apps-pr-reviews 👋🏻 PTAL
/approve


Create Protocol .yaml schema

Can we use https://bioschemas.org/profiles/LabProtocol/0.3-DRAFT-2019_06_14/ directly?

Can we use https://bioschemas.org/profiles/LabProtocol/0.3-DRAFT-2019_06_14/ directly?

We could, but protocols from protocols.io and other sources don't necessarily include a purpose statement, but have a description. We can collapse chem/reagents and samples to materials which is used in protocols.io and is less restrictive than chem/reagents. We also want to be consistent in our use of isBasedOn, relatedTo, citedBy to link other types of resources such as datasets, publications, etc.

yeah, all good points.  I'm fine adapting as needed.  (For example, I think for our use case, annotating the actual reagents is of less importance than isBasedOn, relatedTo, citedBy...)

Notes for myself. Here is @gtsueng 's document on it: https://docs.google.com/spreadsheets/d/1BQAIT2Vw-I8SqWFArQP1dmj9gcv1lX7oNd-nTEOi9yY/edit#gid=978166538.

For any of the worksheets in the document, you should exclude/ignore any rows highlighted in red (considered, but didn't make the cut), and any columns right of "allowed values" (example resources from which the field was drawn).

From CViSB call today, consider how to distinguish medical protocols and medical and/or public health guidance from lab or analysis protocols.  Relevant schema.org schemas:

MedicalGuideline
MedicalProcedure
DiagnosticProcedure
TherapeuticProcedure
PhysicalExam

Thoughts on this proposal @gtsueng?  The line between medical guidance and protocols can get blurry (e.g. best practices on decontaminating face masks)

keep Protocol as the master class; separate out into subcategories:

LabProtocol
AnalysisProtocol
MedicalProcedure
- DiagnosticProcedure
- TherapeuticProcedure
- PhysicalExam

create a MedicalGuideline class to encompass medical guidelines + public health policy guidelines (e.g. recommendations on what "essential businesses" are)

Not sure whether if we use this model we want LabProtocol, etc. to be formal subclasses of Protocol, or just add a protocolType category as a Property of Protocol.

I think having protocolType is the best way to go because in my head the ambiguous cases happen to be of two types making them ambiguous. To me, it makes sense to be just categorize an ambiguous protocol as being of two types, rather than forcing it into a sub-schema which may not be suitable for it.


Feature Request: Pause playback when machine is locked

OS:
Windows 10
Issue Descriptions:
Feature Request: Pause playback when machine is locked
Steps to Reproduce:
I love the app, thank you!  The one thing I don't like is that it doesn't have the option to pause playback when my computer is locked, like other similar apps I have used.  I use this at work, and always lock my computer when I walk away so I would like to have the music pause when I do this, and resume when I return - rather than needing to pause and resume it manually.  Thank you again for the excellent app!

There really is no formal API for this in electron as far as I can tell. So we can't reliably add this.

Bummer. Perhaps the other way around then?  As in a hot key that will pause the player and lock the machine simultaneously?
[sent from my mobile device]
On Aug 6, 2017, at 7:07 PM, Jesse Ostrander <notifications<EMAIL_ADDRESS>wrote:
There really is no formal API for this in electron as far as I can tell. So we can't reliably add this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2687#issuecomment-320541764, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQIypJbpldCbZ4HlZtLOYnfVDgfz-2lgks5sVlUqgaJpZM4OuQfW.

@jostrander It's not that there's no formal way to do it in Electron, I don't think there's a way to do it on all platforms.
I think macOS fires a sleep event, which doesn't exactly equal lock, and windows might fire a window message to the top level window we might be able to read, but on linux it's entirely up to the WM what to tell the windows and when 🤔
Something to offload to a magical native module I feel, I'll take a look in chromium though and see if they've done the hard work for us.

Any way to do this via Windows task scheduler? At least there is a trigger "on workstation lock".

This can be implemented in Windows through the System Media Transport Controls, though we'd have to work out the double skip issue that is currently unresolved. (See #2253)

On Linux it can be accomplished over DBus.

I think macOS fires a sleep event

High Sierra supports locking without sleep, so that method won't work in all cases.

I made a very quick nodeJS script that uses the Playback API: https://github.com/tuur29/scripts/blob/master/pauseGPMDP.js

I would think the builtin powerMonitor electron API would be what you'd want to use primarily although for Linux as powerMonitor does not appear to support screen lock events so you'd still need DBus for that.

I know that Windows 10 has a native media transport API that integrates with the lock screen and it already has some integration to GPMDP already. You have to Enable the Windows 10 Media Integration in settings. This will make media controls available on the lock screen in Windows 10.


restructure RTD fixes #499

This brings in several of the RTD structure edits recommended by @Christovis , though it keeps the different categories of data sources at the top level for now.
It's rather skeletal at the moment but can be filled in with future edits.

Codecov Report

Merging #521 (e189ef2) into main (db7eb43) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #521   +/-   ##
=======================================
  Coverage   75.09%   75.09%
=======================================
  Files          22       22
  Lines        3047     3047
=======================================
  Hits         2288     2288
  Misses        759      759

Flag
Coverage Δ

unittests
75.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Video links

Detect video links and play the video in a modal.

This could either be implemented using a link handler like we have for modals, or as modals with embed blocks.


Unable to install

Hello, is it compatible with 19.3? I can't install it as a zip.

I confirm, it doesn't install on Kodi 19.4 either due to dependences issues.

It's a falstart. There is no code, only empty git repo for new plugin.
You have to find odysee somewhere else.
Sorry broo

Just a quick note. There is something more in the repo. If you want, you can check it again :)


Consider making monkey-patching optional

Monkey patching live objects is generally frowned upon. Could you consider changing the usage of this module to something like this:
var bufferConcat = require('buffer-concat')

var a = new Buffer('Hello ')
var b = new Buffer('world!')
var c = bufferConcat([a, b])

console.log(c.toString()) // Hello world!

require('buffer-concat/monkey-patch')

// Buffer.concat is now available

Can you help me to impl this with a pr?

1.0.0


Spigot/PaperSpigot 1.8.8 error!

Hello.
Yesterday I tried to generate a world called "Free" with the world generator "RealisticWorldGenerator".
It gives me this error.
http://pastebin.com/Ly3efAFE
Am I doing something wrong? Thank you anyway.

This exception is not caused by multiverse, but rather your world generator:
It seems that this plugin may not know about MUTATED_MESA_CLEAR_ROCK which is present in your spigot version.
I'm still not positive which one is out of date or too new (either your generator plugin or server) but I'd look there first.
Here's the line of the traceback you posted that tells us it's not multiverse, but the generator plugin:
Caused by: java.lang.NoSuchFieldError: MUTATED_MESA_CLEAR_ROCK
        at de.yellowphoenix18.realistic.populators.GrassPopulator.populate(Unknown Source) ~[?:?]

FYI: I made the unsafe call wrapper to catch errors like this one and direct people away from our bug tracker when it's not our fault. I didn't apply it to creator.createWorld() because we already have a check there which however catches only Exception and not Throwable and therefore not this NoSuchFieldError.

Ah! Good catch, I'll fix this soon.
#javapuns

Heh, I actually already put in further exception catching for similar problems but i didn't do Throwable, like @main-- said.

Er.. I just added a null check to createWorld.


Bookstore: Use Redux in React components.

Hello,
In this PR, I have worked on Connecting React and Redux in order to display books from the redux-store.
Here are what I have Achieved:

[ ] Wrap my <App> with the <Provider> component from react-redux
[ ] Pass my configured store into the <Provider>
[ ] Display my books, received from the slice, in a reusable component
[ ] Dispatch actions using useDispatch
[ ] Add a <Button> component, which includes:

An event handler that adds a book to the books array (with attributes id, title, and author)

[ ] Add a <Button> component, which includes:

An event handler that removes a book from the books array (by id)

Kindly check my code and let me know what you think.
Best Regards.
Happy coding🎉🎉

Thank you so much @AlphaNtihinduka 🙏🙏


[Misc] Multi-Modality Support for Loading Local Image Files

FIX #8730
Multi-Modality Support for Loading Local image Files

For security reasons, let's require a CLI flag to enable this behavior.

For security reasons, let's require a CLI flag to enable loading local image files.

@DarkLight1337  What do you reckon would be a good name for a CLI flag?
How about  --trust-local-files ?
Should this flag be added to the vllm serve command?

For security reasons, let's require a CLI flag to enable loading local image files.

@DarkLight1337 What do you reckon would be a good name for a CLI flag?
How about  --trust-local-files ? Should this flag be added to the vllm serve command?

I think it is too easily confused with --trust-remote-code from HF.
Perhaps --trust-remote-access? Allowing API requests to read local image files basically does that.

I would suggest that the flag would instead be the allowed path vs. allowing full filesystem access.
For example, --allow-local-media-path=/some/path

Test Code:
from openai import OpenAI

# Modify OpenAI's API key and API base to use vLLM's API server.
openai_api_key = "EMPTY"
openai_api_base = "http://localhost:8000/v1"

client = OpenAI(
    # defaults to os.environ.get("OPENAI_API_KEY")
    api_key=openai_api_key,
    base_url=openai_api_base,
)

models = client.models.list()

model = models.data[0].id

# Single-image input inference
def run_single_image() -> None:

    # Use image url in the payload
    # "https://upload.wikimedia.org/wikipedia/commons/d/da/2015_Kaczka_krzy%C5%BCowka_w_wodzie_%28samiec%29.jpg"
    image_url = "file:///root/jxy/vllm-source/vllm/duck.jpg"
    chat_completion_from_url = client.chat.completions.create(
        messages=[{
            "role":
            "user",
            "content": [
                {
                    "type": "text",
                    "text": "What's in this image?"
                },
                {
                    "type": "image_url",
                    "image_url": {
                        "url": image_url
                    },
                },
            ],
        }],
        model=model,
        max_completion_tokens=64,
    )

    result = chat_completion_from_url.choices[0].message.content
    print("Chat completion output from image url:", result)

def main() -> None:
   run_single_image()

if __name__ == "__main__":
    main()

Test 1:

# vllm serve microsoft/Phi-3.5-vision-instruct --task generate \
 --trust-remote-code --max-model-len 4096 --limit-mm-per-prompt image=2 \
 --dtype=float16 --enforce-eager \
 --allowed-local-media-path=/root/jxy/vllm-source/vllm

# python run_single_image.py
Chat completion output from image url:  The image shows a single mallard duck swimming on a body of water. The duck has a distinctive green head, yellow bill, white neck ring, and brown chest. The water appears calm, creating a clear reflection of the duck.

# vllm serve microsoft/Phi-3.5-vision-instruct --task generate \
    --trust-remote-code --max-model-len 4096 --limit-mm-per-prompt image=2 \
--dtype=float16 --enforce-eager

# python run_single_image.py                                                                   2 ↵
..
openai.BadRequestError: Error code: 400 - {'object': 'error', 'message': "Invalid 'image_url': Cannot load local files without '--allowed-local-media-path'.", 'type': 'BadRequestError', 'param': None, 'code': 400}


Draft: Feature/dependency injection

This code adds dependency injection to phpsu

Warning:
php 7.2 support is not removed but will not be tested anymore due to incompatibilites with dependencies and the amount of work that would go into making it work
Travis has been replaced with github actions because of slow responses and composer version issues
One test had to be temporarily disabled, as the container has to run in root until that gets fixed

i suggest dropping official support for php 7.2 and 7.3 with a new phpsu version 3.0
everyone who needs it in those versions can still default to phpsu 2.x

Will be addressed in a new pull request with reduced features


Simplified Chinese translation

Thank you for your submission!
Please note, this project is no longer being worked on. I recommend you also open a pull request here, which is one of the current versions made for B19 / 1.0


Finally branch not part of coverage in Python 3.9

Consider the following dummy test case:
def test_coverage():
    try:
        raise ValueError
    except Exception:
        raise
    finally:
        print("Am I covered?")

Interestingly, the last line is missing from coverage report with Python 3.9.8. Tried with 3.8.12 and 3.10.0, and the last line is covered with those. Other relevant versions coverage==6.2 and pytest==6.2.5.
Also, if I change except Exception: to except Exception as e:, it'll work as expected also on 3.9.8.
Not sure if this is Python or coverage related 🤷

Thanks for the bug report.  This is indeed a problem in Python itself.
Am I covered?
bug1292.py(28): except:
bug1292.py(29):     pass
%

The prints on lines 11 and 19 both appear in the output.  But line 19 is traced, while line 11 is not.
This seems to be related to https://bugs.python.org/issue39114, which has extended discussion on a merged PR: https://github.com/python/cpython/pull/17769.
I doubt anything more will be done to fix 3.9... :(


Bugfix/ext usable factories

Main change here is super minor: use get_user_model in the acm test factories so they can be used by the other django sites. Had to make a few other changes to get it to locally run tests successfully. Just running it by you in case you have concerns.


TSX support?

I see a closed PR for TSX support but I cannot get any highlighting to work with tsx language. Is this supported? If so, how does one use it?
I'm on v9.18.1

We support TypeScript, but not really TSX yet. It's probably waiting on the callback support that's still in PR and then that MIGHT make it much easier to support HTML snippet in both JS and TS.
Closing as duplicate of https://github.com/highlightjs/highlight.js/issues/1155.


use yardstick validate: subprocess-based proof of concept

Use changes from anchore/yardstick#380 to simplify validations in grype-db.
This is an alternative approach to #371
It might make sense to add a --capture=True|False|IfMissing type of option to yardstick validate, so that the capture_results call can be moved out of grype-db-manager.
Opening as a point of discussion.

Replaced by #373


kubeflow 0.1.2 deployment -> ambassador running into CrashLoopBackOff

I'm working on a VM (GCP Compute Engine, 8 cpu, 20G mem, 25G drive). I install microk8s and kubeflow in the following way:
wget https://bit.ly/2tp2aOo -O install-kubeflow-pre-micro.sh && chmod a+x install-kubeflow-pre-micro.sh && sudo  ./install-kubeflow-pre-micro.sh
export KUBECONFIG=/snap/microk8s/current/client.config
export GITHUB_TOKEN=${YOUR_GITHUB_TOKEN}
wget https://bit.ly/2tndL0g -O install-kubeflow.sh && chmod a+x install-kubeflow.sh && ./install-kubeflow.sh
sudo iptables -P FORWARD ACCEPT

I then inspect the deployment. I run the following:
kubectl get svc -n=kubeflow
kubectl get pods -n=kubeflow  # shows state of ambassador pods
kubectl get pods -n=kube-system # shows state of kube-dns

Might be similar to what happens in minikube, here's an open isue https://github.com/kubeflow/kubeflow/issues/734
Feels like it could be related the state of kube-dns .. whether it is ready before kubeflow runs.

@carmine is this issue still valid?
Following your instructions yielded a healthy cluster:
 kubectl get pods -n=kubeflow  # shows state of ambassador pods
NAME                                   READY     STATUS    RESTARTS   AGE
ambassador-68954d75f4-lf829            2/2       Running   0          20m
ambassador-68954d75f4-pmsnq            2/2       Running   0          20m
ambassador-68954d75f4-tq5r4            2/2       Running   0          20m
spartakus-volunteer-579866cbf4-jz7xb   1/1       Running   0          20m
tf-hub-0                               1/1       Running   0          20m
tf-job-dashboard-784cdcbb4f-vxrpl      1/1       Running   0          20m
tf-job-operator-85b46d47b7-qhkxq       1/1       Running   0          20m

Should I close this issue?

This can be closed .. the previously ‘edge’ release fixed the issue.


I am writing a new feature for copy-webpack-plugin

how can I build index.js?

npm install && npm run build
Thanks for contributing!


All paragraphs in a slide don't have the same color

Describe the bug
All paragraphs in a slide don't have the same color.
To Reproduce
slides.md:
---
layout: default
---
# Slide 1

All paragraphs should have the same colors.

---
layout: default
---
# Slide 2

All paragraphs should have

the same colors.

Slide 1:

Slide 2:

Both lines should have the same style and hence the same colors.
If this is the expected behavior, then I think it is quite not natural for the default theme.
Desktop (please complete the following information):

OS: Windows 10
NodeJS: 14.17.0
Browser: Chrome 90.0.4430.212

package.json:
{
  "private": true,
  "scripts": {
    "dev": "slidev --open",
    "build": "slidev build",
    "export": "slidev export"
  },
  "dependencies": {
    "@slidev/cli": "^0.16.0",
    "@slidev/theme-default": "*",
    "@slidev/theme-seriph": "*"
  },
  "name": "slidev"
}

Yes, this is by design. The first p is treated as subheader. https://github.com/antfu/themes/blob/63a9dc971c3c7e4207d32832e534ddc1063328e1/packages/theme-default/styles/layouts.css#L9-L11
You can eject the theme and modify it to fit you need. https://sli.dev/themes/use.html#eject-theme

Seems a weird choice to me but OK :)
The level of subheading is unclear to me. Indeed, the 4 followings slides are different:
---
layout: default
---
# Slide 1

This is a sub header

This is the first real paragraph

---
layout: default
---
# Slide 2

## This is a sub header

This is the first real paragraph

---
layout: default
---
# Slide 3

### This is a sub header

This is the first real paragraph

---
layout: default
---
# Slide 4

#### This is a sub header

This is the first real paragraph

Hi,
A workaround is to introduce an empty sub header, as in:
# Title
##

Text

But I agree it would be better to treat all ps consistently.


Solve the problem of garbled Chinese names

#14

Thank you for contributing 🙏
If you are in Discord ping me and ill give you a contributor badge. Also, the AnythingLLM app might require this change also if you are down to contribute to that as well :)


Store access point and it's policy information in aws_s3_bucket table

Is your feature request related to a problem? Please describe.
Didn't find any column in table aws_s3_bucket which stores Access Point information for buckets.
Additional context
want to validate this scenario : Ensure that the policy status of the access point does not allow public access

@debabrat-git
We have added a new table aws_s3_access_point to list all the available access points. [#318 ]
The above scenario can be achieved by using below query
select
  name,
  access_point_policy_is_public
from
  aws_s3_access_point
where
  not access_point_policy_is_public;


Unable to get data using https and mocked response

I am trying to use this library to mock https requests, however I am not able to setup @mswjs/interceptors as I wanted.
In particular I would like to be able to mock response body and use the code that is tested below.
Unfortunately when console.log(data) is executed, for some reason data seems to be empty and data event is never triggered. On the other hand the response.text() is available in the intercepted response.
If I comment out interceptor.apply(); the test seem to correctly work.
If I drop the interceptor request handler, i.e., if I delete this code:
interceptor.on('request', (request, requestId) => {
  request.respondWith(
    new Response('Hello', {
      status: 200,
      statusText: 'Ok',
      headers: { 'Content-Type': ['plain/text'] },
    })
  );
});

then I get an error since res.complete will not be true when the end event is triggered.
Am I doing something wrong or is it a bug?
import { BatchInterceptor } from '@mswjs/interceptors';
import nodeInterceptors from '@mswjs/interceptors/lib/presets/node';
import https from 'https';

const interceptor = new BatchInterceptor({
  name: 'hello',
  interceptors: nodeInterceptors,
});

interceptor.on('request', (request, requestId) => {
  request.respondWith(
    new Response('Hello', {
      status: 200,
      statusText: 'Ok',
      headers: { 'Content-Type': ['plain/text'] },
    })
  );
});

interceptor.on('response', (response, request) => {
  console.log(response.text());
});

beforeAll(async () => {
  interceptor.apply();
});

afterAll(async () => {
  interceptor.dispose();
});

test('Try MSW Interceptors', async () => {
  const req = new Promise((resolve, reject) => {
    https.get('https://en.wikipedia.org/wiki/Main_Page', { headers: { accept: 'application/json' } }, (res) => {
      let data = '';
      res.on('data', (chunk) => {
        data += chunk;
      });
      res.on('end', () => {
        if (res.complete) {
          console.log(data);
          resolve(res);
        } else {
          reject(res);
        }
      });
    });
  });
  await req.then((res) => {
    expect(res.statusCode).toBe(200);
  });
});

Current result:
  console.log
    Promise { 'Hello' }

      at src/app/App.test.jsx:3:27

  console.log

      at PassThrough.<anonymous> (src/app/App.test.jsx:39:3)

 PASS  src/app/App.test.jsx
  ✓ Try MSW Interceptors (26 ms)

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |
----------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        0.769 s, estimated 1 s

This is likely fixed in the latest version of Interceptors.
Since 0.32, we will emit the response event when receiving the first byte of the response, allowing you to read its body while the original client does the same. Our existing test cases for the response listener also pass.
Let me know if you still encounter this issue after updating.


Selinux port ensure => absent do not work with port_range

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 5.5.x
Ruby:
Distribution: CentOS
Module version: 3.2.0

How to reproduce (e.g Puppet code you use)
This example is based on mongo
semanage port -l | grep mongo
mongod_port_t                  tcp      27017-27019, 28017-28019
selinux::port { 'mongo_port [27017,27019]':
ensure   => 'absent',
seltype  => 'mongod_port_t',
protocol => 'tcp',
port_range => [27017,27019],
}
What are you seeing
Nothing happens
What behaviour did you expect instead
semanage port -l | grep mongo
mongod_port_t                  tcp      28017-28019
Output log
This is from debug log
Debug: /Stage[main]/Selinux::Config/before: before to Selinux::Port[mongo_port [27017,27019]]
Debug: /Stage[main]/My_mongodb::Install/Selinux::Port[mongo_port [27017,27019]]/before: before to Anchor[selinux::module pre]
Any additional information you'd like to impart

@myMarck are those port definitions local modifications using a previous Puppet manifest or in the system policy? The SELinux module can't remove system definitions, only local customizations.

If you want to change the port definitions, you can add a definition that assigns the ports to some other SELinux type


ValueError: invalid literal for int() with base 10: '\xef\xbb\xbf0'

when i run the code, the following error occurs
ValueError: invalid literal for int() with base 10: '\xef\xbb\xbf0'

File "matchzoo/main.py", line 331, in
main(sys.argv)
File "matchzoo/main.py", line 323, in main
train(config)
File "matchzoo/main.py", line 116, in train
train_gen[tag] = generator( config = conf )
File "/home/lidan/MatchZoo-master/matchzoo/inputs/point_generator.py", line 19, in init
self.rel = read_relation(filename=rel_file)
File "/home/lidan/MatchZoo-master/matchzoo/utils/rank_io.py", line 45, in read_relation
data.append((int(line[0]), line[1], line[2]))
ValueError: invalid literal for int() with base 10: '\xef\xbb\xbf0'

Check BOM


persist selected tab and chat conversation

[x] Merged main.android and main.ios
[x] Store which tab is selected
[x] Store which conversation is selected if you're on chat
[x] Test android

@keybase/react-hackers this is ready

@keybase/react-hackers bump

@keybase/react-hackers bump


feat(storybook): implemented addon to switch text direction

Added storybook-addon-rtl-direction to both the twig and react storybooks. Now we can switch between ltr and rtl within storybook itself. The addon changes the dir attribute on the html element in the iframe that displays the content of the storybook.
https://github.com/international-labour-organization/designsystem/assets/11556301/41190489-40d6-4708-828d-a4897a1ac42b
Fixes #655

@bashlk very cool!

@bashlk also for future reference, the scope for commits that only affect storybook should be docs(react) or docs(twig) because the Storybook projects are the documentation for the packages.


build,vendor: never carry around parts of differential signals

When a port component is skipped, it should appear neither in the RTL nor in the constraint file. However, passing around components of differential ports explicitly makes that harder.
Fixes #456.
Supersedes #457.

@jeanthom PTAL
@awygle @jfng there's some bulk change in this code which is unfortunately not robustly tested, can you give this a look before I merge?

Thanks for the PR, that enables #457.

Thanks for the PR, I can get #457 to work with it.

This PR includes #457.

Oh I thought the PR only changed "p_port, n_port" => "port".

@awygle @jfng there's some bulk change in this code which is unfortunately not robustly tested, can you give this a look before I merge?

LGTM, after exercizing it on ecp5-5g and artix7.

Thanks!


removed volume cvat_cvat_db, but when task is created, old image(already removed on old db) is on task.

what should i do?  I alrerady did command docker volume rm cvat_cvat_db and retried docker compose up.
the situation is occured when first task is created too.
I am using v2.4.9.
can i get your help?
thank you.

You need to remove cache.
docker exec -it cvat_server /bin/bash
rm /home/django/data/cache -r # as far as I remember this patch. But check it additionally

thank you!
i also tried docker volume rm cvat_cvat_data before you comment (thankfully), problem solved!
if i meet this situaition again, i will try. thank you. I'll close issue.


Music

So here’s the thing. When I’m playing music and I open the app with this video layer the music stops playing music even though the isMuted property is set to true. Can we make it so that if the video layer is muted this won’t happen? It’s a matter of better UX.

I can help with this. If would like me to help out I can totally look into it.

There is a section in the README that should address this: https://github.com/dingwilson/SwiftVideoBackground#preventing-video-from-muting-other-audio-on-device
Let me know you run into any problems.

It works great! Apologies for not looking into this in the read me in advance. Thanks!

No prob! The docs should probably be more clear.


Upgrade amazon-kinesis-client to 1.9.3

Hey @markglh! I upgrade the amazon-kinesis-client to 1.9.3 and ran the integration tests locally on an updated initialised-localstack image which uses localstack version 0.9.1. That works!

Coverage decreased (-0.4%) to 89.749% when pulling b5d0b0a17ebc2ba3d8b6e662c09efd7e9b8a990b on JannikArndt:upgrade-amazon-kinesis-client into b8240cf2229c55d6fc2dcbd77c9943c03a42ecbd on WW-Digital:master.

Coverage decreased (-0.4%) to 89.749% when pulling b5d0b0a17ebc2ba3d8b6e662c09efd7e9b8a990b on JannikArndt:upgrade-amazon-kinesis-client into b8240cf2229c55d6fc2dcbd77c9943c03a42ecbd on WW-Digital:master.

thanks @JannikArndt!


@ConditionalOnAwsCloudEnvironment at method level

When setting @ConditionalOnAwsCloudEnvironment or @ConditionalOnMissingAwsCloudEnvironment (Srping Cloud 2.0.0) at a method level i would have expected the bean to be created on the environment that matches the condition, but instead it's ignored. It works fine at class level.
The below example will produce two beans with value "cloud" and "local" regardless of the environment.
@Configuration
class MyConfig {

    @ConditionalOnAwsCloudEnvironment
    public String cloud() {
        return "cloud"
    }

    @ConditionalOnMissingAwsCloudEnvironment
    public String local() {
        return "local"
    }

}

Could it be related with the ConfigurationPhase?
https://github.com/spring-cloud/spring-cloud-aws/blob/3bfd3a537192cf38a14c7a0c8df16876511db42a/spring-cloud-aws-context/src/main/java/org/springframework/cloud/aws/context/annotation/OnAwsCloudEnvironmentCondition.java#L30-L33

Not sure. Do you want to experiment and try changing the phase and see if that help? That condition hits an aws endpoint, so that may have something to do with it as well.

https://github.com/spring-projects/spring-framework/blob/master/spring-context/src/main/java/org/springframework/context/annotation/ConditionEvaluator.java#L103-L113
I was debugging the code and it never got to evaluate if the condition matched (at a method level), because the phase was REGISTER_BEAN and the requiredPhase was PARSE_CONFIGURATION.
Returning null or ConfigurationPhase.REGISTER_BEAN on the getConfigurationPhase seams to make it work just fine.


node-optimist is being deprecated

Just came across this while doing my due diligence when considering nconf :)
https://github.com/substack/node-optimist#deprecation-notice

It would be nice if nconf allowed the injection of an argument parser of the developer's choice.

@indexzero Close this issue. It is outdated.


Styling eh

Made some stylistic changes and added some summary numbers and buttons for users. Note that I removed a boostrap.js file from the www folder that may have been needed for the html version, so please let me know if that messes anything else up.

All looks good to me


Support NamespaceBundleOwnershipListener.

Fixes #531
Motivation
Add NamespaceBundleOwnershipListener to help troubleshoot problems.
Documentation

[x] no-need-doc

Codecov Report

Merging #554 (3fa40b3) into master (fa2d4c5) will decrease coverage by 0.07%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master     #554      +/-   ##
============================================
- Coverage     74.63%   74.56%   -0.08%
- Complexity      611      619       +8
============================================
  Files            83       85       +2
  Lines          2831     2858      +27
  Branches        199      199
============================================
+ Hits           2113     2131      +18
- Misses          591      600       +9
  Partials        127      127

Impacted Files
Coverage Δ

...lsar/handlers/mqtt/MQTTTopicOwnershipListener.java
0.00% <0.00%> (ø)

...streamnative/pulsar/handlers/mqtt/MQTTService.java
88.46% <50.00%> (-3.21%)
:arrow_down:

...ers/mqtt/MQTTNamespaceBundleOwnershipListener.java
70.83% <70.83%> (ø)

Continue to review full report at Codecov.

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


Port hdfsmongodb as s-c-t module

From @sabbyanandan on November 20, 2015 20:1
As a developer, I'd like to move hdfsmongodb module from XD to s-c-t-m repo, so I can use it as task to build batch pipelines.
Acceptance:

hdfsmongodb as task module (Spring Boot App) is available in spring-cloud-task-modules repo
maven coordinates include hdfsmongodb with respective group/artifact/version

Copied from original issue: spring-cloud/spring-cloud-task-modules#8

This issue was moved to spring-cloud-task-app-starters/app-starters-release#8


Update 2016-12-05-easier-upgrades.md

The logic behind react-native-git-upgrade described above is going to power the standard react-native upgrade starting with React Native version 0.40.0.
This means that if you are upgrading from version 0.40.0 or higher, you will be able to simply run react-native upgrade in your project without having to install anything globally.

I hadn't seen any logic related to this description in either practice nor the source code . Did I misunderstand anything or the plan has been changed since this blog post? @ncuillery

Good catch, thanks for removing it. We reconsidered and keeping it a separate tool might actually work better because people can update the tool independently of RN.


Fix ODatabaseDocumentTx ignoring iPolymorphic parameter on countClass()

... when counting deletes/inserts inside transaction.
Add unit test to test countClass both inside and outside transaction.
Can this please also be backported to the 2.1.* versions as that's what we are using at present, thanks.

Wow, this PR is perfect, thanks. I'll back port it on v2.1.x. Thanks!

You're welcome. I have also just merged it up to date with develop and fixed the conflicts, would you like me to push this, or would you rather do that yourself?

It's still says: "This branch has conflicts that must be resolved". I tried to merge it manually but the commit id is lost. Could you please try to rebase your branch?

It looks like your manual merge is on develop already : https://github.com/orientechnologies/orientdb/commit/835bb95bf7979ded4955a6624c28619715bf2618
That's probably why it's saying it has conflicts.

I think I messed up the branch. However your change is there. I've added a comment to my commit to refer to your commit. Thanks!

Backporting to 2.1.x


Share your Styles/Themes/Skins

A repository to share with all the users your styles.
And a navegator within the extension or somewhere near. I want the styles in the Examples page!

Hi @ankit when I go to stylebot.me it has an ssl error and may be a different type of tool than the ability to share styles. Is this ability to share styles available in the latest version?


openexr_3: 3.2.2 -> 3.2.126

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/openexr/versions.
meta.description for openexr_3 is: A high dynamic-range (HDR) image file format
meta.homepage for openexr_3 is: https://www.openexr.com
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.2.126 with grep in /nix/store/fi2fzi22fzl95yaj91d0yk2py54lkpr2-openexr-3.2.126-bin
found 3.2.126 in filename of file in /nix/store/fi2fzi22fzl95yaj91d0yk2py54lkpr2-openexr-3.2.126-bin

Rebuild report (if merged into master) (click to expand)

1749 total rebuild path(s)

1749 package rebuild(s)

First fifty rebuilds by attrpath
CHOWTapeModel
ChowKick
Sylk
abiword
abracadabra
activitywatch
adapta-gtk-theme
adriconf
advi
aegisub
ajour
akkoma
alembic
alfaview
alfis
almanah
alsa-scarlett-gui
altair
alvr
amberol
amule
amule-daemon
amule-gui
amule-web
anilibria-winmaclinux
anki
ansel
anytype
apache-directory-studio
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
apkleaks
apostrophe
appimage-run
appimage-run-tests
apx-gui
aravis
arc-theme
archi
archivebox
arduino-ide
arx-libertatis
asc
asc-key-to-qr-code-gif
asciidoc-full
asciidoc-full-with-plugins
ashpd-demo
asn1editor
astroid
asymptote

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fi2fzi22fzl95yaj91d0yk2py54lkpr2-openexr-3.2.126-bin \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openexr_3 https://github.com/r-ryantm/nixpkgs/archive/0fa033a5629bfb71d51876a407cc3305959e15bf.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0fa033a5629bfb71d51876a407cc3305959e15bf#openexr_3

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fi2fzi22fzl95yaj91d0yk2py54lkpr2-openexr-3.2.126-bin
ls -la /nix/store/fi2fzi22fzl95yaj91d0yk2py54lkpr2-openexr-3.2.126-bin/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @paperdigits for testing.

Merge conflict, please open a new PR.


Make delta_index_epoch monotonic increase.

What problem does this PR solve?
Issue Number: close #7359 https://github.com/tidbcloud/tiflash-cse/issues/88
Problem Summary:

delta_index_epoch is not persisted. It will fallback to zero if TiFlash (WN) restarts.
This will result in inconsistent delta_index_epoch between WN and CN and lead to inconsistent delta index eventually.

What is changed and how it works?

delta_index_epoch is used in disaggregated mode by compute-nodes to identify if the delta_index has changed.
To avoid persisting it, we use std::chrono::steady_clock to make it monotonic increase.
Accuracy of std::chrono::steady_clock in Linux is nanosecond. This is much smaller than the interval between two flushes.

Check List
Tests

[ ] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests


Fixes upgrading to rails 5. #21

Related: https://github.com/ucsdlib/horton/issues/21

@mcritchlow I've upgraded it to Rails <IP_ADDRESS>. However, there are tons of deprecation warnings, which are from the dependency gems:
[DEPRECATION] RDF::Queryable::Enumerator#to_ary is deprecated, use RDF::Queryable::Enumerator#to_a instead. Called from /Users/lsitu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rdf-2.2.1/lib/rdf/mixin/enumerable.rb:125
[DEPRECATION] RDF::Enumerable::Enumerator#to_ary is deprecated, use RDF::Enumerable::Enumerator#to_a instead. Called from /Users/lsitu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rdf-2.2.1/lib/rdf/mixin/enumerable.rb:444
I am not sure which gem use the deprecated methods. Should we move ahead with hyrax migration in this case?

@lsitu - Are the deprecation warnings all from the RDF gem? The deprecation warnings make sense, as the most recent version notes the changes you're seeing. I assume these are coming from either ActiveFedora (and)or Curation Concerns. Are there others you're seeing that we should look at as well?

@mcritchlow Yes, the deprecation warnings are from the the RDF latest gem. In addition to ActiveFedora (and)or Curation Concerns, I think we may keep an eye on ActiveTriples as well.

@mcritchlow I see an weird issue with CSV ingest with the rails <IP_ADDRESS> migration, files selected from browse-everything failed to be ingested but it works with files selected from local disk. Maybe we should upgrade it to the latest CC to see how it goes?

@lsitu - hmm, there was a comment about something similar in the hydra slack channel this morning, but not sure if it's directly related. In any event, I think trying out the upgrade of CC makes sense. If you run into further (or deeper) issues, we may want to circle back on this approach vs a clean start?

@mcritchlow It looks like there is an issue with rails 5 that preventing the remote files from being ingested successfully since the local files ingest looks good and the metadata records get ingested as well. So it should be something related to Sufia/CC. I've get something working with Hyrax migration now but still lots of uncertain issues that need to look back and forth for the changes in Hyrax to make it work. Hopefully we can call for the decision soon.


Add some forking instructions to the Readme

What should happen after you "approved" these changes (and those of #440 )?

I don't know!

I don't know!

Perhaps @fpvandoorn knows, or knows who to ping? It seems that the PR process on this repo is harder than on mathlib... 😓 .

I or another maintainer presses squash and merge :-)


Tha maximal number of iterations maxit (set to 20 by the program) allowed for finding a smoothing spline with fp=s has been reached

I was trying to plot a heatmap using this command:
ax=sc2.pl.heatmap(adata, sorted_unique_marker_genes, groupby='ident',               use_raw=False, vmin=-3, vmax=3, cmap='bwr',show=True,               var_group_rotation=0, dendrogram=True, save='ClusterMap.png')
And it didn't finish running after an overnight, with the following warning message:
WARNING: Gene labels are not shown when more than 50 genes are visualized. To show gene labels set show_gene_labels=True
/usr/local/lib/python3.6/dist-packages/scipy/interpolate/fitpack2.py:227: UserWarning:
The maximal number of iterations maxit (set to 20 by the program)
allowed for finding a smoothing spline with fp=s has been reached: s
too small.
There is an approximation returned but the corresponding weighted sum
of squared residuals does not satisfy the condition abs(fp-s)/s < tol.
warnings.warn(message)
I don't understand why this is taking this long because seaborn was able to finish plotting within 30 minutes. Do you know why?

Thanks for your information. I am surprised that this step is taking too
long as is was supposed to reduce the plotting time. I would not wait for
more than 5 minutes to see a plot. How many genes were you planning to plot?
The background is that when plotting a heatmap, the matplotlib
visualization will randomly drop genes because the resolution of the
screens is not high enough. Thus, when the number of genes is large, I was
trying to find a compromise by fitting a line before the plotting and then
only plotting the fit.
Can you help me solve the issue by sharing the data with me? Or, can you
find an example that can reproduce the problem?
On Tue, May 7, 2019 at 10:19 AM brianpenghe<EMAIL_ADDRESS>wrote:

I was trying to plot a heatmap using this command:
ax=sc2.pl.heatmap(adata, sorted_unique_marker_genes, groupby='ident',
use_raw=False, vmin=-3, vmax=3, cmap='bwr',show=True, var_group_rotation=0,
dendrogram=True, save='ClusterMap.png')
And it didn't finish running after an overnight, with the following
warning message:
WARNING: Gene labels are not shown when more than 50 genes are visualized.
To show gene labels set show_gene_labels=True
/usr/local/lib/python3.6/dist-packages/scipy/interpolate/fitpack2.py:227:
UserWarning:
The maximal number of iterations maxit (set to 20 by the program)
allowed for finding a smoothing spline with fp=s has been reached: s
too small.
There is an approximation returned but the corresponding weighted sum
of squared residuals does not satisfy the condition abs(fp-s)/s < tol.
warnings.warn(message)
I don't understand why this is taking this long because seaborn was able
to finish plotting within 30 minutes. Do you know why?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theislab/scanpy/issues/633, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABF37VNDX37RZL256MWKDM3PUE3RFANCNFSM4HLGOYGA
.

--
Fidel Ramirez

Thanks for your information. I am surprised that this step is taking too long as is was supposed to reduce the plotting time. I would not wait for more than 5 minutes to see a plot. How many genes were you planning to plot? The background is that when plotting a heatmap, the matplotlib visualization will randomly drop genes because the resolution of the screens is not high enough. Thus, when the number of genes is large, I was trying to find a compromise by fitting a line before the plotting and then only plotting the fit. Can you help me solve the issue by sharing the data with me? Or, can you find an example that can reproduce the problem?
…
On Tue, May 7, 2019 at 10:19 AM brianpenghe @.***> wrote: I was trying to plot a heatmap using this command: ax=sc2.pl.heatmap(adata, sorted_unique_marker_genes, groupby='ident', use_raw=False, vmin=-3, vmax=3, cmap='bwr',show=True, var_group_rotation=0, dendrogram=True, save='ClusterMap.png') And it didn't finish running after an overnight, with the following warning message: WARNING: Gene labels are not shown when more than 50 genes are visualized. To show gene labels set show_gene_labels=True /usr/local/lib/python3.6/dist-packages/scipy/interpolate/fitpack2.py:227: UserWarning: The maximal number of iterations maxit (set to 20 by the program) allowed for finding a smoothing spline with fp=s has been reached: s too small. There is an approximation returned but the corresponding weighted sum of squared residuals does not satisfy the condition abs(fp-s)/s < tol. warnings.warn(message) I don't understand why this is taking this long because seaborn was able to finish plotting within 30 minutes. Do you know why? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#633>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF37VNDX37RZL256MWKDM3PUE3RFANCNFSM4HLGOYGA .
-- Fidel Ramirez

I was planning to plot a heatmap of 300 genes. However, I have 90k cells. I guess the time-consuming part is the PCA because that's what's required to do the clustering by groups. I thought a naive way to do the clustering is just to construct the "pseudobulks" for each group by calculating the average and then simply clustering the "pseudobulks", instead of trying to look at individual cells. Another advantage of checking the pseudobulk is that the size of each group won't affect the landscape of principle components in that way?

I have the same issue than @brianpenghe .
I am trying to plot a heatmap using:
sc.pl.heatmap(adata_10x_day13_MPCs_early, output_great_1090, groupby='condition', use_raw=False, vmin=-3, vmax=3, cmap='bwr',show=True, var_group_rotation=0, dendrogram=True)
n_cells = 1071
n_genes = 1121
I got this message as well:
WARNING: Gene labels are not shown when more than 50 genes are visualized. To show gene labels set show_gene_labels=True
/home/grupos_srs_ap/Programs/anaconda3/lib/python3.7/site-packages/scipy/interpolate/fitpack2.py:227: UserWarning:
The maximal number of iterations maxit (set to 20 by the program)
allowed for finding a smoothing spline with fp=s has been reached: s
too small.
There is an approximation returned but the corresponding weighted sum
of squared residuals does not satisfy the condition abs(fp-s)/s < tol.
warnings.warn(message)
The heatmap was plotted after few minutes, though:

I think the plot is not correct.
I tried modifying the scanpy/plotting/_anndata.py, removing the smoothing function as described above, but got the same results.
Can you help me?
Thanks a lot in advance


ng1: Retrieve promise rejection data in Transition.onError

Assuming we have a service method called for Transition.onBefore that returns a promise, how could we get access to the value of the rejected promise in Transition.onError?
/*== app.module.js ==*/

// ...
.run($transitions, AuthService) => {

    $transitions.onBefore({ to: state => state.name !== 'auth.login' },
        () => AuthService.isLoggedIn());

     $transitions.onError({}, transition => {
         console.log(transition.error());
         // Logs -> Rejection { "type": 3, "message": "The transition has been aborted", "detail": "Hook aborted transition" }
     });

});

/*== auth.service.js ==*/

// ...
isLoggedIn() {
    return this.$q((resolve, reject) => {
        try {
            const authData = localStorage.getItem('auth');
            resolve(!!authData);
        } catch(error) {
            console.log(error);
            reject({ message: 'Not authenticated' }); // <= this is what we want to log in $transitions.onError
        }
    });
}

At the moment it seems that the transition's error object comes from ui-router internals, but it doesn't seem to have a way to pass a custom error object. Or does it?

I just realized I had an other Transition.onBefore registered at another place in my app which was executed first... Indeed, transition.error() correctly retrieves the promise rejection if any, sorry for that!


DefeatRoaches agent.pysc2.scripted_agent.DefeatRoaches error

Hi There!
I am working in a tutorial for  first understanding of mini games in order to help to create more of them
tutorial minigame
I do have a problem with scripted_agent as it runs but always crushes
python3 -m pysc2.bin.agent --map DefeatRoaches --agent pysc2.agents.scripted_agent.DefeatRoaches
NSWindowEdgeResizing is off!
2017-09-08 16:21:50.709 Python[3397:240836] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/t8/zmf1s_857zgdxycxnrk_g8080000gn/T/org.python.python.savedState
0/no_op                                              ()
1/move_camera                                        (1/minimap [64, 64])
2/select_point                                       (6/select_point_act [4]; 0/screen [84, 84])
3/select_rect                                        (7/select_add [2]; 0/screen [84, 84]; 2/screen2 [84, 84])
4/select_control_group                               (4/control_group_act [5]; 5/control_group_id [10])
5/select_unit                                        (8/select_unit_act [4]; 9/select_unit_id [500])
453/Stop_quick                                         (3/queued [2])
7/select_army                                        (7/select_add [2])
451/Smart_screen                                       (3/queued [2]; 0/screen [84, 84])
452/Smart_minimap                                      (3/queued [2]; 1/minimap [64, 64])
331/Move_screen                                        (3/queued [2]; 0/screen [84, 84])
332/Move_minimap                                       (3/queued [2]; 1/minimap [64, 64])
333/Patrol_screen                                      (3/queued [2]; 0/screen [84, 84])
334/Patrol_minimap                                     (3/queued [2]; 1/minimap [64, 64])
12/Attack_screen                                      (3/queued [2]; 0/screen [84, 84])
13/Attack_minimap                                     (3/queued [2]; 1/minimap [64, 64])
274/HoldPosition_quick                                 (3/queued [2])
Took 67.693 seconds for 2500 steps: 36.932 fps
Wrote replay to: /Applications/StarCraft II/Replays/DefeatRoaches/DefeatRoaches_2017-09-08-14-22-58.SC2Replay
WARNING:root:Terminating attempt 0...
WARNING:root:Terminating attempt 1...
WARNING:root:Terminated.
MacBook-Air:~ me$ 2017-09-08 16:23:43.703 Blizzard Error[3429:241911] Blizzard Error Report ID: 3CC2DD1F-A38E-471B-8911-F497BBB532FC
replay
Thanks for all the help !

From looking at that error report, it appears to be the same issue as this:
https://github.com/deepmind/pysc2/issues/30
I had suggested a workaround to DeepMind but it looks like they haven't implemented it yet. I will poke them again about it.


Show proper hover information based on line language type

This won't resolve the color picker issue as you noted @mjbvz, but adds some additional polish/consistency to the hover via getQuickInfoAtPosition.

Thanks! I'll publish a new version of the plugin and extension shortly.


Source Extractor using wrong gain, saturation

After cross convolve, the following warning is thrown:
MeLOn CheckPoint [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: Run Python Wrapper of SExtractor!
/hpc/group/cosmology/lna18/sfft/sfft/utils/pyAstroMatic/PYSEx.py:493: UserWarning: MeLOn WARNING [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: SExtractor has to use default GAIN = 0!
  warnings.warn('MeLOn WARNING [%s]: %s' %(objname, _warn_message))
/hpc/group/cosmology/lna18/sfft/sfft/utils/pyAstroMatic/PYSEx.py:504: UserWarning: MeLOn WARNING [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: SExtractor has to use default SATURATION = 50000.0!
  warnings.warn('MeLOn WARNING [%s]: %s' %(objname, _warn_message))

Should default to gain=1, saturation=100000. The values in this error are default to SFFT. We need our defaults to be 1, 100000.

I updated my forked SFFT package (https://github.com/laldoroty/sfft) to allow choosing gain=1, saturation=100000, but I think we should leave this open and figure out if we need real gain/saturation values in headers. Or if these values are always correct because it's a sim...?


Enhance README.md

You are free to add and remove anything. Adding better styling and making it look more interesting is the primary goal.

Please assign this to me

@prakartigoel24 done

Hi, could you please assign this to me


[Proposal] Support more bands allocation strategies

Motivation
Currently Mars use slot for resource management and bands allocation which just consider cpu and gpu but no memory. Mars always allocate one slot which represents one core cpu or gpu for a subtask. It works well most time. But there are some shortcomings like:

Subtasks need less cpu  which results in low cpu utilization and long execution time
Subtasks need more memory and less cpu which leads node OOM

So we could develop more granular resource management and bands allocation strategies to increase resource utilization, improve scheduling efficiency, and avoid OOM.
Design
We propose an assigner framework as follows:

AssignerActor: assign bands for subtasks with different strategies and it is initialized in supervisor scheduling service
StrategyRouter: router different allocation strategies to its actual implementations
SlotStrategy: the original allocation strategy
ResourceStrategy: a new strategy which considers cpu, memory and gpu simultaneously. Also we can expand it to HBO.
More Strategy: we can support more strategies.
StrategySelector: we can decide a strategy by configuration or auto select a strategy. If we could know subtasks resource requirements like through HBO, we can use ResourceStrategy, if not use SlotStrategy.

Codes could be:
class AbstractStrategy:

    @abstractmethod
    def assign_subtasks(self, subtasks):
        pass

    @abstractmethod
    def reassign_subtask(self, band_to_queued_num):
        pass

class SlotStrategy(AbstractStrategy):
    ...

class ResourceStrategy(AbstractStrategy):
    ...

class StrategyRouter:
    _strategy_cls = SlotStrategy
    _strategy : AbstractStrategy

    @classmethod
    def set(cls, strategy_cls):
        cls._strategy_cls = strategy_cls

    @classmethod
    def get(cls):
        if cls._strategy is None:
            cls._strategy = cls._strategy_cls()
        return cls._strategy

    @classmethod
    def assign_subtasks(cls, subtasks):
        return cls.get().assign_subtasks(subtasks)

    @classmethod
    def reassign_subtasks(cls, band_to_queued_num):
        return cls.get().reassign_subtasks(band_to_queued_num)

class AssignerActor(mo.Actor):

    def __init__(self, session_id: str):
        ...

    def assign_subtasks(self, subtasks: List[Subtask]):
        StrategyRouter.assign_subtasks(subtasks)

    def reassign_subtasks(self, band_to_queued_num: Dict[BandType, int]):
        StrategyRouter.reassign_subtasks(band_to_queued_num)

Plan
In order to implement this proposal, we plan to do:

Add physical resource management which has been in #2731
Add a logic id for subtask which represents a unique subtask and in different submits the same subtask has same logic id which has been in #2575
Add a logic id for tileable graph which just like subtask logic id and this is for HBO
Add an assigner framework to support more bands allocation strategies and SlotStrategy
Add ResourceStrategy

As slots and CPU / memory combination are both resources, if we unify slot and resource strategy (for instance, always specify mem requirement as 0), do we really need strategy itself?

As slots and CPU / memory combination are both resources, if we unify slot and resource strategy (for instance, always specify mem requirement as 0), do we really need strategy itself?

Agree with you, we can unify them. I'll optimize the workflow.


GH-210 Added support for input Collection param

Added support for function parameter type Collection
Updated both Jackson and Gson mappers
Defined a new toObject() operation on JsonMapper and deprecated the old
Resolves #210

Closed in 2e5c6d2


[BasicAuth] Using Event Handler for Any Auth Related Event

Is your feature request related to a problem? Please describe.
Currently, the different flows in basic auth, for example, registration of a new user, email verification, etc., are events handled in the singular flow.
Add event handling mechanism to the Basic Auth Flow
Describe the solution you'd like
I would like to use examples

Registration of a user

This will generate an event "new user registered", which can be handled using the EventHandler listening for new User Registration and can perform different activities (sending emails for ex.) when receiving the event.
Essentially the activities that need to be performed after an event can be separated this way, from the activities that are performed implicitly.

Describe alternatives you've considered
The alternative is implicit handling of different activities which is not scalable if we have multiple things we want to perform on an event.
Additional context
Add any other context or screenshots about the feature request here.

closing this, as this is handled using separate authenticators, and sending emails is also done in async manner , this is not needed anymore


network acl & network interfaces tags not getting populated

Hello,
I am using terraform version is:
Terraform v0.12.18

provider.aws v2.45.0
provider.http v1.1.1

I am using the terraform-aws-vpc module to create my network resources, i have used the tags to provide common tags to all resources as stated in readme. But i discovered that tags of network acls and network interfaces are missing / not getting populated for the created vpc. Kindly let me know if I am doing anything wrong or i just discovered a todo.
Thank you team for the good work

hey @anupash147, can you check that the resource you are referring to are ones that are directly created by the module? some AWS resource created by terraform don't get tagged as they are implicitly created like the default NACL of the VPC and network interfaces.

Can confirm that taggings (at least on the default NACL) doesnt work.
  default_network_acl_name = "${var.app}-default-nacl"
  default_network_acl_tags = "${var.tags}"

#running
Terraform v0.12.26
provider.aws v2.68.0

Hey @MrAtheist are you also setting manage_default_network_acl = true ?

bumping one last time - @MrAtheist please see the comment above: are you also setting manage_default_network_acl = true ?

Apologies for the super late reply...
TLDR = manage_default_network_acl did the trick...
I didnt have manage_default_network_acl = true, and the NACL created this way was labelled Default = true on the vpc console, hence why i thought it's the "default NACL"
After tucking in manage_default_network_acl = true, tf plans to create a separate NACL as module.vpc.aws_default_network_acl.this[0], which strangely enough, should already be referenced in the state file but it's no where to be found in the first place (except a tiny default_network_acl_id being referenced under module.vpc.aws_vpc)
Upon reading at the plan closely, it plans to create the default NACL with the existing default_network_acl_id. So im guessing it is to stamp the NACL as module.vpc.aws_default_network_acl.this[0] officially? After applying, the tags are propagated and the NACL is reflected in the state file correctly.

closing due to resolution reached


[LUA] Wrong rotation of missiles in TacView.

It can be a problem in Quaternion to Vector3 conversion or different coord. system format in gtasa and tacview.

Bug example:

It works well for some objects but for others - not


Vroom-Karman

A picture of a Futuristic shaped car that comes in a 5,8, and 12 spoke spec. Have been coding for a bit now and is something I enjoy and love tinkering around with hardware. Took some time, read the documentation on the blot website to help get me started.

I think this may be a bit too simple. What could make the car more sophisticated?
I'm going to close this for now but feel free to reopen or make a new PR when you're ready.


Inform user if .opossum input file is invalid

Currently, the app crashes if the .opossum file does not include an input.json.
The goal of this ticket is to catch such cases and inform the user that the input file is invalid.

That sounds like a nice feature. However, I'd rather not introduce a new popup but instead use teh existing error popup of the electron backend


There is no web session to update

New Issue Checklist

[x] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[INSERT OUTPUT HERE]
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.5

Ruby
2.2.4

Bundler?
false

Git
git version 2.9.3 (Apple Git-75)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.11.5 (15F34)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.dadameng.DrivingAssistance" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "AG5RJ4ADG3" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.28.3
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

addressable
2.5.1

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.6

claide
1.0.1

colored
1.2

colored2
3.1.2

commander-fastlane
4.4.4

domain_name
0.5.20170404

dotenv
2.2.0

excon
0.55.0

faraday
0.12.1

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

gh_inspector
1.0.3

google-api-client
0.9.28

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
3.0.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

rubygems-update
2.5.2

rubyzip
1.2.1

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

tty-screen
0.5.0

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.4

xcpretty
0.2.6

xcpretty-travis-formatter
0.0.4

generated on: 2017-08-05

I have input incorrect password for my AppID at first time executing fastlane init. and it came back to manual setup. when I want to execute 'deliver init' command, I got the error 'there is no web session to update'.I want to know how to resigh the account?

I had try to executed 'cert' and 'sign' command,and it already has the '.cer' and '.mobileprovision' file. It still have no web session to update error.Do I have any other error? Thanks!

Mh, something's wrong, the update check of fastlane failed. Where are you based? Can you try using a VPN and see if that works?

It's maybe when i try to get the message from 'fastlane env' not using a VPN , but i tried to execute 'fastlane update_fastlane',which tell me 'Nothing can update'.

Do you have a Gemfile

Yeah，I have， but my gem source is https://gems.ruby-china.org.Is this related to this?

Yeah, it has to be https://rubygems.org 👍

Ha~   It works!  Thank you very much!

Yeah, great to hear 👍


Fixed SD card intialization failure

Few Sandisk SD cards were failing for CMD41 as device was not ready after CMD55. Added busy delay loop to make sure device is ready and than proceed.

@JanneKiiskila - I found initialization issue with Sandisk Ultra cards, which is fixed in this PR. Can someone try this fix for non-working cards. Also, if you can send me the details of non-working cards (Brand + size) I can try to procure.

I tried this with Sandisk edge 4GB card. No effect. Init still failing.

@teetak01 Please enable below flags and share serial log
#define SD_DBG
#define SD_CMD_TRACE

I can confirm this fixes the initialization for a 16gb SanDisk microsd.


⚠ T:Riza Docs has degraded performance

In b9c2ae0, T:Riza Docs (https://docs.triza.dev) experienced degraded performance:

HTTP code: 500
Response time: 15827 ms

Resolved: T:Riza Docs performance has improved in 85cf401.


DNS discovery needs update

API discovery should be updated:
old:
dig txt +short _buddycloud-api._tcp.buddycloud.org
"v=1.0" "host=demo.buddycloud.org" "protocol=https" "path=/api" "port=443"

new:
dig txt +short _buddycloud-api._tcp.buddycloud.org
"v=1.0 host=demo.buddycloud.org protocol=https path=/api port=443"

API discovery works fine with the old and new pattern as well. However, if it not works for any specific scenario then open the issue with more details.


Prefetch a chunk of result for stream operation

Resolves https://github.com/typelevel/doobie/issues/2132.
Use fs2 Stream's prefetchN to buffer query results so that slow downstream operations don't slow down transaction commit.
The buffered result size is chunkSize (equals to fetchSize) by default. If want a different buffer size, can use transactNoPrefetc to get a stream without prefetchN and append any prefetch operations wanted.

Hi @jatcwang just follow up on this PR. Please let me know if the updated code addressed your comments or not.


I am 15 years old

Not everyone are adults:(

But I guess it would make sense if you would get treated like one. At least in the context of open source. Or do you think there is a necessity to have a specific section which deals with children?

it looks like the person that wrote the COC thinks only adults can program :( But whatever ;) i am an adult in a few years O
/|
/\

See #19

@Ficklampan

According to us, yes, yes you are allowed to participate and we are aware that youngsters can program too - we used to be one of them 😝 we didnt exclude you.  As domgetter points out in the other ticket, we dont want a lengthy but juridical correct CoC. In fact, we dont want a CoC at all. But since we sorta are forced to have one, we trimmed it down to something useful and sensible. No weird list of DONTs, no weird list of DOs etc.

Feel free do adapt the NCoC and change it in a way which you thinks it suits you the best. You are not forced to stick to the original NCoC. You are allowed to adapt it in anyway you want

If a project uses the NCoC and you are not sure if you are allowed to participate, feel free to ask the maintainer if it's okay when you participate


Videos not downloading and no error reporting

When I run the PHP script I get that the please wait message and then it ends the script. Even if if enable error reporting it returns nothing.  Below is that it looks like including having error reporting on. I tried with PHP7 as well as PHP8
`
C:\video>php thinkidownloader3.php https://courses.practicalpocus.com/api/course_player/v2/courses/POCUS
THINKIFIC DOWNLOADER
v3.1 ~ 14th June 2021
Author : SumeetWeb ~ https://github.com/sumeetweb
Consider buying me a coffee at : https://www.buymeacoffee.com/sumeet
Fetching Course Contents... Please Wait...
C:\video>
`

https://github.com/sumeetweb/Thinki-Downloader/issues/5
Hello Tom,
This might be an issue with your curl or with the returned course data which may not be in english. Follow up on curl first with error_reporting to 1 and check anything gets log into console or not.
Best,
Sumeet


fixCorrectly parses arg --helper to Env

Proposed changes
Issue Number: close #17158
Problem summary
As seen in related issue.
Modify if (args[i].equalsIgnoreCase("-helper")) to if (args[i].equalsIgnoreCase("--helper") simply and effectively.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0

run compile

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.66 seconds
stream load tsv:          481 seconds loaded<PHONE_NUMBER>9 Bytes, about 148 MB/s
stream load json:         38 seconds loaded<PHONE_NUMBER> Bytes, about 59 MB/s
stream load orc:          69 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          27 seconds loaded 861443392 Bytes, about 30 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230227031811_clickbench_pr_104707.html


Problem with puppeteer version on Apple M1 chip

When I try to install your package version 5.1.1.
/Volumes/Podaci/xwp/puppetier  npm i grunt-contrib-qunit
npm ERR! code 1
npm ERR! path /Volumes/Podaci/xwp/puppetier/node_modules/grunt-contrib-qunit/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! The chromium binary is not available for arm64:
npm ERR! If you are on Ubuntu, you can install with:
npm ERR!
npm ERR!  apt-get install chromium-browser

When I downloaded it from git and changed puppeteer version to above 10, it worked.
I have a problem because some (https://github.com/WordPress/wordpress-develop) package is using grunt-contrib-qunit in dependencies and it prevents me from installing it. Please update the version as I mentioned so I could work with it.

I've also encountered this.
I think the issue is that the puppeteer dependency in this project is a fairly old version. That also means it's using an old version of Chromium, as puppeteer explicitly bumps the Chromium version on a regular basis (e.g. https://github.com/puppeteer/puppeteer/pull/7907).
My guess is this old version of Chromium doesn't have an ARM build, while newer versions do (I can verify that I haven't had the problem with newer versions of puppeteer).
So I think the solution would be to update this project to a much more recent version of Puppeteer.

When can we expect this change to be published to npm? It looks like 6.0.0 release is already prepared: https://github.com/gruntjs/grunt-contrib-qunit/commit/3d09d410a707058a8972d92d6a4325721ecd17f6/.

Ref https://github.com/gruntjs/grunt-contrib-qunit/pull/186.


404 on download source "Migrating From ASP.NET MVC 5 to MVC 6

http://docs.asp.net/projects/mvc/en/latest/migration/migratingfrommvc5.html
Download the finished source from the project created in this article - all the download links are broken.
Rewrite this and from the start have them use the same project name (so the name spaces match), that will vastly simply the code copy. Also tell them up front a good way to do this conversion is to create a new MVC 6 app with individual user accounts - that way the can compare the two projects. This approach has the added benefit of helping customers make the conversion when the tutorial is out of date.
Have them create a MVC 5 app named WebApp1, save the project, then rename the solution Mvc5. Exit/restart VS do they can easily tell the two projects apart.
rewrite: Add an MVC Controller called HomeController.cs class to the Controllers folder and a Home folder in the Views folder.
Add a new controller named HomeController to the Controllers folder. Add a Home folder to the Views folder.

http://docs.asp.net/projects/mvc/en/latest/migration/migratingfrommvc5.html
Download the finished source from the project created in this article

PR pending.


wandb pull not working

wandb --version && python --version && uname

Weights and Biases version: 0.8.9
Python version: 3.7
Operating System: Linux

Description
I was trying to pull an experiment by ID and project.
What I Did
I ran wandb pull <ID> -p <project_name>
and this happend.
Error: 'NoneType' object is not subscriptable

I went ahead and further looked into the code... it seems that the error is in apis/internal.py, line 905. It seems the gql result is {model: None} which cause the problem while querying bucket key etc.

Please set your "entity" with the -e argument.  if you do that you will find that the command will work.
You are correct that the error message is not helpful and should be improved.

I am sorry but what is entity? I am not sure what it means so I left empty.

Oh! nevermind. I found it here: https://docs.wandb.com/wandb/init
If anyone stumbles on this issues... here is the relevant information.
entity — the team posting this run (default: your username or your default team)


Does pcm run on GCP servers?

Hi! I was trying to run pcm on a GCP server. When I run pcm.x I got this error:
 Processor Counter Monitor  ($Format:%ci ID=%h$)

Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.
Linux arch_perfmon flag  : no
ERROR: vPMU is not enabled in the hypervisor. Please see details in https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/on-virtual-machine.html
       you can force-continue by setting PCM_IGNORE_ARCH_PERFMON=1 environment variable.
Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).
root@zhylin-2:~/Documents/pcm# PCM_IGNORE_ARCH_PERFMON=1 ./pcm.x

 Processor Counter Monitor  ($Format:%ci ID=%h$)

Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.
Linux arch_perfmon flag  : no
ERROR: vPMU is not enabled in the hypervisor. Please see details in https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/on-virtual-machine.html
       you can force-continue by setting PCM_IGNORE_ARCH_PERFMON=1 environment variable.
IBRS and IBPB supported  : yes
STIBP supported          : yes
Spec arch caps supported : yes
Number of physical cores: 4
Number of logical cores: 8
Number of online logical cores: 8
Threads (logical cores) per physical core: 2
Num sockets: 1
Physical cores per socket: 4
Core PMU (perfmon) version: 0
Number of core PMU generic (programmable) counters: 0
Width of generic (programmable) counters: 0 bits
Nominal core frequency:<PHONE_NUMBER> Hz
IBRS enabled in the kernel   : yes
STIBP enabled in the kernel  : no
The processor is not susceptible to Rogue Data Cache Load: yes
The processor supports enhanced IBRS                     : yes
Package thermal spec power: 0 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt;
Can't open MCFG table. Check permission of /sys/firmware/acpi/tables/MCFG
Can't open MCFG table. Check permission of /sys/firmware/acpi/tables/MCFG1
Can't open MCFG table. Check permission of /pcm/sys/firmware/acpi/tables/MCFG
Can't open MCFG table. Check permission of /pcm/sys/firmware/acpi/tables/MCFG1
Can not access server uncore PCI configuration space. Access to uncore counters (memory and QPI bandwidth) is disabled.
You must be root to access server uncore counters in PCM.
Trying to use Linux perf events...
PCM ERROR: Trying to program 4 general purpose counters with only 0 available
Access to Processor Counter Monitor has denied (Unknown error).
Cleaning up
 Zeroed uncore PMU registers

I was wondering if pcm can run on GCP servers? Thanks!

Thanks for the answer! So it means a no for GCP? Is it possible that users request the feature on a certain instance from GCP?

unfortunately it means no for GCP. Please try to request the vPMU/arch_perfmon feature through your GCP support channel.


No exception made for YouTube titles with "... Remix" between [].

YouTube titles with the format Artist - Song [2nd Artist Remix] are being scrobbled as just Artist - Song.

Yes, this is because of cleanup which is done on the title in order to get really just artist and track names. Although we may introduce more customizable filtering later, for now this is the intended behavior, expected by most of the users


ProcedureKit v5 Roadmap

This issue is to track the roadmap for development of ProcedureKit v5.
ProcedureKit v5 will be a major version and incorporate the following significant changes:

Drop support for iOS 8 (minimum deployment target of iOS 9)
Swift 4 (Xcode 9 new compiler)

Goals
Additionally, we've got some significant project goals, which were not achieved during the development of ProcedureKit v4.

Documentation driven development. We want the documentation of the project to reflect the code in the project. (i.e. master documentation, development documentation). This is to exist on http://procedure.kit.run.

Fill missing bits of functionality which didn't make it from Operations -> ProcedureKit. Some of this will actually get done as part of ProcedureKit v4.x releases. These include

[ ] UserNotificationCondition etc
[ ] Missing capabilities:  Photos, Contacts etc
[ ] Built-in support for NSProgress
[ ] Improvements to ProcedureKitLocation, in terms of stability and expansion to macOS, watchOS etc.

Additional functionality. This is by no means locked down, but some ideas which have been floated for v5 include:

[ ] CoreData friendly procedures, for minimising setup & boilerplate code.
[ ] Expanded testing, particularly real-world testing of components such as networking and location.
[ ] Adaptors & helpers to plug into reactive UI components. This is a bit of an exploration item, but it seems that while ProcedureKit is well suited for use in controller and data transport layers, there is a pretty large gap to get to view-presentation level code. Something which which is framework-agnostic would be great.
[ ] Support for socket-based networking.
? Sound off in the comments if you have functionality which you'd like to see the framework support. We would love to have more contributors!

Branches
Currently, we have the following setup:

master (and tags) are public releases. Swift 3.1
development (default branch) is active development branch. Swift 3.1

In the next couple of weeks, we will branch development to support development of ProcedureKit v4.x releases:

master (and tags) are public releases.
v4/development (or something similar) will be for ProcedureKit v4.x work
development will become Xcode 9 / Swift 4 / iOS 9+  ProcedureKit v5 work
releases/5.0.0.beta-n will be for   ProcedureKit v5 pre-release betas.

@danthorpe I've just recently started looking at Operations and would like to contribute to this project. That being said, I need to familiarize myself with the codebase. If you have some starter tasks feel free to send them my way.

Thanks @SD10, that would be great! We put the you can do this label on starter tasks, which are always a big help. The only one we have labelled is actually being worked on by @swiftlyfalling at the moment.
At the moment, work for v5 is very much at an exploratory stage, and we haven't fleshed out much of anything just yet.

I would like to help to form the Documentation in a better state. Currently there are so many entry points and all are outdated. But I don't know where to start. Which one is really the future usage of the documentation? Is the documentation based in code and generated by a tool like jazzy? Currently it's a bit confusing because I couldn't find a guideline for this.

Hi @mRs- Hopefully the release nots for the latest version 4.3.0 explain the direction for the documentation best.
Writing guides and documentation is hard. However it is generated from the source code via Jazzy. So you can contribute by adding class descriptions and guides in the source, or add to the general/overall programming guide in the Documentation/Guides/ directory. To see what the docs look like, run $ jazzy --config .jazzy.json from the project root. The documentation is published at http://procedure.kit.run/development/.

In another area, Apple have changed the minimum os requirements of some key frameworks on the watchOS platform. CoreLocation and CloudKit now require watchos 3+, whereas with Xcode 8, watchOS 2.2 is allowed.
This is a major breaking change, which means that ProcedureKit v4.* will fail when building for watchOS 2.2. Therefore v5 will update the minimum watchos target to 3.

Awesome I will start to add documentation here, because we need it I think :)

@danthorpe Any news on the v5? Or skip it and wait for Swift 5? :D

@blg-andreasbraun yeah, at the moment Swift 4 is done without any breaking changes for v4.5
More than likely v5 of ProcedureKit will align with Swift 5.


Refactor tests. Default to numpy.bool_ for adjacency matrix.

Add copy=True option to diffussion.normalize to guarantee input matrix is not modified in place.
@kkloste take a look at the modified tests in test_diffusion.py. I parametrized them! Hopefully didn't mess them up.

One benefit of the default numpy.bool_ encoding is that it reduced the size of xarray_dataset.pkl.gz from 18 to 5 megabytes. It will also help with memory issues, but perhaps not a ton, since at some point float matrices will be needed.


Remove gRPC since they are a separate org for gsoc

gRPC has applied as a separate organization for GSoC: https://summerofcode.withgoogle.com/organizations/6309297353392128/
So we should remove it from the list of projects that come under CNCF.
/cc @caniszczyk @idvoretskyi @nathanielmanistaatgoogle

cc @thisisnotapril


Pulsar topic name validation fails despite valid topic name

Expected Behavior
Pulsar topic names can also contain a dot. Micronaut Pulsar should consider such topics as valid.
Actual Behaviour
Currently, such topics with dots in their name are rejected by the validation.
Steps To Reproduce
@PulsarSubscription(subscriptionName = "pulsar-jtest-subscription",
        subscriptionType = SubscriptionType.Shared)
public class Consumer {

    private static final Logger LOG = getLogger(Consumer.class);

    @PulsarConsumer(topic = "persistent://public/default/my.topic.name",
            consumerName = "shared-consumer-jtester", schema = MessageSchema.BYTES)
    public void messagePrinter(byte[] message) {
        LOG.info(message.toString());
    }
}

Environment Information

Linux
OpenJDK 17

Example Application
No response
Version
4.7..2

Possibly the fix is as simple as:
    /**
     * Regex for validating topic name.
     */
    public static final String TOPIC_NAME_VALIDATOR = "((non-)?persistent://)?((\\w+(-|\\w+)*\\w)|(\\$\\{tenant\\}))/(\\w+(-|\\w+)*\\w)/(\\w+([-.]\\w+)*\\w)";

in AbstractPulsarConfiguration.java.
Or is it possible to override this configuration?

Possibly the fix is as simple as:
    /**
     * Regex for validating topic name.
     */
    public static final String TOPIC_NAME_VALIDATOR = "((non-)?persistent://)?((\\w+(-|\\w+)*\\w)|(\\$\\{tenant\\}))/(\\w+(-|\\w+)*\\w)/(\\w+([-.]\\w+)*\\w)";

in AbstractPulsarConfiguration.java.
Or is it possible to override this configuration?

I think you would need to implement PulsarClientConfiguration and make it a bean. That bean would have to reimplement most of the stuff in DefaultPulsarClientConfiguration if you would like to override behaviour.
Regardless of possibility of override I think if dots are allowed it should be allowed by default and follow Pulsar rules. I don't know when will I have time but it should be as simple as making a pull request on mentioned line of code in your latest comment

Will be released as 2.5.1

Thank you very much for addressing the issue so quickly and planning it for an upcoming release. Next time, I’ll be happy to submit a pull request myself!


Sub-Region Types

Is your feature request related to a problem? Please describe.
Right now every "Region Type" stands for itself which is nice but there's no variation type inside the region itself. Normally in Minecraft sub-biomes come in play to give the dominating biome an alternate terrain variation. Examples of these would be Forest Hills inside of a Forest Biome, Flower Forest and etc.
Describe the solution you'd like
Geographically, it would have some characteristics from the parent terrain type which allows to create different type of terrain that would only be exlusive to that parent terrain type. For example dunes can only spawn inside of an desert terrain type.-- though can also spawn near the ocean as well.
Describe alternatives you've considered
None at the moment.
Additional context
None at the moment.

Not entirely true as there is a pool of terrain types from which blended variations are derived, leading to variation within a terrain region. Further dividing terrain regions, however, will not be a thing.
Biome specific terrain variation (ie desert dunes) can already be handled by the biome's surface builder.


RunTarget

Is there a way to explicitly run a specific target just like in .cake file you call RunTarget("whetever")? Looks like Target string property is in CakeHostOptions, but couldnt find a way to configure those options.

Hey @byyyt,
You can absolutely do it by using the Target parameter of the build.ps1 PowerShell script provided. It could look something like:
.\build.ps1 -Target Whatever

The PowerShell script takes care of passing this aprameter (along with others) to the .NET Core application, as you can see here.

Yeah I know you can pass the target in via parameters. But can you do it from code, like with .cake script? Explicitly call specific task.

What is the use case? Do you want to determine at runtime which top-level task you want to execute?

@byyyt Targets are parsed from the arguments sent to the application. I guess that we could add a SetTarget overload to the CakeHostBuilder, but I would like to know the use case for this.

@patriksvensson Yes I looked up the source code for it. Passing the target via argument currently. I have no specific use case that would make a "good" argument to implement SetTarget overload. I was just converting from .cake script files and was looking and hoping for parity.
Maybe going the argument way makes it less clear what the entry point for the whole build process is. Once I open the build project, look at the Lifetime Setup, it is not clear where the build actually starts. Setting up task dependencies via attributes dont help too much either, since you have to first know which tasks is going to be the target task, then trace back the task dependencies down the tree till you hit the first task that is going to be executed. However, this is whole another topic.


Fix typo in table of qcache_eval.md

Fix typo in qcache_eval.md that breaks the table and adds the last line as a bullet point

This was fixed in a past commit already