Preview for each post shows on hover

The original bug was no preview being shown when the user hovers over a post.
This is what a preview looks like now:

The issue was coming from the image url, since we were appending the Cloudinary string to current image string. I found that 'f_auto,q_auto' was being appended in addition to the current image string, which was giving an invalid URL. I removed 'f_auto,q_auto', and images were able to be displayed again because the image url is no longer invalid. Since I deleted something, I traced back when it was changed - commit 294. From further inspection, nothing significant was reliant on this change, and so deleting it was safe.

Looks good! I would wait to merge this into main because someone else is currently working on this file. Gotta make sure there's no merge errors.

Well actually, there was not much change so feel free to merge whenever!


Problem: I carnt find some settings

OS:
Windows 10 pro - build 1809 vir. 17763.504 - 64 bit
GPMDP Version:
4.7.0
Issue Descriptions:
Can't find the EQ or the cast feature.

EQ has been disabled for a long time due to a bug with Chromium/Electron which causes only the output device or EQ to be active at once. The cast feature requires your firewall to be open on port 5353 UDP, as far as I recall.


Simplify CMake build by removing source_group and headers as source files

Description
Strictly speaking CMake puts no requirement on using source_group or listing headers as source files. As I've heard, both of these practices are conveniences to Visual Studio users. Having never used Visual Studio myself I struggle to understand how much of a convenience this is. I'm submitting this PR to get more feedback on what VS users want and to demonstrate exactly how much code can be simplified if we're willing to stop doing these things.
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[x] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
Build this PR in Visual Studio and try to observe any difference in your workflow, particularly if this PR makes SFML development more difficult or annoying. Share any specific observations you make. Mention what version of Visual Studio you are using.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

My two cents: I don't use Visual Studio to work on SFML, but even if I did I would prefer to see a large simplification of the build scripts rather than a few grouped files in the solution explorer.

The Windows Unity builds are failing now because of a local variable shadowing a global. This makes me think that the previous way we were applying compiler warnings did not actually apply warnings to all source files, otherwise this warning would have been caught earlier.

SFMLBuildMaster: Build this please.

https://github.com/ChrisThrasher/SFML/commit/1e99ee4ea8e1a093d9c3d4be45e63eee7650f9c8
I have another commit tweaking some CMake stuff that I can add to this PR if you'd rather it not become a PR of its own later.

So... what would be the straight-forward way of opening header files in IDEs with this change? And no... i'm not counting "Open File ..." or right-click open header, etc.

So... what would be the straight-forward way of opening header files in IDEs with this change? And no... i'm not counting "Open File ..." or right-click open header, etc.

Use the file system navigator in your IDE to open any given file in the include/ directory.

If you mean e.g. the "Solution Explorer" pane in VS then I only see the source files as can be seen in @eXpl0it3r's screenshot. I would personally find it cumbersome having to manually open header files through the File -> Open dialog. It makes it even more annoying knowing it used to be easier at some point in the past.
I don't see why we should all of a sudden treat .hpp files differently than .cpp files, especially now that we are working more actively on modernizing the codebase.

I don't mean the Solution Explorer. I mean just a simple view of all files in the repo. I don't use Visual Studio so I don't know exactly what that might be called. In VS Code it looks like this.

Does Visual Studio not provide something similar?

You can switch to a file system view, but that defeats part of the point of having a project generated.
For VS I really think it's not a big issue anymore, because opening the folder directly and having CMake automatically triggered is in many ways superior than to generate a project file and working with that.
One question that wasn't asked is, whether there are tools that also depend on having headers also listed in the source list (e.g. some static analyzer)

One question that wasn't asked is, whether there are tools that also depend on having headers also listed in the source list (e.g. some static analyzer)

In my experience, static analyzers don't directly analyze header files but rather analyze them in the context of the .cpp files that include them. This the case with clang-tidy at least. The clang-format PR (#1861) uses CMake to collect a list of source files (which includes headers) to pass to clang-format. We can reuse that code to pass a list of all .hpp and .cpp to whatever other tools we want to use.

Back before CMake even existed, the way of adding files to your project was by explicitly adding them to the vcproj so that they would be displayed as part of the project/solution, hence why the pane that lists all tracked files is called the "Solution Explorer". Files that aren't explicitly added to the project will not be visible.
When VS added CMake support I tried it out and simply put, it wasn't a very good experience. It has gotten better, but an undeniable fact is that VS will always trail standalone CMake when it comes to supporting newer features (and even more so if you have to use an experimental version of CMake for whatever reason). I've never had a problem running the initial solution generation using CMake and never having to open it up until I really need to change some options or wipe my build directory. I don't see why we should put our energy into invalidating a method of working that has worked since the beginning of CMake support for VS.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

Sort of relevant: https://github.com/friendlyanon/cmake-init/issues/39
In particular the command there could be of interest to you. It combines target_sources and source_group into a single command, so that eliminates variables. Maybe this would introduce better DX for both sides. Headers will have to be listed either way though.

I'm not getting much support in simplifying the build so I'll close this PR. Happy to reevaluate this later if the team reconsiders.


Every php executable produces multiple Xdebug warnings

When using PHP CLIs inside the dev container they produce multiple warnings like:
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9000 (through xdebug.client_host/xdebug.client_port).

The CLIs work as intended, but the warnings make the CLI experience uncomfortable, especially when repeated 20 times after the normal output of a utility.
As I understand the image enables Xdebug functionality so user's own PHP code can be debugged with F5. I know I won't be doing that, what is the best way to disable it in a dev container?
I tried to add
  "remoteEnv": {
    "XDEBUG_CONFIG": "mode=off"
  },

to devcontainer.json but it has no effect.

My current workaround is:
  "onCreateCommand": "sudo rm /usr/local/etc/php/conf.d/xdebug.ini",

I am not familiar with the PHP dev stack. Have you explored if the behavior can be controlled through the extension settings for PHP Debug extension that comes with the image? extension info here

I'm not familiar either, I'm running it ina  dev container as I'm learning PHP :-)
As far as I understand the problem is that when xdebug is enabled (which it is in the image with the /usr/local/etc/php/conf.d/xdebug.ini config file) anything executed with php tries to connect to the debugger UI. When I'm using PHP-based CLIs in command line there is no debugger listening on port 9000, and it isn't my intention to debug these tools. I was hoping I would be able to disable the xdebug with environment variable XDEBUG_CONFIG as described here but it doesn't seem to help. Perhaps I'm doing something wrong.
I'll have a look at the VSCode extension documentation for some hints, but with only a small hope: the warning is printed exactly because I'm not using the extension when calling PHP.

The warning are there because no debugger is listening. If you start debugging with vscode, the warnings will go away.
This is my .vscode/launch.json file for reference:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9000
        },
        {
            "name": "Launch currently open script",
            "type": "php",
            "request": "launch",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9000
        }
    ]
}

Then you can run the "Listen for XDebug" task and always keep it enabled to disable the warnings, but I'm not satisfied with that solution.
I wanted to turn off XDEBUG by default for CLI commands, but keep it enabled for web pages, so I put this hack in my devcontainer's dockerfile :
RUN echo 'export XDEBUG_MODE=off' >> /home/vscode/.bashrc

This means that every time I'm starting a terminal in vs code, XDebug is disabled by default for that session. I can enable it whenever I want by changing the debug mode for a single command:
XDEBUG_MODE=debug bin/phpunit

That's the best I came up with for now :)


How to use camera_screen.dart and camera.dart to capture image and upload to firebase storage in flutter? Ho can I go back to my place holder and circular avatar and place the captured image there

I have used the  following screens i.e  camera_screen.dart and  preview_screen.dart  from the example
of click to share App  https://www.raywenderlich.com/4333657-using-the-camera-on-flutter#:~:text=camera_screen.,that image with your friends..
Please guide How to fix this issue
My App first goes to camera screen from circular avatar page  and then preview screen , I want  the image captured to be placed in the circular avatar  as I want to store the image stored into the firebase storage.

Hi @srk2k13
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Please   see that my issue is resolved as  there are no proper support  except image picker in flutter, as my application is always crashing . Please provide permanent  solution as image_picker is not working


Usabilla Campaign appears randomly

Creating New Campaign with Custom Events

will lead to display this campaign randomly in app even (event fired or not)
so in some cases campaign is fired in old versions of app which doesn't contain new event.

Hi @sherif-cyber , thanks for reaching out.
Could you please update to the latest version of our iOS SDK using Pods? We fixed that issue in our v6.12.2 release.
You can update using "cd ios && pod update Usabilla && cd .."
Let us know if that worked for you.
Thanks,
Slobodan

Thank you @stodorovicc for Quick Reply
is there any workaround available to avoid that happening in old releases
campaign config or something like that 🤔
i mean when publishing new version and enable campaign (old release issue still happens - new releases fixed)

Hi @sherif-cyber , unfortunately there is nothing that can be done in campaign config, unless you update to the latest version of our SDK. Another thing to note is that this issue started from v6.12.0 when we introduced Standard events, if you're using version older than that, there should be no issues with campaign displaying randomly.
Thanks,
Slobodan

Thanks 🙏  i will validate that at newer SDK version


v1.2.0 Roadmap

Minor update for mini.css.
Changes

[ ] New components: Checkboxes, Radio Buttons, Toggle Switches
[ ] Documentation for said components
[ ] Javascript support library project launch
[ ] Aria support in demo pages
[ ] Make tables responsive

Changes have been postponed until v2.0.0 in order for them to be applied to the redesigned framework. Bear in mind that some minor changes like table responsiveness might be applied in earlier patches.


KIC 2.0 - Integration Testing - Cleanup Our Controller Runner

A hack was introduced in our KIC 2.0 Integration Tests to run the controller-manager as an exec.Command, where in the future we should be able to run this as a library in goroutines and shut it down cleanly in the suite_test.go.
Acceptance Criteria:

[ ] run our controller manager via goroutine
[ ] enable test coverage for the controller manager in the integration tests

https://github.com/Kong/kubernetes-ingress-controller/pull/1175 attempts at making the controller manager runnable as a function

#1175 took care of this :vulcan_salute:


The applied subscription and its resources show normally when the azure account expired

Storage Explorer Version: 1.17.0
Build Number: 20201211.10
Branch: rel/1.17.0
Platform/OS: Windows 10
Architecture: ia32
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer -> Sign in with an azure account -> Select one subscription and apply it (Make sure 'MSAL' is disabled).
Open the local file 'C:\Users<your username>\AppData\Local.IdentityService\AccountStore.json' ->Change the field 'Stale' from 'false' to 'true'.
Go back to Storage Explorer -> Click 'Manage Accounts' icon (The azure account expired).
Click the 'Apply' button -> Check whether the applied subscription and its resources disappear.

Expected Experience
The applied subscription and its resources disappear.
Actual Experience
The applied subscription and its resources show normally.
Additional Context
This issue also reproduces when 'MSAL' is enabled (changing the field 'Stale' from 'false' to 'true' in local file 'C:\Users<your username>\AppData\Local.IdentityService\StorageExplorerV2AccountStore.json').

I am going to mark this as by designed.

The subscriptions still appear in the tree view because those are cached.2
You can still browse for resources because this test case doesn't actually expire the account. It's faking the expiration of an account. In reality, the account isn't expired and we can still get tokens for it.


bug:

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
^0.6.0
Current Behavior
SwitchChainNotSupportedError: "WalletConnect" does not support programmatic chain switching.
Expected Behavior
switching
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Not all wallets support programmatic chain switching via WalletConnect.
What wallet are you trying to switch chains with?
Closing for now until further information is provided.

I want to switch chains through WalletConnect,But I don't know how to call.


如果您看到，能麻烦您尽快回复我吗？非常感谢！如何将.bag文件转化为带有深度信息文件的RGB图片？

我想获得拍摄物体的深度信息以及图片，我是通过拍摄视频的方式拍摄的，并保存为.bag格式文件，我需要将.bag的视频文件转化为具有深度信息的文件以及与之对应的图片，请问我可以怎么做呢？

Translation: If you see, can you please reply to me as soon as possible?  Thank you so much!  How to convert .bag files into RGB images with depth information files?  I want to get the depth information and pictures of the shooting object.  I took the video by shooting and saved it as a .bag format file.  I need to convert the .bag video file into a file with depth information and the corresponding picture.  What can I do?

Hello @woshicaobin  If you want to extract RGB and depth frames from the bag as files named by their frame timestamp in order to help to match them together then you can do this with a RealSense SDK tool called 'rs-convert' that can be found at the link below.
https://github.com/IntelRealSense/librealsense/tree/master/tools/convert
rs-convert enables depth to be extracted to file formats such as .raw that preserve the depth detail that would be lost by saving depth as a png image file.
The rs-convert program in the above link is in C++ language, though there is an already built executable version of the tool included in the RealSense SDK.
On Windows, if the full Windows version of the RealSense SDK has been installed using the automated installer file then the executable .exe version of the rs-convert tool can be found at this folder location on the computer:
C:\Program Files (x86)\Intel RealSense SDK 2.0\tools
If librealsense was built from source code with CMake then the build term below should be included in the CMake build instruction in order to build the SDK with tools and example programs included:
-DBUILD_EXAMPLES=true

你好@woshicaobin 如果您想從包中提取 RGB 和深度幀作為以幀時間戳命名的文件以幫助將它們匹配在一起，那麼您可以使用名為“rs-convert”的實感 SDK 工具來完成此操作，該工具可以找到在下面的鏈接。
https://github.com/IntelRealSense/librealsense/tree/master/tools/convert
rs-convert 可以將深度提取為 .raw 等文件格式，保留將深度保存為 png 圖像文件會丟失的深度細節。
上面鏈接中的 rs-convert 程序是用 C++ 語言編寫的，儘管實感 SDK 中已經包含了該工具的可執行版本。
在 Windows 上，如果已使用自動安裝程序文件安裝了完整的 Windows 版本的實感 SDK，則可以在計算機上的以下文件夾位置找到 rs-convert 工具的可執行 .exe 版本：
C:\Program Files (x86)\英特爾實感 SDK 2.0\工具
如果 librealsense 是使用 CMake 從源代碼構建的，那麼下面的構建術語應包含在 CMake 構建指令中，以便使用包含的工具和示例程序構建 SDK：
-DBUILD_EXAMPLES=真

感谢您的答疑，但是我在使用的时候，出现这个错误，一直无法解决，无法转换，请问您这是什么愿意呢？
关于您上面的解答，我使用SDK成功的导出了RAW格式和PNG图像，但是与PNG图片一起导出的CSV文件好像有很多缺失，只有几个信息值，而我需要的正是PNG图片和对应的无缺失CSV世界坐标文件，请问我可以怎么做呢？

Translation: Thank you for your Q&A, but this error occurred when I was using it, and it has been unable to be resolved and cannot be converted.  What do you wish to do?
Regarding your answer above, I used the SDK to successfully export the RAW format and the PNG image, but the CSV file exported with the PNG image seems to have a lot of missing, only a few information values, and what I need is the PNG image and the corresponding.  There is no missing CSV world coordinate file.  What can I do?

Regarding the Error opening file message, the rs-convert tool may not be able to find the bag file because it does not have a folder path to the bag location defined, only the filename of the bag.  So the rs-convert launch instruction would be expecting to find the bag file located in the same folder as the tool (the tools SDK folder).  Could you try copying your bag files into the tools folder and then repeating the conversion commands, please?
Regarding the export of the CSV file, are you doing this by using the Viewer's Snapshot option on the depth stream to export a PNG, RAW and CSV?

The CSV exported from the Viewer is providing camera metadata information about the saved image instead of a text representation of the depth image itself.

關於Error opening file 消息，rs-convert 工具可能無法找到包文件，因為它沒有定義包位置的文件夾路徑，只有包的文件名。 因此 rs-convert 啟動指令會期望找到與工具位於同一文件夾中的包文件（tools SDK 文件夾）。 您能否嘗試將您的包文件複製到工具文件夾中，然後重複轉換命令？
關於 CSV 文件的導出，您是否通過在深度流上使用查看器的 Snapshot 選項導出 PNG、RAW 和 CSV 來執行此操作？

從查看器導出的 CSV 提供有關已保存圖像的相機元數據信息，而不是深度圖像本身的文本表示。

非常感谢您这么详细的回答！这对我这个新手来说超级有帮助。但是我还是想请问您几个问题：
1 我通过rs-convert转化为了CSV和PNG两种，我想请问CSV和PNG的命名都为同一个时间戳，是代表他们都是同一帧的数据吗？即他们是相匹配的。
2 请问CSV文件代表的是这一时间戳帧率的整张图像每一个像素点的深度信息吗？
3 请问如果我想对很多bag文件批处理的话，我可以怎么做呢？
非常感谢您的回答！

Translation: Thank you very much for your detailed answer!  This is super helpful for me as a novice.  But I still want to ask you a few questions:

I used rs-convert to convert to CSV and PNG. I would like to ask that both CSV and PNG are named with the same timestamp.  Does it mean that they are the data of the same frame?  That is, they are matched.
Does the CSV file represent the depth information of each pixel of the entire image at this time stamped frame rate?
If I want to batch process many bag files, what can I do?

Thank you very much for your answer!

rs-convert originally named the files with the frame number but this was later changed to the frame timestamp.  My understanding is that naming by timestamp makes it easier to match the frames of different stream types to the time that they were generated.  So RGB and depth frames produced at the same time may not necessarly have the same frame number but can be matched accurately by their timestamp.

Yes, that is my understanding that the content of a CSV represents the depth values of that frame shown as numeric values that resemble the depth image of that particular frame.

It is possible to play back a set of multiple bag files automatically in order of their filename.  https://github.com/IntelRealSense/librealsense/issues/6887 is a good reference for doing this.

rs-convert 最初使用幀號命名文件，但後來更改為幀時間戳。 我的理解是，按時間戳命名可以更容易地將不同流類型的幀與其生成時間進行匹配。 因此，同時生成的 RGB 和深度幀不一定具有相同的幀號，但可以通過它們的時間戳準確匹配。

是的，這是我的理解，CSV 的內容表示該幀的深度值，顯示為類似於該特定幀的深度圖像的數值。

可以按文件名的順序自動播放一組多個包文件。 https://github.com/IntelRealSense/librealsense/issues/6887 是一個很好的參考。

Hello @woshicaobin  Do you require further assistance with this case, please?  Thanks!
你好@woshicaobin 請問這個案例你需要進一步的幫助嗎？ 謝謝！

Case closed due to no further comments received.
由於未收到進一步評論，案件已結案。


Log4j config broken resulting in no logging.

Logging has been broken since march 9th.

It appears to be working now.  Nothing has changed so it's unclear why it stopped or started again.  If it happens again, reopen this issue.


Spevacus: Watch theglobx.com

Spevacus requests the watch of the watch_keyword theglobx\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

theglobx\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


Using the build tools with Angular

Hi,
I am currently trying to figure out how I can use the Angular for the keycloak templates, and I checked the keycloakify-starter-angular, which generates the theme but it did not work well. All I could see was white screen, and the js files linked to the ftl file had wrong path. It would be really helpful if you could point me to a way which I can follow.
Thanks.

Hello @Yawarzy,
The Keycloakify Angular Starter created by @kathari00 is still somewhat experimental.
What do you think, @kathari00? Is it ready for use at this stage?
Currently, only React is officially supported by Keycloakify. Using it with other frameworks, like Angular, is still considered experimental.

@garronej Thanks for the quick response. Is there any approach, which you have in mind that I can take to make this work with Angular ?

Only @kathari00 would be able to guide you on this.
She's the only one that have an Keycloakify Angular theme in production to my knowelage.

Hey, @Yawarzy please hmu in the keycloakify discord. Surely we can make the project work for you. There are still things to do but all important concepts should be working.

@kathari00 , Alright I will reach out to you on discord. Thanks!


ActiveRecord orderBy params(array)  is invalid

What steps will reproduce the problem?

ActiveRecord -> orderBy(['created'=>'desc'])  is   invalid
ActiveRecord -> orderBy('created desc')  is   valid
What is the expected result?
i hope ActiveRecord -> orderBy(['created'=>'desc'])    will valid

What do you get instead?

Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.3.3

Operating system
win10 64

While it's stated in Guide that for array parameter SORT_DESC and SORT_ASC should be used it does not state that it's only valid option. Maybe we should mention that or allow "desc" and "asc" strings for array.

While it's stated in Guide that for array parameter SORT_DESC and SORT_ASC should be used it does not state that it's only valid option. Maybe we should mention that or allow "desc" and "asc" strings for array.

i am try this ,  but is invalid too!

While it's stated in Guide that for array parameter SORT_DESC and SORT_ASC should be used it does not state that it's only valid option. Maybe we should mention that or allow "desc" and "asc" strings for array.

i tried it, but it still invalid!

Are you saying that ->orderBy(['created_at' => SORT_DESC]) doesn't work?

I think this is a good idea. I will fix it.

See https://github.com/yiisoft/yii2/pull/17216


Schema registry

Service Registry Schema Registry
Features :
This adds a new Custom Resource ServiceRegistryConnection
This adds to CloudServicesRequest a new status field serviceRegistries
To Test

OLM Upgrade from 0.7.10 to the release version of with this PR
CloudServicesConnections include serviceRegistries when you load them
ServiceRegistryConnection objects are updated and reconciled correctly
ServiceRegistryConnection objects contain all service binding annotations necessary

Some minor inconsistencies in binding. Going to fix them after merge


etcd cluster pods are deleted after minikube restart

etcd-operator 0.7.0
macOS 10.13.1
minikube 0.22.0
kubernetes 1.7.5
STR:

deploy etcd-operator
create an EtcdCluster (size=3)
add some keys, get some keys (verify everything is working)
minikube stop
minikube start
list pods: all are running, including etcd-operator pod.
wait a minute, list pods again: all etcd pods are dead, etcd-operator is running (but has restarted once)
EtcdCluster must be completely deleted and recreated.

I'm trying to find a way to make this less painful, because it's inconvenient during local minikube development to have to recreate the etcd cluster every time my laptop is rebooted or goes through a sleep/wake cycle.
Here is the output of etcd-operator just after minikube starts. It looks like etcd-operator restarts along with minikube (which would make sense, since the VM reboots).
time="2017-11-21T18:47:18Z" level=info msg="etcd-operator Version: 0.7.0"
time="2017-11-21T18:47:18Z" level=info msg="Git SHA: 3bcbdb1"
time="2017-11-21T18:47:18Z" level=info msg="Go Version: go1.9.1"
time="2017-11-21T18:47:18Z" level=info msg="Go OS/Arch: linux/amd64"
time="2017-11-21T18:47:19Z" level=info msg="Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"etcd", Name:"etcd-operator", UID:"d28a270a-c4ac-11e7-9e07-08002743aea9", APIVersion:"v1", ResourceVersion:"2347255", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-2429849505-64f3g became leader"
time="2017-11-21T18:47:19Z" level=info msg="start running..." cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:47:32Z" level=error msg="failed to update members: list members failed: creating etcd client failed: grpc: timed out when dialing" cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:47:45Z" level=error msg="failed to update members: list members failed: creating etcd client failed: grpc: timed out when dialing" cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:47:53Z" level=warning msg="all etcd pods are dead." cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:48:01Z" level=warning msg="all etcd pods are dead." cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:48:09Z" level=warning msg="all etcd pods are dead." cluster-name=etcd-cluster pkg=cluster
time="2017-11-21T18:48:17Z" level=warning msg="all etcd pods are dead." cluster-name=etcd-cluster pkg=cluster

I think what happens then is etcd-operator restarts, and when it comes back up, for some reason it decides to purge the running etcd pods. Here's a little recording I did of watch kubectl -n etcd get all (all of my etcd objects are defined in an "etcd" namespace): https://imgur.com/IAVdMfP
You'll notice that the etcd-operator pod goes from restarts=2 to restarts=3, and at that moment, all etcd pods are killed and disappear.
What would be nice is if the etcd pods could be backed by a PersistentVolume. I thought that's what 0.6.1 was doing with backups, but that has been removed in 0.7.0 in favor of EtcdBackup to an S3 bucket? It's unclear to me what the current state of backups/persistence support is.
Let me know if you need more information. Thanks!

For now, etcd pod could not survive node restart.
For PV support, please track https://github.com/coreos/etcd-operator/issues/1323 .

I'm closing this. Please keep track in https://github.com/coreos/etcd-operator/issues/1323


Update mip-dbcs-relnotes.md

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks


Please Update Tutorial

Hi Microsoft Girls and Guys,
Please you could update the tutorial, i made this tutorial following all example, including this sample https://github.com/microsoft/azure-spring-boot/tree/master/azure-spring-boot-samples/azure-active-directory-b2c-oidc-spring-boot-sample
But I have errors, the pictures of process of creation of user flow in point 4 into this section : Add an application registration for your Spring Boot app are obsolete, the interface in azure change and the tutorial is old.
I need an updated example to Azure Active Directory B2C.
Thanks so much!!! and if is possible for your, stay at home.

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

ID: f81d7cec-7853-fe76-8178-dc1fc6886f1b
Version Independent ID: 61b1f5e0-f5cb-83c2-04ef-e8202dea9b33
Content: Use the Spring Boot Starter for Azure Active Directory B2C
Content Source: articles/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory-b2c-oidc.md
Service: active-directory-b2c
GitHub Login: @panli
Microsoft Alias: panli

@caromeva thanks for the feedback! We'll investigate and update the topic.

@caromeva hey man，I am dealing with this issue . Maybe i will update the picture about  'Add an application registration for your Spring Boot app' ,If you have any other questions about this issue, you can leave commet to me.


Download dependencies and update hashes when running the sync

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
Fixes
fixes https://github.com/valory-xyz/open-autonomy/issues/1875
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (a69aaf3) 91.97% compared to head (4c6b0e7) 91.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #680      +/-   ##
==========================================
- Coverage   91.97%   91.97%   -0.01%
==========================================
  Files         371      371
  Lines       29591    29596       +5
==========================================
+ Hits        27216    27220       +4
- Misses       2375     2376       +1

Flag
Coverage Δ

unittests
91.97% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

aea/package_manager/base.py
100.00% <100.00%> (ø)

aea/package_manager/v1.py
97.80% <100.00%> (-0.43%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix the directory name for custom license texts

Also see 1.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Merging despite the unrelated verification failure (JitPack times out).


support B mode?

I was playing with Sopel and:
2017-12-03T22:24:55Z : debug : userinput  : Sopel : <-  : MODE  Sopel +B
2017-12-03T22:24:55Z : debug : useroutput : Sopel :  -> : @time=2017-12-03T22:24:55.356Z :oragono.test 472 Sopel B :is an unknown mode character to me

This is the "bot" mode, right? Seems like we might as well support it.

Hmm, which other servers support it? I believe this mode adds a line to WHOIS saying 'this client's a bot yo', right? But yeah, I'd be up for adding this if other stuff supports it.

The comparison chart here says that inspircd and unrealircd support it, but charybdis, hybrid, and ratbox do not. It appears in the swiftirc docs --- I'm not sure which ircd they use. Freenode does not support it (because they're using a charybdis fork?).
I defer completely to you on any question regarding standards :-)


TYP: _lib.doccer: add type annotations

Reference issue
Closes gh-20854.
What does this implement/fix?

This adds type annotations to _lib.doccer along with some updates to the function docstrings.
Additional information
I added a Decorator type alias to avoid having to repeat Callable[Callable[...], ...] etc.

The CI failures are relevant - you can use python dev.py lint and python dev.py mypy to see them locally.

Thanks for the tip on running it locally. I think I have fixed all the issues now.

@rgommers Sorry I know you are probably busy but would it possible to re-review this PR? I think everything should be okay now. Although I'm not sure if there were subsequent PRs that made this obsolete.
Just wanted to make sure if I should keep this PR open.

In typing land, we could also ask @jorenham  :)

@jorenham Thanks for the feedback. I added your suggestions to the PR. Hopefully the CI passes because for some reason on my end, the local lint test seems to find some issues in unrelated code that doesn't happen on my main branch.
Might need to still discuss what to do about indentcount_lines and type annotating lines: Iterable[str] and also the docstring type for cls : object.

Might need to still discuss what to do about indentcount_lines and type annotating lines: Iterable[str] and also the docstring type for cls : object.

I suppose that the lines: Iterable[str] is fine as it is, because there's not really a better alternative. And in the worst case, someone will pass a bare str, and that will be accepted by the implementation. So technically it's valid to pass a bare str.
I think that cls: object is already an improvement over cls: type[Any] | Any. And although type | object is technically equivalent to object, I think that it could help to annotate it like that either way. Because type annotations are in a way a form of documentation, and "explicit is better than implicit".

are all of your comments addressed @jorenham ?

They are 😄

PRs like this are very welcome in the future, the bottleneck is just reviewer time!

I wouldn't mind helping review other typing-related PR's.

I wouldn't mind helping review other typing-related PR's.

Fantastic! We have another first-time contribution waiting for review at gh-20307, if you could take a look at that? Perhaps @pavyamsiri would be interested in taking a look at other modules, too :)


Add a User-Agent header to DNS over HTTPS

This could be something like "uProxy v0.9.3 for Android".  To reflect the application version number, it should probably be set by the application, not hardcoded in the DNS client.

I like the idea.
FYI, there's a standard for User Agent strings: https://www.ietf.org/rfc/rfc2616.txt
3.8 Product Tokens

   Product tokens are used to allow communicating applications to
   identify themselves by software name and version. Most fields using
   product tokens also allow sub-products which form a significant part
   of the application to be listed, separated by white space. By
   convention, the products are listed in order of their significance
   for identifying the application.

       product         = token ["/" product-version]
       product-version = token

   Examples:

       User-Agent: CERN-LineMode/2.15 libwww/2.17b3
       Server: Apache/0.8.4

I'd try to use an existing library to follow the standard.


unit test failure on java 11 environment

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
unit test class: io.seata.server.event.DefaultCoreForEventBusTest
error message:
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.042 s <<< FAILURE! - in io.seata.server.event.DefaultCoreForEventBusTest
[ERROR] test  Time elapsed: 1.041 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <1> but was: <2>
	at io.seata.server.event.DefaultCoreForEventBusTest.test(DefaultCoreForEventBusTest.java:82)

Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

和jdk 版本关系不大，将@Test 替换成RepeatedTest, 并给RepeatedTest 参数1000/10000, 此异常就容易重现了

@Justice-love
Is it based on the latest code of develop branch? Please refer to pr #1576. If so, we should consider more other reasons of this fail.
@cmonkey
It was easy to reproduce the unit test fail after RepeatedTest used, because the test code did not clean objects correctly in each loop. The test case is not applicable to RepeatedTest. But I think it's better to release resources correctly in very test case, otherwise, there may be some unexpected situations.
If add the code below, it's not easy to reproduce the error.
public void test() throws IOException, TransactionException, InterruptedException {
    ...
    SessionHolder.init(null);
    DefaultCoordinator coordinator = new DefaultCoordinator(null);
    coordinator.init();

    try {
        ...
    } finally {
        coordinator.destroy();
        SessionHolder.destory();
    }
}

@Justice-love ok, thank you.

通过在finally 块中调用destroy 方法，通过RepeatedTest执行100次，没有发现此异常，应该是解决掉了

Please check #1710 for more information.


Fix typos in converting_pdf_to_text.rst

Fix typos in converting_pdf_to_text.rst.
The word pdfminer.six as a whole should not be separated by newline, otherwise they are treated as two separated words by renderer, and incorrectly displayed as separated.
Trim redundant spaces.

@MapleCCC Thanks for this!


typslides:1.2.1

I am submitting

[x] an update for a package

This release includes several bug fixes and some new features.

Corrected the spacing of grayed boxes.

Included the blank-slide, which does not include header bar vs. no-titled slides.

The background of all slides is now white-filled. Some were previously defined as transparent.

Modified the separations between slides' text and header.

Fixed bug that prevented correct text alignment. This is due to text wrapping inside a box. It has been corrected returning to the previous version format. Included changes in the header (now in the background).

Docs and README updated.

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks.


[Improvement] [spark-connector] support null type for spark connector

What would you like to be improved?
you could refer #2484 add null type support for spark connector,  add transform logic in SparkTypeConverter and add test in TestSparkTypeConverter
How should we improve?
No response

I would like to work on this. @FANNG1


Add to awesome-cakephp

Did you consider adding your plugin to the awesome list ?
If so, is there a reason to keep your current license? Most (99%) CakePHP (plugin) code runs under the MIT license.
Not a big deal, just asking if there is a specific reason, and if MIT would also do.
Also, some basic test coverage (via travis) would be needed to ensure quality and prevent basic regressions.

Thanks Mark, will do that! Was planning some maintenance and updating anyway. Will keep you posted.

Cool
A 3.x version would also be awesome :)

PS: Is it MIT or GPL license? composer states MIT, but license file says otherwise.
I would recommend using the standard non copy left MIT here for both.
To fix that would be important as otherwise this is not usable as plugin for many people without violating copyright law.

I took the liberty of upgrading to 3.x and apply some improvements.
as soon as we figured out the license issue I can push it into a repository.

Awesome, if you have a PR ready, pls do change to MIT.


Fix embedded nulls

Postgres cannot handle nulls inside JSONB, but the node loves them. We must deal with this.

No longer relevant!


NTR: Multiple Mitochondrial Dysfunctions Syndrome 6

Should be a child of fatal multiple mitochondrial dysfunctions syndrome. See https://www.omim.org/entry/617954

MONDO_0054785


Kirki/config seems to be broken

Issue description:
I wanted to add a configuration to my theme with the kirki/config filter, but the filter doesn't seem to work.
Version used:
Latest version from the WP org repository
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
function kirki_demo_configuration_sample_styling( $config ) {

    $config['logo_image']   = 'http://kirki.org/img/kirki-new-logo-white.png';
    $config['description']  = __( 'The theme description.', 'kirki' );
    $config['color_accent'] = '#00bcd4';
    $config['color_back']   = '#455a64';
    $config['width']        = '20%';

    return $config;

}
add_filter( 'kirki/config', 'kirki_demo_configuration_sample_styling' );

This is just one example that doesn't work. Logo image doesn't work and colors neither. I already tried emptying the cache of my browsers, but that didn't work. Do you have any idea why this doesn't work?

v3.1.0 removed the branding & styling modules. They were getting heavily abused by theme authors causing a lot of accessibility issues, and additionally they were too messy to maintain without any real benefit to users.
If you want to use them, you can extract them from a version prior to 3.1 and include them on your own. :+1:


consistency for capitalization of term operator in documentation

Because operators are not Kubernetes objects, the word operator should only be capitalized at the start of sentences, URLs where the external source has done so, abbreviations, or start of headers. Currently we have an inconsistent capitalization of the word operators. This PR is an initial attempt at aligning the capitalization usage for the term operators on the operators page.
If the capitalization scheme is to capitalize items of discussion, not just Kubernetes objects, then we need to consistently do that (such as with namespaces etc). The use of capitalization should have a consistent scheme across all of the documentation, and it appears that when writing about Kubernetes objects, we capitalize them, everything else remains lowercase within sentences. The exception being the word Kubernetes itself (as well as proper nouns of course), which is capitalized.
The styling of words in headers not at the start of the header may desire capitalization as well, but based on my spot checks, headers within a page do not utilize capitalization for non-objects other than at the start of the header.

Hey @jpegleg-k8s,
Thanks for contributing k8s website! In this repo we limited to one language for each PR, please just update the en content and make another PR for zh-cn or id after the en one merged.

Hey @jpegleg-k8s,
Thanks for contributing k8s website! In this repo we limited to one language for each PR, please just update the en content and make another PR for zh-cn or id after the en one merged.

 I appreciate the processes information. I reverted the "id" and "cn-zh" pages in this branch.

Thanks! Then I can help you remove the wrong language labels.
/remove-language zh id
And since the commit log is not so clean, use squash merge for this PR. (It would be even better to squash and force-push by yourself)
/label tide/merge-method-squash

BTW @sea-n we don't really mind if a PR has 2 commits instead of 1. When it's 42 commits instead of 1, or even 10 instead of 1, then I would want a squash.
Capitalization change LGTM.

BTW @Sea-n we don't really mind if a PR has 2 commits instead of 1.

Oh, I was thought the tide/merge-method-squash would be great for 2 or 3 commits. Thanks for letting me know this convention!
But in this case, the first commit touched zh-cn and id file, it will make localization translators hard to track the file history. So the label still applied. 😝

applying lgtm from sftim in comment
/lgtm
/approve


NIFI-2711 - Making top-level nifi-assemblies directory with nifi-asse…

…mbly and nifi-toolkit-assembly underneath it

@brosander there seems to be merge conflicts now. Would you mind addressing them?

@olegz rebased and fixed conflicts, diffed assemblies before and after

@brosander conflicts again... :cry:

@brosander is the PR still wanted? If yes, mind rebasing?

Seems like lack of demand for this change, probably should raise visibility on impact via a discuss thread before messing with assemblies anyway


Path to artifact cannot use wildcards

I think docs should clearly say that path in publish pipeline artifacts task can't use wildcards.

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

ID: 861ce7a5-4fa4-55f1-2c97-46a9cc6a2f66
Version Independent ID: bdf954b9-9bbe-8b34-b674-71ad8153519d
Content: Publish and consume artifacts in pipelines - Azure Pipelines and TFS
Content Source: docs/pipelines/artifacts/pipeline-artifacts.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

Hi @PiotrPerak ,
Can you provide an example? Wildcards are supported for pipelines. From the article:

File matching patterns should assume the first segment of the pattern is (or matches) an artifact name. For example, WebApp/** matches all files from the WebApp artifact. The pattern /.dll matches all files with a .dll extension at the root of each artifact.
File matching patterns for the Download Build Artifacts task are expected to start with (or match) the artifact name, regardless if a specific artifact was specified or not.

Are you saying that these patterns aren't working?

Two months later I don't really remember what was the issue.
My ticket should add more details when I was creating it. Sorry.

The doc has two sections, Publishing and Downloading
@PiotrPerak refers to the Publishing section in his post.  @mijacobs response cites the Downloading documentation.
The question remains whether Publishing supports wildcards?


123

Amended sentence in first para of Sect 3.3

👍

This is exactly the change needed.  But we also need a brief entry into the revision  history.

I've figured out how to update the revision history myself, using shell commands.


World does not generate or load in 1.20

Minecraft Version
1.20
ModLoader
Fabric
Shimmer version
0.1.15
Modpack info or mod list(please reduce mod range)
Essential
The latest.log file and hs_err_pidXXX if exists
no file
optifine , Rubidium , flywheel or any rendering related mods. mod version is required.
No response
Issue description
The World simply gets stuck at 0% on the loading screen
Steps to reproduce
Play 1.20 with the mod
Other information
No response

Meet same issue


Fixes waitForBlock logic to not stop searching if the blockchain is a…

Fixes waitForBlock logic to not stop searching if the blockchain is at least advancing. Unless it gets stuck in a block and the maxAttempts gets consumed waiting for the blockchain to advance.

Rebase and then merge it


Adopt a new labeling scheme for "starter" issues

Rename the StarterBug label to good first issue. GitHub uses this label as a way-mark for recommendations to help new contributors find easy gateways into open source projects. For example, issues labeled with good first issue populate a repository’s contribute page.
Decompose the StarterProposal label as a combination of good first issue and the existing swift-evolution-proposal-needed. An additional New Feature or LanguageFeatureRequest label, both of which exist, may be added as appropriate. To my knowledge, the ex-Jira New Feature label was meant for issues with recently added features, so the latter seems like the better choice.
Update compiler docs and website content respectively.

cc @shahmishal


isNew doesn't work with custom idAttribute

For example, the table in knex
exports.up = function(knex, Promise) {
  return knex.schema
    .createTable('banks', (table) => {
      table.text('name').primary();
      table.boolean('deleted').notNullable().default(false);
      table.timestamps();
    })
};

exports.down = function(knex, Promise) {
  return knex.schema
    .dropTable('banks')
};

With the bookshelf model:
// Bank
const bookshelf = require('db/bookshelf');

var Bank = bookshelf.Model.extend({
  tableName: 'banks',
  idAttribute: 'name',
})

module.exports = bookshelf.model('Bank', Bank);

Will try to use the method update when doing:
Bank.forge({name: 'Bank Name'}).save()

Because Bank.id won't be null

@chamini2 As you are not using database provided primary key Bookshelf thinks that this record is already present in database. So you should force to use insert method on save.
Bank.forge({name: 'Bank Name'}).save({method: 'insert'});

Wow! @chamini2 is quite right. And this has been noted before!
The linked comment has the correct fix.

Ah, silly me. Actually that code is fine. Mapper#id is synchronized to the supplied idAttribute.
If this is the behaviour you're seeing, @chamini2, then it is a bug. But not for the reason I supplied above.

We currently fix this with a extra variable in the model:
// Bank
const bookshelf = require('db/bookshelf');

var Bank = bookshelf.Model.extend({
  tableName: 'banks',
  idAttribute: 'name',

  // XXX this is a workaround for https://github.com/tgriesser/bookshelf/issues/1265
  isNew: function() {
    return this._new;
  },

  initialize: function() {
    // If the capabilities are provided
    // In the object initialization. this._new is true
    this._new = true;

    // On fetched and saved, this._new is false since it's stored
    // in the database
    this.on('fetched saved', () => {
      this._new = false;
    });
  }
});

module.exports = bookshelf.model('Bank', Bank);

@chamini2 Am I missing something? Doesn't my provided
Bank.forge({name: 'Bank Name'}).save({method: 'insert'});

way work where you force to use insert method instead of update?

@vellotis, yes, but isNew should work independently of the idAttribute.

@chamini2 You can override isNew as you have done in the code example above. The default behaviour is documented and works as expected:

Checks for the existence of an id to determine whether the model is considered "new".

@chamini2 Actually I agree. As when I started off with Bookshelf I expected the exact your described behaviour. But this is the part of the framework that everybody use the way it currently behaves. eg.
car = new Car({id: 1});
car.set(attributes);
car.save(this.changed, {patch: true}); // Update only fields that are present
// But actually `insert` gets invoked as`id` would be missing and therefore `isNew()` returns true.

So this can't be considered as an easy fix. Or what do you think @rhys-vdw ?

I understand that is the documented behaviour, but wouldn't it be ideal to make isNew work independently of the idAttribute.
Although, the override I used didn't work as expected in a case where I got the id from a foreign key and wanted to update the table, so I had to use {method: 'update'}.
I currently do this in most of my models, so I created a base model which let's you opt-in or out of the isNew override:
let Model = bookshelf.Model.extend({
  // isNew default source code:
  // isNew: function(){
  //  return this.id == null;
  // }
  //
  // isNew by default compares this.id with null, which won't work
  // if the model has an idAttribute defined, like username, because
  // we need to provide the attribute in the object creation and therefore
  // this.id won't be null making isNew return false (and the object is, in fact, new).
  //
  // The main problem of this behavior is when we call model.save() in a newly created
  // model, it will try to update the model in the database (since isNew returns false)
  // resulting in a NoRowsUpdated error because the model does not exist in the
  // database. A workaround for this is to call model.save(null, {method:'insert'})
  // but we considered it wasn't a clean approach.
  //
  // So, we redefined isNew to return a custom private attribute called _new
  // which is true if the object (this) is not stored in the database.
  //
  // Note that this workaround doesn't work correctly for all cases, but for most.
  // XXX This is a workaround for issue tgriesser/bookshelf#1265
  isNewOverwrite: function() {
    // `_new` is used in the `isNew()` function to know if the record
    // is already stored in the database
    this._new = true;

    // On fetched and saved, this._new is false since it's stored
    // in the database
    this.on('fetched saved', () => {
      this._new = false;
    });

    this.on('fetched:collection', (collection) => {
      collection.forEach(model => { model._new = false; });
    });

    this.isNew = function() {
      return this._new;
    };
  },
});

To be used in this way:
// Generic Model
const App = require('modules/apps/app-model');

let Bank = App.Model.extend({
  tableName: 'banks',
  idAttribute: 'name',

  initialize: function() {
    this.isNewOverwrite();
    // rest of the initialize function
  }
});

@chamini2 I think something similar to your suggested solution may be considerable for version 0.10. Also adding isPersisted would come under consideration.
Currently this is a bug of eager loading. fetching:collection and fetched:collection events are not passed to eagerly loaded collection instance. You could fix your eager loaded records case by overriding Model#collection method:
const ModelBase = Bookshelf.Model;
const Model = ModelBase.extend({
  // prototype methods
}, {
  // static methods
  collection() {
    return ModelBase.collection.apply(this, arguments).on('fetched', function(collection) {
       collection.forEach(model => { model._new = false; });
    });
  }
})

As Model#collection is a static method you shouldn't override it in your isNewOverwrite method.

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again


DynamoDB...

Hello
Can i use DynamoDb with this bundle please ?

This was requested in the past (https://github.com/doctrine/mongodb-odm/issues/1353#issuecomment-177173995) and the resolution is that we do not have the throughput to work on supporting more databases.


Check for Rust and wasm32-wasi on spin new and spin build

This adds a Rhai scripting facility to Spin templates and to the spin build command.  The scripting facility is used to implement a check that the user has Rust and the wasm32-wasi target installed when they install the http-rust template, and when they build an application based on that template and the build fails.
Some questions for reviewers:

The current draft ships scripts to the user as part of template install and instantiation.  I can already envisage problems with this: as Rust 1.71 will change the wasm32-wasi target to wasm32-wasi-preview1, users on Rust 1.71 whose templates predate Rust 1.71 will get the wrong advice.  I would kind of like to be able to point at, say, magic:rust instead of a local path, and have that fetch the latest script(s) - but I don't want to slow down template instantiation or build, and definitely not require the user to be online!  We can snapshot the magic scripts at template install time (which is an inherently online activity), but how do we painlessly update them?  [ETA: Incidentally, this would largely obviate question 5.]

There is duplication across the templates and build crates.  Would it be reasonable to create a scripting crate to encapsulate this?  (That in turn raises whether we should have an interaction or ui crate, since scripting alone would have duplication with templates::interaction.)

Currently templates cite scripts via the manifest (e.g. [scripts] after_instantiate = "after_instantiate.rhai".  This feels like there's redundancy there.  How do people feel about just using a naming convention instead?  (E.g. if the template includes a script file called after_instantiation.rhai then we run it after instantiation, no need for a manifest entry.)

I put the component checker in a directory under the component called .spinbuild.    I considered .spin/build (and excluding that from .gitignore) but at the moment the .spin directory is kind of transient, and I suspect people are already learning to blow it away when you want to reset an app to its clean state.  Any ideas?

If a component build fails, should a script be allowed to signal to retry it?  This would fix a bit of ugliness/potential confusion where we go "okay we have installed wasm32-wasi for you but your build failed."  But I am wondering if it would cause coordination issues in multi-component applications, e.g. if different scripts signal different things.

Is it worth being able to mark a template script as "advisory" - that is, success or failure does not affect the overall outcome of template instantiation?  The current Rust script probably should be advisory, because you still have an app if it fails.  So maybe "advisory" should be the default, and we can add "critical" later if we need to?

Some to-dos:

I haven't yet done the redis-rust template

I haven't done any languages other than Rust

Uh probably a bunch of other things I have lost track of, yay

The current scripting host assumes we can just run the script top to bottom.  If, later on, we wanted to change the interface, e.g. to call specific entry points, this would break all existing scripts.  Do we need more versioning around the host-script interface?

A went through the experience of not having wasm32-wasi target installed, and I really like it.
This is the output
✅ > ./spin new http-rust test
Description:
HTTP base: /
HTTP path: /...
This template requires the Rust `wasm32-wasi` target.
You do not have this target installed. Would you like Spin to install it for you? yes

info: downloading component 'rust-std' for 'wasm32-wasi'
info: installing component 'rust-std' for 'wasm32-wasi'

Small nits:

Could we run the check before prompting? That could save some keystrokes if a user want to opt-out.
Can we format this as a warning or advisory (like you propose)?advisory: This template requires the Rust `wasm32-wasi` target.
advisory: You do not have this target installed. Would you like Spin to install it for you?

Can this somehow be tied in to the Spin doctor infrastructure which Lann has proposed https://github.com/fermyon/spin/commit/8be010257bc4cecc71478f99697c7f203f70984d? That might help getting a consistent experience for e.g. "Advises, Info, Errors, etc."

I am somewhat wary of tying specific toolchain scripts to individual templates (which I think you're getting at with

point at, say, magic:rust instead of a local path

Would we better off pushing toolchain setup into plugins? Then templates could declare soft dependencies on plugins (which would also be helpful for e.g. py2wasm).

Can this somehow be tied in to the Spin doctor infrastructure which Lann has proposed

Indeed I had envisioned "toolchain health checks" as part of spin doctor. If we ran those immediately after spin new I think we could get a similar experience as template-specific toolchains, especially if combined with spin doctor plugin template dependencies (!).

Closing in favour of #1435


release 2.1.0 does not work on ubuntu-20.04

https://github.com/bats-core/bats-action/pull/14 added support for retrying when downloading bats using the --retry-all-errors flag. But this flag is not present on the curl that is installed in ubuntu-20.04 runner machine.
Ref for the failure: https://github.com/akhilerm/release-test/actions/runs/11030089600/job/30633923578#step:3:60

2.1.1 is out and it's supporting 20.04 as well, let me know

2.1.1 is out and it's supporting 20.04 as well, let me know

👍 Thanks very much!

yw!


Should stable HTTP instrumentations published under the OpenTelemetry org implement all Recommendeds and SHOULDs?

I personally would expect stable HTTP instrumentations published under the OpenTelemetry org to implement all Recommends and SHOULDs.
Part of the issue is that Recommendeds and SHOULDs can often not be added later to stable instrumentations, e.g. since adding new metric attributes is a breaking change.
If there is a reason why a particular instrumentation chooses not to implement a Recommended or a SHOULD I think that this should be documented along with the rationale (e.g. it is prohibitively expensive for some reason to capture a specific attribute from a specific library, or a specific library provides no way to capture a specific attribute).

Discussed in Semantic Convention WG today.
It looks like we are fairly well covered already by RFC wording https://datatracker.ietf.org/doc/html/rfc2119:

SHOULD   This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course.

I would say that not implementing a SHOULD is probably worth opening an issue each time (in the lang-specific repo), both to track the reasoning, and to provide visibility and an opportunity to comment from the (lang-specific) community in case there are any differing opinions.
But I'm not sure that this requires any special wording / guidance in this repository.


Sorry for late reply. This is reveal.js


Setting up the genieacs

Hello,
First of all I apologize for opening an issue, because I am pretty sure that this is not actually an issue of the program, but rather the issue is a local one -- of installing or setting up it(genieacs) in "our" environment.
The main purpose to use the program is that we have some CPE's(DSL modems) which have the manually configs(with the NAT and the http access enabled) so that we could manage them remotely(mainly through the web interface), the issue, however occurs when those CPE's are reset(which occurs quite soon); in that state(reset, with bridge interface) we no longer can access them(so that to reconfigure them), however we are able to gain some details: such as -- the mac address of the reset device(DSL modem).
Recently we were thinking about the TR069 protocol; and after searching the Internet I come across to your program; so I was browsing the installation guides hoping to install and test it..
The last, so far looking relatively good instruction which I was/am using is this one: https://github.com/zaidka/genieacs/wiki/Installation-in-Ubuntu-14.04-&-15.10
Here is the things which I've done:
I've installed the Ubuntu 14.04 LTS;
Using the OS's built-in terminal, have installed the Node.js, Redis, MongoDB;
Then I've installed the GenieACS, and the GenieACS GUI.
Then I've again, was following the instructions for my next steps..
I was able to run the gui(the web), but then have encountered an error message(I've also tried to edit "development.rb" file, in particular: the host and the port fields, but it was not helping.. ), similar to this one:https://github.com/zaidka/genieacs-gui/issues/1
here is the screen shot of mine:

Would really appreciate the response; thanks in advance!
One important update: I was able to run the program using this guide: https://github.com/zaidka/genieacs/wiki/Script-Installation---Ubuntu
here is the screen shot now:

Now I am looking forward to actually configure it...

For topics more about configuration/usage rather than software issues please use the mailing list.

Hello okraits, thanks for reply. I've posted a message at: http://permalink.gmane.org/gmane.network.genieacs.user/713


Motionplanning and teleoperation for WidowX robot

Hi! Are there plans to support these for WidowX, similar to Franka?

This is possible, you can probably modify the existing teleop code of the Franka arm to use the widowx arm, just swap the URDF and choose a different target link.
Otherwise we can try and build a better abstraction around teleoperation tools to more easily support other robot embodiments in the future.


os-openconnect - no place to enter second password

The Cisco AnyConnect client has a "second password" field used for 2FA codes and commands. For example, you can enter in "push" into this second field to have DUO Authenticator activate a prompt on your mobile phone to validate that it was actually you trying to login with your account.
I would like to have this second password field available in the OpenConnect web UI. From what I've read elsewhere online, OpenConnect itself supports this feature, so in theory it should be easy to add to the web UI.

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


Ensure backwards-compatibility of bitstring lsb0

As some systems currently still have an older version of bitstring installed, this commit allows newer versions of dumpling to be backward-compatible with older bitstring versions.

Hi @micprog,
Thanks for the PR. In my opinion however, it would make much more sense to force the required bitstring version to be installed (by adding a version >= specified in setup.cfg) than adding patches to the source code. That way, installing or upgrading dumpling with pip would automatically force you to install the right version of bitstring. Or are there any reasons I might overlook to insist on a source code patch?


rm and rmSync don't work on a patched-in memfs volume

Deleting a directory with rm or rmSync does not delete the directory when run on a memfs Volume patched in with patchFs.
Both methods work when using a memfs Volume directly, just not with patchFs.
Only the rm and rmSync methods don't work. The rmdir and rmdirSync methods seem to work as intended with patchFs and an memfs Volume.
fs-monkey/src/util/lists.js doesn't contain rm or rmSync. I'm not sure whether they were left out intentionally for some reason, or if their absence really is a bug.
memfs-rm.js.txt

Yup this sounds like a bug that should hopefully be fixed by #362, however CI is currently broken so we can't publish new releases until #366 is resolved by @streamich

I have encountered the same problem

This has been released in v1.0.4 🎉


White sheet when creating a connection

After installation I can't create connections. When I click "Create connection" I only see a white sheet.
In the cmopose file all parameters are standard.

Same issue for me.
Here's the log from ui container
{"level":30,"time":1697538981941,"pid":11,"hostname":"f34a675d2c4d","name":"datalens-full","id":"dl.88524.0b94065e","method":"POST","url":"/gateway/root/bi/getConnectors","headers":{"host":"<IP_ADDRESS>","x-forwarded-for":"<IP_ADDRESS>","connection":"close","content-length":"0","accept":"application/json, text/plain, */*","x-timezone-offset":"-180","accept-language":"ru","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/118.0.2088.46","x-request-id":"dl.88524.0b94065e","content-type":"application/x-www-form-urlencoded","origin":"http://<IP_ADDRESS>:18080","referer":"http://<IP_ADDRESS>:18080/workbooks/w8yu4yy11ikql/connections/new","accept-encoding":"gzip, deflate","cookie":"[REDACTED]"},"remoteAddress":"::ffff:<IP_ADDRESS>","remotePort":55612,"msg":"[Express POST] Request started [dl.88524.0b94065e]"}
{"level":30,"time":1697538981945,"pid":11,"hostname":"f34a675d2c4d","name":"datalens-full","msg":"[Express POST] [gateway] [Gateway bi getConnectors [rest]] Initiating request [dl.88524.0b94065e]"}
{"level":30,"time":1697538981945,"pid":11,"hostname":"f34a675d2c4d","name":"datalens-full","debugHeaders":{"x-api-request-method":"GET","x-api-request-url":"http://control-api:8080/api/v1/info/connectors","x-api-request-lang":"ru","x-request-id":"dl.88524.0b94065e","x-gateway-version":"1.0.5"},"msg":"[Express POST] [gateway] [Gateway bi getConnectors [rest]] Starting request [dl.88524.0b94065e]"}
{"level":50,"time":1697538981952,"pid":11,"hostname":"f34a675d2c4d","name":"datalens-full","err":{"type":"Object","message":"Request failed with status code 500","stack":"AxiosError: Request failed with status code 500\n    at settle (/opt/app/node_modules/axios/dist/node/axios.cjs:1909:12)\n    at IncomingMessage.handleStreamEnd (/opt/app/node_modules/axios/dist/node/axios.cjs:2989:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","debug":{"requestUrl":"http://control-api:8080/api/v1/info/connectors","responseStatus":500}},"extra":{"actionURL":"http://control-api:8080/api/v1/info/connectors","parsedError":{"status":500,"message":"Gateway request error","code":"GATEWAY_REQUEST_ERROR","details":{"title":"500 Internal Server Error","description":""}},"serviceName":"bi","debugHeaders":{"x-api-request-method":"GET","x-api-request-url":"http://control-api:8080/api/v1/info/connectors","x-api-request-lang":"ru","x-request-id":"dl.88524.0b94065e","x-gateway-version":"1.0.5"}},"msg":"[Express POST] [gateway] [Gateway bi getConnectors [rest]] Request failed [dl.88524.0b94065e]"}
<IP_ADDRESS> - - [17/Oct/2023:10:36:21 +0000] "POST /gateway/root/bi/getConnectors HTTP/1.1" 500 176 "http://<IP_ADDRESS>:18080/workbooks/w8yu4yy11ikql/connections/new" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/118.0.2088.46"
{"level":50,"time":1697538981953,"pid":11,"hostname":"f34a675d2c4d","name":"datalens-full","extra":{"responseTime":12,"statusCode":"500","headers":{"x-request-id":"dl.88524.0b94065e","surrogate-control":"no-store","cache-control":"no-store, max-age=0, must-revalidate, proxy-revalidate","content-type":"application/json; charset=utf-8","content-length":"176"}},"msg":"[Express POST] Request failed [dl.88524.0b94065e]"}

I noticed calls to container control-api, and checked the logs from there. It looks like it has a problems with initialization, here's the log from control-api
*** no app loaded. going in full dynamic mode ***
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/dl_control_api/app.py", line 87, in <module>
    app = create_uwsgi_app()
  File "/usr/local/lib/python3.10/dist-packages/dl_control_api/app.py", line 56, in create_uwsgi_app
    settings = load_settings_from_env_with_fallback(ControlApiAppSettings)
  File "/usr/local/lib/python3.10/dist-packages/dl_configs/settings_loaders/loader_env.py", line 661, in load_settings_from_env_with_fallback
    return EnvSettingsLoader(effective_env).load_settings(
  File "/usr/local/lib/python3.10/dist-packages/dl_configs/settings_loaders/loader_env.py", line 620, in load_settings
    fallback_cfg = fallback_cfg_resolver.resolve(effective_s_dict)
  File "/usr/local/lib/python3.10/dist-packages/dl_configs/settings_loaders/fallback_cfg_resolver.py", line 102, in resolve
    with open(path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/backend-configs/api.yaml'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
--- no python application found, check your startup logs for errors ---
{"level": "DEBUG", "message": "[17/Oct/2023:10:36:21 +0000] <IP_ADDRESS> GET /api/v1/info/connectors 500 [0 msecs|104 B]"}

Looks like I found a solution.
There is no file api.yaml in container datalens-data-api
It exists in datalens-control-api but not in datalens-data-api

Ooh, I should have taken a closer look at the contents of docker-compose.yml
It states that both containers include the CONFIG_PATH variable, which by default in the configuration leads to volume.
To launch the service correctly, you must either create the backend_configs directory yourself near docker-compose.yml, in which you place the api.yaml file from the repository, or follow the launch instructions from the README.
It doesn’t look entirely obvious, but if you follow the instructions, the necessary directory hierarchy is created for correct launch.

Same problem (even with «git clone») I have running DL with podman-docker.
Solution — «chmod a+rX . -R» for all clone directory.


chore: removing .DS_Store files

It looks like this was added to .gitignore in 1ec8f97330cc605d003757b9c8d6edb8040119bc, but these files weren't removed

thanks!


Clicking "Expand Protein Complexes" has no effect

Currently, in the latest version in main, clicking on the "Expand Protein Complexes" button has no effect (other than changing the button label to "Collapse Protein Complexes"). It looks like this was working as of version 1.0.1, but broke sometime after that.
Looking at GO-CAM 6606056e00002011, I would expect that clicking "Expand Protein Complexes" would change the label of the "B cell receptor complex" node to "CD79B, CD79A".

There is an error in the browser console when clicking the button:
gocam-viz.tsx:395 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
    at GoCamViz.createComplex (gocam-viz.tsx:395:31)
    at gocam-viz.tsx:324:31
    at Array.forEach (<anonymous>)
    at GoCamViz.renderGoCam (gocam-viz.tsx:318:24)
    at GoCamViz.toggleComplex (gocam-viz.tsx:569:14)
    at HTMLButtonElement.onClick (gocam-viz.tsx:754:57)

@pkalita-lbl thanks for catching this bug, I had totally forgotten that the new data model, there is no longer an id by GO root type i.e. BP, CC, MF, PCC, etc bcz back then it was hardcoded as there was only one of each. So this is line was giving the error
 const edges = activity.getEdges(ActivityNodeType.GoProteinContainingComplex)

So maybe for now a hack is to traverse from MF, we gatta have a proper data model later


Dselans/pick next member

This is something that was missed when node and member tagging was first added. While checks were correctly distributed among tagged and untagged members, addition check updates would not use the same logic.
This does that + fixes a number of bugs I stumbled into (mostly related to figuring out feasible members for new checks).

Oh yeah, stat checking had to be redone in order to support this functionality.

Going to go ahead and merge this since it's needed for core functionality.


Update selectors crate to 0.25, and enables :has and :is selectors.

This is a (very minor) breaking change to the API because it adds a new field to the Select iterator in order to add caching for :nth-child.
If this is not wanted, don't pull the last commit da1d495407d5e8b5801172e1061db528fe9e0ffa.

Thanks! I don't see any benchmarks. Do you have numbers for how much the selector cache helps?

I don't and it might take some thought as to how to construct one. From what I understand, it only matters for selectors that contain :nth-child(x) anyways. It'd be completely legitimate to just leave out, tbh.

Running on an AMD Framework 13 with a Ryzen 7 7840U:
parse: test_data/real_world/vec_rustdoc.html
                        time:   [16.768 ms 16.864 ms 16.971 ms]

select: test_data/real_world/vec_rustdoc.html / p
                        time:   [446.73 µs 453.60 µs 461.04 µs]

select uncached: test_data/real_world/vec_rustdoc.html / p
                        time:   [480.22 µs 483.68 µs 487.34 µs]

select: test_data/real_world/vec_rustdoc.html / p:has(a)
                        time:   [495.69 µs 499.97 µs 504.66 µs]

select uncached: test_data/real_world/vec_rustdoc.html / p:has(a)
                        time:   [547.53 µs 553.19 µs 559.00 µs]

select: test_data/real_world/vec_rustdoc.html / p + p
                        time:   [452.18 µs 457.92 µs 466.39 µs]

select uncached: test_data/real_world/vec_rustdoc.html / p + p
                        time:   [498.54 µs 516.75 µs 542.44 µs]

select: test_data/real_world/vec_rustdoc.html / p:nth-child(4n+1)
                        time:   [501.90 µs 507.47 µs 513.52 µs]

select uncached: test_data/real_world/vec_rustdoc.html / p:nth-child(4n+1)
                        time:   [563.07 µs 568.15 µs 573.56 µs]

select: test_data/real_world/vec_rustdoc.html / p:nth-of-type(4n+1)
                        time:   [494.85 µs 518.08 µs 546.73 µs]

select uncached: test_data/real_world/vec_rustdoc.html / p:nth-of-type(4n+1)
                        time:   [551.41 µs 582.28 µs 631.73 µs]

parse: test_data/real_world/rust_wikipedia.html
                        time:   [9.9531 ms 9.9872 ms 10.024 ms]

select: test_data/real_world/rust_wikipedia.html / p
                        time:   [247.07 µs 250.44 µs 254.54 µs]

select uncached: test_data/real_world/rust_wikipedia.html / p
                        time:   [271.24 µs 274.19 µs 277.87 µs]

select: test_data/real_world/rust_wikipedia.html / p:has(a)
                        time:   [251.25 µs 252.65 µs 254.23 µs]

select uncached: test_data/real_world/rust_wikipedia.html / p:has(a)
                        time:   [284.42 µs 291.99 µs 302.83 µs]

select: test_data/real_world/rust_wikipedia.html / p + p
                        time:   [246.15 µs 247.80 µs 249.60 µs]

select uncached: test_data/real_world/rust_wikipedia.html / p + p
                        time:   [271.21 µs 273.11 µs 275.26 µs]

select: test_data/real_world/rust_wikipedia.html / p:nth-child(4n+1)
                        time:   [251.70 µs 253.96 µs 256.77 µs]

select uncached: test_data/real_world/rust_wikipedia.html / p:nth-child(4n+1)
                        time:   [396.74 µs 399.24 µs 402.05 µs]

select: test_data/real_world/rust_wikipedia.html / p:nth-of-type(4n+1)
                        time:   [251.21 µs 254.23 µs 258.04 µs]

select uncached: test_data/real_world/rust_wikipedia.html / p:nth-of-type(4n+1)
                        time:   [403.99 µs 408.67 µs 413.81 µs]

Strangely, I'm observing that the cache increases performance for even selectors that shouldn't need to use the cache. I tested with LTO turned on, and that didn't help, so it's not some inlining-related issue. I'm not sure why.

Thanks for adding benchmarks! Seems like a modest speed up for the expected cases? I'm just trying to balance this against the scary warning about crossing the streams with SelectorCache instances. I'm glad you added it, but it would be nice to somehow tie them to the document so they're harder to interchange in the public api.

Thanks for adding benchmarks! Seems like a modest speed up for the expected cases? I'm just trying to balance this against the scary warning about crossing the streams with SelectorCache instances. I'm glad you added it, but it would be nice to somehow tie them to the document so they're harder to interchange in the public api.

Now that I think about it and reading through the code, I don't think it's accurate. The only time it'll cause errors if you mutate a node such that it is still the same OpaqueElement, but, e.g. has different children or a different parent. Since, then it may be a different nth child index in two different queries, but the result is cached anyways.
I'll edit the documentation to be more specific.

After looking at the generated assembly, I think I do have a satisfying explanation for why the cache helps, anyways. Allocating the cache means zeroing the stack space for 6 HashMaps, and also running the Drop (since it can't statically prove nothing is allocated), and that adds up over all the elements in a document. Unfortunately, the API no longer lets you pass None in place of the nth index cache, which presumably would remove that difference.

There is also an active fork of selectors that is more updated: https://lib.rs/crates/parcel_selectors
I'm investigating it right now too.

Any update on this PR? The current version should have all the reviews addressed.

Thanks for you patience. I'm away this week, but will follow up when I get back.

@Lymia Unfortunately I'm not longer with Brave, so I won't be able to merge this. Hopefully someone else will take over maintenance.


Getting Celery logging via Django into Sentry

Repost from https://github.com/getsentry/sentry/issues/4565 on request of @JTCunning.
Recently we updated Celery to 4.0 in our Django project. The logging gave us some headaches and I would like to help fellow hackers so they don't get stuck on this.
The issue is described in the Celery issue tracker but disregarded as they don't have enough resources to work on it: https://github.com/celery/celery/issues/2437
We had to implement 2 things:
Set CELERYD_HIJACK_ROOT_LOGGER to False in our settings.
And connect to the setup_logging signal from Celery:
from celery import signals

@signals.setup_logging.connect
def setup_logging(**kwargs):
    """Setup logging."""
    pass

It would be nice to see this reflected in the documentation somewhere. As it looks to me this is very Django-specific, I'd propose to putting it here: https://docs.sentry.io/clients/python/integrations/django/
I also got confused from the settings described on the page about Celery in the Sentry docs. The code there doesn't seem to be required for us. Not sure if we can change something about this to make it more clear when you should use that. Only when you are running celery<4.0 maybe? https://docs.sentry.io/clients/python/integrations/celery/
Otherwise, the docs are great, thank you for that!
What do you guys think?

Hey @Duologic ,
Where did you put this code from setup_logging? In celery.py (do you config celery here?)?
Thanks in advance

Wow, that is from quite some time ago. I'm not sure if it still works that way, but looking at my own description, that looks like the place to put it. As the decorator makes sure the signal is connected, I'd think it doesn't matter, as long as it gets executed when celery is set up.

As this SDK is being phased out for Sentry-Python, no need to keep this issue open.


Package.swift missing

When trying to build SwiftJSON, package manager throws the following error:
error: The package at /Users/SahandTheGreat/Desktop/kitura/Kitura-Sample/Packages/SwiftyJSON.git has no Package.swift for the specific version: 10.0.1
Please help me!

SwiftyJSON isn't SPM compatible

That will likely come in the fall when Swift 3 is officially released

I can see it has Package.swift file now, yet I'm still receiving this message:
➜  volkszaehler swift package fetch
warning: refname '2.4.0' is ambiguous.
warning: refname '2.4.0' is ambiguous.
HEAD is now at 49a9cc9 Set APPLICATION_EXTENSION_API_ONLY to yes for macOS target
Resolved version: 2.4.0
Empty manifest file is not supported anymore. Use `swift package init` to autogenerate.
error: The package at `/Users/andig/Desktop/volkszaehler/Packages/SwiftyJSON.git' has no Package.swift for the specific version: 2.4.0
➜  volkszaehler

I am still getting the same error.

In your dependencies use the latest version.
like this:
`import PackageDescription
let package = Package(
name: "swiftyJSONtester",
dependencies: [
.Package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", versions: Version(1,0,0)..<Version(3, .max, .max)),
]
)
`
or like this:
let package = Package(     name: "swiftyJSONtester",     dependencies: [       .Package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", majorVersion: 3, minor: 1)     ]   )

@SahandTheGreat The readme just got updated with instructions on adding the latest package version for SPM. I'll consider this fixed, let me know if we need to reopen. Thanks! https://github.com/SwiftyJSON/SwiftyJSON/pull/728

It seems 5.0.2 that contains this fix is not yet released in cocoapods. Any update on when can we have it released in cocoapods as well?


Check and report duplicate references

This issue comes from perl6/doc#1912 and it's also present here.

Do we consider references with the same display text, duplicated? @JJ

After https://github.com/Raku/problem-solving/pull/216, I think is a good idea to resolve this problem as follows:

Throw a warning for those references with the same name but different URI. These references are valid and point to different places, so the only problem is that they will appear "duplicated" in the search bar.
If two or more references are found with the same URI, then documentable will fail, listing all duplicated references found and where they are located.


[SPARK-37257][PYTHON] Update setup.py for Python 3.10

What changes were proposed in this pull request?
This PR fixes setup.py to note that PySpark works with Python 3.10.
Why are the changes needed?
To officially support Python 3.10.
Does this PR introduce any user-facing change?
Yes, it officially supports Python 3.10.
How was this patch tested?
It has been tested in https://github.com/apache/spark/pull/34526.
Arrow related features are technically optional.

Test build #145030 has started for PR 34533 at commit 8063148.

cc @dongjoon-hyun FYI

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49501/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49501/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49501/


FastSpeech 2

Hello, thank you for this project. I'm aware of two different implementations of FastSpeech, any plan to support the recent FastSpeech 2 architecture?
Thank you very much.

@loretoparisi yes, i have a plan :))). But because it's a new paper so i won't public it soon when i finished implementation :D.

Hi, I am reanding Fastspeech2 paper. could you help to explain how to perform quantize F0 and energy with log-scale bins for f0 and uniform bins for energy?

@superhg2012 i haven't read paper in detail yet. This is what i think, when you compute F0 (f0 value in range 0 - 100 for example) then we have 10 bins (f0 from 0 - 9 in bin 1, f0 from 10-19 in bin 2...) then we will learn 10 f0 embeddings for each bin :))). The procedure is the same for energy

Is the latest released FastSpeech V3 = FastSpeech 2?

@ZDisket nope :)). it's fastspeech V3 :(. I'm trying to find free time to implement fastspeech v2, fastspeech v2 is not hard to implement, almost layers already implemented on this framework

@superhg2012 i haven't read paper in detail yet. This is what i think, when you compute F0 (f0 value in range 0 - 100 for example) then we have 10 bins (f0 from 0 - 9 in bin 1, f0 from 10-19 in bin 2...) then we will learn 10 f0 embeddings for each bin :))). The procedure is the same for energy. But note that before we separate bins we need apply function F to F0 and energy to rescale it, seems paper use log function :D

In FastSpeech2 paper,  they quantize F0 and energy of each frame to 256 possible values.

@superhg2012 yes, after you apply log function to F0, u can quantize it to any posible values. 256 is just 1 option :D. Example after apply log, min f0 is 0 and max f0 is 20, so you can calculate the range of each bins ((20 - 0) / 256) = 0.078125. So all f0 values in range 0, 0.078125 will quantize to 0, f0 values in range 0.078125, 0.078125*2 will quantize to 1, ... then we just need to learn 256 f0 embeddings.

@superhg2012 I have tried bit: https://colab.research.google.com/drive/1rGHRPuWMJkNW9g5AS4UhPQSVtdwXX7Nv?usp=sharing

@dathudeptrai  get it! thanks very much

@rishikksh20 @superhg2012 note that the min and max should be compute on all traing set :))).

Yes

@dathudeptrai  you mean the min and max should be computed from all dataset and then use it to compute bins and then apply bin to each wave?


Suggestion for layout in full-screen mode.

version: latest as of Sept 6, 2017
Here are 2 screenshots with different vnc screen resolutions. My real browser resolution is 1920x1080
1366x1920

1920x1080

I think it should be done this way:
if vnc screen resolution is less than a browser viewport it should be centered and shown with given vnc width.
otherwise, it should be scaled to viewport width with vertical scrollbar.
Now it looks like the width depends on vnc screen height and if it quite large, image becomes too small.

You could try novnc with different settings and say what combination of settings is good for you. You can connect to vnc via novnc with pwd selenoid, and path /vnc/<session-id> on selenoid directly

I'm not sure what you are trying to say. I'm pointing out to not efficient viewport distribution. Cannot come up with reasons why don't you show a browser in full width.

UI simply does nothing with browser width and viewport distribution. By default - xfvb screen greater than browser window, so some black space for UI - still the screen of your session (red arrows) - and can't be distinguished from browser window. We use NOVNC under the hood which has some options to crop the viewport. You can try this options in the original novnc client.
Also, you can try to tune xfvb in the container or the browser resolution with screenResolution capability.
For now, UI just tries to fit the vnc screen in viewport by longest side. Personally, I don't think scrolls is a good idea in vnc.

So the proposal is to fit by width and align to center if width lesser than external viewport.
Ok, accepted, will think on how to do it

If #97 is a duplicate, then this is not improvement. It is a bug. Because maximization feature do not work.

Hi, @lanwen @vania-pooh! Do we have any solutions for this? Still have error "Canvas not supported." and can't maximize window (Firefox 56, Chrome 64)

@aemelyan maximizing browser windows inside containers is not supported because of missing window manager. As a workaround you are expected to use something like this in your tests:
driver.manage().window().setSize(new Dimension(1920, 1080)); // Java code

@vania-pooh thank you for the quick answer! I believe that my issue a little bit different. I don't use maximizing during test run, instead i set size to browser directly as you show. But when i open VNC on selenoid UI and try to open fullscreen mode, canvas element size is only 1120x630 instead of expected 1920x1080. Here is html - Canvas not supported. . I use Chrome 64 that should support canvas. Any thoughts?

All the drawings are made by js, you won't see anything in html. Issue should be fixed with some tune of novnc


Issue with feed update

I created an account for a twitter feed after you've fixed the issue but it doesn't seem to create new items when something new appears on the feed. Is there some delay before creating items ?
For example this account has 4 new items on its feed but they doesn't appear to have been created on the profile page :
https://bots.tinysubversions.com/u/larueourien1

Hi, what software are you using to view the feed (Mastodon, Pleroma, etc)?

Hello,
I have the same problem.
The first loading of rss feed is working but then a new content is pushed, it's not working.
Example with my Mastodon's user feed :
https://social.nealta.fr/users/husimo.rss (3 items)
https://bots.tinysubversions.com/u/husimo (2 items)
Thank you

Seems to be working know, thank you

On mastodon. After some time it seems to be working but not to be updated often. Items are pushed together from time to time and not on appearance in the rss feed.

I believe I've solved this issue by changing the architecture to use beanstalkd for message queueing.