text:
训练时出现数据读取Nonetype的问题

作者您好，最近在复现您论文中的实验，使用单机单卡环境
python3 -m torch.distributed.launch --nproc_per_node=1 train.py --world_size=1
训练到第5个epoch时，出现img0为NoneType的问题，描述如下
epoch:4 3203/3207 time:0.00+0.17 loss_l1:1.7116e-01
epoch:4 3204/3207 time:0.00+0.17 loss_l1:1.6030e-01
epoch:4 3205/3207 time:0.00+0.17 loss_l1:1.6328e-01
epoch:4 3206/3207 time:0.00+0.17 loss_l1:1.9180e-01
index : 3782 data is NoneType
Traceback (most recent call last):
File "train.py", line 149, in
train(model, args.local_rank)
File "train.py", line 89, in train
evaluate(model, val_data, step, local_rank, writer_val)
File "train.py", line 100, in evaluate
for i, data in enumerate(val_data):
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 363, in next
data = self._next_data()
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 971, in _next_data
return self._process_data(data)
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1014, in _process_data
data.reraise()
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 4.
Original Traceback (most recent call last):
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop
data = fetcher.fetch(index)
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/lz/anaconda3/envs/RIFE/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/lz/workspace/RIFE/arXiv2020-RIFE/dataset.py", line 79, in getitem
img0 = torch.from_numpy(img0.copy()).permute(2, 0, 1)
AttributeError: 'NoneType' object has no attribute 'copy'
其中加粗行是我加的打印，通过index查找，原始数据是存在的。想请教下解决的思路，万分感谢！

看起来是 evaluate 数据没了，benchmark/Vimeo90K.py 能跑通嘛？

直接跑benchmark/Vimeo90K.py是可以的。
另外，在一开始跑训练时报了两处变量未定义的bug：
1、train方法中"log_path" is not defined
2、evaluate方法中“local_rank”， "writer_val" are not defined
遂在train方法中增加log_path的定义，evaluate方法参数列表中增加local_rank，writer_val变量，想在这里跟您确认下


text:
[enhancement] Start using an actual arg parser for flags

That current flag parsing shit i have is absolutely ugly (in regards of code), so start using an arg parser class for That to fix it. Take inspiration and help from flare's giveaway cog and neuro assassin's targeter

#7 did it within 24 hours woohoo.

source: gharchive/issue

repo: i-am-zaidali/cray-cogs

license: MIT

license_type: permissive

license_source: github-api


text:
Extend code_to_dag so it's not senstitive to indentation

This works:
from meshed.makers import code_to_dag

@code_to_dag
def dag():
    x = mult(w, ww)

assert dag(1,2) == 'mult(w=1, ww=2)'

But this doesn't (but should):
def test_dag_operations():
    from meshed.makers import code_to_dag

    @code_to_dag()
    def dag():
        x = mult(w, ww)

    return dag(1,2)

test_dag_operations()

What I've done in the past for this is to deindent the string before putting in ast.parse, but there must be better ways...

Now using robust_ast_parse instead of ast.parse directly.
def _remove_indentation(src):
    m = re.match('\s+', src)
    if m is not None:
        indent = m.group(0)
        indent_length = len(indent)

        def gen():
            for line in src.split('\n'):
                if line.startswith(indent):
                    yield line[indent_length:]

        return '\n'.join(gen())
    else:
        raise RuntimeError(f'I found no indent!')

def robust_ast_parse(src):
    try:
        return ast.parse(src)
    except IndentationError:
        return _robust_ast_parse(_remove_indentation(src))


text:
Loading bar

Show loading bar or hourglass so users are aware that work is going on and wait for a response.

Done.


text:
Cannot rebuild Settings.apk from DOOGEE Stock ROM

Cannot rebuild Settings.apk from DOOGEE Stock ROM.
Information

Apktool Version 2.1.1 from iBotPeaches/Apktool
Windows 10
Stock ROM from this device: http://www.everbuying.net/product1084654.html?gclid=Cj0KEQjw9tW5BRDk29KDnqWu4fMBEiQAKj7spwjGwG8tXx3HU7SBLvDN2EFMyb_2Oy-Jet8X7moK3NAaAi788P8HAQ

stacktrace:
W: D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\res\values\public.xml:102: error: Public symbol drawable/preference_highlight declared here is not defined.
Exception in thread "main" W: D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\res\values\public.xml:58: error: Public symbol drawable/preview declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\JOSMAU~1\AppData\Local\Temp\brut_util_Jar_8360466780133675605.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1458122746, -F, C:\Users\JOSMAU~1\AppData\Local\Temp\APKTOOL7122069834414303805.tmp, -0, arsc, -0, arsc, -I, C:\Users\José Maurício\apktool\framework\1.apk, -S, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\res, -M, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\JOSMAU~1\AppData\Local\Temp\brut_util_Jar_8360466780133675605.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1458122746, -F, C:\Users\JOSMAU~1\AppData\Local\Temp\APKTOOL7122069834414303805.tmp, -0, arsc, -0, arsc, -I, C:\Users\José Maurício\apktool\framework\1.apk, -S, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\res, -M, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\JOSMAU~1\AppData\Local\Temp\brut_util_Jar_8360466780133675605.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1458122746, -F, C:\Users\JOSMAU~1\AppData\Local\Temp\APKTOOL7122069834414303805.tmp, -0, arsc, -0, arsc, -I, C:\Users\José Maurício\apktool\framework\1.apk, -S, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\res, -M, D:\WORK\shore\Phones\doogee\X5pro\X5pro\Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
Steps to Reproduce
1.install framework: apktool if framework-res.apk
2.install framework:  apktool if mediatek-res.apk
3. decompile apk: apktool d -s -f Settings.apk
4. change apktool.yml to include installed frameworks id's 1 & 8
5. rebuild apk: apktool b Settings
Frameworks and Settings apk
https://mega.nz/#!lFRE0KCI!JRbDVpLuog26JOOxbGPmPXIP5zx4pqosV2FakqzBw0w
apktool.yml:
!!brut.androlib.meta.MetaInfo
apkFileName: Settings.apk
compressionType: false
doNotCompress:

arsc
isFrameworkApk: false
packageInfo:
forcedPackageId: '127'
renameManifestPackage: null
sdkInfo:
minSdkVersion: '22'
targetSdkVersion: '22'
sharedLibrary: false
unknownFiles: {}
usesFramework:
ids:

1
tag: null
version: 2.1.1
versionInfo:
versionCode: '22'
versionName: 5.1-1458122746

W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_0.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_1.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_10.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_11.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_12.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_13.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_14.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_2.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_3.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_4.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_5.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_6.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_7.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_8.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lock_anim_9.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-hdpi-v4/lockscreen_default_preview.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image /home/ibotpeaches/Downloads/Apktool/Bug1245/Settings/res/drawable-xhdpi-v4/setup_illustration_tile.png

Fix these bad images and the rest of the errors should fix themselves.

Wow! that one worked! I picked up all the png files with errors, opened them with Microsoft Paint (photoshop cannot open these corrupted files), did a save as with overwitte of the original and voilá! Now I can compile with no errors!!! Thanks!!! YOu saved my life!!!

authors: iBotPeaches xjpmauricio

repo: iBotPeaches/Apktool

license_source: bigquery


text:
Multi threading data retrieval

i think the tqdm library gives these fancy progress bars but does not clear them up nicely in multi threading mode so it clogs up the entire progress (log section).

@jjkoehorst I think we cannot do much to make the progress bar work flawlessly for multi threaded uploads. But you can switch off the progressbars when working with several threads like this:
import os
os.environ["TQDM_DISABLE"] = "1"

authors: chStaiger jjkoehorst

repo: iBridges-for-iRODS/iBridges


text:
Plugin specific GUI creation (correct amount of rows)

This relies on this to be made first: https://github.com/iGabyTM/GUIHelper/issues/6
Then once you make a new GUI, you can select which plugin you want to make a GUI for, this allows you to set the correct amount of GUI space, for example CrateReloaded only has 4 rows, not 5!

Added on 62a1614c12022e52c8d70f00f705644adc5d2bc8

authors: TomLewis iGabyTM

repo: iGabyTM/GUIHelper


text:
🛑 OBEC Academy is down

In 7f81df3, OBEC Academy (https://dlp.obec.go.th) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OBEC Academy is back up in 42f4e51.


text:
🛑 OBEC Academy is down

In 22c48d5, OBEC Academy (https://dlp.obec.go.th) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OBEC Academy is back up in 7690b03 after 342 days, 23 hours, 33 minutes.


text:
Implementation for running iLib test case on QML

Implement an iLib nodeunit test run properly on QML.
In order to do that, I had to fix some problem that happened only in QML.
1. Fix qml bug: https://github.com/iLib-js/iLib/commit/a67a16d19dae9fddea4750d6570aa7eb93ac36ca, https://github.com/iLib-js/iLib/commit/941942fec8e2d560f8c926f606f2f525eb434e9d

remove function name manling in uglify.js because of qml compatibility. At Name.js, qml js engine has error because below code structure

 xxx: function e() {
          var e = -1  // conflict with function name and variable name
      }

uglify issue

 a. remove the () from the constructor call
  - before uglify: new ilib.Loader()
  - after uglify: new ilib.Loader

 b. remove the ; from the alone break
  - before uglify: {break;}
  - after uglify: {break}

2. Implement the new version of nodeunit-qml.js library for QML.

The released version of nodeunit library doesn't compatible with QML.(These are for browser and node only)

Invalid write to global property "nodeunit"
ReferenceError: setTimeout is not defined

Also considered to adopt 'webpack' for directly using node version nodeunit, It also has a problem. Because it has a dependency on 'Timer'  (fyi. https://nodejs.org/en/docs/guides/timers-in-node/. https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/ )

3. Implement glue code for running iLib with nodeunit library on QML.

Make simiple version of nodeunit libaray (js/test/nodeunit/nodeunit-qml.js)
Modify some files (qt/NodeunitTst/ runner.js, TestEnvironmenr.qml, TestSuiteModule.js)
Create testSuiteQml.js fille per module. under module test directory.

4. How to Test

Execute ant test.qt.nodeunit in qt directory after a iLib full build.
Tested on Qt 5.6 on Linux 16.04

It looks like It needs more work for Travis qt support.

Please make an md document in docs that describes how to build and test the Qt support and make a link to it from the index.md. I just tried now, and I'm missing some libraries apparently. What do I need to install? Where? How to run it? etc. Thanks!

I agree I need to write documentation. I'll add it.
What kinds of error you've faced?  I've tried another Linux machine.  The only thing you can do is modify qt/build.properties file to indicate proper QT install location. There is no restriction on the QT install location.  Oh, one more, you might need to install few packages below, I added to the description,
sudo apt-get install libnetpbm10-dev
sudo apt-get install libglu1-mesa-dev

Regarding an documentation,  It's already mentioned about QT support to https://github.com/iLib-js/iLib/blob/development/docs/tutorial/modules.md. A usage not changed from the previous one.  and My work is focused on running nodeunit test cases. Do you think I need to update more?

oh, I am glad you checked them finally :)   As far as know, I couldn't find an easy way to terminate qml application itself. I need to search more information. Why don't we merge this branch first if everything is ok without that problem, then I'll create another one if I find a proper solution regarding that issue?

source: gharchive/pull-request

authors: ehoogerbeets gouniLee

repo: iLib-js/iLib


text:
Property grid animation

itwin/property-grid-react pulls in an entire package, namely react-spring to do a "simple" animation. The package was removed and replaced by a CSS transition animation.

Since you made the pr from the cospace, the VCR repos lockfile didn't get updated. You'll need to open this branch in a copy of VCR not in a cospace, do rush install and commit the changes.

We should try to simplify this. I ended up just linking my only copy of all repos in my cospace and I open each individually and use the rush workflow before committing/pushing.

We should try to simplify this. I ended up just linking my only copy of all repos in my cospace and I open each individually and use the rush workflow before committing/pushing.

Yea this is probably my only complaint with cospaces, and ive been thinking about how to address this but idk if there is a good solution for this.
I was thinking we could add a root level package.json to all the monorepos and just add a dep on rush or yarn or whatever you use to manage your deps in there, then adding that pkg in the cospaces pnpm-workspace.yaml. Then i guess theoretically you could cd into the dir of the repo youve linked and run the commands as you would typically. But the issues with that is you shouldn't mix & match your npm commands because the package managers will get confused, see.

We should try to simplify this. I ended up just linking my only copy of all repos in my cospace and I open each individually and use the rush workflow before committing/pushing.

ANother option, is just running cospace purge and then going into the monorepo that you're working in and do your regular workflow. Kinda annoying because youre always deleting the symlinks and need to regen them later. And i believe you could still run cospace purge to nuke all the node_modules installed by your other package manager, as long as the pnpm-workspace.yaml file is defined with all the pkgs in that monorepo

repo: iTwin/viewer-components-react


text:
Parse function calls as prefixes rather than infix operations

This would make it easier to compile things like a.b.c()
However it would preclude calling a lambda function like (lambda (x: int) -> int { 42 })()

This is probably impossible, though, because function calls can contain arbitrary expressions even if I don't allow direct calling of lambda functions, e.g. ([1] + [2]).length().

repo: iafisher/venice


text:
Launch args persist between launches

Not sure if this is a bug. I started using launch arguments in my Maestro tests, and I'm finding that they persist such that after I kill the app and start it up again (using expo start --clear) the arg from the test is still present. I'd rather not have to set default values for them everywhere that the app might be launched. Is this expected behavior? Is there a way to clear the args? My initial thought is an onCompleteFlow step that just relaunches the app with default values but curious if there's a better way. I am developing for iOS, launching on Simulator. (As expected, using expo run:ios does clear the launch arguments).

This library has not it's own state, so must be something with your tests env. It just parse launch args as is and that's it

authors: christinachimi iamolegga

repo: iamolegga/react-native-launch-arguments


text:
Adding more information in planets project

@iamrahulmahato In the Planets project, we can add more information about the planets, for example interesting facts and atmospheric information. I have a good background in space science hence I can help in providing necessary information. Being a first time contributor, I will be highly grateful if you assign me!
Thank you!

can you assign this to me I will work on it

repo: iamrahulmahato/master-web-development


text:
ADD PASSWORD MANAGER

password manager  using html css js

pls label as level 2 @Tapabrata-Goswami @iamrahulmahato

Here’s a description of your Password Manager Project using HTML, CSS, and Java and how it can be categorized as Level 2 based on complexity
The Password Manager is a secure, user-friendly application developed using HTML, CSS, and Java. It enables users to store, manage, and retrieve their passwords safely for multiple accounts. This project focuses on providing a simple interface for users while ensuring that passwords are securely stored and encrypted using Java-based algorithms.
Technology Stack:

Frontend:

HTML: Used for creating the structure of the user interface. It contains forms for user registration, login, and password management. The layout includes fields for usernames, passwords, and account details.
CSS: Used for styling the application’s user interface. CSS provides a responsive and visually appealing layout with various styles for buttons, forms, and alerts.
JavaScript: Provides frontend validation (e.g., password strength checking, form validation) and interactive features such as showing/hiding passwords.
Change the label to level 1 to level 2 @Tapabrata-Goswami @iamrahulmahato

could u pls assign this issue to me

Hello sir I would like to solve this issue, can you kindly assign this task to me?


text:
feat: implement 'plugin:import/typescript' rules

This PR makes configs consistent with eslint-plugin-import's plugin:import/typescript rules.
Resolves #125.

Thanks for the PR @kripod 👍  It's a great idea.
Just one question above.
Also I've made some changes to master, which will cause a small merge conflict where you have disabled import/named (this change now exists in master)

Thank you for the review! I've answered your question above and updated the PR accordingly.
Please feel free to remove the import/named rule in favor of the new TS-specific one in master.

Thanks @kripod

Please feel free to remove the import/named rule in favor of the new TS-specific one in master.

I don't think it's possible for me to make changes in this PR?
We should not disable the import/named rule globally, as it should remain enabled for JavaScript files.

@iamturns I’ve just removed import/named from this PR, thanks for the heads up! 🙌

Love ya work @kripod - cheers!

:tada: This PR is included in version 11.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: iamturns kripod


text:
点击“喜欢” 后，小程序崩溃

如图

搞好了，原来没上传对应的图片

license: mit


text:
No is_only_support_keycode_goto value.

There is no is_only_support_keycode_goto value in monet.xml file.
Phone:
Xiaomi Mi 10 Lite 5G , miui 13.0.4

Please attach the full monet.xml file here.

Not receiving updates for a week.

authors: Imikeeee ianchb

repo: ianchb/MIUI-AOD-Freely


text:
Update Parser to not use Lexer instead of lexemes channel

Currently Parser reads lexemes from a channel and does not have a reference to the Lexer.  This is non-optimal because Parser is unaware of errors that occur during lexing.
Lexer.Run() is already able to return an error.  Lexer.Lex() will store the error in the Lexer and close the lexeme channel.  Parser does not know why the channel was closed.  The input might be done or if might be an error.  Parser is unable to call Lexer.Err() to check for an error.
It would be better if Parser had a reference to Lexer.  Then Parser could call Lexer.Err().
Parser could call something like Lexer.NextLexeme() and which returns both the lexeme and an error.  This would return both values in one call instead of reading a lexeme from a channel and then calling Lexer.Err().
This would change creating a parser from:
	l := lexparse.NewLexer(runeio.NewReader(inReader), &lexState{})
	lexemes := l.Lex(ctx)
	p := lexparse.NewParser[calcToken](lexemes)

to:
	l := lexparse.NewLexer(runeio.NewReader(inReader), &lexState{})
	p := lexparse.NewParser[calcToken](l)

And change Parser.Peek() from:
	l, ok := <-p.lexemes
	if !ok {
		return nil
	}

to
	l, err := p.lex.NextLexeme()
	if err != nil {
		return fmt.Errorf("lex error: %w", err)
	}

I suppose I wanted for the caller to have control over the goroutines that get created (e.g. by Lex). The caller can pass a context to Lex to allow them to cancel the goroutine, impose timeouts etc.
I also thought the caller should have control over error handling for the lexer instead of having Parser handle it. In that case the lexer would return an error and the channel given to the parser would just be closed. I agree this is a bit harder to reason about so that's why the LexParse function exists.
I suppose your idea is to have the Parser pass through errors but then it's hard to know whether the errors came from the lexing or from parsing.

authors: ianlewis superfrink

repo: ianlewis/lexparse


text:
inline styling should be extracted as css

Currently the default minimal renderProps components has inline-styling, which cannot be overwritten, nor extend-able.
The idea is to extract the styes into css so user can opt-in. This reduces the bundle size when user use their own styling.
Moreover, expose the default UI components so user can extend them.

pre-released 1.1.4-rc.2

pre-released 1.1.4-rc.4

version 1.1.4

repo: iannbing/react-simple-tree-menu


text:
U管上视频下载不了

麻烦您看一下是怎么回事？

Please see #839.

Please see #839.

知道了，谢谢！

知道了，谢谢！

https://github.com/iawia002/annie/issues/815
https://github.com/iawia002/annie/issues/839
https://github.com/iawia002/annie/issues/841
https://github.com/iawia002/annie/issues/857


text:
action重复调用

实现了YYLabel的textTapAction 同时实现了内容highlight的tapAction 然后点击高亮的时候会同时触发两个事件。 想实现像微信那样 点击名字和点击内容区分开来。

label.textTapAction = ^(UIView *containerView, NSAttributedString *text, NSRange range, CGRect rect) {
    if (range.location == NSNotFound) {
        /// 点击了非文本区域
    } else if ([text attribute:YYTextHighlightAttributeName atIndex:range.location]) {
        /// 点击了高亮文本
    } else {
        /// 点击了普通文本
    }
};

authors: ibireme sulizhan

repo: ibireme/YYText


text:
Let MongoDbSender support Project, Sort and Collation

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
In MongoDB Compass you can do queries on a MongoDB database. In MongoDB Compass, you have text fields Filter, Project, Sort and Collation. In the Frank!Framework you can set the filter, but not the other three fields of a query. It would be nice if MongoDbSender would support all four of these fields.
Reporter
Martijn Dirkse

To Reproduce
Steps to reproduce the behavior:

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

Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
Please provide the configuration of the Pipe or Receiver with the problem.

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
FF! 7.9-20230222.152656: Frank2MongoDB
Running on LAPTOP-R1SK28C using Apache Tomcat/9.0.68
Java Version: OpenJDK Runtime Environment (1.8.0_292-b10)
Heap size: 323M, total JVM memory: 995M
Free disk space: 210GB, total disk space: 464GB
Up since: 2023-02-24 11:31:43 (2h)

Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
I created this issue because I am documenting MongoDB in the Frank!Manual. No customer is involved.

Here is a screenshot of MongoDB Compass that shows the mentioned options:

repo: ibissource/iaf


text:
Externalize salesforce.com connector code

The Simple Data Pipe repository currently includes the connector implementation for salesforce.com. The code should be removed to enable customers to pick and choose which connectors should be deployed.

Delivered by #10

repo: ibm-cds-labs/simple-data-pipe


text:
Kafka Connect source connector's tasks going up and down

Occasionally with Kafka Connect, I see my IBMMQ SourceConnector's task go up and down, that is, the REST interface sometimes reports one task that is RUNNING and sometimes reports no tasks (the connector remains RUNNING this whole time). During these times, the task seems to be working when it's running. Then, if I delete and re-create the connector, the problem seems to go away. I suspect something is wrong--that tasks shouldn't churn like this, right?
I use KAFKA- 2.2.0 and SCALA - 2.12. Does it have to do anything with Kafka version?

Hello @harishanandan124,
I apologize for the extended delay in addressing this issue. Upon reviewing the codebase, I couldn't find any identical problems during my testing. However, it's important to note that the codebase has undergone several changes over the years. Thus, I kindly request you to verify if the issue still persists.

repo: ibm-messaging/kafka-connect-mq-source


text:
Sign Linux release

Sign tarballs, executables and shared library for Linux platforms.
Signed-off-by: Violeta Sebe vsebe@ca.ibm.com

@AdamBrousseau please review, thank you!

repo: ibmruntimes/temurin-build


text:
Lambda execution doesn't stop on captcha validation error

Hello,
I'm using this library in a netlify function to handle recaptcha validation, and i attached it in the handler like this:
const handler = middy(myHandler).use(
    reCAPTCHA({
      secret: KEY,
    })
  )

It works well, but in my case it doesn't stop the function execution when captcha validation fails, i can see the error on the console log, but the function keeps running.
UPDATE: My bad, actually i see that recaptcha validation result is in the context of the handler, i missed it in the docs, feel free to delete this issue if you want.

W\here it's mentioned in the docs? @AlexPagnotta

repo: ibrahimcesar/middy-recaptcha


text:
sub key nats is not being passed in.

Fixes nats options passing. Unsure what other things are going on, but the _resolveTransporter method in the service broker is passing in opt.options and not opt.nats

It's working at present. Ref: https://github.com/ice-services/moleculer/issues/152#issuecomment-353009472

authors: disarticulate icebob

repo: ice-services/moleculer


text:
Forward overlay() calls in iced_pure::element::Map

If Map does not override overlay(), calling map() on a pure Element
breaks any pick_list inside it (its overlay does not appear).
Fix it by implementing overlay() the same way iced_native::element::Map
does.

I copied the lifetime changes from iced_native because the code didn't compile without them. I didn't look into whether they could be avoided (which would take me a while, I'm a Rust beginner).

repo: iced-rs/iced


text:
Ada docker file

gprbuild environment for Ada.
Starter kit repo: https://github.com/jwarwick/starterkit-ada

Thanks for your contribution! I've made some slight tweaks in your code, but current starter kit does work with our submission system.

authors: beevee jwarwick


text:
在搜索框输入时出现无法输入和无法删除

可能是 因为 聚焦 和 输入框改变时传入的数据是同一个，导致无法输入和无法删除

很久没有维护这个项目
谢谢反馈 刚好input新方法来了 周末维护一下

已修复

repo: icindy/wxSearch


text:
MDChallengeDns01 is not allowed inside an '<MDomainSet' context

Hi.
I use mod_md for a wile now and I recently want to switch from per subdomain certificate to wildcard certificate but I'm facing config problem.
I made my own DNS providers scripts acme-dns01-ovh and acme-dns01-cloudflare.
Here my md.conf file
MDStoreDir ${HTTPD_CONFDIR}/md
MDStoreLocks On
MDCertificateAgreement accepted
MDContactEmail "${HTTPD_ADMIN_MAIL}"
MDPrivateKeys secp256r1 rsa4096
MDRenewWindow 25d
MDWarnWindow 15d
MDPortMap http:${HTTP_PORT} https:${HTTPS_PORT}

# OCSP
MDStapling On
MDMustStaple On

And my vhosts (MDomain part)
<MDomain *.exemple1.com>
    MDMembers manual
    MDMember *.exemple1.com
    MDCertificateAuthority https://acme-staging-v02.api.letsencrypt.org/directory
    MDChallengeDns01 bin/acme-dns01-ovh
    MDRequireHttps permanent
</MDomain>

<MDomain *.exemple2.com>
    MDMembers manual
    MDMember *.exemple2.com
    MDCertificateAuthority https://acme-staging-v02.api.letsencrypt.org/directory
    MDChallengeDns01 bin/acme-dns01-cloudflare
    MDRequireHttps permanent
</MDomain>

httpd -t return me MDChallengeDns01 is not allowed inside an '<MDomainSet' context
How can I setup MDChallengeDns01 directive by handled domains

MDChallengeDns01 is a global directive, to be set only once for the whole server.

Is this conceivable to update mod_md to allow  a MDChallengeDns01 directive by domains ? Not all domains are handled by same DNS providers.
Sure, I can set MDChallengeDns01 to a routing script, but it's less maintainable for large domain sets

It is possible, of course. But I have currently not the spare time to start on it.

Ok.
I'll make a MR. I'm not a C specialist so I don't guarantee that I will make it but I'll try.

authors: bilhackmac icing


text:
2024-05-07-dive-into-musicgen

OpenReview Submission Thread

Checklist before opening a PR

[x] I am opening a pull request against the main branch of the 2024 repo.
[x] The title of my PR is exactly the name of my markdown file

i.e. _posts/2024-05-07-[SUBMISSION NAME].md would require a PR name 2024-05-07-[SUBMISSION NAME]

[x] I have anonymized my post: my author's list is Anonymous, and there is no potential
content which can reveal my/my collaborators identities.
[x] My post matches the formatting requirements, including (but not limited to):

[x] I have ONLY MODIFIED files in the following locations (failure to do so will result in
your PR automatically being closed!):

a Markdown (or HTML) file in _posts/ with the format _posts/2024-05-07-[SUBMISSION NAME].md (or .html)
static image assets added to assets/img/2024-05-07-[SUBMISSION NAME]/
interactive HTML figures added  to assets/html/2024-05-07-[SUBMISSION NAME]/
citations in a bibtex file in assets/bibliography/2024-05-07-[SUBMISSION NAME].bib

[x] I have a short 2-3 sentence abstract in the description field of my front-matter (example)
[x] I have a table of contents, formatted using the toc field of my front-matter (example)
[x] My bibliography is correctly formatted, using a .bibtex file as per the sample post

Any other comments

Based on the discussion in the OpenReview thread, we unfortunately made the choice to reject this submission. Thank you for your work and effort towards this post!

authors: busycalibrating ldzhangyx


text:
feat(bmr): Implement basic header chain verification for SNOW

What needs to be done
Implement simple header block verification for SNOW
Why it needs to be done
To make the system more stable
Other
BSC Verifier's logic present on this commit can be referenced for header-chain verification.

I've added base code for header chain verification in the attached branch.
The problem right now is with the comparison of hashes.
As can be seen from the data below (fetched using ethclient's HeaderByNumber method), Header2's parentHash does not match with Header1's Hash.
Header1:
 Number: 537975
 Hash: 0x8acc1e4bffb415b70535699e09c3c238afb267db8cbb8df296025a7bb4236fd4
 ParentHash: 0x77137fa705a3de2ae84fdb844a08bf8b8fa14eefd28daf621c27b663d68970ba

Header2:
 Number: 537976
 Hash: 0x86b7ab4450c80a47d25121e7697075501b90a9509f97e0d8e0b5f240afe5c821
 ParentHash: 0x7c99376a4ab36645d05d507e111c0c0acd9f059150675615b9dec4e02b675383

Header3:
 Number: 537977
 Hash: 0xd4c566fdcc5cf19f91638c1dabd21aed5982acaa82c8e4eb8397753329f66d64
 ParentHash: 0x041baad26be7a3b27bb298cf4ddf1c91e65d47700aa85ec66f6059952d9e51c3

A different value for hash is shown by arctic scanner for these blocks.

repo: icon-project/icon-bridge


text:
fix NCSU

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1169
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 413a995 : invalidated by @alfoa

Tests pass, code checks out, checklist complete. Merging.

authors: PaulTalbot-INL alfoa moosebuild

repo: idaholab/raven


text:
minor changes to twoPointsCrossovers

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
This PR Closes # 1724
What are the significant changes in functionality due to this change request?
TwoPointsCrossOver will not error out.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test qsubs falcon on 1f54de2 : invalidated by @mandd

do we have a test that uses this modified twoPointsCrossovers method?

I used Andrea's test, but I guess this one will take a long time, I can generate a simpler one.

Job Test qsubs falcon on 7c3deff : invalidated by @Jimmy-INL

Job Test qsubs sawtooth on 7c3deff : invalidated by @Jimmy-INL

Job Test qsubs falcon on 7c3deff : invalidated by @Jimmy-INL

Job Test qsubs falcon on 7c3deff : invalidated by @Jimmy-INL

@wangcj05 : this PR is good to me. Can I merge it into devel?

@mandd @wangcj05. I was wishing that Diego adds the missing unit tests if he has time. I also made other changes to keep the elite parents which seem to help with the tough optimization problem our private citizen has. PR will be posted soon.

@mandd Sure, when all the checklists are satisfied, you are free to merge any PR.

@Jimmy-INL : let me see if i can do before the end of today

@Jimmy-INL : I have addressed all comments except the one you are discussing with @wangcj05.

Job Test qsubs falcon on ddc8479 : invalidated by @mandd

Job Test qsubs falcon on ddc8479 : invalidated by @mandd

Job Test qsubs falcon on ddc8479 : invalidated by @mandd

PR checklist is satisfied, and PR can be merged into devel

@Jimmy-INL @mandd I have approved and merged your PR. Thanks for your contributions.

authors: Jimmy-INL mandd moosebuild wangcj05


text:
suggestion: oauth1 docs - more consistent and document 'interfaces'

this is mostly targeted at the oauth1 docs.  i haven't gotten into oauth2 yet.
there are 2 rather annoying bits:

all the args dealing with tokens use token. it would be a lot better if they used terms like request_token and access_token.

when there are dicts/objects involved, I think it might make more sense to have a package that lists the various 'interfaces' that are expected.

for example, save_request_token in 'request_validator' expects token to be a dictionary that includes at least 3 terms.  meanwhile save_verifier expects token to be a string and implements a verifier dict that has several oauth_ prefixed items.  while it's great that these are documented very well, the repetition of terms and concepts in difference contexts can be very confusing.

FWIW, I documented/consolidated the objects used in validator.py in the context of an implemented server.  originally i used flask-oauthlib, but it was too messy so just started re-implementing in a pyramid library.
https://gist.github.com/jvanasco/d723b592b7ace14e9b30

repo: idan/oauthlib


text:
Add github action to lint, build & test code on push to master

TODO
Add github action to lint, build & test code on push to master
Additional context
Add possibility to Switch build status badge in readme to action status

My finding:
https://github.com/rosen-group/ngx-onboarding/blob/master/.github/workflows/master-ci.yml

I added also Ossar analyse


text:
Fix portis logo

Same issue as here: https://github.com/iearn-finance/ygov-finance/issues/16
Need to setup correct Portis ID => logo, name.

@antonnell any chance you can look into this one? I am being bugged by Portis guys – this issue stops us from being listed in their marketplace. 😞

repo: iearn-finance/iearn-finance


text:
update timestamp for meeting agendas seem incorrect

What happened?
The last updated timestamp seems to be too far in the past.
It also should use either the user's local timezone or UTC.
Attached is a screenshot of https://datatracker.ietf.org/meeting/114/agenda/ taken on 2022-04-20 at 9:45 in a EDT.

What browser(s) are you seeing the problem on?
Safari
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Poking, there's an attempt to hide the "updated" indicator if meeting.updated() is not defined. Unfortunately, the updated() method returns 1970-01-01T00:00:00 rather thanNone in that situation, which defies the effort.

It localizes to PRODUCTION_TIMEZONE, so won't change due to the USE_TZ settings. It'd be nice to change it to be explicitly UTC instead of something that depends on settings.py if we want to use a magic number.
We could instead/also just say that anything before [date after Jan 2, 1970 and before plausible update time] is too long ago to be plausible. That'd avoid depending on a particular time zone for the view.

Hackearon

Looks like there are some guards in place now.
if (!updatedDatetime.isValid || updatedDatetime < DateTime.fromISO('1980-01-01')) {
  return false
}

(in client/agenda/Agenda.vue)
It's hard to know when the change was made. The Git history only goes back to Feb 2024 if I'm reading it correctly.
I'll spend some time testing the code at the code sprint tomorrow.

It appears to me that when /api/meeting/114/agenda-data returns the default updated time, i.e. 1970-01-01T00:00:00Z, e.g.
{
    "meeting": {
        "number": "114",
        "city": "Philadelphia",
        "startDate": "2022-07-23",
        "endDate": "2022-07-29",
        "updated": "1970-01-01T00:00:00Z",
        "timezone": "America/New_York",
        "infoNote": "Please see the IETF 114 Proceedings for further records of this meeting.",
        "warningNote": ""
    },
    // ...
}

it correctly hides the Updated element in the UI.

So, I believe the bug has been fixed.
However, we may also want to apply the same filter to the plain text page for consistency.
^agenda(?P<utc>-utc)?(?P<ext>\.txt|\.csv)$

e.g. /meeting/114/agenda.txt

P.S. agenda.csv does not use updated, only agenda.txt does.

However, we may also want to apply the same filter to the plain text page for consistency.
Yes  - that sounds good.

authors: Osoted56 ghwood jennifer-richards microamp rjsparks

repo: ietf-tools/datatracker


text:
Yarn dependencies incorrectly met?

Describe the issue
Am doing ./run -r to rebuild everything and I saw this:
Compiling native node packages...
➤ YN0000: ┌ Resolution step
➤ YN0060: │ root-workspace-0b6124@workspace:. provides luxon (pd9264) with version 3.3.0, which doesn't satisfy what @fullcalendar/luxon2 requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code

Not sure if that's a bug or not.  Ping @NGPixel ?
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

You can ignore this warning. For a long time the fullcalendar plugin only listed luxon2 as a dependency while the rest of the project used luxon3, hence the warning. They finally released an update with an option for luxon3 last week.
I opened a PR (#5729) which will make this warning go away.

authors: NGPixel richsalz


text:
Error during update by ComfyUI Manager

When updating today from the August 14th version of all files by ComfyUI Manager, I got this error:
Collecting nano-graphrag
Downloading nano_graphrag-0.0.8.2-py3-none-any.whl.metadata (15 kB)
Collecting future>=1.0.0 (from nano-graphrag)
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting graspologic (from nano-graphrag)
Downloading graspologic-3.4.1-py3-none-any.whl.metadata (5.8 kB)
Collecting nano-vectordb (from nano-graphrag)
Downloading nano_vectordb-0.0.4.3-py3-none-any.whl.metadata (3.7 kB)
Collecting hnswlib (from nano-graphrag)
Downloading hnswlib-0.8.0.tar.gz (36 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
[!]   error: subprocess-exited-with-error
[!]
[!]   Getting requirements to build wheel did not run successfully.
[!]   exit code: 1
[!]
[!]   [18 lines of output]
[!]   Traceback (most recent call last):
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
[!]       main()
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
[!]       json_out['return_val'] = hook(**hook_input['kwargs'])
[!]                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
[!]       return hook(config_settings)
[!]              ^^^^^^^^^^^^^^^^^^^^^
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
[!]       return self._get_build_requires(config_settings, requirements=[])
[!]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
[!]       self.run_setup()
[!]     File "E:\ComfyUI\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
[!]       exec(code, locals())
[!]     File "", line 6, in
[!]   ModuleNotFoundError: No module named 'pybind11'
[!]   [end of output]
[!]
[!]   note: This error originates from a subprocess, and is likely not a problem with pip.
[!] error: subprocess-exited-with-error
[!]
[!] Getting requirements to build wheel did not run successfully.
[!] exit code: 1
[!]
[!] See above for output.

Got the same issue, failing to import ever since. Reinstalling didn't help.

authors: PrometheusDante freshwind-bit


text:
🛑 CORS is down

In ce7830c, CORS (https://cors.mingming.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CORS is back up in 248b185 after 12 minutes.

repo: ifyour/status


text:
🛑 Acierto is down

In 0937ee9, Acierto (https://www.acierto.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Acierto is back up in d19380c.

repo: igaataciertocom/upptime


text:
Ability to change zoom and screen location of MoveToCurrentLocation FAB

It would be nice to be able to customize the zoom when you press the floating action button. As of right now, it will zoom you in or out to the default 17.
Additionally, we should be able to change the location of the marker on the screen once the button is pressed. Currently, the button centers the marker a bit below center. If there are widgets below or above the map, they may cover the location marker.

Hey, thanks for the suggestion. I am quite busy as of now, but will definitely look into this issue, once I am a bit free.

Hey, thanks for the suggestion. I am quite busy as of now, but will definitely look into this issue, once I am a bit free.


text:
coolingPerTick function adds temperature instead of subtracting

According to the coolingPerTick function, the temperature gets added to how much a fission reactor cools per tick, which means the hotter the biome is, the faster it cools down. Is this intentional?

Since Minecraft biome temperatures range from -0.7 - 2.0, the current implementation breaks reactors in a biome with a temperature of 0 (Frozen River, Frozen Ocean, Snowy Plains, Ice Spikes), and reactors cool less for biomes with a temperature less than 0 (Frozen Peaks, Jagged Peaks, Snowy Taiga, Snowy Slopes, Grove). Source: https://minecraft.wiki/w/Biome#List_of_biome_climates

repo: igentuman/NuclearCraft-Neoteric


text:
Implement Register API

Cloud API released register API.
Steps to implement it:

[x] Create the methods register and deregister in the file lib/whatsapp_sdk/api/phone_numbers.rb similar to the other two methods (you need to use http POST).
[x] Add a test file.

See documentation.

Could I take this?

Sure! @andresyebra. This PR is very similar https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/pull/58/files

@ignacio-chiazzo PR(https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/pull/65) is still in progress.

The registered API is in version 0.7.1. Thanks for contributing!

authors: andresyebra ignacio-chiazzo


text:
First stable release will be 1.0.0

Let's go full stable on Edifice.

Windows CI including https://github.com/ignition-tooling/release-tools/pull/378 and https://github.com/ignition-tooling/gazebodistro/pull/22:
Ubuntu CI including https://github.com/ignition-tooling/release-tools/pull/378

Windows CI including https://github.com/ignition-tooling/release-tools/pull/378 and https://github.com/ignition-tooling/gazebodistro/pull/22:
Ubuntu CI including https://github.com/ignition-tooling/release-tools/pull/378

Windows CI including ignition-tooling/release-tools#378 and ignition-tooling/gazebodistro#22:
Ubuntu CI including ignition-tooling/release-tools#378

Is Homebrew supposed to be green or not ready yet?

Windows CI including ignition-tooling/release-tools#378 and ignition-tooling/gazebodistro#22:
Ubuntu CI including ignition-tooling/release-tools#378

Is Homebrew supposed to be green or not ready yet?

Is Homebrew supposed to be green or not ready yet?

It works with https://github.com/ignition-tooling/release-tools/pull/378 in:

Is Homebrew supposed to be green or not ready yet?

It works with https://github.com/ignition-tooling/release-tools/pull/378 in:

CI is :green_circle:

CI is :green_circle:

authors: caguero chapulina

repo: ignitionrobotics/ign-utils


text:
[dot rendering] repetitions on attribute, pipe split

when defining a value as a repetition like: tag+=WORD['|']
the resulting dot file has an unescaped pipe between the values, leading to a wrong rendering
p.s. I will try to fix this, I'm creating the issue here as I could not on my fork/github

I can't reproduce this. The pipe from repetition modifier should not be used in dot rendering at all. This should convert to tag: list[WORD] in the dot.
Maybe you were having problems with the issue  #18 in your grammar?

you r right, my fault

authors: igordejanovic zeph

repo: igordejanovic/textX


text:
Update llms.md

fixing minor spelling mistakes

Merci @FrenchLobster pour les corrections.

authors: FrenchLobster igorschlum


text:
Unexpected closing tag , expected corresponding closing tag for  (5:332-5:336)

Hi,
I just updates to 3.0.4 and I'm seeing
Unexpected closing tag
, expected corresponding closing tag for
 (5:332-5:336)

for
{
  id: "fantomas-configuration-file/index.md",
  slug: "fantomas-configuration-file",
  body: "\nHi all,\n\nThe cat's out of the bag:\n\n

New version of @IonideProject is out - it updates Fantomas support to the latest version including support for Fantomas configuration file (https://t.co/Pw3TqQ4kYe)

Props to @verdonckflorian and @ChetHusk for working on this. #fsharp #toolingAdventures
— Krzysztof Cieślak (@k_cieslak) January 9, 2020
 \n\nFantomas now has support for configuration files.\nThis means you can override the default settings using a JSON file.\nCheck out [the documentation](https://github.com/fsprojects/fantomas/blob/master/docs/Documentation.md#--config-path-to-file-or-folder) for more information.\n\n![Fantomas configuration via console](./nojaf-fantomas-configuration-console.png)\n\nIn this post I wish to answer a couple of small questions about the Fantomas configuration files.\n\n## JSON schema?\n\nWe've added a JSON schema definition to [http://schemastore.org](http://json.schemastore.org/fantomas).\nSo to get intellisense in most editors, you can add `$schema` to the configuration file.\n\n```json\n{\n  \"$schema\": \"http://json.schemastore.org/fantomas\",\n  \"KeepNewlineAfter\": false,\n  \"IndentOnTryWith\": true\n}\n```\n\n## Ionide integration?\n\nWhen using the latest Ionide version (4.4.3 and higher), your configuration will be picked up due to the integration of Fantomas via [FSAutocomplete](https://github.com/fsharp/FsAutoComplete/).\n\nIf something doesn't work out, you can enable verbose logging in VSCode.\n\n```json\n{\n  \"FSharp.verboseLogging\": true\n}\n```\n\nThen you can see warnings or errors in the output window.\nA fallback to the default configuration will happen when the parsing failed.\n\nFor example:\n\n![Warning in Ionide](./nojaf-fantomas-configuration-ionide-warning.png)\n\n### Room for improvement\n\nAt the time of writing, the configuration file is [not cached in FSAutocomplete](https://github.com/fsharp/FsAutoComplete/blob/52779750677d20b13ebcacc64a212cbc2a87fa7d/src/FsAutoComplete/FsAutoComplete.Lsp.fs#L982).\nIt could be kept in memory and updated when a configuration file changes.\nFeel free to submit a pull request to FSAutocomplete.\n\n## Why a beta version?\n\nThe main reason this is not an official release just yet is due to the fact that we want to be sure this works out for everyone.\nSo **please provide us feedback** if you encounter any problems whatsoever.\n\n## Rider support?\n\nIf the solution we have in mind appears to be working out nicely for Ionide users, I will submit a pull request to [JetBrains/fsharp-support](https://github.com/JetBrains/fsharp-support).\nIt might involved some more thinking to find the best approach, however I'm confident in collaboration with the team we can find a way.\n\nPlease keep in mind that Fantomas updates to Rider are linked to their release cadence.\n\n## Road to adoption?\n\nThis year my personal aspiration to **increase the adoption of Fantomas**.\nBoth in terms of users and people who submit pull requests.\n\nI have some plans and ideas for this. Unfortunately, I'm unable to share anything just yet.\nStay tuned for more!\n\nPlease o please report any issues you encounter using [our online tool](https://jindraivanek.gitlab.io/fantomas-ui/#?fantomas=preview).\nOr post any suggestions on [GitHub](https://github.com/fsprojects/fantomas/issues).\n\n> Fantomas can only improve when feedback is presented\n\nTake care everyone!\n\nCheers,\n\nnojaf\n\nPhoto by <a style=\"background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px\" href=\"https://unsplash.com/@krutainis?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Download free do whatever you want high-resolution photos from Ivars Krutainis\"><svg xmlns=\"http://www.w3.org/2000/svg\" style=\"height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white\" viewBox=\"0 0 32 32\"><title>unsplash-logo</title><path d=\"M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z\"></path></svg>Ivars Krutainis\n",
  collection: "blog",
  data: {
    path: "2020/10/01/fantomas-configuration-file/",
    date: 2020-01-10T00:00:00.000Z,
    title: "Fantomas configuration file",
    tags: [ "open-source", "fsharp" ],
    cover: {
      src: "/@fs/home/nojaf/projects/blog/src/content/blog/fantomas-configuration-file/nojaf.com.fantomas-configuration.jpg?origWidth=1920&origHeight=700&origFormat=jpg",
      width: 1920,
      height: 700,
      format: "jpg",
      fsPath: "/home/nojaf/projects/blog/src/content/blog/fantomas-configuration-file/nojaf.com.fantomas-configuration.jpg",
    },
  },
  render: [AsyncFunction: render],
}

rendered by

      <PostExcerpt
        post={Astro.props}
        words={50}
        addEllipsis={false}
      />

My markdown does contain the following HTML:

New version of @IonideProject is out - it updates Fantomas support to the latest version including support for Fantomas configuration file (https://t.co/Pw3TqQ4kYe)

Props to @verdonckflorian and @ChetHusk for working on this. #fsharp #toolingAdventures
— Krzysztof Cieślak (@k_cieslak) January 9, 2020

which probably is the culprit. Updating

 to

 does not solve the problem.
Can I somehow skip this HTML part from the PostExcerpt?

Hi @nojaf, thank you for opening the issue, upon initial inspection I can notice that this issue is related to the npm packages that this component uses for parsing/stripping Markdown/JSX, i.e.: mdast-util-from-markdown, mdast-util-mdx and micromark-extension-mdxjs.
Currently, it is not supported to skip parsing of HTML because it's necessary for plain text extraction but I will do my best to find a solution to this tomorrow, will keep you updated!

Hi @igorskyflyer , thanks for the swift reply! Yes, you can use nojaf/blog, do note that I haven't pushed the updated package.json anywhere. Thanks a bunch for your time.

Hi @igorskyflyer , thanks for the swift reply! Yes, you can use nojaf/blog, do note that I haven't pushed the updated package.json anywhere. Thanks a bunch for your time.

Indeed, I'll upgrade from v2.1.0 to the latest version (thanks for mentioning it) then do some tests and get back to you.

Hey @nojaf, since no proper stack trace is shown when the exception occurs, I had to go the old-fashioned way 😎, I managed to hunt down the exception, it is thrown by the mdast-util-mdx-jsx (as assumed).

Old-fashioned search

But that's only one piece of the puzzle 🧩.
I'll try and think of a solution tonight.

@nojaf, just found a workaround for your issue until this issue is resolved permanently.
While investigating and testing further, I have noticed that mdast-util-mdx-jsx actually works quite well but there are some edge cases, like yours.
In one of your Markdown files the issue is caused by this HTML block - the one you mentioned (formatted for readability):
"/src/content/blog/fantomas-configuration-file/index.md"

New version of @IonideProject is out - it updates Fantomas support to the latest version including support for Fantomas configuration file (https://t.co/Pw3TqQ4kYe)

Props to @verdonckflorian and @ChetHusk for working on this. #fsharp #toolingAdventures
— Krzysztof Cieślak (@k_cieslak) January 9, 2020

It seems the mentioned library used for parsing and stripping of Markdown and JSX doesn't allow a
 inside of a paragraph and
s that are not closed.

The code works after:

swapping the
 tag with the
 tag,
closing both
 elements inside the
,

i.e.:
"/src/content/blog/fantomas-configuration-file/index.md"

New version of @IonideProject is out - it updates Fantomas support to the latest version including support for Fantomas configuration file (https://t.co/Pw3TqQ4kYe)

Props to @verdonckflorian and @ChetHusk for working on this. #fsharp #toolingAdventures
— Krzysztof Cieślak (@k_cieslak) January 9, 2020

Hi @igorskyflyer! Thanks a bunch for this deep dive analysis!
I updated the blockquote and made proper code blocks in the other post and it now all works!
Feel free to close this issue is nothing actionable is left.

authors: igorskyflyer nojaf

repo: igorskyflyer/npm-astro-post-excerpt


text:
HTML report too large

Hi all, I have been using igv-report and I like it so far.  However, I am having some issues with the html files being too large when using a bam file that is not subsetted.  Any suggestions on how to solve this issue?  We would like to incorporate this tool into our analysis pipeline and would like a report that shows the entire length of the bam file.  Thanks!

If I understand you correctly you are trying to encode an entire BAM file as plain test HTML?  How large is it?

Yes, you are correct.  It is about 40M

That's probably not possible, I think actually you have verified that.    This is not what igv-reports is designed for, if you can describe in more detail what you are trying to do I might suggest another solution.

We would like a report that would be similar to the attached screenshot but would ideally display the entire bam. The goal would be to provide the scientists in charge of our studies either a file or a link where they can easily see the variant call results and the overall coverage and read mappings across the span of the reference.  Not sure if modifying the code to host the report online instead of an html file would help remedy the issue?  Or if it would be easier to find another tool.

I think you're on the right track,  you would need to host the BAM file and modify the report to read from it directly.   This would be a substantial change to the python report generator,  you basically would want to keep the upper table but replace the lower part with an embedded igv.js  instance reading the BAM file directly from a server.

Great! Thank you for your insight and quick responses.

For this application I would suggest just embedding igv.js directly and creating your own table,  you really don't need igv-reports unless you want to generate html for the table, which is not complicated.

If you're able to embed igv.js in a page and display your BAM file modifying igv-reports to generate html to work with this externally referenced BAM file should be pretty simple.   Let me know if you are successful with the first step.   You'll find lots of examples in the [igv.js](https://github.com/igvteam/igv.js] repository, but you might start with this simple page.
<!DOCTYPE html>

    <title>IGV</title>

<button id="log-state">Log Session</button>

Hi @abridgeland , we  have discussed this use case and think it might be useful to a broader community.  So we are implementing a command line flag, tentatively called no-encode,  which will create the tracks by reference to the supplied URLs.   So the BAM and other tracks will not be encoded in the page, but reference by URL.  The table will be generated and function as it does now.   To use this option your data files will need to be reachable by URL for your intended audience.   More details later when the implementation is complete.
I am re-opening this as a marker for this new option.

Wow this is great news! Thank you.

You can test this now by installing from the development branch.  It will be several weeks to a month before we release this, we have some other releases to manage first.
To test install from the development branch
pip install pip install git+https://github.com/igvteam/igv-reports.git@noembed

For test data you can use the vcf file in test/data/varants.vcf.gz.  Note the --no-embed flag.
create_report test/data/variants.vcf.gz --genome hg38 --no-embed  --tracks https://igv-genepattern-org.s3.amazonaws.com/test/reports/variants.vcf.gz https://igv-genepattern-org.s3.amazonaws.com/test/reports/recalibrated.bam --output example_noembed.html

Hello, I was able to successfully install the tool and run the test data but when I run my own data, I receive the errors below.
I used this command:
create_report http://10.121.64.3/snp100-x3.sorted.rg.mutect2.vcf.gz http://10.121.64.3/ref_seq.fasta --no-embed --tracks http://10.121.64.3/snp100-x3.sorted.rg.mutect2.vcf.gz http://10.121.64.3/snp100-x3.sorted_100_to_200.bam --output test_4_noembed.html
Access to XMLHttpRequest at 'http://10.121.64.3/ref_seq.fasta.fai' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
10.121.64.3/ref_seq.fasta.fai:1     Failed to load resource: net::ERR_FAILED
test_4_noembed.html:1 Uncaught (in promise) Error accessing resource: http://10.121.64.3/ref_seq.fasta.fai Status: 0
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/circular-view.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/dom.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/igv-ui.css.map: System error: net::ERR_FILE_NOT_FOUND

You need to configure your data servers for "CORS" requests,  there are some pointers here:  https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements.
You can ignore the "FILE_NOT_FOUND" for ".map" file errors.

To get around "CORS" errors you can serve your html page from the same host as the data (10.121.64.3 in this case).   Cross origin security rules (CORS) come into play when a page from one host tries to access data on another.
I don't know what type of server 10.121.64.3 is, but enabling CORS is very common and a web search for your server type should help if our wiki doesn't.   Basically you need to add CORS headers to the responses.

Hello, Enabling the CORS did resolve that error but we still are receiving a couple error messages. We are hosting the data through apache on a linux server.
featureFileReader.js:69  Warning: index file not specified.  The entire vcf file will be loaded.
wh @ featureFileReader.js:69
bamSource.js:66  Warning: no indexURL specified for http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam.  Guessing undefined
dd @ bamSource.js:66
trackViewport.js:217  Error accessing resource: http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam Status: 0
loadFeatures @ trackViewport.js:217
10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam:1
    Failed to load resource: net::ERR_CONTENT_DECODING_FAILED

trackViewport.js:217  Error accessing resource: http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam Status: 0
loadFeatures @ trackViewport.js:217
10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam:1
    Failed to load resource: net::ERR_CONTENT_DECODING_FAILED

DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/igv-ui.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/dom.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/circular-view.css.map: System error: net::ERR_FILE_NOT_FOUND

Could you zip up and attach the report file (html) that is produced.   Also,  the command line used to generate the report.

vc_test_0801.zip
Here is the command line:
create_report http://10.121.64.3/norm_call_mv.200925_VCtest_S2_M06717_FRT67N.vcf.gz http://10.121.64.3/ref_seq.fasta --no-embed --tracks http://10.121.64.3/norm_call_mv.200925_VCtest_S2_M06717_FRT67N.vcf.gz http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam --output vc_test_0801.html

Do index files for the vcf and bam exist, i.e. these files?
http://10.121.64.3/norm_call_mv.200925_VCtest_S2_M06717_FRT67N.vcf.gz.tbi
http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam.bai

You might need to use the --track-config option to specify these index files, instead of the --tracks option.    The json file that is the argument to --track-config for your example is attached, assuming the index files exist.
Its hard to say if the BAM file error is caused by a missing index or other server problem, Apache servers sometimes incorrectly insert a "encoding: gzip" header into the response for BAM files.  This can be fixed through configuration, scroll to the bottom of this page for the note on "Mime" type.   However, before doing this try specifying the index with the --track-config [tracks.json.zip](https://github.com/igvteam/igv-reports/files/12255385/tracks.json.zip)  option.
BTW the missing "map" file warnings can be ignored.

The tracks.json file for --track-config
tracks.json.zip

vc_test_with_config.zip
Tried using the track.json and still received a similar error.  I double checked and the files do exist.
create_report http://10.121.64.3/snp100-x3.sorted.rg.mutect2.vcf.gz http://10.121.64.3/ref_seq.fasta --no-embed --track-config tracks.json --output vc_test_with_config.html

trackViewport.js:217
Error accessing resource: http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam Status: 0
10.121.64.3/alignmen…FRT67N.sorted.bam:1
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
trackViewport.js:217
Error accessing resource: http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam Status: 0
10.121.64.3/alignmen…FRT67N.sorted.bam:1
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/igv-ui.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/dom.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for file:///C:/Users/M325560/Documents/projects/bam_visualization/circular-view.css.map: System error: net::ERR_FILE_NOT_FOUND
trackViewport.js:217
Error accessing resource: http://10.121.64.3/alignment.200925_VCtest_S2_M06717_FRT67N.sorted.bam Status: 0
10.121.64.3/alignmen…FRT67N.sorted.bam:1
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED

Did you configure the BAM Mime type in Apache?   I suspect your server is improperly inserting "encoding: gzip" headers into the response, but that might not be the whole issue.    The "net::ERR_CONTENT_DECODING_FAILED" messages is coming from your browser (Chrome ?),  before IGV even sees the data.
I'm attaching my test case in an archive, the command line is is "readme.txt".   Try that.   To confirm its something related to the server I could host some test files for you on our server, but I don't think we would learn anything that the attached sample case won't tell us.
I think the next step is to configure the BAM mime type as described in the link I sent to prevent Apache from adding the encoding error.
issue_82.zip

BTW you can examine the response headers using Chrome's development tools on the network tab.   A screenshot is below.  You should not see "Content-Encoding: gzip" in the response headers for your BAM file.

Hmmm I was using edge and the response header appears to be empty.

Well that is very bizzare,  its not possible to have no response headers.   Try Chrome and see if you see any.    Were you able to run the example I sent you?

Strangely, I am receiving a CORS error on chrome even though they are configured.  And yes I was able to run the example without any issue.  I might try hosting the files through google cloud to see if I have more luck

authors: abridgeland jrobinso

repo: igvteam/igv-reports


text:
Tiny checkmarks in track gear menu

The checkmarks are tiny in the gear menu. I think this was fixed in the latest igv.js, but the web-app is using 2.2.4.

This was fixed a long time ago.

repo: igvteam/igv-webapp


text:
Use custom config for CUSTOM track type; table definition and parser

The goal was to solve issue https://github.com/igvteam/igv-webapp/issues/171 avoiding as much as possible customization by users of the different component such as igv-widgets and data-modal. To make it possible a new CUSTOM type is present in  https://github.com/igvteam/igv-widgets/pull/51 and the system creates different buttons based on the number of datasources defined in igvwebConfig.js.
The user can define multiple "configurator" directly into igvwebConfig.js. In my case was generating statis tables formatted as CSV, so I decided to parse them using Papaparser.
In order to avoid strong customization of the configurator and letting the user free do define some internal "parameters" I decided to use an inner dictionary in each track so that with one configurator multiple "buttons" can have independent origins even representing data with an equal structure.
hg38_custom.json file
{
    "label": "MAP-data",
    "type": "CUSTOM",
    "description": "Encylopedia of Genomic Elements",
    "genomeID": "GRCh38",
   "configurator" : {
      "dataSetPath": "http://yourserver:8080/files/hg38/MAP/GRCh38.tracks-project_ext.txt",
      "suffix": ".tracks-project.txt",
      "dataSetPathPrefix": "https://yourserver/files/hg38/MAP/",
      "urlPrefix": "http://yourserver:8080/files/hg38/MAP/"                                                                                }
}

Some of the keys inside configurator are not used, are there because I was reusing the "enconde" example; but looking into igvwegConfig.js is possible to see how to reuse dataSetPathPrefix similarly as done with the Encode datasource.

OK thanks, we'll look at this next week.

helios, I am reviewing your PR branch issue_171_revised and do not see hg38_custom.json?

Can you clarify where you define the dataSource configurator? In the above you have it defined in the button specific json. In the webapp code it is defined as a part of the app configuration - igvwebConfig.js.
Also, can you please indicate which branchs from igv-widgets and igv-webapp are intended to work together. I do not see the code in the branchs that corresponds to what you say in the PRs

Thanks for reviewing the PR, I'll try explaing it better clarifying as much as I can. I realized that I perhaps used the term configurator multiple times in a confusing manner.
About hg38_custom.json
I did not include the file in the repository because it was just an example for a temptative .json file that can be referenced by a custom trackRegistry.json. Follows a partial trackRegistry.json that includes the referenence to a hg38_custom.json file which is indeed the above
"hg38": [
    "resources/tracks/hg38_annotations.json",
    "resources/tracks/hg38_encode.json",
    "resources/tracks/hg38_1KG_lowCoverageCrams.json",
     "resources/tracks/hg38_custom.json"
  ],

in order to avoid multiple definitions of a very similar functions  such as encodeTrackDatasourceSignalConfigurator(genomeID) and encodeTrackDatasourceOtherConfigurator(genomeID) where what actually change are for example the inner values associated with the keys:
  suffix: '.other.txt',
  dataSetPathPrefix: 'https://www.encodeproject.org',
  urlPrefix: 'https://s3.amazonaws.com/igv.org.app/encode/',
  dataSetPath: undefined,
...

BTW, I totally agree with the choice of having those functions defined for a very stable and important datasource.
I decided to experiment the possibility of having a user defined dataSource configurator customTrackDatasourceConfigurator  that creates a basic configuration objects at runtime without the need to modify the original data-modal. Then,  using the configurator key available in the button hg38_custom.json the default values returned by customTrackDatasourceConfigurator  are override at runtime. Following this approach, I can define multiple datasources only adding more button specific .json with few more parameters. This means, I can provide to my colleagues only access to the "tracks" path so they can add their own datasources.
This works with homogeneous datasources (columns). In case of multiple datasources with a different structures the IGV maintainer can create multiple dataSourceConfigurators still in the main igvwebConfig.js file. I picked up the igvwebConfig.js` because was easier for me testing the code there.
How user defined dataSource is/are consumed?
multiple ids with their dataSouceConfigurator are passed to the createTrackWidgetsWithTrackRegistry. I did a mistake reporting only a single hg38_custom.json in the PR message, following the current example another hg38_custom_second.json file should be present/references in the tracks.
Branches intended to work together

igv-widgets 70b34e6a
igv-webapp 1e1338b1 this includes the latest igv-utils which I was using locally. I did not change the igv-utils version in my fork because i was not confident in changing the version in your package.json in the main igv-webapp.

I hope I was able to explain myself better than I did the first time.

Hey @helios ,
I just stumbled across your PR - I've been thinking / working on a separate feature based on JSON input similar to aidenlab's hicfiles.json format , however i am a bit stuck now as i noticed i have to also push some changes to the igv-widgets. let's see how this goes. Ideally, there would be an easy-to-configure, JSON based data structure which we could 'inject' ...

@tweep I'm also the author of the json labs widget and "juicebox".  We've been covered up with other things and haven't been able to get to this PR yet.   If you're referring to the json to load contact maps via the table based loader then yes that is the direction we will go.   When I find time to study this PR and compare to that I'll update this conversation.   Probably not before next week.   But in the end I expect something close to the hic project approach,  well really its the same project as this one we will definitely have a shared solution.

Thanks for the quick response, @jrobinso
and Yes - i was referring to your js/aidenLabContactMapDatasourceConfig.js in igv's data-modal . I really liked your approach of using JSON and tried to extend it, however I only realized today that I've got to modify the widgets too.
An ideal solution for me would be similar to @helios approach to have this configurable in a separate dict somewhere upstream, ie. in the trackRegistry.json so can be re-used easily by other teams without modifying the widgets or creating new configurators for every track.  I was also thinking to add hiding/un-hiding columns (via json config, not via UI). How did you integrate your ContactMapDataSource without modifying the widgets ?

@tweep  Give us a week or two and we should have something to propose.   Definitely it will be through configuration and not modification of igv-widgets.   The purpose of that project is to share code between igv-webapp and juicebox-web.

Hey there ! Any updates ? can we help ?

@tweep There is a small update that I was to share with you.
We had some trouble using the igv.js referenced in the index.html because it points to the on-line version, the most up to date. I notice that with my "code" after a while the code started to brokeup; I guess it diverged a lot form my "old-stable" version compared to the upstream/master.
My solution was to going back in time and search for a version of igv.js that worked with my inital tests. So I found that commit id: f98e31c7ca works.  With the following installation importing session does not work properly, but the remaining functionalities are OK. A work around: you can retrieve the URL link from ‘Shared’, save it in your notes and use it at a later time or share it with others.
To be honest I do not remember if I shared here the full installation guide. I am using Docker containers so this is my current/live Dockerfile
FROM openresty/openresty:1.17.8.1-centos
RUN yum install -y curl &&\
curl -sL https://rpm.nodesource.com/setup_14.x | bash - &&\
    yum install -y nodejs
RUN yum install -y git
WORKDIR /opt/
RUN git clone https://github.com/helios/igv-widgets.git
WORKDIR /opt/igv-widgets
RUN git fetch --all &&\
    rm -rf node_modules &&\
    git checkout issue_171_revised &&\
    npm install &&\
    npm install &&\
    npm run build

WORKDIR /opt/
RUN git clone https://github.com/helios/igv-webapp.git
WORKDIR /opt/igv-webapp
RUN git fetch --all &&\
   rm -rf node_modules &&\
   git checkout 47f4a41 &&\
   sed -i 's#"igv-widgets":.*$#"igv-widgets": "file:../igv-widgets",#g;s#8ee6a6e8#2c9085f#g' package.json &&\
    npm install &&\
    npm run build

ADD igvwebConfig.js ./
RUN mv dist/* /usr/local/openresty/nginx/html
RUN mv node_modules /usr/local/openresty/nginx
WORKDIR /opt/
RUN git clone https://github.com/igvteam/igv.js.git
WORKDIR /opt/igv.js
RUN git fetch --all &&\
    git checkout f98e31c7ca &&\
    npm install &&\
    npm run build &&\
    mv dist/igv.js /usr/local/openresty/nginx/html/
WORKDIR /usr/local/openresty/nginx/html
RUN sed -i 's#https://igv.org/web/snapshot/dist/igv.js#igv.js#g' index.html
WORKDIR /opt/
RUN rm -rf /opt/igv.js
RUN yum remove -y diffutils patch git nodejs
RUN yum clean all

I am really happy to discuss with whom interested or help even on the main libraries. I can understand that with a so frequent development cicles including new features can raise stability issues.

Hey there ! Any updates ? can we help ?

@tweep Thanks for the offer but what's required unfortunately is some of my time to review and get my head around the options.   We've been covered up trying to get major release done that has taken way more time than expected.   This is a priority for me and we'll get to it as soon as we get this out, which should be within a few days.   @turner @helgathorv

Hi @helios, @tweep , and anyone else following this.  Sorry for the delay.  In reviewing this (not the PR only, but the whole system),  it quickly became clear that our data-modal project needed a revamp for re-usability and to create a long term sustainable (and explainable) option for accomplishing this.   Part of that is complete, the data-modal revamp,  we now need to implement an easy means to specify these modal from igv-webapp (most of the work is in igv-widgets).    Unfortunately we are shutting down for a week, so it will be early December before we pick this up again, but should wrap it up shortly after that.   We can then revist this PR to see if there is anything not addressed.    Thanks for your patience.
In the meantime check out the revised data-modal project, particularly the examples, to see the types of options envisioned.

@jrobinso ultra busy and yet time to read all the changes, but still very interested on this.

authors: helios jrobinso turner tweep


text:
希望新增一个直播平台：猫耳FM

平台地址：https://www.missevan.com/

音频直播？

音频直播？

是的

泪流满面了啊，终于支持猫耳了。

最新3.0.1-beta版本已新增猫耳FM直播录制

authors: Akimio521 ihmily ilikeulinux

repo: ihmily/DouyinLiveRecorder


text:
ver2.1.0 Error

What should I do?

ohh good catch, im putting out a patch now. did you copy your old json file over to the new location?

v2.2.1 should work with the old account.json file if you just copy it into the new file location.

i downloaded version 2.1.1 of the lolbot.exe file and tried running it again but it still doesn't work

I downloaded ver.2.1.1 but same error

oh okay, i think i see. Your accounts must be manually transferred to the new account location.
You can either:

use the gui and manually add each account
[easier] copy the old 'lolbot/resources/accounts.json', select 'show in file explorer' on the accounts tab, and paste into that folder

let me know if one of these works for you

I copied and pasted lolbot/resources/accounts.json from ver 2.0.0, but the above error.
Once I quit the program, I could not start it.

I added the account manually and it worked.

No, you don't have to it should work from now on. The account processing within the bot was updated to work with .exe so it should work after this one time change. Sorry about that.

repo: iholston/lol-bot


text:
Apply as_str_list() to filters; test

FYI @zikolach @OFR-IIASA.
filters={...} arguments to methods like Scenario.par(...) accept any type of element that can be passed to string. This behaviour was previously untested; this PR adds tests and ensures the filters are always converted to str.
Closes #226.
Improves code added in #213, #217.
In particular, note these former lines: https://github.com/iiasa/ixmp/blob/e6b3c0d663b97b09a6ccec331ede1e2def992ca6/ixmp/backend/jdbc.py#L524-L531
Details
Where the values (from the user's filters) contained, for example, int(42), but the elements (from the Backend itself) were always str, e.g. '42', this comparison would fail, and filtered_elements would be empty.
The added call to as_str_list() further up in the method ensures this is always a string-to-string comparison.
How to review
Test with any downstream code, e.g. message_data.
PR checklist

[x] Tests added.
[x] Documentation added.
[x] Release notes updated.

In c4743ec, pytest -k test_filter_str fails.

New test passes

Turns out it does not pass on Travis #765.1:
_______________________________ test_filter_str ________________________________
test_mp = <ixmp.core.Platform object at 0x7fe5e5e11c10>
    def test_filter_str(test_mp):
        scen = ixmp.Scenario(test_mp, 'model', 'scenario', version='new')

        elements = ['foo', 42, object()]
        expected = list(map(str, elements))

        scen.init_set('s')

        # Set elements can be added which are not str
        scen.add_set('s', elements)

        # Elements are stored and returned as str
        assert expected == scen.set('s').tolist()

        # Parameter defined over 's'
        p = pd.DataFrame.from_records(zip(elements, [1., 2., 3.]),
                                      columns=['s', 'value'])
        p_exp = p.astype({'s': str})

        scen.init_par('p', ['s'])
        scen.add_par('p', p)

        # Values can be retrieved using non-string filters
        exp = p_exp.loc[1:, :].reset_index(drop=True)
        obs = scen.par('p', filters={'s': elements[1:]})
>       pdt.assert_frame_equal(exp[['s', 'value']], obs[['s', 'value']])
E       AssertionError: Attributes are different
E
E       Attribute "dtype" are different
E       [left]:  float64
E       [right]: float32
tests/test_core.py:309: AssertionError

@zikolach @OFR-IIASA if one of you would like to adjust, please go ahead. Otherwise I can deal with this after the reporting meeting tomorrow.

@zikolach on further investigation, test_cache_non_hashable was checking for an exception message:
Object of type object is not JSON serializable

However, only on AppVeyor/Windows and Python 3.6, this was the following (note the quotes):
Object of type 'object' is not JSON serializable

657aa51 attempts to fix. Please re-review and merge if checks all pass; otherwise, please investigate.

repo: iiasa/ixmp