Text shows as if it's not inside a scaffold on iOS

Am new to flutter and to this package, i am trying to display Text("Hello") but it's showing as if its not inside a scaffold
home_screen.dart
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return PlatformScaffold(
      iosContentPadding: true,
      appBar: PlatformAppBar(
        title: Text('Flutter Platform Widgets'),
        trailingActions: <Widget>[
          PlatformIconButton(
            padding: EdgeInsets.zero,
            icon: Icon(context.platformIcons.share),
            onPressed: () {},
          ),
        ],
      ),
      body: SingleChildScrollView(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text("Hello"),
          ],
        ),
      ),
    );
  }
}

main.dart
import 'package:device_preview/device_preview.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:mobile/screens/home/home_screen.dart';
import 'package:mobile/utils/size_config.dart';
import 'package:mobile/utils/styles.dart';

void main() => runApp(
  DevicePreview(
    enabled: !kReleaseMode,
//    usePreferences: false,
//    areSettingsEnabled: false,
//    onScreenshot: (screenshot) {
//      final bytes = screenshot.bytes;
//      return;
//    },
    builder: (context) => MyApp(),
  ),
);

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {

    return LayoutBuilder(
      builder: (context, constraints){
        SizeConfig()..init(constraints);
        return PlatformApp(
          android: (_) => MaterialAppData(),
          ios: (_) => CupertinoAppData(),
          locale: DevicePreview.of(context).locale,
          builder: DevicePreview.appBuilder,
          debugShowCheckedModeBanner: false,
          title: 'Rendize',
          initialRoute: '/',
          routes: {
            '/': (context) => Home(),
          },
        );
      },
    );
  }
}

I don't know if am not doing something right?

Was not aware of device_preview. It is quite interesting.
The issue is that the DevicePreview package alters the theme platform inside the appBuilder which does not give the PlatformApp the correct theme.
One solution though not perfect is to use the PlatformProvider and set the settings iosUsesMaterialWidgets to true.
return PlatformProvider(
          settings: PlatformSettingsData(iosUsesMaterialWidgets: true),
          builder: (_) => PlatformApp(
            locale: DevicePreview.of(context).locale,
            builder: DevicePreview.appBuilder,
            debugShowCheckedModeBanner: false,
            title: 'Rendize',
            initialRoute: '/',
            routes: {
              '/': (context) => Home(),
            },
          ),
        );

Both solutions worked perfectly. Thanks


[FLINK-28583][dist] make flink dist log4j dependency simple and clear.

What is the purpose of the change

make flink dist log4j dependency simple and clear.*

hi @zentol  do you have time to review it?


Add support for filtering for IS NULL or IS NOT NULL

Closes #350

I think we need an extra case (or at least a test to prove it works), for when the column doesn’t exist at all in the underlying row groups. Those row groups should be returned by that filter.

Yes, agreed. That's a follow-up. I left it out of this because this is mostly a correctness thing for the DB and not specifically a use case for Parca.

I think we need an extra case (or at least a test to prove it works), for when the column doesn’t exist at all in the underlying row groups. Those row groups should be returned by that filter.

Opened #353


README.md: Added 'Troubleshooting' section

Hi @jacksegal,
Your tool didn't seem to work on my end at first but upon debugging the script, gcloud prompted me to update and your tool worked after that.
I added a troubleshooting section which would hopefully help others as well. Please take a look.
Thanks.

Just for the record, this worked using this version of gcloud: 200.0.0

Thanks a lot for that @icasimpan - good feedback!  I'll take a look at it this week - it might be worth expanding your troubleshooting section to include other stuff

Thanks @icasimpan - in the end I just added gcloud components update to the installation instructions, rather than creating another section.
Thanks for flagging it!


feat(cli): add bump action

Solves #47

I think that handling git operations on bump version makes sense but we need to plan it a bit better... I don't want to hold off this PR for it. We can make the changes later at a backwards compatible way...


triggerOutputs() vs @trigger().outputs

In the section Trigger type comparison (system variables) , it states that :
"Users can access triggerOutputs().windowStartTime and triggerOutputs().windowEndTime as trigger system variables in the trigger definition."
Should this not be @trigger().outputs.windowStartTime and @trigger().outputs.windowEndTime instead?

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

ID: 3d564675-f719-57fc-a406-6aec51d26b29
Version Independent ID: 84124e8f-efad-274f-c2eb-40a04748296c
Content: Pipeline execution and triggers in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/concepts-pipeline-execution-triggers.md
Service: data-factory
GitHub Login: @dcstwh
Microsoft Alias: weetok

@minettes - Thanks for your question. We are looking into it and will get back to you shortly with our thoughts.

@minettes - Thanks for your question. We are looking into it and will get back to you shortly with our thoughts.

@minettes - Thanks for your contribution, I've addressed this issue in PR. The changes should be live EOD or tomorrow. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.

@minettes - Thanks for your contribution, I've addressed this issue in PR. The changes should be live EOD or tomorrow. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.


Version 2.10 only supports JSON responses, ignores statusCode and content-type headers

Setup
Use any simple Hello-World Node handler function that returns content-type: text/html
Expected result
The content-type on the response should be text/html
Actual result
The content type on the HTTP response is application/json
(The status code also appears to be ignored.)
Background
I discovered an apparent bug in the latest version of SAM Local today when I attempted to upgrade to support Node 8.10 and async / await.  Through troubleshooting, narrowed the problem down specifically to SAM Local.  I have example code for you to use for debugging.
This project demonstrates my simple attempt to convert a normal callback-based Lambda handler function to an async / await handler: https://github.com/endymion/async-handler
The problem has nothing to do with async / await.  You can see the problem with the default Hello-World project that AWS CodeStar generates for a serverless Node project.
The original Hello World handler function code is here: https://github.com/endymion/async-handler/blob/master/index.js#L6-L15
You can see that function in production here: https://d0nv0xlitb.execute-api.us-east-1.amazonaws.com/Prod/getWithCallback  I will leave that running for as long as possible.
This is what happens when you run that same function through SAM Local:
ec2-user:~/environment (master) $ curl -v 'http://localhost:8080/getAsync'
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET /getAsync HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.53.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json
< Content-Type: text/html
< Date: Fri, 13 Apr 2018 23:03:58 GMT
< Transfer-Encoding: chunked
<
<!DOCTYPE html>
<html lang="en">
...

Note the incorrect content type.  There actually are two different content-type headers.  The one that I set, and for some reason "application/json".  When I attempted to change the status code during troubleshooting, it always returned status code 200.
This is a major problem that makes SAM Local nearly useless for local development, and we have been forced to resort to using AWS Lambda for development.  Because we don't have a way to simulate Lambda + API Gateway in development with our Node 8.10 code.

After some more reading in the issues here, this issue might be a duplicate of #325.

I found a workaround that got me back to development.  Until somebody can fix SAM Local.
If you're having trouble doing development on a non-JSON response, then you might want to try one of the Google Chrome extensions that can modify the response headers.  I used one called Requestly.
I had to configure one modification setting in that extension for each Lambda function that I'm working on.  I added the partial URL path, then selected "response" headers, "modify", and I told it to set the "Content-Type" header to "text/html".
This isn't pretty.  But the alternative for me right now would be callback hell, instead of using async / await in Node 8.10.  So at least this keeps me moving forward.

This should be fixed in our newest release: https://github.com/awslabs/aws-sam-cli/releases/tag/v0.3.0
Please feel free to reopen if the issue persists.


[New Feature]: Animated cursor

🎮 feature Request
I would like to add animated cursor feature
It will enhance the UI of the website
Point down the features
Like this.
https://github.com/ChromeGaming/Community-Page/assets/85826117/26eb10aa-4d3b-4df8-8a00-465ef37f55ae
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@Manaregr8 Thankyou for assigning me this issue.
This is an advance level task since i need to write function for the coordinates and add the styles as well. Please review it once and assign it to level 3 if you find it  advance too as well

hi @Ridhima10 ,
Go for it

@Manaregr8  Thankyou so much


ci(add-word): fix labels

It was wrong.

Memo: The command I used to replace the labels of the existing PRs.
gh pr list -s closed -l bot -l dependencies --json number --jq ".[].number" | xargs -I {} gh pr edit {} --add-label words --remove-label dependencies


Change links & code owners

Changes proposed in this Pull Request:

Update all links to point to our GitHub enterprise org
Remove Evan & update code owner user names

Is this the plan for changing all closed issues and updating all the links?

@JeffGreiner-eaton, What do you mean by "changing all closed issues"?

@JeffGreiner-eaton, What do you mean by "changing all closed issues"?

what you did in this PR. Pointing all the closed issues that are in the change log to GHE...
(#530)
to
(#530)

I did it yesterday after I eventually understood what CI is telling me

Hmmm, still not luck.  I cannot re-run the pipeline myself, the option to do that is disabled for me.  After you re-auth, are you able to see this pipeline running?


AdMaven links (mostly for NSFW)

Link
https://kmendation.com/s?DtIj
Version
Manifest-v3
What browser(s) are you using?
Firefox browsers
What platform are you using?
Computer (Windows, Linux, MacOS)
(Optional) Anything else?
In case this helps:

currently existing bypass for this is only bypass.city or userscripts that redirect there
Also, there are some uBlock Origin filters that sort of work for Firefox (but the domain names need to be updated): https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-9392257
these links are commonly used in telegram groups (like https://t.me/leakedmegas, https://t.me/onlyfansleaks420, https://t.me/onlyfansxmega1, ...) to link to mega folders with NSFW stuff from onlyfans
this issue https://github.com/FastForwardTeam/FastForward/issues/1370 is for the same thing

DUpe #1370


Step Priority not applied to Aliases

Having aliases for a step with a higher prio will not prevent the editor for complaining about ambiguous steps, when the alias is used. Apparently, the priority of the main annotation is not applied to the alias.
I will try to fix this tonight.

I've just added priority value on PotentialStep: alias and variants should automatically get the corresponding value for free

see commit


CATE Notebook Error:  econml.dml.DMLCateEstimator is not an existing causal estimator

I was referred to this Jupyter notebook in #88. When I attempt to execute that notebook, I get an error in the first cell that runs model.estimate_effect. It's unable to find DMLCateEstimator. If this is still experimental and in-progress, feel free to disregard and close. I would have PR'd a mod in, but I wasn't able to get it to run EconmlCateEstimator in my experiments.
Cell [7]
from sklearn.preprocessing import PolynomialFeatures
from sklearn.linear_model import LassoCV
from sklearn.ensemble import GradientBoostingRegressor
econml_estimate = model.estimate_effect(identified_estimand, method_name="backdoor.econml.dml.DMLCate",
                                 target_units = lambda df: df["X0"]>1,
                                 confidence_intervals=False,
                                method_params={"init_params":{'model_y':GradientBoostingRegressor(),
                                                              'model_t': GradientBoostingRegressor(),
                                                              "model_final":LassoCV(),
                                                              'featurizer':PolynomialFeatures(degree=1, include_bias=True)},
                                               "fit_params":{}})
print(econml_estimate)

Error
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
~/workspace/dowhy/dowhy/causal_estimators/econml_cate_estimator.py in _get_econml_class_object(self, module_method_name, *args, **kwargs)
     35             (module_name, _, class_name) = module_method_name.rpartition(".")
---> 36             estimator_module = import_module(module_name)
     37             estimator_class = getattr(estimator_module, class_name)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/__init__.py in import_module(name, package)
    125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
    127

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap.py in _gcd_import(name, package, level)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap.py in _find_and_load(name, import_)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap.py in _load_unlocked(spec)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap_external.py in exec_module(self, module)

~/.pyenv/versions/3.6.7/lib/python3.6/importlib/_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)

~/.pyenv/versions/3.6.7/envs/aaa3/lib/python3.6/site-packages/econml-0.5-py3.6.egg/econml/dml.py in <module>
     38 from warnings import warn
---> 39 from .utilities import (shape, reshape, ndim, hstack, cross_product, transpose, inverse_onehot,
     40                         broadcast_unit_treatments, reshape_treatmentwise_effects,

~/.pyenv/versions/3.6.7/envs/aaa3/lib/python3.6/site-packages/econml-0.5-py3.6.egg/econml/utilities.py in <module>
     34 from collections.abc import Iterable
---> 35 from sklearn.model_selection._split import _CVIterableWrapper, CV_WARNING
     36 from sklearn.utils.multiclass import type_of_target

ImportError: cannot import name 'CV_WARNING'

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
<ipython-input-7-ea0f5efeef4a> in <module>
      9                                                               "model_final":LassoCV(),
     10                                                               'featurizer':PolynomialFeatures(degree=1, include_bias=True)},
---> 11                                                "fit_params":{}})
     12 print(econml_estimate)

~/workspace/dowhy/dowhy/causal_model.py in estimate_effect(self, identified_estimand, method_name, test_significance, evaluate_effect_strength, confidence_intervals, target_units, effect_modifiers, method_params)
    186                 target_units = target_units,
    187                 effect_modifiers = effect_modifiers,
--> 188                 params=method_params
    189             )
    190             estimate = causal_estimator.estimate_effect()

~/workspace/dowhy/dowhy/causal_estimators/econml_cate_estimator.py in __init__(self, *args, **kwargs)
     24             raise Exception(error_msg)
     25
---> 26         estimator_class = self._get_econml_class_object(self._econml_methodname+ "Estimator")
     27         self.estimator = estimator_class(**self.method_params["init_params"])
     28         self.logger.info("INFO: Using EconML Estimator")

~/workspace/dowhy/dowhy/causal_estimators/econml_cate_estimator.py in _get_econml_class_object(self, module_method_name, *args, **kwargs)
     38
     39         except (AttributeError, AssertionError, ImportError):
---> 40             raise ImportError('{}.{} is not an existing causal estimator.'.format(module_name, class_name))
     41         return estimator_class
     42

ImportError: econml.dml.DMLCateEstimator is not an existing causal estimator.

Hey @tszumowski thanks for trying this out. This error is likely due to an older version of sklearn/scikit-learn. Can you try updating to the latest version and check again?

@amit-sharma. I was at version 0.22. When I ran pip install --upgrade scikit-learn, it stayed at 0.22. See attached pip-freeze for my full environment.
pip-freeze.txt
I believe the main error may be related to:
ImportError: econml.dml.DMLCateEstimator is not an existing causal estimator.

Not sure if it's related, but If I grep the checkout for DMLCateEstimator, I don't get any source results:
$ rg DMLCateEstimator
docs/source/example_notebooks/dowhy-conditional-treatment-effects.ipynb
259:     "evalue": "econml.dml.DMLCateEstimator is not an existing causal estimator.",
281:      "\u001b[0;31mImportError\u001b[0m: econml.dml.DMLCateEstimator is not an existing causal estimator."

Ah, not sure why you are receiving this error. Can you try this Binder notebook and check if it works for you? https://mybinder.org/v2/gh/microsoft/dowhy/48a7a79a2836454f3f1b95ac0bd2eee4e504cb4f
Let me also try to fix the error message so that they are more informative. Currently the "is not an existing estimator" is a catch-all message that shows up on any exception. The root issue seems to be
~/.pyenv/versions/3.6.7/envs/aaa3/lib/python3.6/site-packages/econml-0.5-py3.6.egg/econml/utilities.py in <module>
     34 from collections.abc import Iterable
---> 35 from sklearn.model_selection._split import _CVIterableWrapper, CV_WARNING
     36 from sklearn.utils.multiclass import type_of_target

ImportError: cannot import name 'CV_WARNING'

which I thought may be due to sklearn. Not sure, let me know if the Binder link works and then we can debug

@amit-sharma
I pulled down the latest from master this morning, started with a fresh virtual environment, and installed with
python setup.py install
pip install -r requirements.txt
pip install jupyter

Then I tried the notebook again. It worked.
Very possible I was in the wrong environment or something. Thanks for the help! I'll close this.

FYI I got the same error as the previous user, but solved it in a different way.
I tried pip install econml I was getting the error:
ERROR: Failed building wheel for shap

This was solved by conda install -c conda-forge shap.
Then I was able to call model.estimate_effect() with "backdoor.econml" (and as an aside I could also import econml within the notebook as well).

Thanks , this worked for me

FYI I got the same error as the previous user, but solved it in a different way.
I tried pip install econml I was getting the error:
ERROR: Failed building wheel for shap

This was solved by conda install -c conda-forge shap.
Then I was able to call model.estimate_effect() with "backdoor.econml" (and as an aside I could also import econml within the notebook as well).

Thanks , This worked for me


set mimaPreviousArtifacts := Set.empty to disable mima checks

mima checks still seem to kick in

Ltgm, although code isn't formatted. Run scalafmtSbt

I've fixed that now


react/prop-types false positive when component is exported to a different name

I have a component that is giving me false positives saying that a proptype is not defined.
'children' is missing in props validation  react/prop-types
Here's an example
import React from 'react';
import PropTypes from 'prop-types';
import makeHoc from './make-hoc';
import selectors from './selectors';

class Foo extends React.Component {
  render() {
    return this.props.children;
  }
}

Foo.propTypes = {
  children: PropTypes.element.isRequired
};

export const Unconnected = Foo; //this line causes the issue
export default makeHoc(
  Foo,
  selectors
);

and it works if I change commented line above to this
export { Foo as Unconnected };

At first I thought #1958 was related but on second look it doesn't seem to be. I also tried downgrading to 7.10.0 and that didn't help.
I don't see anything wrong with that syntax, but please point out if I'm missing something. Thanks!

Certainly the as version is better, since it doesn't create an additional binding inside your module, but the = version should still work.

Agreed. But figured it was still a bug so I'd report it.

Hmm I pasted this entire example as a test for 7.11.1 and it passed

oh cool, according to the build in #2068 this does fail on ESLint 5.

Also, this has been filed before in #1957


implement customizing behavior of shares

Depends on PR #35. Please review that first.
Apologies for the number of patches in this PR. I couldn't see a good point to break this up at. Pretty much all of this is about setting up and maintaining the configmap that configures sambacc (which in turn configures samba and the container env).

Ugh. Bad rebase. Will fix.

Updated.


Squarespace platform update

This PR updates the Squarespace tracking for accuracy and additional product delineation.

@tomccabe - We don't add separate entries for each version. You can extract the version and it's shown next to technology. See example in screenshot. If you need a reference on how to extract version, you can check the entry for 'Vue Storefront' in Github OR look at 'Version Syntax' section here - https://www.wappalyzer.com/docs/dev/specification/

Thanks @rockeynebhwani, I missed that documentation. Tested locally and good to go!


0.19 release notes

Pull request for 0.19 release notes. The PR is made just to make sure all the tests pass on Travis before tagging the release.

Coverage increased (+0.2%) to 57.632% when pulling 4b2549a004bb2af1cb3018cc1d047ec6a49473ce on KennethNielsen:0.19 into e23a162ddd58ea4073e29a9cd60266ca25b66068 on SoCo:0.19.


Support dimod 0.10

Codecov Report

Merging #474 (7849ec8) into master (48e7d52) will increase coverage by 0.13%.
The diff coverage is 83.33%.

:exclamation: Current head 7849ec8 differs from pull request most recent head a14ef54. Consider uploading reports for the commit a14ef54 to get more accurate results

@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
+ Coverage   83.46%   83.60%   +0.13%
==========================================
  Files          16       16
  Lines        2637     2641       +4
==========================================
+ Hits         2201     2208       +7
+ Misses        436      433       -3

Impacted Files
Coverage Δ

dwave/cloud/cli.py
55.92% <0.00%> (ø)

dwave/cloud/computation.py
75.76% <ø> (ø)

dwave/cloud/coders.py
99.28% <100.00%> (+0.02%)
:arrow_up:

dwave/cloud/solver.py
81.27% <0.00%> (+1.12%)
:arrow_up:

Continue to review full report at Codecov.

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


.existed() not working properly in Parse Javascript SDK 1.6.4

In the afterSave of my parse object subclasses, I call .existed() on the request object.
I have had this code for quite a while, but only recently do existing object return false for .existed(). I tried to change the SDK to 1.6.2 and 1.6.0 but still ran into the same issue

Should be resolved in #36

LGTM

@stanleyw @andrewimm I am still experiencing this problem in latest. I had to deploy the SDK to 1.5.0 to get rid of the error

This bug does not seem to be resolved. Please also see: https://developers.facebook.com/bugs/1675561372679121/


Width snaps in to place with switch variant

Internally Switch wraps the content in to an absolute positioned div to farm height information from it. If This content has flex or grid content it might shrink whilst inside the absolute positioned div then snap to its actual width when rendered on to the DOM.
Fix
Set width: 100% on the absolute positioned div to ensure content is as wide as it needs to be.

Released in 4.2.1


Deprecate cx_ecdsa_verify

Description
Deprecate cx_ecdsa_verify, as cx_ecdsa_verify_no_throw exists
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[X] Other (for changes that might not fit in any category)

Codecov Report
Patch and project coverage have no change.

Comparison is base (b2ca981) 69.33% compared to head (059a926) 69.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #439   +/-   ##
=======================================
  Coverage   69.33%   69.33%
=======================================
  Files          11       11
  Lines         874      874
=======================================
  Hits          606      606
  Misses        268      268

Flag
Coverage Δ

unittests
69.33% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[17.09] builder: fix config leakage on shared parent stage

fixes docker/release-tracking#135
@dnephin
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

ping @andrewhsu we should take this one

LGTM


Updated MusicPlayer

Changes:
1)Enhanced UI
2)Updated for latest android (.gradle files and  permissions)
3)nav implementd
4) Glide library for image extaction of music
5)Listing music with total songs
and in the beginning the repo was not maintained properly so i reported that aslo.

@samimshoaib01 the entire codebase itself has been changed.. this is now a new project 😕

@samimshoaib01  Whatever you have made you can make it your own project but this is not acceptable in contrihub. You have clearly changed the sdk version, activity names etc. showing that either you have recoded the app or you have used AI.


Guidance document fix #9

I've begun work on a guidance document. Currently, this mostly likes up with the content from the "Migrate your app to Swift 6" WWDC video. However, I did get into the leaf vs root module problem.
I also have a lot more to do here, but I thought it would be useful to get feedback early. Especailly since @dempseyatgithub had some ideas too.
#46

cc @hborla @ktoso


Allow to circumvent identifying UcoThing's through UUID enforcement for digital resource data

(Submitted by @plbt5  and @ajnelson-nist.)
Background

Currently, UCO must allow for working with data from many different organisations. In order to not enter into a conflict for data uniqueness, it has been decided that data that are to enter the digital CDO-realm must be uniquely identified by an IRI that ends with a UUID. This is being enforced by a SHACL rule applied on each instance of UcoThing to verify the presence of an ending UUID syntax in its URI.
Unfortunately, this rule does not account for data that effectively represent a digital web resource, e.g., <https://caseontology.org/index.html>. For this category of data, adding a UUID to the IRI is invalidating the identification of the web resource, whereas leaving the UUID out would trigger a complaint. Both strategies are impediments to the data interoperability purpose of CDO/UCO/CASE. Moreover, adding a UUID to data that represent a web resource is defeating the point of the rule since web resources are required to be unique in order to be resolvable into a web location. Hence this change request.
We remind us of the distinction that has already been identified by RDF between information and non-information resources. This ended up in RFC9110 HTTP Semantics. We have depicted their application and distinctions in Figure 1 below:

Figure 1 - Information and non-information resources: their relationship and differences
(Note: For the purposes of this proposal, please consider URI and IRI as synonymous.)
The distinction between an Information Resource (IR) and Non-Information Resource (NIR) cannot be determined from the URI itself but from the response that one gets from the server. If the URI concerns a NIR the server cannot respond with data because there does not yet exists something like Elephant-Over-IP or Paul-Over-IP a.k.a. "Beam me up, Scotty" in the protocols. Instead, the server will respond with a HTTP-303 status, redirecting to a URI that is an Information Resource.  Visiting the NIR thus discloses information about the NIR as opposed to the real thing itself.
This distinction is instrumental for a lot of things that are built with RDF(s) and OWL, and it is something that UCO should at least recognize as current practice.
Requirements

Requirement 1
Allow self-identifying information resources to reside in the graph without any additions to, or changes in, their already unique identification.
Requirement 2
Allow to assert the distinction between NIR's and IRs, or allow that a resource can be both.
A resource can be both an IR and a NIR because it can be perceived as an IR or NIR depending on constraints or business rules as implemented by the server, e.g., serving pages in different languages when requested from different geographical locations.
Requirement 3
A single web resource MUST be able to be represented as an IR or an NIR as appropriate at different times, when analysing a cyber incident such as a domain-hijacking.
Solution suggestion

One solution is to apply reification on the digital resources' identifiers as URLs in order to incorporate them into a UCO knowledge graph. And although this might suffice, it seems a bit wasteful to first obfuscate a valid URI for a digital resource into a UUID-ending URI, followed by a pattern to elucidate it again.
We take the distinction between the NIR and IR as the essence to the solution. The implementation would need to introduce the distinction between Non-Information and Information Resources. This would become two additional near-top-level classes, under core:UcoThing.  This would be a nod to the concepts really being RDFS concepts, but not defined with RDFS IRIs.  We should also avoid entailing RDFS semantics of rdfs:Resource being the top-level class, because of the tension such would create with OWL and owl:Thing being the top-level class.
Introducing this distinction within UCO indeed makes it possible to enforce the uniqueness-by-UUID demand for non-information resources only, while still allowing to include information resources by their original URLs. Unfortunately, this does not solve the problem because UCO cannot assume, as RFC9110 HTTP Semantics does, that core:NonInformationResource and core:InformationResource are always disjoint and remain as such. Instead, UCO must follow the reality where an IR can change into an NIR, as explained in Competencies 1 and 2. In these particular cases, the rule "add an UUID for NIRs only" fails.
Therefore, the actual solution is to

inverse the rule as follows: "If the NIR is ever known to be an IR somewhere during its lifetime, excuse it from adding a UUID to its identifier.", and
identify the possibility that a resource can never become an IR.

To that end, we suggest to introduce the following concepts in UCO:
core:NonInformationResource
	rdfs:subClassOf core:UcoThing ;
	.
core:InformationResource
	rdfs:subClassOf core:UcoThing ;
	.
core:NeverInformationResource
	rdfs:subClassOf core:NonInformationResource ;
	owl:disjointWith core:InformationResource ;
	.

We also introduce observable:WebResource as a parent to observable:WebPage, to acknowledge web resources that are not yet known to be an IR or NIR, as well as to show the cyber-domain hijacking event (see Benefits section):
observable:WebResource
	rdfs:subClassOf observable:ObservableObject ;
	.
observable:WebPage
	rdfs:subClassOf observable:WebResource ;
	rdfs:subClassOf core:InformationResource ;
	.

Based on this distinction, the specifications as exemplified in the CQ's become syntactically correct and semantically valid. Visually, this renders as follows:
flowchart BT

  core_UcoThing[core:UcoThing]
  core_InformationResource[core:InformationResource]
  core_NonInformationResource[core:NonInformationResource]
  core_NeverInformationResource[core:NeverInformationResource]
  core_UcoObject[core:UcoObject]
  core_Item[core:Item]
  observable_Observable[observable:Observable]
  observable_ObservableObject[observable:ObservableObject]
  observable_WebResource[observable:WebResource]
  observable_WebPage[observable:WebPage]

core_InformationResource -- ⊂ --> core_UcoThing
core_NonInformationResource -- ⊂ --> core_UcoThing
core_NeverInformationResource -- ⊂ --> core_NonInformationResource
core_InformationResource x-- ⋂=∅ --x core_NeverInformationResource

core_UcoObject -- ⊂ --> core_UcoThing
core_Item -- ⊂ --> core_UcoObject
observable_Observable -- ⊂ --> core_UcoObject
observable_ObservableObject -- ⊂ --> core_Item
observable_ObservableObject -- ⊂ --> observable_Observable
observable_WebResource -- ⊂ --> observable_ObservableObject
observable_WebPage -- ⊂ --> core_InformationResource
observable_WebPage -- ⊂ --> observable_WebResource

Apart from the above additions to UCO, we suggest to perform an initial alignment. The Risks section should make clear the benefit of such alignment, particularly pertaining to some existing practices (outside of UCO) on designating graph nodes with RDF types analogous to UCO's identity:Person and observable:WebPage.
identity:Organization
	rdfs:subClassOf core:NeverInformationResource ;
	.
identity:Person
	rdfs:subClassOf core:NeverInformationResource ;
	.
observable:Device
	rdfs:subClassOf core:NeverInformationResource ;
	.
types:Dictionary
	rdfs:subClassOf core:NeverInformationResource ;
	.
types:Hash
	rdfs:subClassOf core:NeverInformationResource ;
	.
types:Thread
	rdfs:subClassOf core:NeverInformationResource ;
	.

Competencies demonstrated
Competency 1

Assume data that are containing URL's as digital resources, i.e. <https://caseontology.org/index.html>, as well as data that are containing non-information resources, i.e., identity:Organization.
<https://caseontology.org/index.html>
  a observable:WebPage ;
  a core:InformationResource ;   # entailed by the prior line
.

kb:WebPage-d40dd5c8-1f68-490d-b6b8-bd90b1251b4b
	a observable:WebPage ;
	a core:NonInformationResource ;   # not entailed, but is compatible with, the prior line
	core:hasFacet kb:URLFacet-93a3e3c6-77e9-4e0d-99f4-2d0477cd7263 ;
	.

kb:URLFacet-93a3e3c6-77e9-4e0d-99f4-2d0477cd7263
	a observable:URLFacet ;
	observable:fullValue "https://caseontology.org/index.html" ;
	.

Competency Question 1.1
Showing that both can be included in the UCO digital realm, where the NIR must carry a UUID in its identification whereas the information resource does not have the same need.
Show all IRIs that identify a webpage:
SELECT DISTINCT ?u
WHERE {
 ?u a observable:WebPage  .
}

Result 1.1
<https://caseontology.org/index.html>
kb:WebPage-d40dd5c8-1f68-490d-b6b8-bd90b1251b4b

Competency Question 1.2
Show the distinction between the NIR that is requested and the IR that is served about the NIR.
For this distinction to be assessed, we introduce an additional relationship that expresses the HTTP 301 Return Code and allows to construct the following data graph:
<http://caseontology.org/>
  a observable:WebPage ;
  .
<https://caseontology.org/index.html>
  a observable:WebPage ;
  .
kb:Relationship-b42de25e-e0b0-4743-8b05-1ed401ea18ed
  a observable:ObservableRelationship ;
  core:isDirectional true ;
  core:kindOfRelationship "Redirects_To_By_HTTP_301" ;
  core:source <http://caseontology.org/> ;
  core:target <https://caseontology.org/index.html> ;
  .

We formulate the following SPARQL, to find all information resources arrived at by redirection---which suggests an entailment of ?sourceObject being a core:NonInformationResource:
SELECT DISTINCT ?sourceObject ?targetIR
WHERE {
  ?relationship a observable:ObservableRelationship ;
    core:kindOfRelationship "Redirects_To_By_HTTP_301" ;
    core:source ?sourceObject ;
    core:target ?targetIR ;
    .
  ?sourceObject a observable:WebResource .
  ?targetIR a core:InformationResource .
}

Result 1.2

?sourceObject
?targetIR

<http://caseontology.org/>
<https://caseontology.org/index.html>

By being rdf:type'd as a observable:WebPage, both of these IRIs are excused from the UUID review rule, even though ?sourceObject is in this case behaving as a core:NonInformationResource.
Competency 2
Say the webpage of a multilingual company (MC) is being accessed by two market analysts in a multinational organization, who routinely contribute to a shared knowledge base in the organization.  Their offices are in different countries that happen to use languages MC supports, Japan and France.  MC's default language is Japanese.
The Japanese analyst visits the home page, https://mc.example.co.jp/, and is served content from that URL.  The French analyst visits the home page, https://mc.example.co.jp/, and is 303-redirected to https://mc.example.co.jp/lang-fr/ by server-side client-geolocation rules.
Neither analyst knows the other is trying to access https://mc.example.co.jp/.
Competency Question 2.1
What are the representations of the Japanese analyst and the French analyst, using InformationResource, NonInformationResource, NeverInformationResource, WebResource, and/or WebPage?
The Japanese analyst:
<https://mc.example.co.jp/>
	a observable:WebPage ;
	.

The French analyst:
<https://mc.example.co.jp/>
	a
		core:NonInformationResource ,
		observable:WebResource
		;
	.
<https://mc.example.co.jp/lang-fr/>
	a observable:WebPage ;
	.

Even if pooled in the shared knowledge base, this total knowledge view remains consistent (i.e. does not raise SHACL validation errors).
<https://mc.example.co.jp/>
	a
		core:NonInformationResource ,
		observable:WebPage
		;
	.
<https://mc.example.co.jp/lang-fr/>
	a observable:WebPage ;
	.

This provides an example of a web resource that is, by differential service, contingently a InformationResource and/or a NonInformationResource.
Competency Question 2.2
Are the views consistent when pooled into one graph without any notes on time of observation (i.e., does not raise SHACL validation issues)?
Yes.  The testing in PR 610 confirms no SHACL violations are raised.  The visual display of the classes and how this example doesn't hit a class-disjointedness issue is as follows (using "⊂" for subclassing (rdfs:subClassOf), "⋂=∅" for class-disjointedness (owl:disjointWith), and "∈" for instantiation (rdf:type)).
flowchart BT

subgraph TBox
  core_UcoThing[core:UcoThing]
  core_InformationResource[core:InformationResource]
  core_NonInformationResource[core:NonInformationResource]
  core_NeverInformationResource[core:NeverInformationResource]
  core_UcoObject[core:UcoObject]
  core_Item[core:Item]
  observable_Observable[observable:Observable]
  observable_ObservableObject[observable:ObservableObject]
  observable_WebResource[observable:WebResource]
  observable_WebPage[observable:WebPage]
end

subgraph ABox
  wp1[https://mc.example.co.jp/]
  wp2[https://mc.example.co.jp/lang-fr]
end

core_InformationResource -- ⊂ --> core_UcoThing
core_NonInformationResource -- ⊂ --> core_UcoThing
core_NeverInformationResource -- ⊂ --> core_NonInformationResource
core_InformationResource x-- ⋂=∅ --x core_NeverInformationResource

core_UcoObject -- ⊂ --> core_UcoThing
core_Item -- ⊂ --> core_UcoObject
observable_Observable -- ⊂ --> core_UcoObject
observable_ObservableObject -- ⊂ --> core_Item
observable_ObservableObject -- ⊂ --> observable_Observable
observable_WebResource -- ⊂ --> observable_ObservableObject
observable_WebPage -- ⊂ --> core_InformationResource
observable_WebPage -- ⊂ --> observable_WebResource

wp1 -- ∈\n(per French analyst) --> core_NonInformationResource
wp1 -- ∈\n(per French analyst) --> observable_WebResource
wp1 -- ∈\n(per Japanese analyst) --> observable_WebPage
wp2 -- ∈\n(per French analyst) --> observable_WebPage

Risk / Benefit analysis
Benefits

Due to the distinction made between URLs that are already unique because available in the digital realm as resolvable resources, there is no need to alter their identifying URL;
A modeling benefit is this opens up modeling, e.g., differential server behaviors.  This also exposes semi-rigidity of InformationResource as a class, which is a fundamental security concern of the web.  E.g. this is true today, because if you visit the latter URL, that's the document you're served. Suppose something wretched happens and you visit the latter URL (.../index.html) tomorrow and encounter this:

kb:Relationship-89d3ae49-ab75-4689-886f-ad018a3fadbb
  a observable:ObservableRelationship ;
  core:isDirectional true ;
  core:kindOfRelationship "Redirects_To_By_HTTP_308" ;
  core:source <https://caseontology.org/index.html> ;
  core:target <https://caseontology.org/something_really_wretched.html> ;
  .

It is likely worthwhile being able to model those two web pages as direct graph individuals, <https://caseontology.org/index.html> and <https://caseontology.org/something_really_wretched.html>, e.g. for describing the non-continuous time intervals in which they resolve.
Risks
The risks associated with this change is related to services that are not enforcing a correct interpretation of the distinction between NIRs and IRs. In those cases, resources that are NIRs in actuality but are served by the service by returning information about the resource as opposed by inserting a HTTP-301 status, imply that the resources are IRs, ruining the aforementioned distinction.
For instance, suppose a personnel indexing service is deployed that uses home pages as person identifiers for an example organization:
<http://example.org/~bob> a foaf:Person .

Suppose also that http://example.org/~bob, when visited, is served as HTML in a browser.
This service cannot integrate into an environment where information resources and non-information resources are held disjoint.  foaf:Person is one of the typical examples of a non-information resource.  The home page for Bob is an information resource.
Integration of such a data source would need to split the (generic) resource http://example.org/~bob into independent entities, likely that follow the UCO UUID IRI naming scheme.
<http://example.org/~bob>
	a observable:WebResource ;
	rdfs:seeAlso
		kb:Person-a3d3af3d-ea1d-47f6-bc02-ac334ded6549 ,
		kb:WebPage-1c05c378-124e-4d3c-898a-fb5a8d178cf8
		;
	.
kb:Person-a3d3af3d-ea1d-47f6-bc02-ac334ded6549
	a identity:Person ;
	rdfs:seeAlso <http://example.org/~bob> ;
	core:name "Bob" ;
	.
kb:WebPage-1c05c378-124e-4d3c-898a-fb5a8d178cf8
	a observable:WebPage ;
	rdfs:seeAlso <http://example.org/~bob> ;
	.

Coordination

Tracking in Jira ticket OCUCO-317
[x] Administrative review completed, proposal announced to Ontology Committees (OCs) on 2024-06-28
[ ] Requirements to be discussed in OC meeting, 2024-07-16
[ ] Requirements Review vote has not occurred

[ ] Requirements development phase completed.
[ ] Definition strings added to PRs.
[ ] Solution announced to OCs on TODO-date
[ ] Solutions Approval to be discussed in OC meeting, date TBD
[ ] Solutions Approval vote has not occurred

[ ] Solutions development phase completed.
[ ] Backwards-compatible implementation merged into develop for the next release
[ ] develop state with backwards-compatible implementation merged into develop-2.0.0
[ ] Backwards-incompatible implementation merged into develop-2.0.0 (or N/A)
[x] Milestone linked
[ ] Documentation logged in pending release page
[ ] Prerelease publication: CASE develop branch updated to track UCO's updated develop branch
[ ] Prerelease publication: CASE develop-2.0.0 branch updated to track UCO's updated develop-2.0.0 branch

This proposal was announced for committee discussion last Friday, slated for July 16.
I forgot to note, the structure of this proposal changed slightly.  Paul and I found it beneficial to move the Solution Suggestion up higher in the proposal before going through its implications.

After discussion with @plbt5 , we concluded that as we wrote this over several weeks, it evolved into two proposals of sufficiently different purposes that it should be split.  I'm closing this issue so it can be split.


Improve filters UI for topic -> messages page

Issue submitter TODO list

[X] I've searched for an already existing issues here
[X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?
UI needs to be fixed in topic -> messages page

Describe the feature you're interested in

I should be able to edit the filter
Search bar is not designed to handle multiline, actually don't think the filters should be filled in the search bar

Describe alternatives you've considered
No response
Version you're running
0.71
Additional context
No response

up


Why is it that every time you open a new web page, you jump to the home page to select the application interface?Repeat again, will normal jump?

And once again, you can get a normal bar

Hi @shijg
No idea what it is you're asking.
Please feel free to reopen the issue with clarification.


Fixing CelShader path

I accidentally created a ReSSources (with two S) folder where the HLSL file was. Now the HLSL file is in Resources folder and I updated its paths in the operator

Thanks!


'key already in dictionary' while analyzing bytecode

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

I got an error of
AssertionError: Failed in nopython mode pipeline (step: analyzing bytecode)
key already in dictionary: '$phi22.0'
when the below code was run
import numba as nb
from numba.experimental import jitclass
from collections import OrderedDict

spec = OrderedDict()
spec['member'] = nb.b1

@jitclass(spec)
class NbClass:
    def __init__(self):
        self.member = True

sig = nb.i8(NbClass.class_type.instance_type, NbClass.class_type.instance_type)

@nb.jit(sig, nopython=True)
def func1(ins1, ins2):
    for k in range(10):
        if ins1.member:
            pass
        if ins2.member:
            pass
    return 1

if __name__ == '__main__':
    nb_ins1 = NbClass()
    nb_ins2 = NbClass()
    ret_val = func1(nb_ins1, nb_ins2)

The whole error infomation is
Traceback (most recent call last):
  File "E:/Proj/Python/numbadebug/n49/mini_rep.py", line 16, in <module>
    @nb.jit(sig, nopython=True)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\decorators.py", line 198, in wrapper
    disp.compile(sig)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\dispatcher.py", line 794, in compile
    cres = self._compiler.compile(args, return_type)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\dispatcher.py", line 77, in compile
    status, retval = self._compile_cached(args, return_type)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\dispatcher.py", line 91, in _compile_cached
    retval = self._compile_core(args, return_type)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\dispatcher.py", line 109, in _compile_core
    pipeline_class=self.pipeline_class)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler.py", line 568, in compile_extra
    return pipeline.compile_extra(func)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler.py", line 339, in compile_extra
    return self._compile_bytecode()
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler.py", line 401, in _compile_bytecode
    return self._compile_core()
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler.py", line 381, in _compile_core
    raise e
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler.py", line 372, in _compile_core
    pm.run(self.state)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_machinery.py", line 341, in run
    raise patched_exception
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_machinery.py", line 332, in run
    self._runPass(idx, pass_inst, state)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_machinery.py", line 291, in _runPass
    mutated |= check(pss.run_pass, internal_state)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\compiler_machinery.py", line 264, in check
    mangled = func(compiler_state)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\untyped_passes.py", line 86, in run_pass
    func_ir = interp.interpret(bc)
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\interpreter.py", line 116, in interpret
    flow.run()
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\byteflow.py", line 137, in run
    out_states = state.get_outgoing_states()
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\byteflow.py", line 1298, in get_outgoing_states
    self._outgoing_phis[phi] = edge.stack[i]
  File "D:\ProgramData\Anaconda3\envs\numba49\lib\site-packages\numba\core\utils.py", line 309, in __setitem__
    raise AssertionError("key already in dictionary: %r" % (key,))
AssertionError: Failed in nopython mode pipeline (step: analyzing bytecode)
key already in dictionary: '$phi22.0'

I also tried previous versions, found that version 0.46.0 and previous versions (e.g. 0.44.1) are worked. However, starting from 0.47.0 it raises error.
The main part is not necessary to trigger the error, as the signature of the function is explicitly expressed. If the signature is removed, then the main part is needed to reproduce the error.
I tried my best but didn't find a more concise program to reproduce the error.
Is this an issue easy to deal with?

Thanks for the report, I can reproduce, this is a smaller reproducer:
from numba import njit

@njit
def foo():
    for k in range(0):
        if 1 == 1:
            ...
        if 'a' == 'a':
            ...
foo()

cc @sklam

Seems like having a break inside of an except block also produces this error:
@numba.njit
def foo():
    for i in range(5):
        try:
            print('main block')
        except Exception:
            print('handler block')
            break

AssertionError: Failed in nopython mode pipeline (step: analyzing bytecode)
key already in dictionary: 64

Hi,
in my own project, I have a very big function foo() and several dictionaries.
I face also a key already in dictionary message.
Is there any possibility how I can get the exact position in my code  where the inconsistency happened / the name of the dictionary?

Hi,
in my own project, I have a very big function foo() and several dictionaries.
I face also a key already in dictionary message.
Is there any possibility how I can get the exact position in my code  where the inconsistency happened / the name of the dictionary?


Audio Source for Blerp.

This PR adds support for Blerp.com Soundbites. This can be used by devs to for example translate blerp twitch redemptions to playable Audiotracks on Discord.

thanks for the pr, but we do not accept any new sources unless there is a good reason for it.
Accepting new sources comes with the burden of maintaining those.
Keep in mind, this does not stop you from publishing this as a standalone maven artifact for others to use. If you need help with that feel free to join our discord server & ask for help.


Download only a single DASH representation

We have an app that streams DASH/Widevine content. The app also allows for downloading of the content for the user to view offline. I have been tasked with either increasing the download speed and/or decreasing the time taken for a download to complete.
I have noticed that when we download the content, all chunks from all representations inside the adaptationSet's in the dash manifest are obtained.
<AdaptationSet id="3" group="2" contentType="video" par="16:9" minBandwidth="196124" maxBandwidth="3192361" maxWidth="1280" maxHeight="720" segmentAlignment="true" sar="1:1" frameRate="25" mimeType="video/mp4" startWithSAP="1">

	<!-- ContentProtection / Role / SegmentTemplate sections removed for brevity -->

	<Representation id="video=196124" bandwidth="196124" width="512" height="288" codecs="avc1.4D401F" scanType="progressive">
	</Representation>
	<Representation id="video=368039" bandwidth="368039" width="512" height="288" codecs="avc1.4D401F" scanType="progressive">
	</Representation>
	<Representation id="video=417021" bandwidth="417021" width="512" height="288" codecs="avc1.4D401F" scanType="progressive">
	</Representation>
	<Representation id="video=1011188" bandwidth="1011188" width="896" height="504" codecs="avc1.4D401F" scanType="progressive">
	</Representation>
	<Representation id="video=1548849" bandwidth="1548849" width="896" height="504" codecs="avc1.4D401F" scanType="progressive">
	</Representation>
	<Representation id="video=3192361" bandwidth="3192361" width="1280" height="720" codecs="avc1.4D4028" scanType="progressive">
	</Representation>
</AdaptationSet>

This doesn't happen when the content is streamed online, as the player only fetches the representation it needs for playback - these may change during playback, but that's irrelelvant for this question.
Is there a way in which I can configure exoplayer to only get the highest supported representation for the device at the time of download? I've tried to configure the track selector parameters with what I believe should do what I'm asking but this didn't seem to have any effect, as all the listed representation chunks were again downloaded.
    trackSelector.getParameters.buildUpon()
        .setAllowMultipleAdaptiveSelections(false)
        .setForceHighestSupportedBitrate(true)
        .build()

Is this possible?
Are there other places I should look?
Is there other terminology used in the exoplayer library that I should be using for this task?

It's definitely possible and the recommended way for downloading adaptive content.
I assume you are using DownloadHelper if not please give some more details how you attempt to download.
I then would add your media to the demo app and use the download there to see whether it downloads quicker than with your implementation (choosing the lowest quality will tell quickly I think): https://developer.android.com/guide/topics/media/exoplayer/demo-application
If this works in the demo app, I'd recommend looking into the DevGuide about downloading adaptive content if you haven't already.
If all of this does not help. update your post with a bit more details about how you download (what API are you using and the like).

Hmm, yeah. Not sure. sry.
What version of ExoPlayer are you using, btw? I think there were some changes since the version you are using.
The TrackSelectionDialog of the most recent demo app is using TrackSelectionParameters.Builder when the user clicks the ok button to select tracks. I think that got changed/renamed since the version you are using.  But it should be pretty much the same. The result is a TrackSelectionParameters object that is passed to the DownloadTracker that does the same that you do:
for (int periodIndex = 0; periodIndex < downloadHelper.getPeriodCount(); periodIndex++) {
  downloadHelper.clearTrackSelections(periodIndex);
  downloadHelper.addTrackSelection(periodIndex, trackSelectionParameters);
}

I guess, before I start lying,  I should re-assign to someone who was working with track selection recently.

Thanks @marcbaechinger. We're using V2.16.1.
I know we should upgrade, but I was thinking that perhap this wouldn't be so time consuming to resolve, and then with more time I could look to upgrade and evaluate all the new features etc.

👋


Support custom layout

Similar to how #19 can be used to reduce the overhead of frequently occurring values with very little actual data, another mechanism can reduce the overhead of value types even more.
The example given in #19 is actually a little bit artificial, since I usually end up adding a custom converter for my (usually) tiny value types.
With a custom converter, the data otherwise serialized as
{
	"$type": "SomeProject.SomeComponent.SomeNamespace.Values.Date, SomeProject.SomeComponent",
	"Day": 3,
	"Month": 3,
	"Year": 2016
}

is serialized as
"2016/3/3"

(which can be done because JSON.NET can infer the type Date and the custom converter has all the necessary serialization roundtripping code).
Could it be an idea for Wire to support something similar, so that the data otherwise serialized as
SomeProject.SomeComponent.SomeNamespace.Values.Date, SomeProject.SomeComponent
08 # int
0003
08 # int
0003
08 # int
07E0

could be reduced to
*Date
07 # string
??? # some length stuff
20160303 # the actual string

?

This is already supported through surrogates.
See https://github.com/rogeralsing/Wire/blob/master/Wire.Tests/SurrogateTests.cs for some examples.
Surrogates allow you to replace the type being serialized with a custom one which is more wire friendly. just like the example above.
This is bidirectional so you can go from real type to surrogate and from surrogate to real type when serializing/deserializing.

:+1: I was confused by the surrogates, but now I get it :smile:


How do I respond to an incoming event with data?

I think the problem is not solved. I also came across this and did not find an answer.
When receiving an event, you need to respond to it with data, for example, how it is implemented in the JS version:
socket.on("hello", (arg, callback) => {
  console.log(arg); // "world"
  callback("got it");
});

https://socket.io/docs/v4/#acknowledgements
Can you tell me how to implement this?
Please help, this is a critical thing for me.
Originally posted by @mars1211 in https://github.com/1c3t3a/rust-socketio/issues/95#issuecomment-1469461963

@1c3t3a Would an implementation with the following API be an acceptable solution?
.on("some_message", |payload, client| {
    async move {
        match payload {
            Payload::Binary(_) => todo!(),
            Payload::Text(t) => todo!(),
            Payload::TextAck(t, ack) => {
                client.send_ack(json!({ "ack": "yes" }), ack).await.ok();
            }
        };
    }.boxed()
})

Basically, new TextAck and BinaryAck payload types that indicate the sender expects an acknowledgement to be sent.


Define user-generated content comments

From the discussion in #53 an important side-track has spun up:

Also, comments (which you have in content) are a completely separate thing (aka neither content nor asset) that I am working to define (as part of the Collaboration pieces of ACP). A comment (not unlike a layer or artboard) is a container for content/assets, not a type of either.
FYI: The basis for the model for comment is https://www.w3.org/TR/annotation-model/ - the W3C standard model for annotations/comments on which the ACP commenting system (aka RedHawk) is based.
— @lrosenth

This is coming just at the right time, because the type of comment that I had in mind when I suggested /content/usergenerated-comment.schema.json is a type of user generated content that you would make as a reader in response to a blog post or facebook post. (the stuff that people refer to when they say "always skip the comments")
The type of comment that @lrosenth seems to have in mind is more an editorial comment that is part of the production of an asset (but can also be applied to content, as illustrated by annotations in AEM).
It is clear that we have another example of the duality that we've already seen between @noahe's collaboration profile and @kstreete's customer/visitor profile.
Let's identify the commonalities and differences between the approaches taken in collaboration systems and moderation systems and define a schema for user-generated content comments, as opposed to the collaboration comments defined in #65 – but ideally with enough overlap and use of a common base model like the W3C Annotation Model

@trieloff Nino Walker and I have been talking about this in email and it's a complex problem since in some systems a comment's body can have any type of UGC present - and then how is it not an asset (or something large in itself).  Definitely glad you put this back in play...but I don't see us resolving this one soon.
Also DC has chosen to punt on these for our June release (for this and other reasons)

Summoning @ninowalker

in some systems a comment's body can have any type of UGC present - and then how is it not an asset (or something large in itself).

I'd see two ways to start here:

build up: UGC is author + time + comment + extra and we gradually let extensions define extra, starting without any extras like attachments, links, etc.
narrow down: UGC is author + time + content, and we start by defining different types of content, including plain comment, file, etc.

the problem that @ninowalker and I identified is that comment/content is the same thing, since even just supporting "rich text markup" (eg. bold, italics) on your comments - which some might say is table stakes - makes it content and not comment (in your definition).  The W3C has great work here on schemas for comments and it is what I plan to use as the basis - but as it is general purpose, it needs some tightening into our usage...


Update project name on new release if release name is equivalent

Fixes #4680, fixes #5190.

No longer blocked!

Thanks @kwasielew!


how to watch service?

I believe you already figured out this but still I think this should work for you
const consul = new Consul({})

 const watch = consul.watch({
  method: consul.health.service,
  options: {
    service: "service-name",
    tag: "dev",
  },
});

watch.on("change", data => {
    console.log(data)
});

watch.on("error", err => {
  console.log(err);
});


Remote notifications

Hey it would be good if we had the option to also register users for remote notifications on iOS
application.registerForRemoteNotifications()

This is out of the scope for this plugin, since the objective is to know what is the status of the notifcation permission

Well, the readme description states otherwise:

Package to check for and ask for Notification Permissions on iOS and Android.

with two main functionalities of the library,
Checking Notification Permission Status and Requesting Notification Permissions
In my opinion it's a dealbreaker to have to look for another package just to enable remote notifications.
I think it would be as simple as having another option on the iOS Settings asking if remote notifications should also be enabled


vite-plugin-pug doesn't respect the root configuration of vite.

The vite-plugin-pug always loads file relative from process.cwd(), and ignores the configuration of vite.

any solutions?


19043.1023 is not supported

It does not work on Windows 10, 21H1, 19043 build 1023

19043.1023
19043.1023.zip

19043.1023
19043.1023.zip

Finally, thanks mate, IDK why the wrapper shows new 19043.1023 as 19041.1023, but this is working ;) .

19043.1023
19043.1023.zip

Thanks a lot! It works well!

19043.1023
19043.1023.zip

Thanks a lot! It works well!

You're welcome. Close the issue if it work for you

19043.1023
19043.1023.zip

Thanks a lot! It works well!

IDK why the wrapper shows new 19043.1023 as 19041.1023


Bug when copying entities to new file

Hello,
I'm getting the following exception:
System.ArgumentException: 'An item with the same key has already been added. Key: 2890'
The complete message:
System.ArgumentException
HResult=0x80070057
Message=An item with the same key has already been added. Key: 2890
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException[T](T key)
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)    at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
at ACadSharp.IO.DWG.DwgObjectWriter.writeReactorsAndDictionaryHandle(CadObject cadObject)
at ACadSharp.IO.DWG.DwgObjectWriter.writeEntityMode(Entity entity)
at ACadSharp.IO.DWG.DwgObjectWriter.writeCommonEntityData(Entity entity)
at ACadSharp.IO.DWG.DwgObjectWriter.writeSolid(Solid solid)
at ACadSharp.IO.DWG.DwgObjectWriter.writeEntity(Entity entity)
at ACadSharp.IO.DWG.DwgObjectWriter.writeBlockEntities()
at ACadSharp.IO.DWG.DwgObjectWriter.Write()
at ACadSharp.IO.DwgWriter.writeObjects()
at ACadSharp.IO.DwgWriter.Write()
at Program.$(String[] args) in C:\dev\MySolution\MyProject.Console\Program.cs:line 22
Here is my code:
using ACadSharp;
using ACadSharp.IO;

Console.WriteLine("Hello, World!");

string sourceFile = @"C:\dev\tablet.dwg";
string targetFile = @"C:\dev\just a drawing222.dwg";

using (DwgReader reader = new DwgReader(sourceFile))
{
    CadDocument doc = reader.Read();
    CadDocument newDoc = new CadDocument();

    foreach (var entity in doc.Entities)
    {
        doc.Entities.Remove(entity);
        newDoc.Entities.Add(entity);
    }

    using (DwgWriter writer = new DwgWriter(targetFile, newDoc))
    {
        writer.Write();
    }
}

Im using ACadSharp 1.0.0, but in the ACadSharp 2.4.0-beta the same thing happend.
tablet.zip
I got this error with a file from work, but I can reproduce it with the file above, that I got from AutoCAD Sample Files.
Saving the file with "DxfWriter" almost works. It executes, but the output file is not great. There are texts wich are deslocated and hatches doesn't seem to be there.

Hi @thaiguer,
I've found an issue when writing the entity type Solid, I'll open a branch to solve the issue.
As for the missing entities when rewriting the file, I'll open an exploration branch to see what's going on.
Thanks for the report!


Broken Item Renderer

Can you make the coral and other foliage stuff make render as 2D like in vanilla?
Also can you make the oyster scale bigger in GUI? Same for starfish.

Already on todo, i literally said that last night to you...

Wheres the todo

lol, in my head

whats the link to that


Fix/simplify some of our macro definitions

+- Remove incorrect code making %check nonfatal (EDIT: this commit removed/deferred)
+- fix %_topdir macro
+- remove %_lib and %_lib64 macros (EDIT: this commit removed/deferred, with added comment to macros file)
+- remove %_docdir
+- remove redundant macros
EDIT: added commit to replace several hardcoded /usr/src/mariner uses in the toolkit
See specific commits for details.

hash for macros should be 2fd9d7600f1c5c1abcf2c7eddba05eb52eca24be60d916163e1fedbac8abac97 by the looks of it.

hash for macros should be 2fd9d7600f1c5c1abcf2c7eddba05eb52eca24be60d916163e1fedbac8abac97 by the looks of it.

ack, i always forget to update it since the files are checked into git and don't really need to be in the 'signatures' file.
updated in latest push

started a new full pipeline buidl https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516812&view=results

looks like we can't remove our custom %_lib just yet as there's some places hardcoded to /usr/lib (during package build/install, so the merged-usr doesn't help at that point)
new pipeline https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516868

pipeline build https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516880&view=results

https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516943&view=results

another pipeline run after the rebase https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516985&view=results

another pipeline run after the rebase https://dev.azure.com/mariner-org/mariner/_build/results?buildId=516985&view=results

Pipeline failed, but I'm not sure it's related to this PR... @anphel31 I've seen this a few times:
time="2024-02-29T18:20:09UTC" + /usr/lib/rpm/mariner/brp-python-bytecompile /usr/bin/python3 1 0
time="2024-02-29T18:20:09UTC" /usr/var/tmp/rpm-tmp.idVeEg: line 561: /usr/lib/rpm/mariner/brp-python-bytecompile: No such file or directory
time="2024-02-29T18:20:09UTC" error: Bad exit status from /usr/var/tmp/rpm-tmp.idVeEg (%install)

I don't see anything in filesystem.spec that would have affected this lately...

another pipeline run https://dev.azure.com/mariner-org/mariner/_build/results?buildId=518491&view=results
@dmcilvaney I think this is just waiting on your review

another rebase, and another pipeline run: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=523385&view=results
@dmcilvaney i think this is just waiting on your review?

@anphel31 Any idea on this one? https://dev.azure.com/mariner-org/mariner/_build/results?buildId=523388&view=logs&j=db98f19e-da46-5e4d-a4ba-372cf3771a92&t=8831c5ce-9476-5d69-9bf5-bfd7485723f1&l=225727


bundlestore: added http retries. Also added Controller.Release().

Should be a quick 'lgtm', as usual I'll add tests before landing.

Codecov Report

Merging #267 into master will increase coverage by 0.02%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
+ Coverage   59.84%   59.86%   +0.02%
==========================================
  Files          88       88
  Lines        5444     5462      +18
==========================================
+ Hits         3258     3270      +12
- Misses       1891     1896       +5
- Partials      295      296       +1

Impacted Files
Coverage Δ

runner/runners/chaos.go
38.18% <0%> (-2.21%)
:arrow_down:

sched/scheduler/stateful_scheduler.go
71.54% <100%> (+0.15%)
:arrow_up:

runner/runners/queue.go
80.72% <58.82%> (-2.08%)
:arrow_down:

snapshot/bundlestore/http_store.go
65.71% <60%> (-0.96%)
:arrow_down:

common/stats/stats.go
65.02% <0%> (+1.63%)
:arrow_up:

common/stats/stats_time.go
50% <0%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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

I'm a bit confused on the Release() method... who is calling it when? and I see it being called from statefulScheduler, but don't see it in the Thrift interface.

Release is called by stateful_scheduler as you said. This is about releasing runner resources that are local to the process, and we leave remote alone, which is fine since we aren't actually promising an equivalence between Service and Worker. I'll clarify that these are process-local resources.


Broken next/previous blog post links

The navigation links to switch to the next/previous blog posts are broken and result in a 404. This is likely due to the recent change to update the blog posts file structure.
This should be fixed such that these links work.

Fixed in fa0bd9522777af6a74eae88fd4a4b59e1b5085e7.


syscall.Select prototype differs on OSX

this
n, err := syscall.Select(socket+1, nil, wfdset, nil, &timeval)
works on linux but on OSX it only returns err

You didn't say what type of error. Runtime error, compiler error?
There's not enough info here to help.
But in general, we make no promises about the syscall package. It's not portable. It contains sharp edges and you're on your own when you're in there.

Ok to clarify it doesn't compile because it is only returning a single error parameter.
I would have expected it to at least match the prototype and also return an int.

Oh well. Can't change it now.


Fix/static verification

This PR adds a static verify method and brings in changes from fix/verification which includes:

adding LRU cache
error if arguments are missing
removal of unused import/export methods
add webpack config

Looks good to me 👍 Note that this PR doesn't add LRU as in the description (remnant of #7 I believe).

Let's wait merging this until everything else has been bubbled upstream and tested for the new AC.

Woops you're right forgot to pull latest changes from fix/verification before branching. Shall I rebase?

That would be good (assuming we need those changes).


Incorporate /storage into tutorial

In README.adoc the section "Make the application executable" can't be completed without /storage in place i.e. there needs to be a section for adding the files in src/main/java/hello/storage.
Sorry about the confusion.

What is "/storage"? What do you have to do to put it "in place"? (I don't have to do anything special. Just run the app from the command line.)

I think ptMcGit maybe is refering to the documentation https://spring.io/guides/gs/uploading-files/ and the fact that you have to get the storage files from repo while the controller for instance is available from the article.

I see. There is a StorageService in the sample app that isn't mentioned anywhere in the text.

up this issue. C'mon man!!!


2023-06-29 (29 Jun 2023) - Morphir Project Meeting

Date
Thursday 29 Jun 2023 - 11am ET / 3pm UK
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene, roll call, welcome new people (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve previous meeting minutes - https://github.com/finos/morphir/issues?q=is%3Aissue+is%3Aclosed+label%3Ameeting
[ ] Add Items Here
[ ] AOB, Q&A & Adjourn (5mins)

Zoom info

https://zoom.us/j/95452540437?pwd=TEk0bitJcVFsK3lrWVZCYmxyTm5LZz09
Meeting ID: 954 5254 0437
Passcode: 778814

Dial-in

Find your local number: https://zoom.us/u/aFGSSGV9x

Github Repo: https://github.com/finos/morphir/
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

James McLeod / FINOS

Attila Mihaly @ Morgan Stanley

Damian Reeves / Capital One

Edward Peters / Capital One


Update Soundux to 0.2.7

@Henryws I think there is a problem with the pacdeps array. I think pacstall is not downloading the actual package (here: soundux-0.2.7.tar.gz) after pacstall installes the pacdeps dependencies.

pipewire-git i.e. pipewire isn't a hard dependency of soundux, so why is it included here in the pacdeps array?
Citation:

You must either have PulseAudio or PipeWire >= 0.3.26 for the program to function properly. However the PipeWire development headers are needed to compile it.

@Henryws I think there is a problem with the pacdeps array. I think pacstall is not downloading the actual package (here: soundux-0.2.7.tar.gz) after pacstall installes the pacdeps dependencies.

I'll check

Well, we have to wait for pacdeps array to get fixed, and also for #13 to get merged, otherwise this is good

It's working for me

@Henryws okay, then so its a problem with the CI.

@Henryws okay, then so its a problem with the CI.

Yeah, I wouldn't have made a feature if it didn't work


[Charts] Add logVerbosityLevel variable to all Helm charts

What this PR does / why we need it:
This PR adds logVerbosityLevel variable to all Helm charts in this repository. Operators can now choose how verbose they want their logs. Default levels are set to whatever they were before this change.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

not sure the lint issue is related?

@jichenjc it is, no? I haven't incremented chart versions, and it's complaining about it.

@gman0 yes,so please update the version :)

@jichenjc ok I thought it was a pipeline bug that it was still asking for version bump.

Should be ok now. All jobs passed.

I've updated the release note so that it mentions new variable in helm chart values.

thanks ~
/lgtm

Any updates on this pls? @ramineni ?

@gman0 @jichenjc Yes, according to this ,https://github.com/kubernetes/cloud-provider-openstack/pull/1654 , we have decided not to bump version as it causes confusion . We need to fix that not to cause error if there is no version bump.
/cc @lingxiankong

@gman0 @jichenjc Yes, according to this ,#1654 , we have decided not to bump version as it causes confusion . We need to fix that not to cause error if there is no version bump. /cc @lingxiankong

This is weird, according to https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md, the job shouldn't check chart version.

/override openstack-cloud-keystone-authentication-authorization-test

Chart version check fix: https://github.com/kubernetes/cloud-provider-openstack/pull/1691
@gman0 Please remove the version change.

Will do, @lingxiankong. Maybe we can get your fix merged and then I'll rebase this PR?

Will do, @lingxiankong. Maybe we can get your fix merged and then I'll rebase this PR?

its merged

All CI jobs passed. PTAL again.

/lgtm

/approve
Thanks!


Add TestBrokerWithManyTriggers e2e test

As per title and follow up on https://github.com/knative-sandbox/eventing-kafka-broker/pull/2990#issuecomment-1449593699

/test unit-tests

/retest

/retest

/hold
need to work on namespaced broker e2e test

/hold cancel

/assign @pierDipi

/test integration-tests-namespaced-broker
/test upgrade-tests


Python Package Installation Fails

Installing ws-benchmark python package fails due to dependency conflict (see stack trace below).
Tested on system:

OS: ubuntu
Python: 3.8.13
Clean VE

Command to replicate:

pip install ws-benchmark

Stack Trace:
ERROR: Cannot install ws-benchmark and ws-benchmark==1.1.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    ws-benchmark 1.1.1 depends on networkx==2.7
    snorkel 0.9.7 depends on networkx<2.4 and >=2.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Hello! Thanks for your report, this is because Snorkel requires a lower version of pkg networkx, we will fix it later today!
As the issue is fixed, we will inform you in this ticket asap.

Wonderful, thank you!

Hi, Bradley. We have fixed the issue. Sorry for the inconvenience. Thanks for your support.
If you still have problems, feel free to contact us!

Just verified, it's now working! - #25


Add narrow type for UPat.arg

just using int is wrong, what if your const is float or bool?

This is what is currently used in the codebase according to mypy. Should I add float and bool now, or should we do that once it they are used?

What about WMMA? This is just wrong, I don't trust mypy. Look at the types at runtime.


Question

I found that some files are missing in the data file downloaded from BaiduNetdisk. There are 6 files in MSRVTT/annotation/RET (int2word.npy, ref_cpation.json, sent2rolegraoh.augment.json, sent2srl.json and word2int.json), but some are not found in other dataset. For example, there are only 2 files in MSVD/annotation/RET (ref_cpation.json, sent2rolegraoh.augment.json).


[#cleanup] remove unnecessary code

Codecov Report

Merging #6246 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6246      +/-   ##
==========================================
- Coverage   39.63%   39.61%   -0.03%
==========================================
  Files        3051     3051
  Lines       91215    91213       -2
  Branches    11826    11826
==========================================
- Hits        36153    36133      -20
- Misses      52084    52103      +19
+ Partials     2978     2977       -1

Impacted Files
Coverage Δ

...in/mongo/interceptor/MongoRSessionInterceptor.java
0% <ø> (ø)
:arrow_up:

.../mongo/interceptor/MongoCUDSessionInterceptor.java
0% <ø> (ø)
:arrow_up:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0%> (-14.29%)
:arrow_down:

...pc/server/LoggingServerMessageListenerFactory.java
90% <0%> (-10%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
60% <0%> (-6.43%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70% <0%> (-3.34%)
:arrow_down:

...cluster/zookeeper/ZookeeperClusterDataManager.java
52.9% <0%> (-1.94%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.07% <0%> (-0.98%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.92% <0%> (+0.7%)
:arrow_up:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
69.23% <0%> (+2.56%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


the project is not runnable the requirements specified are not configurable with each other and that is creating a lot of issues in the project

..


fix could not find ESRGAN4X problem

the name of ESRGAN4X method has chaned in WEBUI, need update the name of webuiapi's name of ESRGAN

Hi! How are you doing?
Why did you delete the lines of the function "util_get_current_model" from 779 to 785?
I see you finally return "return self.get_options()["sd_model_checkpoint"]"
Thanks,
David Martin Rius

Hi! How are you doing?
Why did you delete the lines of the function "util_get_current_model" from 779 to 785?
I see you finally return "return self.get_options()["sd_model_checkpoint"]"
Thanks,
David Martin Rius

hi there, it's my mistake, i forget to undo this delte

ok @wangzijian1010 , anyway, there is an endpoint to list the available upscalers in /sdapi/v1/upscalers
Also there is an already implemented function for that get_upscalers()
So, the hardcoded upscalers need to dissapear and this pull request is not needed anymore.
Thank you!
David Martin Rius

Well, after reviewing it again it makes sense to have that properties hardcoded in webuiapi.py. Although they can become obsolete at any time. It's good to have them available. And if one stops working it is always possible to call the get_upscalers endpoint and update the list by hand.
If you restore the function util_get_current_model I can add my review to this pull request.
Thank you!

Well, after reviewing it again it makes sense to have that properties hardcoded in webuiapi.py. Although they can become obsolete at any time. It's good to have them available. And if one stops working it is always possible to call the get_upscalers endpoint and update the list by hand.
If you restore the function util_get_current_model I can add my review to this pull request.
Thank you!

hi there!, thank you david, I have restore line 779 to 785 and you can add your review to this pull request, thanks for your reminder, i see your github repo has a lot of ai, can I add you on Skype?

Well, after reviewing it again it makes sense to have that properties hardcoded in webuiapi.py. Although they can become obsolete at any time. It's good to have them available. And if one stops working it is always possible to call the get_upscalers endpoint and update the list by hand.
If you restore the function util_get_current_model I can add my review to this pull request.
Thank you!

hi there!, thank you david, I have restore line 779 to 785 and you can add your review to this pull request, thanks for your reminder, i see your github repo has a lot of ai, can I add you on Skype?

Absolutely, if you wanted you can share your skype id and I will add you in my contact list.
David Martin Rius


Using typings in package.json

This pull request shows what is required to make immutable easily usable with TypeScript >= 1.6.
The key thing is adding the typings field to package.json and pointing it at the index.d.ts file.  This index.d.ts file is different from immutable.d.ts because it does not have a module wrapping it.  The module part is apparently implied when using the typings field.
A few notes.  First, I'm not necessarily advocating for accepting this pull request.  I just wanted to show what was necessary for me to get it working.  With this simple addition to immutable, you can just do this in TypeScript:
import immutable = require('immutable')

After doing an npm install immutable.  There is no need to use tsd or DefinitelyTyped at all.
Another thing to note is that I've copied and pasted most of immutable.d.ts to create index.d.ts.  I recognize this is not very DRY.  I just couldn't figure out a quick and simple way to use a <reference.../> element to avoid this.  But I'm pretty sure it could be done.

Closing since related changes have landed, but thanks for your advocation!


maskromtool: init

Description of changes
Init maskromtool (and myself as a maintainer of), a CAD application to read bits from photographs of silicon.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236922 run on aarch64-darwin 1

Result of nixpkgs-review pr 236922 run on x86_64-linux 1

1 package built:

maskromtool


WinEvent: Now cleaning cloaked windows

Problem: Issue #32 - Windows that have gone invisible keep being enumerated (for example the notification window)
Solution: Remove cloaked windows as well (doesn't look like destroy message is sent when the notification window disappears..)

Merged. Thanks.


Auto adjust arrow orientation if body window is above anchor

Auto adjust arrow if body window is above anchor

LGTM


(I think I) found a bug

I think i found a bug. When i run the following code:
var jsonexport = require('jsonexport');
var invited =
[
{
day : "1",
time : "12:00",
persons :
[
{name: 'Bob',
lastname: 'Smith'},
{name: 'James',
lastname: 'piet'},
{name: "",
lastname: 'Miller'},
{name: 'David',
lastname: 'Martin'}
]
}
]
const options = {fillGaps: true};
jsonexport(invited, options, function (err, csv) {
if (err) return console.log(err);
console.log(csv);
});
The output is:
day,time,persons.name,persons.lastname
1,12:00,Bob,Smith
1,12:00,James,piet
1,12:00,David,Miller
1,12:00,David,Martin
As you can see the third object has an empty string "". But in the output the name "David" is placed. What i expect of course is an empty string.
I hope the explanation is clear.
Thank you in advance,
Piet Kamps

@pietkamps - just downloaded jsonexport myself and encountered the exact same bug.

i have encountered the same bug with my empty strings.
mac os

An online demo tool exists for jsonexport and I used it to check the mentioned data call outs.
Online tool link: https://kauegimenes.github.io/jsonexport/demo/
Here is valid JSON for this tickets mentioned issue. It does NOT convert correctly (bug found)
[
    {
        "day": "1",
        "time": "12:00",
        "persons": [
            {
                "name": "Bob",
                "lastname": "Smith"
            },
            {
                "name": "James",
                "lastname": "piet"
            },
            {
                "name": "",
                "lastname": "Miller"
            },
            {
                "name": "David",
                "lastname": "Martin"
            }
        ]
    }
]

Invalid result line 3:
day,time,persons.name,persons.lastname
1,12:00,Bob,Smith
,,James,piet
,,David,Miller
,,,Martin

Expected Result for line 3:
day,time,persons.name,persons.lastname
1,12:00,Bob,Smith
,,James,piet
,,,Miller
,,,Martin

I don't know when but I will attempt a fix in the near future.
Do you want a fix faster? This code is not that difficult, participate, make a pull request.
NOTE TO SELF: Upgrade demo web page. Don't require just JSON and use eval to cast javascript vars (consider security cost of running eval).

@pietkamps I finally got a little time to catch up with jsonexport :)
I just opened a PR that fixes this issue https://github.com/kauegimenes/jsonexport/pull/67
@AckerApple can you do a code review?

Fix released as version 2.5.0
Please acquire. Please note we are going to a version 3.0.0 soon

NEW: You should be able to jump to this url to see proof of this fix


need to exclude

Hi, I'm coming from blogdown, where I opened the following ticket https://github.com/rstudio/blogdown/issues/334. Basically, if I have an htmlwidget in a blogdown article that depends on Hugo, the resulting html file will contain at least one fairly large script... so much so that for example this short article: https://www.amitkohli.com/2018/09/23/2018-07-07-crime-statistics-in-london/ looks like it would take 2 hours to read! :)
Could it be possible to throw away everything between <script> tags for the word count?
Thanks!

This seems to be related to https://github.com/gohugoio/hugo/issues/3235: plainify does not remove the content of script and style tags as well. The workaround provided there unfortunately doesn't help with the WordCount and ReadingTime...


ModuleNotFoundError: No module named 'pdfminer.high_level'

Bug report
Hi there!
How to reproduce: Literally just import and try to run.
I was following the docs but for some reason I get a ModuleNotFoundError: No module named 'pdfminer.high_level' error when running the script with pytets, importing as ilustrated:
from pdfminer.high_level import extract_text

I am quite certain I've got pdfminer.six installed.
In fact, no matter if I use pipenv or just install the lib on my system I get the same error :cry: .
Anyways, thanks for your help and have a nice day!

Remember kids: it might be called pdfminer.six but pipenv dont really care about dots.
Long story short: you might pip install pdfminer.six but if you use a Pipfile it's pdfminer-six.


Maintenance: Update concurrently

Maintenance update for concurrently, see changelog for more: https://github.com/kimmobrunfeldt/concurrently/releases

selfie


API Docs

Summary
API documentation is required to allow clients to know how to interface with the REST API endpoints of this service.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


worker-rust build command does not work

Because ed70362188046632d76fca4aca0a228b7cbba912 changed the README
This is missing in package.json
"build": "wrangler build"

Also cfg-if = "1.0.0" builds locally without any problem so the bump can be commited

Hello @williamdes! Thanks for creating this issue. The templates have moved to the workers-sdk monorepo, here:
https://github.com/cloudflare/workers-sdk/tree/main/templates
So I'll make a PR to fix this in that repo and close this issue.


xpassed shows up green #58

Change xpass to be displayed in red and xfailed to display in green

I think it might be better if we added new entries to THEME, 'xpassed' and 'xfailed' so the user could customize the colors if needed.

Sounds good to me :)


A BMI calculator.

Title and Issue number
A BMI calculator which is made using HTML,CSS and JS, calculates a persons BMI on the basis of height and weight provided by the user.
Close #533
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have created a helpful and easy to understand README.md

Screenshots

@pranjay-poddar please review my PR.


code coverage: lib/os/fdtable.c

This references issue #17171
Added tests for lib/os/fdtable.c
Signed off by: Cami Carballo<EMAIL_ADDRESS>

This is weird, I'm getting a crash when I enable CONFIG_COVERAGE=y and run this test.
Not sure what is going on yet.
Supervisor thread read address 0x25c0201f
PDE: 0x00 Non-present, Read-only, Supervisor, Execute Enabled
PTE: 0x00 Non-present, Read-only, Supervisor, Execute Enabled
Current thread ID = 0x004080a0 (main)
eax: 0x25c0200f, ebx: 0x00000000, ecx: 0x00408001, edx: 0x00000000
esi: 0x00000000, edi: 0x00004cde, ebp: 0x00416788, esp: 0x00416778
eflags: 0x00000246 cs: 0x0008
call trace:
eip: 0x000074da
     0x00007a69 (0x4191e0)
     0x0000dda1 (0x0)
     0x00004d11 (0x0)
Fatal fault in thread 0x004080a0! Aborting.


Monkey patching a load event is causing an infinite loading in IE11 after using loadCSS

Hi ...
based on the issue I created in https://github.com/addyosmani/critical/issues/264 I can say that monkey patching a load event is making https://github.com/filamentgroup/loadCSS unusable.
loadCSS is used as one of the dependencies of https://github.com/addyosmani/critical
After making a minimal repository (see here: https://github.com/addyosmani/critical/issues/264#issuecomment-352013453) for reproduction and removing load event from ZoneJS it works smooth.

@rokerkony, I will check it, and could you describe the error detail ?  or I just run your repo I can see the error?

you should see an error when you run it in IE11 ... it will load .css fil all over again and again... it is caused by polyfill from loadCSS
the serveDist command needs npm and find so you will need to run it on mac or linux

@rokerkony , could you make a package.json to use ng build without aot and optimizer? So I can check the code more clearly.

@JiaLiPassion should be enough to pull a new version and run
npm run serveDist:notMinified

@rokerkony, I have made a PR to fix this one, thanks for posting the issue, you can update your package.json with
    "zone.js": "https://github.com/JiaLiPassion/zone.js#oneventdist"

for test now.


Metadata display - Creator and author

It seems that the 100 field from MARC is being displayed as both Creator and again as Author in the metadata.

Again, some guidance from @tampakis might be useful, but I think these should probably only come from author_roles_1display


User mode -> VM -> User mode

I've created a library that communicates from usermode to VM and back to usermode over sockets but I'm getting some pretty bad performance (ESP is very slow) and not really sure how I can improve it in anyway.
I know this question isn't directly pointed at a issue with the repo but maybe someone can help and I will open source it.
This is my process:
User mode (Send read request over socket with the data: source address, destination address and size in a packet)
VM (read data using source address and size with vmread library and store address in a buffer)
VM (write data from buffer using vmread library back to user mode destination address with correct size)
User mode now has access to the memory within the process of itself and can draw information to screen.
But this is the point where performance is really bad. I'm guessing its because for every read request I do two operations a read and write but not 100% sure.
More information... I'm using the kernel mode driver

Is there some kind of copy instruction that does both read and write we could use within the VM?

kmod rw has almost zero performance penalty, so I would guess the main bottleneck is your socket communication code. Try optimizing your network setup (use virt-io network card), lower the count of socket calls (have a list of reads packed in one command), generally stay creative.

👍 cheers