Configure Travis to release new tags to PyPI

https://docs.travis-ci.com/user/deployment/pypi/

This was fixed by https://github.com/simonw/datasette/commit/6a32684ebba89dfe882e1147b23aa8778479f5d8#diff-354f30a63fb0907d4ad57269548329e3


Should the REPL store the original input text in history, rather than the formatted version?

When I first tried the uiua repl command, I noticed that once I've written my expression in, say add 1 pick 0 windows 2 [1 2 3 4 5], and then navigated through the REPL history (arrow up, arrow down), the text that would be restored would be the formatted output of what I originally put in, say + 1 ⊡ 0 ◫ 2 [1 2 3 4 5], rather than the original text.
https://github.com/uiua-lang/uiua/assets/56321034/e49cd2f4-1e01-4ac4-8277-f2b151d0c728
Although this makes some sense when looking at it from the 'building my expression up and incrementally adding to the final, formatted result', it arguably messes with the dynamic of typing expressions in because what feels intuitive is that what you originally put in is what you should get back, not an alternative variant of it.

Does this hurt the experience in some way?
I would think you'd want to left-arrow through fewer characters.
The glyph representation is considered canonical. The words are just an entry method.

I wouldn't go as far as to say as it hurting the experience, just being a tad bit unexpected.


Styling specs hidden in analyses

You can style specs by passing keywords to them:
spec(Scatter, markersize = 5)

What if we have an analysis that plots scatter plots and error bars?
mean_and_error = Analysis(function(x, y)
    # compute means and errors...

    # return AoG objects
    style(x, mean) * spec(Scatter) + style(x, error) * spec(LineSegments)
end)

data(x, y) * mean_and_error

How should users then be able to style those two specs?

Here's a real world example I've encountered. How could one style errorbars and scatters differently with the current interface? I don't think it's possible?
function _bootstrapanalysis(x, ys; summary = mean, n = 1000, low = 0.025, high = 0.975)

    bootstrapped_summaries = [
        summary(sample(ys, length(ys); replace = true))
        for _ in 1:n
    ]

    mu = mean(bootstrapped_summaries)
    qs = quantile(bootstrapped_summaries, [low, high])
    lo_hi = (qs .- mu) .* [-1, 1]

    style(x, mu, lo_hi...) * spec(Errorbars) +
        style(x, [mu]) * spec(Scatter)
end

bootstrapanalysis = AlgebraOfGraphics.Analysis(_bootstrapanalysis)

Yes, I have the same issue with the GLM analyses, because they give both a line and an error band object.
It's currently not possible. Do you have suggestions for an API? I was thinking some sort of delta functions, like delta(Scatter) that would only select the scatter component of your plot, but it's still a bit fuzzy in my head.


Break SymbolShim into it's own repository/package

Because there are a few libraries that would want to use Symbol.observable to know how to interop with RxJS 5 (and other Observable libraries). We should split the SymbolShim out into it's own package. This is so other libraries that just want to use Symbol.observable don't need to duplicate code or install RxJS just to do so.

Also found in Falcor itself: https://github.com/Netflix/falcor/pull/699

Latest codebase dropped shim to Symbol via https://github.com/ReactiveX/rxjs/issues/1425, maybe this issue can be closed?

This is already done with http://github.com/blesh/symbol-observable at least to some degree with Symbol.observable.


updating the option by adding new option most searched profile

one more option that is most searched profile option can be also added to easily access any one's github profile.
link : https://github.com/recodehive/awesome-github-profiles/pulls @sanjay-kv

@Aasthaa10 are you working in this? If not @sanjay-kv sir i can work in this

i am currently working n this

i am currently working on this

okay


some params not supported

Describe the bug
/root/pulsar/pulsar-2.9.1-bin/bin/pulsar-admin sources localrun
--source-config-file /root/pulsar/pulsar-2.9.1-bin/connectors/mongo-source-config.yaml
--state-storage-service-url=bk://<IP_ADDRESS>:4181/
Was passed main parameter '--state-storage-service-url=bk://<IP_ADDRESS>:4181/' but no main parameter was defined in your arg class
Run a Pulsar IO source connector locally (rather than deploying it to the Pulsar cluster)
Usage: localrun [options]
Options:
-a, --archive
The path to the NAR archive for the Source. It also supports url-path
[http/https/file (file protocol assumes that file already exists on
worker host)] from which worker can download the package.
--batch-builder
BatchBuilder provides two types of batch construction methods, DEFAULT
and KEY_BASED. The default value is: DEFAULT
--batch-source-config
Batch source config key/values
--broker-service-url
The URL for the Pulsar broker
--classname
The source's class name if archive is file-url-path (file://)
--client-auth-params
Client authentication param
--client-auth-plugin
Client authentication plugin using which function-process can connect to
broker
--cpu
The CPU (in cores) that needs to be allocated per source instance
(applicable only to Docker runtime)
--custom-runtime-options
A string that encodes options to customize the runtime, see docs for
configured runtime for details
--deserialization-classname
The SerDe classname for the source
--destination-topic-name
The Pulsar topic to which data is sent
--disk
The disk (in bytes) that need to be allocated per source instance
(applicable only to Docker runtime)
--hostname-verification-enabled
Enable hostname verification
Default: false
--metrics-port-start
The starting port range for metrics server
--name
The source's name
--namespace
The source's namespace
--parallelism
The source's parallelism factor (i.e. the number of source instances to
run)
--processing-guarantees
The processing guarantees (aka delivery semantics) applied to the source
Possible Values: [ATLEAST_ONCE, ATMOST_ONCE, EFFECTIVELY_ONCE]
--producer-config
The custom producer configuration (as a JSON string)
--ram
The RAM (in bytes) that need to be allocated per source instance
(applicable only to the process and Docker runtimes)
-st, --schema-type
The schema type (either a builtin schema like 'avro', 'json', etc.. or
custom Schema class name to be used to encode messages emitted from the
source
--secrets-provider-classname
Whats the classname for secrets provider
--secrets-provider-config
Config that needs to be passed to secrets provider
--source-config
Source config key/values
--source-config-file
The path to a YAML config file specifying the source's configuration
-t, --source-type
The source's connector provider
--state-storage-service-url
The URL for the state storage service (the default is Apache BookKeeper)
--tenant
The source's tenant
--tls-allow-insecure
Allow insecure tls connection
Default: false
--tls-trust-cert-path
tls trust cert file path
--use-tls
Use tls connection
Default: false
why the param not supported ?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

my format is wrong,close it!


c++17 support

most real code/compiler may no supports  c++20, can use your tool to generate  boost_unordered  to support c++17 version?

No, the point of this repository is to remove dependencies for people who already have a modern C++ compiler. If you need compatibility for old tools, you should stick with the full boost installation.


COME WITH ME IF YOU WANT TO LIVE++

Break: PUT THAT COOKIE DOWN


added my data

Good job @WraitH17
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

SignIn / SignUp in ClueLess Website .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


2024 Indian election sentimental analysis

The task is to find the sentiments and corelation with financial market movement.

Assign this to me.I'll use rnns for it.

Hi! I have previous experience working with nlp . Please assign this issue to me @Akshat111111

Im interested in this, kindly assign it to me

I have assigned you all.Firstly clarify your idea/approach so that there should not be any overlapping of work.

Could you please describe it a little more?

Could you please describe it a little more?

You can simultaneously plot the sentiment of common people with the plot of nifty.Also both the things should be present in the same plot.

Approch -
Sentiment Analysis:
Using transformer-based models like BERT or DistilBERT(because its lite on space) for sentiment analysis.
Fine-tuning these models on Indian political news articles and Twitter posts .
Utilizing a 5-point rating scale (very good, good, moderate, bad, very bad) can provide granularity in sentiment analysis, which can be helpful for market analysis.
Analyzing financial market movements, could use time series analysis techniques - ARIMA(fanckly idk this part yet)
finally ,
correlation analysis to identify any relationships between sentiment and market movements with techniques such as Pearson correlation coefficient.
Please assign me as well would love learn and contribute.

Approch - Sentiment Analysis: Using transformer-based models like BERT or DistilBERT(because its lite on space) for sentiment analysis. Fine-tuning these models on Indian political news articles and Twitter posts . Utilizing a 5-point rating scale (very good, good, moderate, bad, very bad) can provide granularity in sentiment analysis, which can be helpful for market analysis.
Analyzing financial market movements, could use time series analysis techniques - ARIMA(fanckly idk this part yet)
finally , correlation analysis to identify any relationships between sentiment and market movements with techniques such as Pearson correlation coefficient.
Please assign me as well would love learn and contribute.

yeah your idea is good, so I will suggest you to create a new issue specifying your model name  and start working on it

hey I have created a new issue , issue has not being assigned tag of gssoc24

Which issue ??


Regex driven nose command line options throw error.

I am using Django 1.8.4 and django-nose 1.4.2
When attempting to use the nose command line options -i, -I or -e, regardless of what is passed to them an error is thrown
python manage.py test -I="blah" test_app
Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 30, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 384, in run_from_argv
    options = parser.parse_args(argv[2:])
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 64, in parse_args
    return super(CommandParser, self).parse_args(args, namespace)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1939, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1879, in consume_optional
    take_action(action, args, option_string)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1807, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 930, in __call__
    items.append(values)
AttributeError: 'tuple' object has no attribute 'append'

all options that don't expect regex appear to work as intended.
It's entirely possible I'm doing something wrong here, but this is a very strange error to see!

Duplicate of bug #240 , fixed in with #241 in master


GNOME is removing the tray icon

From version 3.26 the Gnome Project decided to get rid of the system tray as they felt it not useful anymore. https://blogs.gnome.org/aday/2017/08/31/status-icons-and-gnome/

The [current] Fedora and Ubuntu Releases […] already contain this Gnome version.

More resources:

https://blogs.gnome.org/aday/2017/08/31/status-icons-and-gnome/
https://developer.gnome.org/SearchProvider/
https://developer.gnome.org/gio/stable/GNotification.html
https://wiki.gnome.org/Initiatives/StatusIconMigration/Guidelines
https://doc.qt.io/qt-5/qsystemtrayicon.html#isSystemTrayAvailable

(copied from https://github.com/Nitrokey/nitrokey-app/issues/274)

So, what is the replacement?

See the docs I've linked. E.g. cloud services could use some special APIs for them (which are integrated into Nautilus). Or, generally, the urge to use specific APIs for the use case. In this case, here, Nautilus integration would maybe be useful…(?)

So this is not actionable?

What do you mean by that?
Of course Nautilus integration is actionable, but don't ask me for the details. Or any other API or whatever way you'll come up with avoiding the tray icon.

Without details there is nothing could be done. No action is possible.

Boah… come on. I am just a user of this application. I have no idea how to fullfill it and I am not a dev in this area.
I just wanted to make you aware of the problem, and offer some ideas/tips on what you can do. I have provided you links to how other services did it, and some links to documentation about the whole thing.
There is nothing more I can provide. Some developers/other community members may jump in and develop/discuss ideas or do something…

Thanks for the links, of course, but being dev doesn't mean one has more time to understand how to deal with GNOME notifications area. Pasting simple example that compiles and demonstrates the concept may help someone to integrate it with Nitroshare.

So what?
The example I can give is:

These (tray) icons are depreciated and only shown, because I have the topicons plus extension installed.
So you basically cannot use them. You may not use any such icons, it is not intended to be used by an application running on GNOME, because they have less value and proper APIs should be used.
Alternatives:

desktop notificationsn
file manager (Nautilus) integration; example: right-click -> Send file
more????

Example from NextCloud: https://blog.juliushaertl.de/index.php/2017/08/28/gsoc-final-report/

Okay. Let's go with Desktop Notifications first. How to make Nitroshare report there that it is running?

GNOME principle: Don't. E.g. music players can still be running when closed, they just use the API so they can be controlled from the user via some ways or another.
It's totally unnecessary to constantly show an icon for any application that is running in the background. I guess that's a principle one has inherited from Windows, but it is actually not useful when you think about it. You only need to control or quit the application…

Note: NitroShare has an HTTP API accessible to local applications running under the user's account that can be used for status and controlling the application in case that helps.

With receiving files it is not a problem to leave Nitroshare running in background, but how to find Nitroshare in GNOME when user needs to send something?

Right click on a file -> Share with Nitrokey or similar is the UI flow I'd suggest and have already mentioned earlier.

With receiving files it is not a problem to leave Nitroshare running in background, but how to find Nitroshare in GNOME when user needs to send something?

In addition to what @rugk says, you can open the application directly and select the device to send the file to. I think that here you can follow the example of how Teleport works.

What is discussed here can be useful. Maybe @csoriano1618 can help with his advice.

Thanks for bringing this up @haevalencia. I think the advice in https://github.com/telegramdesktop/tdesktop/issues/3830 could be applied here too.
Let me know if I can be of any help!


Fix: Separate / Divide code handling graphics from code handling logic

Contributions to the project are welcomed.
New contributors vary in Issues and Pull Requests. However, logical Issues and PRs (to do with game flow and running of the game) are different from stylistic Issues and PRs (to do with spacing in 2048 game board's grid, language text-labels presentation, e.t.c.).
Currently, for newcomers and reviewers, it can be slow to understand the project's code because "graphics" code is too interlinked with code dealing with logic. This PR is to help fix this.
Key points:

"Graphical functions" in the project have been moved to translation units with "*-graphics" at the end of its name as much as possible.
Graphical functions' dependency on the global variable std::cout has been reduced as much as possible.
A new DataSuppliment function has been added to pass data required for some graphical functions to work.
Comments on the standard "layering of elements" in a typical 2048 game session has been added.
Basic design of a "separation of concerns" of event-triggers / flags has been added. Will be more robust in a future PR.

The PR will be closed via a regular "Merge". :incoming_envelope: :inbox_tray:
(Will be automatically merged in <12hrs from this message if no objections)

As there are no objections, will merge.

This PR removes soft-blocking on Issue #111.


Upload incremental coverage reports

To reduce the CI pipeline deployment time for one of my company's Go libraries, I added support for only running unit tests on packages that had changes in each PR, but this means that only those test cases are reported in the code coverage file, which is then uploaded to Coveralls. This results in incorrect coverage reports, since Coveralls assumes those are the only tests we have across our whole library.
Is there a way to push incremental code coverage reports to Coveralls with the universal coverage reporter?

Hi @erazemk,
Yes! The feature is called Carryforward Flags, and you enable it by passing a flag with your call to the (close) Parallel Build Webhook. Here's a little more on how to include that with your call.
If you're using the Coveralls Orb for CircleCI, which I think you are, you'll want to add the carryforward param to the upload command along with parallel_finished:
          - coveralls/upload:
              parallel_finished: true
              carryforward: job1,job2

Or alternatively:
              carryforward: all

If you are using Coverage Reporter directly, your new call should look something like this:
coveralls done --carryforward "unit-tests,integration-tests" --build-number 123

@afinetooth Thanks so much for your response! I’ll test it out.


⚠ Bofrost.at has degraded performance

In 06a8c7b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2004 ms

Resolved: Bofrost.at performance has improved in 5bc2b80.


fix: small typo

Great, thanks for the fix. Will release with the next feature or patch.

Released as 1.0.2.

Thanks :)


WIREFRAMES / CODE: Remove Email and Code Inputs from Homepage

According to Pete, the Email and Code inputs are no longer part of the homepage. They need to be removed and updated across all designs/code.
TBD:

What happens when a user clicks 'Register for Developer Preview'

Code portion completed with PR https://github.com/openshiftio/www.openshift.io/pull/48

Visual designs updated


SyntaxError: invalid syntax

File "", line 1, in
import speechbrain
File "/usr/local/lib/python3.7/site-packages/speechbrain/init.py", line 4, in
from .core import Stage, Brain, create_experiment_directory, parse_arguments
File "/usr/local/lib/python3.7/site-packages/speechbrain/core.py", line 105
logger.info(f"Experiment folder: {experiment_directory}")
^
SyntaxError: invalid syntax
hi , im using python 3.7 ,but when i import speechbrain, it give me this error, what should i do...

@pplantinga @Gastron any idea ?
@Miki123-gif could you please give us more info on your environment ?


fix: Add legacy pipenv backward compatability

Plugin v6 now requires pipenv >= 2022.8.13 (https://github.com/serverless/serverless-python-requirements/pull/718)
This PR will allow users to upgrade to v6 without also requiring the latest pipenv.

Thanks @rwestergren - that makes sense. I'm sorry for late response, but I've been way too busy lately, I'll do my best to review this PR by the end of the week.


Add Support for Kubernetes native service routing via Gateway API v1

Is your feature request related to a problem? Please describe.
Add support for a Kubernetes native service routing instead of sidecar usage.
Describe the solution you'd like
Gateway API seems to have support for a UDP Route. It would be interesting to have support in Quilkin for north/south traffic using these Resource Definitions.
Describe alternatives you've considered
Additional context

Thank you for your issue! This is definitely something we should support, however as far as I know UDPRoute is still experimental even though Gateway API is approaching general release. This also something where it would be helpful if there were some examples of how you'd expect this to look like to give us a better starting point.


lsync script still outputs ".. in sync" when a page is out of sync

Problem:
Wasn't sure how to report this so selected bug as it seemed closest to what to report
Running ./lsync.sh ../content/es/docs/tasks/tools/_index.md from the scripts/ directory should return the diff and then close without output.
But it shows the diff then outputs that the page is still in sync.
 You can use `kubectl` to deploy applications, inspect and
+manage cluster resources, and view logs.
+
+See [Install and Set Up `kubectl`](/docs/tasks/tools/install-kubectl/) for
index 78a5ead..dfdbab3 100755
--- a/content/en/docs/tasks/tools/_index.md
+++ b/content/en/docs/tasks/tools/_index.md
@@ -1,5 +1,49 @@
 ---
 title: "Install Tools"
+description: Set up Kubernetes tools on your computer.
 weight: 10
+no_list: true
 ---

+## kubectl
+
+The Kubernetes command-line tool, `kubectl`, allows you to run commands against
+Kubernetes clusters. You can use `kubectl` to deploy applications, inspect and
+manage cluster resources, and view logs.
+
+See [Install and Set Up `kubectl`](/docs/tasks/tools/install-kubectl/) for
+information about how to download and install `kubectl` and set it up for
+accessing your cluster.
+
+View kubectl Install and Set Up Guide
+
+You can also read the
+[`kubectl` reference documentation](/docs/reference/kubectl/).
+
+## minikube
+
+[`minikube`](https://minikube.sigs.k8s.io/) is a tool that lets you run Kubernetes
+locally. `minikube` runs a single-node Kubernetes cluster on your personal
+computer (including Windows, macOS and Linux PCs) so that you can try out
+Kubernetes, or for daily development work.
+
+You can follow the official
+[Get Started!](https://minikube.sigs.k8s.io/docs/start/) guide if your focus is
+on getting the tool installed.
+
../content/es/docs/tasks/tools/_index.md is still in sync

Proposed Solution:
Remove output from showing after the diff is shown when a page is not in sync.
Page to Update:
N/A
Thanks for the script (for whoever wrote this). :]

/triage accepted
/assign


Non interactive option for m8s run command

Much like docker-compose, it would be useful for scripting scenarios (where running m8s is one step among others), to make the running non-blocking.
Docker compose has a -d (long form: --detach) for its up & run commands. Once the initialisation process completes, it goes background.
After checking docker-compose sources (https://github.com/docker/compose), I'm not sure how to implement it in netcore. But still, It would be a nice addition.
Use case: a script that...

Builds each net core involved project Update: m8s now builds by default, so build step(s) not needed (for this scenario at least)
Initiates a Functions project locally using its Core Tools (which I think would benefit of such a feature itself)
Runs an m8s run m8s.yaml command
Notifies completion state for a second or two, then finishes.

Sounds reasonable?

See https://github.com/dotnet/tye for the future of this project


accessing an array element with a colon

I'm passing in a hydra json response, which includes an element with a key of 'hydra:member'.
My twig template is
<h3>
    {{ data['@type'] }}
</h3>
{% for d in data['hydra:member'] %}
{{ d.id }}
{% endfor %}

This throws an error
TwigException: Twig.expression.type.array.start cannot follow a Twig.expression.type.variable at template:4 near '[...'
ERROR  Failed to compile with 1 errors                                                                                Syntax Error: Unexpected token u in JSON at position 0
at JSON.parse ()
My solution is to set a temporary variable and use it, but I'm wondering if there's a better way, or if this can be fixed.
{% set hack = 'hydra:member' %}
{% for d in data[hack] %}
{{ d.id }}
{% endfor %}

Thanks.  I think this library rocks.

According to my findings it should work as expected:
TwigJS @ Codepen
Twig 3.7.1 @ TWIGFiddle

Indeed, I'm having a hard time reproducing it, or even finding where I used it in my code.  Thanks, if I find it I'll reopen.

Indeed, I'm having a hard time reproducing it, or even finding where I used it in my code. Thanks, if I find it I'll reopen.

Please reopen this issue, since I've only provided the examples.
I've submitted a PR that could fix this issue, although I'm not sure is it will break anything else.


Add zone declarations of additional pools in dhcpd.conf - Fix for #4356

Relating to #4356, when defining additional pools with DDNS values, the corresponding zone and key declarations were not added to /var/dhcpd/etc/dhcpd.conf
This will add zone and key declarations to dhcpd.conf based on DDNS values provided in each additional pool within a subnet.

@FromageBlue looks good, thanks!


fix problems with custom table code generation

resolved https://github.com/prolic/fpp/issues/139

toArray + fromArray is fixed


Rework ip uniqueness checks

The vSphere and Tinkerbell providers execute some logic to try and validate that an IP isn't in use. This required depending on an IPGenerator construct that supplied the 'is unique' behavior creating an unnecessary dependency.
This change reworks the uniqueness check so its available independently of IPGenerator. Additionally, it removes a superfluous interface representing IPGenerator behaviors leaving it to consumers to define the behavior they require.

/cc @ptrivedi @panktishah26 @abhinavmpandey08 @pokearu @gwesterfieldjr

/lgtm

/lgtm

/lgtm


Getting capacities out of nodes is cumbersome

Per @paul-ruth
Crappy work around for getting capacity values out of topology nodes
# TDOD: FIX THIS
def get_capacity_value(self, node, name=‘core’):
    #name options: ‘core’, ‘ram’, ‘disk’
    capacities = str(node.get_property(pname=‘capacities’))
    capacities = capacities.replace(‘{’, ‘’).replace(‘}’, ‘’).replace(‘G’,‘’).replace(' ‘,’’)
    for line in re.split(“,”,capacities):
        key_val=re.split(“:”,line)
        if key_val[0] == name:
            return key_val[1]

I don't quite understand the gymnastics above. This works in the current code for FIM:
>>> cap = fu.Capacities(core=1)
>>> cap
{"core": 1}
>>> n.set_property('capacities', cap)  # set capacity on the node
>>> print(n)
{'capacities': '{ core: 1 }', 'name': 'n1', 'site': 'RENC', 'type': 'Server'}
>>> c = n.get_property('capacities')   # get capacity from node
>>> c
{"core": 1}
>>> c.core
1
>>> c.core = 2
>>> c.core
2

I will add code so instead of c.get_property('capacities') you can just say n.capacities (and it will return a Capacity object), but this is not what I heard the problem was (or rather that was a separate problem).
@paul-ruth @kthare10

Code to get to capacities like so: t.nodes['n1'].capacities (as well as many other properties) has been added as part of #84


USHIFT-461: Add PSA clusterrole and clusterrolebinding

Which issue(s) this PR addresses:

Closes USHIFT-461

/assign @benluddy

/cc @copejon , since we were talking about this and CSI yesterday.

/lgtm


Strange crash with "lua::state", registered two types and fails when destructing

Hello, I am experiencing a crash. My system properties are: Lua 5.3.3, GCC 6.1.1, Arch Linux x86_64.
I first got this crash when I try to invoke reset() twice. After some debugging, I thought that the bug occurs when destroying the sol::state. The following code demonstrates it. It seems like you try to invoke a null function pointer.
#include <sol.hpp>
#include <iostream>

struct CTypeA
{
	int x;
};

struct CTypeB
{
	int y;
};

void RegisterTypeA(sol::state &lua)
{
	lua.new_usertype<CTypeA>("TypeA", "x", &CTypeA::x);
}

void RegisterTypeB(sol::state &lua)
{
	lua.new_usertype<CTypeB>("TypeB", "y", &CTypeB::y);
}

void reset(sol::state &lua)
{
	lua = sol::state();
	std::cout << "  lua state assigned" << std::endl;
	RegisterTypeA(lua);
	std::cout << "  RegisterTypeA done" << std::endl;
	RegisterTypeB(lua); // if I do not register the second type,
						// everything is fine
	std::cout << "  RegisterTypeB done" << std::endl;
}

int main()
{
	sol::state lua;
	std::cout << "lua state created" << std::endl;
	reset(lua);
	std::cout << "reset done" << std::endl;
	return 0;	// returns non-0, crashes
				// I think you try to invoke a null function pointer
				// when destroying the sol::state object
}

Thank you for your interest.

Note: The crash does not occur with v2.5.8 .

Cannot repro. Do you have a screenshot of the error code or the SEGFAULT message?

Oh, managed to repro with specific conditions, I think I know why it's breaking. I'll try to push a fix in a little bit.

Figured it out. Was a double-delete from a key-name derp I did. Everything should be in order in a bit; will retroactively re-release 2.9.0 and 2.9.1 and a new tag 2.9.2 since this is a pretty critical harsh bug.

This is taken care of. Thanks for vetting the library: I've added a test to make sure this won't happen again as well.
https://github.com/ThePhD/sol2/releases/tag/v2.9.2

Thank you for fixing this.


Implemented 2nd loop for better HeadlessApplication-Support ...

..., added final float delta to loops
While implementing Libgdx I wondered why there isn't an update loop to keep code spitted in client server applications.
The Major reason I want to announce this is that Headless-Applications need a spitted cycle, one that is updating the game and the other one that is rendering the game on client side.
I added the final float delta parameter, because it's needed in most cycle implementations.
Pro:

call of Gdx.graphics.getDeltaTime() in different places of the Application is not needed anymore.
makes it possible to modify the delta for sub calls.
allows Headless-Applications only use the update()-cycle
performance increase for headless apps (ensures that no rendering calcs are done)
splits update code from rendering code.
reduces redundancy in implementations for Client and Server.

Con:

old apps upgrading to new gdx version need to implement the new loop, more or less changes needed, depending on implementation.

What do you think about that change?
Some minor Code changes will follow entirely marking all values as final.

:-1: from me. This point of view is too idealized - most games/apps I have worked on either did update and render at the same time (simple case, libGDX's default) or needed special update logic, which is not clearly generalizable and does not fit this PR at all.
This is a huge and breaking change and I don't see any benefit. In the rare case when update and render is separated and always called right after each other, doing that separation yourself is not a problem. And in each other case, this just introduces a split that can't be honored, which will lead to confusing code.

@Darkyenus well Stages are already designed by that (splitted rendering and updating). The point is the implementation of the ApplicationListener. It's used for HeadlessApplications and all other.

Breaking every app that is currently existing is not so nice.

@intrigus and what do you think about just extending the ApllicationListener by this 2 methods with a float value? -> update(float delta) + render(float delta) and leaving render()?

There are 236 changed files: this is not going to make it as it breaks compatibility for everyone that develops for libGDX (although an easy fix).
It's not that I don't disagree with you, it possibly makes sense to call those methods with the delta time. Another option is to call with the timestamp since epoch or local time since the computer started up in milliseconds. Another option is nanoseconds. There are other values that probably should be passed in. If anything, this should have been decided at the start of libGDX, not now.

@noblemaster round about 200 of them are test classes ...

If you want this behaviour, it takes two seconds it to add it to your app. Render is just the entry point for a render call, its up to you what you want to do with it. Splitting these up doesn't improve performance, and leads to ambiguity about the pipeline.

@Tom-Ski, i know that, it takes not that long. I'll show you what I mentioned in the next pr. It wont break changes or and won't lead to ambiguity.
I'll implement it configurable, for those who need to have those 2 loops spitted.


Go through post.page usages

Content V2 has removed the post.page attribute.
We need to double check the usages.
e.g. https://github.com/TryGhost/Ghost/blob/master/core/server/services/routing/helpers/templates.js#L89
e.g. https://github.com/TryGhost/Ghost/blob/master/core/server/services/routing/helpers/context.js#L61
Revert or FIX on Monday.

My PR fails because of this: https://github.com/TryGhost/Ghost/pull/10333.
I have added some more v2 tests, which now moan about failed post.page conditions. Need to revert for now and then double check on Monday if we can fix the places easily.

I can also see 1 usage of post.status (in the routing service). Will revert that too for now. Just temporary till i've finished my PR and then i look into this again on Monday.

I can also see 1 usage of post.status (in the routing service). Will revert that too for now. Just temporary till i've finished my PR and then i look into this again on Monday.

Will bring back post.status. It's only used for the preview feature.

Worth mentioning: we would also need to remove page and status from the pages endpoint.

There was one more usage of this.status, which is covered in #10338 .


VPN no longer connects after iOS 17.2 update

At first it takes several minutes to reach 100% and then immediately VPN connection drops.
After that the app remains in invalid state where no new connections are possible without deleting the app and compiling it and installing it anew. The Tor log error is something like Could not open "/private/var/mobile/Containres/Shared/AppGroup/UUID/tor/cached-micodescs" for mmap(): No such file or directory. This error can only be then removed by reinstalling the app.
I've also tried updating to latest version of Tor.framework but to no avail.
It used to work perfectly before iOS update.

Uncommenting these lines made the app behave in a way that it doesn't require reinstall to attempt a new connection.
I've managed to get the crash trace after successful connection:
Tor <IP_ADDRESS> died: Caught signal 11
0   Tor                                 0x0000000104985340 crash_handler + 72
1   libsystem_platform.dylib            0x00000002009c0888 960E7DE4-7194-34F3-93C1-947469420D70 + 22664
2   ???                                 0xffffff8102871948 0x0 +<PHONE_NUMBER>8291113288
3   TorVPN                              0x0000000102871948 _ZN4leaf5proxy3tun8netstack3udp11udp_recv_cb17h3bdec17fe305633fE + 1288
4   TorVPN                              0x0000000102a6a444 ip4_input + 432
5   TorVPN                              0x00000001027f6ab4 ZN4leaf5proxy3tun7inbound3new28$u7b$$u7b$closure$u7d$$u7d$17h9f025c71847be03aE + 6692
6   TorVPN                              0x00000001028f6608 ZN4leaf5start28$u7b$$u7b$closure$u7d$$u7d$17h6b21ee5f8368651eE + 2768
7   TorVPN                              0x00000001028f4724 _ZN5tokio7runtime7runtime7Runtime8block_on17h39c28b76b8700b9fE + 4580
8   TorVPN                              0x00000001028f29d8 _ZN4leaf5start17h533799748c930435E + 13648
9   TorVPN                              0x000000010275f528 leaf_run + 176
10  TorVPN                              0x00000001022f3594 $s6TorVPN14LeafPTProviderC14startTun2SocksyyFyyYbcfU_ + 292
11  TorVPN                              0x00000001022f3894 $sIegh_IeyBh_TR + 28
12  libdispatch.dylib                   0x000000019ea6f6a8 D023C07E-DCBD-3728-8E6F-5DDC6D3BEE25 + 9896
13  libdispatch.dylib                   0x000000019ea71300 D023C07E-DCBD-3728-8E6F-5DDC6D3BEE25 + 17152
14  libdispatch.dylib                   0x000000019ea82dbc D023C07E-DCBD-3728-8E6F-5DDC6D3BEE25 + 89532
15  libdispatch.dylib                   0x000000019ea833ec D023C07E-DCBD-3728-8E6F-5DDC6D3BEE25 + 91116
16  libsystem_pthread.dylib             0x0000000200a67928 _pthread_wqthread + 228
17  libsystem_pthread.dylib             0x0000000200a67a04 start_wqthread + 8

If I run the app under the debugger, debugger does not attach to the crashed process, so I can't get more info (any help obtaining that would be appreciated).


NPM run postinstall in Contributing.md

Question
Under "Runner Stryker" in the Contributing.md should there be a reference to the command npm run postinstall?
I ask this because I could not get my local environment running until the lerna bootstrap command had run.
Additional context
Running in a docker node 12 environment.

It refers to npm install which should run postinstall automatically. It didn't for you?
See https://docs.npmjs.com/misc/scripts

I'm going to rebuild my environment from scratch, most likely I did something wrong first time around. 👍

Ok cool. Closing this issue for now.
Out of curiosity, anything specific you're planning to work on?

I'd just like to help out a bit now I have some time, I'm quite good at writing tests so will happily help out with improving test coverage. Or anything else which needs looking at.

That sounds awesome. We're working on implementing mutation switching, which will be a pretty big overhaul. See https://github.com/stryker-mutator/stryker/issues/1514. Please read through it, so you don't write tests for something we want to delete for example.
In short: the following packages will be replaced by the new "instrumenter" package:

@stryker-mutator/javascript-mutator
@stryker-mutator/typescript
@stryker-mutator/mutator-specification

In @stryker-mutator/core, I think about 1/3 to 1/2 of the code will be changed.

If you have more questions, don't hesitate to join our slack channel


createNumberMask caret positioning bug: initial display

If the input field uses a number mask as specified in #289, the bug specified in this issue is still there upon initialization.
Steps to reproduce:

Create a text-mask field with a number mask from createNumberMask (default settings), set the value attlibute to 12345.
Set the cursor here: $12.3|45.
Press the Backspace key.

Expected: $1.2|45.
Actual: $1.245|.

with default settings for createNumberMask the thousandsSeparatorSymbol should be a comma (,).  In your example snippet you have a period (.) as separator?
I can't reproduce this bug.. it works as expected for me (when using comma, or period, as thousandsSeparatorSymbol).

this issue is still there upon initialization

Can you add a failing test.. or a (failing) working example.

I can't reproduce it any longer (maybe I was testing the wrong version).


Fix Legacy-Link and NDK-Compile errors

Fixes #2317

You can now resolve the CI issues as described here: https://github.com/Microsoft/ChakraCore/pull/2332#issuecomment-271029950

@dotnet-bot test legacy tests please

@obastemur My mistake, that test was about DisableJIT

@dotnet-bot test nojit tests please

DisableJIT tests look good. You can clear the failed *dev12* tests by pushing a new ref (which unfortunately will force a re-run).

:shipit:

@curtisman Thanks for the review! @dilijev Thanks for double-checking it!


Getting ready to merge realm-java into master

Instead of polluting realm-java, I have create a new branch. Almost except one unit test is working. The remaining failing test is cause by how core uses mkdtemp (see also https://code.google.com/p/android/issues/detail?id=74497) but I will make a workaround later. There are still a few issue with linking but I can link manually so I will fix that later too.
Please give me some feedback on the CMake parts of this PR - and only that.
Dependencies

https://github.com/realm/realm-core/pull/2355
https://github.com/realm/realm-sync/pull/1027

@cmelchior @emanuelez @bdash @radu-tutueanu

@kneth Is the cmake changes necessary? I think we'd better only have minimal changes in this PR. BTW, I will fix the shared_group.h header problem and push to this PR.


Vulnerability roundup 89: electron-5.0.13: 1 advisory [6.8]

search, files

[ ] CVE-2020-15096 CVSSv3=6.8 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: dabbc5a5603; nixos-unstable: c71518e75bf. May contain false positives.
Cc @manveru
Cc @prusnak
Cc @travisbhartwell

both master and nixos-20.03 contain electron 5.0.13

We have currently Electron 3, 4, 5, 6, 7, 8, and 9 in master. The default is still Electron 4. AFAICS Electron 3, 4, and 5 are not supported anymore upstream. In my opinion the default should be set to a supported version and Electron <= 5 should be marked as insecure in master.

I sent a PR to upgrade the electron to latest in June - it is still waiting to be merged: https://github.com/NixOS/nixpkgs/pull/89758
Once this is merged I agree we should mark Electron <=5 as insecure.

Marked electron < 6 insecure in 149987489c3168ec5efc7a68965cde72d365a99e (part of #89758)

thanks - what a pity that unmerged PRs are sometimes lingering to long


nx 16 migration

Migrating to Nx 16.0

Codecov Report
Patch coverage: 100.00% and project coverage change: -4.86 :warning:

Comparison is base (058f030) 97.12% compared to head (112fec5) 92.27%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5354      +/-   ##
==========================================
- Coverage   97.12%   92.27%   -4.86%
==========================================
  Files          11      112     +101
  Lines         383     4271    +3888
  Branches      140     1114     +974
==========================================
+ Hits          372     3941    +3569
- Misses         11      309     +298
- Partials        0       21      +21

Impacted Files
Coverage Δ

packages/query-core/src/query.ts
99.03% <100.00%> (ø)

packages/react-query-devtools/src/devtools.tsx
89.19% <100.00%> (ø)

... and 99 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Confusion on the Calculation of Model Update Size

At Line 228 of file core/aggregator.py, function run is going to calculate the model size in kbits.
I was wondering why is the divisor in the expression 1024 instead of 1000? According to my understanding, a bit rate is typically expressed in conjunction with an SI prefix (so 1 kbits/s = 1000 bits/s) instead of a Binary prefix (which specifies 1 Kibit/s = 1024 bits/s).

So if the client bandwidth information used in Oort and FedScale is in kbps which actually means kbits/s, such an inconsistency actually alienated the results from reality. (But it doesn't mean that your results are not making sense, as we can percept it as scaling up all the clients' bandwidth by a factor 1024/1000 which is pretty much close to 1 with presumably negligible side-effect.
On the other hand, if the client bandwidth information you used was actually in Kibit/s, then surely nothing goes wrong at all.

Anyway, you may consider changing the divisor to 1000 if the common consensus is that a bit rate is expressed with an SI prefix. This is particularly helpful if a user wants to use its own capacity dataset.

The bandwidth information is Kibit/s in the trace.

Then I am still confused, as MobiPerf, i.e., the dataset you adopted for bandwidth information seems to the convention of using SI prefix. I am not sure about it, or maybe you have conducted additional conversion?

OIC. Thanks for your reply.


fix: Fix bug with appending files for plugins

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

Wow, great find! Thanks. Super interesting how GitHub Codespaces evaluates this differently.


Script usage from cdn returns 502 Bad gateway

Problem:
When using via script tag the component link is returning 502 bad gateway: https://cdn.dataforsyningen.dk/dawa/assets/dawa-autocomplete2/1.0.0/dawa-autocomplete2.min.js
The demo site doesn't function for the same reason: https://dawadocs.dataforsyningen.dk/demo/autocomplete/demo.html
Question:
Will this be fixed or is usage via script tag deprecated?

+1

Its Working again now. Will close this.

now it is broken again


CI_Email: Garbled non-ascii strings with spaces in email header when MB library is enabled

Input "From": Orange portál
Output of mb_encode_mimeheader: Orange =?UTF-8?Q?port=C3=83=C2=A1l?=
Shown in e-mail client as: Orange portÃ¡l
If MB_ENABLED !== TRUE && ICONV_ENABLED === TRUE:
Output of iconv: =?UTF-8?Q?Orange=20port=C3=A1l?=
Shown in e-mail client as: Orange portál
So, from this I can see that I guess the problem is that UTF-8 string is not at the beginning. So I tried to remove the space from input and it was fine then:
Input "From": Orange_portál
Output of mb_encode_mimeheader: =?UTF-8?Q?Orange=5Fport=C3=83=C2=A1l?=
Shown in e-mail client as: Orange_portál
This problem occurs in both "From" and "Subject" headers.
Swiftmailer handles this correctly.

So you're suggesting to remove mb_encode_mimeheader() usage?

Nah, I'm not suggesting solution, I'm sure you're more capable to come up with better solution. I guess it wouldn't hurt to look how other libraries solve this problem.
However, I suggest to at least prefer iconv over mb_* if both are available. So just switch those if/elseifs. Of course, it's very likely that if it will be left at that, someone will report this same bug where reporter has iconv disabled, but mb_* enabled.

I've noticed there's a difference in output when you set internal encoding.
@gadelat Try adding this line before that return in question, if it works; then we have a solution.
mb_internal_encoding($this->charset);

mbstring.internal_encoding does indeed affect mb_encode_mimeheader(), but I've already tested this:
$ cat test.php
<?php
mb_internal_encoding('UTF-8');
var_dump(mb_encode_mimeheader('Orange portál', 'UTF-8', 'Q'));
$ php test.php
string(30) "Orange =?UTF-8?Q?port=C3=A1l?="
$

Yeah I tried fiddling with internal_encoding before I posted this issue, no change :-/

The fix does not entirely solve the issue.
Turns out iconv_mime_encode is just as buggy as mb_encode_mimeheader.
Input: Orange portál Orange portál
Expected: Orange portál Orange portál
Actual: Orange portál Orang=?UTF-8?Q?e=20port?=ál

@csksm Can't reproduce.


facebook no longer gives us users' web site URLs

Facebook recently locked down or turned off access to a number of API fields and endpoints: https://developers.facebook.com/docs/graph-api/changelog/breaking-changes/#4-4-2018
most of them don't matter to us, including the events and pages edges; we don't use them. the one that does matter is user.website (and user.about), which we used to match accounts with their web site(s) and domain(s). we use those for OPD and publish.
so, we need to either add UI to let facebook users tell us their web site(s), or warn loudly that OPD and publish won't work for new FB users. ugh. 😢

confirmed on an example user who signed up after 4/4: https://brid.gy/facebook/555706984828608 . they have a web site in their facebook profile, and bridgy has the user_website permission, but FB no longer returns the user.website field, and the permission is deprecated.

@kevinmarks inspired an interesting (but painful) idea: scrape the user's public FB profile page and extract the website URL(s) from there. notably, the link on the main profile page, eg https://www.facebook.com/Thorsten.Konigorski , doesn't have rel=me, but the one one the about page, eg https://www.facebook.com/Thorsten.Konigorski/about , does.
however, we only get app-scoped user ids from the API, not profile URLs, nicknames, or global user ids. we construct profile URLs with app scoped user ids, https://www.facebook.com/555706984828608 , but those require FB login before they'll redirect to the real profile URL, so they're no good for scraping. 😢

I have a vague memory of FB occasionally "signing you out of bridgy" and having to link the account again? Will this problem hit then as well?

@armingrewe yup, every two months: https://brid.gy/about#facebook-expired . fortunately bridgy remembers existing users' web sites, so this is fine.

Possibly I don't understand how it's all meant to fit together, but why use the website field from Facebook at all? Personally, I don't have mine set, and am pretty ambivalent about setting it. I think I should still be able to set up any page of my choosing to be mirrored over to my Facebook profile.

@vthunder website isn't required for basic listen (aka backfeed) support. it's only needed for original post discovery and publish.
we originally pulled web sites from silo profiles (instead of asking users for them) because it made the initial setup UX easier, and because i'm not great at UI. :P we'll keep it for the other silos for now, but for facebook at least, this will indeed make us start asking for it explicitly instead.

Oh yes - I understood it only applies to publishing. Just wanted to point out that at least for me, I don't necessarily want to rely on a link back to my personal homepage from each silo.
I get that it's less UI to write, though!


Rename aiohabit project to mrack

Rename aiohabit project to mrack
Signed-off-by: Tibor Dudlák<EMAIL_ADDRESS>

/azp run

Also LGTM. I've fixed Azure pipelines after the rename and  it aslo looks good.


Object method java code

Implemented EO object methods to java translation.
Now we are able to compile fibonacci example!
Warning: this branch has been merged with 104 - it depends on #118 PR.
Translated to java example:
public final class fibonacci implements Int {
// fields
private final Int n;

// secondary constructors
public fibonacci() {
 this(1);
}

// primary constructor
public fibonacci(final Int n) {
 this.n = n;
}

// methods
public Int int() {
  return new if(new firstIsLess(this.n, 2), 1, new plus(this.n, new fibonacci(new minus(this.n, 1))));
}
}

@yegor256 isn't it time to merge this PR? Or maybe I need to fix something?

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@yegor256 Done! FYI, the full log is here (took me 7min)

@g4s8 many thanks for your contribution!


Add get permission for namespaces

Description

Supersedes this PR which is out of date now: https://github.com/projectcalico/calico/pull/1629/
This is required now that the CNI plugin looks at annotations on Namespaces.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 20cf4172d090da0d4a8ae9c051292b8103411c4d
https://deploy-preview-2209--calico.netlify.com

Confirmed that this fixes the e2e failures we're seeing on master now.


Launch error on Mac OS

Hi,
I tried to launch the app but faulted with a error massage below:
[I 16:06:44.464 LabApp] JupyterLab beta preview extension loaded from /Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab
[I 16:06:44.464 LabApp] JupyterLab application directory is /Users/jgs/anaconda3/share/jupyter/lab
[W 16:06:44.467 LabApp] Error loading server extension jupyterlab
Traceback (most recent call last):
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/commands.py", line 321, in __init__
self._run(['node', 'node-version-check.js'], cwd=HERE, quiet=True)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/commands.py", line 1165, in _run
proc = Process(cmd, **kwargs)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/process.py", line 73, in __init__
self.proc = self._create_process(cwd=cwd, env=env)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/process.py", line 131, in _create_process
cmd[0] = which(cmd[0], kwargs.get('env'))
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/jlpmapp.py", line 59, in which
raise ValueError(msg)
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 1454, in init_server_extensions
func(self)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/extension.py", line 111, in load_jupyter_server_extension
info = get_app_info(app_dir)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/commands.py", line 244, in get_app_info
handler = _AppHandler(app_dir, logger)
File "/Users/jgs/anaconda3/lib/python3.6/site-packages/jupyterlab/commands.py", line 324, in __init__
raise ValueError(msg)
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
[I 16:06:44.476 LabApp] Serving notebooks from local directory: /Users/jgs
[I 16:06:44.476 LabApp] 0 active kernels
[I 16:06:44.476 LabApp] The Jupyter Notebook is running at:
[I 16:06:44.476 LabApp] http://localhost:8888/?token=50e69b8dcfd39d15b454f10f133ac8954b22e892f4a93ff4
[I 16:06:44.476 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:06:44.479 LabApp]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=50e69b8dcfd39d15b454f10f133ac8954b22e892f4a93ff4
[I 16:06:44.968 LabApp] Accepting one-time-token-authenticated connection from ::1
[W 16:06:45.012 LabApp] 404 GET /lab?token=61a5332503ebc005b855d7694e485885527ab7d0880d9e04 (::1) 44.68ms referer=None

Does it mean I need to install nodejs first?
Thanks

This looks similar to https://github.com/jupyterlab/jupyterlab/issues/3984.
Would you mind letting me know what version of jupyterlab/jupyter you are running?

Hi @declanvk
The version of jupyterlab/jupyter is 0.31.4 and 5.4.0, respectively.

@yipukangda Glad everything works now!


Desktop - New Chats are not showing in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log in with your account

Expected Result:
New Chats are showing in LHN
Actual Result:
New Chats are not showing in LHN
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @mallenexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693336345090439
View all open jobs on GitHub

@mallenexpensify I'm closing this for now please reopen it once you have more details to add as asked above, thanks!

Unable to reproduce it on build v1.3.77-3 @mallenexpensify
https://github.com/Expensify/App/assets/93399543/d6b63009-4e63-4b3c-8c4e-08047a0589ef

Happened to me this morn in iOS ¯_(ツ)_/¯
https://expensify.slack.com/archives/C049HHMV9SM/p1696438965730399
I'm the 👑 of reporting bugs that aren't reproducible, or easy to reproduce


[TouchableOpacity] does not work well inside Text

I'd like to use TouchableOpacity to implement a link-like thing in a Text element. However, there are two issues:

The Opacity doesn't change when the element is Touched.
Padding on the text element will offset the text inside the TouchableOpacity, but not the touch target.

Here is a demonstration of both issues: https://rnplay.org/apps/eOeLxg

Maybe I am dumb, but for me the opacity works when the link is tapped/clicked?

Sorry, maybe it should be clearer. The link on the top is in a text element, while the one on the bottom is normal.

@jtremback @grabbou - check out the PR that I linked to above - we should use onPress on <Text> rather than TouchableOpacity, this PR adds support for it

What if we want to apply hitslops or opacity when you touch? Both of these things currently cannot be achieved.

@dennishansen
I'd also like to know how to achieve hitSlop on text links. Have you been able to figure that out?

The best I've tried so far is something like the following: https://sketch.expo.io/SJAyOPche
I'd like to treat the touchable text the same as regular text so the copy flows correctly when it reaches the end of a parent container.


rotating_svg error

Hi Trevor,
I am trying to use your fantastic rotating_svg widget (the answer to all my prayers!!!) but when I try installing/testing the widget through extension builder, it fails to compile with various "illegal token" messages.  The helpers have been also been installed.  Using Windows 10 and LC 8.1.6 rc2
9:34 AM: Compiling module C:/LIVECODE/Livecode WIDGETS/Rotating SVG/rotatingSVG.lcb
9:34 AM: Error: on line 1 ():
9:34 AM: Error: on line 1 ():
9:34 AM: Error: on line 1 ():
9:34 AM: Error: C:/LIVECODE/Livecode WIDGETS/Rotating SVG/rotatingSVG.lcb:1:1: error: Illegal token 'ï'
C:/LIVECODE/Livecode WIDGETS/Rotating SVG/rotatingSVG.lcb:1:2: error: Illegal token '»'
C:/LIVECODE/Livecode WIDGETS/Rotating SVG/rotatingSVG.lcb:1:3: error: Illegal token '¿'
9:34 AM: Error: failed to compile module
9:34 AM: Error: no id found in  C:/LIVECODE/Livecode WIDGETS/Rotating SVG/rotatingSVG.lcb
Widgets are currently beyond me at the moment, so any help would be graciously received :-)

@paulrichards999 I tried compiling rotatingSVG.lcb in 8.1.6 rc-3 on OS X and received one error. 8.1.6 doesn't like returns nothing in function definitions. I've removed that and the widget compiles for me now. The change is on GitHub.
Your error looks different than what i received though. It appears to me that you are trying to compile some sort of binary file. The illegal tokens mentioned don't appear anywhere in the rotatingSVG.lcb file.  Can you verify that the source file on your computer looks like the one on Github? https://github.com/trevordevore/livecode-extensions/blob/master/rotating_svg/rotatingSVG.lcb

@trevordevore Thank you sooooo much!!   I copied the text again from raw, and overwrote what was in existing file (using Notepad this time) and the Widget has compiled and installed.
I cannot thank you enough, 1 for this fantastic widget, and 2, for helping so quickly.

You're welcome @paulrichards999


Drupal vm with php 5.6 increase memory - change docs?

Hi,
First off: many thanks for this great piece of software! I wanted to leave my experience with an issue here and suggest that perhaps you could change the docs on the issue that I've encountered today?
The out of the box install of Ubuntu 16 and PHP7 works beautifully. But when I try to change the php version to 5.6 as per the instructions: http://docs.drupalvm.com/en/latest/other/php-56/ the vagrant up fails on TASK [Generate Drupal project with composer package.]
With error message:
Installing drupal-composer/drupal-scaffold (2.1.0) Loading from cache
The following exception is caused by a lack of memory or swap, or not having swap configured

Check https://getcomposer.org/doc/articles/troubleshooting.md#proc
-open-fork-failed-errors for details PHP Warning:  proc_open(): fork failed -
 Cannot allocate memory in phar:///usr/bin/composer/vendor/symfony/console/Appli
cation.php on line 957 proc_open(): fork failed - Cannot allocate memory

What fixed it for me was the suggestion by Jeff in https://github.com/geerlingguy/drupal-vm/issues/547 to increase vagrant_memory in your config.yml. I've set it to 2048 and now the vagrant up succeeds.
Could you add this to the docs page? http://docs.drupalvm.com/en/latest/other/php-56/
That might save some people a lot of time and googling?
Best,
Bart

I think it's high time to bump the default memory usage—almost all devs I've talked to have 4GB+ on their laptops, and most have 8. If you don't, Drupal VM (even with it's saner defaults) can be a bit too much. Add in Solr, Varnish, etc., and things get pretty tight with only 1024 MB!


Roadmap: v3

This is a living document and is subjected to change.

Q
A

Status
DRAFT

Type
Feature

BC Break
Yes

Min PHP Version
8.0 (?)

Dev Branch
v3

Release Date
N/A

Release Version
3.0.0

Possible Changes

[ ] Full PHP8 support
[ ] PSR-6/PSR-16 compatible cache implementation (see #287)
[ ] Switch to PSR12 (see #189)
[ ] Move to GitHub actions (?)

Notes

All PRs must be targeted to v3 branch.

All PRs must be targeted to v3 branch.

Should we instead target new PRs only to v3 branch?

Should we instead target new PRs only to v3 branch?

I would say:
v2

Fixes and features that can be ported easily to v3.
But, all new changes must be compatible with PHP8.

v3

Incompatible and major changes.
Port changes that are applied in v2 to v3 regularly.

If v2 and v3 branches diverge by a lot, then we can stop accepting features in v2. But I don't think it is necessary at this phase.

Sounds good.


Allows passing mds_cap in openstack_keys

Also assumes some cap defaults in case these are not given.
Fixes #1680

duplicate of #1677


Fix a random error in robot tests which use the backspace key in PhantomJS

The backspace key was not correctly sent to PhantomJS by RobotPhantomJS and this apparently triggered a navigation in the iframe to some previous test, resulting in a timeout.
Especially, for the Aria Templates test campaign, this commit fixes the random issue with AdaptToContentWidthTest, when it is run in the same
PhantomJS instance as ExternalHashNavigationTest.

:ok: for me, you can integrate 65dd05d27cd1a63cb8857e0e223fdde9b2b91c70 for 1.7.17

@simonarbuckle Thank you for your review!


How to upload a file in chunks?

I am loosing my mind here, since I think I've tried absolutely everything and I still cannot figure out what is the proper way to do it.
Suppose I have a 0.9MB file.
$ ll
-rw-r--r--@  1 gajus  staff   921K 13 May 14:38 test.png

I then split that file into 2 chunks:
$ split -b 1000000 test.png
$ ll
-rw-r--r--@  1 gajus  staff   921K 13 May 14:38 test.png
-rw-r--r--   1 gajus  staff   488K 13 May 14:56 xaa
-rw-r--r--   1 gajus  staff   433K 13 May 14:56 xab

Assuming I only have access to the resulting chunks (and they might be on different servers, i.e. must be two distinct operations), what is the correct way to upload test.png?
Here is what I tried:
(async () => {
  const googleStorageBucket = googleStorage.bucket('contrawork');
  const file = googleStorageBucket.file('images/test.png');
  const uri = (await file.createResumableUpload())[0];

  await googleStorageBucket.upload('./xaa', {
    gzip: false,
    offset: 0,
    predefinedAcl: 'publicRead',
    resumable: true,
    uri,
    validation: false,
  });

  await googleStorageBucket.upload('./xab', {
    gzip: false,
    offset: 500000,
    predefinedAcl: 'publicRead',
    resumable: true,
    uri,
    validation: false,
  });
})();

However, this uploads only first image. The second file is never appended.
images_test.png.zip

Thanks for the detailed write up. As it stands, we aren't currently able to handle this. There are a few potential solutions I can think of:
My thoughts:

Save the chunks remotely, then combine them when complete (bucket.combine([fileFragment1, fileFragment2]))

Downsides: Cost penalty to create multiple files

Save the object remotely, and overwrite it to append it with the next chunk

Downsides: Cost/performance penalty to download and upload a growing file

Modify gcs-resumable-upload to handle this behavior (or a new method/library)

Downsides: Unsure this is a proper usage. Resumable uploads appear to have a minimum chunk size of 262144 bytes, so depending on the file, this could be unrealistic.

@frankyn is there a better way to handle this scenario? Also, please correct any mistakes I may have made in my breakdown above.

The main issue with using resumable upload in this scenario is that they're sequential, meaning you can't set the offset to where you'd like it to be in different servers.
Your best bet will be to use @stephenplusplus's first suggestion using combine(). What you would do is the following:

Upload chunks from each server to a GCS bucket.
After chunks are uploaded, call bucket.combine() on 32 objects at a time. (Order them in sequential order to be concatenated correctly.)
Resulting combined object will be used in subsequent bucket.combine() calls to concatenate remaining objects.
Delete the unnecessary chunks.

The nice part of this design is that your chunks can all be upload to GCS from different services without having to deal with ordering in terms of offsets. You'd need to order them more likely by the name of the object. GCS will handle concatenating the objects in atomic operations and provide the resulting object.

Doesn't this incur a significant additional cost?

This would be easily possible if the arbitrary (?) 262144 bytes minimum chunk restriction did not exist. With that restriction, it is impossible to develop this functionality.
The use case is a distributed file upload system.

Because there's nothing we can do from our library, I'm going to close the issue. If anyone would like to chime in with more information or ideas, please feel free.

A lot of stuff has been going on and got behind on these issues.
@stephenplusplus, is it possible to make chunk size modifiable? IIUC, 256 KB multiple is a perf guidance but can be smaller.
If @gajus is willing to implement the necessary distributed file system without a compose it could be helpful in this case.

For a bit of context, this is what I was developing.
https://github.com/gajus/express-tus
The limitation of minimum per-chunk upload size made it impossible to use with Google Storage in a distributed system. The only way to make it work is by first uploading the file to our local storage and then upload it to Google Storage, which is far from perfect.

IIUC, 256 KB multiple is a perf guidance but can be smaller.

Sorry @frankyn, I missed this tag. The 256kb isn't our limit from this library, but from the upstream API.

FYI @gajus, chunkSize is now supported as an optional resumable upload parameter in the latest version of the client. See docs for details on usage.

Hi @danielduhh,
Could you please provide an example of how to use it? "chunkSize" is mentioned in CreateResumableUploadOptions. Even after mentioning the chunkSize it appears to be pushing only first chunk. I am trying to upload a file of 85MB and dividing it into 32MB chunks except last one.
Thanks

https://github.com/ranjeetvit2012/node-media-chunk-fs


Starting a new chat with a new contact causes initial opening message to be sent multiple times

This is a known issue, however, if you just hit send once, it'll only send once. The issue is when u click send, then click it again thinking u mistapped. Definitely something we need to fix but it shouldn't send twice unless you tapped send twice


v16 Windows Desktop keeps crashing

beginning with v15.2 i had malwarebytes antimalware popups warning for a inbound connection related to nano windows desktop wallet/node
v16 Beta ran just fine without any malwarebytes antimalware popups, blocked inbound connections or crashes.
but since i installed the officially released v16 it keeps crashing after some minutes. Not sure if that is related to the initial malwarebytes antimalware reactions.
https://pastebin.de/497/
http://pastebin.de/499/
i don't know if it is just related to a "bad" or blacklisted node ip, but i guess nano desktop wallet/node  still should not crash.
Regards,
Stephan

if  you whitelist the nano_wallet executable does it still crash?

i whitelisted the nanowallet within Malwarebytes Antimalware, but i guess thats another problem. Basicly i think one of the nano nodes is blacklisted for whatever reason.
But the crashes continue anyway. Now i saw a significant RAM usage up to 100% of my systems memory. so it seems i have a problem with nanowallet using each and every system memory. The Beta was running absolutly low on memory. Something has to be different between v16 Beta and v16 Release Version.
Also, one time nanowallet just hung up on the logo while starting up.
i also got all the latest windows updates just to make sure.
i'm running win7 64bit, as you can see in the pastebin 499

Regards,
Stephan

This may be resolved with #1213 which should be in the next release. lets test it then and see what you find?

This should now be resolved in V16.1, which has just been released.  If it has not, please re-open this ticket so we can track it further.  Thanks !

sadly, the problem seems unchanged. still, the memory usage is running up agressivly to several GB. My PC becomes unusable as it is busy swapping everything it can to swapfile. i'm using a 5 year old 8GB RAM office PC with win7 64bit.


File to read not found or unreadable

Hi, I have to make two premises: 1) I'm a bit lost on the programming side, so don't take much knowledge for granted on my part, and 2) I had setup SASS Autocompile to work properly in my previous pc, now I'm having the issue after installing all over on a new machine.
The issue quick and simple is that, when I save my .scss file, I get "File to read not found or unreadable: path/path/path/style.scss".
Now, rewinding from the start, what did I do?

I installed Atom on this pc (previous one had Windows 7, this one has Windows 10) and imported settings and packages that I exported from the other pc through another package.
Installed SASS Autocompile package on Atom.
Installed node.js from the link here: https://atom.io/packages/sass-autocompile
Installed Ruby.
Through cmd prompt, installed node-sass via the command specified in the above link.

Then I opened my .scss file on Atom and tried to save/compile it (autocompile on save is enabled), but I get that error.
The file is on a local server, it gets opened and saved properly from/to its location, but not compiled.
I looked everywhere for solutions, but I'm not entirely sure what the error actually is and what are relevant answers for that matter.
Any help? Thanks in advance.

Hey!
Ruby is not necessary for using my package!
Can you tell me where your file is stored?
Can you give me an screenshot of this error?

Hi, thanks for the reply.
As a side note, I wasn't able to install node-sass without Ruby, the cmd prompt gave only errors; but regardless of that...
Here's the screenshot attachment: the files are inside a NAS server in the office.
The NAS and the pc aren't directly cabled together (they weren't with the previous pc, and they aren't now); the NAS is cabled to the phone/internet plug on the wall near its position, and the pc is cabled to the one next to itself. Nothing changed in the NAS configuration, in fact another pc that was and is still connected in the same manner is still able to compile from/to the NAS location.
I tried to connect the old pc again, and it still compiles normally, while this new one does not.

Hi,
Have you found any solution to this issue ? I'm getting the same error and can't find how to fix it.
Thanks !

Hi. I get the same error with this detailed output:
{
  "status": 3,
  "message": "File to read not found or unreadable: //DG-PC-ADM-09/Dev-local/lerocher_d8_2019/sass/content-type-style/_frontpage-style.scss",
  "formatted": "Internal Error: File to read not found or unreadable: //DG-PC-ADM-09/Dev-local/lerocher_d8_2019/sass/content-type-style/_frontpage-style.scss\n"
}

In VS Code, autocompile work great so node and node-sass are fonctionnal.
If someone know about this.
Thanks


InCombatSkipped

13x YaHT\YaHT-2120.nil.lua:237: attempt to perform arithmetic on field 'maxValue' (a nil value)
YaHT\YaHT-2120.nil.lua:237: in function `?'
YaHT\YaHT-2120.nil.lua:400: in function <YaHT\YaHT.lua:395>
Locals:
InCombatSkipped

Pretty sure i fixed this. Have you tried updating?


CocoaPod

Cannot install latest SugarRecord:
pod 'SugarRecord', :git => 'https://github.com/carambalabs/SugarRecord.git', :branch => 'master'

[!] Unable to satisfy the following requirements:

Realm (~> 1.1) required by Podfile

None of your spec sources contain a spec satisfying the dependency: Realm (~> 1.1).
You have either:

out-of-date source repos which you can update with pod repo update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

@slli try what the error says. Execute pod repo update first and then pod update.

@slli update your Podfile to use:
pod "SugarRecord", "3.0.0-alpha.1"


lab issue search

A command could list issues using the search attribute of the API.

Or it could be a flag to lab issue list.

I like the idea of doing this via lab issue list --search, though I'm not sure what to do about a short flag as -s is already taken by --state.
@zaquestion if you're open to this, I would be happy to submit a PR.

I tend to think search should come in as a positional argument, but I don't fully understand why I think this to begin with...
I would accept lab issue list [remote [search]] for sure. Otherwise, I'd like to hear rational to do so differently and in turn see lab project list [search] updated to match.

This was merged in #242.


[d3d9] Payday 2 doesn't start up

The game starts up with a black screen, after a few seconds it crashes, I even tested with the latest development build and still no results. Tested with 1.9.1, it also crashed.
While I was doing the trace part, the .trace file just got only 2 bytes, I'm guessing it won't help much? But I'm uploading it anyway.
A box text also appeared.

I've pressed "retry" and another box text appeared.

And the game closed itself.
Software information
PAYDAY 2
The effects are turned off, graphics and shadows are on Low, frame rate limit on 45.

Also, this image is without the d3d9.dll ;p
System information

GPU: AMD Radeon R7 M260
Driver:
Wine version:
DXVK version: 1.9.2

Apitrace file(s)

https://drive.google.com/file/d/1xCPZFMtzFJC3zws5RmgshXLAnY7CzFhL/view?usp=sharing

Log files

d3d9.log: https://drive.google.com/file/d/1dWhgFPAZ7FSGJ4eu1uKDfykb-ch9CWrv/view?usp=sharing
d3d11.log:
dxgi.log:

The game is known to work, does 1.9 run?

Tested with no overlays, no Steam, no Discord and no RivaTuner, even tested 1.8 versions and still no results.

As per the project wiki

Unsupported. Any issues that are exclusive to Windows will be ignored.

That's only for D3D10/11. 9 is somewhat supported on Windows.

May want to update the wiki to reflect that

Also not able to reproduce this on my amd setup on windows using dxvk 1.9.2.

@gabsF Friendly ping. Are you still having this issue?

Hi, sorry about late response.
Unfortunately, my game still doesn't start up, even with the most recent version, 1.10.1. :/
The current version I have from the Driver of AMD is 21.5.1.
Even with no Lua mods, it doesn't work.

Hi, sorry about late response.
Unfortunately, my game still doesn't start up, even with the most recent version, 1.10.1. :/ The current version I have from the Driver of AMD is 21.5.1.
Even with no Lua mods, it doesn't work.

Can you try this on a Windows clean install or Linux?

Actually could you try with with the latest unreleased master version? We just had some luck in the similar issue above.
You can grab a download of it here.
https://github.com/doitsujin/dxvk/actions/runs/2605265111

Afraid I have to chime in on this too, as my copy of Payday 2 sits at pre-loading blackscreen then crashes.
I don't recall what version of DXVK I was using prior to now when it was working, but I tried out 1.10.3 and 1.10.2 with the crash still occuring.
I'm downloaded WinDbg to parse the MDMP crash files in case they provide any insights, but they appear to be identical content to the crashlogs the game naturally generates. I have posted as many details as I can about my PC as well as the full contents of the crash log under DXVK 1.10.2 here https://pastelink.net/4v9whtz4
I hope I was helpful and I hope we can resolve this issue :)

@HajimeSait0 I'm gathering this on linux?

No, I commented in the pastelink that this was Windows 10 version 21H1 build 19043.1889
I am however embarrassed to admit that I just tried (one of?) the latest master builds I could get my hands on, and the game has currently successfully booted to main menu. The relevant build was located here https://github.com/doitsujin/dxvk/actions/runs/2852177417
I will edit this comment further if I have any additional trouble or seemingly Vulkan-related crashes. At least something that's changed has improved support with PD2. Sorry to bother you fine folks :)

Oh yea missed that. Just saw VkLayer_steam_fossilize and my mind went to linux. Nvm then :grin:
Sounds good :+1:

It's most likely crashing in an unrelated Vulkan layer. Try uninstalling Riva Tuner and any other overlay software.

This also happens to me. It's been working fine last year and in march for me, but now the game just doesn't start on any version of the DXVK. Even without the RivaTuner


Add ms precision to finished dungeon timer

Trying to (kind of) add the request made in #35, this adds the exact completion time as informed by the blizzard api after dungeon completion, and shows it with ms precision.
How it looks when timing a key

Ohh that's a really good idea! I think we should provide an option to turn on/off millisecond display, but updating the time to the blizz provided one on completion should definitely be the default. Could you add that option somewhere? I think it belongs in the general tab, probably

I added the option to enable/disable the ms display, but still the timer will show the time from blizzard api upon key completion.

Awesome, thank you!


Stream error if camera.turn_off not used

Stream from a P2P camera works just fine (using RTSP integration), but if I close the window or move away without the "camera.turn_off" command, the streaming remain active and after some times it seems to get "stuck". Camera status remains "Streaming - p2p", but I can see the streaming. In order for the camera stream to work again I have to reload the integradion.
Those are the errors from the add-ons:
2022-02-21 14:43:14.390  ERROR Message error
LivestreamNotRunningError  Livestream for device T8422N0021060C0A could not be stopped, because it is not running
error stack:
• message_handler.ts:145 handle
src/lib/device/message_handler.ts:145:31
• server.ts:50 device
src/lib/server.ts:50:34
• server.ts:102 receiveMessage
src/lib/server.ts:102:58
• server.ts:61
src/lib/server.ts:61:53
• node:events:520 emit
node:events:520:28
• websocket.js:1137 receiverOnMessage
node_modules/ws/lib/websocket.js:1137:20
• node:events:520 emit
node:events:520:28
• receiver.js:528 dataMessage
node_modules/ws/lib/receiver.js:528:14
• receiver.js:446 getData
node_modules/ws/lib/receiver.js:446:17
• receiver.js:148 startLoop
node_modules/ws/lib/receiver.js:148:22
2022/02/21 14:42:53 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46444] opened
2022/02/21 14:42:53 I [-1/0] [path T8422N0021060C0A] created
2022/02/21 14:42:53 I [-1/0] [path T8422N0021060C0A] runOnDemand command started
2022/02/21 14:43:03 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46444] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:03 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46444] closed
2022/02/21 14:43:03 I [-1/0] [path T8422N0021060C0A] runOnDemand command stopped
2022/02/21 14:43:03 I [-1/0] [path T8422N0021060C0A] destroyed
2022/02/21 14:43:04 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46454] opened
2022/02/21 14:43:04 I [-1/0] [path T8422N0021060C0A] created
2022/02/21 14:43:04 I [-1/0] [path T8422N0021060C0A] runOnDemand command started
2022/02/21 14:43:13 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46472] opened
2022/02/21 14:43:14 I [-1/0] [path T8422N0021060C0A] runOnDemand command stopped
2022/02/21 14:43:14 I [-1/0] [path T8422N0021060C0A] destroyed
2022/02/21 14:43:14 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46472] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:14 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46472] closed
2022/02/21 14:43:14 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46454] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:14 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46454] closed
2022/02/21 14:43:23 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46482] opened
2022/02/21 14:43:23 I [-1/0] [path T8422N0021060C0A] created
2022/02/21 14:43:23 I [-1/0] [path T8422N0021060C0A] runOnDemand command started
2022/02/21 14:43:27 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46488] opened
2022/02/21 14:43:31 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46492] opened
2022/02/21 14:43:33 I [-1/0] [path T8422N0021060C0A] runOnDemand command stopped
2022/02/21 14:43:33 I [-1/0] [path T8422N0021060C0A] destroyed
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46488] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46488] closed
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46492] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46492] closed
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46482] ERR: source of path 'T8422N0021060C0A' has timed out
2022/02/21 14:43:33 I [-1/0] [RTSP] [conn <IP_ADDRESS>:46482] closed
ffmpeg-20220221-080931.log

streaming stops after some unknown time by the device itself, and sometimes, integration is not informed by this specific action. as streaming has already been closed on device end, sending turn_off does not add any value. what happens if you call turn_on in this state?

when this happens, turn_off or stop_p2p_livestream will not work. Only way to get camera working again is to reload the integration.

I have included a fix to turn off the stream, in case no more bytes are arrived, please comment back if you still have this issue


fixed misuse of colon of connecting-to-github.md

Why:
Closes:

Fixes:  https://github.com/github/docs/issues/33033#issue-2303378010
What's being changed (if available, include any code snippets, screenshots, or gifs):

Replaced colon with period and  capitalized "e" in "each"
Check off the following:

[ ✔] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ✔] For content changes, I have completed the self-review checklist.

@Nudnick007 Thanks so much for opening a PR with this fix! I fixed a few small typos regarding unnecessary capitalization of the word "each" 💛 I'll update the branch and get this merged once tests are passing 🍏


Glob pattern match does't work as expected

This pattern below actually checks under frontend/icon/**/*. Is this how eclint works?
yarn eclint check "frontend/**/*" "[!]frontend/icon/**/*"

how about try this: yarn eclint check "frontend/**/*" "!frontend/icon/**/*"?

wow it works. thanks!
So REAME's description is incorrect...? or does this depend on the environment...?

Unfortunately, in bash, you can't add a negative glob with "!foo.js". Instead, you can put square brackets around the ! and eclint will take care of it. For example, "[!]foo.js".

So README's description is incorrect...?

I'm not sure, because I work under Windows 10.


Stake pool DB worker doesn't save sync progress in Byron

Context

Information
-

Version

Platform

Installation

Steps to Reproduce

Start a cardano-node connected to the byron mainnet
cardano-wallet-shelley serve --node-socket socket --mainnet --database wallet-db
wait 20 s
ctrl-c
cardano-wallet-shelley serve --node-socket socket --mainnet --database wallet-db

Expected behavior
The sync progress from the first launch is saved, and it doesn't have to start from the beginning after quitting.

Actual behavior
It restarts from genesis the second time.
Syncing through the whole of byron again may take some time. I guess it takes ~10 minutes on my machine, if the node is already synced, so while not optimal, I believe it should be fine for now.

Resolution

QA
Currently there are no integration tests. All we do is test the putHeaders and listHeaders DBLayer functions: https://github.com/input-output-hk/cardano-wallet/pull/2138/files#diff-c3e090fb717915e32577d1c7311e8ab5392c830dec9a705e025f0bf84af6b099
This tests the new table block_headers.
Testing that the wallet resumes the chain at a certain point is very easy on testnet though. Starting sync process, crtl+c and start wallet again. Then check that it resumes on the previous block height.

Why is this in progress?

@hasufell good question, why is it not in QA ?

@piotr-iohk added QA section... I believe you already tested this, but we didn't follow the process properly I think

LGTM. I have added manual test for this in https://github.com/input-output-hk/cardano-wallet/pull/2271 / https://github.com/input-output-hk/cardano-wallet/commit/466a43b0fc82c313174f530a0016e1654be5d008.


Anyone have computed.sort success

Is it possible to use this with Ember.computed.sort?
We want to ensure that if we add an object using updateInfinityModel that the content is added in the appropriate location.

Well just for reference.  The only way I was able to get this to work was actually pass the sorting function.  I wasn't able to use the second param.  'sortString'.


Fix docs link in README

Looks like the docs subdomain doesn't exist anymore(?) and docs are at www.tier.run/docs

Merged, Thanks!

no problem 😃
think the merge conflict with your own commit went wrong though, there's now an extra bullet point


Filter events by categories

Is your feature request related to a problem? Please describe.
I'm looking for all fun & leisure events in IG, but because of thousand events I cannot find those. It would be so nice to be able to filter events by category (maybe reuse the poi categories?)
Describe the solution you'd like
Implement a filter for web & native for categories. The filter should look nice together with #2706
Describe alternatives you've considered
N/A
Additional context
Relates: #2706

Design can be found 📍 here


feat: Add cloudwatch_log_group_arn to outputs

PR o'clock
Description

Problem

Currently we cannot apply some resources which depends on eks module generated cloudwatch logs arn, like followings.

How to solve?

add output cloudwatch_log_group_arn

module "eks" {
  source = "terraform-aws-modules/eks/aws"
  ...
}

resource "aws_lambda_permission" "log" {
  ...
  source_arn    = module.eks.cloudwatch_log_group_arn // <- we cannot pass cloudwatch arn in the same terraform apply.
}

To work-around, we need to define data resource. But in this case, we need to execute terraform apply twice to get cloudwatch resource.
data "aws_cloudwatch_log_group" "log" {
  name = module.eks.cloudwatch_log_group_name[0]
}

Checklist

[x] CI tests are passing
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

ci failed on master branch, and fix it in https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1073

Thanks @krrrr38 for your contribution.

than you to maintain this module 🙏


Feature: Exercise 5 Page

Create Exercise 5 page based on the Figma.

Still need to implement the rest here.


Can I export the ExpressRoute Network Performance to Event hub / Blob

I tried to search the ways to collect the ExpressRoute Network Performance.
Is it possible to export the ExpressRoute Network Performance to Event hub?
Or it only export the data to Blob in table like other services using Azure Monitor.

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

ID: 60644a6c-a495-3293-8713-3ae41eb75029
Version Independent ID: ff0b24d5-0d61-d079-127b-0eae6df3e651
Content: Network Performance Monitor solution in Azure Log Analytics - Azure Monitor
Content Source: articles/azure-monitor/insights/network-performance-monitor-expressroute.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @abshamsft
Microsoft Alias: absha

@HansonChiu1994 Thanks for your comment. We are actively investigating and will get back to you shortly.

@HansonChiu1994  Currently, ExpressRoute Network Performance is only collected in Log analytics workspace. If you want to export the data to event hub, I would suggest you go through this document which will help you in streaming the log analytics data to Event hubs.
Also, as you mentioned it would be nice to directly export the performance data to Event hubs or storage account, I also would recommend you to navigate here and share your feedback or suggestions directly with the responsible Azure feature team and clicking the vote button of your suggestion to raise visibility and priority on it.
Hope this helps!!
As there are no further documentation changes, we will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


add additional hooks for allow users to gracefully not be logged in…

… to WordPress but still use OneLogin SAML
Hi @pitbulk,
As a developer from a large company that uses this plugin on several sites, we have added the ability to have users log in with SAML but not exist in the database.
For now, we are using this plugin for admin login, but we will have a need to use it for logging in customers that don't have an account, nor do they need an account, stored in the WP database (so we would need to log in users without having it / creating it in the WP database).
These users would log in via 'onelogin-saml-sso' and the user data would be stored in a PHP session.
We've made some changes to the plugin so we could use it that way, via WordPress actions/hooks and not impact any other usage of this plugin. We would really appreciate it if you would merge in our changes.
We've added just a few hooks to the plugin that allows us to modify the plugin log-in behavior, no functionalities were changed.
If hooks aren't used plugin will work the same way as is now (without our changes).
We had to implement following hooks / changes to be able to use the plugin:

do_action('onelogin_saml_attrs_pre_setup_user', $attrs)

location: php / functions.php (line 395)
this will allow us to get user attributes from SAML response so we can save them in PHP session

apply_filters('onelogin_saml_show_no_user_error_response', true)

location: php / functions.php (line 462)
changed: } else {
replaced with: } elseif (apply_filters('onelogin_saml_show_no_user_error_response', true)) {
this will allow us have a logged in user without having an existing user in the WP database (if we don't create it this would echo an error message)

do_action( 'onelogin_saml_attrs', $attrs, wp_get_current_user(), get_current_user_id(), $newuser)

location: php / functions.php (moved from line 492 to line 476)
we moved this function inside above if statement that checks if there is user_id set up (we are storing user data in a PHP session and don't create a user in WP db, so this would cause an error (we are skipping throwing an error if no user is found / created in #2))

apply_filters('onelogin_saml_after_login_redirect_url', home_url())

location: php / functions.php (lines 510 and 521)
changed: wp_redirect(home_url());
replaced with: wp_redirect( apply_filters('onelogin_saml_after_login_redirect_url', home_url()) );
this is added so we customize default redirect path after user is logged in (if 'RelayState' wasn't passed in response we can modify default redirect path)

Please let us know if you have any questions at all.

@pitbulk any update?


VS Code does not respect remote Jupyter server setting

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

Select "Specify local or remote Jupyter server for connections"
Select "existing".
Enter the address of a running Jupyter notebook server (either local or remote).
Reload workspace.
Open a Python file.
Select "Show interactive python window"

Actual behavior
A local Jupyter server is started.
Expected behavior
VS code should connect to the remote server.
Could it be a restriction on HTTP (vs HTTPS) remote hosts?
Workspace settings:
{ 	"folders": [ 		{ 			"path": "A\\B" 		} 	], 	"settings": { 		"python.dataScience.jupyterServerURI": "http://<IP_ADDRESS>:8888/?token=rtuqeotiuqweoriqpwe", 		"python.pythonPath": "C:\\Users\\user\\Anaconda3\\python.exe" 	} }
Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: = Remote
Extension version: 20YY.6.91350
VS Code version: 1.47.0
Setting python.jediEnabled: true | false
Setting python.languageServer:  Microsoft |
Python and/or Anaconda version: #.#.#
OS: Windows | Linux (distro): Ubuntu
Virtual environment: conda

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thanks for reporting this issue please could you provide the following info:

Output from your console window (open Developer Tools, then go into Console Output)

Console window output:
vscode_output_window.txt
Thanks

How did you get your settings.json? It looks like you have a workspace open. Would you by chance also have a .vscode/settings.json file in the folder that's open in the workspace?
That seems to repro the issue for me. It works fine if there's no settings.json in the folder.

That was the problem - One of the workspace folders had a .vscode/settings.json file inside. Once I removed this file, VS Code connects to the correct kernel.
Closing. Thanks!


Optional Chaining and Type Narrowing

🔎 Search Terms
Optional Chaining, as Operator, Type Narrowing
🕗 Version & Regression Information
v4.6.2, 'Nightly' version as well
⏯ Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAkgtgQwObQLxQN4CgpQGYD2ATosAM4BcUZwRAlgHZIDaAumwNxYC+WWokKAAUiBACYBXAMbAo6bLjqIUlWMohsoAHygMJAG31de-cNACCUqRDJliIOZhMCLYsQQaOFUMKMkyqEXFpWR1La1t7bV0DIx4+PAkGGToPKCkACwgpAGsACgQ3D1VzIoY2AEpMHCg6PCg8grKyZgAGVgB+ADpfYJkoBDJhPxCK7qVkG279CCZgDKrvXCli2Tw6Ihp4Sccm9wYW9p6R-sHhvuAKromVNtYuXF5uIA
💻 Code
type Image = {
  formats: string[][];
}

type Product = {
  images: Image[] | null;
}

type Accessory = {}

type Addon = {
  product: Product | Accessory | null;
}

function check(addons: Addon[]) {
  if ((addons[0]?.product as Product)?.images?.length) {
    const firstImage = (addons[0].product as Product).images[0];
  }
}

🙁 Actual behavior
Errors in code: Object is possibly 'null'
🙂 Expected behavior
No errors
Additional note
If you remove 'Accessory' type at all and remove the 'as' operator, everything will work fine

Narrowing only occurs on specific syntax. By using a type assertion the compiler is losing the context to the variable and can't narrow it anymore. You can narrow a variable, such as addons[0]?.product, but you can't narrow an expression like addons[0]?.product as Product. I'm sure I've seen an issue about this already, but I can't find it anymore right now.
A simple workaround is to store type-asserted value in a variable and then narrow the variable:
const product = addons[0]?.product as Product | undefined;
if (product?.images?.length) {
  const firstImage = product.images[0];
}

Thanks for clarification @MartinJohns . Close the issue


Atomizer: Creating atomizer from "the other" places now does not make sense

The question is: what to do? Allow "purchase"? Or an user has bad luck? From the other side - I cannot do a build on thing I do not own. So like that.

Obsolete.