Angular compatibility

Hi there, Is this compatible with angular 11? or rather, what is the lowest supported angular version? It appears you used 12 in the example and I am getting the following error using Agular CLI with angular 11 when importing it into my module (Tried with angular 8 origionally too):

You should be able to use v1.x. I haven't tested v1 with older versions of angular but it should be compatible till v9. The only breaking change in v2 is angular compatibility.

Ah, awesome! Downgrading to v1.x worked! Thanks!

@sibiraj-s Thanks for bringing TipTap to Angular!
On the topic of compatibility, what do you think causes the below JIT error (on V2)? Today I pushed our codebase across 2 major Angular versions, switching from JIT to AOT, in the hopes it would comply. While this was absolutely worth the effort in itself and happy I found the motivation, it did not help :')
Uncaught Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
  - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.

We're not using the angular-cli, but rather @ngtools/webpack. I fear the lib is not entirely set up correctly yet, even though looking at the docs it seems it should work.

@robertvanhoesel I have never used angular application outside CLI. Everything angular recommend to publish a library is followed.
If you could provide a minimal reproducible repo to reproduce this. I will try to fix what could have gone wrong.

I found the culprit which was quit difficult to spot. I do not have a lot of experience with publishing Angular Libraries so spent some time today reading into the spec and such to understand the problem.
TL;DR: The Angular Compiler Linker transforms both backwards compatible ViewEngine libraries as well as partial Ivy Libraries (like this one) to Ivy code. When using it in a custom setup you'd use a babel loader (@angular/compiler-cli/linker/babel). Typically you don't run babel over your node_modules – which is the important part. When using the loader on just our own application, it is able to detect backwards compatible view engine libs and compile them, but fails to detect the newer partial libs. Only when I explicitly configure the loader to include this lib it is able to transform the code.

In depth explanation of the issue
Someone pointed out the error I encountered can be the result of OAT compilation not creating full ivy code for a library. Angular Compatibility Compiler is what transforms the partial style output ("compilationMode": "partial" in tsconfig) on NPM to Ivy. This is typically done by running ngcc and in more recent versions implicitly by the CLI through the Angular Compiler Linker, in custom build pipelines you use the Babel plugin @angular/compiler-cli/linker/babel.
In the debug logs I noticed ngx-tiptap is not being picked up by the Compatibility Compiler, so I suspected something was going wrong there.
When comparing the lib to others we use, inspecting the published package.json, it is missing the metadata entry point and file, which should point to the projects metadata.json used by the OAT compiler (Spec) – apparently this spec is not taking in account the new Partial Ivy libs.
When creating a new lib in Angular 12, the defaults are no longer configured to output these files. Instead, the compiler linker should be able to detect and pick up partial style libs without the need for metadata output.
Now the linker is unable to detect the lib as needing to be compiled to Ivy and is ignored. Unless we specifically run the babel-loader over the libraries we want compiled, it stays like it is and outputs runtime errors, like the once shared above.

I created an issue in the Angular project https://github.com/angular/angular/issues/42677 to get their eyes on it.

Awesome 🚀


[Improve] add a new blog (Dustess)

Currently, the blog lacks a video link

cc @wolfboys

https://github.com/apache/incubator-streampark/issues/3161


Update contributors.js

Description
Here my contribution to "The Duck Gallery".

You must respect the following conditions

Your contribution must respect the code of conduct
It's your first PR to this repository
You have added your image of the duck downloaded from https://pimpmyduck.zenika.com
You have not changed the image of the duck
The image filename must be your GitHub username (ex: your-username.png)
You are using your own GitHub user and it's the same as the PR author
Into the contributors.js file, the message must be short and respect the code of conduct

If the PR doesn't respect those conditions, it will be closed

Hi @Kritiji , I closed this one (duplicate of https://github.com/zenika-open-source/the-duck-gallery/pull/307)


Include upstream updates to sumo-owned processors

Please find attached retrofit of upstream processors update
It seems that delimiter update was botched during rebase, I think I fixed that but please take a special look on that during review

tests are failing :sweat:

tests are failing 😓

Apologies 😿  - draft PR effect :) In any case, there's the thing with namespace handling which I fixed but I am not sure about, we could discuss later

I think we should consider deprecating it in favor of k8sattributesprocessor + create our own k8sextendedprocessor with the parts that were not accepted upstream


loss calculation in flan-t5

Hello.
I really appreciate you sharing this insightful research paper along with the code
I have a question regarding the application of AdaMerging to Flan-T5 (table 13). Could you explain how you computed the loss in this case? Did you simply apply self-entropy to the logits with the shape [batch, seq_len, vocab_size] that come from the model's output?
Thank you.

I calculate the entropy loss of the logits for the first next token. The original AdaMerging paper exclusively experimented with CLIP-ViT models on image classification tasks. For Flan-T5 models, I treat it as a token classification task.
An implementation can be found here, which I will soon integrate into this codebase:
https://github.com/tanganke/subspace_fusion/blob/main/scripts/flan_t5_layer_wise_adamerging.py#L81

This issue seems to be resolved. I am closing it. If you have any other questions, please feel free to reopen it.


get 404 error on download file!

Hi
I send a request for [file_path] based on file id and result is something like this :
/root/telegram-bot-api/[token]/documents/file_1.exe
But when send the second request to fetch it:
http://x.x.x.x:8081/file/bot[token]/root/telegram-bot-api/[token]/documents/file_1.exe
404 error returns :
{"ok":false,"error_code":404,"description":"Not Found"}
The strange thing is the file exists in /root/telegram-bot-api/[token]/documents/file_1.exe on my server! So what is the reason? Can be a permission issue or some extra setting needed for local server? (The server is up with --local switch )

The requests are sending from bot server to api server! They are on two different server. So I'm a little confused, if API server can not send files , why it store them?

The requests are sending from bot server to api server!

Do you send HTTP requests between different servers? This is already a very bad idea. You need an HTTPS-reverse proxy on the server with Bot API and then the reverse proxy can serve the files from disk.

Even if they were in same server, the bot surely can not access to the root to get files.

It is also a very bad idea to allow the Bot API server to access /root, given it can work from a regular user.
The common setup is to run Bot API server and HTTPS proxy server under different non-root users from the same group, so the HTTPS server can access files created by the Bot API server.

Ok, I did setup reverse proxy and now request are sending through SSL protocol, also API is running on a non-root. So new pattern should be like :
https://sample.com/file/bot[token]/home/[user]/telegram-bot-api/[token]/documents/file_1.exe
But still 404 error returns! Is it normal?
I also Thought about getting file through https request (like direct access to the file) but because of reverse proxy, my requests will be redirected to the telegram API and not the default http web server :|

Yes, it can work like this, but you need to set up the reverse proxy to serve paths starting with "/file" from local disk by taking the path to the file from the rest of the URL.
The HTTPS server shouldn't affect upload/download speed significantly. The situation described isn't normal.

I changed the reverse proxy rules and now the URL of files are valid. The amazing point is API writes the files in this folder with permission 0640 (not public) and the link is not accessible from public (and the bot server) !!! I also checked the API switches and there is no config to change it. Now I don't know what was the benefits of all this path ...

The HTTPS server has to be run under user from the same group as the user that is used for the Bot API server to allow the HTTPS server read access to files created by the Bot API server.

Yes, currently I started the API server with the non-root user and this user has full access to the folder and files. The problem is the [remote server] that host the bot, needs to access the files through direct link and obviously it should be public! How two different servers can be in same group!?
Just as the same as Telegram bot server! if you open the URL [api.telegram.org/file/...] in browser, download would be start. So this prove files has permission 644 or higher whereas my local server set files permission as 640. Anyway As I said before I bypass this issue with a script and there is no problem anymore.
Did I missed something ?

The link should contain the bot's token (or other secret), so noone except the bot knows the URL to access the files.
At api.telegram.org exactly the same Bot API server is used, and all files have 0640 permissions. The files are served by an HTTPS server from the same group, which can read them. But your approach with a script also should be fine.

@AH-dark No, it is not possible to change this.


Running out of memory while training on CPU

Prerequisite

[X] I have searched the existing and past issues but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

🐞 Describe the bug
Hello,
I am trying to train an object detection model on CPU server and the memory that is taking up for the training process is going over more than 24GB (max limit set inside the docker container) and the training gets failed after 10 to 20 epochs. What is the reason for this issue to happen? Is there any way to capture the memory that it would be required for the whole training process, with respect to model and dataset, prior?
Environment
2022-09-19 10:09:04,166 - mmdet - INFO - Environment info:
sys.platform: linux
Python: 3.7.7 (default, May  7 2020, 21:25:33) [GCC 7.3.0]
CUDA available: False
GCC: gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
PyTorch: 1.6.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.1 Product Build 20200208 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0
OpenCV: 4.6.0
MMCV: 1.4.4
MMCV Compiler: GCC 7.4
MMCV CUDA Compiler: 10.1
MMDetection: 2.20.0+
Additional information
No response

Due to some problems at the bottom of torch, the memory occupied by the program will increase with the training, and there is no good way to solve this problem at present. If you have some progress, welcome to add and share.

Try to use AvoidOOM  https://github.com/open-mmlab/mmdetection/blob/master/docs/en/faq.md


⚠ Jenkins Plugins Artifactory has degraded performance

In 5496f11, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1208 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 2946437 after 1 hour, 47 minutes.


Error in dual_line chart scale group by months

How to modify the scale on dual_line chart with time, I have this issue:
I use count and sum 2 diferent variables, de X axis is the time variable, group by month but the scale appears with 21 days of diference: https://apache-superset.slack.com/files/U01APJV08VC/F01AWHHD6CT/captura_de_pantalla_de_2020-09-17_09-54-21.png

hi Provoo, I'm not able to view the link, can you reproduce the issue? thanks.

Sorry something happend with the link aslo i think is releated with this issue: #11088

Thanks for reporting, we will get to this issue early next week and get back to you once it's fixed. 🙏

Closing this since I can't repro. Please feel free to reopen if you have a path to reproduce.


viewDidLoad only run once

@jakespracher I noticed that the viewDidLoad only run once, even if I swipe to open the same view controller multiple times.. Why is that?

All of the scroll views here are instantiated and rendered at the same time even if the others are out of view. If you open the view debugger and click the button to show clipped view you will see this. Because of this, viewDidLoad will only be called once. This is very difficult to avoid with this type of UI

Hm, I see.. Any ideas how I can run code every time one of the view controllers shows up?
On 05 Jun 2016, at 19:34, Jake Spracher <notifications<EMAIL_ADDRESS>wrote:
All of the scroll views here are instantiated and rendered at the same time even if the others are out of view. If you open the view debugger and click the button to show clipped view you will see this. Because of this, viewDidLoad will only be called once. This is very difficult to avoid with this type of UI

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jakespracher/Snapchat-Swipe-View/issues/2#issuecomment-223826068, or mute the threadhttps://github.com/notifications/unsubscribe/AKEDdn5BOKHsebjqoj0KgfbeOQDNPI-Gks5qIwh0gaJpZM4IpTuD.

@jakespracher Hm, I see.. Any ideas how I can run code every time one of the view controllers shows up?

I love this but I am having a really hard time trying to figure out how to run a function when the viewcontroller is seen. Has anyone figured this out yet?

@devJoshLopez Did you figure it out? Almost every tutorial or library with this navigation style omits addressing this key tradeoff.

Hmm, for whatever reason I didn't need this type of thing for the app that inspired this. I'll try to work on this if I have time

Responding to the question of how one could know which view is being loaded at the moment? I think this could only be found by monitoring the scrollView.contentOffset for x and y axis. I haven't implemented this, but I think it is possible since we know the Offset for each view (middle, top, bottom, left and right) and they will never change. The only thing that I haven't checked is where exactly should such check/monitoring be placed. My initial thought is that the method scrollViewWillBeginDragging would be the place, but not sure. I hope this helps.

@zalsaeed the point is that we need those viewControllerLifeCycle methods eg viewDidLoad, viewWillAppear, viewDidAppear, viewWillDisappear, viewDidDisappear to write custom code and execute custom behaviour on a specific viewController before and after it loads.

@otymartin I think I understand the goal, but since the way this idea (Snapchat like navigation) is implemented doesn't allow the usage of those handy methods I was trying to find a walk around. The main goal is to know which view is shown at the moment (for me I want to trigger some methods as soon as a view is active), using the coordinates value is a possible solution in my opinion to that specific goal. The solution I'm proposing is definitely not functionally as good as the provided viewControllerLifeCycle methods since there is no way to capture the transition stages (e.g. willDisappear and willAppear). Please note that I'm new to iOS/Swift application, so I'm not claiming that this is the most elegant solution, but I can't think of another one at the moment. Have you found any way to know which view is being loaded even if it doesn't use the viewControllerLifeCycle methods?

@zalsaeed somehow EZSwipeController managed to do just that. perhaps thier implementation can be looked at. its what i ended up using

if added this as a work-around to notify views when they appear:
func scrollViewDidScroll(_ scrollView: UIScrollView) {
        // tell child views they have appeared / disappeared
        for vc in views {
            if scrollView.bounds.intersection(vc.view.frame) == vc.view.frame {
                vc.viewDidAppear(false)
                previousVC?.viewDidDisappear(false)
                previousVC = vc
            }
        }
    }


CVE-2023-0464 fix exponential growth of policy tree for 30

[ ] documentation is added or updated
[x] tests are added or updated

Approved in security repo.  Merged.


Make reading files for upload async

sync fs operations are slow

Closing this in favour of #85. When using Sentry-CLI we'll leverage chunked and parallel file upload from the CLI


LlamaCPP: fix failing tests

Try to fix errors like this: https://github.com/deepset-ai/haystack-core-integrations/actions/runs/8515449565/job/23345387417
Segmentation fault (core dumped)

Using a smaller model or changing the batch size do not help
Pinning llama-cpp-python<0.2.58 fixes the failing tests

I also opened an issue on llama-cpp-python: https://github.com/abetlen/llama-cpp-python/issues/1319
@awinml do you have any ideas?

Hi @anakin87,
Thanks for reaching out. I couldn't figure out a solution, but I conducted some tests to isolate the issue.

I executed both the examples and the code in the test_run and test_run_rag_pipeline functions. The component runs smoothly when called from a Python file (both standalone and in a Haystack pipeline).

I tried running it in a shell spawned through Hatch, and the issue doesn't seem to be related to Hatch. The error only occurs when running with Pytest, and I was able to replicate the same error locally.

By the way, I noticed that the rag_pipeline_example.py file in the examples directory still has the old imports for InMemoryDocumentStore and InMemoryEmbeddingRetriever (unrelated to this issue, though).
Please let me know if you need any additional information or if you'd like me to try something else. I'm happy to assist further.
Here's my system information for reference:

OS: Linux - Ubuntu 20.04
Python version: 3.8.10
llama-cpp-python version: 0.2.58

Hey...
Thanks for having a look!
My bug report on llama-cpp-python was labeled as high priority, so I would wait for them to fix it.

The bug was fixed in https://github.com/abetlen/llama-cpp-python/commit/8649d7671bd1a7c0d9cc6a5ad91c6ca286512ab3
llama-cpp-python==0.2.59 is ok


How to generate evaluation_index_re10k.json and evaluation_index_re10k_video.json?

I want to evaluate MvSplat on another dataset. I need to generate the evaluation index file. Could you tell me how to make it?

Hi @thucz, thanks for your interest in our work.
You can generate evaluation_index_re10k.json by running:
python -m src.scripts.generate_evaluation_index \
data_loader.train.num_workers=0 \
data_loader.test.num_workers=0 \
data_loader.val.num_workers=0

By default, the generated index file will be saved to outputs/evaluation_index_re10k/evaluation_index.json. Then, you can generate the corresponding video index file by running:
python -m src.scripts.generate_video_evaluation_index \
--index_input=outputs/evaluation_index_re10k/evaluation_index.json \
--index_output=outputs/evaluation_index_re10k/evaluation_index_video.json


Update Command Line Arguments

In this setup, how would you change e.g. the batch size, while keeping the other default parameters? For example, the value that you assign now to 'model_strides': [(2, 2, 2), (1, 2, 2), (1, 2, 2), (1, 2, 2), (2, 2, 2)], cannot be set through the command line.

Set argument --use_def_model_hp to 1, to override all model architecture-specific command line arguments and use the full set of default hyperparameters. If you want to use some, but not all, then set --use_def_model_hp to 0, and only pass the argument that you wish to change. Also, switching to string representations imo makes it a lot easier to handle and pass these list-of-list arguments, which is what I've done.


Local Gathering / Exchange CBP rewards

// community buiding points for Local Gathering
confwithdesc(name("cbp.loc.meet"), 4, "Local Gathering - When you’re with a Citizen and scan their QR code. One award per lunar cycle.", high_impact);
// community buiding points for Local Exchange
confwithdesc(name("cbp.loc.exch"), 4, "Local Exchange - When you buy from an organisation in your Bioregion. One award per lunar cycle.", high_impact);

Hello I have some questions:

Related to cbp.loc.meet setting, is there any action that an app must call when scanning the QR? if it weren't, could you spec how this action should work?
Related to cbp.loc.exch setting, is there any distinction between a normal transaction and a transaction when a user is buying something?


Even Or Odd

#include <stdio.h>
int main()
{
int number;
//input an integer number
printf("Please input an integer number: ");
scanf("%d",&number);

//check 0th bit of number is 1 or 0
(number & 0x01) ? printf("%d is an ODD Number.", number) :  printf("%d is an EVEN Number.",number) ;

printf("\n");
return 0;

}

@ManoCoder we welcome meaningful contributions, please consider taking a look at current issues and help with ongoing problems.


open failed

java.io.FileNotFoundException: /storage/emulated/0/Download/PANDA-5.pdf: open failed: EACCES (Permission denied)
can i Address the custom file？

Can you provide the url you downloaded the file from & your android OS version
Could you locate the file in your downloads directory?

hi @winnxiegang, I tried to reproduce the bug you mentioned, but none worked Could not reproduce
OS tested android 7 - 12 & 13 Beta (All emulators)
12 on multiple Samsung devices
All passed the test case
Can you please provide me with more info

The url you downloaded
The OS version & device info
Your help will be highly appreciated

Close this issue due to lack of activity & information, feel free to reopen it whenever you want


[Feature] Reflect network requests on button

Is your feature request related to a problem? Please describe.
Currently, whenever any request is made on clicking a button, the state of the button does not change.This creates a dilemma if the request has been made or not,until a proper response is received.
Describe the solution you'd like
The requests should be reflected on the button. It should be done by disabling the button whenever the button is clicked till the request is under process. Preferably it should also show a loader for better UX.
Additional context
Story - https://userstory.site/story/60e59aa42d674800150f759e

Can I take up this issue?
I have set up the project locally.

Can I take up this issue?
I have set up the project locally.

Sure go ahead

Hi @codetheorem , can I get slack invite.
link in the readme file is broken and previous year gsoc page Invite link was broken therefore could not join slack.

Hi @codetheorem , can I get slack invite.
link in the readme file is broken and previous year gsoc page Invite link was broken therefore could not join slack.

https://eos-community.slack.com/

Review if button should work like this as shown
https://user-images.githubusercontent.com/92316166/209713606-835daf0a-10fc-425b-9177-07b3f70454c7.mov

Hi @codetheorem , can I get slack invite.
link in the readme file is broken and previous year gsoc page Invite link was broken therefore could not join slack.

https://eos-community.slack.com/

This link does not work for new members. Can you provide a signup link?

Please review the pr linked to the issue.


tileGrid issue

When I add an ImageMosaic layer, I got warn massages from geoserver v2.8 like this
WARN [lite.gridcoverage2d] - Could not reduce the grid geometry inside the valid area bounds: ReferencedEnvelope[102.0 : 192.0, -90.0 : 90.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..395, 0..395], PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 1.9808510638297563],
  PARAMETER["elt_0_2",<PHONE_NUMBER>4042553],
  PARAMETER["elt_1_1", -1.9808510638292918],
  PARAMETER["elt_1_2", 5224683.927659575]]]

And I add layer by using this way
var layer = new ol.layer.Tile({
      extent: [left, bottom, right, top],
      name: layerTitle,
      source: new ol.source.TileWMS({
      url: url,
      params: {
              'SRS': 'EPSG:28355',
              'LAYERS': layerName,
               'FORMAT': 'image%2Fpng8',
               'Tiled': true
       },
       tileGrid: tGrid
 })

var tileGrid = new ol.tilegrid.TileGrid({
    extent: [190000, 5120000, 640000, 5630000],
    resolutions: [699.9999999999999, 280.0, 140.0, 70.0, 27.999999999999996, 13.999999999999998, 6.999999999999999, 2.8, 1.4, 0.7]
});

My guess is something wrong with tileGrid, but don't know why...
Thanks

I think the GeoServer message means something else. Maybe ask that in the respective GeoServer channels.

@MukeZ did you ask for solution in Geoserver channels as @ahocevar stated?  I am getting the same message in Geoserver 2.8.3. on one of my ImagePyramid Layers.  Will appreciate it if you can share me the link where you asked the Geoserver Channels.

@1Map
No yet, I set up it as a cached layer, which can fix the issue.


v0.10.0 PANIC

After running some queries, the cluster went down.
[cluster] 2016/03/04 10:51:38 accept remote connection from <IP_ADDRESS>:45833
[cluster] 2016/03/04 10:51:38 close remote connection from <IP_ADDRESS>:45833
[tsm1wal] 2016/03/04 10:51:38 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/03/04 10:51:38 tsm1 WAL writing to /var/lib/influxdb/wal/teste/default/24
[cluster] 2016/03/04 10:51:38 close remote connection from <IP_ADDRESS>:36571
panic: runtime error: index out of range
goroutine 933 [running]:
github.com/influxdb/influxdb/models.scanTo(0xc21460f0eb, 0x13, 0x22, 0x0, 0xc20843733d, 0x41d413, 0xc208437340, 0x410868, 0x7fb791228f68)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/models/points.go:892 +0xad
github.com/influxdb/influxdb/models.newFieldsFromBinary(0xc21460f0eb, 0x13, 0x22, 0xc208437350)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/models/points.go:1396 +0x10d
github.com/influxdb/influxdb/models.(*point).unmarshalBinary(0xc21350e5a0, 0xc216844920)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/models/points.go:1298 +0x3b
github.com/influxdb/influxdb/models.(*point).Fields(0xc21350e5a0, 0xc21460f8f0)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/models/points.go:1211 +0x41
github.com/influxdb/influxdb/tsdb.(*Shard).validateSeriesAndFields(0xc20817edc0, 0xc20806e0b0, 0xb, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/tsdb/shard.go:413 +0x7e5
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints(0xc20817edc0, 0xc20806e0b0, 0xb, 0xb, 0x0, 0x0)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/tsdb/shard.go:202 +0xa6
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard(0xc2080842c0, 0x18, 0xc20806e0b0, 0xb, 0xb, 0x0, 0x0)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/tsdb/store.go:442 +0x14e
github.com/influxdb/influxdb/cluster.(*Service).processWriteShardRequest(0xc2080ac000, 0xc208178d80, 0x207, 0x207, 0x0, 0x0)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cluster/service.go:214 +0x4b1
github.com/influxdb/influxdb/cluster.(*Service).handleConn(0xc2080ac000, 0x7fb791220ca8, 0xc208088030)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cluster/service.go:162 +0x62a
github.com/influxdb/influxdb/cluster.func·003()
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cluster/service.go:112 +0x74
created by github.com/influxdb/influxdb/cluster.(*Service).serve
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cluster/service.go:113 +0x428
goroutine 1 [chan receive, 12628 minutes]:
main.(*Main).Run(0xc208039700, 0xc20800a010, 0x6, 0x6, 0x0, 0x0)
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cmd/influxd/main.go:96 +0x7a1
main.main()
/tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/cmd/influxd/main.go:46 +0xdc
goroutine 6 [syscall, 12628 minutes]:
os/signal.loop()
/root/.gvm/gos/go1.4.3/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/root/.gvm/gos/go1.4.3/src/os/signal/signal_unix.go:27 +0x35

This is a duplicate of #5664 which was fixed with #5716 in master, due for release in 0.11.0
The interim work around  on 0.10.x is to ensure that all columns of SELECT INTO statements used in continuous queries that have arithmetic expressions are assigned an explicit, non-blank, alias.
So instead of:
select count(value)/60 into "summary" from "foobar" where time > now() - 1h group by time(5m)
write:
select count(value)/60 as **countDiv60** into "summary" from "foobar" where time > now() - 1h group by time(5m)

BTW: if you want to build your own variant v0.10.2 that includes the fix, you can merge 9491846 into a branch based on the v0.10.2 tag.

There is a PR ( #5911 ) available to have the fixes in #5716 merged into the 0.10.0 maintenance branch.

Thank you very much.
I'll patch the 0.10.0
Regards
Enviado do meu iPhone

Em 4 de mar de 2016, às 17:35, Jon Seymour<EMAIL_ADDRESS>escreveu:
There is a PR ( #5911 ) available to have the fixes in #5716 merged into the 0.10.0 maintenance branch.
—
Reply to this email directly or view it on GitHub.

Thanks for the report @rafaelvittoruthes. I'm going to close this as the issue should be resolved. Please re-open or open a new issue if you have any other problems.


Rrule.after calls are very slow

Reporting an issue
The .after() calls are very slow.
Version
2.6.4
Expected Output
I was hoping occurrence time calculation are faster. 200-300ms is too slow.
Actual Output
Benchmarks
I've included a codesandbox for easy viewing of a some benchmarking.
https://codesandbox.io/s/rrulesetafter-benchmark-lnkk5
// rruleset 1
compute time building rrule:  1.5642419997602701
compute time calculating next occurrence:<PHONE_NUMBER>990195

// rruleset 2
compute time building rrule:  0.3221629988402128
compute time calculating next occurrence:<PHONE_NUMBER>984969

OS
MacOS 10.15.5
Date
Thu Jun 18 00:36:51 PDT 2020
Note

[X] Verify that you've looked through existing issues for duplicates before
creating a new one
[X] Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates.
[X] Expected output
[X] Actual output
[X] The version of rrule you are using
[X] Your operating system
[X] Your local timezone (run $ date from the command line
of the machine showing the bug)

I landed here after having the same problem. The calculations seems to be slower when more passed occurrances exists.
This is easily tested by setting frequency to seconds and set start date to a couple of days ago. Two days worth of seconds (approx 170,000) makes the .after() call take several seconds on my speedy MacbookPro.
If the start date is set to only some minutes ago the calculation is very fast.
const test2 = new RRule.fromString(
  'DTSTART;TZID=America/Adak:20200812T111100\nRRULE:FREQ=SECONDLY;WKST=MO'
);

console.log(test2.after(new Date()));

Thanks for sharing. I’ll have to try this, as it may be a good workaround for me. Otherwise, I’m running a nightly batch job to get the latest relevant occurrence.

I’ll close this since there’s already an existing one.

@dangdennis Check out my function calcSafeDTstart() in my soon to launch library: https://github.com/msageryd/node-schedule-rrule#readme
You can find it at the end of the file recurrenceRule.js in the lib folder.
Please don't forget to ping back if you find any problems with the function (feel free to create an issue). All my tests passes, but I should probably create some specialised tests to stress this function as well.

Wonderful @msageryd! I’ll be happy to try out your function and let you know. Phew, glad you paved the way. I was considering migrating some APIs over to Go just for this perf reason.

Perhaps opening up an old thread, but i ran into a similar issue with high frequency intervals (minutely/secondly) and also needed a mechanism to determine the next occurrence.
@msageryd i like your solution, i've taken some inspiration from it in my own codebase. However one thing i noticed is that it does not always calculate the correct date. For example you're always subtracting 31 days with a monthly frequency. Months obviously have varying amounts of days, you may end up with a different reoccurrence than intended by the RRULE.
I ended up using a date library (like date-fns) to subtract the correct amount of time from the current date. It comes with a set of helpers to achieve this:

subYears
subMonths
subDays
subHours
subMinutes
subSeconds

@lorenzodejong I got curious and checked out the code. It is actually not important to hit the exact date "one month ago". The most important is that we don't under-shoot, i.e. back off by 30 days in a 31 day month. By backing off 31 days for monthly intervals we cover this.
But I did spot a more serious bug. When backing off the date for yearly intervals I deduct 365 days. This won't work for leap years. I would back off by 366 days instead to make sure.
Since the exactness of this is not important, I would rather not bring in another dependency like date-fns.


Azure cli return "pkg_resources.DistributionNotFound" error

Is your question related to a specific version? If so, please specify:
What binding does your question apply to, if any? (e.g. Blob Trigger, Event Hub Binding, etc)
python azure-cli
Question
I installed python azure-cli module, the python azure-cli module has the same name for the executable which is “az”.
when I ran “az -v”, it actually ran the executable of the python azure-cli module, and this error returned “pkg_resources.DistributionNotFound: The 'vsts' distribution was not found and is required by azure-functions-devops-build”.
How can I fix this issue?
$az -v
Traceback (most recent call last):
File '/usr/local/bin/az', line 4, in module
import('pkg_resources').run_script('azure-cli==2.13.0', 'az')
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 3088, in module
@_call_aside
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 3072, in _call_aside
f(*args, **kwargs)
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 574, in _build_master
ws.require(requires)
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 892, in require
needed = self.resolve(parse_requirements(requirements))
File '/usr/lib/python3/dist-packages/pkg_resources/init.py', line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'vsts' distribution was not found and is required by azure-functions-devops-build

Hi @irniaxsep,
Unfortunately, the project azure-functions-devops-build is no longer maintained. If you're using the devops command to initialize the pipeline, we would highly recommend using our portal deployment center.
Sorry for the inconvenience.


remove border radius upon maximized window

this will lead to a cleaner look :D

I don't know if this aligns with your roadmap, but it seems to make windows look better.

Thanks for the effort put into this, but I prefer the curved windows to give it a closer look to macOS windows 🙂


Does it work on expo 51?

Thank you for this handy plugin. I noticed that the requirement is expo <= 49, but now we are at version 51.

seems to work for me with "expo": "~51.0.31",

no， i cant install

try yarn
works fine for me with this project


remove lru_cache module

We are not supporting Python 2 anymore, why keep this module?

As the comment mention we want to keep this around until we're not supporting versions of Django that supports Python 2. Django 1.8 LTS which supports Python 2 is being supported until 2018 Q2 I believe.

Okay


Parent Name under association

Having parent root node name when using associations.
Product.rb
class Product < ActiveRecord::Base
  acts_as_api

  api_accessible :public do |t|
    t.add :name
    t.add :price
    t.add :description
    t.add :image
    t.add :category
  end

  ..... ...
  belongs_to :category

  .....
end

and the JSON response I get is as follows
{
    "products": [
        {
            "name": "Caesar Salad",
            "price": "40.0",
            "description": "A Caesar salad is a salad of romaine lettuce and croutons dressed with parmesan cheese, lemon juice, olive oil, egg, Worcestershire sauce, garlic, and black pepper. It is often prepared tableside. [source: Wiki]\r\n",
            "image": "/system/products/images/000/000/001/original/caesar-salad-lower.jpg?1377882834",
            "category": {
                "products": {
                    "created_at": "2013-08-30T15:33:13Z",
                    "id": 3,
                    "image_content_type": "image/jpeg",
                    "image_file_name": "salad.jpg",
                    "image_file_size": 295409,
                    "image_updated_at": "2013-08-30T16:55:21Z",
                    "name": "Salads",
                    "primary": null,
                    "updated_at": "2013-08-30T16:55:21Z"
                }
            }
        },
    ]
}

My question is, why am I getting products under category? also need help to get rid of it as it doesn't make sense. My Category.rb doesn't have any api template right now.
 "category": {
                "products": {

Thanks @fabrik42 :+1: . That just happened to me.


Fix a typo (void -> Void)

Although the SR-title is talking about void, I think Void is a little clearer, as that's how it is used normally. :)

oops! 💯


Token Invalidation

It would be nice if I could invalidate a specific token immediately without having to remove a entire user from the pool.

My use case is that I want a token for creating users where each token can only create one user (unless invalidated first).


Added highlighting for current active content on the sidebar

fixes #256
This PR adds UI enhancements for the courses Sidebar component to keep track of currently active content.
It lets the user know where they are the course.
Video reference:
demo-1.webm

pleaes fix merge conflicts, colors are very bad please clean them as well

pleaes fix merge conflicts, colors are very bad please clean them as well

On it!

@hkirat fixed merge conflicts with better colours.
Please let me know your thoughts on this.

Updated demo
demo-3.webm

/bounty $15


Add a test runner

flow-typed run-tests [opt-test-name-pattern]
Running tests means the following:

For each Package/Version/FlowVersion directory, find all versions of Flow that satisfy the specified Flow version
Copy the libdef + all test files into a directory with a .flowconfig specifying a "$ExpectError" suppression comment
Run flow check for each resolved version of Flow on the test directory. If there are any errors, assert them.

This also adds run-tests to the travis command

I'm noticing some strange issues in Travis with Flow 0.22, so will need to debug those a bit later before this is ready.
The code should be mostly good for review, though

Looks great @jeffmo! Way to churn out code. I'm :+1: for merging when you're ready and Travis is passing. Did you say there's some code cleanup to do, too?


change bigip_facts to bigip_device_facts

SUMMARY
just change the module from bigip_facts to bigip_device_facts
ISSUE TYPE

Feature Idea

COMPONENT NAME
f5workshop
ADDITIONAL INFORMATION

fixed by @payalsin https://github.com/network-automation/linklight/pull/248/files#diff-2ac6b0fbdd89316d1de0177a8d4c7db1L1


Support for Docker Registry 2.0

Hi, Docker released Registry 2.0 which supersedes https://github.com/docker/docker-registry. I hope this project will support it.
Registry 2.0
https://github.com/docker/distribution

Yes, there are plans in the making.

Great to hear!

I'm pleased to hear. :+1:

We need to have the search API implemented in the docker registry itself. Also,  docker/distribution/pull/173 needs to be implemented to have a tagging API.

@kwk  Great to hear that you plan to support registry V2.
May I ask when it will be available? Or it just depends on the two APIs needed to be implemented by docker/distribution -- In other word, it may cost a long period?

@AngryHacker

May I ask when it will be available?

I hope we have a first version by the end of July. I suggest we collect features that shall be in it including those that we already have in the current frontend. One issue for each feature would be perfect (e.g. starting with the basic "Show all repositories", "List images inside a repository") and then label each issue with Feature planned for Docker Registry API v2 support.

Or it just depends on the two APIs needed to be implemented by docker/distribution -- In other word, it may cost a long period?

No, I it does not depend on these.

I've also created a milestone for this task. Feel free to open features you'd like to see in an early or later version of the frontend and I'll assign them the correct label and add them to the milestone.

@kwk It seems that the two APIs is not available in distribution. Is it a trouble to implement API v2 support?

I'm pleased to hear. :+1:

+1, waiting the api v2 support!

+1

Progress update
First and foremost, thank you for your support, for demanding new features, and for reporting bugs! I feel really proud with the docker-registry-frontend being pulled over 200.000 times from the Docker Hub.
Be warned, supporting the V2 API isn't just a matter of exchanging the API endpoint from /v1/ to /v2/!
I have thought about various ideas and experimented with many (new) technologies that are currently not used by the docker-registry-frontend. My ideas about the new frontend are more and more evolving and at the moment I have this stack of containers in mind that make up the new docker-registry-frontend. They can be composed in a single docker-compose.yml for a simple installation.
Please be aware, that this is the most simply setup and that it can scale once one introduces more than one registry.
Architecture
Registry
This is the registry v2 container.
There's not much configuration needed here except it must be configured to send notifications to at least one endpoint. In the most simple case, these notifications are directly consumed by logstash.
Logstash
If you don't know logstash yet, consider it as a solution to take input data from almost any source, transform it (optional), and output the augmented or transformed input data to almost any data sink.
The logstash container is supposed to consume, transform and forward notifications  notifications generated by the docker registry container.
As a consumer it must have an http input that accepts the notifications from the registry.
That's fairly easy to accomplish actually and doesn't take more than these few lines of code in the logstash.conf:
input
{
  # For information about http input see
  # https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html
  http {
    host => "<IP_ADDRESS>"
    port => 8080
    ssl => false
    tags => [
      "docker",
      "registry",
      "event",
      "notification"
    ]
  }
}

Transforming and augmenting inputs
The input data generated by the docker registry is JSON formatted and documented fairly well.
My biggest complaint about the Docker Registry API v2 is that they have removed the /search endpoint which could list all namespaces in your registry. To overcome this missing endpoint with the notifications they've added to the API, I'm thinking to transform the notifications that hit logstash as inputs into documents of a MongoDB database. (Why Mongo? Please, read until the end of this update!).
docker-registry-frontend
Over that last few weeks I've played with and evaluated several cool technologies. It wasn't for fun but for actual internal projects and also to handle the limited amount of things you can do with the current docker-registry-frontend.
In its current state the docker-registry-frontend gets all its information from the docker registry through the V1 API endpoints. There's no database involved, only an Apache that handles authentication, SSL, and forwarding of HTTP requests to the registry.
In that sense, the docker-registry-frontend knows no state and is only reflecting a registry through the HTTP API. That's all nice and dandy but I want more and it seems that people are also demanding more. There have been some requests for authorization and more authentication backends.
I'll give my best to maintain the current docker-registry-frontend (the one that targets V1) for as long as I can. But I think I must take one step back to really support the new V2 registry. The new docker-registry-frontend (as I'm seeing it now) will be a whole lot different and a lot more modular. To follow the docker terminology: I will try to include batteries but you might need to recharge or replace them to fit your needs :)
Meteor
I've been a huge fan of Meteor for quite some time. It is basically a client/server stack built on NodeJS with JavaScript on both ends and a Mongo database as well. It has so many neat features that I don't want to list all here.
Realtime events
The logstash can have more than one output { } section or data sinks. I think about configuring a websocket output to which the docker-registry-frontend can connect and show live data of what's happending on your registry, e.g. tag XY created, image pushed without a reload.
AngularJS and Bootstrap
On top of meteor the UI will probably again be written with AngularJS and Bootstrap. I know both and feel very comfortable. If you prefer Google's Material Design, feel free to drop a note here but also give me good reasons to consider the one over the other and please do not start bashing around.
MongoDB
Like I've mentioned in the Meteor section, meteor ships with MongoDB. I will ship it as it's own container though. Then Meteor can use it as datastorage. Most likely the logstash will output it's transformed notifications to this MongoDB instance. Then the meteor application "knows" about existing repositories/namespaces and we can show them in the UI. Then we also have back our old and beloved repository list.
For sure, one thing to consider when relying on notifications is what happens if notifications cannot be delivered or if you already have images stored in your registry. For the first problem, one maybe can setup a Kafka cluster to decouple the consumer (here: logstash) from the producer (here: docker registry).
Summary
All in all we have these containers to wire up and create or simply use and configure:

registry
logstash
mongodb
docker-registry-frontend

If you want to monitor your docker registry you can also make use of additional containers that I'm going to provide. I'm thinking about elasticsearch or influxdb with Kibana or Graphana frontends. To feed these frontends one simply needs to add another output { } section to the logstash.conf file.
I hope you like my ideas so far. I look forward for your feedback!
Now, back to work.

not sure if you've seen this but there are plans to include some kind of catalog api to the registry that would eliminate the need to listen for webhooks: https://github.com/docker/distribution/pull/583

Great to hear your plans for v2.

the docker-registry-frontend knows no state and is only reflecting a registry through the HTTP API

Is this a bad thing though?
Also looks like the API updates @jgangemi mentioned are happening https://github.com/docker/distribution/pull/653

+1

+1

Any current issues with v2.0? I pull the image, run it as instructed (specifying registry host and port), no SSL, no Kerberos, nothing fancy but when I go to the web ui (great look by the way) I do NOT see my registry.

@jose-delarosa this issue still being open suggests that there is still no support for v2

@jonatanblue, yes that makes sense and the Docker Hub page makes it clear it is still under heavy development. I appreciate all the work everyone here does, I am but a humble user of your great work.

hi all,
any progress here? on registry v2.1.1 - according to Docker registry API should work

@bchanan03 Can you elaborate on that? You can try running the docker-registry-frontend:v2 tag. It is a temporal solution with much less features than before but it should list repos and tags fine. I use it myself.

Hi
(Please note this is a copy of respone on bug #66)
I have same problem - am using docker registry v2.1.1 and here is the yaml file:
http://pastebin.com/XTjfWYTJ
As my docker registry is new - I was able to push localhost:5000/busybox into it
Also I was able to pull the image - but the UI still shows empty list of images on my repository
Here is how I started docker registry:
/usr/bin/docker run -d -p 5000:5000 -v /home/core/trust_authority/containers//secure-registry/config.yml:/go/src/github.com/docker/distribution/cmd/registry/config.yml -e SEARCH_BACKEND=sqlalchemy -e SQLALCHEMY_INDEX_DATABASE=sqlite:////tmp/docker-registry.db --name secure-registry registry:2.1.1
Here is how I started docker registry UI v2:
docker run -d -e ENV_DOCKER_REGISTRY_HOST=localhost -e ENV_DOCKER_REGISTRY_HOST=5000 -p 8080:80 konradkleine/docker-registry-frontend:v2

I've locked this issue because it is too vague. There are other issues that also deal with v2 support but are much more differentiated.


SPARK-12038 Add support for pickle protocol to graphite sink

Code change introduce support for pickle protocol which prior to http://graphite.readthedocs.org/en/latest/feeding-carbon.html

... is a much more efficient take on the plaintext protocol, and supports sending batches of metrics to Carbon in one go.

Can one of the admins verify this patch?

Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one.


License missing

It seems that the repository does not yet provide license information in a LICENSE.txt file or otherwise. So in the current situation, using any bit of code in another open source application is sadly not possible :(

it is a bit of a throwaway project for testing stuff before re-implementing it at work.
but I'll throw in a license in case people actually want to use it (though I'm not very proud of the code, it's a quick hack).


"BROWSER_EXTENSION_INJECTED" web application configurations did not apply

Describe the bug
I was trying to use the dynatrace_web_application to create a "browser-extension-injected" web application. However, the configurations related to the"monitoring settings", "data privacy", and "error rules" did not apply to the cluster. For example, I have the below block for javascript_framework_support in my code, however, it was not reflected on WebUI. Also, when I export the configurations again, I will get two configuration files, one shows the same configuration as I had in my code, and the other shows what I can see on the UI.
Code I applied:
javascript_framework_support {
      # active_x_object = false
      # angular = false
      # dojo = false
      # extjs = false
      # icefaces = false
      jquery = true
      # moo_tools = false
      # prototype = false
    }

as well as:
fetch_requests = true
xml_http_request = true

Code I exported using export utility:
File 1: xxx.web_application.tf
javascript_framework_support {
      active_x_object = false
      angular         = false
      dojo            = false
      extjs           = false
      icefaces        = false
      jquery          = true
      moo_tools       = false
      prototype       = false
    }

fetch_requests = true
xml_http_request = true

File 2: xxx_1.web_application.tf
Javascript_framework_support {
      active_x_object = false
      angular         = false
      dojo            = false
      extjs           = false
      icefaces        = false
      jquery          = false
      moo_tools       = false
      prototype       = false
    }

fetch_requests = false
xml_http_request = false

To Reproduce
Steps to reproduce the behavior:

create a web app with default values except the block above, can also create data privacy and error rules for this app
check the UI
export the configurations

Expected behavior
The configurations mentioned above for browser-extension-injected applications can be applied.
Additional context

Dynatrace managed cluster version: 1.256
Provider version: 1.19.0 (it didn't work in 1.14.1 either)

@kishikawa12 Hi Kodai, thanks for the response! We also find that the API-created "browser-extension-injected" application could not capture all user actions. In our case, ours is able to capture some user actions but not all of them.
Thanks.

Hello @cyang1001 ,
I have an update for the initial issue you've reported. As @kishikawa12 mentioned, the root cause is that a duplication application is getting created when trying to update it. That bug is planned to get fixed with version 1.261 of the Dynatrace Cluster.
 If you're configuring it via WebUI everything is getting captured?

Hi @Dynatrace-Reinhard-Pilz , thanks for the update! I also just noticed that since it was the duplication showing up on WebUI, we are unable to really delete or modify the configuration we created via the provider! Do you have any idea to clean up the configurations?
For intermittent user actions, it was the one created by REST API...

Hi, just want to add another issue: even though the web applications created for manually-injected apps work (can capture user actions), the autotags related to the "web application name pattern" cannot apply to those apps. Is this reasonable behaviour? Could you please also see if you can replicate this issue?

Hi @cyang1001,
Looks like this ticket fell through the cracks as the initial issue was resolved. I'm unsure if you are still experiencing any of the other issues you commented, but I've tried to address some of your follow-ups.
Unfortunately the duplicate applications that were created will need to be manually deleted. Regarding the automatic tag question, I was able to successfully apply it to a manually-injected app with the Web application name property.
I'll close this since the issue related to the ticket is resolved. Please feel free to create a new GitHub issue for Terraform related issues. For general product support, I recommend to utilize the chat feature available in the Dynatrace UI for a quicker response.
Thanks!


Absolute vs relative path variable

In Stacey 3 / twig you have the {{ path }} variable you can use for linking in the current folder.
But it's a relative one.  (../../pathtomyimage)
Do you plan to introduce a variable with absolute path for linking (like with base_url, permalink ...) ? It'll be useful for rss content for images to appear in rss aggregator.
Do you plan a variable usage in editing feature like in stacey 2:  define variables or use page variables inside content section ?
Thanks !

Don't relative paths work correctly in rss aggregators?

Yes in some planet, I need to hardcode:
![](domain/{{ path }}/tomyimage)

othewise picture doesn't appear on planet.
But in my rss reader is ok ...
Maybe there is an uurl domain tag in rss feed description  ? (I've made a rss template because atom don't fit with the planet)
Thx.

@kolber: relative paths are real PITA, another example where they miserably fail is passing them to the flash player where you can't tell is it relative to the page OR to .swf file which usually lies somewhere in /public/. I'd strongly advise against 'em.


Quick Accent Quick Use

Description of the new feature / enhancement
A shortcut to activate the quick accent would be very useful (1rst time using github sorry for mistake in this post). The quick accent feature is very useful but makes using arrow/space key with any other pause the app i'm running to choose an accent when i'm not writing.
Scenario when this would be used?
In my scenario where i have an English keyboard (no accents) and live in France where i need accents, having to change the parameter everytime, because it conflicts with other apps, is tiring.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/22205


Additional flutter tools

Because we can't compile flutter on mobile devices yet and a flutter IDE would most likely still be tied to a computer I'd like to add some ideas.
In a nutshell: There should be a package that can analyze the source code meaningfully and provide information to the source code itself.
Preview
What I've been trying to do recently, is to collect all stateless widgets (or those with minimal state) inside a static preview variable.
    static PreviewModel get preview =>
        PreviewModel(
            description: "A Sparkline",
            preview: (context, counterStream, animationStream, ticker) =>
                Sparkline(
                    data: [0.0, 5.0, 1.5, 13],
                ),
        );

counterStream provides a counter stream for e.g. animating boolean values.
animationStream provides an animation stream for generic animation.
ticker access to a TickerProvider
That way I can collect previews of widgets manually and display them inside a list on a flutter desktop embedder from which I hope to get a better overview of all widgets as they grow in numbers.
I do believe that this could be greatly automated e.g. by adding annotations that the potential package could use to collect those previews automatically.
Navigation
The way I handle navigation right now is by giving all widgets that are supposed to be navigated to a mixin that tells them how they can be opened. This 'open' method is called from 'navigation command' objects that can be called anywhere.
Combining the first approach with the second should be enough to gather enough data to create an ios-storyboard-ish view. I believe that bigger applications could benefit from such a view by providing a general view of the application.
.
My point is, that these two use cases could easily be implemented by providing a common set of tools. The productivity we currently enjoy through our IDEs is hard to replace but relatively easy to improve by providing additional, easily expandable tools.
IntelliJ's plugins are hard to write and thats why barely anyone takes the time to do that. VSCode has many more plugins for flutter and dart but I'd say IntelliJ is still the preferred platform for developing flutter apps. With a solid foundation one could then easily replace their current IDE with a mobile one once the technology catches up.

@modulovalue those are some excellent ideas. I'll explore those possibilities in the (hopefully) near future.
@TheWithz that's pretty cool - the widget-builder I made actually communicates through a client/server interface so live-value adjustments should work on any combination of systems.


add check for class duplication

That should fix #69

Hmm, this is quite unfortunate... I was expecting that these lookups were cached and therefore wouldn't run more than once. I'll have to circle back to this and find a cleaner fix.

@hpstuff Can you fix the issues above and then I'll merge and cut a new release?

@ebryn Any rough ideas on a release for this?

@tomspeak Just published!

@ebryn Thank you so much, really appreciate your work.


 This is not friendly to light clients because beacon chain blocks could be quite large (as currently specced, attestations and specials are unbounded arrays of records).
My suggestion is to hash the individual fields in a BeaconChainBlock (of which there are 8) and then consider those as leaves of a Merkle tree. We then replace ancestor_hashes, oblique_parent_hashes, justified_block_hash, etc. with ancestor_roots, oblique_parent_roots, justified_block_root, etc.

For sure, (re)using the same logic as for state merkle-hashing is the way forward. (I'm just suggesting moving away from naive hashing for beacon blocks.)

Agree! And I'm suggesting doing what you want as part of a common general strategy for moving away from naive hashing for everything :)

It would be nice to make validator set a part of that strategy too.

https://github.com/ethereum/eth2.0-specs/issues/54

Closing in favour of #54 👍


Please Update to latest version!

Please Update to latest version! 9.22 is out... ! :)

version 0.5.0 includes redactor version 10.0.4. Hope it will help!


Add merge_base_many and merge_bases_many for Repository

This adds merge_base_many and merge_bases_many methods to the Repository struct.
I also added a smoke test that covers merge_base and merge_base_many, and reused the preexisting smoke test for merge_bases to also cover merge_bases_many.

One specific thing that's worth looking extra at in this case, as I'm not experienced at all with Rust FFI, is the conversion from a slice of Oid Rust structs to a C array of git_oid structs (it's not an array of pointers to git_oid structs). Dereferencing the pointer required unsafe and does include the possibility of null pointer errors and similar things. I'm not quite sure how to bridge the FFI gap in this case, and I welcome feedback to avoid hidden footguns.
I found no prior art in git2-rs where a libgit2 function takes an array of C structs, from what I could find basically only git_merge_base_many, git_merge_bases_many and git_merge_base_octopus in libgit2 take a C array of git_oid structs.

Thanks for the PR! If you'd like, want to put #[repr(C)] on Oid and then we can just convert *const Oid to *const raw::git_oid?

Trying to wrap my head around this. So, by using #[repr(C)] on Oid, the iterator chain would look something like this, does that make sense?
let raw_oids = oids
    .iter()
    .map(|oid| *(oid as *const Oid as *const raw::git_oid))
    .collect::<Vec<_>>();

Or am I misunderstanding something and a simpler solution is possible?
In my admittedly limited understanding this looks sort of like the current solution in this PR. I guess the difference is that in the above snippet, we know that the pointer we dereference isn't null since we get it from the reference of an Oid struct that rustc guarantees won't be null?

Oh sorry with the repr attribute that means &[Oid] is equivalent to &[git_oid] so no new allocation is needed

Ah, of course! Silly me.

👍

Thanks for the help. I really appreciate it!


Further changes to Cluster Tab

Cluster Tab

DRY for exception/visibility handling in cluster tab
Standardize exception handling for log display
Preserve visual state during cluster restart, instance swap

General

Improve Error Handling  with mode toast to avoid extra click

See related Hoist-Core PR
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[ ] Caught up with develop branch as of last change.
[ ] Added CHANGELOG entry, or determined not required.
[ ] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[ ] Updated doc comments / prop-types, or determined not required.
[ ] Reviewed and tested on Mobile, or determined not required.
[ ] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

@amcclain -- was trying to get Greg's buy-in here, before asking for your review, but think this change represents my best thinking on this.

Just reviewed. This looks great to me - really nice use of LoadSupport.lastLoadException, which I'll have to start using!

Reviewed with ATM as well and will merge this shortly, as we all seem to like the overall approach
We discussed future iterations providing even more information in the mask about the state of the last load attempt.  Useful for reassuring anxious XH developers.