feat: add buffered cache

feat: add buffered cache
Description
If the buffered has cache, we don't need to repeat request video data.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #43 into master will decrease coverage by 0.28%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   53.27%   52.98%   -0.29%
==========================================
  Files         123      123
  Lines        1650     1659       +9
==========================================
  Hits          879      879
- Misses        771      780       +9

Impacted Files
Coverage Δ

packages/griffith-mp4/src/mse/controller.js
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[INLONG-11349][Sort] Integrate opentelemetry for sort-connectors-v1.15

Fixes #11349
Motivation
Integrate opentelemetry for sort-connectors-v1.15
Modifications
Integrate opentelemetry for：

sort-connector-iceberg-v1.15
sort-connector-kafka-v1.15
sort-connector-mysql-cdc-v1.15
sort-connector-pulsar-v1.15

However, some connectors that do not conform to the FLIP-27 have not yet been integrated
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[ ] This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

When integrating sort-connector-kafka-v1.15 and sort-connector-pulsar-v1.15, the unit test fails. I currently think it is a Maven dependency issue, which I will try to resolve later.

Thanks for your contribution.
Sorry, but If we don't use the open telemetry, why do we initialize it in the open method?
Maybe add a new configuration to enable open telemetry is better?

Thanks for your contribution. Sorry, but If we don't use the open telemetry, why do we initialize it in the open method? Maybe adding a new configuration to enable open telemetry is better?

I have finished it, now we can control whether to enable log reporting through command line parameters when submitting flink tasks. Just add --enable.log.report true when submitting the task.


Remove codecov from CI

Remove codecov from CI.
Fix #2470.

hmmm, I'm thinking: should we remove the trec-car-tools vendored dependency, now that we don't support python scripts anymore? I'm not sure which dataset required it (it's not https://huggingface.co/datasets/trec)

I am rebasing this PR onto master.


Terraform borks up on count keyword

I get this with terraform 0.12.3:
Error: Reserved argument name in module block

  on main.tf line 48, in module "swap":
  48:   count       = "${var.node_count}"

The name "count" is reserved for use in a future version of Terraform.

Apparently some renaming is now a must.

Replacing count with node_count everywhere and version with etcd_version everywhere solves this.

I'm having issues with 0.12 as well, did you manage to get it working?

Yeah, just replace count variable with node_count and version variable with etcd_version everywhere.

yes, did that in order to prepare a pr, but I met a lot of other errors,
I'm away from computer but some were about unallowed var blocks. tried with
latest tf version?
On Mon, Aug 12, 2019, 23:09 Łukasz Biały<EMAIL_ADDRESS>wrote:

Yeah, just replace count variable with node_count and version variable
with etcd_version everywhere.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hobby-kube/guide/issues/76?email_source=notifications&email_token=AAADELHSTDIJLT4IMQAU73TQEHGPFA5CNFSM4ICFOHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4D2WTY#issuecomment-520596303,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADELAEO4QZWMM2AUC3ZZDQEHGPFANCNFSM4ICFOHJA
.

Hmm, not yet.

Currently very busy here. Terraform 0.12 seems to break a lot of code. Will try to catch up as soon as possible. You should stick with 0.11 until then.

This will be fixed with https://github.com/hobby-kube/provisioning/pull/48

This has been fixed with https://github.com/hobby-kube/provisioning/pull/48


Handling interpolated strings?

We're observing a behavior when using interpolated strings. If our code is:
println(t(s"Sending node"))

Then the output in i18n.pot is:
msgid new StringContext(scala.this.Predef.wrapRefArray[String](Array[String]{"Sending node"})).s(immutable.this.Nil)

Where interpolation is actually used:
println(t(s"Sending node ${node.name}"))

we see:
msgid new StringContext(scala.this.Predef.wrapRefArray[String](Array[String]{"Sending node ", ""})).s(scala.this.Predef.genericWrapArray[Any](Array[Any]{StreamOfIndexables.this.channel().getClass().toString()}))

Can we not use interpolation with scala-xgettext?

Yes, the thing passed to t should be a literal string.
You can change:
println(t(s"Sending node ${node.name}"))

To:
println(t("Sending node %s").format(node.name))

Ah, that's unfortunate.
I'm going to think on this a little more when I get back to work in the morning (US east coast bedtime now).
Can you think of a way that scala-xgettext could be extended to support interpolation? I'm not sure if it's possible, given how interpolation is handled (at compile time, iirc).

It's not "unfortunate".
Think about it.
When you write println(t(s"Sending node ${node.name}")), what do you want to be extracted to your language file?

I don't know what I'd expect. If I ignored what I know about how Scala handles interpolated strings, I would expect
msgid "Sending node ${node.name}"

just as if it wasn't interpolated. This obviously is not very possible, because, if I understand scala-xgettext correctly, it extracts each strings from the AST where the string is passed to the t method on a certain class (or however it's been configured). Thus, scala-xgettext doesn't even know what the original code looks like.
Could scala-gettext somehow modify the AST, injecting the string.format(params) on the fly by modifying the StringContext? I'm just throwing ideas out there.

Using String.format method is in general not very translation friendly, as you sometimes need to reorder the arguments in the translation and this is not possible with String.format. That's why it is common to use indexed parameters. In Java (and of course also Scala) that kind of placeholders is used by MessageFormat.format and supported by GNU (x)gettext. It looks like this: "{0} errors found: {1}".
So, one feasible expectation could be:
msgid "This has {0} used {1}"

Nice to have: Detect, when the same pure expression is used in the placeholder and reuse the same index: e.g. s"you have ${n} of ${n}" => "you have {0} of {0}".

String.format method is in general not very translation friendly

You can use placeholders in String.format like this:
// 1$ and 2$ are placeholders
String.format(t("%1$s says hello to %2$s, then %2$s says hello back to %1$s"), name1, name2)

I've updated the README to explain about using placeholders in String.format and MessageFormat.format.
I'll close this issue now.


The readout of the Rx program fails

The output of the Rx program has some header lines which need to be skipped (are they new?).

Rx program require revisit, see also  also integration test in tests/integration_tests/test_ray_tracing.py:test_rx (at this point switched off)


Add nextjs example

I've been testing RSPC in a Next.js project and thought I could add an example based on it. Also did some extra changes I thought made sense. Let me know if you want any of them reverted.
Summary:

Made Axum example file into an actual project that can be run by Cargo (bindings output to /examples/bindings.ts)
Moved Astro (packages/example) into /examples/astro
Added Next.js example to /examples/nextjs

I'm not fully sure if the changes made to Cargo.toml in root are correct, so please check that.
Fixes issue https://github.com/oscartbeaumont/rspc/issues/43

@oscartbeaumont Just give me a shout here or on discord if you want any changes

Yeah I get that, wasn't completely aware of how the /examples directory worked.
Could and alternative be to move the crate into /packages/rspc/packages/rust or something. That way general examples can live in /examples and crate examples in /packages/rpsc/examples

Heads up, I haven't forgotten about this. I wanna get the changes from the 0.0.6 branch in before I merge this because I think they will come with a rearrangement of the examples.

Sorry for the delay. Thanks for your contribution!


How to import and instantiate a new circos in ES6?

Hi @nicgirault,
I couldn't any information on README on how to use circosjs in ES6, so I tried this:
import React, { Component } from 'react';
import Circos from 'circos';

class Chart extends Component {
  render() {
    let myCircos = new Circos({
      container: '#lineChart',
      width: 500,
      height: 500,
    });
    return (

    );
  }
}

But I got this error:
TypeError: __WEBPACK_IMPORTED_MODULE_2_circos___default.a is not a constructor

I am very new to ES6 so please bear with me. Thank you very much, would appreciate any help.

A quick look at the source code shows Circos is not a class, thus cannot be instantiated with the new keyword. It is a function and must be called as one. The code you are seeking looks like this:
    let myCircos = Circos({
      container: '#lineChart',
      width: 500,
      height: 500,
    });

@ferrantejake thank you on your comment. However, I've tried doing that and it gave me this error instead:
TypeError: __WEBPACK_IMPORTED_MODULE_2_circos___default(...) is not a function

Any idea?

My apologies, I missed your import statement. You are attempting to do a default import (see this MDN article on importing and this MDN article on exporting). Given the way Circos is exported,  you want to import the library using the following
import * as Circos from 'circos'

This will import the function as the variable Circos which you can call using the specified code above.

@ferrantejake It's still giving me the same error. I'm not sure but could it be that Circos is exported as
// in ~/src/circos.js
const Circos = (conf) => {
  const instance = new Core(conf)
  return instance
}
module.exports = Circos

so
import

doesn't work?

Can you post your updated code?
I wrote an example which demonstrates the intended usage. Here is a screenshot of the example being run.

Here they are. My apologies for the delay.

@imranariffin thanks for reporting this issue. I think the problem comes from the webpack configuration that expose that specify:
library: 'Circos',
libraryTarget: 'var'

I'll try to fix this ASAP

This issue should be fixed by upgrading to circos 2.0.7 Can you reopen this issue if it's not the case for you? Thanks

@nicgirault Thank you very much for the response. I'll open a new issue.


Fix sandbox on small screen devices

On small screen devices (you can reproduce by using split screen if required) several of the lists within the sandbox do not scroll.
This causes the content to become truncated. We should add the vertical scrolling modifier to fix these Nodes.

Videos of bug:
appyx-not-scrollable-1.webm
appyx-not-scrollable-2.webm


Suspicious remains of previous window borders flash up when closing the window

Environment
Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0

Steps to reproduce
Resize the window to smaller, then back to about its original size or even bigger.
Close the window.
Expected behavior
The window should simply disappear.
Actual behavior
For a fraction of a second, tons of horizontal and vertical lines, which look like the border of the window at its previous sizes, are painted inside the window area.
This suspiciously looks like some leftover widgets that don't get properly cleaned up during a resize, potentially consuming various resources (and maybe causing who knows what other problems).
(Could be related to #3207?)

So! This is actually because we're only painting the border of our window and leaving the rest unpainted. We've seen DWM do some very strange things when we paint the client area, so this is more reactionary than planned. :smile:

Sticking this one on to #1625. Thanks!


docs: config.json changes

Open to document upcoming changes to config.json handling.

Instead of replacing default config with the contents of config.json, the configurations are now merged and only changes to the defaults need be specified in config.json

This is per property, meaning if you specify:

  }

in your configuration and provide no other properties, it will assume the defaults specified in app/server/config.js

BREAKING: moved config.http.path -> config.socketio.path

BREAKING: moved config.session.secret -> config.express.secret

Exposed ability to control full socketio configuration at config.socketio

hold

hold


Event: Add required handlers

Add require method on IEvents which will ensure that the given call is registered.

Done!


Add require-top-level-describe rule

Fixes #84

Not sure if we should recommend that by default. I‘d vote against.

Not sure if we should recommend that by default. I‘d vote against.

Totally agree, this PR adds the rule, but not enabled by default!


Consider data access specification

Since Jakarta Data has been proposed in Jakarta EE community, it is better to collaborate with that spec group instead of creating another flavour of the spec, which will cause confusion.


Attachment Transfers Support

Please add the attachment Transfer support in the package

Can you please define your request?

XEP-0052: File Transfer. There is no method in current version for transferring files (image/video/docs). Can you please tell me, if there is method available for doing this in this library? Also i want to transfer user phone contacts between jabberIds. Please guide me if i am missing something.

Yes you are right XMPP-0052 is not yet supported.
Also it's currently not possible to transfer contact info's.

You are really doing a great contribution to this library. I can guarantee this will be worth it in the future. If you just add a few more important xmpp extensions to this library this library can become the one for the flutter. Because file transfer is the basic thing nowadays in a chat system.


Fixes TileSet atlas merging not working correctly

This fixes issues with atlas merging not working correctly as pointed out in the discussion there: https://github.com/godotengine/godot/issues/71188
Basically:

Tiles properties were not copied at all,
The new texture was not set correctly,
The dialog would keep an outdated preview when opening it again.

Thanks!


Python Example

Is there any time frame on releasing some examples on using Python?

Sorry, we don't plane to release Python examples in the near future.

Hi all,
So, as far as this goes, I've kinda built my own version of a python way of recording Emotiv Data, very similar to @Agitolyev 's....
However, it seems to be injecting markers fine (i.e., when i call the "injectMarker" method it returns some data to the console), but when I open EmotivPro to create a CSV or EDF of the data there are no markers in it. Can anyone help? I would gladly share the little bit of code that i have for some much needed assistance...
Best,
Dani

anyone?

Could you share the code as a project  @Daniboid ?  So we can test it.


Consider monitoring smart devices to ensure uptime

Details
There's a couple options here but it would be nice to monitor devices in zigbee2mqtt and zwavejs2mqtt

https://github.com/prometheus-community/json_exporter
https://github.com/hikhvar/mqtt2prometheus
https://github.com/kpetremann/mqtt-exporter

For the most part this is done using kpetrem/mqtt-exporter for zigbee2mqtt and the in-app plugin for zwavejs-ui


[core] Better control over dashboard widgets

Dashboards are generally fairly rigid in their implementation which is good if you just want to pick up the good defaults but bad if you want to customize them for any reason.
Ideally, the API should allow for:

Adjusting period per-widget (which the dashboard's periodOverride allows respecting)
Controlling what widgets are added
Controlling what metrics are used
Controlling positioning/sizing of widgets
Controlling addition of annotations

This may include how widgets are added for custom monitoring, which always uses a calculated width.

I think we could consider some way to specify this layout in monitoring props. For example, something like new SomethingMonitoring(facade, {something, layout: new WidgetRowLayout(latencyWidgets, errorWidgets)}). Not sure how customizable to make it and what would be the base building blocks. Metrics? Metric groups? Widgets? Or rather features?

I see two possible approaches:

Come up with some Layout object (either generic or monitoring-specific), that would get some abstract high-level widget definitions, and the goal would be too create the specific IWidget objects. This would require creating the abstractions and basic "flow" layout. Probably would break the custom layouts in some of the monitorings (e.g. DDB).

Make it much easier to create sub-classes or change behaviour in the monitorX() methods. For example, add a prop to override the layout manager. This would be fully backwards compatible, but it would be difficult to reuse the layouts, since they would not have identities.

These options are not mutualy exclusive.

From #191:

Provisioned Concurrency Spillover count is included in lambda's invocation graph even though it is unused by our BoxerTicketingService so we would like to remove it.
Also in the latency graph, we would like to add TM99 metric and remove the P90 and P50 metrics
The ask is the ability to remove/add metrics to lambda's graphs (specifically "Invocations" and "Latency" graphs)

Hi there,
I realize that a broader discussion on this has been opened recently, but I'm curious if the author would also be open to a short-term fix to support this functionality as I'm trying to change some configurations related to the different dashboards (e.g. different suffix than "-Summary", different period configurations, etc.).
I looked through the code and it seems that the problem is that the DefaultDashboardFactory constructor is creating dashboards in the constructor and then assigning them to their respective fields which are exposed via methods defined by the IDashboardFactory interface:

dashboard -> createdDashboard()
summaryDashboard -> createdSummaryDashboard()
alarmDashboard -> createdAlarmDashboard()

This means that even if I provide my own dashboard factory, I can't actually customize the dashboards very much because the call to super() is going to immediately create dashboards which I have no control over other than what is already provided by existing props.
Instead, could we defer creation of these dashboards until a there's a createDashboard(), createSummaryDashboard() , or createAlarmDashboard() call and instead store necessary information (e.g. rendering preference, start/period overrides, etc.) as class fields? This would allow clients to at least customize some of the content.
What do you think? Is this a reasonable suggestion?


Track command that automates inheritance across groups

Something people often overlook is the fact that tracks don't assume inheritance. I also think that the process of making tracks and groups might be a bit tedious especially if someone is creating tracks with lots of groups (I've noticed many people are doing groups for levels 1-99, for example).
I'd like to suggest a command that could help automate this process by combining other commands into one.
Command suggestion:
/lp createtrack <trackname> [groups] [inherit]

[groups] would be a comma separated array of groups (e.g. helper,mod,admin) that LP would create in order from the first to last.
[inherit] would be a boolean, if true then it would setup inheritance across all the [groups] starting from the first one (e.g. mod inherits from helper, admin inherits from mod). Defaults to false.

So executing the following command...
/lp createtrack staff helper,mod,admin true
Would be the equivalent of doing these commands:
/lp createtrack staff
/lp creategroup helper
/lp track staff append helper
/lp creategroup mod
/lp group mod parent add helper
/lp track staff append mod
/lp creategroup admin
/lp group admin parent add mod
/lp track staff append admin

In the meantime, I have put together this web app which should help anyone create a track of inherited groups:
https://turbotailz.github.io/luckperms-group-generator/

I think it's probably not worth adding this convenience in the form of a command now the web editor has it built in!


Improve test flakiness

The tests are very comprehensive, and I’m very happy that they helped me find so many edge cases. They are written at a very high level, which gives a lot of confidence (and should make a potential rewrite in another language nice). However, the high level involves real time passing, real file system watching and real Web Sockets. While that did help me understand for example file watching better (like, how many watcher events do you get if the same file changes rapidly?), it does make the tests a bit flaky. I’ve used some pretty … clever … hacks to stabilize many tests, but not all.
Currently, the tests pass locally on both Linux and macOS, but usually fail at some point in CI. I can still run them locally and feel confident about new releases, but it would be nice to get those green CI checkmarks.
It doesn’t help that I got tired of testing and “fixed” some tests with arbitrary sleeps (in the tests, not in the source code). The readme says “elm-watch is serious about stability” – so this is a bit embarrassing.
As soon as I get some more energy I want to get back to this and clean the tests up.

Here is a script to see which tests are retried the most:
set token FILL_ME_IN

set dir (status dirname)/scrape
mkdir -p $dir

set workflow_runs (curl -H "Accept: application/vnd.github+json" "https://api.github.com/repos/lydell/elm-watch/actions/runs?per_page=100&created=>=2022-07-16&exclude_pull_requests=true" | jq -c '.workflow_runs[]')

set count (count $workflow_runs)

for i in (seq $count)
    set workflow_run $workflow_runs[$i]
    set name (string join \n -- $workflow_run | jq -r '.name')
    if test $name != Test
        echo "### $i/$count: Skipping: $name"
        continue
    end
    set created_at (string join \n -- $workflow_run | jq -r '.created_at')
    set logs_url (string join \n -- $workflow_run | jq -r '.logs_url')
    set subdir $dir/$created_at
    set zip $subdir/logs.zip
    echo "### $i/$count: Download logs from $created_at to $subdir"
    rm -rf $subdir
    mkdir -p $subdir
    curl -L -H "Authorization: token $token" -H "Accept: application/vnd.github+json" $logs_url >$zip
    unzip -d $subdir $zip
end

set results_file $dir/results.tsv
rg 'RETRY ERRORS  (.+)' $dir -or '$1' | rg '([^/]+Z)[^(]+\(([^,]+), (\d+)\)[^:]+:(.+)' -or '$1'\t'$2'\t'$3'\t'$4' >$results_file
cut -f 4 $results_file | sort | uniq -c | sort -nr


cloudflare-pages uses crypto polyfill but cant find methods

Describe the feature
I am creating a nuxt3 app and want to swap vercel for cloudflare-pages.
Currently its deployed on vercel, not sure why the (probably incomplete?) crypto polyfill provided by unenv is no issue here. The app is running fine. of course the preset for nitro is different.
On cloudflare-pages there seems to be an issue with libraries depending on unenv

jose
nitropack
sidebase/nuxt-auth

as someone mentioned it was worth trying to override unenv for these packages above to be of version 1.2.2 (in package.json)
this wont work either as it looks like jose is depending on newer exports from unenv. ("types" is not exported from util polyfill by unenv but wanted by jose) so the util library is a core node library that seems to be polyfilled incompletely also. Correct me if i'm wrong as i'm no expert at all when it comes to node.
I further looked at the possibility to maybe inject missing functions with the vite bundler but it seems only to be possible with core library's.
Hope this makes any sense
Kind regards,
Wouter
Additional information

[ ] Would you be willing to help implement this feature?

I think it’s because nitro compiles it into a different format. https://nitro.unjs.io/deploy/providers/cloudflare
Also I can confirm this is an issue

The above Pull Request allows for sidebase/nuxt-auth to compile

Hi @AwesomeDude091, this error isn't necessarily related to unenv, but to the fact that sidebase/nuxt-auth isn't compatible with cloudflare.
You could use this module I made for my personal needs https://github.com/Hebilicious/authjs-nuxt
What's happening is that despite the fact that some of nuxt-auth dependencies use the "node:crypto" module, which isn't a node only API. While you could try to polyfill it with unenv, you might run into other issues. The proper fix is to use packages that uses "crypto" ("web:crypto" in node.js) if you're not using node.js environments.


No noninteractive tabindex

This rule is intended to disallow constructs like:

I ran this over ~33K components and found ~170 violations.

Coverage increased (+0.01%) to 99.498% when pulling 1f6b5661ff6054dca3418558cf9fc1f6fa087de1 on jessebeach:no-noninteractive-tabindex into acae0a23f89bff3338d7c876f845ff967e912bb1 on evcohen:master.

Coverage increased (+0.01%) to 99.501% when pulling 8c9ad6bcf36fcaf6c6c3a00388c8cfaf65a3a126 on jessebeach:no-noninteractive-tabindex into acae0a23f89bff3338d7c876f845ff967e912bb1 on evcohen:master.

Coverage increased (+0.01%) to 99.504% when pulling 7c19fdb9c0390837452ffb899ce2f710112faa4b on jessebeach:no-noninteractive-tabindex into 1c19f4fa8539677ba67b85544e9d86366c30792a on evcohen:master.

Coverage increased (+0.01%) to 99.504% when pulling 7c19fdb9c0390837452ffb899ce2f710112faa4b on jessebeach:no-noninteractive-tabindex into 1c19f4fa8539677ba67b85544e9d86366c30792a on evcohen:master.

@evcohen I've made the requested changes.

Coverage increased (+0.01%) to 99.522% when pulling 1b063ceb5bfa222dd2bd3f12ecb12448758e0037 on jessebeach:no-noninteractive-tabindex into 7ca7805f00679190af6782d148cbf5a79ea7d387 on evcohen:master.


Linker flag -ObjC results in linker errors

Hi! I've been using J2ObjC for quite a while (thanks for a great tool!) and faced the following issue recently. I've been trying to include Firebase manually to my iOS app, and in Firebase readme it is said to add -ObjC linker flag.
But that makes Xcode to return errors on linking step:
Undefined symbols for architecture x86_64:
  "_OrgJsonJSONObject_valueToStringWithId_", referenced from:
      -[OrgJsonJSONWriter valueWithId:] in libedutatar-objc.a(JSONWriter.o)
      -[OrgJsonJSONWriter valueWithId:] in libjsoup-objc.a(JSONWriter.o)
  "_create_OrgJsonJSONException_initWithJavaLangThrowable_", referenced from:
      _OrgJsonJSONWriter_appendWithNSString_ in libedutatar-objc.a(JSONWriter.o)
      _OrgJsonJSONWriter_endWithChar_withChar_ in libedutatar-objc.a(JSONWriter.o)
      -[OrgJsonJSONWriter keyWithNSString:] in libedutatar-objc.a(JSONWriter.o)
      _OrgJsonJSONWriter_appendWithNSString_ in libjsoup-objc.a(JSONWriter.o)
      _OrgJsonJSONWriter_endWithChar_withChar_ in libjsoup-objc.a(JSONWriter.o)
      -[OrgJsonJSONWriter keyWithNSString:] in libjsoup-objc.a(JSONWriter.o)
  "_OrgJsonJSONException_initWithNSString_withJavaLangThrowable_", referenced from:
      _OrgJsonJSONPointerException_initWithNSString_withJavaLangThrowable_ in libedutatar-objc.a(JSONPointerException.o)
      _OrgJsonJSONPointerException_initWithNSString_withJavaLangThrowable_ in libjsoup-objc.a(JSONPointerException.o)
  "_create_OrgJsonJSONObject_initWithInt_", referenced from:
      _OrgJsonProperty_toJSONObjectWithJavaUtilProperties_ in libedutatar-objc.a(Property.o)
      _OrgJsonProperty_toJSONObjectWithJavaUtilProperties_ in libjsoup-objc.a(Property.o)
  "_OrgJsonJSONObject_stringToValueWithNSString_", referenced from:
      _OrgJsonXML_stringToValueWithNSString_ in libedutatar-objc.a(XML.o)
      _OrgJsonXML_stringToValueWithNSString_ in libjsoup-objc.a(XML.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Removing the -ObjC flag fixes the issue, but I'm not sure if its okay to use Firebase without it.
I have set up my J2ObjC project as following:
In java I have my library package edutatar, and 3rd party packages org.jsoup and org.json. These packages have classes with the same names whose files get overwritten if I set up the project as in "Build Rule" J2ObjC guide. So I have created different targets for org.* and edutatar, which are static libraries with disabled ARC, and on which main app target depends. Their files get transpiled into different folders, because they have their own build rule j2objc script each. This way classes with the same names do not overwrite each other during j2objc build rule since they're in different folders.

To be more clear, I assume you have something like
-ljre_emul -ledutatar-objc -ljsoup-objc -ObjC
in your linker args. Try moving jre_emul
-ledutatar-objc -ljsoup-objc -ljre_emul -ObjC
I have absolutely no idea if that'll work, and you're certainly better off resolving the different org.json versions, but it's an idea.
Also could try linking to a j2objc lib that doesn't include the json classes. Again, assuming that's the issue.

Right, there are different org.json libraries. The j2objc version uses
Android's version for compatibility, and as Kevin points out, it doesn't
have JSONObject.valueToString(). The reason the Android version of your app
may work is because Java's classloaders allow multiple versions of a class
without conflicts (because the first one on the classpath wins).
There a couple of ways you can fix this. First, does your app or any of its
dependent libraries actually need valueToString()? Its implementation
simply returns JSONWriter.valueToString(value)
https://github.com/stleary/JSON-java/blob/master/JSONObject.java#L2324,
so if you can instead inline that call you can drop the need for an
otherwise redundant library.
Since j2objc supports linking in subsets of the jre_emul library
https://developers.google.com/j2objc/guides/required-link-flags#jre_libraries,
another option is to only link in the subsets your app needs. The JSON
classes are in the android_util subset library, so unless your app uses
other classes, specifying subsets allows you to link without the default
JSON support.
To use JRE subset libraries, replace the link reference to jre_emul
(probably a -ljre_emul flag) with jre_core. You'll probably have some
unresolved symbol linker errors, so find the class in jre_sources.mk
https://github.com/google/j2objc/blob/master/jre_emul/jre_sources.mk to
find which subset to add.
For example, say linking fails with a missing symbol that starts with
_JavaIoCharArrayReader. Looking up java.io.CharArrayReader in jre_sources.mk
shows it's in the JAVA_PUBLIC_SOURCES_IO group
https://github.com/google/j2objc/blob/master/jre_emul/jre_sources.mk#L674,
so also link in jre_io to resolve it (and all other missing java.io
symbols).
The advantage of either approach is that your iOS app will be smaller,
because -ObjC tells the linker to load every class and category it finds in
every static library the app is linked with.
On Sat, Apr 14, 2018 at 6:31 PM Kevin Galligan<EMAIL_ADDRESS>wrote:

To be more clear, I assume you have something like
-ljre_emul -ledutatar-objc -ljsoup-objc -ObjC
in your linker args. Try moving jre_emul
-ledutatar-objc -ljsoup-objc -ljre_emul -ObjC
I have absolutely no idea if that'll work, and you're certainly better off
resolving the different org.json versions, but it's an idea.
Also could try linking to a j2objc lib that doesn't include the json
classes. Again, assuming that's the issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/j2objc/issues/968#issuecomment-381373370, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC2krzGLwUwkbrcCKlHLICZNk197Ep8Jks5toqLTgaJpZM4TVSDV
.

Thanks for the replies!
Since I'm not a proficient Java developer, I didn't actually know J2ObjC's JRE includes org.json already, so I was able to remove that completely from the list of files to convert to ObjC.
But then -ObjC linker flag caused multiple duplicate errors from jsoup and our edutatar library.
I've read more about linker flags and realised, since -ObjC is only needed for Firebase-related frameworks, I can replace -ObjC with -force_load /path/to/Firebase.framework/Firebase. I did so for all the Firebase-related frameworks and it worked perfectly.
I guess -force_load flag could be mentioned in the J2ObjC docs somewhere near the note about -ObjC as an alternative for using -ObjC, since there are libraries requiring the use of -ObjC.

Good point!


User story 90790 as a teammate, i would like to redeem the reward

draft PR

@NataliaMilgevskaya
Please take a look at these:
Bug 91604: QR code is blank
Enhancement 91605: Rephrase Title

Ooh :-) Noice

Thanks, @NataliaMilgevskaya. We looked into creating an Order through the API, and it doesn't look like it's (easily) possible. Our intention is to create an order event through Nostr, which we're not going to have time to implement this Sprint. The ability to purchase was always nice to have anyway! So, we changed the pop-up to be a confirmation, and simply creates an e-mail to the store owner with a request that you would like to purchase a reward and the transaction would be handled offline.
Ref: https://t.me/c/1709198359/936

We also discussed applying a fixed width (see Home page) with a 20px margin and top-aligning the content boxes. The rewards in the carousel should also be individually a fixed width.

Bug 91656: Pop up should disappear after email was sent

Tested, fixed. This is ready to merge @BenGWeeks

I resolved the merge conflict. Can you quickly check that the rewards functionality works with authenticated login @EdiWeeks


Few fixes to Fedora's Dockerfile

Do not install weak dependencies
Cleanup after dnf installation of dependencies.
Add 'openssl' dependency
Use 'rpmbuild' package for packaging

Signed-off-by: Yaniv Kaul<EMAIL_ADDRESS>x

@msaju ping

@msaju ping

Sure will take it to the other dockerfiles.


Broken stroke rendering

Tag with stroke is weirdly cut off.

This happens randomly when re-rendering, even when the SVG hasn't changed
Only happens when the tag opacity is below 1
Happens at resolutions around 100px - 400px
Happens on both rect and path (Haven't really tested other shapes)
Happens with any stroke-linejoin setting
Does not happen when fill is "none"

Reproduce from scratch with rect:

Set root tag width and height to 150
Turn on rasterized svg in visual settings
Add rect

make it bigger
give stroke width
set stroke color to any

start changing rect opacity

Other example with modified (to show comparison) arrow SVG from icons:
<svg width="150" height="150" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M 0.5333 0.7067 l 4.5 7.5 l 4.5 -7.5 z" opacity="0.83" fill="#def" stroke="#def" stroke-width="2" stroke-linejoin="round"/><path d="M 8.56 7.1067 l 4.5 7.5 l 4.5 -7.5 z" fill="#def" stroke="#def" stroke-width="2" stroke-linejoin="round"/></svg>

I couldn't pinpoint it to ThorVG, but there are clues that it's some bad combination of ThorVG and Godot. Maybe async stuff not being ready when the texture is drawn sometimes or something, Idk that stuff.
<svg width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><line x1="4" y1="1" x2="6" y2="3" opacity=".6" stroke="#fac"/><line x1="1" y1="1" x2="3" y2="3" opacity=".6" stroke="#def"/></svg>
In this SVG, the line that's first gets artifacts as I move around. If I change their order, it's always the one that's first in the code.

It was probably a Godot bug. Even if I use a correct XML syntax in v4.2.1, I see this issue. However, I can't reproduce this in v4.3dev2 or github tip.
res://src/ui_parts/display_texture.gd:
...
#svg_text = '<svg viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><line x1="5" y1="2" x2="6" y2="6" opacity=".4" stroke="#fac" stroke-width="2" stroke-linecap="round"/><line x1="2" y1="2" x2="3" y2="6" opacity=".4" stroke="#def" stroke-width="2" stroke-linecap="round"/></svg>'
	img.load_svg_from_string(svg_text, 10)
	print(svg_text)
	texture = ImageTexture.create_from_image(img)
	position = display_rect.position
	size = display_rect.size

<svg width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"/>
??
<line x1="5" y1="2" x2="6" y2="6" opacity=".4" stroke="#fac" stroke-width="2" stroke-linecap="round"/>
<line x1="2" y1="2" x2="3" y2="6" opacity=".4" stroke="#def" stroke-width="2" stroke-linecap="round"/>
??

Fixed in Godot 4.2.2.rc2


Choose a web mapping library

Right now ddot.info uses mapbox-gl-js, but what if we used Protomaps instead? Let's do a pros and cons.

Looked at the Protomaps tutorial and the styling in particular looks really nice. https://protomaps.com/docs/protomaps-js/tutorial

gonna launch with mapbox-gl-js, but still interested in protomaps in the longer term


frontend - can't get thumbnail.

Getting jquery.js?27d9:3860 jQuery.Deferred exception: Cannot read property 'thumbnail' of undefined TypeError: Cannot read property 'thumbnail' of undefined
${VIDEO_DATA[video.url_safe_id].thumbnail}

I don't know why, but when I run the app it is getting the JSON, but wont show the video with the annotations visualized.

Look at the console in your browser.  I think there is an issue with image previews.  If you make the preview variable an empty string in the front end that should fix it.

On Apr 16, 2017, at 7:49 PM, JakeBMalis<EMAIL_ADDRESS>wrote:
I don't know why, but when I run the app it is getting the JSON, but wont show the video with the annotations visualized.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In the console in my browser, there are no errors. How would I make the preview variable an empty string.

Have the same. In Chrome error bug:
dog:12 Uncaught TypeError: Cannot read property 'thumbnail' of undefined
at exports.default (eval at  (https://xxxxxxxxxxxx.appspot.com/javascripts/compiled.js:95:2), :12:57)
at eval (eval at  (https://xxxxxxxxxxxxx.appspot.com/javascripts/compiled.js:107:2), :187:40)
at Array.map (native)
at SearchPage.renderResultCards (eval at  (https://xxxxxxxxxxxxxx.appspot.com/javascripts/compiled.js:107:2), :186:33)
at SearchPage.render (eval at  (https://xxxxxxxxxxxx.appspot.com/javascripts/compiled.js:107:2), :89:14)
at new SearchPage (eval at  (https://xxxxxxxxx.appspot.com/javascripts/compiled.js:107:2), :52:10)
at App.renderPage (eval at  (https://xxxxxxxxxxxxx.appspot.com/javascripts/compiled.js:47:2), :146:30)
at searchQuery (eval at  (https://xxxxxxxxxx.appspot.com/javascripts/compiled.js:47:2), :125:17)
at eval (eval at  (https://xxxxxxxxxxxx.appspot.com/javascripts/compiled.js:77:2), :321:125)
at manageHooks (eval at  (https://xxxxxxxxxx.appspot.com/javascripts/compiled.js:77:2), :210:4)

I found workaround.

Edit  frontend/resources/js/components/video-card.js
comment line const preview = VIDEO_......
Create bucket and replace bucket_name in line 5
create png file called sample-mp4.png
Add line const preview = 'https://storage.googleapis.com/[bucket_name]/sample-mp4.png';
save
Go back to frontend dir
npm install

I fixed this in the latest commit, let me know if you're still having issues.


[grpc,opencv] Fix cross compile issue.

Describe the pull request
Grpc/opencv requires protoc and grpc_cpp_plugin to compile.
Under cross compile case (e.g. host is x64-linux, target is aarch64-linux),
we need protoc and grpc_cpp_plugin come from host triplet instead of target
triplet.

What does your PR fix? Fixes #
Under x64-linux, ./vcpkg install grpc:arm-linux/grpc:arm64-linux/opencv:arm-linux/opencv:arm64-linux will fail.

Which triplets are supported/not supported? Have you updated the CI baseline?

arm64-linux
arm-linux

Does your PR follow the maintainer guide?
yes

Needs cross-talk with #14165

Closing this PR as it has been obsoleted by "host triplet" support.


Please clarify LICENSE

I could not find any LICENSE file in this repository.
Under which license is this repository licensed?
Reference: https://choosealicense.com/

@gmacario I'll take a look, and will add the LICENSE file.

@gmacario I'll take a look, and will add the LICENSE file.

Thanks! It would be great if the LICENSE is compatible with - for instance - https://github.com/arduino/docs-content/blob/main/LICENSE.md

@gmacario Yep, that was exactly the license that I am going to purpose, I should have this set soon as I get the okay to do so.

@gmacario added and merged!


Self and cross reenactment evaluation

Hi! Thank you very much for the work. I was wondering if there is a way for me to use intrinsics and extrinsics and expression of a target image to do self and cross reenactment? Thank you!

Hi, thanks for your interest in our work!
Our work mainly aimed to produce 3D-consistent multi-view synthesis using diffusion model given a single target expression. If you change the random seed or re-run inference for another target expression, there will be consistency issues, so I believe it will be a bit tricky to perform self/cross reenactment at the moment and get consistent video frames (without flickering or jittering) of, e.g., a speech sequence of the input subject.
One possible modification that you could make to the pipeline is, instead of starting from random latent codes and project them to 3D for every frame, only do it for the first frame, and warp the 3D grid for the following frames using LBS.
For reproducing the camera viewpoint of the input/target images, you could try to run Dust3r on the single input image to predict its intrinsics/extrinsics and sample/specify the other 15 camera parameters. It should work after some proper normalization.
Hope this helps!


fixed supertab example

the current supertab example was causing autocompletion to break because vim.api.nvim_replace_termcodes requires 4 parameters and the example was only passing one.
Added a function to extract it and input the remaining required parameters.

Thank you.


Feature request: An example could be made with bracket-lib

Are you familiar with bracket-lib and its accompanying Roguelike tutorial (of 70+ chapters)? It seems like a suitably minimalist game library for ataxia to demo a MUD on.

Thanks for the link! I haven't seen that one yet. I was planning to work through a roguelike tutorial, and this one looks rather good. I'm not sure what you envision for how it could work with ataxia though, could you elaborate a little bit?
I do want to note that the multiplayer aspect of ataxia is going to be designed more like a classic MUD, but there isn't much code written as of yet.

the multiplayer aspect of ataxia is going to be designed more like a classic MUD

Could you give an example of such a classic MUD?
My impression of MUD games is that they are predominantly text-based. As such, bracket-lib’s terminal emulator should be able to provide most of what you need in a first take on graphics, and it’d even work in the browser.
https://github.com/thebracket/bracket-lib/tree/master/bracket-terminal

A few examples would be the ROM, coffeemud, and tbamud codebases. For a live mud that I run, you could look at http://www.ageoflegacy.com. Another one is https://federation2.com.
Traditionally they all work via telnet, but I'm planning to use web sockets with a browser client (though I'm building telnet to start for testing and development), so something like bracket-lib could definitely work there.

I totally agree with the OP. I would say it would be client side rather than server side.
This is something I'm currently looking at, building a custom telnet mud client using rltk.. so your able to keep text look and feel of a MUD that we all love but also adding media which will hopefully open MUD's upto a newer player base (as were all getting older).
I just need to find a server that I'm happy with.. that's why I'm here ;)


posix spawn, take 3

This is a continuation of #3257. In this iteration, I've added a workaround for
an xnu kernel bug that sometimes results in SIGCHLD not being delivered. The
workaround is to use kevent to listen for EVFILT_PROC/NOTE_EXIT events
instead of relying on SIGCHLD on macOS.

This looks great.  I have a few minor review comments, but otherwise, I think this should be pretty close to ready.

You cannot do it with the UI, but you can locally do an interactive git rebase, drop those commits, then force push here

You cannot do it with the UI, but you can locally do an interactive git rebase, drop those commits, then force push here

but github will still think the base is libuv/libuv:1.x, right? my commits here don't make sense without your commits. not quite sure what you're asking for here.

I want to merge this change first, then merge my PR (I can rebase after merging this)

ah i see, sorry, i had assumed that this change depended on changes from your PR, but it doesn't. Rebased + title updated.

CI: https://ci.nodejs.org/job/libuv-test-commit/2216/

done.

CI again: https://ci.nodejs.org/job/libuv-test-commit/2217/


closes #130 add bing tracking

time to fix some tests first 😄

Hi @bumi
Just checking whether you needed anything else from my side before this PR can be merged?

nope, sorry for the delay! merging and will make sure we release a new version. thanks again!

version 1.9.0 is released, let if everything is fine :)


#184948250 Implement Signup Functionality

What does this PR do?
This PR implement signup functionality
Description of Task to be completed?

[x] Create sign page
[x] Create signup form
[x] Validate signup form
[x] Submit signup form to server
[x] Create success page upon successful signup with verify email message

How should this be manually tested?

In your project terminal, run git fetch origin pull/15/head:ft-signup-with-email-and-password-184948250
Checkout to ft-signup-with-email-and-password-184948250 branch
Install all the dependencies by running npm install
create .env file and set LIVE_API_URL to server api url
Then run the project by typing npm run dev
Navigate to /sign-up route

Routes to be tested:

POST /sign-up

What are the relevant pivotal tracker/Trello stories?
Story ID: 184948250
Screenshots
Signup Form

Test Coverage

Hey !! please resolve codeclimate issues

Please update your UI screenshot with the current design, and provide a screenShot of passed test

Hey !! please resolve codeclimate issues and also squash your commit messages

They cannot be resolved. They are to strict. Some if you check signup page, it's hard to meet those conditions.

When I fill the form and submit nothing seem to happen

It's a server issue. Retry you receive a confirmation message.


No support for Ruby 3 & status of the gem

Hi there! I'm hoping to use this gem in a Solidus 3.4 app to add some additional API functionality. I'm really interested in evaluating it and using it, but it hasn't received any updates in 1.5 years. When I try to bundle in a Ruby 3.1 app, I get this error:
solidus_graphql_api was resolved to 0.2.0, which depends on
  Ruby (~> 2.5)

Is this gem actively maintained? If so, will you all accept patches to update the gem to support Ruby 3.x and some modern versions of the GQL dependencies? Happy to help contribute, but I just want to ensure it's welcomed effort.
Thanks!

Hey @brettchalupa, this gem is not actively maintained but we would consider merging any PR which could improve the current state of it. There's already something at https://github.com/solidusio-contrib/solidus_graphql_api/pull/204, which it's still draft but could be a good starting point.
If you want to contribute, you can definitely count on me for guidance.

@kennyadsl sounds good! Thanks for the details. :+1: I got the gem working on Ruby 3, Rails 7, Solidus 3.x on a fork of the repo. I'll work on contributing that back upstream.


BUG: After reboot server, spawn impossible on FOB

Basic Information
Mission version: 0.955
Map used: Malden 2035
Mods used: ACE, R3F, CBA, TFR, ...
Dedicated or local game? Dedicated
GitHub or Workshop mission file? Workshop
Individual Things
Did you edit anything within the mission files?
yes
If yes, what did you edit exactly?
do_build_fob.sqf => _minsectordist = 0;
mission_params => CleanupVehicles, HaloJump, ShorterNights, MaximumFobs
Short Issue Description
We deploy our first FOB Alpha in FARO. We built our defenses. We took the radio tower. No problem until now. The server rebooted and we can no longer appear on the FOB Alpha. After the reboot, we still have FARO and the radio tower in blue. Everything worked fine until the server rebooted. I try to make a wipe of the save but same problem
Expected Behaviour
Be able to use FOBs even after a server reboot
Steps to Reproduce the Issue
See description

Basicly that's no bug in general.
That edit is also stated as "own risk":
https://github.com/Wyqer/kp_liberation/wiki/EN:FAQ#how-can-i-build-my-fobs-closer-to-sectors
To have a closer look, please activate the debug messages in the parameters and also the savegame debug in kp_liberation_config.sqf
So we can have a look in the saved data.

Thanks for your response


create test2

test

What is the issue number of this?

What is the issue number of this?

What is the issue number?

can you answer without {value, ...}?

Can you explain why you answered in a {value, ...} format?

I think it was a bug of my erlang program. {value, ...} format is used as a maybe data.

What do you think?


Fixed function name case

Pull Request check-list
Please make sure to review and check all of these items:

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Function name was written in all caps.

@benlowry node_redis officially supports all caps and this is the reason why some commands in the tests are actually written that way.
Thanks a lot for your contribution though.


Stargate v2 - draft PR for updates to gRPC API

Draft PR for adding schema operations to gRPC protos.
See #1401 for additional detail.

Looks quite compact, nice!
I have some questions around things:

Granularity of access: most of our initial access only needs a small subset of metadata (for keyspaces, just name & replication status, for example; for tables info on just a single one) -- unless we immediately jump into caching challenge and fetch "full schema" and extract pieces. Alternatively could have request parameters to indicate what info to include (if asking keyspaces, whether to include tables and so on).
Tenant id add/removal: there is code to handle possible (tenant) prefix; is handling needed on calling side (client) as well or not?
Access limits: since this is part of public API, do we need to worry about different access caller has for schema information vs. access to data itself? (apparently one could be able to, say, INSERT, but not DESCRIBE?)

Looks quite compact, nice!
I have some questions around things:

Granularity of access: most of our initial access only needs a small subset of metadata (for keyspaces, just name & replication status, for example; for tables info on just a single one) -- unless we immediately jump into caching challenge and fetch "full schema" and extract pieces. Alternatively could have request parameters to indicate what info to include (if asking keyspaces, whether to include tables and so on).
I was thinking to defer the lower granularity access until we get more clarity on the caching need, in which case I was assuming we'd just be pushing full schema to clients.

Tenant id add/removal: there is code to handle possible (tenant) prefix; is handling needed on calling side (client) as well or not?
My assumption was that passing along headers in the client was sufficient, perhaps others know with more certainty.

Access limits: since this is part of public API, do we need to worry about different access caller has for schema information vs. access to data itself? (apparently one could be able to, say, INSERT, but not DESCRIBE?)
Great question. Looks like there is a DESCRIBE permission, guess we would need to check the current user has that permission for the requested database?

Looks quite compact, nice!
I have some questions around things:

Granularity of access: most of our initial access only needs a small subset of metadata (for keyspaces, just name & replication status, for example; for tables info on just a single one) -- unless we immediately jump into caching challenge and fetch "full schema" and extract pieces. Alternatively could have request parameters to indicate what info to include (if asking keyspaces, whether to include tables and so on).

I was thinking to defer the lower granularity access until we get more clarity on the caching need, in which case I was assuming we'd just be pushing full schema to clients.

Lower as-in... more granular (specific pieces)?

Tenant id add/removal: there is code to handle possible (tenant) prefix; is handling needed on calling side (client) as well or not?

My assumption was that passing along headers in the client was sufficient, perhaps others know with more certainty.

As long as we cache nothing, yes; but once we start caching on API side, yes -- otherwise keyspace names will collide (and everything else). Since (afaik) its Persistence that currently handles name decoration/undecoration.

Access limits: since this is part of public API, do we need to worry about different access caller has for schema information vs. access to data itself? (apparently one could be able to, say, INSERT, but not DESCRIBE?)

Great question. Looks like there is a DESCRIBE permission, guess we would need to check the current user has that permission for the requested database?

This is only part of the problem: yes, when explicitly asking for schema, users rights need to be checked -- but NOT when Stargate itself must know schema for, say, GET-by-primary-key.


Sile: Init at 0.9.4

Motivation for this change
SILE is a nice tool for generating PDFs with layout and typesetting. Simpler than Tex and written in Lua.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Here is a patch to make it build on darwin: sile.patch
Usually, we prefer released version. What’s wrong with 0.9.4?
IIRC, fetchgit enables you to automatically fetch submodules, without the need to explicitly mention URL, revision and hash.

If you using packaging an unreleased version then the name should be "sile-unstable-2017-01-25", see the package naming section of the Nixpkgs manual.
Also, having hash as version will not work. Firstly, it is possible that the hash will start with a letter and then the version extraction will not work. I.e., a hypothetical name "sile-ac3884" will result in Nix thinking the name is "sile-ac3884" and that there is no version part. Secondly, Nix will not be able to determine whether one version is greater than another, a later release may have a hash starting with a lower digit than the previous release; this would cause nix-env -u to not work as expected.

Applied @vbgl patch for darwin compatibility.
I also switched back to current release 0.9.4. I therefore used fetchurl instead of fetchgit as it seemed easier and (guessing here) faster.
bootstrap.sh is not needed anymore. I don't know if it changes anything for darwin build.
Thanks @vbgl and @rycee for your advices and explanations.

Since you now use a released version, you probably no longer need the autotools as inputs.

Successfully tested without autoconf, automake, libtool.

@lprndn Looking fine and builds ok for me. Please squash these commits into a single one, though. It should have the message "sile: init at 0.9.4".

@rycee Done!


Updated image management API documentation.

Pull Request Test Coverage Report for Build 5922

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 43.547%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
2
52.58%

Totals

Change from base Build 5910:
-0.006%

Covered Lines:
15185

Relevant Lines:
34870

💛  - Coveralls


Changelog for the 3.11.2 release

Description
For release this Wednesday (or earlier).

Rebased without changes to get a build which is accepted by the (updated) branch protection. Merging once the build passes.


render_config tries wrong url when Netbox is behind reverse proxy

pynetbox version
v7.1.0
NetBox version
v3.6.3
Python version
3.9
Steps to Reproduce
#!/usr/bin/python3

import pynetbox

def main():
  nb = pynetbox.api(url="netbox_url", token="my_netbox_token")
  device = nb.dcim.devices.get(680)
  print(device.render_config.create()["content"])

if __name__ == "__main__":
    main()

Expected Behavior
It should return rendered context for device id 680.
Observed Behavior
Works fine when pointed directly to the netbox URL.
How ever when used with nginx reverse proxy it fails with:
Traceback (most recent call last):
  File "/home/daniel.secik/./test2.py", line 11, in <module>
    main()
  File "/home/daniel.secik/./test2.py", line 8, in main
    print(device.render_config.create()["content"])
  File "/usr/lib/python3.9/site-packages/pynetbox/core/endpoint.py", line 706, in create
    req = Request(**self.request_kwargs).post(data)
  File "/usr/lib/python3.9/site-packages/pynetbox/core/query.py", line 368, in post
    return self._make_call(verb="post", data=data)
  File "/usr/lib/python3.9/site-packages/pynetbox/core/query.py", line 258, in _make_call
    raise RequestError(req)
pynetbox.core.query.RequestError: The requested url: <proxy_url>:8080/netbox/api/680//680/render-config/ could not be found.

We only saw this with render_config, other api calls work fine with proxy.
Proxy config:
    location ~ "^/netbox/api/" {
        limit_except GET POST {
            deny all;
        }

        rewrite netbox/(.*)$ /$1 break;
        proxy_set_header Accept "application/json";
        proxy_set_header Content-Type "application/json";
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_pass <netbox_url>;
    }

Works for me, but I have BASE_PATH set correctly in NetBox (= no rewrite on the first Nginx). If I set BASE_PATH = "" and use rewrite, then I get the same error.
Pynetbox uses internally the URLs that NetBox returns in the objects (the url attribute), so if NetBox doesn't know what is the client-accessible path, it cannot return correct URLs.


Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/[Some Module]/[Name].esm.js

Describe the bug
Pretext: I'm not sure if this is a general SvelteKit problem yet. It might be.
I'm using a project called wavesurfer.js. That project has some plugins, for example wavesurfer.js/dist/plugins/regions.js. Sveltekit tries to import wavesurfer.js/dist/plugins/regions.esm.js once built and deployed to Vercel (and Netlify too). That leads to this error message:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/wavesurfer.js/dist/plugins/regions.esm.js' imported from /var/task/.svelte-kit/output/server/entries/pages/_page.svelte.js
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:331:11)
    at moduleResolve (node:internal/modules/esm/resolve:994:10)
    at moduleResolveWithNodePath (node:internal/modules/esm/resolve:938:12)
    at defaultResolve (node:internal/modules/esm/resolve:1202:79)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

This error however only appears if I deploy to Vercel or Netlify. It doesn't happen locally if I build and preview the project. Since it happens both on Vercel and Netlify, I thought it's probably a Sveltekit issue, as it's the common denominator.
I had also created an issue at wavesurfer.js but as the author stated, it's probably not a wavesurfer issue.
Reproduction

Create a skeleton project with sveltekit
run npm install --save wavesurfer.js
paste this into the +page.svelte file:

<script lang="ts">
    import { onMount } from "svelte";
    import WaveSurfer from "wavesurfer.js";
    import RegionsPlugin from "wavesurfer.js/dist/plugins/regions.js";
    import type { Region } from "wavesurfer.js/dist/plugins/regions.js";

    onMount(() => {
        const ws = WaveSurfer.create({
            container: "#waveform",
            waveColor: "rgb(200, 0, 200)",
            progressColor: "rgb(100, 0, 100)",
            url: "https://plazma-public-songs.s3.amazonaws.com/g989a7rqv6s7jlv.mp3"
        });
        const wsRegions = ws.registerPlugin(RegionsPlugin.create());

        // Give regions a random color when they are created
        const random = (min, max) => Math.random() * (max - min) + min;
        const randomColor = () =>
            `rgba(${random(0, 255)}, ${random(0, 255)}, ${random(
                0,
                255
            )}, 0.5)`;

        // Create some regions at specific time ranges
        ws.on("decode", () => {
            // Regions
            let region: Region = wsRegions.addRegion({
                start: 0,
                end: 8,
                content: "Resize me",
                color: randomColor(),
                drag: false,
                resize: true
            });
        });
    });
</script>

<div id="waveform" />

run npm i -D @sveltejs/adapter-vercel
paste this in the svelte.config.js file:

import adapter from "@sveltejs/adapter-vercel";
import { vitePreprocess } from "@sveltejs/kit/vite";

/** @type {import('@sveltejs/kit').Config} */
const config = {
    // Consult https://kit.svelte.dev/docs/integrations#preprocessors
    // for more information about preprocessors
    preprocess: vitePreprocess(),

    kit: {
        // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
        // If your environment is not supported or you settled on a specific environment, switch out the adapter.
        // See https://kit.svelte.dev/docs/adapters for more information about adapters.
        adapter: adapter()
    }
};

export default config;

Deploy on Vercel (or Netlify in which case you need a different adapter)
Be sad that it doesn't work :(

Logs
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/wavesurfer.js/dist/plugins/regions.esm.js' imported from /var/task/.svelte-kit/output/server/entries/pages/_page.svelte.js
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:331:11)
    at moduleResolve (node:internal/modules/esm/resolve:994:10)
    at moduleResolveWithNodePath (node:internal/modules/esm/resolve:938:12)
    at defaultResolve (node:internal/modules/esm/resolve:1202:79)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

System Info
System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 97.22 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.0 - /opt/homebrew/opt/node@18/bin/node
    npm: 9.6.7 - /opt/homebrew/opt/node@18/bin/npm
  Browsers:
    Chrome: 115.0.5790.114
    Safari: 16.5.2
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.1.0
    @sveltejs/adapter-netlify: ^2.0.8 => 2.0.8
    @sveltejs/adapter-vercel: ^3.0.3 => 3.0.3
    @sveltejs/kit: ^1.20.4 => 1.22.4
    svelte: ^4.0.5 => 4.1.2
    vite: ^4.4.2 => 4.4.8

Severity
annoyance
Additional Information
No response

We are using the node adapter, but we recently noticed the same behavior, and I changed added some ssr configuration to our vite.config.ts file:
`import { sveltekit } from '@sveltejs/kit/vite';
import pkg from './package.json';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [
sveltekit()
],
server: {
host: true,
port: 8100
},
ssr: {
noExternal: Object.keys(pkg.dependencies || {})
}
};
`
I found that here: https://github.com/sveltejs/kit/issues/928#issuecomment-817319840
I'm not sure if something changed with sveltekit or with vite recently, but this didn't seem to be necessary 4+ weeks ago. I've tried rolling back sveltekit versions to see if that made a difference, but I haven't done the same for the node adapter or vite. Adding that ssr, noExternal config to the vite config is our solution for now.

We are using the node adapter, but we recently noticed the same behavior, and I changed added some ssr configuration to our vite.config.ts file: `import { sveltekit } from '@sveltejs/kit/vite'; import pkg from './package.json';
/** @type {import('vite').UserConfig} */ const config = { plugins: [ sveltekit() ], server: { host: true, port: 8100 }, ssr: { noExternal: Object.keys(pkg.dependencies || {}) } }; ` I found that here: #928 (comment)
I'm not sure if something changed with sveltekit or with vite recently, but this didn't seem to be necessary 4+ weeks ago. I've tried rolling back sveltekit versions to see if that made a difference (it didn't), but I haven't done the same for the node adapter or vite. Adding that ssr, noExternal config to the vite config is our solution for now.

So, we discovered our actual issue was we had a .dockerignore file that was keeping some node_modules out of our containers. So I'm actually removing that unnecessary ssr configuration from the vite config.

i am also have same issue but in defferent package when i deploy my backend project on vercel it and give me same error but it run on my machine fine not only just that it also run on vercel few time and i just update some cors configration to access backend from my frontend it crash and i didn't find any solution on internet if any has any idea pleas help me out i wana deploy my project
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/stripe/esm/stripe.esm.node.js' imported from /var/task/controller/payments.js
Did you mean to import stripe/cjs/stripe.cjs.node.js?

I have this error, what could it be?
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/___now_launcher.launcher' imported from /opt/rust/nodejs.js


Distribution of TID2013 label

Hi, does anyone know why all the TID2013 labels in tid_labels_train.json and tid_labels_test.json are in either ascending or descending order? Does it mean the most likely scores fall in either 1 or 10 for all the images? Confused~

Hi, we inferred the distribution from mean scores in a crude way, such that each distribution is monotonically increasing or decreasing. There are definitely more sophisticated ways to do that, e.g. enforcing a normal distribution shape.


Custom CSS support

Was just wondering if someone would be interested in adding custom CSS support so people can use themes as you can do with Discord client mods like BetterDiscord and browser extensions like Stylus.

I was browsing around and saw that https://github.com/ArmCord/ArmCord is using https://cumcord.com to make this work. The name is definitely iffy as hell tho.

The name is a joke, if you don't feel safe using it . Use GooseMod which is in settings.


array_index

at cetcd.c during cetcd_del_watcher code checks if index is valid (i,e if if the watcher was deleted before)
318         if (watcher && index > 0)
but as far as i understood index (which is set from cetcd.317 watcher->array_index) can be in zero position. shouldn't this changed to index >= 0 ?

Yes, you are right, it is a bug here. Thanks very much for you feedback.

thx for the update!


undefined reference to std::__atomic_futex_unsigned_base

Hi,
Not sure it this is musl-cross-make bug or gcc bug, but on arm-linux-musleabihf (I think the same is for other arm builds) at least two symbols are missing from libstdc++:

undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)'

undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll,<PHONE_NUMBER>ll> >)'

On x86_64 build both symbols are available:
$ nm x86_64-linux-musl/lib/libstdc++.so.6.0.25 | grep futex
00000000000bbf40 T _ZNSt28__atomic_futex_unsigned_base19_M_futex_notify_allEPj
00000000000bbe50 T _ZNSt28__atomic_futex_unsigned_base19_M_futex_wait_untilEPjjbNSt6chrono8durationIlSt5ratioILl1ELl1EEEENS2_IlS3_ILl1ELl1000000000EEEE

On arm:
$ nm arm-linux-musleabihf/lib/libstdc++.so.6.0.25 | grep futex

returns nothing.

What command gave you those errors as output? Are you sure these symbols are supposed to exist?

It seems that the issue is caused by two macros _GLIBCXX_HAS_GTHREADS and _GLIBCXX_USE_C99_STDINT_TR1 (from bits/c++config.h), undefined at compile time but defined after compilation.
When building the toolchain contents of libstdc++-v3/src/c++11/futex.cc is not compiled because it's hidden behind
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)

But when I try to use the toolchain both macros are defined and libstdc++-v3/include/bits/atomic_futex.h uses implementation which is not compiled.
See libstdc++-v3/include/bits/atomic_futex.h and libstdc++-v3/src/c++11/futex.cc for more details.

Can you check the config.log in the libstdc++ build dir to see if it looks like it did anything weird here?

I don't see anything weird, but there is 12k lines of log.
Both macros seems to be defined:
#define _GLIBCXX_USE_C99_STDINT_TR1 1
...
#define _GLIBCXX_HAS_GTHREADS 1

musl-cross-make/build/local/arm-linux-musleabihf/obj_gcc/arm-linux-musleabihf/libstdc++-v3/config.log

I don't see anything wrong from config.log...

Ahh, sorry. There are two lines of ifdefs in futex.cc.
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1

The issue is with ATOMIC_INT_LOCK_FREE.

Uhg, does it somehow not know how to do atomics on baseline arm (linux kuser_helper)?

On Arm atomics support depends on architecture version, so for example building with -march=armv4 will set ATOMIC_INT_LOCK_FREE to 1, but building with -march=armv6 will set ATOMIC_INT_LOCK_FREE to 2.
It looks like the default is some low architecture version, so libstdc++ was build with  ATOMIC_INT_LOCK_FREE. I was compiling my project with -march=armv7-a, so contents of the libstdc++-v3/include/bits/atomic_futex.h header didn't match.

Rebuilded the toolchain with settings matching my CPU
GCC_CONFIG += --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard
GCC_CONFIG += --enable-cxx-flags='-march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3-d16'

Now everything works fine.

This is a real bug in upstream GCC that we should patch. I'm not sure when I'll get to it, but here's a note to self to do it. By default GCC defines the ATOMIC_*_LOCK_FREE macros automatically based on presence of atomic insn patterns for the configured arch profile. A few archs override this correctly to indicate that libgcc necessarily provides atomic library functions if there is no insn pattern. See for example gcc/config/pa/pa-linux.h.

Rebuilded the toolchain with settings matching my CPU
GCC_CONFIG += --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard
GCC_CONFIG += --enable-cxx-flags='-march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3-d16'

Now everything works fine.

@ldanko do you have a working solution for armv6 also?

@Rubber1Duck I've never had to work on armv6.

@Rubber1Duck I've never had to work on armv6.

thanks for your answer!


[INTERNAL] taskRepository: Export as module, enhance API

This is to allow ui5-project to use an instance of the taskRepository as
the only reference to ui5-builder (dependency injection). It can then
remove the direct ui5-builder dependency.
For this, a new #getVersion function has been added. This is to be used
in ui5-project to create the build manifest metadata.
In the future it could also be used to detect version incompatibilities
between ui5-project and the given taskRepository instance.

Coverage increased (+0.004%) to 94.71% when pulling 3f06cfb8b153b96a6823ace34b122807a920b45f on taskRepository-enhancements into 5b66458d94649adcb9cd3dd2a4a58e9bc1b17e3e on main.

After some discussions I now opted for keeping this change rather simple and only enhance the taskRepository API for better usage in ui5-project.
Currently, we do not plan to remove the dependency from ui5-project to ui5-builder. For testing purposes, ui5-builder can inject a taskRepository instance on a ProjectGraph instance using setTaskRepository. This is already implemented as of today.


chore: reduce amount of "Area" in filters

Similar to the issue on types. They want to reduce the number of area's in the filter and create new log lists.
Validated list of "Area":
A1
A2
B1
B2
B3
Lab
TCM-Aker
TCM-Alstom
TCM-Analyser
Y

completed


Add bsdmainutils & dnsutils packages

Adds the bsdmainutils package, which provides hexdump.

Resolves

--> Testing protocols (via openssl, SSLv2 via sockets)
SSLv2      /usr/local/bin/testssl/testssl.sh: line 2394: hexdump: command not found

@promythyus thanks for the help. Before I merge this pull request in, do you care to re-order the new packages so they stay in alphabetical order? I know it's a small thing, but it makes scanning the list of packages easier. I don't mind doing it, but I wanted to make sure you get the credit for the patch. Basically, the code would look like:
RUN set -x \
  && apt-get update && apt-get install -y --no-install-recommends \
		bsdmainutils \
		ca-certificates \
		curl \
		dnsutils \
  && rm -rf /var/lib/apt/lists/* \

Also, one of us should also remove the known issues section from the README.md file since the dnsutils package resolves issue #1. Ideally, this would occur in the Add dnsutils package commit to help keep the history clean and all related changes together.

@MatthewVance Sounds good to me. I think I've amended the "Add dnsutils package" commit in the correct fashion.
Thanks :)

@promythyus Thanks so much! I just merged the pull request.


Support Gradient Fill Colors

Describe your question
Is a gradient fill currently possible?
Any pointers on how you might try to achieve it?
For example:
https://jsfiddle.net/9gLakq26/
Which charts is this question related to?
All
JavaScript equivalent
https://jsfiddle.net/9gLakq26/
Additional context
FWIW I am using master, not the 1.x release.

Good question!
Using gradients as colors isn't supported yet. We can use this issue for tracking this feature.
Since you need to create the gradients with the 2d-context of the canvas, you can't just extend the serialized classes and thus the workaround isn't as straight-forward. I have just added a sample showcasing the workaround in 609a6e5.
Please try it and tell us if it worked :)
In order to implement this feature we'll need the following:

A new type to abstract chart colors (which accepts string, System.Drawing.Color and gradients)
Some way to describe and construct any sort of gradient in C#
Some way to translate that description once we setup the chart
Automatic resolution/translation of these gradients, otherwise we'll have to add a case for every single color there is (this is an issue we need to fix for callbacks as well)

If you have anything to add, please do!

Huge help @Joelius300 thank you.

Any updates on support for canvas 2d gradients in Blazor wasm?


Optional TMP dir, Optional compress for media backups.

Hello,
This will cover issues #44 and #43 .
I did that in one pull request. Let me know if you prefer other flow.
Thanks.

Great work! I had a couple of comments for the code.
Two general ones:

Will it work on Python 2.7 ?
Does anything change regarding how things currently work? Do file names change or command line interface?

Hi benjaoming,

My python version is 2.7. So it works at least for me. 2to3 patch I did using 2to3 tool from python.
By default we continue to use compress behavior. But we can use "-x" option ("--no-compress") which tells to create an archive without compression and without ".gz" suffix.
dbbackup command has different behavior, but here we did so to support historical behavior of mediabackup command.

Thanks.

We should get a .travis setup for testing on both Python 2 and 3. But until then, I'm  :+1:  for this.
@mjs7231 what say ye?

Merging this!!
@abriel in case you are able to work on something for #51 that would be great, because I'm mainly merging this now because it seems to be the only way to have it undergo some kind of testing.

Great work again btw!


How to add a different link to an image?

Hi, I'm new to Gatsby. And I want to add a different link to an image. I tried to do it with markdown: [![](IMG_URL)](LINK_URL) and HTML:  but neither works. It shows just the image with a link to open the image. How can I add a different to the image?

Your syntax is correct. For the "Hello World" post:
[![Chinese Salty Egg](./salty_egg.jpg)](http://en.wikipedia.org/wiki/Salted_duck_egg)
But by default gatsby-remark-images will link image thumbnails to the original (full size) image. And annoyingly, it doesn't seem to stop doing this when you've wrapped the image in your own link.
What I did was open gatsby-config.js and change:
            resolve: `gatsby-remark-images`,
            options: {
              maxWidth: 590,
            },

to:
            resolve: `gatsby-remark-images`,
            options: {
              maxWidth: 590,
              linkImagesToOriginal: false,
            },

@ZacharyChim: Could you solve your issue with @markjaquith solution?

Yes, it works. And just tested again, this is fixed by default now. Thank you @markjaquith and @Mokkapps


Add DNS support

Hello,
Really appreciate the work done with this project, thank you!!
A useful addition to this library would be if Hetzner DNS support was added. Documentation: https://dns.hetzner.com/api-docs
Do you accept PRs? Could be done in a fork and contributed back to this project, if you wish.

Hi @MrGraversen,
thank you for the idea. Yes I accept PRs. But I think the DNS part should not be implemented in this project.
DNS is not a part or product of Hetzner Cloud, it is a separate project which also gets managed by an other department.

OK, I understand your reasoning 😄


Exception encountered: 0x80070057 : Failed to launch the application.

Not sure what is causing this to happen. Installing the universal package works fine. Should this work on
retail dev mode?
I also tried rebooting (deleting sideloaded games/apps) in and out of dev mode.

0x80070057 looks to be a storage related exception? I have a 5gb dev space though. I wouldn't think I'd need more right?

0x80070057 The parameter is incorrect - initial guess is that this is another PATH issue.
For yours in particular, the exact source is most likely this line
With that in mind, some things you can try:

Extracting the publish folder from the zip directly to your Desktop and running it from there.
Extracting the publish folder to similar locations mentioned in the previous issue
Ensure XboxWDPDriver.exe  is being ran (Task Manager)
Ensure you're able to invoke the exe directly outside of Artifice, i.e. \publish\Scratch\WDP\XboxWDPDriver.exe XboxWdpDriver.exe /X:XBOXONE

Totally missed that there was a pre-built zip in released. My bad.


Re-adding pkgw as maintainer

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Introduced docsify documentation

This will replace the giant README and the wiki pages to enable anyone to edit the documentation.
I have moved all images to /docs/media.
See it in action: https://reconman.github.io/Fate-Grand-Order_Lua/
@29988122 Please go to https://github.com/29988122/Fate-Grand-Order_Lua/settings and set it up like this:

I think at this point I've fixed most accidental errors and it's ready to be reviewed.

this is so cool :o


Example of LLM Guard and Google Cloud LLM Models

Change Description
Describe your changes
Adding an example of how to intergrate LLM Guard with Google Cloud Models
Issue reference
This PR fixes issue #XX
Checklist

[ X] I have reviewed the contribution guidelines
[X ] My code includes unit tests
[X ] All unit tests and lint checks pass locally
[ ] My PR contains documentation updates / additions if required

Hey @Cybersizemore , can you please run pre-commit run --all-files, so it fixes all the lining errors?

Hey @Cybersizemore , can you please run pre-commit run --all-files, so it fixes all the lining errors?

Thank you very much! Done


Add test for building without support for any DL frameworks

Description
This PR adds a GitHub test that builds TE without support for any DL frameworks, namely by setting NVTE_FRAMEWORK=none in the environment. This use-case is for users who call the C API directly.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor
[x] Testing

Changes

Add test for building without support for any DL frameworks

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@timmoon10 Why don't we instead add the test for building the core wheels in an environment where no framework is installed?


Fix crash when a MultiFrameImageStreamCompleter is disposed during frame decoding

Description
Saw a crash report this morning that showed that _checkDisposed was throwing a StateError within _decodeNextFrameAndSchedule.
Related Issue
Tests
I added the following tests:

Test that ensures there is no error thrown when an image finishes decoding after there are no listeners.
Updated test since transient callbacks are no longer registered after an image finishes decoding when there are no listeners. Before this change, another app frame would be scheduled, but that app frame does nothing.

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

The original change breaks obscured_animated_image_test, so now this only returns when the image has a single frame. I'm not exactly sure why it broke, but since this crash is only seen with single frame images I think moving the check is a bit safer.


Issue aggregating discontinous genome scores

Hi,
thanks for this versatile package! I'm currently using it to generate DataTracks based on scores.
I believe I'm encountering an issue when trying to plot aggregated scores using a sliding window. The scores in question are discontinuous and range from 0-1 (e.g. methylation scores).
Ranges without score are not represented in my initial object.
It seems that when averaging within a window all positions are used (those without score probably set to 0). As a result a region in which all scores are set  to 1 does not return a uniform value of 1, but instead varies based on the density of the positions with score in that region).
Here is an example of a region using different window sizes and all scores set to 1:
GVIZ_example_with_uniform_scores_window_sizes.pdf
The desired behavior for this (for me at least) would be to treat ranges without score as NA and disregard them during aggregation. I tried to supply ranges with 'NA' instead, however this didn't yield any tracks. I am not sure how GVIZ is dealing with NAs, but it seems that the calculation of the mean would not remove NAs (if this is the correct line):
runwin <- suppressWarnings(runmean(Rle(as.numeric(rm)), k=windowSize, endrule="constant"))

It would be great to get advice on how to plot such data properly. Is there are way to do this in the current set up and I'm just not seeing it? Do you have a tip for a work around?
Thank you!

Hi @sebpott,
Thanks for reporting it. Could you please provide me a reproducible example?
It might be that one would need to precalculate it In this case. Let’s see.
Best
Robert

Hi @ivanek,
thanks for your quick reply! Here is code to reproduce this behavior:
The rds file can be found here.
The file contains a small GRanges object with scores at specific positions.
> gr <- readRDS(file = "../Data/R_files/example.rds")

> gr
GRanges object with 2496 ranges and 1 metadata column:
         seqnames    ranges strand |             score
            <Rle> <IRanges>  <Rle> |         <numeric>
     [1]     chr5 122028287      * |                 0
     [2]     chr5 122028288      * |                 0
     [3]     chr5 122028339      * |                 0
     [4]     chr5 122028340      * | 0.111111000180244
     [5]     chr5 122028346      * |                 0
     ...      ...       ...    ... .               ...
  [2492]     chr5 122051510      * |                 1
  [2493]     chr5 122051511      * |                 0
  [2494]     chr5 122051525      * |                 0
  [2495]     chr5 122051560      * |                 0
  [2496]     chr5 122051561      * |                 0
  -------
  seqinfo: 20 sequences from an unspecified genome

Plotting these within a region using aggregation over a sliding window of 75bp
> track <- DataTrack(range = gr,
                           genome = "mm10",
                           chromosome = chr,
                           name = "window75",
                           window = -1,
                           windowSize = 75,
                           col.line = "black",
                           ylim = c(0, 0.2),
                           type = c("h"))

> plotTracks(list(track),
                from = 122028276,
                to = 122051581)

Yields a track that looks exactly the way i want it to:
GVIZ_example_with_real_scores_window.pdf
However, the maximum scores are much lower than one would expect from the mean of the score column
> mean(gr$score)
[1] 0.1036183

Just scaling would not be an issue, however I am concerned that the density of positions with scores influences the mean value. This seems to be indeed the case. To demonstrate that the mean is not calculated strictly based on the scores alone, replace all scores with 1.
> gr$score <- 1

> gr
GRanges object with 2496 ranges and 1 metadata column:
         seqnames    ranges strand |     score
            <Rle> <IRanges>  <Rle> | <numeric>
     [1]     chr5 122028287      * |         1
     [2]     chr5 122028288      * |         1
     [3]     chr5 122028339      * |         1
     [4]     chr5 122028340      * |         1
     [5]     chr5 122028346      * |         1
     ...      ...       ...    ... .       ...
  [2492]     chr5 122051510      * |         1
  [2493]     chr5 122051511      * |         1
  [2494]     chr5 122051525      * |         1
  [2495]     chr5 122051560      * |         1
  [2496]     chr5 122051561      * |         1
  -------
  seqinfo: 20 sequences from an unspecified genome

> track <- DataTrack(range = gr,
                           genome = "mm10",
                           chromosome = chr,
                           name = "window75",
                           window = -1,
                           windowSize = 75,
                           col.line = "black",
                           ylim = c(0, 0.4),
                           type = c("h"))

> plotTracks(list(track),
                from = 122028276,
                to = 122051581)

This leads to this track:
GVIZ_example_with_uniform_scores_window.pdf
While I expected a uniform histogram with the height of each bar being 1.
Gviz does everything else exactly as needed for my purposes. It would be great to be able to use Gviz for this, either directly or with a workaround.
Thank you so much for looking into this!
seb
> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
 [1] grid      parallel  stats4    stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
 [1] tibble_2.1.3                             magrittr_1.5
 [3] dplyr_0.8.3                              TxDb.Mmusculus.UCSC.mm10.knownGene_3.4.4
 [5] GenomicFeatures_1.34.8                   AnnotationDbi_1.44.0
 [7] Biobase_2.42.0                           BSgenome.Mmusculus.UCSC.mm10_1.4.0
 [9] BSgenome_1.50.0                          rtracklayer_1.42.2
[11] Biostrings_2.50.2                        XVector_0.22.0
[13] Gviz_1.26.5                              GenomicRanges_1.34.0
[15] GenomeInfoDb_1.18.2                      IRanges_2.16.0
[17] S4Vectors_0.20.1                         BiocGenerics_0.28.0

loaded via a namespace (and not attached):
 [1] ProtGenerics_1.14.0         bitops_1.0-6                matrixStats_0.55.0          bit64_0.9-7
 [5] RColorBrewer_1.1-2          progress_1.2.2              httr_1.4.1                  tools_3.5.3
 [9] backports_1.1.5             R6_2.4.0                    rpart_4.1-15                Hmisc_4.2-0
[13] DBI_1.0.0                   lazyeval_0.2.2              colorspace_1.4-1            nnet_7.3-12
[17] tidyselect_0.2.5            gridExtra_2.3               prettyunits_1.0.2           bit_1.1-14
[21] curl_4.2                    compiler_3.5.3              htmlTable_1.13.2            DelayedArray_0.8.0
[25] scales_1.0.0                checkmate_1.9.4             stringr_1.4.0               digest_0.6.22
[29] Rsamtools_1.34.1            foreign_0.8-72              rmarkdown_1.16              base64enc_0.1-3
[33] dichromat_2.0-0             pkgconfig_2.0.3             htmltools_0.4.0             ensembldb_2.6.8
[37] htmlwidgets_1.5.1           rlang_0.4.1                 rstudioapi_0.10             RSQLite_2.1.2
[41] BiocParallel_1.16.6         acepack_1.4.1               VariantAnnotation_1.28.13   RCurl_1.95-4.12
[45] GenomeInfoDbData_1.2.0      Formula_1.2-3               Matrix_1.2-17               Rcpp_1.0.2
[49] munsell_0.5.0               stringi_1.4.3               yaml_2.2.0                  SummarizedExperiment_1.12.0
[53] zlibbioc_1.28.0             blob_1.2.0                  crayon_1.3.4                lattice_0.20-38
[57] splines_3.5.3               hms_0.5.2                   zeallot_0.1.0               knitr_1.25
[61] pillar_1.4.2                biomaRt_2.38.0              XML_3.98-1.20               glue_1.3.1
[65] evaluate_0.14               biovizBase_1.30.1           latticeExtra_0.6-28         data.table_1.12.6
[69] BiocManager_1.30.9          vctrs_0.2.0                 gtable_0.3.0                purrr_0.3.3
[73] assertthat_0.2.1            ggplot2_3.2.1               xfun_0.10                   AnnotationFilter_1.6.0
[77] survival_3.1-6              GenomicAlignments_1.18.1    memoise_1.1.0               cluster_2.1.0

Hi,
I encountered an issue that may be related to the one presented here. When using running windows to smooth the data, the presence of NAs in the first column of values seems to somehow influence the calculation of the average. I noticed this because every time I ordered the columns differently, the line also looked different -- even though the data remained the same.
The most extreme example occurs when the first column contains multiple NAs in a row: the result is a "flat line" that covers the whole region containing NAs. This is not the case if that same column is in any other position except for the first. I include here a reproducible example:
df = data.frame(chr="chr1",start=1:100,end=1:100,value1=c(rep(NA,90),rnorm(10)),value2=rnorm(100),value3=rnorm(100)
gr = makeGRangesFromDataFrame(df,keep.extra.columns = T)`
ref_track <- GenomeAxisTrack(add35=TRUE,add53=TRUE,littleTicks=T,cex=1.2) # Coordinates
dTrack <- DataTrack(gr, type=c('a'),missingAsZero=F,windowSize = 10,window=-1,
                    col=ggsci::pal_d3()(10),aggregation="mean",missingAsZero=F,
                    stacking = "squish", na.rm=T)
plotTracks(list(ref_track,dTrack),from=1,to=100)

Here the first column contains 90 NAs followed by 10 random values, which results in a flat line until position 84.

But if I reorder the columns in such a way that the NAs are in the second or third columns, the average is calculated normally. Besides, putting the NAs in the second or the third columns does not seem to have an effect (as one would expect):
df2 = df[,c("chr","start","end","value2","value1","value3")]
gr2 = makeGRangesFromDataFrame(df2,keep.extra.columns = T)
dTrack <- DataTrack(gr2, type=c('a'),missingAsZero=F,windowSize = 10,window=-1,
aggregation="mean",missingAsZero=F,stacking = "squish", na.rm=T)
plotTracks(list(ref_track,dTrack),from=1,to=100)

df3 = df[,c("chr","start","end","value3","value1","value2")]
gr3 = makeGRangesFromDataFrame(df3,keep.extra.columns = T)
dTrack <- DataTrack(gr3, type=c('a'),missingAsZero=F,windowSize = 10,window=-1,
                    aggregation="mean",missingAsZero=F,stacking = "squish", na.rm=T)
plotTracks(list(ref_track,dTrack),from=1,to=100)

Is there anything I'm doing wrong or is it a malfunction? I don't understand the reason for this behaviour, and I haven't been able to fix it by changing any of the parameters. Setting missingAsZero to True is not a viable option because the missing data are not 0...