CARDS-1676: Allow clinics to overwrite patient consents

I see that new property ignoreEmailConsent with value true is set for the Cardio clinic and that condiitions for sending emails  are modified accordingly in the code.
Perhaps one of the devs can test this PR as I previously  had difficulty testing maling functionality.


[Bug]: downloading multiple packs causes an issue

Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS
@rnmapbox/maps version
10.0.0-beta.64
Standalone component to reproduce
import { Button, StyleSheet, View } from 'react-native';
import React from 'react';
import MapboxGL from '@rnmapbox/maps';
import { MAPBOX_TOKEN } from '@env';

export const MapDownload = () => {
  const packDownloading = async (
    minLongitude: number,
    maxLongitude: number,
    minLatitude: number,
    maxLatitude: number,
  ) => {
    await MapboxGL.setAccessToken(MAPBOX_TOKEN);
    await MapboxGL.offlineManager.createPack(
      {
        name: `test-world-${Date.now()}`,
        styleURL: MapboxGL.StyleURL.Street,
        minZoom: 0,
        maxZoom: 6,
        bounds: [
          [Number(minLongitude.toFixed(4)), Number(minLatitude.toFixed(4))],
          [Number(maxLongitude.toFixed(4)), Number(maxLatitude.toFixed(4))],
        ],
      },
      (pack, status) => console.log('pack, status', { pack }, status),
      (pack, err) =>
        console.log(
          'pack, err',
          { pack },
          err,
          Number(minLongitude.toFixed(4)),
          Number(minLatitude.toFixed(4)),
          Number(maxLongitude.toFixed(4)),
          Number(maxLatitude.toFixed(4)),
        ),
    );
  };

  const downloadWorld = async () => {
    for (let i = 0; i < 360; i = i + 10) {
      await packDownloading(i, i + 10, -90, 90);
    }
  };

  return (
    <View style={styles.container}>
      <Button title="Download world" onPress={downloadWorld} />
    </View>
  );
};

export default MapDownload;

const styles = StyleSheet.create({
  container: {
    justifyContent: 'center',
    alignItems: 'center',
    flex: 1,
    paddingHorizontal: 32,
  },
  textStyle: {
    textAlign: 'center',
    marginBottom: 16,
  },
});

Observed behavior and steps to reproduce
Continues issues #2516 as completed via #2533.
Try to run downloadPacks Press download world button
Expect => downloading packs one by one
Result firstly getting multiple error then download starts
Error:

pack
:
OfflinePack
pack
:
bounds
:
"{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,-90]}},{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[10,90]}}]}"
metadata
:
"{\n  "name" : "test-world-1673360389314"\n}"

message: "Failed to resolve tileset descriptors: Loading request canceled"
name: "test-world-1673360389314"

Expected behavior
Successful download
Notes / preliminary analysis
No response
Additional links and references
https://user-images.githubusercontent.com/26917977/211576573-ecfd90b3-16a3-4054-9f3e-23452f995f7b.mov

First using Date.now() as a key is not great as there is a slight chance that two key will have the same id and in that case the old load will get cancelled. Also I do get error like this, which could also explain the cancelations.:
  message: 'The tile region \'tw-1673371860767\' can\'t be loaded because it would increase the number of Maps tiles to 774, which is beyond the maximum allowed 750 tiles. Please contact Mapbox if your use case requires a larger region size.' }, 10, -90, 20, 90


Implement save_warmup

Relevant tests are in PyStan 2's test_extract.py. Should be relatively easy to do.
I myself have never used this. Is it widely used?

For the sake of simplicity, let's not do this for now. People can always use cmdstan.


Update comp-r-shiny.qmd

there are two 'observeEvent" entries. I think one should be enough right? Any reason to keep both?

Good catch! The intention was likely for the first entry to be observe and not observeEvent.

Thank you @devpowerplatform !


Added graceful shutdown, closes #66

This PR implements Graceful shutdown. The message is shown in log output as opposed to GUI. We might think about changing that, but it would require more of a code structure rewrite. Another improvement could be to add deadline to shutdown operation.

Shutdown isn't supported in go 1.7, I think we can get rid of 1.7. You need to update .travis.yml

@gchaincl Done! :)

Works great, would you mind to update CHANGELOG.md?

@gchaincl Done, should I squash these commits?

Thanks!


Fix for MWR H1-Mod

Small change: applies the fix used for Call of Duty: Modern Warfare Remastered [d3d11]
also to a client for MWR called H1-Mod (h1-mod.exe): https://github.com/h1-mod/h1-mod/

Reopened https://github.com/doitsujin/dxvk/pull/3025


Build a Project Board

What?
Could be as simple as Todo, In-progress and Done
How?
Actually do not have a good idea, but somebody has done this before for a small, medium or large project, would love to see them pick this up.
One good example: https://github.com/kubernetes/website/projects/11
Why?
To have co-chairs and sub-project leads + contributors to have one place to find out what is going on in sig-security
/kind design
/sig security
/help
/good-first-issue

Thank you @ShivamTyagi12345 for pointing me to the right resources. I did not realize that project boards needed org. membership. Inspired from your project board, I created this tracker for now: https://github.com/orgs/kubernetes/projects/64
On a related note, when you think you are eligible to become org member for k8s as per these guidelines: https://github.com/kubernetes/community/blob/master/community-membership.md, I will be happy to be one of your sponsors!!

I have applied for a membership @PushkarJ .Thank you for your support

Closing this now, after review of the board in the SIG Security meeting, which was received well. Also, confirmed with Github Admins that this board can not be added to Projects tab in the k/sig-security repo as that is not possible for Org. Level boards and K8s Org discourages use of repo level boards.
Thank you for your help on this @ShivamTyagi12345


Usage with React

Hey there. Is it safe to use with react lifecycle hooks? As I noticed nanopop has no method to destroy an instance and react will try to create another one every re-render. Thanks

here is example snippet
React.useLayoutEffect(() => {
  if (!isOpened) {
    return
  }

  const _reference = reference.current
  const _popper = popper.current

  if (_reference && _popper) {
    const nanopop = new NanoPop(_reference, _popper, {
      margin: 4,
      position: 'bottom-end',
    })

    nanopop.update()
  }
}, [])

Hi :) NanoPop does not need to be destroyed manually as it does not bind any events to an elemenet. The only reason for re-creating a class is that it's convenient to just call .update() without re-providing any options.

Maybe it was a bad design decision to use a class, I'll consider releasing a second version with just a function called usePopper or something like that to make it look less stateful.

Maybe it was a bad design decision to use a class, I'll consider releasing a second version with just a function called usePopper or something like that to make it look less stateful (considering that using new is quite expensive).

I would be very grateful to you!

it does not bind any events to an elemenet

That lib becomes even better for me lol. Thanks, I think you can close this issue. Cheers

it does not bind any events to an elemenet

That lib becomes even better for me lol. Thanks, I think you can close this issue. Cheers

Can you show me your example of using this plugin? I want to create my own dropdown and use this plugin as a dropdown content positioning tool.
I have a problem that the reference element is missing in the dom, so I cannot initialize the plugin. The workaround that I use is to wait for the time when the content is first mounted in the dom (I use portals), at which point I initialize nanoPop for the first time)
Thanks

Version 2 is in progress... I hope this will only take a few days and I'll ping you @7iomka as soon as it's "finish" since there are major API changes :)
@mod3x  I'll keep this open as long as the second version is in progress, you made me realize that the current API doesn't make that much sense as it's a really low level library to position things. At first I tried to imitate Popper but this is definitely going in a completely separate direction! 😄

Okay I've managed to create a minimal demo on codesandbox. Make sure to checkout the latest README :)

Great work! I'll update to the v2 :)

Okay I've managed to create a minimal demo on codesandbox. Make sure to checkout the latest README :)

Thank you!
One question: I see your content of dropdown is always prerendered and persist on page. In real-world projects we have dynamically created content (like from api) or static content, but displayed with React.createPortal only if dropdown is opened (local state changed by click on trigger). It is possible to handle this case? Same question is for case when component that has ref of trigger - changed.
In prev. version of your lib i write this code
...
    const refUpdate = React.useRef(false);
    useEffect(() => {
      const isEqKeys = trigger?.key === prevTrigger?.key;
      if (!isEqKeys) {
        refUpdate.current = true;
      }
      if (pop && !refUpdate.current) return;
      if (!refTrigger?.current || !refContent?.current) return;
      if (!isOpen) return;
      setPop(
        new NanoPop(refTrigger.current, refContent.current, {
          forceApplyOnFailure: true,
          position: position || 'bottom-middle',
          variantFlipOrder: {
            start: 'sme',
            middle: 'mse',
            end: 'ems',
          },
          positionFlipOrder: {
            top: 'tb',
            right: 'rltb',
            bottom: 'bt',
            left: 'lrbt',
          },
        }),
      );
      refUpdate.current = false;
    }, [pop, isOpen, trigger, prevTrigger, refContent?.current, refTrigger?.current]);
...

My current hack-workaround (with css animation + delay)
https://codesandbox.io/s/distracted-haibt-15li4?file=/src/App.js
Interesting your comments on this


Allow removal of Cascade on Delete Convention

In EF, there was a way to configure CascadeOnDelete to None, like:
builder.Conventions.Remove<OneToManyCascadeDeleteConvention>();

In ef core, the only options is to configure it on each relationship via Fluent api.
I want to argue that:

There should be an option to remove this convention, DbContex-wide, not on each relationship
The default behavior should be not to cascade on deletes, should be: none, which prevents deletion of an entity if it has dependents. This consistency check in a database relationships prevents users from deleting unwanted data and is the default in many management UIs including SSMS.

I do understand that changing the default behavior (number 2) is a breaking changed and my argument is not sufficient for such a breaking change.
However, I think that number 1 is a truly missing feature.

You can set it globally in OnModelCreating method of your DbContext class:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
            base.OnModelCreating(modelBuilder);

            // Global turn off delete behaviour on foreign keys
            foreach (var relationship in modelBuilder.Model.GetEntityTypes().SelectMany(e => e.GetForeignKeys()))
            {
                relationship.DeleteBehavior = DeleteBehavior.Restrict;
            }
}

The code @milosloub posted is the way to do this now, but removing the convention should be covered by #214


Corrects readme using proper Swift syntax

Simple fix for the Swift syntax

Result of Integration 1
Duration: 11 minutes and 40 seconds
Result: Build failed 1 test out of 203

Thanks for the update!


git lfs pull: This repo is over its data quota

Looks like the git lfs quota for this repo is currently zero.
Steps to reproduce:
$ GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/autowarefoundation/modelzoo.git
Cloning into 'modelzoo'...
remote: Enumerating objects: 110, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 110 (delta 31), reused 88 (delta 19), pack-reused 0
Receiving objects: 100% (110/110), 34.83 KiB | 524.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
$ cd modelzoo
$ git lfs pull
Git LFS: (0 of 4 files) 0 B / 80.34 MB
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
error: failed to fetch some objects from 'https://github.com/autowarefoundation/modelzoo.git/info/lfs'

@LucaFos Thanks for bringing this up. I've purchased some "Github Data Packs" which have corrected the problem for now. However, this is probably something we want to handle differently in the future instead of continuing to pay Github $10/mo.
@LiyouZhou Our current Quota limit without paying is 1GB of storage and 1GB of transfer bandwidth per month. A Data Pack adds 50GB of storage and 50GB of bandwidth. I bought 2 so that gives us 100GB of each, which I don't see us hitting short-term. However, an additional problem is that the maximum file size for any individual file is 100MB, which I'm guessing we may exceed. Github does not allow you to use an external LFS back-end (such as S3) by default.
Some alternatives:

Host our own LFS forwarding server that forwards LFS files to S3

Something like https://blog.dermah.com/2020/05/26/how-to-be-stingy-git-lfs-on-your-own-s3-bucket/ or https://github.com/troyready/git-lfs-s3
Downside is that we have to manage this server. Running it basically costs nothing because it can be a free-tier AWS EC2 instance

Move back to gitlab.com

The repository limit is 10GB and there is no bandwidth usage limitation

Use another storage mechanism (instead of git lfs) for trained files

e.g. using S3 with links that are parsed by a bash file and downloaded that way
The downside is that we don't get version control, which I think we want

Continue paying $10/mo

I paid with my credit card this time but we should get an AWF card if we continue this path.

Any feedback would be appreciated.

I would say

Continue paying $10/mo
There is no sense spending engineering time implementing and maintaining an s3 solution. The engineering time is likely to be more expensive.

maximum file size
This might issue. but this suggest we should be able to push large files. Maybe the 100mb limit is for git regular files?

It looks like you are correct. I mis-interpreted this page as also applying to git lfs (which it does not).
For the time being, we'll continue with the $10/mo.


Docs Sentence Error In Live Tuning Section

On the docs site at https://docs.advantagescope.org/getting-started/connect-live/#tuning-with-advantagekit there is a sentence error with a duplicate word.
"will appear under the "Tuning" table when when using the "
Code location:
https://github.com/Mechanical-Advantage/AdvantageScope/blob/26ed5936f6ea875752889e9405886646166ce6b4/docsSite/docs/getting-started/connect-live.md?plain=1#L80C253-L80C309

Thanks for the catch!


Docs: 1.x Changelog gives 404 not found

Summary
In the navigation menu at the top of the page on https://docs.starliteproject.dev/latest/ and https://docs.starliteproject.dev/1/, there's a section "Release notes" with a link to 1.x Changelog.
This link errors with a 404 page not found error from GitHub pages.
Notably, the docs for the upcoming 2.x at https://docs.starliteproject.dev/2/ do have a valid link to this changelog, which also works for the latest/v1 docs set: https://docs.starliteproject.dev/1/release-notes/changelog.html

Thanks for the report! It should be fixed now.


Added test to count queries on dynamic form queryset + improve performances

refs #155.

at the time of writing, here's the diff between this branch and the #156
$ git diff 155-deduplicate_dynamic_form_queryset_rebased deduplicate_dynamic_form_queryset
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index eb118ca..0b91285 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -6,7 +6,6 @@ master (unreleased)
 ===================

 * Added a make target to install the demo site.
-* Added django-perf-rec module for tests and improved SQL queries in `ContextFormDetailView` (#54, #154, #160).

 Release 0.5.0 (2017-01-10)
diff --git a/demo/demo/settings.py b/demo/demo/settings.py
index 4e0b88d..c85f655 100644
--- a/demo/demo/settings.py
+++ b/demo/demo/settings.py
@@ -128,9 +128,3 @@ FORMIDABLE_POST_CREATE_CALLBACK_SUCCESS = 'demo.callback_success_message'
 FORMIDABLE_POST_UPDATE_CALLBACK_SUCCESS = 'demo.callback_success_message'
 FORMIDABLE_POST_CREATE_CALLBACK_FAIL = 'demo.callback_fail_message'
 FORMIDABLE_POST_UPDATE_CALLBACK_FAIL = 'demo.callback_fail_message'
-
-
-# django-perf-rec settings
-PERF_REC = {
-    'MODE': 'all'
-}
diff --git a/formidable/__init__.py b/formidable/__init__.py
index 96b0a07..d21ec65 100644
--- a/formidable/__init__.py
+++ b/formidable/__init__.py
@@ -1,3 +1 @@
 default_app_config = 'formidable.app.FormidableConfig'
-
-version = '0.6.0.dev0'
diff --git a/setup.py b/setup.py
index 398eb69..d5526df 100644
--- a/setup.py
+++ b/setup.py
@@ -4,15 +4,12 @@ from __future__ import unicode_literals
 import os
 from setuptools import setup, find_packages

-import formidable
-
-
 with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
     README = readme.read()

 setup(
     name='django-formidable',
-    version=formidable.version,
+    version='0.6.0.dev0',
     packages=find_packages(),
     include_package_data=True,
     license='BSD License',

which corresponds to the diff introduced by the previous merges of #159 and #160.
It means these branch are finally equivalent, even though I've introduced fixups that mark the evolution of the .yml files generated by django-perf-rec.


Add removed field to Log JSON

Fixes #336
This is a fairly trivial change, especially considering Ganache will never reorg and thus the removed property is moot (which reasonably explains its omission in the first place).
However, for those of us not who care whether or not a log was reorged as part of their application logic, and aren't using JavaScript (i.e., care about well-formed JSON-RPC responses and can't use the truthiness of log.removed === undefined), this lack of removed renders Ganache unusable as a Web3 provider.

Looks good. I'd like to see a simple test to check the value of the field before meeting though.
Aside: this field has also been added in a separate branch where we are rewriting ganache-core: https://github.com/trufflesuite/ganache-core/blob/4a081acfad686e2f94c49f6087df6bb9722d2d1d/src/chains/ethereum/src/things/blocklogs.ts#L137. We do plan on stimulating reorgs in the future.

Hope that was a reasonable place to put the test. I didn't want to add an entire transaction flow just to test the presence of a field, and the headline of test suggested it's appropriate anyway.


Endless loop in Agents

I have tried to use both your react/v3 agent, and your v2 agent, without luck. The model just keeps repeating itself. I am using Claude
Code
import time
from ai_bricks.api import openai
from ai_bricks.api import anthropic
from ai_bricks import agent

aa = agent.actions
aa.wikipedia_search_many.__name__ = 'wikipedia-summary'
aa.wikipedia_get_data.__name__ = 'wikipedia-data'
actions = [
    aa.wikipedia_search_many,
    aa.wikipedia_get_data,
    aa.python_eval,
]

q = "What is two plus two"

model = anthropic.model('claude-instant-v1', temperature=0.0) # key from ANTHROPIC_API_KEY env variable

a = agent.get('react')(model=model, actions=actions)
answer = a.run(q, n_turns=3)

Output:
Task: Answer the following question as best you can.
Question: What is two plus two
You are augmented with the following actions:
- wikipedia-summary: query wikipedia with a list of entities / subjects and return a summary for each one
- wikipedia-data: query wikipedia with a list of entities / subjects and return the main data table for each one
- python_eval: evaluate single python expression; imported modules: math, time, random, datetime; do not import anything else; use only one line of code
Use the following response protocol and format:
Question: What is two plus two
Thought: you should always think about what to do
Action: the action to take (only the name, not the arguments)
Input: the input to the action
Observation: the result of the action
Summary: key takeways - extract all data (esp numeric data) relevant to the question, one item per line
Repeat:
- this Question/Thought/Action/Input/Observation/Summary can repeat N times
- if you don't want to take any action you can skip from one Thought to the next Thought
Thought: I now know the final answer
Final Answer: the final answer to the original input question
Important:
- always follow the protocol - Thought, Action, Input, Observation, Summary, Thought, etc
- never use empty Input
- you don't know current time and date
Thought: you should always think about what to do
Action: python_eval
Input: math.ceil(2+2)
---
CLEAR: 0
Observation: 4
Reminder: The next item must be a Summary followed by a Thought!
Thought: you should always think about what to do
Action: python_eval
Input: math.ceil(2+2)
---
CLEAR: 8
Observation: 4
Reminder: The next item must be a Summary followed by a Thought!
Thought: you should always think about what to do
Action: python_eval
Input: math.ceil(2+2)
---
CLEAR: 8
Observation: 4
Reminder: The next item must be a Summary followed by a Thought!

DONE IN 2.7s (3 steps, 0.90s per step) FOR $0.0027 (1264 claude-instant-v1 tokens)

Question: What is two plus two

Final Answer:

The V2 agent actually does a lot better, but it does repeat itself a lot. It seems to avoid the endless loop though which is good
Only problem is that
print('FINAL ANSWER:', resp['text'])
from your example doesn't actually print out the final answer
Code
from ai_bricks import agent
from ai_bricks.agent import actions0
from ai_bricks.api import anthropic
import time
import os
import contextlib

model = anthropic.model('claude-instant-v1', temperature=0.0) # key from ANTHROPIC_API_KEY env variable

agent.actions.VERBOSE_EXCEPTIONS = False
actions = {
    'wikipedia':              agent.actions0.wikipedia_summaries,
    'python-eval':            agent.actions.python_eval,
}

question = "if Mary has four apples and Giorgio brings two and a half apple boxes (apple box contains eight apples), how many apples do we have?"

resp = agent.get('v2')(question, model=model, actions=actions, iter_limit=3)
print('agent response:', resp)
print('FINAL ANSWER:', resp['text'])

Output:
QUESTION: if Mary has four apples and Giorgio brings two and a half apple boxes (apple box contains eight apples), how many apples do we have?

SYSTEM PROMPT:

Answer the following questions as best you can.
Question: if Mary has four apples and Giorgio brings two and a half apple boxes (apple box contains eight apples), how many apples do we have?

You are augmented with the following actions: wikipedia python-eval.
Remembber that `wikipedia` can search only for one entity at a time!
Following modules are already imported in `python-eval`: math, time, datetime, random.
Remember that `python-eval` only evaluetes expressions (up to 300 chars) and not code blocks!
Don't import any module on your own in `python-eval`.
Be careful and avoid off by one errors.
Current time: 2023-06-02 21:56:08

Use the following format:
Plan: start by making a plan that also includes notes from previous sessions (if any) sorted chronologicaly; use information from previous sessions to make a better plan
Thought: you should always think about what to do
Action: the action to take, should be one of wikipedia python-eval
Action Input: the input to the action
Observation: the result of the action
Reward: 1 if progress was made, 0 otherwise
... (this Thought/Action/Action Input/Observation/Reward can repeat N times)
... (if you don't want to take action you can skip from one Thought to the next Thought)
Thought: I now know the final answer
Final Answer: the final answer to the original input question

---
Thought: I need to calculate the number of apples Mary has and the number of apples in the apple boxes separately, and then add them together.
Action: python-eval
Action Input: 4 + 2*8
Observation: 20
---
Plan: - Understand the problem and identify relevant information
Thought: Mary has 4 apples.
Action: python-eval
Action Input: 4
Observation: 4
---
Plan: - Mary has 4 apples
Thought: Mary has 4 apples
Action: python-eval
Action Input: 4
Observation: 4
FINAL ANSWER FOUND IN FINAL NOTE

FINAL ERROR RESP  Plan:
- Mary has 4 apples
- Giorgio brings 2.5 apple boxes, each containing 8 apples
- Need to calculate total number of apples in boxes:
  - 2.5 apple boxes
  - Each box has 8 apples
  - So total apples in boxes is 2.5 * 8 = 20
- Then add Mary's 4 apples to get total

Thought: There are 20 apples in the boxes
Action: python-eval
Action Input: 2.5 * 8
Observation: 20

Thought: Mary has 4 apples
Action: python-eval
Action Input: 4
Observation: 4

Thought: Add the number of apples in boxes and apples Mary has
Action: python-eval
Action Input: 20 + 4
Observation: 24

Thought: I now know the final answer
Final Answer: There are 24 apples total: 4 from Mary and 20 from the 2.5 apple boxes

Next time:
- Break down the problem into smaller steps
- Calculate parts separately before combining
- Double check intermediate results
Python-eval was useful for performing calculations quickly but I need to be careful with inputs.

agent response: {'text': '', 'status': 'Error: iterations limit reached', 'rtt_list': [1.4132709503173828, 1.3998444080352783, 1.125760555267334], 'cost_list': [0.00099843, 0.00120777, 0.00126241]}
FINAL ANSWER:


Fix licsense attribute in math-functions.cabal

The LICENSE file says BSD2, but the Cabal file says BSD3. I suppose the LICENSE file is correct.

Merged. Sorry for the delay

Thanks!

Uploaded as <IP_ADDRESS>


Combiner crash

segfault at:
pipeline: bgworker: combiner0 [pipeline]   (debug_segfault+0x15)[0x5e4275]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f48b14f7d40]
pipeline: bgworker: combiner0 [pipeline]   (SearchCatCache+0x139)[0x756c69]
pipeline: bgworker: combiner0 [pipeline]   (GetSysCacheOid+0x6)[0x7623c6]
pipeline: bgworker: combiner0 [pipeline]   (get_namespace_oid+0x1f)[0x4dfa2f]
pipeline: bgworker: combiner0 [pipeline]   (LookupExplicitNamespace+0x37)[0x4e0c17]
pipeline: bgworker: combiner0 [pipeline]   (RangeVarGetRelidExtended+0xb1)[0x4e0d51]
pipeline: bgworker: combiner0 [pipeline]   (relation_openrv_extended+0x18)[0x48ce28]
pipeline: bgworker: combiner0 [pipeline]   (heap_openrv_extended+0x9)[0x48cfc9]
pipeline: bgworker: combiner0 [pipeline]   (ContinuousQueryCombinerMain+0x761)[0x62b731]
pipeline: bgworker: combiner0 [pipeline]   [0x629912]
pipeline: bgworker: combiner0 [pipeline]   (StartBackgroundWorker+0x1bd)[0x6357bd]
pipeline: bgworker: combiner0 [pipeline]   [0x64148b]
pipeline: bgworker: combiner0 [pipeline]   [0x641e45]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f48b14f7d40]
/lib/x86_64-linux-gnu/libc.so.6(__select+0x13)[0x7f48b15b2d83]
pipeline: bgworker: combiner0 [pipeline]   [0x464863]
pipeline: bgworker: combiner0 [pipeline]   (PostmasterMain+0xeb8)[0x642fb8]
pipeline: bgworker: combiner0 [pipeline]   (main+0x3e9)[0x465af9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f48b14e2ec5]
pipeline: bgworker: combiner0 [pipeline]   [0x465b60]
LOG:  worker process: combiner0 [pipeline] (PID 29330) exited with exit code 1
LOG:  starting background worker process "combiner0 [pipeline]"
LOG:  continuous query process "combiner0 [pipeline]" running with pid 29782

I'm using FDW https://github.com/EnterpriseDB/mysql_fdw/releases/tag/REL-2_0_1
while current < datetime.datetime.now():
cursor.execute(
('insert into item_view_action_stream'
'(created, tracked_user_id, item_id) '
'select created, tracked_user_id, item_id '
'from storage_itemviewaction_fdw '
'WHERE created > %s and created < %s'),
(current, current + datetime.timedelta(days=1))
)
current += datetime.timedelta(days=1)
storage_itemviewaction_fdw (big table in mysql)  but probably normal table would do, should I provide sqls?

Yes, SQLs would be helpful!

pipelinedb 0.8.3
ubuntu 14.04 lts amd64
sqls above

shared_buffers = 1024MB
work_mem = 128MB
dynamic_shared_memory_type = posix
autovacuum = off
tuple_buffer_blocks = 256MB
continuous_query_combiner_synchronous_commit = off
continuous_query_combiner_work_mem = 10240MB
continuous_query_max_wait = 1000
continuous_query_batch_size = 20000
continuous_query_num_combiners = 1
continuous_query_num_workers = 1
it crashes after 5-10min

@dPeS Can you show us the output of SELECT pipeline_version()? We haven't been able to repro this yet while running for quite a while on iva_raw.csv. Also, can you try running this on master and see if you can still repro the crash?

Worked on last build + removing old bins with "rm -r /usr/lib/pipeline", is it possible that is was because some old libs?
If I find time I will check clean 0.8.3 install.
deb pkg should do this rm I think.

Great. If you're uninstalling a previous version before upgrading, dpkg -r should remove the old binaries: https://github.com/pipelinedb/pipelinedb/blob/master/pkg/debian/postrm


What does this bot exactly do?

Just wanted to ask how does the bot track valorant smurfs?

@bboychris168 Hi! This project uses the unofficial-valorant-api project listed in the README to fetch account data from Riot, then store it in the database along with username, tagline, and login_name that people use to sign into the account. (username and tagline refer to the <stuff>#<stuff> that your screen name consists of in the game)
Hope this answers your question.


SCRUM-2189 - Load OBI ontology

@mluypaert - our versioning is off.  Alpha, beta and production are all on 0.14.1.  Alpha should have incremented to 0.15.0 shouldn't it?

@mluypaert  - are you saying that alpha shouldn't be on v0.15.0-xxxx or that migration file versions shouldn't be based on alpha.  Historically the migration file names have been based on the alpha version, but we've had this conversation before (see a-team-code Slack channel on October 17th).

@mluypaert @markquintontulloch to me what seems more clear and more straight forward is to have the DB version follow the LinkML version rather than the code version, and if there are changes that need to happen to the java model that are not link ML driven, then those should be the <IP_ADDRESS> increments.

@mluypaert @markquintontulloch to me what seems more clear and more straight forward is to have the DB version follow the LinkML version rather than the code version, and if there are changes that need to happen to the java model that are not link ML driven, then those should be the <IP_ADDRESS> increments.

@oblodgett @markquintontulloch Although that would make sense theoretically, I'm not sure practically because of the dispersed implementation of different linkML versions in different parts of our code. The same LinkML version will not be implemented in all classes, so you'd need to look at individual classes to figure out the relevant linkML version for each anyway anyway (regardless of the migration file version).


Attributes being deleted on .save()

I have a piece of code that does the following:
        lsheet, rsheet = db.get(Sheet, {'_id': left['sheetId']}), \
                         db.get(Sheet, {'_id': right['sheetId']})
        print('saving %s with primary key %s.' % (lsheet.title, lsheet._id))
        db.save(lsheet)
        db.save(rsheet)
        print('saved.')

At the moment the first line is printed, the lsheet object has an _id (the pk is called _id in this class, that's working correctly in other parts of the script). But then the call fails with
Traceback (most recent call last):
  File "test.py", line 3, in <module>
    db = make_db('data/20160422.json')
  File "/home/fiatjaf/comp/hack-json/db.py", line 105, in make_db
    db.save(lsheet)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/file/backend.py", line 459, in save
    serialized_attributes = self.serialize(obj.attributes)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 159, in serialize
    output_obj[str(key) if convert_keys_to_str else key] = serialize_with_opts(value, embed_level=embed_level)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 150, in <lambda>
    serialize_with_opts = lambda value,*args,**kwargs : self.serialize(value,*args,convert_keys_to_str = convert_keys_to_str,autosave = autosave,for_query = for_query, **kwargs)
  File "/home/fiatjaf/compk/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 161, in serialize
    output_obj = list(map(lambda x: serialize_with_opts(x, embed_level=embed_level), obj))
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 161, in <lambda>
    output_obj = list(map(lambda x: serialize_with_opts(x, embed_level=embed_level), obj))
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 150, in <lambda>
    serialize_with_opts = lambda value,*args,**kwargs : self.serialize(value,*args,convert_keys_to_str = convert_keys_to_str,autosave = autosave,for_query = for_query, **kwargs)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/base.py", line 175, in serialize
    obj.save(self)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 390, in save
    return backend.save(self)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/file/backend.py", line 456, in save
    if hasattr(obj, 'pre_save') and callable(obj.pre_save):
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 175, in __getattribute__
    self.revert()
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 427, in revert
    raise self.DoesNotExist("No primary key given!")
blitzdb.document.DoesNotExist: DoesNotExist(Record)

The error happens at https://github.com/adewes/blitzdb/blob/master/blitzdb/document.py#L490. I put some print() calls there and inside the def pk(self) method and discovered that the object was empty. A call to self.keys() returns an empty list, that's why self.pk returns None. I don't know at which time the object becomes empty and couldn't find it myself.
I must say that basic saving, fetching and filtering is working well in many other parts of the script.

In fact, no, there are other bizarre problems happening in other parts of the application.
For example:
>>> r
Record({})
>>> r.__dict__
{'_autoload': True, 'pk': '564a7c5dac00f40300a324ab', '_default_backend': <blitzdb.backends.file.backend.Backend object at 0x7f109d5a9320>, '_attributes': {}, '_lazy': True, 'embed': False}
>>> r.pk
>>> r.attributes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 164, in __getattribute__
    self.revert()
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 424, in revert
    raise self.DoesNotExist("No primary key given!")
blitzdb.document.DoesNotExist: DoesNotExist(Record)

Thanks for reporting this! Can you send me a full code example of your Record class? When I do the following:
import blitzdb
doc = blitzdb.Document()
doc.attributes

it works as expected.
In your example I see that you set the pk value of your record(through initialize?), which tells BlitzDB that the object should exist in the database, so when you call attributes it tries to fetch it from there, which fails as there is no object with that given primary key.
It's hard to tell if it's a BlitzDB bug or some problem with your Record class, but if you can provide a more complete example I think I'd be better able to help you.

I'm sorry, I now recognize my issue was horribly incomplete. I'm trying to work on a piece of isolated code that exhibits the same behavior, but until now everything is been working, so I'll show my classes declarations, maybe you'll spot something wrong without having to dig too much:
class Sheet(Document):
    class Meta(Document.Meta):
        primary_key = '_id'

    def show_fields(self):
        for k, f in self.fields.items():
            print(k, f['name'])

    def field_key_by_name(self, name):
        try:
            return [k for k, f in self.fields.items() if f['name'] == name][0]
        except IndexError:
            pass

class Record(Document):
    class Meta(Document.Meta):
        primary_key = '_id'

    def __init__(self, attributes, **kwargs):
        super().__init__(attributes=attributes, **kwargs)
        for k, v in attributes.items():
            setattr(self, k, v)

    @property
    def sheet(self):
        return self.sheets[0]

    def field(self, field_name):
        fkey = self.sheet.field_key_by_name(field_name)
        return self.attributes[fkey]

    def __setattr__(self, k, v):
        self.__dict__[k] = v

        if len(k) < 4 and k.startswith('f'):
            try:
                fname = self.sheet.fields[k]['name']
                self.__dict__[fname] = v
            except KeyError:
                pass

The issue has probably something to do with the size of the documents embedded in others. See this code:
from blitzdb import Document
from blitzdb import FileBackend

class Sheet(Document):
    class Meta(Document.Meta):
        primary_key = '_id'

class Record(Document):
    class Meta(Document.Meta):
        primary_key = '_id'

db = FileBackend('/tmp/t.db')

sheet = Sheet({
    '_id': '3i24i3l',
    'something': 'papapa'
})

db.save(sheet)
db.commit()

sheet = db.get(Sheet, {'_id': '3i24i3l'})

sheet.records = []
for i in range(18):
    record = Record({
        '_id': '%s' % i,
        'prop': 'parara'
    })
    sheet.records.append(record)
    record.sheets = [sheet]

db.save(sheet)
db.save(record)
db.commit()

# ~

for s in db.filter(Sheet, {}):
    print('sheet: ', s)
    print('sheet: ', s.__dict__)
    print('sheet: ', s.pk)
    print('sheet: ', s.attributes)
    for r in s.records:
        print('record: ', r)
        print('record: ', r.__dict__)
        print('record: ', r.pk)
        print('record: ', r.attributes)

        r.pou = 'pôu'
        db.save(r)

This is the full runnable code.
This code fails almost always in my machine. That number 18 there, if we change it to 300 or something bigger, then the code always fails, but if we change it to 1 or 2 then it never fails.
It fails when printing r.attributes, which means a Record r actually is saved, but it has a blank .pk, and so its .attributes cannot be fetched, then the program errors
Traceback (most recent call last):
  File "iso.py", line 48, in <module>
    print('record: ', r.attributes)
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 164, in __getattribute__
    self.revert()
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/document.py", line 425, in revert
    obj = self._default_backend.get(self.__class__, {self.get_pk_name(): self.pk})
  File "/home/fiatjaf/comp/hack-json/venv/lib/python3.4/site-packages/blitzdb/backends/file/backend.py", line 508, in get
    raise cls.DoesNotExist
blitzdb.document.DoesNotExist: DoesNotExist(Record)

This is the exact same situation that is happening in the first message of this issue thread.

Thanks for reporting this @fiatjaf , I'll have a look at it this week!

Hey @fiatjaf , I can reproduce the issue and I'm working on a fix. Currently arbitrary id names are not yet fully supported, I'm working on it though.

Oh, should I be using integers? This would make it work? That would be ok, if I could know about it before, now I kind of gave up this project, so please don't do any unplanned hotfixes specific to this issue.

No I think the problem is that the FileBackend does not yet support having a different name (_id) for the primary key field. I will write some unit tests for this and implement the behavior as intended in the coming days.

Any progress on this?
Just ran into this bug on our installation of gitlab  8.10.4. Populate a "/var/opt/gitlab/git-data/repository//.git/info/attributes" file and after checking in an update the 'attributes' file is deleted and upload changes specified by 'attributes' not completed.


example in Readme does not work

My scripts are returning empty dicts instead of listing results since upgrading to 1.3.0. I tried reproducing the example in the Readme as my code didn't diverge too much from it, and it returns:
     20 listings = api.search(options)
     21
---> 22 print(len(listings))
     23 for listing in listings:
     24     print(getattr(listing, 'title'))

TypeError: object of type 'generator' has no len()

If I remove that print statement nothing gets returned and the listings generator seems to be empty?

Hey @davidbenque, it turns out those criteria no longer return any properties 😛 It looks like the max price limit I set as an example is too low for swords.
I've updated the readme to remove the print len line and increase the max price but I'll add a CI test soon I think to make sure that the readme example works as it's come up once or twice now when I've made updates - sorry about that!
You're probably already familiar but if you want to retain the non-generator functionality, you can simply cast it to a list and it'll work like before:
listings = api.search(options)

listings = list(listings)
for listing in listings:
	print(listing.title)

Hope that answers your issue! :) Let me know if not or if there's anything else I can help with

Thank you for the quick response and guidance. I was able to fix my scripts by following your new example. The initial reason for upgrading from 1.0.2 was that I was struggling to query houses for sale (rather than rent). But now that works too!
Many thanks for providing this tool!


Need clear TransitGatewayAttachment docs

What is the URL of the document?
Go docs
Also, ACK tutorials
Which section(s) is the issue in?
TransitGateway creation in the VPC tutorial
What needs fixing?
It is very unclear how to attach a TransitGateway to a subnet/vpc using a TransitGatewayAttachment. Since the TGA resource is not an object, it cannot be created in the same way as a TransitGateway in Golang. This doc request is also a question of how this is supposed to be handled.
Additional context
I am wondering what resources are required in order to properly attach a Transit Gateway to a VPC. I am also wondering if there is a reason the TransitGatewayAttachment is not an object in Go.
Thanks!

/cc @aws-controllers-k8s/ec2-maintainer

Is there any news on this? How can I create Transit Gateway Attachment with ACK?


Introduce rultor

@rultor hello

@rultor hello

@kerelape Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)


[Design]Update design of embed modal to communicate public and private embedding

Main issue: https://github.com/appsmithorg/appsmith/issues/20578

Design task for issue: https://github.com/appsmithorg/appsmith/issues/20578

I closed the duplicate

The design has been completed.


[aiCanvas] InPaint image editor sources availability

Is it known where to get sources of the image editor shown in iFrame from
https://mj.aibear.com.cn/draw/mitf/index.html for purposes of customization, especially translation to English?
<template>     <iframe @load="loadOk" ref="ifdiv" :src="https://mj.aibear.com.cn/draw/mitf/index.html?${st.q}`"  class=" h-[80vh] w-full" style="border-width: 0px; border-style: none; overflow: hidden;" v-if="st.q">
`

You can save the html of this link, modify it, and put it on your own server; then enter it in the iframe, and that's it.

You can save the html of this link, modify it, and put it on your own server; then enter it in the iframe, and that's it.

Unfortunately, the page is not accessible from my side thus I was looking for the repo

I'll reply later.

https://github.com/Dooy/chatgpt-web-midjourney-proxy/tree/main/src/static/mitf
It's all right now. please update to v2.16.5

🤝

Thanks 🤝


Green WebDeveloper trying to learn

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
---"Basically I am running into an issue creating a text web service on the ASP.NET framework. I am currently enrolled for online courses through WGU for my BS in computer science but I have no one to help guide me on this path Im on. Any assistance would be very much appreciated. Ill buy you a bottle of (Preferred Liquor) for being helpful and inciteful."

I think we'd need more information to be able to help you. What do you have so far? Where exactly are you stuck on your code? Where do you need help?


About package singleflight, I feel something strange

func (g *Group) Do(key string, fn func() (interface{}, error)) (interface{}, error) {
	g.mu.Lock()
	if g.m == nil {
		g.m = make(map[string]*call)
	}
	if c, ok := g.m[key]; ok {
		g.mu.Unlock()
		c.wg.Wait()
		return c.val, c.err
	}
	c := new(call)
	c.wg.Add(1)
	g.m[key] = c
	g.mu.Unlock()

	c.val, c.err = fn()
	c.wg.Done()

	g.mu.Lock()
	delete(g.m, key)
	g.mu.Unlock()

	return c.val, c.err
}

Above function, I think it may be too complex. It's similar to broking goroutine with mutex, so sync.WaitGroup is necessary.

If you want to rewrite it to be more readable and more performant, feel free. I don't follow what you're proposing, though. You can send a PR if you find something better. Be sure to include CPU & alloc benchmarks.


Transparent DialogHost?

Hi!
Maybe and how make transparent background dialogHost?

There's no support for this right now, other than you restyling the DialogHost template.

Thx!


python debug added

wrong repro?

Yes . I was forking it and created pull request here by mistake

Closing pull request as mistakenly raised PR in core kickstart instead of my fork


[Fix] Revert to the original anchor size of PointPillars on Waymo

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Revert the modification about anchor_size of PointPillars on Waymo in https://github.com/open-mmlab/mmdetection3d/pull/2063, because the performance in the original setting is higher than the setting in that PR.
Benchmark (training on 16 GPUs):

anchor size
car (L2 mAPH)
pedestrian (L2 mAPH)
cyclist (L2 mAPH)

old cfg
60.7
45.1
53.6

new cfg in PR2063
60.1
44.1
50.8

Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the back-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

Please add more description about why the original anchor setting is different from the modified one and why the original one can yield better performance


AADLoginForLinux needs firewall exceptions on a secure vnet

I'm experiencing issues with the AADLoginForLinux extension and installation on a Linux VM that is on a subnet that goes through a Firewall to connect to the internet.
The Linux image is the Data Science Virtual Machine on Centos from the Azure Marketplace.
I'm trying to test the lifecycle from install to use. At the moment I've got the following entries whitelisted and it appears to allow installation but I'd prefer to tighten down the storage accounts:
Allow the VM IP to connect on https to *.blob.core.windows.net
Allow the VM IP to connect on https to packages.microsoft.com
If I don't have these entries the installation starts but fails.
I saw this initially on a VNet using a firewall appliance in Azure from a Firewall Vendor and have reproduced it on a VNet set up to test Azure Firewall. If I follow the instructions for evaluating the Azure Firewall through the Azure Portal (i.e. https://docs.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal ) and place the Centos VM in the Workload-SN then I have to add specific exceptions for the installation to complete.
It would be helpful to understand what specific exceptions are needed.

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

ID: bb8e2623-1f79-aee3-bd97-8b5f647b6980
Version Independent ID: 6346b54d-cc8d-0b79-a6b8-f9144cfa2459
Content: Log in to a Linux VM with Azure Active Directory credentials
Content Source: articles/virtual-machines/linux/login-using-aad.md
Service: virtual-machines-linux
GitHub Login: @cynthn
Microsoft Alias: cynthn

@alistairl were the docs able to help?

hey @MicahMcKittrick-MSFT yes, I wanted to read over them properly to do your reply justice. I think the two latter links are of marginal help as they are quite azure specific and relevant if using NSGs but less so for a vm appliance firewall. The first link is really helpful as it delves in to the detail of the extension lifecycle, how it specifically works with Linux and what the fundamental requirements are.

@alistairl thanks for the update! Unfortunately I was only able to piece together information rather than find a single one and done doc. I think the first link as you mentioned is the most useful. Mainly ensure that the VM has access to <IP_ADDRESS> and from there you should be set. Give it a go and if you run into issues just let me know and we can reopen and take a look :)


Can't enter docker the second time by bash docker/scripts/dev_into.sh

System information

Linux Ubuntu 18.04, arm64 (jetson):
Apollo installed from (source):
Apollo version (7.0):
Output of apollo.sh config if on master branch:

[INFO] Apollo Environment Settings:
[INFO]     APOLLO_ROOT_DIR: /home/f/github/apollo
[INFO]     APOLLO_CACHE_DIR: /home/f/github/apollo/.cache
[INFO]     APOLLO_IN_DOCKER: false
[INFO]     APOLLO_VERSION: r7.0.0-2021-12-28-463fb82f9e
[INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false
[INFO]     USE_GPU: USE_GPU_HOST= USE_GPU_TARGET=1
[INFO] Usage: /home/f/github/apollo/scripts/apollo_config.sh [Options]

Steps to reproduce the issue:
I'm trying to run Apollo with docker (on a Jetson device)

bash docker/scripts/dev_start.sh

bash docker/scripts/dev_into.sh

OK and I can enter the docker to check if Apollo files exist.

For the second time, I assume I should enter the docker by bash docker/scripts/dev_into.sh but I have this error:

Error response from daemon: Container 898b36639e8ba572e62aafd2b1fc0e65c248c9220a45e5ddcca494b76b4906c2 is not running

I guess I might run bash docker/scripts/dev_start.sh again, but my docker commit is lost.
I also tried the -f -l flags, but no luck. I also trid -t flag with bc3382907cdd3a51e5f7bfde9fae79065f39406ea392db807fd60b84906d6191 but I still can't enter the docker with my committed change.
Question:
What's the designed way to enter the docker after some change/commit?
Thanks,
Fei

I'm not an expert, but maybe you can use the docker images to check if the apollo image has been updated after the commit.
also note that

The commit operation will not include any data contained in volumes mounted inside the container.

if you have run   bash docker/scripts/dev_start.sh before ,you should try the following comands:
1、docker ps -a
if will return the  DOCKER_ID
2、docker start DOCKER_ID
3、bash docker/scripts/dev_into.sh

@fei4xu  the method above will work!


Gamma value frontend errors

          @pv-camecon, we are having some trouble calibrating the Gamma values for the FTT-P update through the frontend. The issue seems to be that there is not Output/Gamma.pickle file which the front end is trying to load in line 974 of FTT_backend.py. Could this be down to the fact that gamma output is also not being saved like the main ouput?

Originally posted by @ldxib2 in https://github.com/cpmodel/FTT_StandAlone/issues/81#issuecomment-2018244196
I tried determining gamma values using the REFEREE version on the SVN, and got a different error (it struggles with JSON files). I do remember this working, so will ask around what model version this worked.

Cormac indicated it's just fickle and by pushing run_ftt multiple times, it does not produce errors anymore. The error produced is:

When the gamma.pickle file is created and you restart the gamma tab in the front end, it does immediately work.

Yes, the front-end will try to search for the Gamma.pickle file. Is this simply a matter a making sure that (for now) this pickle file is committed to the master branch?

The gamma.pickle file is over 100 MB. We can technically add it, but it will make the repo much bigger. Do we know why it is required for the front-end?


Add .github actions and codeowners

What does this change?
Adds CODEOWNERS (I only added myself as otherwise oliver will be pinged for all of time)
and test workflows

😆


Backdrop not closed with Bootstrap Dialog any more (in 4.5.1)

I use this Bootstrap Dialog:
https://github.com/GedMarc/bootstrap4-dialog
When I update to Bootstrap 4.5.1 or 4.5.2 open a dialog and click on the backdrop, the backdrop stays open.
When I switch back to bootstratp 4.5.0 it works

I don't think this is Bootstrap responsibility to stay compatible with 3rd-party plugins but the other way around (unless there is a undocumented breaking change?).

see http://jsfiddle.net/qu6r3shn/1/

@Deckluhm maybe someone can help out to find the root of the problem.

seems to be fixed with updateing bootstrap in bootstrap dlg


excelparser - enable object properties creation

Hello,
In our project we would like enable the generation of new OWL object properties (subProperties of a EMMO property) hierarchies from the excel file. How could we do it using ontopy.excelparser?
e.g.: hasMode, hasMethod, hasProtocol as new subProperties of a EMMO class.

Thank you so much!
@yoavnash @pierluigidelnostro @francescalb @MaksimZapara

Hi, I will look into this after next week.


[climate] Fix ecobee flaky test

Description:
Fix ecobee flaky test. Found by @elupus
Related issue (if applicable): fixes https://github.com/home-assistant/home-assistant/pull/23899#issuecomment-509307860

Was the order change intended? so that it no longer map it to auxHeatOnly?

Yeah, we want heat to map to heat, not aux heat`


Add BPF provider

Context
Currently we have packet reading, and network interface provider tho it's problematic to listen for valid packets from network interfaces and protocols. To accomplish that we can use BPF filter
TODO

add BPF filter configuration to the collector worker
add yaml configuration to the collector worker

AC

there is possibility to write the PBF filter in the config
we can configure application from the config

Hi! It looks like BPF filter is already implemented in the Collector. Is that correct?

Hey. To be honest I don't remember 😀


fix: fee tests

Try out this version of the Hiro Wallet - download extension builds.

Fee estimates seem to have changed with the upgrade ...changing tests here to test for a range b/w caps instead of our hardcoded cap values.

Merging bc broken on dev atm.


Unregistered schema support

If you try to open an OTIO file with an unregistered schema type, you get an exception like this:
opentimelineio.exceptions.NotSupportedError: OTIO_SCHEMA: 'Foo' not in type registry.
Instead we should turn it into something that can round-trip the unregistered type without a hassle.
We can do this by turning them into an UnregisteredSerializableObject that remembers the original schema and contents blindly.

Addressed by #342


Add ability to validate map data

Add ability to validate map data based on map validation rules.
In some frameworks like kataras/iris, they return a map of form values.
So it is hard to validate data that is not in struct form. So we can easily provide the data
itself and validation rules in form of map to have an easier data validation
@go-playground/admins

Coverage decreased (-0.07%) to 76.022% when pulling 19e6b81c2e3cc8b77f49bc6eb9b3eaa2265ac251 on zytell3301:master into b926bf0df97108effd04f9325365cd7969935e16 on go-playground:master.

Thanks for the PR @zytell3301
My only request would be that it support nested data. This looks great for flat data structures but not sure how you could apply validations for nested data.
Thoughts?

I think i've found a solution for it. I'll push the changes after I implemented it.
Thanks for your attention @deankarn and apologies for any mistakes in PR or commits.
I'm new to these stuff

Hi. I just implemented validating nested maps. But cross-field validation and keys validation is missing for now. Please check the updates.


Increase default subnets in AWS VPC

Closes #828
This will enable AWS subnets to handle 2**(32-8-4) = 1048576 IP addresses.

@costrouc sorry I didn’t see your (slack) comment above before submitting my PR. I added a default vpc_cidr_block for AWS deployments, would you still prefer the updating the default vpc_cidr_block for all deployments?


[Bug] Brazilian Portuguese lang folder name should be pt_BR (ISO 15897)

Bug report
What I did
Configured the Laravel application locale using ISO 15897 codes in config/app.conf to:
'locale' => 'pt_BR',

Since the Laravel Documentation states:

For languages that differ by territory, you should name the language directories according to the ISO 15897. For example, "en_GB" should be used for British English rather than "en-gb".

What I expected to happen
Backpack strings such as "entries per page" to be translated to Brazilian Portuguese.
What happened
Text is shown in English, the configured fallback_locale.
What I've already tried to fix it
Checked that the folder names for Brazilian Portuguese are pt-BR and pt_br.

Of course, setting locale to pt-BR fixes the problem, but then it goes against Laravel recomendation to use the ISO 15897 language codes, and other languages like da_DK have lang folders with the proper name.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
### PHP VERSION:
PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
v8.21.0@a61cab167c35f465a923737ee6e6fb99cd5fde88

### BACKPACK VERSION:
4.1.34@d9ec59ab1f9fe03c7106911b5667d912c1cfe1f7

Hello @matheusb-comp thanks for raising this issue.
I guess you are right for what seems to be the most recent Laravel recommendation. I am not sure they recommended the same, or any other in past Laravel versions, atleast I could not find it: https://laravel.com/docs/7.x/localization#using-short-keys (for L7 for eg).
We can simply copy the contents of pt-BR into a new pt_BR folder and probably stick with Laravel convention (I think they only have one since now too), and deprecate pr-BR and any other malformed versions in 4.2
Let me know what you guys think @promatik @tabacitu

Apparently the text was added to the documentation recently, but it seems that Laravel already opted to use the POSIX locales format internally for some time.
An example of this can be seen in the Authentication UI view stub from version 5.7, where the underline from the locale is changed to a dash to conform with a BCP-47 language tag format.
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

@matheusb-comp so the problem is the case?
Because now we have pt-BR and pt_br folders, should it be pt_BR, with BR in uppercase?
This may be a problem because we can't have both, pt_br and pt_BR, so we would need to rename and "extinguish" the lowercase version, that may be in use by many.
@pxpm what do you think?

@promatik From what I understood, yes. The FileLoader applies the configured locale in the string and checks if the file exists.
The example given in the PR that added the note to the Laravel Documentation is also interesting, where the function used by trans_choice() to decide the plural index is a big switch-case that compares the locale using the {lang}_{REGION} format.

This may be a problem because we can't have both, pt_br and pt_BR

After re-reading the docs on localization, I realized that I can just override the lang files of the package.
So I just copied the files from the package's pt_br folder to lang/vendor/backpack/pt_BR and it works now.
The only problem with this is not getting automatic updates on these files.

Indeed @promatik , I was thinking having both now, but yeah, it's impossible to have both folders. We can only fix this in 4.2 with a BC.
@matheusb-comp the lang strings don't change that much. Probably will not change until next version where we could introduce the breaking change, in the meanwhile you would not get "automatic" updates since those files are in user land, and can only be overriden if you specify --force when publishing assets.
Thanks guys for the clarification.
Best,
Pedro

Changing only the Laravel lang folder name is also not enough. The locale is also used to load dependencies i18n files, like the ones for Select2.
So the request for /packages/select2/dist/js/i18n/pt_BR.js results in a 404, and the widget shows texts in english.

@matheusb-comp good catch, in that case we need to;

standardize the locale string to ISO 15897
check every place where we use the locale strings and convert it in case it's needed.

Seems like exactly like what we're doing in #3598 , so let's move the conversation there please 🙏
PS. OMG what a shitshow with these language standards. Can't wait to be able to say "just use pt_BR" 😅

I'm reopening this issue since #3598 doesn't fix everything ✌


Fixes building on a Mac using Homebrew as package manager

Correctly finds and uses Homebrew's installation of libreadline/libffi/bison.

Thanks Clifford!
I suggested adding more developer friendly options for Homebrew eg "brew pkgconfig libffi", "brew path bison". I'll implement them and see if they get accepted upstream.
Also I had to clear ENABLE_COVER to build here. I suppose it's for code coverage so what tool should I have installed to use this? Any heads up?

Oh the error is:
#define YS_ATTRIBUTE(...) attribute((VA_ARGS))
^
kernel/rtlil.cc:2325:2: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma.
Btw, the arrow points to VA_ARGS. Any clues?

No external tool is required. It is all built in to Yosys (see "help cover"). But if your compiler does not support __attribute__((section(...))) (or something equivalent) then I don't see how this feature can be ported. But I don't see it as a problem if this feature is only available on Linux (my main dev platform). So I have now simply disabled code coverage counters for all non-linux systems (see 95f1eb9b87064719c17d45f24775c3e97497b6df).


Prefetch dc core

Codecov Report

Merging #309 (69d1330) into stage (7c783a6) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            stage     #309      +/-   ##
==========================================
- Coverage   88.15%   88.12%   -0.03%
==========================================
  Files          27       27
  Lines        2592     2594       +2
==========================================
+ Hits         2285     2286       +1
- Misses        307      308       +1

Files Changed
Coverage Δ

acrobat/scripts/scripts.js
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I updated few stuff to match ESLINT rules and resolved the merge conflict from stage.


RFC: raspberrypi3: Switch to vc4-fkms-v3d.

This seems to be required to have a functional DSI display.
Signed-off-by: Drew Moseley<EMAIL_ADDRESS>
- What I did
Troubleshooting of blank Xorg display using the Pi Foundation display.
- How I did it
After changing this, core-image-sato works on both HDMI and the DSI display.

I am not sure if this is right but I just started looking into the differences between the Pi4 and Pi3 setups since the Pi foundation display works properly on the Pi4 but not the Pi3 when running Xorg based images.
Please let me know if there is a better way to handle this.

I am not sure if this is right but I just started looking into the differences between the Pi4 and Pi3 setups since the Pi foundation display works properly on the Pi4 but not the Pi3 when running Xorg based images.
Please let me know if there is a better way to handle this.

if you are using mesa+vc4hgraphics then this perhaps is ok

Yeah, I'm just using the default config in warrior and newer.  Is this something that should be updated in the repo or just kept as a local change?

Yeah, I'm just using the default config in warrior and newer. Is this something that should be updated in the repo or just kept as a local change?
I think for master/dunfell it should be needed perhaps because there we default to vc4graphics for sure, older branches I don't know


Make the organisation filter a decent size for the values within it

Fixes #169 after just over a year!
This now stays at a decent size with and without JavaScript on. I
chose input-md-5 out of thin air, but most of the org titles now
display fine in the dropdown, and it's better than it was!

Before:

After:

:+1:


Re-implement more currencies

The recent update removed some currencies, including BGN, that I used on the older version, which is why I downgraded back to it.

Hi, thank you very much for you feedback. Sorry for this regression. This issue is covered by #41 and it is because the only currently working provider Coingecko is missing some currencies.
The desired state is to have all 3 providers back and do an average of their rates.
I will make this priority and I hopefully fix it soon.

The PR #62 solves your Issue + much more ;)
I need to add one more provider before I merge it. But if you are able to build and run the code, I will be happy if you can test it. ;)

@hank-milliken That's awesome!
Sadly I'm not tech-savvy enough to build it on my own, so I'll just wait for the update on F-Droid.

@BloodRaven0 Merged, you can download build directly from Github here https://github.com/Minimalistic-Apps/price-converter/releases/tag/2.5.0
:exclamation: But make sure you uninstall it before you download it from F-Droid. Github build is signed by my key, the build from F-Droid is signed by them and it is not possible to upgrade apps with mismatching keys.


Enabling plugin adds autolinks

Plugin automatically add patterns and templates to autolink plugin.
This behavior should be intentional not automatic, because it breaks our autolink configuration.

@GrzegorzRussek Thanks for reporting this, the feature should definitely be configurable.
@aaronrothschild Thoughts on how to go about this? Currently, the Jira plugin registers regexes with the autolink plugin when the Jira plugin starts up, and when a new Jira instance is installed with the plugin. I'm thinking we can have a system console setting to enable the autolink functionality. Unclear whether the default should be on or off.

Closing issues due to inactivity. This issue can be re-opened with more interest from our community.


Rename events related to video and screenshare

Describe the feature request
The naming of the following events is confusing to some:

On Video Track Added/Removed
On Video Track Enabled/Disabled
On Video Enabled/Disabled
On Screenshare Started/Stopped

It would perhaps be better to rename them to:

On Remote Video Track Added/Removed
On Remote Video Track Enabled/Disabled
On Video Enabled/Disabled
On Screenshare Started/Stopped

or:

On Remote Video Track Added/Removed
On Remote Video Track Enabled/Disabled
On Local Video Track Video Added/Removed

or:
split On Video Track Added/Removed into:

On Video Track Added/Removed
On Screenshare Track Added/Removed

It may also be convenient to change the logic of track Added/Enabled events or possibly remove the track Enabled/Disabled events altogether.

Work stopped. WIP available at https://github.com/DolbyIO/comms-sdk-unreal/tree/delegate_refactor


Custom PDF render engine

Enhancement:
Create an own implementation of a PDF render engine, so it does not need UIKit anymore.
TPPDF can be used on all swift based platforms.
Available Resources:

Adobe Full Specs: https://www.adobe.com/devnet/pdf/pdf_reference_archive.html
Adobe PDF 1.6 Reference: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdf_reference_archive/PDFReference16.pdf

Related issues:
Some of these might need to be reopened:

#112 CMYK Support
#60 Custom PDF Metadata

This might be an enhancement too big for this project.
Closed until actually considered


running shoes not working

recently rthe running shoes upgrade stopped working, i buy it and it says it's loaded in chat, but the speed is still the same, i tried removing the last mods i had installed but i can't find what is causing this, is there some mod that is incompatible whit this upgrade? if there is at least i know what mod to remove if it's installed.

Duplicate of #489


[MXNET-1111] Horovod support for MXNet

Description
This PR contains the minimal set of changes required to support Horovod distributed training using MXNet.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Horovod support

Comments

Design doc: https://cwiki.apache.org/confluence/display/MXNET/Horovod-MXNet+Integration
Install readme: https://github.com/ctcyang/incubator-mxnet/blob/horovod_feature/example/image-classification/scripts/README.md

@mxnet-label-bot [pr-work-in-progress]

Please add [MXNET-1111] to the PR title. Thanks

Tag @eric-haibin-lin as reviewer

@eric-haibin-lin Could you please take a look in the above PR?

have the horovod merged into the mxnet1.4.0?why havent I saw any horovod in the mxnet 1.4.0，but the performance of mxnet1.4.0 is really improved compare to mxnet 1.3.0.

Yes it was in 1.4 @kevinVegBird


[5.2] Avoid unexpected removal of items with null key.

This pull request prevent unexpected removal of items with null key and avoid unnecessary call functions.

Please rebase to fix StyleCI. ;)

:+1:  Done!

Need more explanation on how this solves the issue.

Thank @taylorotwell , I had committed a mistake.
... If we do not find the item in the array, we should proceed to the next item to be removed.
This can be avoided:
    $parts = [];
    // ...
    unset($array[array_shift($parts)]);

Is this a breaking change? I still don't even understand what is going on here? :/

The tests passed, have any other way to ensure that will not break ? What is happening is that when the item is not found in the array the variable $parts gets an empty array then it is passed as a parameter to function array_shift() resulting in null value.  Without this change the method unset() and àrray_shift() is called unnecessarily and to top it removes an item with null key.

@taylorotwell  you use $parts = [] to exit the while block? because after it is passed to function array_shift() returns null.

Can you give me sample code to paste into current Laravel to re-create problem?

This is an example:

    $array = ['products' => ['desk' => ['price' => 50], null => 'something']];
    Arr::forget($array, ['products.amount.all', 'products.desk.price']);

    // ['products' => ['desk' => []]]

The item with null key has been removed. But I would like you to give special attention to the function call unset() and àrray_shift() after receiving $parts = [].

@GrahamCampbell what is your opinion about it?

I dunno, I'm a little nervous about this breaking certain situations.

Yeah, sure, I understand you. I would like to take and suggest the following:
//...
$keys = (array) $keys;

if (count($keys) >  0) {
	$original = &$array;

	foreach ($keys as $key) {
		//...
	}
}
//...

Thus we maintain the void return. or:
    /**
     * ...
     * @return false|void
     */
    public static function forget(&$array, $keys)
    {
    //...

This second change does not make sense to me.

false|void

No such thing as that. void means the return value is garbage.

I understand, then we keep like this?

Interesting the first suggestion of Mr. @anteriovieira. Place the code within the if (count ($ keys)> 0) instead of using return; it is more consistent because you do not need a return to the function.


Update Shields production access doc

Messages

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against e18bde5541e34c8db969d01ebb69b65273c445b7


Exercise tracker backend

Please go though the projects readme file and try to follow the points mentioned there.
Thank you.


Pickles: Vector.split - Add documentation and tests.

Add documentation and add tests.
Explain your changes:
*
Explain how you tested your changes:
*
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

!ci-build-me


Document supported versions

Please documented supported versions of this product at https://github.com/tronprotocol/tronweb/security
Are past versions supported? Which?
What about the old versions on CDN?
What about the version copied (#315 ) to TronLink?
Is the a bug bounty? Which versions does that apply to?

Documentation support multi-versions is published here.


Optimization of Body's hidden class

I noticed that the number of properties on the bodies were not always the same. It varied between 45 and 48. Which is bad for performance as the JS compiler and optimizer cannot take advantage of consistent hidden classes when compiling JS code.
That is to say, having different number of properties per body meant that the optimizer could not optimally optimize some methods (apparently the most unoptimized methods were solverVelocity and Body.update).
Changes

Made sure all 48 properties were initialized at body creation time.
Bonus change: simplified the Body.set method as it was never called with a string as a 2nd argument.

Results
The gain is especially high on test using mixed shapes where more than 2 hidden structures had to be supported. The following benchmark was done on the Mixed Shape test:
Before

After

On a fairly similar profiling duration we can notice that the consumption of the engine is about 25% lower after the optimization!
Gains are usually not that high and seem to indicate a performance boost of 10% in most cases.
Note: Taking a memory snapshot both before and after seemed to indicate that the memory footprint increase was unnoticeable:

(Snapshot 4 is before and Snapshot 5 after)

Just tested this across several light and heavy tests. On average I'm seeing Engine.update go from 63.2% down to 51.8% with no significant memory difference.
Am seeing regular gc flushes though, causing a traditional peaked mountain effect. It did this before making this change too though. Resolver.solveVelocity remains the main CPU hog across all tests.

I think it's possible to reduce object creation (by creating pool of reusable objects) although I haven't experienced it as being an important issue yet. What browser are you testing on?

Looks great other than the change to the signature of Body.set. I know that internally the string option isn't used but it's intentionally there as a shorthand for users.
Can you revert that part so that feature remains? Thanks!

Done!


New issue with youtube-dl on urplay.se

Hi, I have just updated youtube-dl to version 2020.09.20 but the new problem I ran into still persists even after this update (I have restarted Terminal, but not the whole Mac OS):
youtube-dl https://urplay.se/program/214606-kanaler-batar-och-karlek-brittiska-och-irlandska-strapatser --all-subs --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://urplay.se/program/214606-kanaler-batar-och-karlek-brittiska-och-irlandska-strapatser', u'--all-subs', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.17 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[URPlay] 214606: Downloading webpage
ERROR: Unable to extract urplayer data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/urplay.py", line 41, in _real_extract
r'urPlayer.init(({.+?}));', webpage, 'urplayer data'), video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1010, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract urplayer data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Is this something you might be able to look into? That would be very much appreciated -- thanks,
Mark

This has already been Reported!
https://github.com/ytdl-org/youtube-dl/issues/26815

This has already been Reported!
#26815
Always use SEARCH before entering a new issue.
Like "https://github.com/ytdl-org/youtube-dl/search?q=urplay&type=issues".

Actually, this is a separate issue with the same site. I posted a link to a proposed solution for this issue here: https://github.com/ytdl-org/youtube-dl/issues/26815#issuecomment-706611023

I see that Minherre has already reported same/similar issue with youtube-dl on urplay.se, but I haven't been able to find any proper solution to this problem yet (only a custom solution kindly proposed by amigatomte in Minherres thread at #26815). At the moment, neither youtube-dl version 2020.09.20 nor svtplay-dl version 2.7+3.ga550bd1 works with urplay.se, so it seems the developers still need to look into this issue.
On a side-note, if anyone is interested, I have managed to come up with a manual work-around that allows me to still download from urplay.se, and that is:

Start playing content on the urplay.se site in Firefox (e.g. "https://urplay.se/program/214583-kanaler-batar-och-karlek-aventyr-over-hela-varlden")
Using the extension Video DownloadHelper 7.3.9 in Firefox, I then use the command "Detaljer" for the corresponding HLS-strömning 1280x720 in order to get the masterManifest link ("https://streaming10.ur.se/urplay/definst/mp4:se/214000-214999/214583-5.mp4/playlist.m3u8?pid=zre0r&cid=urplay")
I then use Wondershare UniConverter to download this particular series episode as an mp4 file
In order to also get hold of the subtitles, I use the command "Visa sidans resurser" in Safari and search for the string ".tt"
Unfortunately there are a whole bunch of .tt files even though I have only chosen one particular episode, so when I find the first link (e.g. "https://undertexter.ur.se/214000-214999/214584-11.tt"), I simply put this link in a new window, replace the suffix ".tt" with ".srt", and then review the srt formatted text to see if it is the proper subtitle; if it is I just save the text file, if it is for another episode however, I just continue to the next .tt file link and repeat the process, until I have found the correct subtitles... :-)

A lot of work, but at least I'm able to download from urplay.se until youtube-dl (and svtplay-dl) has been updated to support the modified urplay.se site.

5. Unfortunately there are a whole bunch of .tt files even though I have only chosen one particular episode, so when I find the first link (e.g. "https://undertexter.ur.se/214000-214999/214584-11.tt"), I simply put this link in a new window, replace the suffix ".tt" with ".srt", and then review the srt formatted text to see if it is the proper subtitle; if it is I just save the text file, if it is for another episode however, I just continue to the next .tt file link and repeat the process, until I have found the correct subtitles... :-)

The correct subtitles would be the one with the same number (video id) as the video you are downloading, in this case 214583.
https://urplay.se/program/214583-kanaler-batar-och-karlek-aventyr-over-hela-varlden
https://streaming10.ur.se/urplay/definst/mp4:se/214000-214999/214583-5.mp4/playlist.m3u8?pid=zre0r&cid=urplay
Thus, the correct .tt subtitles file is:
https://undertexter.ur.se/214000-214999/214583-11.tt
I have submitted a pull request of a revised version of my code today. Hopefully it will be accepted soon.
Cheers

Oh boy, silly me that didn't see this obvious correlation... Thanks for pointing that out! :-)


DRC deck is a subset of the deck intended by the technology developers (Needs review)

*****33) We are not running the full S8 development DRC deck and need to review what rules are being missed.
(At minimum we need a review before final tapeout.)

to be done before tapeout

Reviewed the Implemented rule vs overall rules set in earliest deck documentation I had access to through SKY. While DRC deck is incomplete and should be reviewed before next tapeout the rules missing are mostly around specific components I know are not being used in caravel. We need to check this short component list for user project. (Specifically which MIM and Cap components are included in the metal stack and do we include all of the relevant DRC rules for those components allowed. To do before User Project Tapeouts. Review with Jeff


*: add basic e2e test for Prometheus TPR

This contains a small framework to use when performing e2e tests (highly based on the etcd operator e2e test framework). There are likely parts that we can improve and bring more in line with the main source code, but I'd like to get this into the code so we can start writing tests and have everything tested when developing new features.
@fabxc

Generally looks good.
Most comments are just nits to so we can keep up code quality in the long run and are consistent with the actual operator code.
For all advanced tests it would be neat of course if Prometheus had a proper API for targets =/ oh well..

Comments addressed and rebased. Re-review @fabxc 🙂 ?

:+1:

@fabxc can we trigger someone to get CI infrastructure in place?

Can you ping the etcd people later about where they've setup their testing?

will do


Move MPI out of the CUDA HAL driver and decouple it from drivers.

In #12902 the channel provider got moved into cuda_device.c and as a tooling-only mechanism it shouldn't be in there as even when dynamic we don't want to be initializing/defaulting to MPI as part of the core library code. We also don't want the behavior in iree_hal_cuda_driver_create_internal that overrides device selection as part of the core driver code as overwriting the options set from flags/API use is generally not allowed (leads to really hard to diagnose configuration issues). As we look to share the MPI usage across other backends we don't want to fork a copy of the iree_hal_cuda_nccl_query_group_params for each of them. Having MPI ownership (init/finalize) tied to drivers is also not good as drivers are able to be created/destroyed multiple times within a process and multiple drivers may be in use at a time (if both CUDA and CPU tried to make global MPI changes things will go bad fast).
After #13152 lands and the dynamic library code is moved out of the CUDA driver we need to remove all of the MPI usage from cuda_device.c/cuda_driver.c/dynamic_symbols/etc. The only files that should be referencing MPI are the driver_module.c files or iree/tooling/device_util.c, which is likely a better place for multi-backend usage.
The iree/tooling/ code is only used in IREE command line tools and not exported as part of the API. MPI's use in IREE is for tooling only and we have more lax standards around lifetime/initialization/etc as the only consumers are our own tools. We can move all MPI loading, symbols, the iree_hal_channel_provider_t/the query fn, and assignment to devices there and set it on devices via an iree_hal_device_replace_channel_provider (ala iree_hal_device_replace_allocator). It'd be worth making the channel provider a retained virtual object so that the device can then own the lifetime and multiple devices can share the same provider instance. OpenMPI has non-trivial logic in MPI_Finalize and we need to ensure it's called properly.

@benvanik Setting this as P1, please downgrade if needed. Thanks!


As a User I want to be able to view all of the tags I have

Could be data viz, could be UI. I think we have this covered though


resolve cedvdb/phone_form_field#141

This can be added to all navigators in that file

This can be added to all navigators in that file

I've checket all the rest of the variants namely ".bottomSheet(), .draggableBottomSheet(), .modalBottomSheet(), .searchDelegate()" and they are working as expected. This is because they all use current (nested in my case) navigator. So I updated just .dialog().


CI failure fix

Description
Fix acceptance test error in CI

It did not use it before, and I made it use it, so now this needed to not use it anymore. :D


Navigation slider doesn't display all routes, sometimes, on the Account page.

When connected to Cloud Firebase (and signed in as the<EMAIL_ADDRESS>user), the navigation slider doesn't display all navigable routes, sometimes, on the Account page.
Steps to reproduce:

Sign in.
Navigate to the Accounts page.
Select the edit button.
Open the navigation menu.
Repeat steps 2 through 4 several times.

@NathanWEdwards I'm having trouble recreating this issue. This may have been happening before the UserContext was added to the header component, but now that the context PR has been merged this appears to be working as expected.

I have been unable to reproduce the issue within the Firebase Emulator Suite and when the application is deployed to Firebase Hosting.


refactor: make PlanNode Trait like ToBatch return Result

What's changed and what's your intention?
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
As issue #2374  say, make return as Result can make us do more thing.

How does this PR work? Need a brief introduction for the changed logic (optional)
Refactor some trait in src/frontend/src/optimizer/plan_node/convert.rs like ToBatch,ToStream.Make them return as Result
And update with them implemention.

Describe clearly one logical change and avoid lazy messages (optional)

Describe any limitations of the current code (optional)

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
close #2374

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

@TennyZhuang  PTAL if free. And I had run e2e test loacl. It passed.

Thanks! Will take a look today

CI is running: https://github.com/singularity-data/risingwave/actions/runs/2298833293


Add data flow diagram to the Data Lifecycle page

User story

As a new user
I want to easily understand how the data moves through the system
so that I can comprehend how to use the system

Definition of done
Create one or more diagrams to illustrate the process

@NoopDog, let's review the content required for 5, 6 and 7 above.


Embedded engine

The change from a standalone process engine to an embedded process engine results in a high performance advantage.The difference becomes clear when a load test is performed, in which 100 simultaneous requests (a total of 10000) are sent to an endpoint that starts a process. The standalone version processes 293.3 requests per second. The embedded version processes 1254.9 requests per second.


Upgrade to Design system version 35.0.4

What is the context of this PR?
Upgrades the design system to version 35.0.4
How to review
Check all tests pass
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Update EQ Runner design-system version (5 SP)


HDDS-9910. Slow ozone hdfs performance when lots of config files.

What changes were proposed in this pull request?
Improving hdfs perf by eliminating redundant config reads, and replacing them with a single one when the fs is initialized.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9910
How was this patch tested?
Current tests still apply.
Rename perf under spark improved by a factor of 5:
spark-shell --master local --conf spark.kerberos.access.hadoopFileSystems=ofs://vol1 --conf spark.ui.enabled=false --conf spark.port.maxRetries=64

// The following commands are all run from within the sparkshell

// init the fs
import org.apache.hadoop.fs.Path
val ozone_fs = org.apache.hadoop.fs.FileSystem.get(new java.net.URI("ofs://vol1/bdpe/squirrelfso"), sc.hadoopConfiguration)
ozone_fs.delete(new Path(s"ofs://vol1/bdpe/squirrelfso/file1/part10001"))
ozone_fs.copyFromLocalFile(new Path(s"/etc/hosts"), new Path(s"ofs://vol1/bdpe/squirrelfso/file1/part1"))

// run the test

spark.time(Range.inclusive(1, 10000).foreach(i => ozone_fs.rename(new Path(s"ofs://vol1/bdpe/squirrelfso/file1/part${i.toString()}"), new Path(s"ofs://vol1/bdpe/squirrelfso/file1/part${(i + 1).toString()}"))))

Time taken: 17763 ms

Thanks @GeorgeJahad for the improvement.

Thanks for the reviews @hemantk-12  @sadanand48  and @adoroszlai !

Nice catch. Thanks @GeorgeJahad !


Impossible to read body in the post filter

How it is possible to read a response body while using Zuul as a proxy in post filter?
I am trying to call the code like this:
@Component
public class PostFilter extends ZuulFilter {

    private static final Logger log = LoggerFactory.getLogger(PostFilter.class);

    @Override
    public String filterType() {
        return "post";
    }

    @Override
    public int filterOrder() {
        return 2000;
    }

    @Override
    public boolean shouldFilter() {
        return true;
    }

    @Override
    public Object run() {
        RequestContext ctx = RequestContext.getCurrentContext();
        ctx.getResponseBody(); // null

        // cant't do this, cause input stream is used later in other filters and I got InputStream Closed exception
        // GZIPInputStream gzipInputStream = new GZIPInputStream(stream);
        return null;
    }

}

But I get null with getResponsyBody(). Also I can't use InputStream because it's used by other filters, so I can't read it (cause it's closed, or other filters fails with exception that they use closed/ended stream)

Hey, I've managed to overcome this, by reading InputStream to ByteArrayOutputStream and then copying OutputStream to two InputStream. The first I consumed as I wanted and second I passed later to context.setResponseBody(inputStream)

The current filters in the netflix simple webapp do this, making it impossible to use them as they are.

The current filters in the netflix simple webapp do this, making it impossible to use them as they are.

Could you please link them here ? thanks


User study - Provide search on the Settings page

We have lots parameters users can customize and a little hard to find now.  Suggestion was to add a search capability.

Design and determine scope in 1.26


New field for fee in the JSON object when using send command

I think the possibility of send from zingolib with a specific fee, besides the ZIP317... it's a good feature.
Ref PR: https://github.com/zingolabs/zingo-mobile/pull/499
Ref Issue: https://github.com/zingolabs/zingo-mobile/issues/488

We're not going to support non-317 fees, for now.

Let's go close the others related issue & PR... just for coherence...


Training with non-square images

Hi, thank you for the great work.
Can you tell how I can train with non-square images? For example, images with size 640 x 480.

Hi @tonygraf, thanks for your interest! At this moment, most imagenet classfication training scripts are based on squared images. However, it is straightforward to extend the model architecture to handle non-squared images. You can refer to our detection code here for an example. I will try to find some time to improve the training scripts.

Ok. Thank you for your help.


LineChart：the first point cannot be drawn at the right position due to the calculateChartPath function

In PNLineChart.m, the innerGrade in calculateChartPath() is calculated as:
innerGrade = (yValue - _yValueMin) / (_yValueMax - _yValueMin) == 0 ? 0.5 : (yValue - _yValueMin) / (_yValueMax - _yValueMin);
How is the '0.5' defined, why？
I draw the LineChart in my project, the first point of the line cannot be drawn at the right position. If I modify the innerGrade as following:
innerGrade = (yValue - _yValueMin) / (_yValueMax - _yValueMin)
It seems right.

Confirm.
I draw a linechart with 7 values of 81. And it draws it incorrect:

After changing in PNLineChart.m line to:
innerGrade = (yValue - _yValueMin) / (_yValueMax - _yValueMin)
It draws correct:

I find the same issue. Thanks for the fix @makoni , hope @kevinzhow fix it asap.

the latest commit should work @ZuYuanZhou

@kevinzhow Is the Cocoapods updated? Currently I can only use pod 'PNChart', :head to get the latest version.


[WIP] ENH: Conform offsets, relative to center-of-mass

If someone wants to check my math, that'd be good. Going to run on ds114 subjects to exercise this code.
Closes #841.

This ended up being a little tricky, because the conformation has previously been pre-applied, relative to the original affine, while translation in RAS space is necessarily post-applied. That is, the new affine is
A' = T A R C

Where T is RAS translation, A is the original affine, R is the rotation induced by reorienting, and C is the rescaling induced by conformation. The fact that we were only doing pre-application allowed the earlier code to be a little unclear about exactly what was happening, so I've updated the comments to be very explicit about what each transform is doing.

Changed back to WIP because attempting to antsApplyTransform the dtissue derivative back to the (second) original T1 space ended up misaligned. Have a suspicion that what we want is to construct transforms in RAS-RAS instead of XYZ-XYZ. I bet we're getting a double translation from the FSL format.