text:
openstack block: don't cast nil

The attachment var is probably frequently (especially today) empty so I
can't var.(string) in that case.
Signed-off-by: Tim Pepper timothy.c.pepper@linux.intel.com

Coverage increased (+0.006%) to 65.508% when pulling 11c36ea581192620e351600495d57d4434fc8534 on tpepper:storage into ad3009820ece342f4e6f8d295c608d7809dc8137 on 01org:kaccardi/topic/storage.

source: gharchive/pull-request

authors: coveralls tpepper

license_type: permissive

license_source: github-api


text:
libthai.so.0 not found when running ActorEditor

Hyperion reported on the forum:

$ ./ActorEditor
/tmp/.mount_ActorEge8Yqx/usr/bin/ActorEditor: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory

I suspect related to #2

For me, ActorEditor runs but I get
$ ./ActorEditor
Gtk-Message: 16:51:24.838: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:51:24.843: Failed to load module "canberra-gtk-module"
/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

source: gharchive/issue

license: MIT


text:
[QoL] Rename TJAPlayer3.log to OpenTaiko.log in code

self-explanatory, very simple to do. also removes TJAPlayer3 references
update: i have added my commit itself to fix this issue personally as no one seems to have time to update it https://github.com/TheFearlessDeath500/OpenTaiko/commit/8e93d6079dde5bc1bd2e2c0ca9474bdd0216da5c

IT'S DONE IT'S FINALLY DONE AHAHAHAHAHA


text:
get-value matching nodes with having certain child nodes

Google Cloud outputs yaml like this for meta data:
commonInstanceMetadata:
  fingerprint: ..
  items:
  - key: SQL_INSTANCE_IP
    value: 123.45.6.78
  - key: SQL_INSTANCE_NAME
    value: database-server

Is there any way to use shyaml get-value to get the value of the "value" key on a node having a "key" matching a specified string? e.g. something like:
gcloud compute project-info describe | shyaml get-value commonInstanceMetadata.items[key=SQL_INSTANCE_IP].value

Right now I'm doing:
gcloud compute project-info describe | shyaml get-value commonInstanceMetadata.items | grep -A1 SQL_INSTANCE_IP | shyaml get-value 0.value

which seems to work, but I'm wondering if there is a better way without using grep?

That's a great idea, this is going towards xpath way, and you should know that parsing such a string is not trivial. Any PR is welcome though.

authors: CodeCommander vaab

license_source: bigquery


text:
🛑 Eproc is down

In 68f5b44, Eproc (https://eproc.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Eproc is back up in 01c00fb after 1 hour, 42 minutes.


text:
Feature - State Sync manager

Description
Introduced a concept of StateSyncManager, a struct that handles state sync saving workflow, and building and submitting commitments to the StateReceiver contract.
StateSyncManager is one of the building blocks in consensus_runtime, but it encapsulates the state sync logic mentioned above.
This makes testing easier (as we can mock the state sync workflow, in consensus_runtime tests, much more easily), makes code more granular and separates logic to concerning parts.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[x] I have tested this code manually

This function can be safely removed from consensusRuntime (used only in the unit test)
func validateVote(vote *MessageSignature, epoch *epochMetadata) error {

authors: Stefan-Ethernal ferranbt


text:
Declare contract returns error

Error: BadRequest: HTTP error ocurred. Status: 500. Text: {"code": "StarknetErrorCode.ENTRY_POINT_NOT_FOUND_IN_CONTRACT", "message": "Entry point 0x289da278a8dc833409cabfdad1581e8e7d40e42dcaed693fa4008dcdb4963b3 not found in contract with class hash 0x6a2c4510a0eb1bbcb75b66b23b9f3897c43644b1c86c2547cbe708f97c8f18b."}
Getting the following error when declaring  the AMM compiled code here
using following command
starknet declare --contract contract_compiled.json

Hello!
This is not related to the starknet.js library as far as I can see (I guess you are following this tutorial https://starknet.io/docs/hello_starknet/intro.html)! Please seek help on discord!

@ivpavici I am unable to join starknet discord. Can you please in this regard. Yes, I am following the same link tutorial you shared.


text:
run debug error on mojave

dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator
Referenced from: /usr/lib/system/libxpc.dylib
Expected in: /Users/xxxx/Library/Developer/Xcode/DerivedData/objc-ccgnoycdykfcdtfetssxtbpuvizg/Build/Products/Debug/libobjc.A.dylib
in /usr/lib/system/libxpc.dylib

.

Update to latest objc4-781, macOS Catalina supported #12


text:
Redisの環境変数を編集して設定するように修正

変更内容
Herokuで使用するRedisの環境変数を編集して設定するように修正しました。
現行の内容だとHeroku側で勝手に更新されてアプリが動かなくなるためです。
ここの内容に対応しています。
https://github.com/1-system-group/Diary-Sample/wiki/heroku-Tips#環境変数


text:
🛑 Summary Safety Decision API is down

In 4aab5a8, Summary Safety Decision API ($SBD_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Summary Safety Decision API is back up in b59e26e after 36 minutes.


text:
Remove Styleguide related files on Plugin

Related to https://github.com/10up/wp-scaffold/issues/6 but plugin def should not have styleguide related files. These are for styleguide page template that is included within the theme. They are not even enqueued so no point to have this on the plugin.

PR: https://github.com/10up/wp-scaffold/pull/8


text:
在comfyui里无法显示工作流档案名

w11。chrome插件已全关 版本 125.0.6422.77 (正式版本) (64 位元)。
workspace版本最新或切换到任何一版都无法使用。
重git安装也是一样。
最奇怪的是。按新增资料夹却有作用！！
#请问该如何解决？#

你能否打开任意一个.json 比如IPAdapter23. json
把json内容粘贴进来方便我debug

这个error message的意思是json解析失败，可能跟你的json file格式有关 我需要看一下你本地json的内容

突发奇想的用了https那个位置，就没问题。

.json档之前都可以用也可以显示。
附上[
IPAdapter2345.json
](url)

哎真是奇了怪了 我下载下来了你的json文件，放进去了我的/my_workflows/ 里面 确实没有问题 可以读取 window和mac都可以读取显示出来。。。
http和https竟然会有这个区别我也是没想到🫠🫠 http:127.0.0.1:8188 不行 https:127.0.0.1:8188 就可以了？

.json档之前都可以用也可以显示。

你是做了什么之后发现就不能用了吗？比如更新了版本？
我有点儿想不出来是为什么。。你要不再试试更新一下，直接用git clone https://github.com/11cafe/comfyui-workspace-manager.git来安装到custom_node里面，重启一下python server然后看看

chrom浏览器有问题的机率很大。
因为我用http:127.0.0.1:8188    在edge上就没问题。

chrom浏览器有问题的机率很大。 因为我用http:127.0.0.1:8188 在edge上就没问题。

太奇怪了。。你的报错是在python控制台的报错，说明是后台的问题，但是换浏览器有作用的话，说明是前端/客户端的问题，你浏览器F12的话console上有问题吗。。。

提供截图。我看不懂。

你能F12 Application 然后给我截一下图吗， 我看一下你indexdb大小多少

你能 F12 Application 然后给我截一下图吗， 我看一下你 indexdb 大小多少

哇塞。32.5MB。大了你的6倍。

hi this should be fixed in the latest version, please update and see if you are still experiencing the issue. thank you!

authors: Weixuanf bookbindinggithub


text:
crash

0 libobjc.A.dylib | objc_retain + 16
1 newhwmc | -[TYCyclePagerView addCollectionView] (TYCyclePagerView.m:102)
2 newhwmc | -[TYCyclePagerView initWithFrame:] (TYCyclePagerView.m:75)
3 newhwmc | -[HWSelBannerCell bannerView] (HWSelBannerCell.m:170)
4 newhwmc | -[HWSelBannerCell setupUI] (HWSelBannerCell.m:48)
5 newhwmc | -[HWSelBannerCell initWithFrame:] (HWSelBannerCell.m:39)
6 UIKit | -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:] + 892
7 UIKit | -[UICollectionView dequeueReusableCellWithReuseIdentifier:forIndexPath:] + 180
8 newhwmc | -[HWSelGoodsController collectionView:cellForItemAtIndexPath:] (HWSelGoodsController.m:0)
9 UIKit | -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:] + 432
页面整体是一个collectionView。TYCyclePagerView放到第一个cell上面做轮播图。线上崩溃日志中找到了这个崩溃信息。

看不出来 问题

license: mit


text:
Help

I am new, needing a little direction please.

Steveconnects.com is goal number 1


text:
Draft/send shipping news [6/28]

Description
Definition of done

[ ]
[ ]
[ ]

Attachments
title

Let's send out wednesday EOD and combine this week too

authors: Jacklynn UchMok


text:
Evaluate bundled services

This broker comes with several services, some of which rely on custom images.

Which services and plans should we offer to users?
Are the bundled services adequate for our needs? We should vet the services that we plan to use.
Are there services we want to add? Possibly newer versions of postgres, elasticsearch
Is the service HA?
Is the service secure?
Initial sizes - small / med / large / xlarge
Is the service backed up?

Initial Services

[ ] Mysql
[ ] ElasticSearch
[ ] PostgreSQL
[ ] MongoDB
[ ] Redis

cc @sharms

Issue moved to 18F/cg-atlas #151 via ZenHub

authors: jmcarp sharms


text:
Added the multithreading support!

https://github.com/1Codealot/CLI_Timer/issues/29

ukfsgzdhjfhsdfuibauilfgcyukzyfhceusdjz\fchyucacjkfhcuiasdhfusigfwuoafowafyuasgdfelishfjlshadjlfhuigfyukasdfmcshadlkfhasd.
WHYOHWHY DOESN'T MAKE CROSS WORK
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⣉⣉⠙⠿⠋⣠⢴⣊⣙⢿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⢀⠔⡩⠔⠒⠛⠧⣾⠊⢁⣀⣀⣀⡙⣿
⣿⣿⣿⣿⣿⣿⣿⠟⠛⠁⠀⠀⠀⠀⠀⡡⠊⠀⠀⣀⣠⣤⣌⣾⣿⠏⠀⡈⢿⡜
⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠡⣤⣶⠏⢁⠈⢻⡏⠙⠛⠀⣀⣁⣤⢢
⣿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣄⡀⠣⣌⡙⠀⣘⡁⠜⠈⠑⢮⡭⠴⠚⠉
⠁⠀⢀⠔⠁⣀⣤⣤⣤⣤⣤⣄⣀⠀⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠁⠀⢀⣠⢠
⡀⠀⢸⠀⢼⣿⣿⣶⣭⣭⣭⣟⣛⣛⡿⠷⠶⠶⢶⣶⣤⣤⣤⣶⣶⣾⡿⠿⣫⣾
⠇⠀⠀⠀⠈⠉⠉⠉⠉⠉⠙⠛⠛⠻⠿⠿⠿⠷⣶⣶⣶⣶⣶⣶⣶⣶⡾⢗⣿⣿
⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣿⣶⣾⣿⣿⣿
⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣝⡻⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡹⣿⣿⣿⣿⣿⣿

ALSO ITS A DIFFERENT ERROR TO MY MACHINE RUNNNININGINIG IT
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⣉⣉⠙⠿⠋⣠⢴⣊⣙⢿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⢀⠔⡩⠔⠒⠛⠧⣾⠊⢁⣀⣀⣀⡙⣿
⣿⣿⣿⣿⣿⣿⣿⠟⠛⠁⠀⠀⠀⠀⠀⡡⠊⠀⠀⣀⣠⣤⣌⣾⣿⠏⠀⡈⢿⡜
⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠡⣤⣶⠏⢁⠈⢻⡏⠙⠛⠀⣀⣁⣤⢢
⣿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣄⡀⠣⣌⡙⠀⣘⡁⠜⠈⠑⢮⡭⠴⠚⠉
⠁⠀⢀⠔⠁⣀⣤⣤⣤⣤⣤⣄⣀⠀⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠁⠀⢀⣠⢠
⡀⠀⢸⠀⢼⣿⣿⣶⣭⣭⣭⣟⣛⣛⡿⠷⠶⠶⢶⣶⣤⣤⣤⣶⣶⣾⡿⠿⣫⣾
⠇⠀⠀⠀⠈⠉⠉⠉⠉⠉⠙⠛⠛⠻⠿⠿⠿⠷⣶⣶⣶⣶⣶⣶⣶⣶⡾⢗⣿⣿
⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣿⣶⣾⣿⣿⣿
⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣝⡻⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡹⣿⣿⣿⣿⣿⣿

⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⣉⣉⠙⠿⠋⣠⢴⣊⣙⢿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⢀⠔⡩⠔⠒⠛⠧⣾⠊⢁⣀⣀⣀⡙⣿
⣿⣿⣿⣿⣿⣿⣿⠟⠛⠁⠀⠀⠀⠀⠀⡡⠊⠀⠀⣀⣠⣤⣌⣾⣿⠏⠀⡈⢿⡜
⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠡⣤⣶⠏⢁⠈⢻⡏⠙⠛⠀⣀⣁⣤⢢
⣿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣄⡀⠣⣌⡙⠀⣘⡁⠜⠈⠑⢮⡭⠴⠚⠉
⠁⠀⢀⠔⠁⣀⣤⣤⣤⣤⣤⣄⣀⠀⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠁⠀⢀⣠⢠
⡀⠀⢸⠀⢼⣿⣿⣶⣭⣭⣭⣟⣛⣛⡿⠷⠶⠶⢶⣶⣤⣤⣤⣶⣶⣾⡿⠿⣫⣾
⠇⠀⠀⠀⠈⠉⠉⠉⠉⠉⠙⠛⠛⠻⠿⠿⠿⠷⣶⣶⣶⣶⣶⣶⣶⣶⡾⢗⣿⣿
⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣿⣶⣾⣿⣿⣿
⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣝⡻⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡹⣿⣿⣿⣿⣿⣿

ILL fix soonTM

At least we have the same error?

Ok sow I'm gonna use std::future::async. Wish me luck!!!

Also  gonna make the wait time in the update cache function be 0 if --no_prompt --no_enter is enabled.
So I'm gonna pass the Args struct to the func by pointer

I have changed line 40 in the original code example from std::thread cache_updater(updateCache, &cache, &quit); to auto cache_updater = std::async(std::launch::async, updateCache, &cache);

Ok so some stuff doesn't work with mingw

Ill add this to make cross (and remove it with make clean) and edit the workflow file to git clone it.

YK what. Im just gonna remove the make cross because it isn't working.

Sadly, using  --no_prompt, --no_enter and --count{n} causes segfaults.
Ill fix that sooooonTM

YES!!! YESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYES!!!11!11
IT WORKS!!

So I also messed with makefile and I found -O2 flag to work well.
Proof:


text:
One Password vault item Notes are not accessible

Scenario & Reproduction Steps
The documentation implies (checkbox is checked) that Notes field should be accessible in item object but it is not. Is not present in the list of item fields and therefore cannot be retrieve for item related actions (i.e. create, etc).
Actual Behavior
Notes field should be accessible in item object but it is not.
Expected Behavior
Notes field should be accessible.
SDK version
onepassword-sdk==0.1.5
Additional information
No response

@einstein-aws Thank you for raising this! Notes are indeed fields we do not yet support in the SDK.
I have just updated the README to reflect that: https://github.com/1Password/onepassword-sdk-python/pull/137
I will keep this issue open and ping you once this is supported, as we're planning to work on it in the next couple of months.

authors: einstein-aws hculea


text:
Error on logs, double log for the same cart, one with correct payment, one with error and transaction code as tool

Hello, I recently upgraded the module to 5.4.3 on my 1.7.6.7 PS.
All of a sudden I encountered errors on all my transaction with double log rows for the same, one successful and with as an error.
Below you can find a couple of examples.

Before that all transactions had only one row with the info tag, and no errors.
Any toughts? Thanks in advance.

Hello,
Thank you for your message.
We will try to reproduce the issue on our test environments.
Could you please tell me the number of the version that you had before the upgrade?
Thank you !

Sure, 5.2.0.

I can add more info.
I tried on my dev env, same upgrades, but on paypal sandbox env, and the result was no error at all, so everything working fine.
Investigating on production I noticed that the error started to show up a few days before the update of the paypal module, hence when it was still on 5.2.0, but after I made a few other updates on other modules, which I thought were not connected at all, but probably I am wrong. Can you suggest me if there are modules (even PS native) which could influence your modules functionality? For instance, I upgraded PS cart module to the latest version...
Furthermore, on PS logs, there are no rows related to the matter.
Thanks!

Some more info: paying an order with paypal works for the user (the process works, the payment is done) , but the result page on the website says "error with paypal systems"  on  or something like that.

Ok, I don't know how, but I was able to intercept that the user after the payment was wrongly redirect on error thank you page like this:

What does it have to do with mailchimp?

Hello @masiorama,
Thank you for these information!
Unfortunately we could not reproduce the issue on our side.
It would be better to contact our support team. We will be happy to help you to solve the issue directly on your environment.
You can mention the link to this issue, so we will see all details.
Have a nice day !
Best regards,
Tetiana

On your test did you have Mailchimp module installed? https://addons.prestashop.com/en/newsletter-sms/26957-mailchimp-for-prestashop.html#specifications
Since I have that strange error mentioning mailchimp, could it be something related to that.
Thanks, I will also contact the support theme.

No, we did not test with the Mailchimp module.
It would be much more efficient if we check the issue directly in your environment because as you had it since v5.2.0 it seams complicated to reproduce.
Yes, thank you. Our support team will answer you in best delay ! :)

Well, I decided to dig inside the Mailchimp module (linked above) and then reconfigured it from scratch... done that, the module started to work correctly, so no double rows on paypal logs and everything is working as expected. @tvorgul  I suggest to you (and devs) to check that module because somehow can interfere with paypal module.
Thanks for your assitance.

Hello ! @masiorama
Thank you for this information !
We will check it.
Have a nice day !

authors: masiorama tvorgul


text:
How to import python library?(eg.numpy)

What do I need to do if I want to import a third-party library（eg. numy）?

Depending on whether you are using embedded python or not, you can use pip to install any package.

In my case I added a python path.
import sys
sys.path.append("D:/USER/py36/Lib/site-packages")
sys.path.append("C:/Python27/Lib/site-packages")

and It worked.

authors: BulletHermit HanChangHun Schizo


text:
using unreal_engine module in a third party text editor

Hi everyone. I'm just starting to explore this awesome plugin. I intend to work with python code using PyCharm and it's curious to know if  i can import unreal_engine there and how to do this

after some searching i found probably right answer that unreal_engine is generated when editor starts (to support blueprint classes and etc.)

after some searching i found probably right answer that unreal_engine is generated when editor starts (to support blueprint classes and etc.)
How did you solve it ？

after some searching i found probably right answer that unreal_engine is generated when editor starts (to support blueprint classes and etc.)
How did you solve it ？

You can't  actually "solve" it, because  ** unreal_engine**  is not static module which exists as a file with all functions and etc. This thing (object) is generated dynamically when the editor is started and source code of the Engine and  code of your project is available. Then C++ codebase is processed and stored in memory  in a way that you can call these functions from python code.
Anyway, you can write your own python classes which will wrap your gameplay objects  and contain required methods. In these methods your will just call the method provided by ** unreal_engine** . As a result you will able to use many features that are provided by IDE you use

@mr-maul
Well, thank you


text:
表单中，在Form的外面使用了react native 自带的组件ScrollView后无法使用clearable（无法清除输入框里面的内容）

表单中，在Form的外面使用了react native 自带的组件ScrollView后无法使用clearable（无法清除输入框里面的内容）。

参考文档：ScrollVIew - keyboardShouldPersistTaps
<ScrollVIew keyboardShouldPersistTaps="handled"></ScrollVIew>

感谢。

authors: jiaoxiaoyuan onlyling


text:
버그 수정

링크에 # 넣으면 버그남

1.5.8.1 패치 예정

완료


text:
Add WZAGZIG and VZAG scan patterns

These new scan patterns have been implemented as X/Y pre-transformations so that they'll be easier to understand and maintain in the future. I'd eventually like to migrate the other scan patterns to X/Y transformations as well, but I don't have the panels to verify solutions.

Alright, this is now updated for the latest changes to make VZAG work properly.

cool ... can i just merge this? zero time to review....

Yep, it's ready to merge.

done ... thanks for all the effort!


text:
[New Hub] MUST on Catalyst Project Africa cluster

ref: https://github.com/2i2c-org/infrastructure/issues/3305

This will be deployed to must.af.catalystproject.2i2c.cloud

So visiting https://must.af.catalystproject.2i2c.cloud is returning a 404 for me 😕

So visiting https://must.af.catalystproject.2i2c.cloud is returning a 404 for me 😕

Okay, so it will be available when it's merged? I edited the PR comment.
Also, do I need to change any other configurations in the load balancer? :thinking:

Okay, so it will be available when it's merged?

No, if you've run deployer deploy $CLUSTER_NAME $HUB_NAME locally it should be available immediately. We tend to deploy new hubs manually first and check they work, ask for feedback from the hub champion, before merging, as we can sometimes make tweaks as part of the setup.
If you have deployed locally, then we need to do more investigation as to why this is not working, but I cannot see any obvious issues from the files changed (though I am on my phone).

Fantastic! No, I didn't deploy it locally. Now it's running!

Aah! I didn't see that. Done!

After logging in, I get bounced to https://must.af.catalystproject.2i2c.cloud/user/jmunroe@2i2c.org/rstudio? (which gives a 404)
I think I should be redirect to https://must.af.catalystproject.2i2c.cloud/user/jmunroe@2i2c.org/lab (which does work).
I haven't yet looked at why this occurring.

I think now we have a hub on this cluster using a different image, it makes sense to move the RStudio image definition from common.values.yaml and into the relevant hub-specific values files. I was going to do this after this PR was merged, but we may have to do it beforehand if there's a problem with this hub.

@jmunroe We are picking up rstudio as the default URL from these lines in common.values.yaml
https://github.com/2i2c-org/infrastructure/blob/31d7b50302aea67a83642eebcf88202c2bc2a30a/config/clusters/catalystproject-africa/common.values.yaml#L81-L82
@AIDEA775 I opened https://github.com/AIDEA775/2i2c-infrastructure/pull/1 which you should be able to merge into this PR. Then if you redeploy, I think the James reported will be fixed.

Okay, redeployed, and now it's working properly.
Note: The default url is https://must.af.catalystproject.2i2c.cloud/user/asilva@2i2c.org/tree no /lab.

@jmunroe @sgibson91 Any update on this? Can we proceed?

@AIDEA775 Have you commented on the related issue and invited the community champion to try it and provide feedback?

The community champion gave the okay. I rebased the branch to maintain a clean history :D


text:
Run through our internal hub cost estimates

Right now, we have very conservative estimates of how much labor it will take to run hub infrastructure. We should look at these estimates, and try to refine the numbers so that we can give reasonable prices.
What goes into labor?

Initial conversations about what is needed for a hub
Initial deployment of the hub
Customization of the hub beyond default environments
Ongoing maintenance of hubs, that may or may not be tied directly to a single hub
Dedicated maintenance for a given hub (e.g., being asked to change the environment)
User support for a given hub (e.g., being asked a question about the hub, or a perceived outage)

What hub types to consider
Below I'll list a few types of hubs, a brief description, and a totally arbitrary estimation of "days per month" for development and operations. We should discuss these days/month and get to a number that is more realistic!

Hub Type
User
Description
Dev Days / Month
Ops Days / Month

Education Light
This is the most basic hub we have. Simple data science environment with minimal resources for students.
small or basic class
0.1
0.25

Education Full
This is a more complex educational environment (e.g., with more packages, autograding, etc)
complex or large class
4
4

Research Light
"basic data science environment". Think "The PyData Stack" but nothing extremely complex.
Lab/Team with modest funds or that needs a minimal envt.
0.5
1

Research Pangeo
research light + some more complex and scalable infrastructure like Dask Kubernetes
Lab/Team with larger datasets and more complex needs
4
4

@choldgraf I've updated the numbers! I think the list of things you stated make sense. I'm not entirely sure having hours like this is the best way to go, but let's try it out and see where it takes us?

@yuvipanda just a note that this is days per month, not hours. So 1 day ~= 5-6 hours. Does that change your opinion?
I agree this probably isn't the best way of thinking about our own internal costs, but we need some way to estimate "how many hubs can we take on, given our engineering team, before we start to hit capacity". I'm not sure how else to go about estimating this :-/

closing this as it no longer reflects how we're currently thinking about costs and pricing, and it's unclear if this is a good way to break down our costs

authors: choldgraf yuvipanda


text:
Aa

#include <studio.h>s

0363553362
Vào 2:47, Th 5, 11 thg 11, 2021 Jamesbenglili @.***> đã
viết:

#include <studio.h>s
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/2percentsilk/haikus-for-codespaces/issues/60, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQKO6XLWF7YJLWQV5FNDZSDULLD5FANCNFSM5HYXRULQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

https://docs.google.com/forms/d/e/1FAIpQLSctZVM5ZUIw-jHFOHz69-tvkpuu8GxRC9DshlIzoxIlDhOkqg/viewform #39

https://docs.google.com/forms/d/e/1FAIpQLSctZVM5ZUIw-jHFOHz69-tvkpuu8GxRC9DshlIzoxIlDhOkqg/viewform

0363553362 Vào 2:47, Th 5, 11 thg 11, 2021 Jamesbenglili @.***> đã viết:
…
#include <studio.h>s — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#60>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKO6XLWF7YJLWQV5FNDZSDULLD5FANCNFSM5HYXRULQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

#include <studio.h>s

https://github.com/2percentsilk/haikus-for-codespaces/issues/60#issue-1050239381

#62


text:
Description links to dodgy site

The description at https://github.com/316k/DopeWars.js points to http://wasting-ti.me/dopewars.js/ which forwards on to a dodgy site trying to fool people into thinking it's genuine.

Yeah... I forgot to renew that domain name, I'll change the links in my projects.
Thanks for the interest !


text:
Warning fixes (everywhere)

I made the mistake of looking at my build output.
After reducing the warning count a lot, this also sets the same warning flags as the boilerplate to hopefully catch more warnings. (May result in more commits if actions reports loads)

... or the actions could just... not run. Warnings must be bad then.

5x the commits later... macOS and MinGW are clean, STM32 has 6 warnings, PicoSystem is mostly fixed by #764, VS is... VS and I'm leaving the clang-tidy stuff in the Linux build for now.
(I ran clang-tidy and now I have a... kiloproblem?)

(I ran clang-tidy and now I have a... kiloproblem?)

Hmm, it's not that bad, https://github.com/Daft-Freak/32blit-beta/commit/d7bd600470c39ca16a5d97284aaefa37417bb4d6 fixes more than half of those (I was bored)

I guess I should merge this first and then duck under the maelstrom of merge conflicts :eyes:

Mmm yeah, I really got carried away there didn't I? :laughing:

QUICK! MERGE :laughing:

authors: Daft-Freak Gadgetoid


text:
🛑 Dendrite Matrix is down

In d869fb6, Dendrite Matrix (https://matrix.frai.se/_matrix/static/) was down:

HTTP code: 502
Response time: 511 ms

Resolved: Dendrite Matrix is back up in 3eb01fc after 9 minutes.


text:
Auto HDR not working in version 3.0.0

the game wont wont start at fullscreen and Auto HDR doesn't work with the new version had to rollback to older version.

Try version 3.0.1.

I had the same problem of not running in full screen on startup (Already check Fullscreen in app ). And when the program minimizes, it cannot be opened again. I'm still very happy and grateful because with the latest updated version I can use the app again.


text:
Support more route format

Can you support this format: "Router::get('/bar', 'FooController::bar');" with double colons separating the components?
so that the Hyperf framework can also be used

Can you support this format: "Router::get('/bar', 'FooController::bar');" with double colons separating the components? so that the Hyperf framework can also be used

Have been recorded


text:
Object has no attribute 'set_camera_orientation'

First off, I'm not sure whether this error is related more to Manim or Python so don't kill me for that. So I've tried to run this program from a YouTube video (here it is), which is supposed to be an animation of the Lorenz Attractor.
Code:
from manimlib.imports import *

class Lorenz_Attractor(ThreeDScene):
    def construct(self):
        axes = ThreeDAxes(x_min=-3.5,x_max=3.5,y_min=-3.5,y_max=3.5,z_min=0,z_max=6,axis_config={"include_tip": True,"include_ticks":True,"stroke_width":1})
        dot = Sphere(radius=0.05,fill_color=BLUE).move_to(0*RIGHT + 0.1*UP + 0.105*OUT)

        self.set_camera_orientation(phi=65 * DEGREES,theta=30*DEGREES,gamma = 90*DEGREES)
        self.begin_ambient_camera_rotation(rate=0.05)            #Start move camera

        dtime = 0.01
        numsteps = 30

        self.add(axes,dot)

        def lorenz(x, y, z, s=10, r=28, b=2.667):
            x_dot = s*(y - x)
            y_dot = r*x - y - x*z
            z_dot = x*y - b*z
            return x_dot, y_dot, z_dot

        def update_trajectory(self, dt):
            new_point = dot.get_center()
            if get_norm(new_point - self.points[-1]) > 0.01:
                self.add_smooth_curve_to(new_point)

        traj = VMobject()
        traj.start_new_path(dot.get_center())
        traj.set_stroke(BLUE, 1.5, opacity=0.8)
        traj.add_updater(update_trajectory)
        self.add(traj)

        def update_position(self,dt):
            x_dot, y_dot, z_dot = lorenz(dot.get_center()[0]*10, dot.get_center()[1]*10, dot.get_center()[2]*10)
            x = x_dot * dt/10
            y = y_dot * dt/10
            z = z_dot * dt/10
            self.shift(x/10*RIGHT + y/10*UP + z/10*OUT)

        dot.add_updater(update_position)
        self.wait(420)

When I run this code, I get this:
Error:
Traceback (most recent call last):
  File "C:\Users\Azelide\manim\manim.py", line 5, in <module>
    manimlib.main()
  File "C:\Users\Azelide\manim\manimlib\__init__.py", line 12, in main
    scene.run()
  File "C:\Users\Azelide\manim\manimlib\scene\scene.py", line 76, in run
    self.construct()
  File "lorenztrick.py", line 8, in construct
    self.set_camera_orientation(phi=65 * DEGREES,theta=30*DEGREES,gamma = 90*DEGREES)
AttributeError: 'Lorenz_Attractor' object has no attribute 'set_camera_orientation'

This looks to me quite inexplicable, since set_camera_orientation does exist in the Manim library and I assume the code should work fine otherwise, you can see the video for the demonstration.
Also, this is already a different issue but when I've tried running the 8 scenes from the example_scenes.py, they worked quite ok apart from the first scene (OpeningManimExample) giving me this traceback after I see the transformation of z to z^2:
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-79 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-114 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-116 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-104 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-105 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-110 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-107 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-103 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-111 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-102 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-101 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-112 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-108 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-97 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-115 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-44 not recognized
  warnings.warn(f"{ref} not recognized")
C:\Users\Azelide\manim\manimlib\mobject\svg\svg_mobject.py:132: UserWarning: g1-109 not recognized
  warnings.warn(f"{ref} not recognized")

I'm running on Python 3.9.1, Windows 10 64-bit, in virtualenv. I was getting exactly the same errors both when not running via virtualenv and running via virtualenv. Reinstalled everything a few times, routed everything necessary to PATH in environment variable settings, nothing has improved.

set_camera_orientation is removed in the new version, you can achieve the same effect by using self.camera.frame.set_euler_angles.
And begin_ambient_camera_rotation has also been deleted, you can use self.camera.frame.add_updater(lambda m, dt: m.increment_theta(0.05 * dt)) to achieve the same effect.
If you still want to use this, you can download the old version from the current cairo-backend branch.
As for UserWarning: ... not recognized, this may be an issue of LaTeX and dvisvgm, you can search about it in the issue page. Sorry, but I don't know more about it.

Ah okay, thank you @TonyCrane. I'm gonna use these new ones. I'd searched up something about dvi-svg conversion issues already, one of the solutions somebody suggested was to delete the wrong svg files and run a command in cmd prompt. However, I can't really find where are the svg files getting saved... Also, in my case it's g1-xxx not being recognized instead of g0-xxx, which might be making some difference too. Does anybody have further suggestions on this?

The svg is saved in the Tex/ folder under the temporary_storage directory you set in custom_defaults.yml. If you do not set it, it will be staved in C:\Users\Azelide\Temp\Tex\ by default.
For more questions about this, maybe you'd better open another issue to seek help from others.

authors: Azelide TonyCrane


text:
Minor fix for zooming

It's weird that when you Scroll Up, the interactive shell zooms out.
So to fix this replace factor -> 1/factor .

Motivation

It's weird that when you Scroll Up, the interactive shell zooms out, this is generally the other way round for most of the UI's.
Proposed changes

Simply replace factor -> 1 / factor.

I guess this problem is caused by the natural scrolling of the Mac system.
Grant uses MacOS, and the default scrolling in MacOS is natural scrolling, which makes the operation on the touchpad very natural and direct. But if MacOS is connected to an ordinary mouse, the scrolling direction of the mouse wheel will be opposite to that of Windows (Windows is using unnatural scrolling, and the direction is just opposite to that of Mac). At this time, a software is generally installed to reverse the scrolling direction of the mouse. In this case, scrolling up with the mouse is equivalent to scrolling down under normal conditions (including Windows and Mac). Therefore, Grant may be designed like this, so that the mouse on the Mac can achieve the effect of scrolling up to zoom in, but it has caused the problem of scrolling up to zoom out on other systems.
I don’t know if it’s a good idea to judge the OS here, maybe @3b1b should come and have a look?

I am also using a Mac system. I installed the Scroll Reverser software to reverse the direction of the mouse wheel. In other places, I can use the mouse wheel as on the Windows system, and scroll up when I press z to zoom in the scene. So I made this conjecture.

Honestly, either one works for me.

authors: 3b1b TonyCrane nutanstrek


text:
Logstash crashes during startup "Could not execute action: PipelineAction"

logstash         | [2020-09-03T19:43:32,780][INFO ][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=>{"index_patterns"=>"logstash-", "version"=>60001, "settings"=>{"index.refresh_interval"=>"5s", "number_of_shards"=>1}, "mappings"=>{"dynamic_templates"=>[{"message_field"=>{"path_match"=>"message", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false}}}, {"string_fields"=>{"match"=>"", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false, "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}], "properties"=>{"@timestamp"=>{"type"=>"date"}, "@version"=>{"type"=>"keyword"}, "geoip"=>{"dynamic"=>true, "properties"=>{"ip"=>{"type"=>"ip"}, "location"=>{"type"=>"geo_point"}, "latitude"=>{"type"=>"half_float"}, "longitude"=>{"type"=>"half_float"}}}}}}}
logstash         | [2020-09-03T19:43:32,859][INFO ][logstash.outputs.elasticsearch][main] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["http://elasticsearch:9200"]}
logstash         | [2020-09-03T19:43:32,864][INFO ][logstash.filters.geoip   ][main] Using geoip database {:path=>"/usr/share/logstash/GeoIP/GeoLite2-City.mmdb"}
logstash         | [2020-09-03T19:43:32,943][INFO ][logstash.outputs.elasticsearch] Using a default mapping template {:es_version=>7, :ecs_compatibility=>:disabled}
logstash         | [2020-09-03T19:43:33,168][INFO ][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=>{"index_patterns"=>"logstash-", "version"=>60001, "settings"=>{"index.refresh_interval"=>"5s", "number_of_shards"=>1}, "mappings"=>{"dynamic_templates"=>[{"message_field"=>{"path_match"=>"message", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false}}}, {"string_fields"=>{"match"=>"", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false, "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}], "properties"=>{"@timestamp"=>{"type"=>"date"}, "@version"=>{"type"=>"keyword"}, "geoip"=>{"dynamic"=>true, "properties"=>{"ip"=>{"type"=>"ip"}, "location"=>{"type"=>"geo_point"}, "latitude"=>{"type"=>"half_float"}, "longitude"=>{"type"=>"half_float"}}}}}}}
logstash         | [2020-09-03T19:43:33,172][ERROR][logstash.agent           ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create, action_result: false", :backtrace=>nil}
logstash         | [2020-09-03T19:43:33,541][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
logstash         | [2020-09-03T19:43:38,444][INFO ][logstash.runner          ] Logstash shut down.
logstash         | [2020-09-03T19:43:38,538][ERROR][org.logstash.Logstash    ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Thanks! Working to revise and correct...

I can confirm that its working now.
I just had to edit docker-compose for single node use.


text:
Error: Server at 127.0.0.1:11211 not available

LOG
Error: Server at 127.0.0.1:11211 not available
at Client.memcachedCommand [as command] (/home/hello.com/node_modules/memcached/lib/memcached.js:306:70)
at Client.get (/home/hello.com/node_modules/memcached/lib/memcached.js:830:10)

But Memcached active.
# service memcached status
● memcached.service - memcached daemon
   Loaded: loaded (/lib/systemd/system/memcached.service; disabled)
   Active: active (running) since Thu 2017-03-23 08:35:35 EDT; 10s ago
 Main PID: 1538 (memcached)
   CGroup: /system.slice/memcached.service
           └─1538 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1

Mar 23 08:35:35 trampamp systemd[1]: Starting memcached daemon...
Mar 23 08:35:35 trampamp systemd[1]: Started memcached daemon.

# telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
stats
STAT pid 1538
STAT uptime 876
STAT time 1490273409
STAT version 1.4.21
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 0.025996
STAT rusage_system 0.006998
STAT curr_connections 5
STAT total_connections 8
STAT connection_structures 6
STAT reserved_fds 20
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 2
STAT cmd_touch 0
STAT get_hits 0
STAT get_misses 0
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 46
STAT bytes_written 15
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT malloc_fails 0
STAT bytes 0
STAT curr_items 0
STAT total_items 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT evictions 0
STAT reclaimed 0
STAT crawler_reclaimed 0
STAT lrutail_reflocked 0
END

Is project dead?

@4h0y Did you solve this problem? I have the same issue.

@zhenfan0753 I used a different port. For example 11212

Looks like I got it!
this is how my memcached is started
memcached -p 11212 -m 256 -c 1024 -I 20m

and this was the client creation
new Memcached(
    options.host + ':' + options.port, {
        maxValue: 33554432
    }
);

when i corrected maxValue to the value <= 20Mb, for example 10485760
in logs instead of those unexpected errors i sometimes see for too big items
Error: The length of the value is greater than 10485760

which is perfectly fine and all other write operations succeed

Any updates on this ?

Can anyone help me out over this problem ?

any updates on this ???!

any updates on this ???!

Any updates?

@WilliamNurmi I get the same "Connection readyState is set to readOnly" during heavy loads.
Were you able to address this?

Have you solved this problem now？I also encountered it

Initialising the client like below fixed my problem:
new MemcachedClient(this.serverEndpoint, { maxValue: 10485760, timeout: 10 * 1000 /* 10 sec. */});

I think I managed to consistently reproduce Error: Connection readyState is set to readOnly locally.
Basically, you need memcached server running + stress test it with parallel writes.
For me it starts to break at 40 parallel writes.
Considering that nothing else uses this memcached server & I have only one connection instance, I think its a library fault that it doesn't try to queue writes.. nor limit how many writes can do at a time & instead seems to just kill memcache.
Steps:
const MIN_FAILING_THREADS = 100;
it(`native memcache fails at ${MIN_FAILING_THREADS} concurrent writes`, async () => {
	const Memcached = require('memcached');

	// ACT
	const ops = [];

	const connection = new Memcached(['localhost:11211'], {
		// timeout: 500, the time after which Memcached sends a connection timeout (in milliseconds)
		timeout: 500,
		// retries: 5, the number of socket allocation retries per request.
		retries: 2,
		// failures: 5, the number of failed-attempts to a server before it is regarded as 'dead'.
		failures: 5,
		// retry: 30000, the time between a server failure and an attempt to set it up back in service.
		// the maximum size of the connection pool.
		poolSize: 200,
		// if true, authorizes the automatic removal of dead servers from the pool.
		remove: true,
		idle: 5000,
		maxValue: 524288, // default is 1048576
		encoding: 'binary',
	});

	connection.on('failure', async () => {
		console.error('Lost connection');
	});

	for (let i = 0; i < MIN_FAILING_THREADS; i++) {
		ops.push(
			new Promise((resolve, reject) => {
				connection.set(`x${i}`, i, 2, (err, result) => {
					if (err) {
						return reject(err);
					}

					return resolve(result);
				});
			}),
		);
	}

	// overload memcache
	Promise.all(ops);

	const result = await new Promise((resolve, reject) =>
		connection.getMulti(['x1'], (err, data) => {
			if (err) {
				reject(err);
			}

			resolve(data);
		}),
	);

	// ASSERT
        expect(result).toEqual({ x1: 1 });
});

Install memcached in window works for my case.
https://stackoverflow.com/questions/59476616/install-memcached-on-windows

Can somebody explain how to reproduce this? I followed the jest code, all it tells is a ERROR response was received

authors: 4h0y Zorono andrei-preeosoftware deshmukhsanket ezlo-lokoidav funduck gesilaGRY pkgarg r3b-fish surajuday tot-ra xoapit zhenfan0753


text:
Fix Prototype Pollution

📊 Metadata *
Bounty URL: https://www.huntr.dev/bounties/1-npm-flat
⚙ Description *
The flat module is vulnerable against a prototype pollution issue, which is possible through the bypass of the fix proposed previously (hughsk/flat@20ef0ef).
This could lead to RCE through a well known issue when interfacing flat with the handlebars template engine.
💻 Technical Description *
Fixed by adding missing magical attributes, to filter.
-      if (key1 === '__proto__') {
+      if (key1 === '__proto__' || key1 === 'constructor' || key1 === 'prototype') {

🐛 Proof of Concept (PoC) *

Install the package(npm i flat), run the below code:

const { unflatten } = require('flat');
let object = unflatten(JSON.parse('{"prototype":{"test":true}}'));
console.log(object.prototype.test)

Outputs: true.

🔥 Proof of Fix (PoF) *
After fix object is unmodified

👍 User Acceptance Testing (UAT)
After fix functionality is unafected

Congratulations alromh87 - your fix has been selected! 🎉
Thanks for being part of the community & helping secure the world's open source code.
If you have any questions, please respond in the comments section, or hit us up on Discord. Your bounty is on its way - keep hunting!
Come join us on Discord


text:
Add basic support for Expansion

https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06
It sounds like this should be handled in the logic of consuming a Token from the Lexer in the Parser. (the terminal symbol grammar rules)

Some expansions can create multiple fields

It is only field splitting or pathname expansion that can create multiple fields from a single word.

The single exception to this rule is the expansion of the special parameter '@' within double-quotes, as described in Special Parameters.

It actually seems like Expansions are applied as part of Execution, not as part of parsing
Though some grammar rules are applied which do use expansions.
That's actually the exception rather than the norm, which I had backwards for a long time

I think this line in the linked section clears up this confusion:

The expansions described in this section shall occur in the same shell environment as that in which the command is executed.

Since we can add command-specific environment variables, they have to be included.
And to achieve that we have to first fork for the command, which we'll only do in the execution for the command.
Expansions happen after forking

@mraasvel I saw a comment in the executor with a suggestion as to where to implement the expansions, I'm not sure that works
What might work is creating a virtual method expand to implement on every node type.
It looks like some expansions happen directly in the parser while others are delayed until execution.

I think both can work. I was thinking the expander to be stateless, but configurable. Since depending on the context of the expansion, the behavior is different (e.g. heredoc string expansion is only quote removel, and not variable/command/parameter expansion).
I think the case where expansions can sometimes yield multiple tokens is related to field splitting, right? I'm wondering whether this is a distinct step after expansion (perhaps a separate function that yields a vector of tokens from a given input token, or iterator over tokens...)
It can both work, the executor would depend on some Expander object and configure it to only expand what it needs. The node type could also handle the expansion, but then does the node type also handle things like field splitting? I personally have a preference towards having a separate class manipulating and depending on the nodes.

authors: Tishj mraasvel


text:
Slack platform sends message with file before file is ready for download

Description
When matterbridge is configured with a MediaServer and it receives an event from the Slack platform that indicates a user uploaded a file (File object embedded in a MessageEvent), then the download can fail if matterbridge requests the file too quickly. This results in an HTML page getting downloaded instead (a redirect to the main login page on slack.com).
To Reproduce
This is incredibly hard to reproduce. It requires a request be made in well under a second.
Expected behavior
The file should be downloaded properly so that it can be re-hosted/uploaded to the destination platform.
Screenshots/debug logs
None
Environment (please complete the following information):

OS: linux amd64
Matterbridge version: 1.12.3-dev

Additional context
I have completed a support request with Slack and they say that this is expected behavior. They have no plans to adjust the behavior of the platform. I have filed a formal request to have a new event type emitted (i.e. file_ready), but they aren't committing to adding it. Their only suggestion is to add a delay to the download routine.
I have written an update for the handleDownloadFile that attempts a single retry if the downloaded file size doesn't match what was originally declared in the File object on the MessageEvent and have been using it in my own environment for the last week. I will be submitting a PR to go along with this issue.

Ah, I've been seen the same thing on large files, esp images of very skewed dimensions (which presumably need to be queued for resize or something)

What if we detected the redirect, and retried X times (maybe with an exponential backoff)?

And fwiw, I don't use mediaserver, but still do get this HTML file downloaded fairly often

Unfortunately, it's an internal redirect. There is no outwardly easy way to detect it. You get a 200 HTTP status code and simply the wrong data.
That's why I went the method of simply checking the size. It's been 100% accurate so far in my testing. And while we can set a higher retry limit, it's not been necessary in my testing. The file is always available within one second. High traffic serversay have other results, but it didn't seem like a good idea to over-engineer before it was really necessary to do so.

authors: jheiselman patcon


text:
Data migration from DSpace-CRIS 5

Describe the bug
Dear 4Science Team,
We are working on upgrading our DSpace Cris instance from version base on DSpace 5.10 to DSpace-CRIS 7 release 2023.01.01.
URL: CRIS
Cris Versión: 5.10

We need to upgrade our database using your Data migration from DSpace-CRIS 5 process described on your documentation but now the tools (Pentaho Data Integration) are not available.

Please, could you help us? Where can we download it?
Thank you in advance.
To Reproduce
Steps to reproduce the behavior:

Go to Pentaho Data Integration
Then we got this message: file could not be found or is not available.

You can download the tool from https://www.hitachivantara.com/en-us/products/pentaho-platform/data-integration-analytics/pentaho-community-edition.html
If you want to run it on an ARM Mac, you have to follow this guide:
https://stackoverflow.com/questions/67972804/pentaho-data-integration-not-starting-on-new-mac-m1
Windows and Linux should be fine.

@alejandratenorio It's the "Pentaho Data Integration (Base Install)".
https://privatefilesbucket-community-edition.s3.us-west-2.amazonaws.com/9.4.0.0-343/ce/client-tools/pdi-ce-9.4.0.0-343.zip

Hi @kskaiser
Thank you very much again. I have run the kitchen script with the following parameters:
kitchen.sh -file:/home/dspace/DSpace-dspace-cris-2023.01.01/dspace/etc/migration/dspace_cris_migration.kjb  -param:db_host_name=localhost -param:db_name=dspace -param:db_port_number=5432 -param:db_username=dspace -param:db_password=dspace. -param:eperson_email=mymails@...
but I got this error:
2023/11/30 04:13:27 - insert into imp_record.0 - ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : Because of an error, this step can't continue: 2023/11/30 04:13:27 - metadata visibility configuration.0 - Finished processing (I=2, O=0, R=0, W=2, U=0, E=0) 2023/11/30 04:13:27 - Join rows.0 - Finished processing (I=0, O=0, R=71, W=70, U=0, E=0) 2023/11/30 04:13:27 - Add insert operation and status.0 - Finished processing (I=0, O=0, R=70, W=70, U=0, E=0) 2023/11/30 04:13:27 - insert into imp_record.0 - ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : org.pentaho.di.core.exception.KettleException: 2023/11/30 04:13:27 - insert into imp_record.0 - Error inserting row into table [imp_record] with values: [null], [Funding], [30], [pj00030], [null], [1], [insert], [z], [1], [1c5344cd-fa89-44d8-9c98-7aa20de1d75 0] 2023/11/30 04:13:27 - insert into imp_record.0 - 2023/11/30 04:13:27 - insert into imp_record.0 - Error inserting/updating row 2023/11/30 04:13:27 - insert into imp_record.0 - ERROR: null value in column "imp_collection_uuid" of relation "imp_record" violates not-null constraint 2023/11/30 04:13:27 - insert into imp_record.0 -   Detail: Failing row contains (1, pj00030, 1c5344cd-fa89-44d8-9c98-7aa20de1d750, null, z, insert, null, null, null). 2023/11/30 04:13:27 - insert into imp_record.0 - 2023/11/30 04:13:27 - insert into imp_record.0 - 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:384) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:125) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2023/11/30 04:13:27 - insert into imp_record.0 -        at java.base/java.lang.Thread.run(Thread.java:829) 2023/11/30 04:13:27 - insert into imp_record.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException: 2023/11/30 04:13:27 - insert into imp_record.0 - Error inserting/updating row 2023/11/30 04:13:27 - insert into imp_record.0 - ERROR: null value in column "imp_collection_uuid" of relation "imp_record" violates not-null constraint 2023/11/30 04:13:27 - insert into imp_record.0 -   Detail: Failing row contains (1, pj00030, 1c5344cd-fa89-44d8-9c98-7aa20de1d750, null, z, insert, null, null, null). 2023/11/30 04:13:27 - insert into imp_record.0 - 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.core.database.Database.insertRow(Database.java:1335) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:262) 2023/11/30 04:13:27 - insert into imp_record.0 -        ... 3 more 2023/11/30 04:13:27 - insert into imp_record.0 - Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "imp_collection_uuid" of relation "imp_record" violates not-null constraint 2023/11/30 04:13:27 - insert into imp_record.0 -   Detail: Failing row contains (1, pj00030, 1c5344cd-fa89-44d8-9c98-7aa20de1d750, null, z, insert, null, null, null). 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2552) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2284) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:322) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:481) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:401) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:164) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:130) 2023/11/30 04:13:27 - insert into imp_record.0 -        at org.pentaho.di.core.database.Database.insertRow(Database.java:1302) 2023/11/30 04:13:27 - insert into imp_record.0 -        ... 4 more 2023/11/30 04:13:27 - Rename to metadata_visibility.0 - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0) 2023/11/30 04:13:27 - Add imp_record_id.0 - Finished processing (I=0, O=0, R=13, W=13, U=0, E=0) 2023/11/30 04:13:27 - Get variables.0 - Finished processing (I=0, O=0, R=13, W=13, U=0, E=0) 2023/11/30 04:13:27 - insert into imp_record.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2023/11/30 04:13:27 - entity_migration - Transformation detected one or more steps with errors. 2023/11/30 04:13:27 - entity_migration - Transformation is killing the other steps! 2023/11/30 04:13:27 - orcid authentication configuration.0 - Finished processing (I=1, O=0, R=0, W=0, U=0, E=0) 2023/11/30 04:13:27 - Placeholder Var.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=0) 2023/11/30 04:13:27 - entity_migration - ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : Errors detected! 2023/11/30 04:13:28 - orcid scopes configuration.0 - Finished processing (I=1, O=0, R=0, W=0, U=0, E=0) 2023/11/30 04:13:28 - Join rows 6.0 - Finished processing (I=0, O=0, R=27, W=0, U=0, E=0) 2023/11/30 04:13:28 - entities nested placeholder.0 - Finished reading query, closing connection 2023/11/30 04:13:30 - entity_migration - ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : Errors detected! 2023/11/30 04:13:30 - dspace_cris_migration - Finished job entry [funding migration] (result=[false]) 2023/11/30 04:13:30 - dspace_cris_migration - Finished job entry [funding migration setup] (result=[false]) 2023/11/30 04:13:30 - dspace_cris_migration - Finished job entry [set funding variables] (result=[false]) 2023/11/30 04:13:30 - dspace_cris_migration - Finished job entry [publications migration] (result=[false]) 2023/11/30 04:13:30 - dspace_cris_migration - Finished job entry [set database variables] (result=[false]) 2023/11/30 04:13:30 - dspace_cris_migration - Job execution finished 2023/11/30 04:13:30 - Kitchen - Finished! 2023/11/30 04:13:30 - Kitchen - ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : Finished with errors 2023/11/30 04:13:30 - Kitchen - Start=2023/11/30 04:13:22.422, Stop=2023/11/30 04:13:30.044 2023/11/30 04:13:30 - Kitchen - Processing ended after 7 seconds.

Has this ever happened to you?

Yes, indeed. That happened also to me ;)
You have to edit the migration_configuration.xls Excel file.
On the first tab ("collections"), you have to enter the UUIDs of the collections you have generated in a previous step.
You must also edit the other tabs in the file, but for the first run you can try to leave it.
Carefully read the PDF documentation.
Not everything is mentioned on the place you'd expect them to be :(
For the Pentaho part:
Run the "spoon.sh" (or "spoon.bat") script to have the GUI opened. There you can load the "dspace_cris_migration.kjb" file and edit the parameters when you run the script. You can see at which step something goes wrong ;)
Beware that between the "dspace_cris_migration.kjb" script and the "dspace_cris_migration_post_import.kjb" you have to run the "Import Script":
dspace dsrun org.dspace.app.batch.ItemImportMainOA -E <eperson-email>
Good luck!

Hi @kskaiser
Thank you so much, I have filled in the excel file, and I ran the dspace_cris_migration.kjb, dsrun org.dspace.app.batch.ItemImportMainOA  and dspace_cris_migration_post_import.kjb everything goes well. However, when I ran dspace update-item-references, I got this message:

I think I should configure my relationship, shouldn't it?
Another question, data of the entities was migrated to the new collections, but their relationships were not migrated. Am I skipping a step?

Thank you so much.

authors: alejandratenorio kskaiser


text:
🛑 ELOFICASH [Producción] is down

In 5c64030, ELOFICASH [Producción] (https://prosegur.covline.es/ELOFICASH_PROSEGUR) was down:

HTTP code: 200
Response time: 652 ms

Resolved: ELOFICASH [Producción] is back up in 358068d.


text:
🛑 ELOFICASH [Producción] is down

In 03c1035, ELOFICASH [Producción] (https://prosegur.covline.es/ELOFICASH_PROSEGUR) was down:

HTTP code: 200
Response time: 572 ms

Resolved: ELOFICASH [Producción] is back up in 2bb53e9 after 2 hours, 5 minutes.


text:
Documentation Inconsistency for Alignments

I'm noticing that in the documentation the request url for the "Alignments" section shows as api/alignment/{index} instead of api/alignments/{index}  (with an "s"). I tried with both and only got a response with the 2nd version of this. This means the url in the documentation needs to be updated to include an "s" at the end of "alignment".

That's a good catch! This is definitely a bug. The tests will need to be fixed too.

authors: bagelbits rbmy


text:
Idea: custom panel item classes

Hey, thanks again for another amazing Nova package!
It would be really great to also be able to manipulate the panel classes of a field:
https://github.com/64robots/nova-fields/blob/070cd04b26582990324dd3004d8478460b900ebc/resources/js/components/PanelItem.vue#L5
https://github.com/64robots/nova-fields/blob/070cd04b26582990324dd3004d8478460b900ebc/resources/js/components/PanelItem.vue#L13

Sure. Will do 🤙🏻

Added two new methods panelFieldClasses and panelLabelClasses to 0.1.9  🎉

authors: disitec pehbehbeh


text:
使用move_base导航出现问题

您好，我在使用sentry_nav进行导航时出现问题。因为我的这个小车它的底盘本身代码里定义了一个机器人坐标系叫base_link,还有一个里程计坐标系叫odom_combined（这个小车是x86的主板，底盘上还有一个arduino，他这个里程计是通过编码器实现的轮速里程计（我也不太确定)。 所以和fast_lio的里程计就起了冲突。fast_lio里的里程计坐标系camera_init, 但当我运行sentry_localize和move_base这两个launch,然后看odom这个topic的时候，显示的都是odom_combined这个里程计坐标系的信息，也就是parent frame是odom_combined, child frame 是base_link的信息。而不是camera_init和body.
这个odom topic不对应该是我运行move_base失败的原因吧？运行move_base的话，刚开始会显示odom received, 但只要一在rviz里发布目标点，走的方向就不对，而且会显示报错和warning如下：
[ERROR] [1711114322.923268666]: Global Frame: robot_foot_init Plan Frame size 49: map
[ WARN] [1711114322.923286792]: Could not transform the global plan to the frame of the controller
[ERROR] [1711114322.923304710]: Could not get local plan
[ERROR] [1711114322.923268666]: Global Frame: robot_foot_init Plan Frame size 49: map
[ WARN] [1711114322.923286792]: Could not transform the global plan to the frame of the controller
[ERROR] [1711114322.923304710]: Could not get local plan
[ WARN] [1711114322.924408719]: Map update loop missed its desired rate of 10.0000Hz... the loop actually took 0.1270 seconds
[ INFO] [1711114322.973189092]: Got new plan
[ WARN] [1711114323.093114183]: Control loop missed its desired rate of 20.0000Hz... the loop actually took 0.1200 seconds
[ WARN] [1711114323.214691495]: Control loop missed its desired rate of 20.0000Hz... the loop actually took 0.1216 seconds
[ WARN] [1711114323.324585396]: Control loop missed its desired rate of 20.0000Hz... the loop actually took 0.1099 seconds
大概tf tree如这个图所示：

这是主要因为里程计消息的原因吗？我应该怎么处理呢？需要把底盘里发布的里程计数据删掉？

tf树是没问题的，fast_lio的里程计输出话题是/Odometry不是odom，你看看是不是把轮式里程计的话题输入给move_base了

你好你的问题解决了吗，我也遇到了相同的问题，我确认过movebase订阅的话题fast_lio的里程计输出话题是/Odometry


text:
Could you offer the map file on npm?

Hello @45kb ,
I am the members of cdnjs project.
We want to host this library.
Could you add the highlighter.min.js.map on npm?
Because the sourceMappingURL you mention in highlighter.min.js has map file.
Please help me confirm that.
Thanks for your help!
https://github.com/cdnjs/cdnjs/issues/8193
https://github.com/cdnjs/cdnjs/pull/8197

Hi @kennynaoh  should be ok now with latest version https://github.com/720kb/highlighter.js/releases/tag/1.0.0
If any other problem let know, thank you.

Looks great!
Thanks for your help


text:
Blog app: add authorization rules

Install CanCanCan in your project.
Add a role column to the users table. Remember to use a migration for this.
A user can delete a post if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.
For that you need to implement the post deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.
A user can delete a comment if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.
For that you need to implement the comment deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.

Hi dear code reviewer
I hope you are doing well and thanks for the review.
I have problem in installing the devise in my app because of that I didn't
know and created the columns manually. If you can help me please.
I would be very happy!
Thanks a lot!
On Thu, 7 Dec 2023, 02:53 Justice Bajeri, @.***> wrote:

@.**** requested changes on this pull request.
Hi @78fatemanazari https://github.com/78fatemanazari and @GhausAliKhan
https://github.com/GhausAliKhan,
Good job so far!
There are some issues that you still need to work on to go to the next
project but you are almost there!
https://camo.githubusercontent.com/d7d5546333b75b4f6ba1258d3fd4bccc2ecc2e2efec9ca5bc6091495ccb72d76/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f76312e59326c6b505463354d4749334e6a45784d6a426b4d4449334f574a6c597a52684e57566c4e6d49795a6d45354e6a55354e7a466c5a5441304e44566a5a5746684d6d51324e535a6c634431324d563970626e526c636d35686246396e61575a7a583264705a6b6c6b4a6d4e305057632f556461535559436c723932636a57706556782f67697068792e676966
Highlights

Good PR title ✅
Descriptive PR description ✅
Implement the features ✅
Nice UI design ✅
Professional README template ✅
Correct GitHub workflow ✅
Meaningful Github commits ✅
Correct .github/workflows for linters ✅
Followed best-practices ✅
Well structured project ✅

Required Changes ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In db/migrate/20231206210501_add_confirmable_to_users.rb
https://github.com/78fatemanazari/Interacti_Blog/pull/12#discussion_r1418099561
:

+class AddConfirmableToUsers < ActiveRecord::Migration[7.1]

def change

add_column :users, :confirmed_at, :datetime

end
+end

Great progress on your implementation! 👏 However, it seems there's
an issue with the authentication feature, preventing users from creating
and logging into their accounts. When starting the project, an error
(attached below) is encountered.

Error Snapshot:
Screenshot.2023-12-02.at.07.47.55.png (view on web)
https://github.com/78fatemanazari/Interacti_Blog/assets/107192076/e0470bf7-b5d0-4d0e-93ae-c5fb3e9ec009
To resolve this, let's focus on the following key points:

Migrations:

I noticed that you've added custom migrations to your user table for
authentication. However, per the project requirements, we should be using
the devise gem for authentication. The devise gem comes with
prebuilt modules (registerable, recoverable, rememberable,
validatable, confirmable, etc.) that simplify the implementation of
authentication. Consider removing the custom migrations related to
authentication.

Devise Setup:

While you've made a commendable effort to integrate devise, it
appears you missed a crucial step: generating devise for your User
model. Execute the command rails generate devise User to generate a
migration in the db/migrate directory with all the necessary fields
and modules for setting up devise authentication. For more details,
refer to the devise documentation
https://github.com/heartcombo/devise#getting-started.

Happy coding! 😊🚀
—
Reply to this email directly, view it on GitHub
https://github.com/78fatemanazari/Interacti_Blog/pull/12#pullrequestreview-1768827619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4NBIBRWVZVTOA3E5SALGG3YID475AVCNFSM6AAAAABAKBZOFKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONRYHAZDONRRHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


text:
text gui hide modules not working!!! it only hides like 3 modules then it breaks

text gui hide modules not working!!! it only hides like 3 modules then it breaks

investigating

Cannot repro, dm me on discord xylex#1364


text:
Observation start, end not assigned using consutructor

Passing observation_start and observation_end in the constructor does not set the respective attributes, but it should.

Resolved with commit c60f233


text:
Implement round()

I found myself needing round() lately, see https://doc.rust-lang.org/std/primitive.f64.html#method.round.
A quick glance at compiler_builtins shows that they don't actually offer it either.

Sure, will see what I can do.

I suggest looking at the Berkeley SoftFloat implementation.

It's in CI now, but should be all good. Had to add trunc and copysign also to math the libm implementation.

Wow, that was fast.
Amazing work, thank you!

authors: daxpedda knickish zRedShift


text:
🛑 WP Praxis is down

In 4eae297, WP Praxis ($WP_PRAXIS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WP Praxis is back up in 1ae625c.


text:
Twist The Reality with feDisplacementMap

o


text:
chore(package): update enzyme to version 2.8.1

Connect to #145
https://greenkeeper.io/

Storybook Hub is building storybooks for every commit in this PR.
Latest Storybook: https://95d74399-ff4e-4f47-a67e-e06472c04ced.sbook.io/
( Visit here for more info )

This comment is automatically added by Storybook Hub


text:
🛑 threads is down

In 5650935, threads (https://www.threads.net/@9renpoto) was down:

HTTP code: 429
Response time: 493 ms

Resolved: threads is back up in d5c2358 after 30 minutes.


text:
适配黑暗模式问题

标题名字和y周单位名称能够设置适配黑暗模式吗？

y轴单位名称? 你指的是 Y轴的标题吗?

这图片上面画红线的地方

设置图表标题和副标题颜色,参见 AAChartModel 中的下列属性
AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, title) //标题内容
AAPropStatementAndPropSetFuncStatement(strong, AAChartModel, NSNumber *, titleFontSize) //Title label font size
AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, titleFontColor) //Title label font color
AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, titleFontWeight) //Title label font weight

AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, subtitle) //副标题内容
AAPropStatementAndPropSetFuncStatement(strong, AAChartModel, NSNumber *, subtitleFontSize) //Subtitle label font size
AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, subtitleFontColor) //Subtitle label font color
AAPropStatementAndPropSetFuncStatement(copy,   AAChartModel, NSString *, subtitleFontWeight) //Subtitle label font weight

设置图表的图例Legend(底部可点按的小圆点) 的文字颜色,参见issue #893

更多图表自定义样式设置参见相似问题 issue #696

.titleFontColorSet([self    hexadecimalFromUIColor:XTDynamicColor([UIColor  blackColor],[UIColor  whiteColor])])   设置了字体  但是当前页面切换黑暗模式的时候，颜色不会马上变   有其他的思路吗？

repo: AAChartModel/AAChartKit


text:
[Snyk] Security upgrade django from 1.2 to 3.2.19

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

packages/requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

551/1000  Why? Recently disclosed, Has a fix available, CVSS 5.3
Arbitrary File Upload SNYK-PYTHON-DJANGO-5496950
django:  1.2 -> 3.2.19
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – 8bd14763-dbc9-41d0-a950-8cbab4ae938f
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

AD Admin Not Configured For SQL Server
/sql.tf: 9
The Active Directory Administrator is not configured for a SQL server

AKS Private Cluster Disabled
/aks.tf: 1
Azure Kubernetes Service (AKS) API should not be exposed to the internet

App Service Managed Identity Disabled
/app_service.tf: 22
Azure App Service should have managed identity enabled

App Service Managed Identity Disabled
/app_service.tf: 43
Azure App Service should have managed identity enabled

App Service Not Using Latest TLS Encryption Version
/app_service.tf: 29
Ensure App Service is using the latest version of TLS encryption

Authentication Without MFA
/iam.tf: 29
Users should authenticate with MFA (Multi-factor Authentication) to ensure an extra layer of protection when authenticating

Azure App Service Client Certificate Disabled
/app_service.tf: 43
Azure App Service client certificate should be enabled

Azure App Service Client Certificate Disabled
/app_service.tf: 22
Azure App Service client certificate should be enabled

BigQuery Dataset Is Public
/big_data.tf: 24
BigQuery dataset is anonymously or publicly accessible

CMK Rotation Disabled
/kms.tf: 1
Customer Master Keys (CMK) must have rotation enabled, which means the attribute 'enable_key_rotation' must be set to 'true' when the key is enabled.

CVE-2011-0698
Python-Django-1.2
Vulnerable Package

CVE-2014-0474
Python-Django-1.2
Vulnerable Package

CVE-2015-5143
Python-Django-1.2
Vulnerable Package

CVE-2016-2512
Python-Django-1.2
Vulnerable Package

CVE-2016-7401
Python-Django-1.2
Vulnerable Package

CVE-2016-9013
Python-Django-1.2
Vulnerable Package

CVE-2016-9014
Python-Django-1.2
Vulnerable Package

CVE-2018-6188
Python-Django-1.2
Vulnerable Package

CVE-2019-12402
Maven-org.apache.commons:commons-compress-1.15
Vulnerable Package

CVE-2019-14232
Python-Django-1.2
Vulnerable Package

CVE-2019-14233
Python-Django-1.2
Vulnerable Package

CVE-2019-14234
Python-Django-1.2
Vulnerable Package

CVE-2019-14235
Python-Django-1.2
Vulnerable Package

CVE-2019-19844
Python-Django-1.2
Vulnerable Package

CVE-2019-6975
Python-Django-1.2
Vulnerable Package

CVE-2020-24583
Python-Django-1.2
Vulnerable Package

CVE-2020-24584
Python-Django-1.2
Vulnerable Package

CVE-2020-28469
Npm-glob-parent-3.1.0
Vulnerable Package

CVE-2020-36518
Maven-com.fasterxml.jackson.core:jackson-databind-2.12.4
Vulnerable Package

CVE-2020-7471
Python-Django-1.2
Vulnerable Package

CVE-2021-23509
Npm-json-ptr-2.2.0
Vulnerable Package

CVE-2021-23555
Npm-vm2-3.9.5
Vulnerable Package

CVE-2021-31542
Python-Django-1.2
Vulnerable Package

CVE-2021-33571
Python-Django-1.2
Vulnerable Package

CVE-2021-35515
Maven-org.apache.commons:commons-compress-1.20
Vulnerable Package

CVE-2021-35515
Maven-org.apache.commons:commons-compress-1.15
Vulnerable Package

CVE-2021-35516
Maven-org.apache.commons:commons-compress-1.20
Vulnerable Package

CVE-2021-35516
Maven-org.apache.commons:commons-compress-1.15
Vulnerable Package

CVE-2021-35517
Maven-org.apache.commons:commons-compress-1.20
Vulnerable Package

CVE-2021-35517
Maven-org.apache.commons:commons-compress-1.15
Vulnerable Package

CVE-2021-36090
Maven-org.apache.commons:commons-compress-1.20
Vulnerable Package

CVE-2021-36090
Maven-org.apache.commons:commons-compress-1.15
Vulnerable Package

CVE-2021-3765
Npm-validator-8.2.0
Vulnerable Package

CVE-2021-3795
Npm-semver-regex-2.0.0
Vulnerable Package

CVE-2021-3807
Npm-ansi-regex-4.1.0
Vulnerable Package

CVE-2021-3807
Npm-ansi-regex-3.0.0
Vulnerable Package

CVE-2021-3807
Npm-ansi-regex-2.1.1
Vulnerable Package

CVE-2021-43138
Npm-async-2.6.3
Vulnerable Package

CVE-2021-43138
Npm-async-1.5.2
Vulnerable Package

CVE-2021-43307
Npm-semver-regex-2.0.0
Vulnerable Package

CVE-2021-44228
Maven-org.apache.logging.log4j:log4j-core-2.14.0
Vulnerable Package

CVE-2021-44420
Python-Django-1.2
Vulnerable Package

CVE-2021-44906
Npm-minimist-1.2.5
Vulnerable Package

CVE-2021-45046
Maven-org.apache.logging.log4j:log4j-core-2.14.0
Vulnerable Package

CVE-2021-45115
Python-Django-1.2
Vulnerable Package

CVE-2021-45116
Python-Django-1.2
Vulnerable Package

CVE-2021-46877
Maven-com.fasterxml.jackson.core:jackson-databind-2.12.4
Vulnerable Package

CVE-2022-0144
Npm-shelljs-0.8.4
Vulnerable Package

CVE-2022-21676
Npm-engine.io-6.1.0
Vulnerable Package

CVE-2022-21680
Npm-marked-0.7.0
Vulnerable Package

CVE-2022-21681
Npm-marked-0.7.0
Vulnerable Package

CVE-2022-23539
Npm-jsonwebtoken-8.5.1
Vulnerable Package

CVE-2022-23540
Npm-jsonwebtoken-8.5.1
Vulnerable Package

CVE-2022-2421
Npm-socket.io-parser-4.0.4
Vulnerable Package

CVE-2022-24771
Npm-node-forge-0.10.0
Vulnerable Package

CVE-2022-24772
Npm-node-forge-0.10.0
Vulnerable Package

CVE-2022-24999
Npm-qs-6.7.0
Vulnerable Package

CVE-2022-24999
Npm-qs-6.5.2
Vulnerable Package

CVE-2022-25858
Npm-terser-5.9.0
Vulnerable Package

CVE-2022-25858
Npm-terser-5.10.0
Vulnerable Package

CVE-2022-25878
Npm-protobufjs-6.8.8
Vulnerable Package

CVE-2022-25878
Npm-protobufjs-6.11.2
Vulnerable Package

CVE-2022-25881
Npm-http-cache-semantics-4.1.0
Vulnerable Package

CVE-2022-25881
Npm-http-cache-semantics-3.8.1
Vulnerable Package

CVE-2022-25893
Npm-vm2-3.9.5
Vulnerable Package

CVE-2022-25927
Npm-ua-parser-js-0.7.31
Vulnerable Package

CVE-2022-28346
Python-Django-1.2
Vulnerable Package

CVE-2022-28347
Python-Django-1.2
Vulnerable Package

CVE-2022-3517
Npm-minimatch-3.0.4
Vulnerable Package

CVE-2022-36067
Npm-vm2-3.9.5
Vulnerable Package

CVE-2022-37599
Npm-loader-utils-3.0.0
Vulnerable Package

CVE-2022-37599
Npm-loader-utils-2.0.2
Vulnerable Package

CVE-2022-37599
Npm-loader-utils-1.4.0
Vulnerable Package

CVE-2022-37599
Npm-loader-utils-1.2.3
Vulnerable Package

CVE-2022-37601
Npm-loader-utils-2.0.2
Vulnerable Package

CVE-2022-37601
Npm-loader-utils-1.4.0
Vulnerable Package

CVE-2022-37601
Npm-loader-utils-1.2.3
Vulnerable Package

CVE-2022-37603
Npm-loader-utils-3.0.0
Vulnerable Package

CVE-2022-37603
Npm-loader-utils-2.0.2
Vulnerable Package

CVE-2022-37603
Npm-loader-utils-1.4.0
Vulnerable Package

CVE-2022-37603
Npm-loader-utils-1.2.3
Vulnerable Package

CVE-2022-37616
Npm-@xmldom/xmldom-0.7.5
Vulnerable Package

CVE-2022-37616
Npm-xmldom-0.5.0
Vulnerable Package

CVE-2022-38900
Npm-decode-uri-component-0.2.0
Vulnerable Package

CVE-2022-39353
Npm-@xmldom/xmldom-0.7.5
Vulnerable Package

CVE-2022-39353
Npm-xmldom-0.5.0
Vulnerable Package

CVE-2022-41323
Python-Django-1.2
Vulnerable Package

CVE-2022-42003
Maven-com.fasterxml.jackson.core:jackson-databind-2.12.4
Vulnerable Package

CVE-2022-42004
Maven-com.fasterxml.jackson.core:jackson-databind-2.12.4
Vulnerable Package

CVE-2022-46175
Npm-json5-2.2.0
Vulnerable Package

CVE-2022-46175
Npm-json5-1.0.1
Vulnerable Package

CVE-2022-48285
Npm-jszip-3.7.1
Vulnerable Package

CVE-2023-24580
Python-Django-1.2
Vulnerable Package

CVE-2023-28154
Npm-webpack-5.64.1
Vulnerable Package

CVE-2023-29017
Npm-vm2-3.9.5
Vulnerable Package

CVE-2023-29199
Npm-vm2-3.9.5
Vulnerable Package

CVE-2023-30547
Npm-vm2-3.9.5
Vulnerable Package

Client Certificate Disabled
/gke.tf: 6
Kubernetes Clusters must be created with Client Certificate enabled, which means 'master_auth' must have 'client_certificate_config' with the attri...

Cloud Storage Anonymous or Publicly Accessible
/gcs.tf: 19
Cloud Storage Buckets must not be anonymously or publicly accessible, which means the attribute 'members' must not possess 'allUsers' or 'allAuthen...

Cloud Storage Bucket Logging Not Enabled
/gcs.tf: 1
Cloud storage bucket should have logging enabled

Cloud Storage Bucket Versioning Disabled
/gcs.tf: 1
Cloud Storage Bucket should have versioning enabled

Cluster Labels Disabled
/gke.tf: 6
Kubernetes Clusters must be configured with labels, which means the attribute 'resource_labels' must be defined

Cluster Master Authentication Disabled
/gke.tf: 6
Kubernetes Engine Clusters must have Master Authentication set to enabled, which means the attribute 'master_auth' must have the subattributes 'use...

Cx347a3da7-ba99
Npm-node-forge-0.10.0
Vulnerable Package

Cx4615fedd-34f3
Npm-validator-8.2.0
Vulnerable Package

Cx89601373-08db
Npm-debug-3.2.7
Vulnerable Package

Cx89601373-08db
Npm-debug-3.1.0
Vulnerable Package

Cx89601373-08db
Npm-debug-2.6.9
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-4.3.3
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-4.3.2
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-4.3.1
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-3.2.7
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-3.1.0
Vulnerable Package

Cx8bc4df28-fcf5
Npm-debug-2.6.9
Vulnerable Package

Cxc7705965-e0f0
Npm-@babel/core-7.8.6
Vulnerable Package

Cxc7705965-e0f0
Npm-@babel/core-7.16.5
Vulnerable Package

Cxc7705965-e0f0
Npm-@babel/core-7.15.8
Vulnerable Package

Cxd312845a-fedc
Npm-validator-8.2.0
Vulnerable Package

Cxdca8e59f-8bfe
Npm-inflight-1.0.6
Vulnerable Package

Cxf6e7f2c1-dc59
Npm-yauzl-2.10.0
Vulnerable Package

DB Instance Publicly Accessible
/db-app.tf: 21
RDS must not be defined with public interface, which means the field 'publicly_accessible' should not be set to 'true' (default is 'false').

DB Instance Storage Not Encrypted
/db-app.tf: 18
AWS DB Instance should have its storage encrypted by setting the parameter to 'true'. The storage_encrypted default value is 'false'.

EBS Volume Snapshot Not Encrypted
/ec2.tf: 53
The value on AWS EBS Volume Snapshot Encryptation must be true

EC2 Instance Has Public IP
/ec2.tf: 1
EC2 Instance should not have a public IP address.

EC2 Instance Has Public IP
/db-app.tf: 242
EC2 Instance should not have a public IP address.

EKS Cluster Encryption Disabled
/eks.tf: 117
EKS Cluster should be encrypted

GKE Basic Authentication Enabled
/gke.tf: 6
GCP - Google Kubernetes Engine (GKE) Basic Authentication must be disabled, which means the username and password provided in the master_auth block...

GKE Legacy Authorization Enabled
/gke.tf: 12
Kubernetes Engine Clusters must have Legacy Authorization set to disabled, which means the attribute 'enable_legacy_abac' must not be true

Geo Redundancy Is Disabled
/sql.tf: 80
Make sure that on PostgreSQL Geo Redundant Backups is enabled

HTTP Port Open To Internet
/ec2.tf: 77
The HTTP port is open to the internet in a Security Group

IAM Database Auth Not Enabled
/db-app.tf: 1
IAM Database Auth Enabled should be configured to true when using compatible engine and version

IP Aliasing Disabled
/gke.tf: 6
Kubernetes Clusters must be created with Alias IP ranges enabled, which means the attribut 'ip_allocation_policy' must be defined and, if defined, ...

KMS Key With Vulnerable Policy
/kms.tf: 1
Checks if the policy is vulnerable and needs updating.

Key Expiration Not Set
/key_vault.tf: 33
Make sure that for all keys the expiration date is set

MSSQL Server Public Network Access Enabled
/mssql.tf: 77
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 58
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 20
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 115
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 134
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 39
MSSQL Server public network access should be disabled

MSSQL Server Public Network Access Enabled
/mssql.tf: 96
MSSQL Server public network access should be disabled

Missing User Instruction
/Dockerfile: 1
A user should be specified in the dockerfile, otherwise the image will run as root

MySQL SSL Connection Disabled
/sql.tf: 60
Make sure that for MySQL Database Server, 'Enforce SSL connection' is enabled

MySQL Server Public Access Enabled
/sql.tf: 59
MySQL Server public access should be disabled

Network Policy Disabled
/gke.tf: 6
Kubernetes Engine Clusters must have Network Policy enabled, meaning that the attribute 'network_policy.enabled' must be true and the attribute 'ad...

Network Watcher Flow Disabled
/networking.tf: 126

More results are available on AST platform

authors: acn-tesch donsantos

repo: ACN-APPSAS/terragoat


text:
bug fix and extra improvements for ISMR

cons.B is left out in ISMR::DerefinePoles() so that it doesn't overwrite the result of B_CT::DerefinePoles()
Floors and Fixup applied after ISMR
Reconstruction is only linear in x3 direction for ISMR applied cells
Simplified the indices for DerefinePoles()

Todo: there needs to be UpdateCtop() for ISMR applied cells too.

Thanks for this!  Tested it in my production runs now and it's working great, so I'm going to hit merge.  If for some reason it fails the tests we can deal with that over in the ISMR branch.

authors: bprather hyerincho

repo: AFD-Illinois/kharma


text:
why do use dispatch_sync(url_session_manager_creation_queue) create Task?

dispatch_asyn could block the contentext thread. because the [self.session dataTaskWithRequest:request] is not thread-safe? I thought it may block the main thread.

anybody know why?

In method url_session_manager_create_task_safely() has some comments, maybe is the answer ?
// Fix of bug   // Open Radar:http://openradar.appspot.com/radar?id=5871104061079552 (status: Fixed in iOS8)   // Issue about:https://github.com/AFNetworking/AFNetworking/issues/2093

@HoneyLuka thanks a lot. I got the answer.

authors: HoneyLuka KayonYang

repo: AFNetworking/AFNetworking


text:
Remove msgcat dependency

Polib library is clossplatform and has a stable API. Can be used to create the differences between pofiles without the need of install gettext.

Hi!
I use the polib library in https://github.com/seluj78/potodo because it is appropriate there and allows to read efficiently the pofiles.
For powrap, @JulienPalard uses the msgcat command to fix the wrapping automatically. polib isn't able to do that.

Check this:
Code
import polib

po = polib.pofile("tests/bad/glossary.po")
print(po.__unicode__())

Input
Extracted from tests/bad/glossary.po:
# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"PO-Revision-Date: 2019-12-10 09:26+0100\n"
"Last-Translator: Grenoya <grenoya@zarb.org>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"

#: ../Doc/glossary.rst:5
msgid "Glossary"
msgstr "Glossaire"

#: ../Doc/glossary.rst:10
msgid "``>>>``"
msgstr "``>>>``"

#: ../Doc/glossary.rst:12
msgid ""
"The default Python prompt of the interactive shell.  Often seen for code "
"examples which can be executed interactively in the interpreter."
msgstr "L'invite de commande utilisée par défaut dans l'interpréteur interactif. On la voit souvent dans des exemples de code qui peuvent être exécutés interactivement dans l'interpréteur."

Output
# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"PO-Revision-Date: 2019-12-10 09:26+0100\n"
"Last-Translator: Grenoya <grenoya@zarb.org>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"

#: ../Doc/glossary.rst:5
msgid "Glossary"
msgstr "Glossaire"

#: ../Doc/glossary.rst:10
msgid "``>>>``"
msgstr "``>>>``"

#: ../Doc/glossary.rst:12
msgid ""
"The default Python prompt of the interactive shell.  Often seen for code "
"examples which can be executed interactively in the interpreter."
msgstr ""
"L'invite de commande utilisée par défaut dans l'interpréteur interactif. On "
"la voit souvent dans des exemples de code qui peuvent être exécutés "
"interactivement dans l'interpréteur."

In fact, polib is able to specify a custom wrapping width with the parameter wrapwidth. So I do not agree with marking this issue as invalid. :thinking:

Hmm my bad, I did see the wrapwidth parametter in the polib doc but didn't bother to check it.
One argument tho is that you are using the __unicode__ protected method which returns the unicode representation of the string.
But it does seem that you can use unicode to save the file. https://github.com/izimobil/polib/blob/master/polib.py#L424
I'll leave it up to @JulienPalard 😀

Yes, __unicode__ is the method used to construct the file in save methods of polib. I will send a pull request in a while.

Tried to remember what I did in https://github.com/JulienPalard/powrap/tree/from_msgcat:
The idea is to use the same implementation as poedit / msgcat (they use the same code IIRC, which explains why they indent identically). I was able to write a little main around their function, here https://github.com/JulienPalard/powrap/blob/from_msgcat/wrap.c, and it goes like this:
$ cc wrap.c -lunistring -o wrap
$ ./wrap msgstr "Pouette Pouette pouette tagada tagada t'soin t'soin le C c'est bien, le C c'est bien, tagada tagada t'soin t'soin"
msgstr ""
"Pouette Pouette pouette tagada tagada t'soin t'soin le C c'est bien, le C "
"c'est bien, tagada tagada t'soin t'soin"

So it indents properly. From here it could be wrapped as a Python module quite easily:
static PyObject *
py_wrap(PyObject *self, PyObject *args)
{
    const char *prefix;
    const char *str;

    if (!PyArg_ParseTuple(args, "ss", &prefix, &str))
        return NULL;
    return PyUnicode_FromString(wrap(prefix, str, NULL));
}

static PyMethodDef POWrapMethods[] = {
    {"wrap",  py_wrap, METH_VARARGS, "Wraps a string."},
    {NULL, NULL, 0, NULL}
};

static struct PyModuleDef powrapmodule = {
    PyModuleDef_HEAD_INIT,
    "wrap",
    NULL,
    -1,
    POWrapMethods
};

PyMODINIT_FUNC
PyInit_wrap(void)
{
    PyObject *m;

    m = PyModule_Create(&powrapmodule);
    if (m == NULL)
        return NULL;

    return m;
}

But It still depends on libunistring, and I'm not sure it's the easiest path... and I didn't found much time to work on it...

Uniseg says that it implements the UAX 29 algorithm in pure python https://pypi.org/project/uniseg/ - could that help ?

Maybe, yes. If someone want to look at it, be welcome, I'll not have the time any time soon.

authors: JulienPalard Seluj78 dancergraham mondeja

repo: AFPy/powrap


text:
Animation::Handle::getLabel crashes

Commit #509f90e introduced a crash when right clicking a bone.
The method Animation::Handle::getLabel tries to access element m_label[0] but m_label is empty.

@0xg  : could you make it so that the loading code forces labels to the bones ? (by auto-naming them if they are not named ) ?

@louen It should be working now.

authors: 0xg Zouch louen

repo: AGGA-IRIT/Radium-Engine


text:
in tutorials/2-advance/FinRL_PortfolioAllocation_Explainable_DRL.py about calculate_gradient()

I think you should use
forward_input = copy.deepcopy(interpolated_input)
to replace the original forward_input = interpolated_input

@blingblingxixi Can you explain why?


text:
Unable to add technical indicators for BSE500 (Indian) tickers

Describe the bug
I have been trying to test the notebook https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/1-Introduction/Stock_NeurIPS2018_SB3.ipynb for Indian Market data with initially only a limited number of stocks but I am stuck at the part where technical indicators are added to the daily price data.
I'm getting the error as:
KeyError: "None of [Index(['tic', 'date', 'macd'], dtype='object')] are in the [columns]"
I noticed a couple of more issues here from other users saying the same thing, but those were not helpful either.
Expected behavior
Technical indicators should have been added just like it happened for dow30 tickers
Screenshots

have you connected Indian stocks correctly?

I guess Indian Stock market is not supported. I have gone through architecture and studying from few weeks if you can provide some pointers for changes required. Yahoo provides data for NSE indian stock exchange for example TCS.NS. While processing below comand existing
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs, timesteps_dict)

I have not yet ran the ensemble strategy, I'll do it in a day or 2 and will let you know if it works for me.

I guess Indian Stock market is not supported. I have gone through architecture and studying from few weeks if you can provide some pointers for changes required. Yahoo provides data for NSE indian stock exchange for example TCS.NS. While processing below comand existing
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs, timesteps_dict)

I was able to run the ensemble strategy notebook without any issues, just that the agent took around 3.5 hrs to train. If you could share the errors you're getting then maybe I could help.

indian stocks can be trained but you cant be able to trade ig with paper trading on alpaca platform

authors: avipul751 xprabhudayal zhumingpassional


text:
error when i import finrl.env

I  have installed successfully all the packages through FinRL library. However, I met an error when i import finrl.env in my code as follows.
from finrl.env.environment import EnvSetup
from finrl.env.EnvMultipleStock_train import StockEnvTrain
from finrl.env.EnvMultipleStock_trade import StockEnvTrade
Traceback (most recent call last):
File "", line 1, in
from finrl.env.environment import EnvSetup
ModuleNotFoundError: No module named 'finrl.env.environment'
I checked my site-package folder, and I found there are only 'env_stocktrading.py' and 'env_portfolio.py' under the folder of finrl.env.
What should I do to import the 'finrl.env.environment' and 'finrl.env.EnvMultipleStock_train'?

Hi how did you get around this issue please?
I get the below error. If I rem out the EnvSetip line the error repeats on line 14.
I tried the install on fresh Python 3.6 and 3.8 environments.
ModuleNotFoundError                       Traceback (most recent call last)
 in
11 from finrl.preprocessing.data import data_split
12 # from finrl.env.environment import EnvSetup
---> 13 from finrl.env.EnvMultipleStock_train import StockEnvTrain
14 from finrl.env.EnvMultipleStock_trade import StockEnvTrade
15 from finrl.model.models import DRLAgent
ModuleNotFoundError: No module named 'finrl.env.EnvMultipleStock_train'

Hi how did you get around this issue please?
I get the below error. If I rem out the EnvSetip line the error repeats on line 14.
I tried the install on fresh Python 3.6 and 3.8 environments.
ModuleNotFoundError                       Traceback (most recent call last)
 in
11 from finrl.preprocessing.data import data_split
12 # from finrl.env.environment import EnvSetup
---> 13 from finrl.env.EnvMultipleStock_train import StockEnvTrain
14 from finrl.env.EnvMultipleStock_trade import StockEnvTrade
15 from finrl.model.models import DRLAgent
ModuleNotFoundError: No module named 'finrl.env.EnvMultipleStock_train'

I found the function file elsewhere. Just put them under the path './site-packages/finrl/env/'
env.zip

I found the function file elsewhere. Just put them under the path './site-packages/finrl/env/'
env.zip


text:
[Feature Request] 自定义调用api的脚本，实现定制化需求

Feature Request
描述 Description
请求实现自定义API脚本。
使用案例 Use Case
用户需要根据自己的需求来执行API脚本。
提议解决方案 Proposed Solution
风格模板预设模板增加自定义脚本选项，用户可以输入多段 API 请求体，按顺序执行请求，并且提供字符串替换模板方便用户使用参数
考虑的替代方案 Alternatives Considered
目前没有考虑替代方案。
其他信息 Additional Information
无。

https://alpgo.notion.site/API-d0d1a28b7fa4402aaba9697951f94b7d

repo: ALPGO-AI/ui-admin


text:
Check format of -image argument to ensure it looks correct

Providing a bad argument to the -image argument should not break Transient.
Currently, if one forgets to add a version, i.e., a colon followed by a version, we get an error:
transient run -name provision_test -image ubuntu/focal64
Unable to find image 'ubuntu/focal64' in backend
Traceback (most recent call last):
  File "/home/pdietl/.local/bin/transient", line 8, in <module>
    sys.exit(main())
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/cli.py", line 205, in main
    returncode = trans.run()
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/transient.py", line 131, in run
    self.vm_images = self.__create_images(self.config.image)
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/transient.py", line 35, in __create_images
    return [self.store.create_vm_image(image_name, self.config.name, idx)
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/transient.py", line 35, in <listcomp>
    return [self.store.create_vm_image(image_name, self.config.name, idx)
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/image.py", line 335, in create_vm_image
    backing_image = self.retrieve_image(image_name)
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/image.py", line 329, in retrieve_image
    self.__download_vagrant_image(image_identifier, destination)
  File "/home/pdietl/.local/lib/python3.8/site-packages/transient/image.py", line 217, in __download_vagrant_image
    box_name, version = image_identifier.split(":")
ValueError: not enough values to unpack (expected 2, got 1)

Note that this is a bit more complex than just validating the format. It is valid to have, for example, -image myimage, if that is an image name you have previously made via -image myimage,http=https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-20150628_01.qcow2. It is probably better to detect this particular failure and translate it to a more readable error:
No image named ubuntu/focal64 found in the backend, and no version provided so it cannot be downloaded

authors: ALSchwalm pdietl

repo: ALSchwalm/transient


text:
Update faq.txt

Added some useful informations for AMD community.

Disabling SIP isn't required for the Discord MKL fix, otherwise seems fine.

authors: alyxferrari fabiosun

repo: AMD-OSX/AMD-OSX-FAQ