Question about AMR data format

I want to inference my own data in AMR2Text. However, I do not understand how can I adjust my AMR to this format. Could you explain? and what does <pointer: X> mean? Could you provide the code for translating AMR to this format?
{"sent": "", "amr": "( <pointer:0> pledge-01 :mode imperative :ARG0 ( <pointer:1> you ) :ARG2 ( <pointer:2> fight-01 :ARG0 <pointer:1> :ARG2 ( <pointer:3> defend-01 :ARG0 <pointer:1> :ARG1 ( <pointer:4> and :op1 ( <pointer:5> island :wiki \"Senkaku_Islands\" :name ( <pointer:6> name :op1 \"Diaoyu\" :op2 \"Islands\" ) ) :op2 ( <pointer:7> island :ARG1-of ( <pointer:8> relate-01 :ARG2 <pointer:5> ) ) ) ) :manner ( <pointer:9> die-01 :ARG1 <pointer:1> ) ) )"}
thanks,

Hi, @ting-chih
Please refer to this repository for data processing. <pointer: X> is used to mark AMR concepts so that we can deal with reentrancies in AMR graphs.

Hi, @goodbai-nlp
thanks for your reply. I understand your meaning. However I am not working on LDC2017 or LDC2020 datasets and I do not have these datasets. So, I am not sure what is your preprocessing strategy. Could you let me take a look in these datasets? or Could you show me one example in these datasets to let me know how to adjust code for my own data?

Hi, @ting-chih
Please refer to the following image for the standard AMR format. You may need to reconstruct the original AMR graph from AMR triplets.  For :snt, annotator, you can replace corresponding content with NULL. For example,
# ::id 0
# ::annotator NULL
# ::snt NULL
(
your AMR graph here
...
)

ok thanks for your image. I understand.

sorry to bother you again. I use this fomat to do the preprocessing and I got the results like ( <pointer:0> "'coole-01" :ARG0 ( <pointer:1> and :op1 ( <pointer:2> person :name ( <pointer:3> name :op1 "Maisie" :op2 "Smith" ) ) :op2 ( <pointer:4> person :name ( <pointer:5> name :op1 "HRVY" ) ) ) :ARG1 ( <pointer:6> romance-01 :ARG0 <pointer:1> ) :ARG1-of ( <pointer:7> report-01 ) :purpose ( <pointer:8> possible-01 :ARG1 ( <pointer:9> concentrate-01 :ARG0 <pointer:4> :ARG1 ( <pointer:10> get-05 :ARG0 <pointer:4> :ARG2 ( <pointer:11> final :mod ( <pointer:12> broadcast-program :name ( <pointer:13> name :op1 "Strictly" :op2 "Come" :op3 "Dancing" ) ) ) ) ) ) ). However, when I put this into data4genration.jsonl format, I got the error json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 37 (char 36).  It looks like this does not fit with json format.


highlight __something__ as a variable

I hope that module attributes are highlighted like variables. As you can see, they are just white.

Duplicate of #964.


Content into setup.py

Based on ocim's work at https://github.com/mithro/python-datetime-tz/pull/1

Don't use an explicit import to get the list of packages to an
import; use the native all to list the required imports
Import the appropriate version of dateutil based on python version

NB: Not actually tested on python3

My apologies, I wanted to send this to mithro


[node] Ensure that node always uninstalls receiver app before sender

There is a class of bugs/attack vectors related to the following:

Sender installs some type of transfer to receiver over the node (relying either on a sig or htlc to unlock)
Sender uninstalls or disputes the transfer app with the node, reverting the first half of the transfer
Immediately after, receiver calls takeAction and completes the second half of the transfer, effectively stealing funds from the node.

OR

Sender installs some type of transfer to receiver over the node (relying either on a sig or htlc to unlock)
Sender uninstalls or disputes the transfer app with the node, reverting the first half of the transfer
The receiver disputes their side, unlocking the transfer using setStateWithAction.

We should do a sanity check in the node's transfer functionality to ensure that the node always uninstalls the receiver's transfer app FIRST when a sender attempts to uninstall theirs.
We should also write a couple of tests for this to ensure that it doesn't happen on future transfer app logic.

Hold off on doing anything here - I found a way to protect against this in-app that wont require any node/client changes

How this should work:

uninstall protocol should add a OP_VALIDATE middleware (I believe it already has one as a result of the deposit app)
The op validate middleware passed in by the node for transfers should include a callback function to check the transfer's status in node DB
If the node identifies the party uninstalling as the sender of the transfer, it should immediately attempt to uninstall the receiver side before continuing protocol execution


odlm annotation updated for nss operator

for issue: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/57411

/retest


"Zone.js has detected that ZoneAwarePromise (window|global).Promise has been overwritten

There is error when exceljs is used in code.
Error:
Error: "Zone.js has detected that ZoneAwarePromise (window|global).Promise has been overwritten.
Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)"
Angular 5
o exceljs.min.js:3
My service.ts file
import { Injectable } from '@angular/core';
import * as Excel from "exceljs/dist/exceljs.min.js";
import * as fs from 'file-saver';
@Injectable({
providedIn: 'root'
})
export class ExcelserviceService {
 constructor() { }
generatereport(dummydata):void{
let workbook = new Excel.Workbook();

 let worksheet = workbook.addWorksheet('Car Data');
 }
}

I am able to make it work in local by removing zone.js imports from polyfills.ts file and adding them to main.ts at the end. But, having same ZoneAwarePromise issue again after build and publish. Any updates ?

No solutions worked for me i saw some old libraries with this issue,  i could not see exactly what they changed to fix it ( 2017-18)

Made it work for the normal build (ng build), but for PROD Build - no luck yet.

fixed mine by importing it before 'core-js' and 'zone.js' in the pollyfills.ts file
pollyfills.ts file:
import 'exceljs/dist/exceljs.min.js';

/** IE9, IE10 and IE11 requires all of the following polyfills. */
import 'core-js/es6/symbol';
.
.
.
.
.
.
import 'zone.js/dist/zone';

fixed mine by importing it before 'core-js' and 'zone.js' in the pollyfills.ts file
pollyfills.ts file:
import 'exceljs/dist/exceljs.min.js';

/** IE9, IE10 and IE11 requires all of the following polyfills. */
import 'core-js/es6/symbol';
.
.
.
.
.
.
import 'zone.js/dist/zone';

I do  not include 'core-js', but your comment made me realise something, the conflict is with core-js, most likely this library is trying to work with old browsers and importing polyfills. https://github.com/angular/zone.js/issues/783
and this particular solution is provided here: https://github.com/angular/zone.js/issues/783#issuecomment-317048454
In order for this to work anyone who is loading excelJs in the component/service  should remove the imports and only
Remove these everywhere except in polyfill.ts
import * as ExcelJS from 'exceljs/dist/exceljs.min.js';
don t use new Excel.Workbook()
So the final code will be :
import {Row, Workbook, Worksheet} from 'exceljs';
...
    const workbook: Workbook = new Workbook();

    const sheet: Worksheet = workbook.addWorksheet( ....

Extra:
you don't need @types/exceljs anymore.
I did test adding it to angular.json>project.architect.build.options.scripts instead of polyfill but it fails

I could not pinpoint what is calling core-js , but something is. According to this  we should add it manually but something is definitely still adding a polyfill for Promise

Note: The ES5 build has an implicit dependency on a number of polyfills which are no longer explicitly added by exceljs. You will need to add "core-js" and "regenerator-runtime" to your dependencies and include the following requires in your code before the exceljs import:

I do not include 'core-js'

you're right, tried to move it after the 'core-js' imports but before zone.js and it still works..

something is definitely still adding a polyfill for Promise

hmnn i browse the exceljs.js file and found this line of code..

....this might be it? ( i'm just guessing here )

Oh so the polyfill for Promise is actually embedded in the code.

@bleuscyther , I am still having zoneawarepromise error even after I import exceljs into polyfills. Any idea?

This one when tried, only version 2.0.1 is working. Right now the 3.0 version is running, any plan that will fix for this issues?

I have tried different versions. It's working on 2.0.1 and for higher versions, you may need to add zone.js imports in main.ts instead of polyfills file but that's not a good idea and may cause issues during builds.
For Esceljs- 2.0.1
No extra babel-polyfill are necessary for index.html
add
"paths": {
"exceljs": ["/node_modules/exceljs/dist/exceljs.min"]
}
in tsconfig.json
add
"node_modules/exceljs/dist/exceljs.min.js" in scripts for angular.json
import * as ExcelJS from 'exceljs/dist/exceljs.min.js';
declare const ExcelJS: ExcelJS;
...
....
var workbook = new ExcelJS.Workbook();
....
It's working on both DEV and PROD builds without any issues.

It's working on 2.0.1 and for higher versions, you may need to add zone.js imports in main.ts instead of polyfills

uhh no (at-least for me)?? i'm using the latest version 3.3.1 and i only need to import it before the zone.js at the pollyfills.ts file, then that's it, i can normally use just like on the documentation:
import * as ExcelJS from 'exceljs';

let workbook = new ExcelJS.Workbook();

my angular version is 7.2.3

I suggested a PR that should fix this issue. You can download it and build to test the excelis.min files.
It worked for me i did not need to import in the polyfill.ts anymore.
import {Row, Workbook, Worksheet} from 'exceljs';
...
    const workbook: Workbook = new Workbook();

    const sheet: Worksheet = workbook.addWorksheet( ....

@bleuscyther I am using exceljs version from your branch.
I've changed
import * as Excel from 'exceljs/dist/exceljs.min.js'; to import { Workbook, Worksheet} from 'exceljs';
This leads to another issue:
ERROR in node_modules/exceljs/index.d.ts(1661,34): error TS2503: Cannot find namespace 'NodeJS'.
I did not add exceljs import in polyfill.ts.
Did you face that problem?

@lukaszreszke93, which version of Excel JS are you using?

I am using version from @bleuscyther's branch

@lukaszreszke93 you have to build it first an then use the .j s files from the dist folder.


messagepack deadlock or similar

I am not sure if I should even open this issue because I have no way of creating a POC but just wanted to pay your attention to the following: when changed json to messagepack transport then after a couple of messages sent from server to client, the thread sending the message got frozen and the process jumped to 80-90% cpu. I reverted to json transport and this issue was gone.
Is this some known issue or you got any clue? currently of course it prevents us from using messagepack and will hope some future version will get rid of this issue and then we can come back to messagepack.

No that doesn’t ring a bell. Since preview2 we’ve changed lots of things (including the message pack library) so it could have fixed itself. Are you using the same version of the client and server?

yes, the same version. I am still trying to make our code work around the bug from the other issue and tried messagepack in hope it will be a solution but unfortunately got stuck with this issue. So I have no choice but to update the signalr to the latest myget to make stuff start working :\


[Connection] Export options to allow override

Options should be exported in order to be overwritten in specific use cases.

done! options are just the settings of a connection / protocol


No Controller for New Nodes Added via addChild

`  updateCampaignScriptTreeModel(script: IScript): void {
let targetScriptNodeController: TreeController = this.scriptTreeComponent.getControllerByNodeId(script.id);

if (targetScriptNodeController) {

  let targetScriptTreeModel = targetScriptNodeController.toTreeModel();

  if (targetScriptTreeModel.title !== script.title) {
    targetScriptNodeController.rename(script.title);
  }
}
else {
  let targetParentScriptNodeController: TreeController = this.scriptTreeComponent.getControllerByNodeId(script.parentScriptId);

  if (!targetParentScriptNodeController) {
    targetParentScriptNodeController = this.scriptTreeComponent.rootComponent.controller;
  }

  targetParentScriptNodeController.addChild({ id: script.id, value: script.title, children: [] });
  targetParentScriptNodeController.expand();

  let addedScriptModelController: TreeController = this.scriptTreeComponent.getControllerByNodeId(script.id);
  addedScriptModelController.select();
}

}`
I'm dynamically updating a TreeModel based on an arbitrary data model object ("script" in the example above).  When using "addChild" in the above, I note that the children are added to the correct parent TreeModel as expected and the added nodes appear correctly in my tree.
However, it seems no new TreeController is added to the TreeService.controllers collection as part of the addChild function (I have verified this in a debugger).  Consequently, the subsequent call to get the "addedScriptModelController" returns a null.  Per the code my intent in this case is to "select" the newly created node after it is added.  Obviously, relying on the rest of the API also requires access to an existing node controller for newly "added" nodes.
Am I doing something wrong here, or are there design limitations that prevent controllers from being added as part of of the addChild function?

@dpollastrini Thanks for sharing - this is a good case for the paragraph in the documentation.

Hi guys, im having the same issue, but the code sample by @dpollastrini did not work form me.
tree-controller -> addChild already calls "createNode", but the problem is that id does not create a controller for the corresponding new node, as in where you initialize the component with a treeModel id loops trough all the nodes creates a tree-internal instance and also a controller.
public addChild(newNode: TreeModel): void {
    if (this.tree.hasDeferredChildren() && !this.tree.childrenWereLoaded()) {
      return;
    }

    const newTree = this.tree.createNode(Array.isArray(newNode.children), newNode);
    this.treeService.fireNodeCreated(newTree);
  }

So in my case given a starting multi level nested treeModel everything works great.
But if i try to add child nodes programatically it will fail cause the new nodes won't have controllers and hence you cannot add children nodes to those created before.
A sample tree model would be something like:
1
.... 1.1
........... 1.1.1
............ 1.1.2
@rychkog Have you managed to create such a structure using "addChild"?

@boban984 thanks, I'll reopen this and have a look.

@dpollastrini @boban984 TreeController requires TreeInternalComponent in order to control its behavior. But I have an idea. I'll add a createChildAsync method to the controller, therefore allowing TreeInternalComponent to create a new controller for the child on one event loop iteration and resolving the new child on a subsequent one.
Here is the how it will look like:
this.treeFFS.getControllerByNodeId(1)
  .addChildAsync({id: 'Boo!', value: 'Casper :)'})
    .then(casper => this.treeFFS.getControllerByNodeId('Boo!').select());

What do you think about this, will it resolve your issues?

@rychkog that would be ideal

@boban984 Actually this functionality is already in master and released. I just haven't had enough time for updating the doc.


Is it possible to pass a logger interface to enable custom logger instance?

Despite Go's poor design in not providing a standard Logger interface, we can still achieve a unified Logger instance by customizing the Logger interface. For example, I prefer using JSON logs for easy log collection.
Example
type Logger interface {
	Debugw(msg string, fields ...interface{})
	Infow(msg string, fields ...interface{})
	Warnw(msg string, fields ...interface{})
	Errorw(msg string, fields ...interface{})
}

Later on, you only need to provide a Logger option when creating the robot (we can implement the Logger interface you require), and you can provide a default logger implementation at creation. I believe such changes are not very invasive.

Indeed, it'd be quite useful if zap could be introduced as logger instead of using the built-in log.

All the log calls are adjustable: you can write your own middleware for logging incoming requests with the logger package you like. There is also a Bot.OnError field to override the error-handler.


Add MSYSTEM to VCPKG_ENV_PASSTHROUGH for mingw triplets

Describe the bug
MSYS2 uses MSYSTEM to decide what the correct value is for uname to return. This is very important because it influences makefile systems, in my case python3's autoconf (check https://github.com/msys2-contrib/cpython-mingw/issues/109 ).
If MSYSTEM is not forwarded to the build systems, uname will report a pure msys/cygwin environment. The binaries that will be built then will often work and be native windows binaries, at least for GNU autotools, since VCPKG passes --build=x86_64-pc-mingw32 which makes --host take that triplet aswell (afaik). This signifies a non-cross build, hence uname should return information that's coherent with the host system. But if MSYSTEM is missing, that's not true. Hence the above linked build failure for python3.
Environment

Windows

You are correct that uname tells us the system we are running on. I think for Msys, there are multiple possible system environments that you could run on.

If you wanna have a linux environment, you can set MSYSTEM to MSYS. Then all programs you invoke take, output and work with linux paths and use the cygwin libraries to be as near to POSIX as possible.
If you wanna have a native windows environment set MSYSTEM to one of {UCRT,CLANG,MINGW}{32,64} and many binaries then become native windows binaries and don't use cygwin.

The compilers will change together with that.. if you choose MSYSTEM to be UCRT64, then the compiler links against UCRT64, as far as I understand. Check https://www.msys2.org/docs/environments/ for details.
The uname function works together with that scheme and returns MINGW{32, 64} if it's a windows environment, and MSYS if not. Check https://github.com/msys2/msys2-runtime/blob/msys2-3.4.6/winsup/cygwin/uname.cc#L28 .
Why is it relevant? So while the configure script runs with bash in a MSYS environment, the tools like the compiler and some others are native windows programs. Not only that, but if you tell the configure script that buildsystem is equal to target system (i.e giving --build=... and not giving --host or giving the same value), then the script is free to use uname to learn more about the target system. That's why the value of MSYSTEM is important.
Possiubly other packages fail  to build aswell, or build and fail at runtime (actually python.exe built, and then failed to run).. Mingw is not tested with the official CI system, as far as I know.

I build regularly with mingw on MSYS2. If a port fails to build or run but should work, report it. But again, python is not a suitable example. It is unsupported.
And again, uname is not relevant for the (vcpkg) target. However, some package are very picky about the (vcpkg) host.
MSYSTEM doesn't really select the compiler. However if you set MSYSTEM and then start a login shell, it will add that system's dir to PATH, thus determining which binary will be g++.
This doesn't take away any <prefix>-g++ (cross-)compilers. The vcpkg mingw CMake toolchain chooses such compilers with prefix:
https://github.com/microsoft/vcpkg/blob/04d50defc7ead2841b593c358f9b15e03ea4bf0e/scripts/toolchains/mingw.cmake#L24-L25
And the maintainer functions try to pass these settings into other build systems.

I understand if you don't want to fix it right now and risk breaking packages that build right now.
As for python, cpython-mingw builds fine for me within vcpkg, after I set MSYSTEM to make configure happy, and after I moved my vcpkg from my Desktop to C:\ in order to make paths shorter than 260 characters (setup.py generates very deep folder hierarchies...). I will raise the path names issue with cpython-mingw - the MSVC version of python buildfiles already has a manifest for python to support long paths, I think they can reuse that.
I also tried to cross build cpython-mingw on linux for windows with vcpkg in the past. While the python-package itself built apparently, the CMake FindPython module caused problems, because CMake tries to discover various things about python by executing it at build time... of course that's a bad thing if you are cross building.

Ideally cross-build to MinGW should work from Linux and from MSYS environement - both represent the POSIX world.  You ask for the MSYSTEM change to facilitate native builds from MinGW environments.
But ideally the build would also work without an existing msys2 installation, just with mingw tools from other providers. vcpkg already acquires msys2 tools.
And yes, this python mingw support must be compemented with corresponding changes to vcpkg's wrapper for FindPython.cmake.
Please take the X-Y-problem out of this issue.
Make it clear that you want python3 for mingw,
or make another case for MSYSTEM.

I now see that CONFIGURE_ENVIRONMENT_VARIABLES is an option for vcpkg_configure_make. For python maybe that's already enough to make it work, because as far as I can see, it executes uname at configure time only and then pins the value it got from there. From there it takes its way into "sys.platform" and reaches python scripts.

I now see that CONFIGURE_ENVIRONMENT_VARIABLES is an option for vcpkg_configure_make.

You don't need that. The portfile can set(ENV{MSYSTEM} whatever).

This issue hasn’t been updated in 3 month, if it is still an issue, please reopen this issue.


Changed file structure in preparation of future Swift Package Manager support

SPM requires a specific directory structure which does not match what this project currently has. As a first step in the journey to supporting SPM, this PR corrects this while updating the Cocoapods Podspec file to reflect the new structure.
Currently, we're still not able to support Swift Package Manager until at a minimum, the Core library is rewritten in Swift. This is because

SPM doesn't allow mixing Swift and Objective-C in the same framework (strangely enough).
The new AirTracker analytics library is written in Swift, which Core has as a dependency.
Because that's written in Swift, we need to import the Swift libraries (which is typically done by adding a single empty Swift file as we currently do, which Cocoapods supports)
Go to point 1.

Once this entire library is rewritten, SPM will be the primary package manager (while maintaining Cocoapods support).

Merging branch despite coverage (it's a file structure change, improvements to coverage will come as the SDK is rewritten)


Attempt to deflake instanceip test

Without this, for the negative cases we make 135 calls (5 calls * 3
cluster * 3 retries in envoy * converge(3)). This seems to just end up
overloading the test and we end up with timeouts
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
36ce50679a25eab6a607649f7c324bd21d129826
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
36ce50679a25eab6a607649f7c324bd21d129826
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #32306


How to change the font family of default control icons

The default script  afterglow.min.js  uses a  {font-family:afterglow-icon}
please help me switch to {font-family:VideoJS}

http://docs.afterglowplayer.com/docs/build-your-own :-)

@moay I downloaded all the + video files to my computer, but the file afterglow-master\sandbox\index.html  file does not show the video in the browser.
I changed the path to the video in index.html, here is an example <source src="../video/MP4/afterglow_local.mp4" type="video/mp4"/>

Just downloading won't help, you'll have to build. If this is not something you've done before, I suggest you learn more about building javascript projects. The process in itself is described in http://docs.afterglowplayer.com/docs/build-your-own - a basic understanding for how HTML works and how file paths are resolved is required. The issue you describe sounds like you just need to make sure that all video paths are correctly set and that your scripts are running properly - take a look at the JS console to see whats going on.
Sorry, I won't be able to support on how to develop in javascript. :-)

@moay  I installed Node.js + npm, but as I understood from your link this module is needed to build the project itself? But why the test project does not work.

@moay Changed ways with ../ on ./.. /  and there are fewer bugs in the console

Sorry @andrecool-68 , this project is deprecated and I don't currently have the time to support you there. You should make sure to

Build the project following the documentation
Sort out your CORS issues by maybe running an actual Testserver

@moay I installed Server Apache + PHP on my computer
Please look at the new browser console result.

@moay How can I get the afterglow-bundle.js file, because of its absence in the console, this error:
GET http://localhost:8080/afterglow-master/dist/tmp/afterglow-bundle.js net::ERR_ABORTED 404 (Not Found)

This file was created:
<!DOCTYPE html>
<html>
<head>
    <title>afterglow development sandbox</title>

	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.3">

	<!-- STYLES -->
	<link rel="stylesheet"      type="text/css" href="./../vendor/videojs/video-js.css">
	<link rel="stylesheet/less" type="text/css" href="./../src/less/skins/afterglow-default.less">
	<link rel="stylesheet/less" type="text/css" href="./../src/less/skins/afterglow-light.less">
	<link rel="stylesheet/less" type="text/css" href="./../src/less/skins/afterglow-dark.less">
	<link rel="stylesheet/less" type="text/css" href="./../src/less/components/lightbox.less">

	<!-- SCRIPTS -->
	<script type="text/javascript" src="./js/less.min.js"></script>
	<script type="text/javascript" src="./../vendor/videojs/video.js"></script>
	<script type="text/javascript" src="./../vendor/videojs/plugins/Youtube.js"></script>
	<script type="text/javascript" src="./../vendor/videojs/plugins/videojs-vimeo.js"></script>
	<script type="text/javascript" src="./../vendor/videojs/plugins/videojs.hotkeys.js"></script>
	<script type="text/javascript" src="./../dist/tmp/afterglow-bundle.js"></script>

    <!-- <script type="text/javascript" src="./../dist/afterglow.min.js"></script> -->
</head>
  <body>
	<style>
		body{
			max-width:700px;
			margin: 0 auto;
			padding-top: 50px;
            background:red;
		}
	</style>
    <video class="afterglow" id="myvideo" width="700" height="394"
     poster="./../video/Snapshots/afterglow_local.jpg" preload="none">

      <source src="./../video/MP4/afterglow_local.mp4" type="video/mp4" />
    </video>
  </body>
</html>

Not a successful build of the project
http://docs.afterglowplayer.com/docs/build-your-own

Sorry man, I REALLY dont have time for this... https://de.lmgtfy.com/?q=primordials+is+not+defined
First answer...

@moay Thank you very much for your help!
The very first link helped me fix this error!
It was necessary to create a new npm-shrinkwrap.json file
{
  "dependencies": {
    "graceful-fs": {
      "version": "4.2.3"
    }
  }
}

Successful assembly of the project!
P.S.
After building the project, the "dist/tmp" directory is automatically deleted.
Shouldn't it be preserved?
Thank you for your patience and understanding)))

@moay
To save the directory with temporary files, I commented out this line in the file gulpfile.js
gulp.task('cleanup-tmp',['build-afterglow'], function(){
	// return del(['./dist/tmp']);
});

Is this temporary option a big mistake?

For the last time. I'm very sorry, but I do NOT have the time to support you. You should either learn to develop or pay someone who knows what she/he's doing. Existing build scripts tend to have been implemented with some kind of purpose, but in the end it's up to you to change it or not. If it fails, you might at least learn something from it. :-)


redesigned the footer section

Description

Please provide a brief description of the changes introduced by this pull request.
Related Issues*

Fixes #(issue number)

Checklist
Replace "[ ]" with "[x]" to mark them as completed.

[x] I have forked the repo and pushed the changes according to contribution guidelines.
[x] I have tested these changes locally.
[x] I have tried to maintain the consistency of the code.
[x] I have tested these changes locally.
[ ] I have updated the documentation accordingly.

No issue is raised  related to this. Kindly follow the guidelines.


Formatter conflicts

Closes #21
Closes #6
Updates solution to compatibility issue from #17 which I believe will allow some long lines that black ignores to be unflagged. This follows black's recommended approach which also gives some nice behaviors (ignores urls that break line length, doesn't count closing parenthesis)
Updates versions of linters

Made some minor updates to the requirements.txt


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=372219292
https://github.com/Azure/azure-cli-extensions/commit/f1e00f84d057a5350923a9726fbbf58c86431056

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Improve readme

Readme looks little bit overloaded for quick start.
I tried to improve it, please review. 🍻

LGTM (though I would squash the commits). @paulofaria

The only thing I'm worried is about swiftenv.

You can skip swiftenv step and some swiftenv instructions below if you already have DEVELOPMENT-SNAPSHOT-2016-02-08-a in your PATH

I think it would be nice if we encourage the use of swiftenv with .swift-version files (local swift version). Also, swiftenv's hombrew installation doesn't work properly. So I would at least add a notice suggesting the git clone installation process.

Other than that a squash would be nice as well! (;

done.

Did you check brew with the --head? does it really work?

I only tried the manual git clone.

If it works as expected feel free to merge! (:


Replacing react-native android with react-native eject

Just updated the documentation. To create the android directory, react-native android doesn't work anymore, it has been replaced by react-native eject.

Looks like your PR is missing a description.

Thank you, fixed it

The android command has been removed. As @hramos said, eject is not designed to work in projects created using react-native init.
Thanks for the PR, it's a good catch. It's probably easiest to remove the whole sentence "Maybe run react-native eject first?".
I'm curious, how did it happen that your project only had iOS native code? react-native init MyApp creates both iOS and Android native code. Is there a command to create iOS files only? If yes we might want to kill it - creating iOS and Android files keeps the CLI code simple and people can delete the android folder if they really don't want it. But there's no harm in always keeping the android folder around. An app that starts as iOS only might need an Android version in the future :)

Ahah, I just modified a lot of files in my Android directory and I wanted to get a fresh new one, so I simply deleted it.

Wouldn't running react-native start re-create the folder anyway?

Or maybe I'm getting confused with the build/ folder inside /android.

Nop the only way I found is to do a react-native eject

In any case, react-native init should build the android and ios folder for you. Closing the PR as the doc update is not necessary.


Add support for Firefox

This extension does not work on Firefox. See https://zenn.dev/hyrodium/scraps/0532ffa27429b6 for more information.

This issue is now solved. The extension will be released in the Firefox web store in a few days, I guess.


feat: switch features

Codecov Report

Merging #5 (a87283a) into master (ae319d5) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master      #5   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          64      64
  Lines         275     293   +18
  Branches       15      26   +11
======================================
- Misses        274     292   +18
  Partials        1       1

Impacted Files
Coverage Δ

src/component-panel/ComponentCard.tsx
0.00% <0.00%> (ø)

src/component-panel/ComponentTree.tsx
0.00% <0.00%> (ø)

src/component-panel/index.tsx
0.00% <0.00%> (ø)

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 ae319d5...a87283a. Read the comment docs.


Adding Synapse (SYN) token

Adding Synapse (SYN) Token for https://synapse.ai/ for SYN Contract at https://etherscan.io/address/0x10b123fddde003243199aad03522065dc05827a0

Building a Decentralized Data + Machine Learning marketplace and network. Initial coin offering starts in 4 days and we're going to start distributing our pre-sale tokens.
Pre-sale: https://presale.synapse.ai/
About us: https://presale.synapse.ai/about
Bitcoin Talk ANN: https://bitcointalk.org/index.php?topic=2198553
Twitter: https://twitter.com/aisynapse

Hi @tayvano @kvhnuke Can you please help and get this merged for our users? Our launch happens tomorrow and it would be awesome to have this working. We're also listed on ED: https://etherdelta.com/#SYN-ETH
Thanks for the epic product, support, and help. :)

Need a support email address before I pull this in @dpgailey

@tayvano<EMAIL_ADDRESS>Thanks!

@tayvano also updated the original text. 👍

@tayvano also contributed for all your badass work. srsly.
https://etherscan.io/tx/0xaf25ab8ff1ff5cc6a215b585961228cc7bb6336080f3ffa542891f28cafd7341


[FLINK-16144] get client.timeout for the client, with a fallback to the akka.client…

What is the purpose of the change
Add client.timeout setting and use that for CLI operations
Brief change log
Currently, the Cli uses the akka.client.timeout setting. This has historical reasons but can be very confusing for users. We should introduce a new setting client.timeout that is used for the client, with a fallback to the previous akka.client.timeout
Verifying this change
AkkaUtilsTest.test("get client.timeout for the client, with a fallback to the akka.client.timeout.")
passed
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (don't know)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: ( no )
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi, thanks for your PR!
We should add a new ClientOptions class that keeps the CLIENT_TIMEOUT (with a fallback to the old akka.client.timeout. Then we can change existing usage of AkkaUtils.getClientTimeout() to use the new config, we can then probably remove AkkaUtils.getClientTimeout(). Also, for the new option you can use durationType() instead of stringType().

Hi @wtog and @aljoscha , maybe also the EMBEDDED_RPC_TIMEOUT and EMBEDDED_RPC_RETRY_PERIOD could be affected by this PR, and essentially be subsumed by the new client options. This because these two options are essentially the timeouts for the client in "Application Mode".

hi @aljoscha and @kl0u this pr is updated, please help to review

hi @wtog , Flink does not allow merge-commits. Could you please make your changes a separate commit and rebase them on the current master? Feel free to force-push.

hi @kl0u , i rebased on the master and updated this pr, please help to review


Feedback during active profiling

As a user I want to see an optical feedback like a small tray in the corner after starting the profiling which shows the current running time.

by @dominikglandorf

Maybe something like a stopwatch icon?


[Feature Request] Realtime tracking of nips BAC

Future proof this in case Nips makes new friends by implanting a BAC sensor in Nips body and have it report to the site
Future improvements could potentially include real time tracking of Nips location when drunk so people can flock to him when this rarer and rarer event occurs, and selling Nips BAC data to 3rd parties so they can target him with kebab ads

You raise a good point about monetizing this with targeted ads. I have an api endpoint already to check if nips is drunk or not, I should sell this to local kebab restaurants around Melbourne.


feat: urlify tooltip text

Fixes https://github.com/snapshot-labs/snapshot/issues/3676
Changes

Added props and theme to v-tippy in SpaceProposalVotesListItem.vue

How to test

Go to proposal with link in tooltip like this
Click links

Self-review checklist

[x] I have performed a full self-review of my changes
[x] I have tested my changes on a preview deployment
[ ] I have tested my changes on a custom domain
[ ] I have run end-to-end tests yarn cypress:test:e2e, and they have passed

Nice work @j0hnfl0w


Pseudo with ending space warn or kick

Gives the option to kick the "bad pseudo" players (20th char is a space), to avoid unjustified punitions of their squad mates bu noleader_automod.

I'll update this to work with UI settings soon.
We'll also want to update it to account for pineapple names (multi byte code point in the last position) https://discord.com/channels/685692524442026020/698857000804548629/1098181704595820554


Publishing page in draft state linked via ParentalKey deletes linked model

Issue Summary
When using a Page model (MyPage) with another Django model (SomeModel) having a ParentalKey to said Page model, creating a MyPage in draft mode, then linking SomeModel to it, SomeModel gets deleted as soon as the MyPage gets published.
Steps to Reproduce

Start a new project with wagtail start myproject
Install django_modelcluster in project
Add wagtail.contrib.modeladmin to settings/base.py
Add some page model to models.py, also add a related model with a ParentalKey.

from django.db import models
from wagtail.models import Page, Orderable
from wagtail.fields import RichTextField
from wagtail.admin.panels import FieldPanel
from modelcluster.fields import ParentalKey

class MyPage(Page):
    pass
    # add any properties, not relevant for reproduction (just dont add an InlinePanel for the next model!)

class SomeModel(Orderable):
    page  = ParentalKey(MyPage, on_delete=models.PROTECT, related_name='related_items')
    name = models.CharField(max_length=255)

    panels = [FieldPanel('name'), FieldPanel('page')]

    def __str__(self):
        return self.name

Add a menu item for the related model inside a wagtail_hooks.py:

from wagtail.contrib.modeladmin.options import ModelAdmin, modeladmin_register

from .models import SomeModel

class SomeModelAdmin(ModelAdmin):
    model = SomeModel

modeladmin_register(SomeModelAdmin)

Migrate the project with python manage.py makemigrations and python manage.py migrate
Go to the admin and create a new instance of type MyPage, and save it as a draft
Create a new instance of the SomeModel type and link the page you just created to it
Go back to the page and publish it
The instance of SomeModel has been deleted

I would not expect the instance to be deleted, as there is no InlinePanel defined on the page where the relationship between the two models could be manipulated. Also, when publishing the same page again after assigning the model instance, no deletion happens.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.10.6
Django version: 4.2.1
Wagtail version: 5.0
Browser version: Firefox 113

This is by design. If a model is designated as an inline child via InlinePanel / ParentalKey, its data is managed as part of the page's revision history and draft state. This means it isn't valid to also make that model editable through a view of its own, since changes made there are liable to be overwritten when saving the page, and vice versa.

@gasman I can understand the design decision, but the relationship was just not very obvious to me, that by just having that ParentalKey defined the related items can be deleted, even without having a form element in the parent model. Maybe there could be a sentence or two in the documentation about that. Would a pull request be welcome?

@ramonwenger Unfortunately it's quite hard to give advice of the form "do not do X" inside documentation - it's only useful if the person is reading exactly the right page at exactly the right moment, and for everyone else it's just unhelpful clutter. If there was a recurring pattern of people making this mistake then we'd consider covering it in the documentation - but we haven't really seen any evidence of that.


Error uploading cover image to book

Hi,
I am getting the attached error when I try to add a cover image to my bookstack instance.
I'm running v21.05.3 on ubuntu 21.04.
I get the same error when I try a different image and when I try a different Book or Shelf.
Are you able to point me in the right direction as to what might be the issue please?
Thanks,
Andrew

Hi @ShowMeIT,
Have you check file/folder permissions for the target location, as indicated in the error message?
Let me know if you'd need further assistance to check that or to know how to address. I'll just need to know what webserver you're using.

Thank you for your response,
Some help to check would be great please, using apache - book stack installed in /var/www/bookstack
Thank you,
Andrew
P.S - Awesome software!!

@ShowMeIT  The below commands should update permissions so that Apache has the right permissions:
sudo chown -R www-data:www-data /var/www/bookstack/storage /var/www/bookstack/public/uploads /var/www/bookstack/bootstrap/cache

Thanks @ssddanbrown, works perfectly now!
Thank you for your help.


JSDoc - generate @type for a variable

Generating a JSDoc comment for a variable/constant should generate an @type annotation
/** |
var p;

Inserts
/**
 * @type {any}
 */
var p;

This issue was moved to Microsoft/TypeScript#14245


Eisenstein series are  mdifferentiable

We show that Eisenstein Series are MDifferentiable

[x] depends on: #10377
[x] depends on:  #11244

I'm not sure if there is a more general version of MDifferentiable_iff_extension_DifferentiableOn that we might want to add. I experimented with this, but couldn't quite get the setup right.

I ran lake exe shake --update but I don't know if I should have, I'll wait for an expert to say if this is ok.

No, that's the wrong thing: you should revert your changes to noshake.json and run lake exe shake --fix instead.

No, that's the wrong thing: you should revert your changes to noshake.json and run lake exe shake --fix instead.

I did that originally, but the fix meant a file wouldn't compile, so I went for the update route.

That's weird. If lake exe shake --fix is giving wrong results, I suggest that you restore the branch to the state it was in before you started the tree-shaking, and then report on zulip that the script is giving misleading output on this branch.

I have done some digging and I know what's causing this. Shall I push my fix?

I have done some digging and I know what's causing this. Shall I push my fix?

Sure it seems it doesn't like the file where the notation is defined. I guess one solution is to move the notation from ../Manifold to ../Topology?

Not quite. The issue is that notation declarations are visible to the parser, but invisible to shake (which only notices when the notation is used, not when it's defined).
I suggest the following in UpperHalfPlane.Topology:

add the PartialHomeomorph import
add the following definition:/-- A continuous section `ℂ → ℍ` of the natural inclusion map, bundled as a `PartialHomeomorph`. -/
def ofComplex : PartialHomeomorph ℂ ℍ := (openEmbedding_coe.toPartialHomeomorph _).symm

/-- Extend a function on `ℍ` arbitrarily to a function on all of `ℂ`. -/
scoped[UpperHalfPlane] notation "↑ₕ" f => f ∘ ofComplex

Then shake won't complain, because it sees the def and accepts that as a reason to import PartialHomeomorph. I think it's useful anyway to give the section of the inclusion map a name: then we can formulate a lemma that it's continuous or mdifferentiable, etc.

Looks good to me now. If you're happy with it, please label with "awaiting review" and "awaiting CI", and I'll flag it for merging if the CI run passes.

done!

maintainer merge

bors r+


Add global hub inspector

Signed-off-by: myan<EMAIL_ADDRESS>Reference: https://issues.redhat.com/browse/ACM-14142

2. That means we need to able to drive the names of pvc/dbs/queries etc in a configurable way. (We need to query DB for search as well - so this would  be perfect if you did the work and could be reused)

That makes sense:

I need to discuss with others how to configure the inspector by the global hub operand to collect the system's information

It would be beneficial to generalize the PVC/database modules of the global hub inspector, which I hadn't considered before. I can break this down to allow the inspection of specific components based on their name or configuration.

@bjoydeep

Regarding how to trigger the inspector via the global hub operand, we still need to reach a consensus. However, this may be outside the scope of this PR. So, I think we should proceed with this PR for now.

I have generalized the PVC module for broader usage. However, for the database modules, the global hub inspector only monitors record changes for a specific table. This may not align with your expectations, so generalizing it might not be suitable without additional use cases to identify common functions...


This repository still maintained?

A lot suggestion and improvement has been submitted, but still a lot pull request not merged...

Hi @ikhsanuddin. I think repository is stalled little bit. Please ping me on PRs that need attention.


Cannot print a table as a custom message in the HTML report

Expected behavior
A table can be able to print as a custom message in the HTML report
Actual behavior
A table is not printed as a custom message in the HTML report
Steps to reproduce

Use a method to print the table in console
Pass that string into Gauge.writeMessage(tableString);
View the generated HTML-report after the execution

Gauge version
Gauge version: 0.9.0
Plugins
html-report (4.0.1)
java (0.6.4)
spectacle (0.1.2)
xml-report (0.2.0)
This is the table I am printing on the console by using System.out.println(tableString);

This is what I got in the HTML report when I use Gauge.writeMessage(tableString);

Closing this as an old issue. However, any PR's to fix this will be merged.


Plot in Lecture Job Search I: The McCall Search Model

I believe there could be an error on the first graph of the Lecture; the current plot might not be showing the true distribution of wages that the model is using.
When we later compute the expectation of the distribution we obtain a value of 43.33, yet the current (symmetric) plot would indicate the expected wage should be around 35. I believe the following alternative plot represents the true wage distribution the model is actually using.
using InstantiateFromURL
github_project("QuantEcon/quantecon-notebooks-julia", version = "0.4.0")
using Distributions, Expectations, StatsPlots
n = 50
dist = BetaBinomial(n, 200, 100) # probability distribution
@show support(dist)
w = range(10.0, 60.0, length = n+1) # linearly space wages
plt = plot(w,pdf.(dist, support(dist)), xlabel = "wages", ylabel = "probabilities", legend = false)

There might be something regarding the distribution that I do not understand, I am only concerned about the correspondence between the expectation I would expect from the graph and that which I later compute with the expectation operator.

@TAGElena Thanks so much.  We will analyze.  @arnavs  Can you investigate?

Thanks @TAGElena for the good catch. We definitely need to make this clearer.
The difference is because the support of the wage distribution is [10, 60], but the support object spit back by Julia (which is what gets plotted, etc.) is a vector of indices. That is:
julia> support(dist)
0:50

I will update the plotting code to what you describe here. And that should make the plot match reality.


adoptopenjdk-bin, zulu8, zulu, graalvm8-ce, graalvm11-ce: remove demo, sample, and broken man pages

Motivation for this change
See: #106716.
Note that AdoptOpenJDK doesn't have demo.
Things done

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

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

/rebase-staging


Music does not play on latest indev

Some time after Commit https://github.com/hydrabolt/discord.js/commit/538df5f76b7022cf2fa49f3a478f1be16ef67411 my music bot stops making sound. eg, it fails at playing music silently.
I am playing music using ytdl to play a stream. testing on debian with FFMPEG I compiled around January or so, it was latest at the time..

Just a little note, playing music is still working in https://github.com/hydrabolt/discord.js/commit/7ec859d5a16adda994c4855d3481a58234359381, I believe if anything it's commit https://github.com/hydrabolt/discord.js/commit/4e58de8cd6547bc205cce3d81744edbd9935dd11 that breaks it.

I'm already aware of the error. It has been reported before you submitted the issue.

Someone said ef679e8 worked


spaceline helm and info mode change modeline height

  (spaceline-helm-mode +1)
  (spaceline-info-mode +1)

Provide a custom modeline to display various information when using helm or info.
The modeline actually reduces its height using these modes. Also, separators seem mandatory for it to display nicely.

Hey @jwintz, sorry for the late reply... I've been busy moving Jobs.
I thought I'd already done an info mode line? But I guess not! Yeah they're good ideas, although I don't use Helm so I wouldn't have the foggiest on how it should behave/what it should look like.
Any details/PRs would be great!
And have a look at these themes on how to handle new mode lines if you're interested 😬

Sorry for the late response.
I'll dig into this and try a PR if I get something reasonable.
Hope your new job is funny and right.


Update state properly when options are loaded async

The directive does not work properly if the options are loaded async but the model is already set. This is due to these lines which always create an initial entry in selectize.
  if( !angular.equals(selectize.items, scope.ngModel) ){
    selectize.addOption(generateOptions(scope.ngModel))
    selectize.setValue(scope.ngModel)
  }

I'm not sure what the purpose of those lines are (selectize.items is an Array so won't be equal to the model) but I've left them as they are.
What's more this entry is always wrong since the label field will default to the value.
When the options are finally loaded they are added to addOption but the initially created option remains and is always on top. The correct value with a proper label field is not added since there already exists an option with that value (the one created above).
My update fixes this by first clearing all the old options (in my case only the initial faulty one), then adds the new options, and then sets the value to the model again. Now the correct option is added properly, has the intended label and is also positioned properly in the list.

Just realized that this is a duplicate of the already existing PR https://github.com/machineboy2045/angular-selectize/pull/28

Fixed in latest release


[BUG] Error while inserting custom plugin

Describe the bug
When I try to add custom plugin used inside the admin panel It throws Fatal error. I have the files in place also when I take the files array  of custom plugin and put it inside any other plugin's files array it works. Right now I am running it like that. Please help me solve this issue.
Steps To Reproduce
Steps to reproduce the behavior:

Go to 'config/adminlte.php'
Try adding
'CustomPlugin' => [
'active' = true,
'files' =>[
[
'type' => 'js',
'asset' => true,
'location' => 'assets/js/custom.js',
],
[
'type' => 'css',
'asset' => true,
'location' => 'assets/css/custom.css',
],
],
]
Save and Run

Expected behavior
It should have added those files into my blade pages.
Screenshots

Environment

Item
Version

Laravel
10

Project
Inventory

OS
Windows 11

@sagarsutar007 You have mistyped 'active' = true, instead of  'active' => true,. Maybe that's the reason of your error.

Thanks for the solutions @dfsmania. That was the issue. Totally missed it.


feat(badge): DLT-1907 remove ai logomark for type ai

feat(badge): DLT-1907 remove ai logomark for type ai

Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change

These types will increment the version number on release:

[ ] Fix
[x] Feature
[ ] Performance Improvement
[ ] Refactor

:book: Jira Ticket
DLT-1907

:book: Description
Updates badge do that it doesn't add the dialpad-ai icon by default when the type is ai. We are looking to stop using this icon for Ai.
:pencil: Checklist

For all PRs:

[x] I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
[x] I have reviewed my changes.
[x] I have added all relevant documentation.
[x] I have considered the performance impact of my change.

For all Vue changes:

[x] I have added / updated unit tests.
[x] I have made my changes in Vue 2 and Vue 3. Note: you may sync your changes from Vue 2 to Vue 3 (or vice versa) using the ./scripts/dialtone-vue-sync.sh script. Read docs here: Dialtone Vue Sync Script
[x] I have validated components with a screen reader.
[x] I have validated components keyboard navigation.

:crystal_ball: Next Steps
Let QA know about this breaking change.
Relabel the badges that use type ai in the Dialpad app.

:camera: Screenshots / GIFs
Before

After

:link: Sources

Let QA know about this breaking change.
Relabel the badges that use type ai in the Dialpad app.

Should Jira issues be logged for this?


APP_TRACKING_TRANSPARENCY is constantly unavailable, even on device

I have installed the relevant pods, I have the latest version of React Native Permissions, and I am trying the following code:
    let permission;
    if(Platform.OS === "ios") {
    permission = await request(PERMISSIONS.IOS.APP_TRACKING_TRANSPARENCY);
    }
    console.log("IOS PERMS");
    console.log(permission);

I have also created this in my info.plist:
  <key>NSUserTrackingUsageDescription</key>
  <string>App would like to access IDFA for tracking purpose</string>

I get:
"unavailable"
Are there any other steps that need to happen here, or is this a bug?

@haveamission Did you checked https://github.com/zoontek/react-native-permissions/issues/541#issuecomment-731221451 ?

@zoontek Yeah, I checked that setting and it is enabled on my phone

Could you fill the rest of the issue template ? I need more infos (device, iOS version, etc). Thanks!

@zoontek Here you go:
Summary
I try to request the App Tracking Transparency, and get unavailable
Environment info
react-native info output:
System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 598.84 MB / 16.00 GB
    Shell: 5.7.1 - /usr/local/bin/zsh
  Binaries:
    Node: 14.6.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.6 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.8 - /usr/bin/javac
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 3.0.1
Steps to reproduce
Run this function from my app login page:
  async requestPermission() {
    let permission;
    if(Platform.OS === "ios") {
    permission = await request(PERMISSIONS.IOS.APP_TRACKING_TRANSPARENCY);
    }
    console.log("iOS PERMS");
    console.log(permission);
    return permission;
  }

I get:
iOS PERMS
unavailable

Describe what you expected to happen:
I get a prompt for app tracking

Could any library be causing a conflict here? I have Appsflyer installed as well

@haveamission Could you reproduce it with the app from the /example directory?

I tried the example app on my iPhone (running 14.4.1), with the "Allow Apps to Request to Track" setting enabled and at first launch the APP_TRACKING_TRANSPARENCY permission is set to blocked and cannot be pressed.
There is also no individual setting for allowing tracking in the app's own settings themselves.

However, does work on the simulator for me.

I'd go as far as to say that with the differing experiences I'm reading around the web on this, it's not worth testing for ATT on a device less than 14.5 -- we'll just do the upgrade to the beta.

iOS 14.5 is out, ATT should works now

Let's hope. After upgrading to 14.5 betas we still have testers having issues with getting the dialogue to show up. Sometimes the check box to allow apps to track is greyed out. Some devices are ok, others aren't.
All in all, it's a bit of a dogs breakfast, but we're proceeding with a view that the devices it does pass testing on will represent all devices at some point.

It might happen because those users don't allow apps to track them? https://stackoverflow.com/questions/62817164/idfa-ios14-returns-denied-without-displaying-auth-popup/62840480#62840480
It this switch is off, the request popup won't show up.

I'm having the same issue on iOS 14.3, and the tracking switch is ON in my device.

We've already covered that one @zoontek, it seems like the problem surfaces in two main symptoms.

Even though allow to track is enabled, the device doesn't respond to ATT requests (i.e blocked)
The allow to track switch in settings is often greyed out, requires sign in and out of iCloud to reenable.

Maybe there's others I haven't seen yet.

I'm seeing this as well. Looks like it's a common issue: https://developer.apple.com/forums/thread/673760?page=2

Unfortunately I don't think this is an issue with the react-native-permissions, but more with iOS / the SDK. Could you all try with iOS 14.5 + the latest Xcode version?

Hello, have you changed de podfile?
Is need add this line on pod file: pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
As is showed on documentation here: https://www.npmjs.com/package/react-native-permissions#ios
After that you need build again and done :)

Hello, have you changed de podfile?
Is needed to add this line on pod file: pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
As is showed on documentation here: https://www.npmjs.com/package/react-native-permissions#ios
After that you need build again and done :)

At least worked fine on simulator.

Isn't this only triggered on iOS 14.5?

Is this still happening for you on iOS > 14.5?

It's still happening, on a simulator (iPhone 12 iOS 14.5) and a physical device (iPhone XS iOS 14.6).
I installed react-native-tracking-transparency and it worked directly on both !
So it's probably related to the package.

I am requesting for app tracking transparency permission on button click only if user is of iOS version 14.5 and above. this feature was working as expected for me, till iOS version 15.0.0
but as of 15.0.1 when checking for permission APP_TRACKING_TRANSPARENCY it gives me result as UNAVAILABLE
am using
Xcode 12.5.1,
react-native : 0.64.1,
"react": "16.13.1",
"react-native-permissions": "^3.0.5"

@anishsundarjee https://github.com/zoontek/react-native-permissions/issues/648

Worth noting that this request fails if you don't make sure the application's state is "active" and if it is "backgrounded" or "inactive" it can return unavailable and then never be presented again.
To make sure the call gets made for the first time in the "active" state, wrap the request in a listener for state change like so:

const handleAppStateChange = async (nextAppState) => {
    if (nextAppState == 'active') {
      request(PERMISSIONS.IOS.APP_TRACKING_TRANSPARENCY)
        .then(async (result) => {
          if (result == RESULTS.GRANTED) {
            // send some kind of tracking analytics
          } else {
           // Not allowed to send tracking analytics
          }
        })
        .catch((error) => {
          console.log('error in request tracking permissions: ', error);
        });
    }

@ShepSims Not needed anymore since 3.7.1: https://github.com/zoontek/react-native-permissions/releases/tag/3.7.1


Open requests dont appear in section when log in as a Volunteer

Describe the bug
When a "Person in needs" create a request nearby, the "Volunteer" will see it on the map, but it will not appear if he checks from the "Open Requests" tab
To Reproduce
Steps to reproduce the behaviour:

Go to 'https://reach4help-staging-web-client.firebaseapp.com/requests/find' with 2 different user; one Volunteer and one Person in Needs
Have the Person in Needs create a request
After it's done, have the Volunteer refresh his page
The Volunteer will see the request on the Map

Open the "Open Requests" section

Expected behavior
The Volunteer will see 0 request, even though he was able to see it on the map
Desktop (please complete the following information):
Build 1

OS: Windows 10 Pro
Browser Chrome
Version  83.0.4103.97

ZenHub Information
This information is updated automatically. To modify it, please use ZenHub.

so according to the UX that was explained, the open requests to a CAV would be those requests to which the CAV has responded to by making offers but the PIN hasn't yet responded by accepting the offers.

As @ashwinkjoseph, "Open Requests" aren't ones available near you, they're ones that you offered help for but you haven't been accepted/rejected yet. As of now, we've implemented a list-view of nearby requests similar to what this issue is referring to.

Closing for now, but reopen if necessary.


Placeholder should have an alt attribute

Fixes #90 :smile:
cc @bluebill1049

thank you very much. my hands are tied with another OSS right now. much appreciated your help.


no snippet with that name

Hi,
I just got started with joereynolds/vim-minisnip and a decent set of snips from  @Gavinok's dotfiles .
It's a wonderful plugin, elegantly simple and doesn't get in my way.
Then I found miniSnip. I would much rather build my snips collection for this modern version. So I am giving it a try.
I installed it with  Plug 'Jorengarenar/miniSnip'  and configured as follows:
let g:miniSnip_trigger = '<C-g>'
let g:miniSnip_dirs = [  '~/.vim/miniSnip' ]

Per the readme, I created a file foo.snip and placed it in  ~/.vim/miniSnip/all.
When I type foo and then hit <C-g>, I get the error message miniSnip: no snippet with that name.  I am totally not a vimscript coder, but from looking at the miniSnip#trigger() function, it's pretty clear (I think) that it doesn't matter what is in the file: if it is not found, it isn't parsed.
I cannot figure out what I've done wrong -- I must be missing something simple.
Also, a question. Once I resolve the snip loading issue, the snips I have are for the joereynolds version and therefore  have a different syntax from miniSnips. Is miniSnips backwards compatible?
If it is not, and assuming all else is tests well with miniSnip, I will likely convert the older snips to the new syntax. Seems like a small collection like this would make a good addition to miniSnip -- I would be happy to do a pull request if it sounds like such a thing would be useful.
Many thanks for your work on this plugin!
--Phil

Thanks for the report, should be working now.
By the way, if you are using ~/.vim/miniSnip, the plugin ought to look there automatically if g:miniSnip_dirs is empty, so there's no need to set it.

Is miniSnips backwards compatible?

It's not out of the box, but I made it quite configurable, so for very basic snippets it's theoretically possible to configure it roughly to match the old syntax. Although I never tried to and I suspect rewriting snippet would be easier.

Seems like a small collection like this would make a good addition to miniSnip -- I would be happy to do a pull request if it sounds like such a thing would be useful.

I'm more than happy to put a link to such collection into README like other snippet plugins do, but shipping them by default would be not a good idea since users (including me) would often prefer having their own (and not worrying about overlaps).

Thanks so much for the quick turnaround -- that merge fixed the problem!
I see what you mean about backwards compatibility -- it's rather trivial to convert to the new syntax.
That's the good news.
The bad news is this:
   E117: Unknown function: miniSnip#trigger

The error occurs, of course, when I  try to complete a snip name with C-g (my mapping for miniSnip_trigger). This error happens only on macos (Ventura 13.2.1). On arch and manjaro,  miniSnip with my revised snips work perfectly fine (although it is a bit slower than vim-minisnips classic).
I am installing as follows:
  Plug 'Jorengarenar/miniSnip'

I suspect the problem has something to with the mixed-case name of miniSnip. In its typical configuration, macos preserves case, but it does not differentiate a mixed case from all lower case file name. I don't know enough about how vim plugins are structured to explain the precise mechanism for the failure to find the function, but given that it works fine on a normal linux distro I cannot think of another explanation.
Incidentally, to avoid this problem for my snipit files, I have the location as follows:
  let g:miniSnip_dirs = [  '~/.vim/minisnip_modern' ]

The reason I had set the value to the default location in my original post of the issue was because i had been experimenting with this kind of thing because of the potential for issues with mixed case.
Does this explanation sound all plausible?  Have you run into it before with macos (of course I searched the issues but nothing jumped out at me). Does a workaround come to mind?
Many thanks!
--Phil

Interesting, could you please submit a issue for this too?


Push_to_hub in a pull request

Right now ds.push_to_hub() can push a dataset on main or on a new branch with branch=, but there is no way to open a pull request. Even passing branch=refs/pr/x doesn't seem to work: it tries to create a branch with that name
cc @nateraw
It should be possible to tweak the use of huggingface_hub in push_to_hub to make it open a PR or push to an existing PR

Assigned to myself and will get to it in the next week, but if someone finds this issue annoying and wants to submit a PR before I do, just ping me here and I'll reassign :).


[v2.1] Unable to build Zephyr 2.1 for Upsquared board running ACRN

Hi
We cannot build Zephyr 2.1 for ACRN because we get errors related to CTF. We want to get the CTF output over UART but this does not seem to be an option for this version of Zephyr as it seems that POSIX is the only way.  We want to try this version because we noticed that whenever we ran Zephyr version 2.2.99 and 2.3 on the board via ACRN we got a 10x slowdown, so a task set to run for 1 tick ran for 10 ticks. This is when running the same settings as we have when we are running Zephyr directly on the board.
Ticks/s = 1000
System clock = 19200000 Hz
We posted about this issue on the ACRN github and they suggested we try running Zephyr 2.1 since that was the only version they have verifed.
We took our ctf_functions and just copied them over from the newer version of Zephyr to the older one as the interface for those looked the same. And we only added the changes we have made and not changed the files in any other way.
The errors we got looked like this:
/home/linux/zephyrproject/zephyr/subsys/debug/tracing/ctf/bottoms/posix/ctf_bottom.h:36:17: note: in expansion of macro 'MAP'
   36 |  u8_t epacket[0 MAP(CTF_BOTTOM_INTERNAL_FIELD_SIZE, ##VA_ARGS)];

Which we have no idea what it means or what it want us to change with the implementations.
Here is the link to our issue on the ACRN gituhb: https://github.com/projectacrn/acrn-hypervisor/issues/5008

this is not a bug, you are trying to port a new feature into an older code base, so this is not a bug in zephyr.


Modification to physics based layouter

I notice that your repulsion force is proportional to 1/Distance. this is causing unconnected nodes to get ejected from a local group quite drastically. I would propose increasing the repulsion coefficent slightly and making the force proportional to 1/Distance^2 (similar to how gravity attracts). you cold then increase the friction component so that nodes slow down faster.

Do you have a set of parameters that you would recommend? I've played around with it a bit, but can't find a setup that works very well. (Nodes still fly off when unconnected) Might be caused by a bug somewhere, since intuitively the friction should stop them sometime, but increasing friction has barely any impact.

Unfortunately I've not been able to compile the code to test (let's not solve that here).
Looking over what you have written I can't see anything obviously wrong. I would set up a very simple simulation with 2 unconnected nodes (one fixed position) and see at what distance friction overcomes reupulsion. It may be necessary to have repulsion fall off more rapidly, which will require smaller spring constant once connected.

I've finally managed to find some time to take a look at this and to get it working.
I have a couple of proposed changes (locally) but I'm not quite sure how to create a pull request for it. Is this a setting on your end or am I doing something wrong my end I wonder.
In brief:

I've changed the Repulsion section to be based on an inverse gravity model (F=Gm1m2/r^2)
There was a small bug in the friction section which was causing nodes to never stop moving (Friction was being set to the minimum of the Kinetic and the Repulsion+Spring values). Presumably this was to stop the Friction component from making the node move in the opposite direction?
Removed the FrictionVector normalisation. Now the friction is proportional to the nodes velocity such that very fast nodes slow down and very slow nodes don't suddenly change direction (see 2. above)

I fixed item 2 in commit aa35e0b, thanks for that. The other two suggestions seem to produce unstable results for me, for example when piling nodes on top of eachother. However, in my limited testing it seems like it already works pretty good by just fixing the friction?

Fix worked to an extent for me. Now nodes don't ping off into the distance. However, nodes do now 'jitter' when the friction force is larger than the repulsion force and the node is nearly at rest. I.e. the friction component is causing a node to accelerate in the opposite direction. I would still reccomend removing the normalisation so that very slow moving nodes don't suddenly change direction due to friction forces alone.


Write a R program to print ascii value of a character

Description
Write a R program to print ascii value of a character
ASCII value is the numeric representation of a character. For example, the ASCII value of the character 'A' is 65. The ASCII value of the character 'a' is 97. The ASCII value of the character '0' is 48. The ASCII value of the character ' ' is 32.
Input  : A
Output : 65

How to contribute

Save the solution in program/print_ascii_value_of_a_character.r file
Add print_ascii_value_of_a_character.r file in print-ascii-value-of-a-character folder

!assign


Add H264 hardware decoding for Marvell chips

🎯 Goal
Add support for H264 hardware decoding on Bouygues Telecom's AndroidTV boxes relying on Marvell chips.
🛠 Implementation details

Add MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Flexible to MediaCodecUtils.DECODER_COLOR_FORMATS
Claim MediaCodecVideoDecoderFactory.isH264HighProfileSupported() returns true for Marvell chips

✍ Explain examples
Sorry, example code is proprietary.
Preparing a pull request for review
spotlessApply is OK

Sorry for the late response on this PR - we are looking into reviewing and merging it soon.

Hello @kanat
When branch patch/m114 will be merged to main ?
KR


Bug 1764461: cve-2019-10432: Stored xss vulnerability

/bugzilla refresh

/lgtm

Release asked through
https://jira.coreos.com/browse/ART-1299


Additional case for 1921 issue

ATF Test Scripts to check #FORDTCN-11966
This PR is ready for internal review
Summary
Added case with empty array after unknown parameter
ATF version
develop
Changelog

updated script for 1921 issue

CLA

[x] I have signed the CLA

@VjKlepikov, please review

moved to open


Add missing APIs to GradleEnterpriseApi

The beta ProjectsApi (added in 2023.3) and TestsApi (added in 2023.4) weren't accessible from GradleEnterpriseApi. Fix and an integration test to prevent it from happening again.

#174


Transactions fail sending a token

Issue Impact: Minor Issue
Device Manufacturer: Samsung
Device Model: Galaxi S20+ 5G
Divice OS: Android
Device OS Version: 11
Application Version: 3.1
What Happend? When sending a token I got a fail
What Did You Expect To Happen: I could send the token
Steps to Recreate Issue: filling in the send in form and press send, confirm
Did send 3 tokens after that and all went well.

Transaction fail 7-6-21.txt

Duplicate of #247


feat: implement patch for updating importer configurations

Closes: https://github.com/trustification/trustify/issues/747
Now I do know that the dependency json-merge-patch = "0.0.1" might trigger some discussion. However, it looks simple enough, well tested, and not too old. It just works, what else is required.
Also, the amount of code is pretty small. Does it make sense to re-write that from scratch? I think that would add more bugs. Can't we just copy over the code? Sure, the question is, why not try to properly consume that dependency first. It's so small, forking it will still be an option in the future.
It's released on crates.io, it seems to work, it has tests. I think we should give it a try. Unless anyone known a better implementation.

Why do we need this?

Because it makes life easier updating just a single field in the configuration.

we do like PATCH


how can we just convert streamz.dataframe into a normal dataframe?

i have this sdf
from streamz import Stream

source = Stream.filenames('~/jupyter/streams/csv/*.csv', poll_interval=0.1)
source.start()
example = pd.DataFrame({'cnt': [], 'word': []})
sdf = source.map(pd.read_csv).to_dataframe(example=example)
sdf

I just want to visualize it normally like I can do for a normal pandaz dataframe.
Any help for visualizing the above sdf(example below) into a bar graph will be immensely helpful
|cnt|word|
+---+----+
|  3|   9|
|  1|   1|
|  1|   5|
|  3|   7|
|  3|  10|
|  3|   6|
|  2|   4|
|  2|   8|
+---+----+

My sense is that this would make more sense after we added support for stop
or end-of-stream signals.  I'm not sure how to accomplish this cleanly
before then.
On Tue, Jun 5, 2018 at 3:32 AM, fs-rd-anish-dey<EMAIL_ADDRESS>wrote:

i have this sdf
from streamz import Stream
source = Stream.filenames('~/jupyter/streams/csv/*.csv', poll_interval=0.1)
source.start()
example = pd.DataFrame({'cnt': [], 'word': []})
sdf = source.map(pd.read_csv).to_dataframe(example=example)
sdf
I just want to visualize it normally like I can do for a normal pandaz
dataframe.
Any help for visualizing the above sdf(example below) into a bar graph
will be immensely helpful
|cnt|word|
+---+----+
|  3|   9|
|  1|   1|
|  1|   5|
|  3|   7|
|  3|  10|
|  3|   6|
|  2|   4|
|  2|   8|
+---+----+
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mrocklin/streamz/issues/183, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszGFkZAVeJabEHYHNlIAECJ5JwduMks5t5jPxgaJpZM4UaSyY
.

Could we have a crude end-of-stream via a collect?


Add Audio Only support

Like if I want to only hear the audio and not view the video.
Either you can add this functionality or tell me how to add it manually by integrating a button in the UI of video player or in the expanded menu of the video player.

Need a lot of work to support this feature.


Creating Custom Share View using Javascript

Hi,
I just wonder isn't there any better and easier way to create custom share view using jsx ?
I just want to popup my own thing when i hit my app's icon from the share menu but it only shows a texf input and post button

Follow this then you have it, https://github.com/meedan/react-native-share-menu/blob/master/SHARE_EXTENSION_VIEW.md


Tell Heroku to serve static files

By default, Rails 4 will not serve your assets:
https://devcenter.heroku.com/articles/rails-4-asset-pipeline#serve-assets
We use an environment variable to tell Rails to serve static files:
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?

..but we were not automatically setting that environment variable on Heroku.
Now we are.

Looks good to merge pending CI.

:+1:


Error installing package on Laravel Framework 8.45.1

An error occurs while installing the package
In BotsManager.php line 29:

  Argument 1 passed to Telegram\Bot\BotsManager::__construct() must be of the type array, null given, called in /var/www/...../vendor/irazasye
  d/telegram-bot-sdk/src/Laravel/TelegramServiceProvider.php on line 58

It was possible to install the package by correcting the line in file # 58
vendor/irazasyed/telegram-bot-sdk/src/Laravel/TelegramServiceProvider.php
from
return (new BotsManager(config('telegram')))->setContainer($app);
on the
return (new BotsManager(config('telegram',[])))->setContainer($app);

It's fixed on a fork: https://github.com/koot-labs/telegram-bot-dialogs (more stable, better docs, actively maintained)


dockerTools: fixup evaluation without allowed aliases

This is a regression from PR #172736

The name was even unused in the file, so I just checked that nixosTests.oci-containers.podman evals again.


Add a pipeline status badge

Description of the new feature/enhancement
As a manifest submitter, I would like to see a pipeline status badge so I am informed about the status of the validation and publishing pipelines
Proposed technical implementation details (optional)
Add a status badge for the validation and publishing pipelines to the README.md and the PR template so users can be informed.

[...]
Add a status badge for the validation and publishing pipelines to the README.md and the PR template so users can be informed.

@denelon As you mentioned "the PR template", can't we directly integrate into PULL_REQUEST_TEMPLATE.md and remove the additional comment posted by @wingetbot?

@vedantmgoyal2009 due to the way some of the pipelines work, we needed to do it in a comment after the PR is initiated so we get the right pipeline execution instance.

@denelon Okay 👍


Avoid KeyError: 'PATH_INFO' errors

I use bottle often and in many of the applications I get frequent tracebacks:
Traceback (most recent call last):
  File "/src/pvoproxy/venv/lib/python3.11/site-packages/bottle.py", line 863, in _handle
     path = environ['bottle.raw_path'] = environ['PATH_INFO']
                                         ~~~~~~~^^^^^^^^^^^^^
KeyError: 'PATH_INFO'

This PR fixes that.

PATH_INFO is a required field in WSGI environments. It can be empty, but if it's actually missing, then that's a bug in the WSGI server you are using.


Are large slews associated with EFFTIME discrepancies across tiles

In Issue #226 we started tracking the relationship between large slews and strong EFFTIME patterns across petals. As one example of the pattern, from that issue:

I'm leaving this issue open so we can track if there are other cases, and discuss how better to distinguish/diagnose them.

I think this is a similar example of a strong EFFTIME pattern across petals after a large slew. This is tile 1951 observed on 20241109

Anand reported yet another case of the large-slew-affect here:
https://desisurvey.slack.com/archives/C01HNN87Y7J/p1732126974253839
for tile 23487:

Adding another example from 20241204, Tile 9731

This is another example of the same kind of situation we've seen for a while; you can see a selection of other cases earlier in the github ticket thread.  We don't understand it well.  In this case it was expid 269082.  It's not always petal 1; often it looks to me like a gradient across the focal plane (in this case, less light in P123, more in P678).  But it is not terribly clear cut.

Interesting – 269082 is the first exposure after a Loops sequence  - this is the one we run during the caravan.. Unfortunately, this ran at the -38 dec position. Would have saved us 3-4 minute slew time if we had moved to the new field during this time. But that’s besides your point.
This is the FOCUS plot for this time:
@.***
269082 started at ~3:14
We got a first update in focus position at 3:15 but that’s just the change from the look up table due to the new pointing position.
The first autofocus update doesn’t happen until 3:19 and the focus was changed at 3:23
The exposure was split at 3:33 but unfortunately the split failed (I assume because of an offset violation but I haven’t verified this yet with the logs.)
So about half of 269082 was taken with the system out of focus by about 100 microns
Is that enough to explain your drop in efficiency?
One take away for me is that we should be running the focus loop and not just the sky loop during the caravan time to keep auto focus locked in better (again, I think it was a coincidence that the long slew happened after the caravan.)
Cheers,
Klaus
From: Eddie Schlafly @.>
Date: Friday, December 20, 2024 at 12:02 PM
To: desihub/desisurveyops @.>
Cc: Honscheid, Klaus @.>, Comment @.>
Subject: Re: [desihub/desisurveyops] Are large slews associated with EFFTIME discrepancies across tiles (Issue #247)
This is another example of the same kind of situation we've seen for a while; you can see a selection of other cases earlier in the github ticket thread. We don't understand it well. In this case it was expid 269082. It's not always petal 1;
This is another example of the same kind of situation we've seen for a while; you can see a selection of other cases earlier in the github ticket thread. We don't understand it well. In this case it was expid 269082. It's not always petal 1; often it looks to me like a gradient across the focal plane (in this case, less light in P123, more in P678). But it is not terribly clear cut.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/desihub/desisurveyops/issues/247*issuecomment-2557392713__;Iw!!KGKeukY!2FQQY25rHM_KftpIW9hUIUmHn7_2koXMyhWwjwpO-IR1tm2FbfCrJib7ckP35L0D5nxQBezDGtjV0X0a9_Z8JdTW_Q$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABQ5P65YQJAT5BDKHKUFOS32GRES3AVCNFSM6AAAAABRMPVVF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJXGM4TENZRGM__;!!KGKeukY!2FQQY25rHM_KftpIW9hUIUmHn7_2koXMyhWwjwpO-IR1tm2FbfCrJib7ckP35L0D5nxQBezDGtjV0X0a9_ZgoZowfw$.
You are receiving this because you commented.Message ID: @.***>


Entries in CMIP6_CV are exceeding CMOR's max string length.

@durack1 Changes from https://github.com/PCMDI/cmip6-cmor-tables/commit/0dcdff13d36014ba409c3fb9833f89efa9a0d162 are causing the CircleCI tests to fail.  This is due to the length of source attribute in E3SM-1-1 and E3SM-1-1-ECA exceeding the maximum string length in CMOR of 1024.
https://github.com/PCMDI/cmip6-cmor-tables/blob/0dcdff13d36014ba409c3fb9833f89efa9a0d162/Tables/CMIP6_CV.json#L743-L770
We will either need to trim those strings down to 1024 characters, or increase the maximum length of strings in CMOR.  The latter is the best solution in the long term.  I will bring this up in https://github.com/PCMDI/cmor/issues/530

I am getting PrePARE falling over with a buffer overflow detected by glibc inside _cmip6_cv.so (specifically inside cmor_CV_set_att) if the CV file is from commit 0dcdff1 or later. This occurs with both 3.4.0 and 3.5.0.  I assume that it is the same underlying issue.

This issue has been fixed with the latest changes to CMIP6_CV.json.

@mauzey1 is there any plan to increase the 1024 char limit or even better, allow this to be dynamically allocated?

@durack1 Ideally, strings would be variable length like in C++ or Python.  In C, we would need to allocate and free char arrays as well as store the lengths of all string attributes.  This would make CMOR more flexible with string lengths but would mean a lot of changes for the code.

@mauzey1 if you had a v3.6 project in mind to clear up all remaining issues, what kind of time commitment would you estimate? I consider this particular issue a key one to solve in a more dynamic way so that future edits to tables and content don't trigger segfaults

Would the "variable length" strings work in Fortran too?  The other option would be to define a few different string lengths (say 16, 64, 256, 1024, 4096), and then assign each string one of these lengths.


where to put my custom txt file in dir to get key phrases extracted without getting confused

I have tried it works completely fine at least mention where the resulting file will be generated and what should be its type.
by looking at your code it seems it requires JSON format files where sentences should already be made.
but if you have other features like taking raw text and generate the key phrases from them. Then pls mention it will be a lot helpful and easy to go through the process.

Hi,
Thank you for the suggestions! The current repo is for experimental reproduction to make people one click away from reproducing the results in the paper. For now you may need to preprocess pure text file into the current format in the data folder to get the extracted phrases. We are recently occupied and will try to find time to clean a plug-and-use version with pretrained checkpoints.

@xgeric hi! I didn't get where I can find the extracted phrases? In which folder are they?

@benzom you can refer to this UCPhrase-exp/data/kpTimes/config.json for a better understanding.

@Tanupvats thank you for the answer! Another question is which script should I run to get predictions on custom documents with your model's weights? Evaluation from src requires labeled data, which I don't have

@benzom I am pretty much sure that you need to run the exp.py [the same is mentioned in the readme file] and from config.json you can provide the path of your custom documents, one thing more your documents should have the same pattern as theirs and the file should be a JSON file.
my suggestion would be to run the project as it is and try to explore the code that how files are getting used and what is the content of those files.


logbook-spring-boot-starter missing in maven-central

Missing artifact here: http://repo1.maven.org/maven2/org/zalando/
Can you please deploy it there?

The current master is not (yet) deployed to central. We are currently working on two pull-requests and the (my) idea was to finish them first. If you can't wait that long, I'd suggest you deploy the current master to your local repo and check if it would suit your needs. I'd deploy it to central then.

ok, thanks.


ruamel.yaml loading quirks

I have a YAML dump of a class, which is missing certain fields because it was dumped based on an old version of that class:
!Command &id001
command:
  - samtools

@yaml_object(yaml)
@attr.s(auto_attribs=True)
class Command:
    command: typing.List[str]
    docker_image: typing.Optional[str] = None

When you load YAML using ruamel.yaml, it chooses between two code paths: https://github.com/pycontribs/ruyaml/blob/71b30f6e837781969ba9732a6f80d5fd359db507/lib/ruyaml/constructor.py#L723-L728.
By default, we don't have __setstate__ defined, so ruamel first creates an instance of the class using __new__() (at this point all the class fields are set to NOTHING), then tries to data.__dict__.update(). However, since the YAML state is actually incomplete (it's missing the field docker_image), the missing field gets deleted from the attrs class, and trying to access it causes an error.
If, on the other hand, I getstate_setstate=True, then it gets even worse, because the resulting class now has the field values set to the field names in a very weird and confusing way.
I feel like both of these behaviours are bugs, but the most important one is that a __dict__.update() can delete fields, instead of just setting them to their default. This is a breaking change with dataclasses, which I originally used, and passed my unit test. It was only after porting to attr that the missing field error started happening.

Hello. Unfortunately, I don't have any good solution for the problem, but I would like to clarify two points here:

creates an instance of the class using new() (at this point all the class fields are set to NOTHING),

the most important one is that a dict.update() can delete fields, instead of just setting them to their default

What actually happens here is:

__new__  creating an empty instance (without any fields set)
__repr__ does getattr(self, attrib_name, NOTHING) for all the fields. As all fields are missing -
__dict__.update() updates instance dict (it has nothing to do).

In [1]: import typing, attr

In [2]:
   ...: @attr.s(auto_attribs=True)
   ...: class Command:
   ...:     command: typing.List[str]
   ...:     docker_image: typing.Optional[str] = None
   ...:

In [3]: c = Command.__new__(Command)

In [4]: c
Out[4]: Command(command=NOTHING, docker_image=NOTHING)

In [5]: c.command
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-69efc766ad27> in <module>
----> 1 c.command

AttributeError: 'Command' object has no attribute 'command'

For dataclasses this works, because the generated class has classvar equal to default:
In [6]: from dataclasses import dataclass

In [7]: @dataclass
   ...: class Command:
   ...:     c: int = 5
   ...:

In [8]: Command.c
Out[8]: 5

Note, that this approach will break as soon as default_factory will be involved:
In [3]: @dataclass
   ...: class C:
   ...:     a: list = field(default_factory=list)
   ...:

In [4]: C.a
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-7cf4d8ab5a46> in <module>
----> 1 C.a

AttributeError: type object 'C' has no attribute 'a'

Seems like this is the principal flaw of ruamel.yaml - it basically ignores the whole __init__ section of the class.

Thanks for your comprehensive answer, I appreciate the clarifications. It does indeed seem like my dataclasses were working by a fluke and I should really have a custom solution for this. On the other hand, I thought that getstate_setstate was the correct way to implement custom object loading, but the autogenerated ones don't seem to work in this situation.

Closing since there doesn't seem to be anything we can really do about this. It might be worth raising with ruamel.yaml tho.

Did you not see my concerns regarding the setstate implementation?


Incremental parsing?

It would be nice if I could create some sort of instance of a parser that would incrementally parse input with ANSI escape sequences as I feed it (from an I/O stream)? This means that it would have to allow a possibility of an unfinished escape sequence being fed to the parser and the parser would not decode it until another feed call feeds it in full. Terminal output is continuous so for long-running programs, it's not necessarily easy to figure out when it's safe to parse the text and you sometimes may want to modify and then propagate this output further, without much delay.
I believe that the built-in codecs.IncrementalDecoder is one example of such parsing/decoding in case this helps.

That's a nice idea and it fits the overall goal of the package. Would you like to do a PR on that?

I don't really know how I would have to approach writing this if I'm being honest and I don't currently have time to dedicate to this. Maybe one day if this isn't picked by you or someone else first but for now I just wanted to make an issue to see if you agree that this could be a good idea.

That's fine. I believe the key to implementing this is to understand this method:
https://github.com/getcuia/stransi/blob/ea603eee473bdf521d1976fc88bcf4959f8a774f/src/stransi/ansi.py#L33-L42
The thing is that isescape(match) (line 39) should return false for incomplete or badly-formed escapes.
There could be some kind of AnsiStream object that would generalize this, delivering things in chunks as they come in, as suggested. Ansi could be reimplemented as a special case of this.


'#' character in catalog field 773w causes error

https://app.honeybadger.io/projects/54399/faults/36780573
https://catalog.princeton.edu/catalog?utf8=✓&search_field=all_fields&q=2910021
https://catalog-staging.princeton.edu/catalog/2910021
https://bibdata.princeton.edu/bibliographic/2910021
https://github.com/pulibrary/marc_liberation/blob/master/marc_to_solr/lib/traject_config.rb#L534

I cant reproduce this. subfield w was removed from data. closing


[Improve][Connector-V2-kafka] Support for dynamic discover topic & partition in streaming mode

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

close #2958

@Hisoka-X

Retry CI after #3183

Retry CI after #3183 merged

ok

@Carl-Zhou-CN Please resolve conflict. Thanks!

@Hisoka-X @EricJoy2048 Please help to review.


Day 90

Good morning! Here's your coding interview problem for today.
This question was asked by Google.
Given an integer n and a list of integers l, write a function that randomly generates a number from 0 to n-1 that isn't in l (uniform).

Since we can't assume the list of integers is sorted, we have to run in O(N) time. But I will assume the numbers in the list will be distinct.