haskellMode ghci-ng: : cannot satisfy -package-id

Hi, I'm trying to use ghci-ng (compiled from chrisdone's github repo in a ghcWithPackages environment) with haskell-mode in emacs. To be sure that the error doesn't reside in my particular config, I'm trying also the one suggested by @chrisdone at https://github.com/chrisdone/emacs-haskell-config.
So, either way, when I try to start a repl, using cabal-repl as the value for haskell-process-type, I get the error in http://lpaste.net/120787
Note that in the specific case it was complaining about the package foldl, but it always complains about a valid installed library (even base).
Also, when I load a library in simple ghci-ng (command line, not emacs), I get errors like:
SubTranslate.hs:5:8:
    Could not find module ‘Data.Text’
    Perhaps you meant Data.Set (from containers-<IP_ADDRESS>)
    Use -v to see a list of the files searched for.

It seems that it can't see the other packages, but why should that be the case?

Hmm, does the version of GHC that ghci-ng is built with match the version of GHC that your package set (and possible sandbox) was made with?

This is a good question. I think that the ghc versions coincide, but there could be a mismatch between the cabal versions. Anyway, this is a conjecture: how can I be sure?

This is the output of cabal repl --with-ghc=ghci-ng -v:
/home/meditans/.nix-profile/bin/ghci-ng --numeric-version
creating dist/build
creating dist/build/autogen
Preprocessing library subTranslate-0.0.0...
/home/meditans/.nix-profile/bin/ghci-ng --info
/home/meditans/.nix-profile/bin/ghci-ng --info
creating dist/build
/home/meditans/.nix-profile/bin/ghci-ng --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name subTranslate-0.0.0 -hide-all-packages -package-db dist/package.conf.inplace -package-id base-<IP_ADDRESS>-cb23b5265b6e147094c0cd9ac819acb1 -package-id foldl-1.0.7-3fec37e2aa835572fc0afc661c5086cb -package-id subtitleParser-0.5-9216ec2ebd5976101525102b393ac88e -package-id turtle-1.0.1-679436c94e36feb45583648eb4350951 -XHaskell2010 SubTranslate SubTranslate.Internal -Wall
<command line>: cannot satisfy -package-id foldl-1.0.7-3fec37e2aa835572fc0afc661c5086cb
(use -v for more information)

Have you configure the $NIX_GHC, $NIX_GHCPKG, ... variables in your shell environment?

I assume that the lack of these variables was the problem.

For future users having this problem: the problem was generated by the fact that I was starting emacs from a shortcut, and it didn't pick up the right shell variables.
Starting emacs from shell was fine. Thanks @peti.


too many open files

client side works on debian10 , and always failed because of this too many open files
serverside works fine even the  client side ailed
what's the reason ?

The max fd count a process may open is default limited to 1024 on the Linux but can be increased like sysctl fs.file-max=8192.
Maybe you should check the output of sysctl fs.file-max.
And could you please post your client config here? So we will be able to reproduce this issue on the Debian 10.

I checked my client config,just as simple as the wiki suggested...
I guess maybe is the socket port is 1080,and the port is quite popular in debian10,maybe other thread used it too...
I try to change the port and see if it works fine...
plus,fs.file-max =<PHONE_NUMBER>8 this is the file-max on my linux,so I don't think is this reason...

Maybe your proxy has too much requests. You could use ulimit -n to check open files limitation, if it limits to 1024, you can try to increase it. E.g.  ulimit -n 8192


Add email based auth to web application

This fulfills the web app portion of #32
The application redirects to /auth if no user session exists.
If a user session exists, the application redirects to /events by default.
A basic error message is displayed above the login form.

I successfully tested this pull request and verified my email, but there were some details that should be included in the README or commit message.  The .env file contents should be included somewhere in the readme, or the file should be tracked instead.  It would also be nice if there were some comments at the top of each modified file so we know what each file does.  I would imagine that it would be tough to debug this code on our own if we didn't know which file to look for in the future. But overall the file structure was easy to understand and I think it will create a great foundation once more documentation is included.

Thanks Ryan! Yes, I forgot to mention that an .env file is needed inside /src-web-app/, please refer to Discord for the file contents.

I'm closing this PR because #49 implements all changes from this branch and expands upon it.


[DOC] Server Requirements

What software / versions nuxt needs to run well ?
It doesn't work with node:7.1 for example.

Hi @abellion
Nuxt works with all active version of node.js (>= 4).

To confirm, I just tested it with node v7.1.0 and npm v3.10.9 and it works perfectly.


Diff functionality broken by #43

PR #43 removed the DiffNode model but didn't reimplement the diff viewing functionality in eregs_core.views.diff (note references to DiffNode remain there).
This breaks the ability to view diffs on the website.
Current behavior
Diffing functionality is broken due to references to removed model.
Expected behavior
Diffing functionality works as expected.
Steps to replicate behavior (include URLs)

Visit a diff URL (e.g. this with Reg E data loaded) and observe NameError exception is raised.

This should be fixed now.

Thanks for the fix!


torchvision bindings

I'm translating a YOLO detector from Python to Rust and have gotten all the way to where the existing code uses torchvision.ops.nms as part of the post-processing. What @jerry73204 has done over in tch-nms might help, but it doesn't seem to be a drop-in replacement (requiring delineation of CUDA vs CPU, as well as an additional groups parameter). Does this project plan to add in bindings or its own implementations of the various torchvision functions, especially NMS?

For what it's worth, I ended up just implementing some of these functions myself, more or less transcribing the batched_nms functions from the torchvision source, and spinning my own nms and iou functions:
fn batched_nms(boxes: &Tensor, scores: &Tensor, idxs: &Tensor, iou_threshold: f32) -> Tensor {
    if boxes.numel() > (if boxes.device() == tch::Device::Cpu {4000} else {20000}) {
        _batched_nms_vanilla(boxes, scores, idxs, iou_threshold)
    } else {
        _batched_nms_coordinate_trick(boxes, scores, idxs, iou_threshold)
    }
}

fn _batched_nms_coordinate_trick(boxes: &Tensor, scores: &Tensor, idxs: &Tensor, iou_threshold: f32) -> Tensor {
    // strategy: in order to perform NMS independently per class,
    // we add an offset to all the boxes. The offset is dependent
    // only on the class idx, and is large enough so that boxes
    // from different classes do not overlap
    if boxes.numel() == 0 {
        Tensor::empty([0], (tch::Kind::Float, boxes.device()))
    } else {
        let max_coordinate = boxes.max();
        let offsets = idxs * (max_coordinate + Tensor::ones([1], (tch::Kind::Float, boxes.device())));
        let boxes_for_nms = boxes + offsets.unsqueeze(1);
        nms(boxes_for_nms, scores, iou_threshold)
    }
}

fn _batched_nms_vanilla(boxes: &Tensor, scores: &Tensor, idxs: &Tensor, iou_threshold: f32) -> Tensor {
    // Based on Detectron2 implementation, just manually call nms() on each class independently
    let mut keep_mask = Tensor::zeros_like(scores).to_kind(tch::Kind::Bool);
    let unique = idxs.view(-1).unique_dim(0, false, false, false).0;
    for i in 0..unique.size()[0] {
        let curr_indices = Tensor::where_(&idxs.eq_tensor(&unique.i(i))).remove(0);
        let curr_keep_indices = nms(boxes.i(&curr_indices), &scores.i(&curr_indices), iou_threshold);
        keep_mask = keep_mask.index_fill(0, &curr_indices.i(&curr_keep_indices), 1);
    }
    let keep_indices = Tensor::where_(&keep_mask).remove(0);
    keep_indices.i(&scores.i(&keep_indices).sort(-1, true).1)
}

fn nms(boxes: Tensor, scores: &Tensor, iou_threshold: f32) -> Tensor {
    // Perform non-maximum suppression, returning tensor of indices to keep
    let mut sorting: Vec<i64> = scores.argsort(0, false).try_into().unwrap();
    let mut keep: Vec<i64> = Vec::new();
    while let Some(idx) = sorting.pop() {
        keep.push(idx);
        for i in (0..sorting.len()).rev() {
            if iou(&boxes.i(idx), &boxes.i(sorting[i])).double_value(&[]) > iou_threshold as f64 {
                _ = sorting.remove(i);
            }
        }
    }
    Tensor::try_from(keep).unwrap().to_device(boxes.device())
}

fn iou(box1: &Tensor, box2: &Tensor) -> Tensor {
    // Calculate Intersection over Union of two bounding boxes
    let zero = Tensor::zeros_like(&box1.i(0));
    let b1_area = (box1.i(2) - box1.i(0) + 1) * (box1.i(3) - box1.i(1) + 1);
    let b2_area = (box2.i(2) - box2.i(0) + 1) * (box2.i(3) - box2.i(1) + 1);
    let i_xmin = box1.i(0).max_other(&box2.i(0));
    let i_xmax = box1.i(2).min_other(&box2.i(2));
    let i_ymin = box1.i(1).max_other(&box2.i(1));
    let i_ymax = box1.i(3).min_other(&box2.i(3));
    let i_area = (i_xmax - i_xmin + 1).max_other(&zero) * (i_ymax - i_ymin + 1).max_other(&zero);
    &i_area / (b1_area + b2_area - &i_area)
}

I make no claims about its performance.


Add Support for Selinux Profile Binding

/kind feature
What this PR does / why we need it:
This change updates SPO binding webhook to support SelinuxProfile binding and updates ProfileBinding CRD to allow SelinuxProfile as a profile reference.
Does this PR have test?
Yes
Does this PR introduce a user-facing change?
Yes
Add the ability to use SelinuxProfile when creating profilebinding objects.

/ok-to-test

Hey @Vincent056 glad to see you're starting to contribute here! Seems the PR has a merge conflict, so you'd need to fix that first.

You'll want to fix the verify issues, see e.g. https://github.com/kubernetes-sigs/security-profiles-operator/runs/5674912566?check_suite_focus=true
locally you can run make verify, warning, your tree must be clean locally (so, no untracked files).
Many issues can be fixed by running golangci-lint run --fix, sometimes repeatedly, sometimes with a little manual help (I found that it screws up imports when sorting them..).

Not sure why the patch shows up twice in GH, have you rebased atop origin/main (keep in mind that SPO doesn't use master anymore, but main...)

Codecov Report

Merging #854 (b4ee972) into main (2eb7aa1) will decrease coverage by 0.56%.
The diff coverage is 36.26%.

@@            Coverage Diff             @@
##             main     #854      +/-   ##
==========================================
- Coverage   52.47%   51.90%   -0.57%
==========================================
  Files          42       42
  Lines        4324     4506     +182
==========================================
+ Hits         2269     2339      +70
- Misses       1981     2088     +107
- Partials       74       79       +5

You'll want to fix the verify issues, see e.g. https://github.com/kubernetes-sigs/security-profiles-operator/runs/5674912566?check_suite_focus=true locally you can run make verify, warning, your tree must be clean locally (so, no untracked files). Many issues can be fixed by running golangci-lint run --fix, sometimes repeatedly, sometimes with a little manual help (I found that it screws up imports when sorting them..).

golangci-lint run --fix                                                                                 1   selinux

ERRO Running error: 1 error occurred:
        * can't run linter goanalysis_metalinter: inspect: failed to load package bpfrecorder: could not load export data: no export data for "sigs.k8s.io/security-profiles-operator/internal/pkg/daemon/bpfrecorder"

I got this when running golangci-lint run --fix , I am wondering if you know how to solve the dependency issues?

/retest

@jhrozek @JAORMX PTAL

On Wed, Mar 30, 2022 at 12:29:10AM -0700, Sascha Grunert wrote:

@jhrozek @JAORMX PTAL

Yup, I started looking at the PR yesterday, just didn't finish the
review. Sorry for the delay.

/test pull-security-profiles-operator-test-e2e

The OLM test is failing, I think you need to run make bundle and then commit the results:
+++ b/bundle/manifests/security-profiles-operator.x-k8s.io_rawselinuxprofiles.yaml
@@ -49,6 +49,10 @@ spec:
           status:
             description: SelinuxProfileStatus defines the observed state of SelinuxProfile.
             properties:
+              activeWorkloads:
+                items:
+                  type: string
+                type: array
               conditions:
                 description: Conditions of the resource.
                 items:

The OLM test is failing, I think you need to run make bundle and then commit the results:
+++ b/bundle/manifests/security-profiles-operator.x-k8s.io_rawselinuxprofiles.yaml
@@ -49,6 +49,10 @@ spec:
           status:
             description: SelinuxProfileStatus defines the observed state of SelinuxProfile.
             properties:
+              activeWorkloads:
+                items:
+                  type: string
+                type: array
               conditions:
                 description: Conditions of the resource.
                 items:

Got
FATA[0000] failed to read config: error unmarshalling project configuration: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field Config.layout of type string

And did not realize I was using the old operator-sdk lol

The OLM test is failing, I think you need to run make bundle and then commit the results:
+++ b/bundle/manifests/security-profiles-operator.x-k8s.io_rawselinuxprofiles.yaml
@@ -49,6 +49,10 @@ spec:
           status:
             description: SelinuxProfileStatus defines the observed state of SelinuxProfile.
             properties:
+              activeWorkloads:
+                items:
+                  type: string
+                type: array
               conditions:
                 description: Conditions of the resource.
                 items:

Got
FATA[0000] failed to read config: error unmarshalling project configuration: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field Config.layout of type string

And did not realize I was using the old operator-sdk lol

The OLM test is failing, I think you need to run make bundle and then commit the results:
+++ b/bundle/manifests/security-profiles-operator.x-k8s.io_rawselinuxprofiles.yaml
@@ -49,6 +49,10 @@ spec:
           status:
             description: SelinuxProfileStatus defines the observed state of SelinuxProfile.
             properties:
+              activeWorkloads:
+                items:
+                  type: string
+                type: array
               conditions:
                 description: Conditions of the resource.
                 items:

Got
FATA[0000] failed to read config: error unmarshalling project configuration: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field Config.layout of type string

And did not realize I was using the old operator-sdk lol

SPO should be using operator-sdk from ./build not the system-wide one or the one in GOPATH, if it is, we might have a bug somewhere in the Makefiles where we don't call the right binary.

/retest

Looks good except the one comment about the AND vs OR. In the meantime, @saschagrunert can you please allow GH actions to be ran? I can't seem to be able to do it

Sorry to bug again, wondering if anyone could approve the GH action workflows to run?,  @saschagrunert  @jhrozek Thanks


AwesomeProject/ node_modules/react-native/packager/packager.js not creating in windows 7 ?

This will be added to the docs in #4151


TextBox Header

Hello again,
Is there a way we can add a header to a textbox control similarly to WinUI. There is already the watermark feature but no header. Maybe like a textbox helper where we could do:
<TextBox ... ui:TextBoxHelper.Header="Name"/>

Although I do agree it'd be nice to have this, I think this is a feature request probably better suited for the core Avalonia repo. IIRC, TextBox is supposed to get a refresh as part of the RichText stuff coming soon, so it might be possible to get it added there. I'd like to keep duplicate controls to a minimum to reduce confusion (already have dups of Button, MenuFlyout and technically ComboBox), especially if the changes are subtle. Also would rather not rely on AttachedProperties/helpers as I don't think that's a great widespread solution


Allow vendor/cache override

I found myself needing to temporarily maintain two Gemfile for a project and needed to maintain two separate vendor/cache directories. I was able to get around this by symlinking vendor/cache to the appropriate directory before running bundle install or by monkey-patching Bundler.app_cache. However, neither are ideal so I've added a flag to the install command:
$ bundle install --path Gemfile-rails4 --vendor-cache vendor/cache-rails4

It can also be set via environment variable:
$ BUNDLE_VENDOR_CACHE=vendor/cache-rails4 bundle install --path Gemfile-rails4

This PR doesn't have any tests – my specs didn't end up caching the gems for some reason. Perhaps I'm misusing the test helpers?
it "caches gems at given path" do
  gemfile bundled_app("Gemfile"), <<-G
    source 'https://rubygems.org/'
    gem 'rack'
  G

  bundle "install --vendor-cache vendor/cache-foo"
  expect(bundled_app("vendor/cache-foo/rack-1.0.0.gem")).to exist
end

Before I continue work on the tests, I wanted to gauge interesting in this feature. I'd be happy to add tests if there is interest in merging.

I think this is probably a good thing to make configurable. Can you change the name of the option to cache-path? In the docs, it's also worth noting that it can be set using bundle config cache_path somepath/cache as well as the CLI flag and the ENV variable. It also definitely needs working tests to get merged. :) Thanks!

OK, I've fixed most of the failed tests and added tests to cover --cache-path. The only failing tests on >=1.9.3 are also failing on master so I've left them alone.
There are a lot of failing tests under 1.8.7, but it doesn't seem related to these changes. Do you know why that might be?
I left the command line option description as is because adding the bundle config cache_path somepath/cache made it longer than most other options. Is that where you wanted it to be added or is there somewhere more appropriate?
I've updated the changelog as well.

Woohoo! Thanks for adding this feature and cleaning up the implementation. I did not realize Bundler::Settings had all the env variable handling built in. Very cool. :smile::ok_hand:

I've tested it locally and it works great!
I had a question about bundle install. On my machine running bundle install causes the gems to be installed and then packaged into the cache path. For my use case, specifying the cache path using an environment variable is preferred, but does it make sense to allow it to be set via --cache-path option as well? Right now, that produces an error:
$ bundle install --cache-path vendor/cache-foo
Unknown switches '--cache-path'

Since the install command is primarily about installing, and only updates the cache as a side thing, I thought it made more sense to ask people to run package --cache path or config cache_path before running install.

Sounds good to me. Fewer options is probably a good thing.


[Home Page] Styling and Aligning all sections

[ ] Styling of the background for sections
[ ] Styling Default Content of sections
[ ] Alignment of sections as it is in zemax.com

See below for comparison ( Right - Franklin , Left - Live Site )
Header (@kmurugulla )

Header is not sticky

Teaser (@agangam )

Hero (@kunwarsaluja )

Trusted By Section (@kmurugulla )

Design for Manufacturability (@kmurugulla )

Zemax Software Section (@FrancoisZhang )

Customer Success Stories (@FrancoisZhang )

Training Section (@FrancoisZhang )

Subscribe to Blog Section (@kunwarsaluja )

Footer (@kunwarsaluja )

Closing this for now..will reopen new issue when we start QA cycle


Add support to set loopback to up

The CNI maintainers intend on deprecating the loopback plugin. This approach where we set the lo interface to up is similar to what CRI-O does. We (@mikebrow ) decided to have a flag to disable/enable and eventually we will go with removing the flags and just always setting the lo interface to up.

yay 👏

yay 👏

I had this on my queue for so long, figured I would just get it done.

I'm not familiar with the conventions of containerd for new APIs and config fields or the introduction of deprecations, so I can not judge that, but technically this LGTM

eventually we will go with removing the flags and just always setting the lo interface to up.

I still have question though that I think is worth to test it, what happens if an user uses this new option but still has the loopback cni plugin, if both are configured are there any bad interactions or is a noop?

I'm not familiar with the conventions of containerd for new APIs and config fields or the introduction of deprecations, so I can not judge that, but technically this LGTM

eventually we will go with removing the flags and just always setting the lo interface to up.

I still have question though that I think is worth to test it, what happens if an user uses this new option but still has the loopback cni plugin, if both loopback are configured are there any bad interactions or is a noop when a pod is created and runs both of them?

The community CNI plugin just sets the lo interface to up. Cilium and Calico for example set the lo to up as well. I believe only flannel doesn't set it to up. This should not be impactful. Hopefully the users follow the upgrade instructions as well. However since the field defaults to the legacy behavior we should not see any issues.

/test pull-containerd-k8s-e2e-ec2
checking if it was a flake..

/test pull-containerd-k8s-e2e-ec2

I manually tested this with 'use_internal_loopback = true'
lo was up.

/test pull-containerd-k8s-e2e-ec2


Main function is a mess

the main() function is difficult to read, I want to consider breaking up its functionality into several smaller functions (perhaps defined in a core.cpp file) and calling those

#52 tackles this problem


(Link to) Microsoft Form for creating PFN mapping request not working

The Microsoft Form used to create the PFN mapping request is not working. The form gives the following error when opened: "We will be back soon.". Underlying error: "{error: {code: "5000", message: "This form is closed.", @ms.form.error.type: "ExpectedFailure",…}}"
The link to the form is found under Step 4: Map your app's package family name to its Azure AppId. If this step can not be completed, I guess this whole page/quickstart is obsolete.

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

ID: 3b81f1e6-4945-60eb-76bf-0f60d68ba480
Version Independent ID: 41f4799e-83ba-f0a8-43ae-770f8f0edb3e
Content: Quickstart Push notifications in the Windows App SDK - Windows apps
Content Source: hub/apps/windows-app-sdk/notifications/push/push-quickstart.md
Product: reunion
Technology: ****
GitHub Login: @hickeys
Microsoft Alias: hickeys

We are changing the way we track issues filed from our documentation pages: please see this blog post for more details. The Microsoft Store documentation has been updated several times since your issue was reported, and there's a good chance your problem has been addressed. Right now, this issue is being closed but if you feel it is still valid and has not been addressed, please re-open it with any more available information. Please note that if you question is more general and not related to documentation, Microsoft Q&A is a great way to get questions answered.


Incompatibility with Create Fabric

Describe the bug
Launching a modpack with both Create and VMP enabled causes a crash on startup.
To Reproduce
Steps to reproduce the behavior:

Launch a modpack with both Create and VMP enabled

Runtime info (please complete the following information):

OS: Windows 10
Minecraft version: 1.18.2
Mod version: Create mc1.18.2_v0.4.1+596, VMP 0.2.0+beta.3.17

Crash reports / logs
https://pastebin.com/XXkhzqrH
Other mods
(listed in log)
Checklist

[x] I am using the official version of the mod.
[x] I tried the latest development version but the issue persists.
[x] I searched for similar open issues and could not find an existing bug report on this.

I'm also submitting this issue to the Create team since I don't know which is more likely to be able to fix the 'problem'.

Closing as the linked issue is closed.


TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

After migrating to WasmSqlite3.loadFromUrl, occasionally getting the below error in Sentry on production on Chrome.
TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

Implementation:
Future<Database> openDatabase({bool logStatements = false}) async {
  IndexedDbFileSystem fs = await IndexedDbFileSystem.open(dbName: 'db');

  WasmSqlite3 sqlite = await WasmSqlite3.loadFromUrl(
    Uri.parse('sqlite3.wasm'),
    environment: SqliteEnvironment(fileSystem: fs),
  );

  return Database(
    WasmDatabase(
      sqlite3: sqlite,
      path: '/app.db',
      logStatements: logStatements,
    ),
  );
}

Thanks for trying this out! It's weird that is haopens _ occasionall _, but

@simolus3 Sent you a friend request on Discord so I can share some things with you.
Re: CDN - it's Firebase Hosting and it reports application/wasm as the content type.

Closing to bundle the discussion/analysis in https://github.com/simolus3/sqlite3.dart/issues/128.


Fix Data formats settings

Description
When you specify Maximum fraction digits = 10, only 3 digits are shown.
We need to fix it.
DBeaver Version
CE 22.3.1
Operating System
No response
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Fixed


Export includes environments not tied to exported project

Octopus version
2024.4
Octoterra version
latest
What happened
When creating the project export from a space, Octoterra creates data references for all environments in the space even if the exported project does not use them. This causes the apply to fail if the environments do not exist in the target space.
Octoterra log output
n/a
Reproduction steps

Create a space with a project and some environments.
Ensure some environments have no tie to the project.
Export the project.
Apply the project in a space with only the relevant environments.
See the apply fail.

More Information
No response

The issue here is that projects were linking to every environment because, in theory, tenants could link any environment to any runbook. However, it only makes sense to link the environments that tenants actually configured.
This issue has been resolved in the commit https://github.com/OctopusSolutionsEngineering/OctopusTerraformExport/commit/83da1d74ab0d11836ae6ea87f46634998383c0d0.


Allow custom Configurations for ConnectionPool

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
In https://github.com/ververica/flink-cdc-connectors/pull/534, we introduced Hikari connection pool to reduce connection usage.
Then, we added some predefined configurations like maximumPoolSize = 20, minimumIdle = 1, connectionTimeout = 30s.
Howerver, there are still some frequently-used configurations that we haven't allow user to set, as configurations showed, which may be useful like keepaliveTime.
It would be better to allow user to add custom pool configurations based on their condition, like what debezium.* and jdbc.properties.* do.
Solution
allow custom pool configurations like hikari.*, and add them to HikariConfig
Alternatives
No response
Anything else?
Requires compatibility with previous parameters like connection.pool.size and connect.timeout, and jdbcUrl、driverClassName could not be modified too.
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Closing this issue as it has been migrated to Apache Jira.


Update Makefile PDK_PATH and Add .gitignore for precheck results directory

Also, updated Makefile to automatically detect if the pdk is installed with efabless style

@jeffdi Should be ready to merge


Feat: product filtering

What

Product filtering similar to that of orders

How

using the same patterns and components as was used in orders

A couple of changes to the UI and one fix to how we fetch tag-usage.
We are currently fetching tag-usage quite a lot. Both on initial load and everytime we click a button. We should limit this to a single call upon opening the products overview.
See attached image for reference:

Did you get a chance to look at these as well? @pKorsholm


feat: typescript support

Description of the Changes
Please add a detailed description of the change, whether it's an enhancement or a bugfix.
If the PR is related to an open issue please link to it.
Check List

[x] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[x] Test are passing in local environment
[ ] Docs have been updated
[x] PR title is follow the convention: <type>[optional scope]: <description>, e.g: fix: minor typos in code

:tada: This PR is included in version 0.1.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Change the loading logo with a svg file

Description
The loading logo uses a gif file, it have been removed
Issues Resolved

https://github.com/wazuh/wazuh-dashboard/issues/278

Evidence

Changelog

fix: Changed the logo extension.

Check List

[ ] All tests pass

[ ] yarn test:jest
[ ] yarn test:jest_integration

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] Update CHANGELOG.md
[ ] Commits are signed per the DCO using --signoff

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.40%. Comparing base (be3a378) to head (809b141).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            4.9.0     #281       +/-   ##
===========================================
+ Coverage   31.31%   54.40%   +23.08%
===========================================
  Files        2211     2257       +46
  Lines       44413    44039      -374
  Branches     6871     8130     +1259
===========================================
+ Hits        13909    23960    +10051
+ Misses      29884    18359    -11525
- Partials      620     1720     +1100

Flag
Coverage Δ

Linux_1
?

Linux_3
44.70% <100.00%> (?)

Linux_4
35.30% <100.00%> (?)

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

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


feat(prompt): help description for chore

Didn't include this in my latest PR since it was supposedly going away,
but since both config-conventional and conventionalcommits.org still have it,
at the very least fix it so it's not the only one that appears without a description
in the prompt help.

Thank you!


Fix reference error in navigator detection

When WorkerNavigator is undefined, navigator instanceof WorkerNavigator throws reference error. The typeof SomeDefinedType is expected to be "function".

fix #81


Memoize hook output

Changes:

fixes #134

adds eslint-plugin-react-hooks

@FaberVitale This is awesome! Thank you for endeavoring an attempt at #134. I really like it after my initial glance.
I'd like to dig a bit more into this attempt this week and pull down the branch.


Classrooms: Track dirty state for warning before navigating

Who is this PR for?
K-5 teaching teams, part of https://github.com/studentinsights/studentinsights/issues/1696.
What problem does this PR fix?
Warnings before leaving the page weren't accurate.  This updates them to be accurate, fixes those warnings in Chrome, and adds a UI integration test for that code.
Screenshot (if adding a client-side feature)

Checklists

[x] Author checked latest in IE - Class list creator
[x] Author improved specs for code in need of better test coverage
[x] Author included specs for new code

selfie


How to use in class library?

I made a .NET 8 class library with a refitter file and an openapi spec:

myapi.refitter
myapi.json

The refitter file is simply:
{
  "openApiPath": "./myapi.json",
  "namespace": "MyApi",
}

and the .csproj file is
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="Refit" Version="8.0.0" />
      <PackageReference Include="Refitter.SourceGenerator" Version="1.4.1">
        <PrivateAssets>all</PrivateAssets>
        <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      </PackageReference>
    </ItemGroup>

    <ItemGroup>
        <AdditionalFiles Include="*.refitter" />
        <Compile Include="./Generated/*.cs" />
    </ItemGroup>

</Project>

When I build the project nothing gets generated however. What am I doing wrong?
CLI version of refitter works fine btw

@geometrikal thanks for taking the time to report this.
I could reproduce your error and resolve it by removing the unnecessary comma in the .refitter file
like this:
{
  "openApiPath": "./myapi.json",
  "namespace": "MyApi"
}

@geometrikal I can see some room for improvement on the source generator regarding showing error messages...
When I use the same .refitter file with the CLI tool then I get the error message
$  refitter --settings-file .\myapi.refitter

Error: The JSON object contains a trailing comma at the end which is not supported in this mode. Change the reader options. Path: $ | LineNumber: 3 | BytePositionInLine: 0.

@all-contributors please add @geometrikal for bugs

@christianhelle Ahh so simple 🤣. Thanks so much.


Release upgrades

I know nothing about this issue , should it be in UAT? @CarlosQ96

Too many commits to go to production, and improvement ramin did, didnt wanna release this yet.


Add node_modules and coverage in npmignore.

The directory coverage are published on npm. I add this directory and node_modules (copied from .gitignore) in .npmignore.

Coverage remained the same at 98.039% when pulling 596ef0621badfc1aa333dd103c7f0559dfd62923 on regseb:master into a4d0ba5f90ceee728a8d507a9b9850b3dfe3d895 on STRML:master.

Thanks!


confusion about CLIP

Thanks for your great paper. I have a confusion about the CLIP part and wonder if you can clarify it.
In the paper, part 3.3 shows that the EEG features are Aligned by CLIP, but i don't realize where the code is.
i will appreciate it if you could clarify it.
Thank a lot.

get_clip_loss function from cond_stage_model is running a cosine similarity between target embeddings and image embeddings. Latent embeddings are returned by get_learned_conditioning.
Hope it helps.


RRT* PATH PLANNING

Hello, Because the team is currently working on path planning , why they don't use for example RRT* as local planner, it's asymptotically optimal. I had used it on real experiments on DJI M100 drone for path planning with pre-loaded obstacles positions.
And different study show that RRT is really an efficient algorithm for path planning in complex environment.
Best regards
Mecahli Omar
<EMAIL_ADDRESS>

RRT* is a sampling based planner which is used for finding globally optimal paths. As the RRT* samples in the workspace, this means that you need to create a map in order to be able to use RRT*
I agree that RRT* could be an attractive planner to use, but local_planner is designed so that we don't need to create a map and plan trajectories faster than sampling based algorithms with much lower computational costs.
The global_planner might be closer to what you are describing.

There would also need to be some accounting for the kinematics of the drone, which affects the paths available, otherwise it wouldn't work in more complex environments while at practical speeds. Something like this might be feasible once a map is constructed: https://arxiv.org/pdf/1205.5088.pdf

I'm always wondering about how to avoid an obstacle which come suddenly in front of the UAV. I used RRT* with preloaded obstacles , but how to avoid them in real time?

@mechaliomar There is a large body of literature on incremental replanning in unknown environments. It is not answer. Something like this might be interesting for you: https://arxiv.org/abs/1710.00604

@JaeyoungLIm Thnaks a lot for that paper, it's really useful. I'm reading
it to get some information. XIEXIE
Le mar. 2 avr. 2019 à 21:58, JaeyoungLim<EMAIL_ADDRESS>a
écrit :

@mechaliomar https://github.com/mechaliomar There is a large body of
literature on incremental replanning in unknown environments. It is not
answer. Something like this might be interesting for you:
https://arxiv.org/abs/1710.00604
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/avoidance/issues/277#issuecomment-479008943, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APKJFmX2qtRWsqa2t6Sf9kJ6lmryR-V6ks5vc2IigaJpZM4cUsoR
.

@JaeyoungLIm I also took a look at :
https://github.com/ethz-asl/mav_voxblox_planning
What do you think about this Github material?
Le mer. 3 avr. 2019 à 09:24, Mechali Omar<EMAIL_ADDRESS>a écrit :

@JaeyoungLIm Thnaks a lot for that paper, it's really useful. I'm reading
it to get some information. XIEXIE
Le mar. 2 avr. 2019 à 21:58, JaeyoungLim<EMAIL_ADDRESS>a
écrit :

@mechaliomar https://github.com/mechaliomar There is a large body of
literature on incremental replanning in unknown environments. It is not
answer. Something like this might be interesting for you:
https://arxiv.org/abs/1710.00604
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/avoidance/issues/277#issuecomment-479008943, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APKJFmX2qtRWsqa2t6Sf9kJ6lmryR-V6ks5vc2IigaJpZM4cUsoR
.


Hit GitHub API rate limit when getting the dockle version

When the action runs more than one time in a job we hit the GitHub API Rate Limit meaning that we can't get the version, and if the version is empty, it tries to download a dockle version that it doesn't exists like here: https://github.com/cloudnative-pg/postgres-containers/actions/runs/3768952223/jobs/6407766763

Hi @erzz !
Hope you can take a look into this PR!
Cheers!

:tada: This issue has been resolved in version 1.3.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


astropy.units for inputs?

@tobin-wainer thoughts on using astropy.units for inputs like radius, location, age etc? We can then convert them internally and just use the values in the same way but it lets people use any input that way. (Could also still allow a float input and assume a certain unit in that case)

So, you are saying that the user would need to specify what units they are inputting and the class would then convert to what we want? And the default float assumes some units?

On Mar 5, 2023, at 12:10 PM, Tom Wagg @.***> wrote:
@tobin-wainer https://github.com/tobin-wainer thoughts on using astropy.units for inputs like radius, location, age etc? We can then convert them internally and just use the values in the same way but it lets people use any input that way. (Could also still allow a float input and assume a certain unit in that case)
—
Reply to this email directly, view it on GitHub https://github.com/tobin-wainer/TESS_Cluster_Project/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVBO6M2K4LMWLVNCZUKVU3W2TXJ7ANCNFSM6AAAAAAVQLOITM.
You are receiving this because you were mentioned.

Yeah exactly! They can still not use astropy units if they want, but the option would be there

Yeah, that sounds amazing! Then in the docs we just say what the default units are.

On Mar 5, 2023, at 12:15 PM, Tom Wagg @.***> wrote:
Yeah exactly! They can still not use astropy units if they want, but the option would be there
—
Reply to this email directly, view it on GitHub https://github.com/tobin-wainer/TESS_Cluster_Project/issues/9#issuecomment-1455192933, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVBO6NCNPIC52E5EQSOVQ3W2TX4PANCNFSM6AAAAAAVQLOITM.
You are receiving this because you were mentioned.

Cool, let's do it 😎


for loop multiple emails

Issue Summary
I try to send multiple emails using sendgrid library, it sends HTML emails
The first email is sent. However the following get error 400 if echo $response->status();
Using try-catch block no error is shown
eventually, I am using for loop but for a sake of simplicity I put here simpler example:
require 'sendgrid-php/sendgrid-php.php';
$sendgrid_apiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
$subject='XXXXXXXXXXXXXXXXXXXXXX';
$from = new SendGrid\Email("XXX XXXX", "d.lXXX@XXX.com");
$to = new SendGrid\Email("dm sh", "lesXXXXXXXXX@yahoo.com");
ob_start();
require_once 'phpMailer/interview.php';
$content = ob_get_contents();
ob_end_clean();

$body = new SendGrid\Content("text/html", $content);
$mail = new SendGrid\Mail($from, $subject, $to, $body);
$sg = new \SendGrid($sendgrid_apiKey);
$response = $sg->client->mail()->send()->post($mail);
$from = new SendGrid\Email("xx  xx x x", "xxxxnskix@oxxx.xxx");
$to = new SendGrid\Email("xxx", "xxxx@gx.xxx");
ob_start();
require_once 'phpMailer/interview.php';
$content = ob_get_contents();
ob_end_clean();

try{
$body = new SendGrid\Content("text/html", $content);
$mail = new SendGrid\Mail($from, $subject, $to, $body);
//<EMAIL_ADDRESS>'xxxx xxxx');
$sg = new \SendGrid($sendgrid_apiKey);
$response = $sg->client->mail()->send()->post($mail);
}
catch (Exception $e) {
echo 'Caught exception: ',  $e->getMessage(), "\n";
}
Overall I wondering what is a right way to include HTML content into sendgrid email

Hello @lesh3000,
Can you try the following after echo $response->status();?
echo $response->body();
Also, if it's a 400 error, that means it's likely an error relating to your API Key. Do you have this code ($sg = new \SendGrid($sendgrid_apiKey);) inside or outside of your loop?
Might be useful to check the value of $sendgrid_apiKey on the second call.
With Best Regards,
Elmer

Hello @thinkingserious;
Thank you so much for helping out.
Eventually ->body(); helped me to resolve the problem.
The issue was in ob_.
Many thanks!


Add Preferred Specs configuration

Ignored specs is great for skipping out on outdated specs or early-stage delta specs, but oftentimes I need the opposite: prefer (all) terms in this spec, not the other / newer one.
Use cases:

don't link to versions higher than the one currently stable (needed for late-stage CRs and RECs)
prefer terms from this set of CSS specs over terms from outside that space. (This is particularly useful when specs are modularized, so the concept of "internal" vs "external" terms is not correlated with file boundaries.)

It sounds like you want a 'preferred' mechanism, wherein if a preferred spec shows up in the possible refs, I automatically drop all non-preferred specs from consideration?

Yeah.
Btw, a related issue would be https://github.com/tabatkins/bikeshed/issues/2398 which is a sort of exclusive list of specs. The first use case here (late-stage specs) could be solved by that mechanism, since in those situations locking down the complete list of appropriate references isn't unreasonable.
The second use case... for me ideally, specs could form a named group (e.g. CSS), and if a term is defined within the group, prefer that internal reference to external ones. (The current file-based model puts modularized specs at a disadvantage, because "local" terms are split across files.) But I imagine for some other specs, they'd want an explicit list.

Do you want a linking error if a term is only defined in a higher level than what you specified, or should it succeed as normal?

It should error, because that higher level isn't available to it. :) I figure, if you need to autolink to the higher-level spec, then, you should have allowed it in the reference pool!


Fixed typo for Container Orchestration in Readme.md

PTAL

Hello! As described on the initial README -page for this repo, we work through Issues not PR's. Thanks!


Bugfix/fix tests

Removed __init__.py from tests dir. Tests is a dir not a package

The coverage issue will be solved in the follow-up PR #13


Port improvements made to types/function.bal into jBallerina semtype

Description:

Describe your task(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/35718


Could not list products catalog

Hello,
A face this error when i try to access to catalog after updating on latest commit.
What I'm trying to achieve
Access to Calalog list
Screenshots
 "errors": [{
        "message": "'WSGIRequest' object has no attribute 'service_account'",
        "locations": [{
            "line": 28,
            "column": 3
        }],
        "path": ["products"],
        "extensions": {
            "exception": {
                "code": "AttributeError",
                "stacktrace": ["Traceback (most recent call last):", "  File \"/home/manager/.virtualenvs/saleor/lib/python3.8/site-packages/promise/promise.py\", line 489, in _resolve_from_executor", "    executor(resolve, reject)", "  File \"/home/manager/.virtualenvs/saleor/lib/python3.8/site-packages/promise/promise.py\", line 756, in executor", "    return resolve(f(*args, **kwargs))", "  File \"/home/manager/.virtualenvs/saleor/lib/python3.8/site-packages/graphql/execution/middleware.py\", line 75, in make_it_promise", "    return next(*args, **kwargs)", "  File \"/home/manager/saleor/saleor/graphql/core/fields.py\", line 176, in connection_resolver", "    iterable = resolver(root, info, **args)", "  File \"/home/manager/saleor/saleor/graphql/product/schema.py\", line 276, in resolve_products", "    return resolve_products(info, **kwargs)", "  File \"/home/manager/saleor/saleor/graphql/product/resolvers.py\", line 148, in resolve_products", "    user = get_user_or_service_account_from_context(info.context)", "  File \"/home/manager/saleor/saleor/graphql/utils.py\", line 191, in get_user_or_service_account_from_context", "    return context.service_account or context.user", "AttributeError: 'WSGIRequest' object has no attribute 'service_account'"]
            }
        }
    }],
```

Thanks for help on this.

Hey, it seems like a backend related issue. This middleware tries to get a service account from the request. We recently bumped Django and changed these middlewares slightly, did you upgrade your backend as well? Make sure that you installed new Python requirements and restarted the server. If that doesn't help I would also try removing all *.pyc files and restarting the server again.

thanks @maarcingebala for answer :
upgrade backend > done
python requirements > done
cleaning pyc > done
and same error... with same trace.

@tboulogne Do you have any custom settings.py file with some overrides? Maybe local_settings.py?

yes, and nothing extravagant in it :
from saleor.settings import *

# here you can override any Django settings e.g.:
VERSATILEIMAGEFIELD_SETTINGS = {
        'jpeg_resize_quality': 95,
        "create_images_on_demand": get_bool_from_env("CREATE_IMAGES_ON_DEMAND", DEBUG)

        }

ACCOUNT_EMAIL_VERIFICATION = "optional"
TIME_ZONE = "Europe/Paris"

@maarcingebala UPDATE:
For information could not access staff members page or service account page.
get the 404 oups....

There is indeed an issue with displaying the service account details page. But other pages that you mentioned work for me, I'm on master in both projects. Really have no idea what could go wrong there 😕. Any errors in the browser's console (others than the original one)?

@maarcingebala removing build directory before rebuild help to solve this :-).


[update] Licence boilerplate

adopt BSD 3-clause licence
add list of authors
change (simplify) cpp/hpp boilerplate

@simonpintarelli @haampie @AdhocMan , please, have a look


Updates to testing

overhaul of travis config (for now only linux/mpich, but much easier to extend)
pytest instead of nose
move tests to amuse namespace
some fixes to errors
some fixes for deprecation warnings

Fixes #631, #414
Needs testing with #425, #351

I guess codecov is complaining since the whole test directory is gone now... that can be ignored.

@ipelupessy ok to merge?

I am still testing and running into issues (which may be my config)..

ok - travis runs ok apart from the issue with test_attribute_storage's setup class not being skipped...

(and the test31 issues)

the last commit fixes the case where baseclass is tested (when it shouldn't). Apperently pytest also tries all classes derived from UnitTestCase.. (not sure if that is documented). Can be solved by making it mixin

so you can also fix the other cases this way...

have you tested the codes test?

there are some codes test which leave debris in the cwd - capreole and and maybe others..setup and teardown with chdir can be added for those...

@ipelupessy That timeout you removed was a timeout override, allowing more time for that specific tests... I guess we could allow more time in general but I'd rather not do that and keep the override instead.

ok, I had some issues with a pytest not supporting this...

yes, it's a plugin for pytest (pip install pytest-timeout)

but I'm just allowing more time for core-tests now, should be ok (these don't take long generally)

I'll merge if you're ok with it. Some tests need more addressing, but that's the same for the old testing setup...

@ipelupessy ok?

ok


Implement a built-in code editor

Maybe the npm  package monaco-editor combined with either Sciter.JS or Neutralinojs could be used for that.

Work in progress:


log: change not managed pod log to debug, print delay as string

What type of PR is this?

What this PR does / why we need it:
there are too many logs like Skip pod, not manage for pods running in nodes not managed by kwok, but users should not care about the pods not managed by kwok, so we should put it to Debug level.
the deplay time in logs is int, it is not possible to read by humans, changed to String, make it output like 1h2m3s
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/ok-to-test

/approve
/lgtm


Examples

Need example code for both

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

ID: 3bfc852f-1455-4339-920d-a764c2209da9
Version Independent ID: f8b0a59d-c474-2e37-0416-4bd274e59463
Content: Toolbar - Xamarin
Content Source: docs/android/user-interface/controls/tool-bar/index.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @davidortinau
Microsoft Alias: daortin

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


iPad4 shrinking on export

Hi,
When exporting the image I have a funny issue with my iPad4 that I'm able to replicate time and again.  The image loads correctly and I have no issues editing it, but when exporting the image on this device the image is shrunk (not cropped) to nearly half of its original size.
This was happening with iOS 7.1.2 so I updated to 8.1.3 but there's no change.  Interestingly I have an iPad Air with iOS 8.1.3 and it works fine on that.
I've also tested this on Google Chrome or Firefox but these don't suffer the issue.
I didn't see another issue similar to this, I hope it's an easy fix.
Cheers,
Brad
Sample of code used below:

I suspect this has something to do with device pixel ratio, but I'm not really sure.

I'll apologise in advance, I'm really very new to javascript and front end code...
With your comments in mind I tried changing the 'scale' of the backgroundImage from 1 to 0.5 and also to 2 but this doesn't appear to have an affect...
As a test, I also removed from the head:

Is there a way to turn off scaling on an iPad either through code or via a setting on the device? This would at least identify the culprit.  I'm happy to do the leg work to diagnose the issue but I'd need you to tell me what you need...
Code pasted below again, it didn't show last time
$(document).ready(function() {
var backgroundImage = new Image()
backgroundImage.src = 'floorplan.png';
var lc = LC.init(
    document.getElementsByClassName('literally backgrounds')[0],
    {
      backgroundShapes: [
        LC.createShape(
          'Image', {x: 0, y: 0, image: backgroundImage, scale: 1}),
      ]
    });

function setValue(){
document.sampleForm.floorplan.value = lc.getImage({rect: {x: 0, y: 0, width: backgroundImage.width, height: backgroundImage.height}}).toDataURL();
document.forms["sampleForm"].submit();
}
$('.controls.export [data-action=export-as-png]').click(function(e) {
  e.preventDefault();
  var data = lc.getImage({rect: {x: 0, y: 0, width: backgroundImage.width, height: backgroundImage.height}}).toDataURL();
  var element = document.getElementById("floorplan");
  element.value = data;
  element.form.submit();
});

});

I'm guessing you want to use lc.getImage({scaleDownRetina: false}), to get full pixel resolution.

I'm closing this, but you can reopen if that isn't the solution.


[Feature suggestion] Have both avatars and usernames displayed on typing users.

This feature would add an option to have both avatars and names of users show up in the typing box instead of the current options which can only show one of them at a time.

Bump. That would be a pretty nice feature


Clear button is not in style

Clear button added recently is not the right icon as defined in sugar-toolkit-gtk3 for this purpose.

@quozl  can you please explain the issue little more.

@quozl please assign me, i want to work on this issue!

My mistake, sorry.  Use edit-clear.svg from the sugar-artwork repository.
I see that Sugar activities TamTam, Paint, Memorize, Gears, and Abacus have slight variants of the icon, but they all look the same to me.
I see that Sugarizer activities Abacus, Fototoon, Paint, Gears, Memorize, Calculate and Stopwatch also have copies of the icon.
For GTK activities, we can rely on sugar-artwork being available.  I'm not sure, but I think for HTML/JavaScript activities like this one we have to include each icon used in the bundle.

[ ] replace the icon,
[ ] prepare an activity bundle (the .xo file),
[ ] install in Sugar,
[ ] demonstrate test in Sugar.


Revert "chore: Delete workspace.json (#2538)"

Current dependencies on/for this PR:

main

PR #2545   👈

This comment was auto-generated by Graphite.


[docs] Update tx-pool#transaction-priority doc

Update: WIP for the new devhub here.
This section needs an update based on what was introduced in this new PR in Substrate master.

I think we can close this given the doc in the new site.


Udp performance test

Changes done:

Runs a udp server or a client as a IncludeOS unikernel
When run as a server, sample is calculated every 5 seconds.
When run as a client, a bunch of packets is sent every second for default 10 seconds. Need to pass "client" argument to the program to run it as a client.
Uses ncat to send and receive packets.
Works with Qemu for now. With ukvm, there is a timing issue resulting in samples not being collected correctly

This change is

Can one of the admins verify this patch with one of the following commands:

"jenkins test please" for a one time test run
"ok to test" to accept latest and future commits on this pull request for testing
"add to whitelist" to add the author to the whitelist

ok to test

Some tests seem to be timing out, not sure what is happening there. We'll have to invite @mnordsletten over to investigate.

Yeah, I've verified that the tests do actually pass, just that they are timing out easily. We'll give them another go, and I've eased up on some of our timeouts.
Jenkins test please

@fwsGonzo , I've removed the NaCl module, however, I am unable to squash and re-base all the commits as a single commit.  Some of the commits were not reflected when I tried this. Hopefully this should be ok.

@AndreasAakesson, this is done now. Please take a look


ddev-router fails to become ready if two containers expose the same numbered internal port

Run a Diagnostic and Paste Link Here
https://gist.github.com/justafish/bc089ef9043796df9a382f85cc64971a
Describe the bug

Followed these instructions and added a service that exposes the same ports
Restarted ddev
ddev-router hangs...
Container ddev-drainpipe-test-firefox  Started
Container ddev-router  Creating
Container ddev-router  Created
Container ddev-router  Starting
Container ddev-router  Started
Failed to restart drainpipe-test: ddev-router failed to become ready; debug with 'docker logs ddev-router'; logOutput=, err=health
check timed out: labels map[com.docker.compose.service:ddev-router] timed out without becoming healthy, status=

❯ docker logs ddev-router
Using the local CA at "/root/.local/share/mkcert" ✨
The local CA is now installed in the system trust store! ⚡

Using the local CA at "/root/.local/share/mkcert" ✨

Created a new certificate valid for the following names 📜
 - "*.ddev.local"
 - "*.ddev.site"
 - "<IP_ADDRESS>"
 - "localhost"
 - "ddev-router"
 - "ddev-router.ddev_default"

Reminder: X.509 wildcards only go one level deep, so this won't match a.b.ddev.local ℹ

The certificate is at "/etc/nginx/certs/.crt" and the key at "/etc/nginx/certs/.key" ✅

Using the local CA at "/root/.local/share/mkcert" ✨

Created a new certificate valid for the following names 📜
 - "*.ddev.local"
 - "*.ddev.site"
 - "ddev-router"
 - "ddev-router.ddev_default"
 - "<IP_ADDRESS>"
 - "localhost"

Reminder: X.509 wildcards only go one level deep, so this won't match a.b.ddev.local ℹ

The certificate is at "/etc/nginx/certs/master.crt" and the key at "/etc/nginx/certs/master.key" ✅

forego     | starting nginx.1 on port 5000
forego     | starting dockergen.1 on port 5100
dockergen.1 | 2022/03/04 16:04:23 Generated '/gen-cert-and-nginx-config.sh' from 6 containers
dockergen.1 | 2022/03/04 16:04:23 Running 'bash /gen-cert-and-nginx-config.sh'
dockergen.1 | 2022/03/04 16:04:23 [bash /gen-cert-and-nginx-config.sh]: Processing certs and nginx for hostnames: *.drainpipe-test.ddev.site drainpipe-test.ddev.site
dockergen.1 | 2022/03/04 16:04:23 [bash /gen-cert-and-nginx-config.sh]:  - "*.drainpipe-test.ddev.site"
dockergen.1 | /03/04 16:04:23 Error running notify command: nginx -s reload, exit status 1
dockergen.1 | 2022/03/04 16:04:23 Watching docker events
dockergen.1 | 2022/03/04 16:04:24 Contents of /gen-cert-and-nginx-config.sh did not change. Skipping notification 'bash /gen-cert-and-nginx-config.sh'

To Reproduce

Add .ddev/docker-compose.selenium.yaml

version: '3.6'

services:
  chrome:
    container_name: ddev-${DDEV_SITENAME}-chrome
    image: selenium/standalone-chrome:4.1.2-20220217
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    expose:
      - 7900
    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTPS_EXPOSE=7900:7900
      - HTTP_EXPOSE=7901:7900
    links:
      - web:web
      - web:drupal_chrome
    external_links:
      - ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
    volumes:
      - ".:/mnt/ddev_config"

  firefox:
    container_name: ddev-${DDEV_SITENAME}-firefox
    image: selenium/standalone-firefox:4.1.2-20220217
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    expose:
      - 7900
    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTPS_EXPOSE=7902:7900
      - HTTP_EXPOSE=7903:7900
    links:
      - web:web
      - web:drupal_firefox
    external_links:
      - ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
    volumes:
      - ".:/mnt/ddev_config"

Run ddev restart

Expected behavior
Selenium front-end is available on http://drainpipe-test.ddev.site:7900, http://drainpipe-test.ddev.site:7902, http://drainpipe-test.ddev.site:7901, and http://drainpipe-test.ddev.site:7904
Version and configuration information (please complete the following information)

ddev version v1.18.2
Docker version 20.10.12, build e91ed57
`Linux asterix 5.14.0-1024-oem #26-Ubuntu SMP Thu Feb 17 14:35:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
config.yml`

name: drainpipe-test
type: drupal9
docroot: web
php_version: "7.4"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames:
- '*.drainpipe-test'
additional_fqdns: []
mariadb_version: "10.4"
mysql_version: ""
nfs_mount_enabled: false
mutagen_enabled: false
hooks:
  post-start:
  - exec: mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS firefox; GRANT ALL ON firefox.* TO 'db'@'%';"
  - exec: mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS chrome; GRANT ALL ON chrome.* TO 'db'@'%';"
use_dns_when_possible: true
composer_version: "2"
web_environment:
  - NIGHTWATCH_DRUPAL_URL_FIREFOX=https://drupal_firefox
  - NIGHTWATCH_DRUPAL_URL_CHROME=https://drupal_chrome

Hi @rfay - same issue occurs even if I remove additional_hostnames unfortunately

Yes have tried ddev poweroff
If I comment out one of either the firefox or chrome service then everything works fine

So port 7900 is running inside the firefox container and also 7900 inside the chrome container? Those are completely different, of course, but odd number to use - often services use different ports.
But even the base ddev config has this - the phpmyadmin container has port 80 inside it as primary port, and so does the web container.

Agree it is odd! https://github.com/SeleniumHQ/docker-selenium#using-your-browser-no-vnc-client-is-needed

Hmm, I don't know why it didn't fail for me on gitpod, but locally I see the ddev-router failure.
If you use ddev debug router-nginx-config you'll see it creating duplicate upstreams that I don't think can work for the router config:
        upstream d9.ddev.site-7900 {
        keepalive 100;
            # Container=ddev-d9-chrome <IP_ADDRESS>:7900
            server ddev-d9-chrome:7900;
            # Container=ddev-d9-chrome <IP_ADDRESS>:7900
            server ddev-d9-chrome:7900;
        }
        upstream d9.ddev.site-7900 {
        keepalive 100;
            # Container=ddev-d9-firefox <IP_ADDRESS>:7900
            server ddev-d9-firefox:7900;
            # Container=ddev-d9-firefox <IP_ADDRESS>:7900
            server ddev-d9-firefox:7900;
        }

It looks to me like you can change the listen port using the environment variable NO_VNC_PORT, see
https://github.com/SeleniumHQ/docker-selenium/blob/trunk/NodeBase/start-novnc.sh

That worked! :tada:
version: '3.6'

services:
  chrome:
    container_name: ddev-${DDEV_SITENAME}-chrome
    image: selenium/standalone-chrome:4.1.2-20220217
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    expose:
      - 7900
    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTPS_EXPOSE=7900:7900
      - HTTP_EXPOSE=7910:7900
    links:
      - web:web
      - web:drupal_chrome
    external_links:
      - ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
    volumes:
      - ".:/mnt/ddev_config"

  firefox:
    container_name: ddev-${DDEV_SITENAME}-firefox
    image: selenium/standalone-firefox:4.1.2-20220217
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    expose:
      - 7901
    environment:
      - NO_VNC_PORT=7901
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTPS_EXPOSE=7901:7901
      - HTTP_EXPOSE=7911:7901
    links:
      - web:web
      - web:drupal_firefox
    external_links:
      - ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
    volumes:
      - ".:/mnt/ddev_config"

Yay! Closing this, happy to continue the conversation here or elsewhere. Interesting that nobody has ever mentioned stumbling on this before. I imagine it happened here because the selenium images are built from a common base with common expectations.
I hope you'll share your recipe when it settles out in github.com/drud/ddev-contrib or with a newfangled v1.19+ ddev get recipe (a repository you maintain that has its own issue and PR queue).

Thank you for your help @rfay - much appreciated!
It's shared over here: https://github.com/Lullabot/drainpipe-dev

Please add it to at least github.com/drud/awesome-ddev then, thanks!

Thanks!
One thing I don't see mentioned is that the current config is incompatible with mac M1 machines;  I imagine you've already come across that, but those selenium images (and especially chrome) are amd64 only.

@rfay fixed 10 days ago! :tada: https://github.com/SeleniumHQ/docker-selenium/issues/1076#issuecomment-1053189663

@justafish they might say it's fixed, but there are no arm64 images in https://hub.docker.com/r/selenium/standalone-chrome/tags for example.

@rfay they're in the Seleniarm repo https://github.com/SeleniumHQ/docker-selenium#experimental-mult-arch-aarch64armhfamd64-images https://hub.docker.com/u/seleniarm

OK, glad you're on this. But I note that those don't seem to be the ones you're using in your drainpipe repo. https://github.com/Lullabot/drainpipe-dev/blob/main/scaffold%2Fnightwatch%2Fdocker-compose.selenium.yaml

I'm running into this issue, where the ports cannot be changed on the container easily. Is it an option to use the container name to define the upstream naming? That should be unique, AFAIK.

It's easy to expose different ports using docker-compose.*.yaml - you don't have to change the internal port. Just change the expose

Well, yes, but if the tool on the container is exposed on port 80 inside the container, you have to expose port 80, no?
The documentation says:
Expose ports without publishing them to the host machine - they’ll only be accessible to linked services. Only the internal port can be specified.

Or am I misunderstanding something about expose?

I guess you do have to expose the one that's running inside, https://docs.docker.com/compose/compose-file/#expose - I was wrong.
What image is it you're working with?

It's for osixia/phpldapadmin to have an interface on top of osixia/openldap. I checked and there's nothing in there that allows changing the port to expose unfortunately.

That's the port the ldapadmin instance is connecting to, so for the actual LDAP server, not the port being exposed :)

Please open a new issue or a discussion to continue this. It's normally a solvable problem. You can even put a proxy in there.


Fix invalid gopkg.toml

Fixes #92

Bumping github.com/Masterminds/semver from v1.3.1 -> v1.4.2

Signed-off-by: Silvin Lubecki<EMAIL_ADDRESS>

Codecov Report

Merging #94 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   66.07%   66.07%
=======================================
  Files          88       88
  Lines       10987    10987
=======================================
  Hits         7260     7260
  Misses       3441     3441
  Partials      286      286

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e908a6...5e77eab. Read the comment docs.

Thank you! This made my dep manifest much less "override-y" in porter. 🙇♀


Publish v2.0.8

Hi @workshopper/deploy
I updated the workshopper dependencies and fixes errors when compile solutions.
I would like to publish a new version, so people can get a working version of this workshopper.
Can you publish this new version (v2.0.8)?
cc @martinheidegger @julianduque @AnshulMalik

That's a lot of work @ccarruitero! thanks for keeping on top of this.
Maybe we should consider an automated release process so we don't have individuals blocking releases when new folks show up and start doing good work. https://github.com/mikeal/merge-release would be good to consider. It just means we'd have to be very strict about who has merge access because that's essentially release access too.

(I assume I still have npm owner on this package so I could release it but don't want to step on toes, I haven't been involved for some time. If there are no objections from other owners in the next day or so I can go ahead and get this out).

@rvagg this should be fine.

Published.
Lots of good work in here @ccarruitero. Some notes as I was reviewing the diff since the last release (mine, January 2016!).

I assume standard --fix was used to help get the formatting wrangled. One problem that it doesn't handle well is converting single-line if, if/else, if/elseif/else's to braced versions. There's some funny looking very long lines, the best one is probably in exercises/mission_possible_part_three/exercise.js
You should add yourself to credits.txt
.jshintrc can go

Thanks for putting in the effort here so far, I'm sure it'll be appreciated.

Hi @rvagg
Thanks for publish the new version :tada:
I'll take a look into your comments about the changes. Specially into the standard --fix mess with if/else ...
Aside, not sure if you have access to publish stream-adventure?. I was looking to publish a new version there too.

It looks like @julianduque or @calvinmetcalf might be the best chances to get a stream-adventure published. Either of you two active and interested in continuing to help maintain it and other workshoppers, or at least be available for publishing?
I'd like to give @ccarruitero publish access to goingnative, any @workshopper/deploy folks object please let me know here or in private email.

i can give somebody access to deploy stream-adventure

Hi @calvinmetcalf,
I would like to have access to publish stream-adventure.
I was updating the stream-adventure workshopper and I was looking to publish a new version since some weeks ago.

@ccarruitero I'm assuming ccarruitero on npm is you. I've added you to goingnative, please take the responsibility seriously and make sure to do everything through this repo. Thanks for taking on this task!

Thanks @rvagg , I'll do my best to accomplish with this task.

thanks @rvagg got there before me

@calvinmetcalf not for stream-adventure, I don't have owner access there so you'll need to do that

all set @ccarruitero

Thanks @calvinmetcalf


Enable caching of object existence queries

This PR enables the director to keep a local cache of job existence query results.
That is, if it issues a HEAD to see if a remote cache already has an object, then keep around that result for a minute and elide future queries.
This also takes the opportunity to rename and split the stat option, fixing #1566.

@bbockelm, is this ready for a re-review?

Yes - sorry, please do re-review.

I'll clean up the merge conflict and merge shortly.

@bbockelm, are you able to debug these failing tests any more? I haven't had much progress figuring out where in the stack the timeouts are coming from. While I was trying to figure it out, I reverted these changes to their state before my rebase and noticed that the timeouts seem tied to higher value for Director.StatTimeout. The error logs also indicate that failures are related to a timeout awaiting response headers from the Director, so my suspicion is that the increased Director stat timeout is causing a different context to hit its limit while the Director is waiting for stat results. I have been unable to find where that happens.

One other thing that's not clear to me -- when the ttl cache presence capacity is reached, what happens on the call to Set() a result? The jellydator ttlcache docs didn't provide any insight. I think it's important to enforce a cache size limit because the strings being cached come from user queries and we'd otherwise expose the Director to an OOM-style attack that could be triggered by a malicious client asking for many bogus objects. But when that limit is hit, do we pop the oldest result to store the new, or do we just ignore the Set()?

The current MacOS test failure is due to a flaky test and I don't believe it to be affected by the contents of this PR.


Changed the energy output of a nuclear reactor to match sf guide value

Changed the output value from 16 J/s to 500 J/s

Sidenote: Should we be saying per second anything? Per tick would make sense and actually be true everywhere. This is true for most servers but not all

That's a decent point, we should let this PR pass though and then maybe make an issue to address this?
That we change it everywhere we can find it


Lists should be rendered with

As suggested here: https://github.com/dotnet/runtime/pull/46716#discussion_r585230663
Lists should be rendered with <item>
Example: https://github.com/dotnet/roslyn/blob/b09625add4da1b872e8033d2775ea514786d86e1/src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs#L43-L56

also reject attempts at HTML. Eg., this
        ///   <list type="bullet">
        ///     <item><description>set the <see cref="IHostEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/></description></item>

produces build warnings like
Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'list' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'item' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'description' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

The tool should at least grep for these and fail out.


config.output_folder doesn't support nested folders

Hey, great gem and thank you so much for creating! I wanted to move app/frontend/api to app/frontend/vendor/api so I can easily exclude it from linting, etc. I tried this:
JsFromRoutes.config do
  _1.output_folder = Rails.root.join("app/frontend/vendor/api")
end

It sorta worked, but the generated imports don't include vendor:
// JsFromRoutes CacheKey a376287889ecd8b72c981c0366ab5059
//
// DO NOT MODIFY: This file was automatically generated by JsFromRoutes.
import * as helpers from '~/api/all'
export * from '~/api/all'
export default helpers

I can work around this with a monkeypatch, of course:
module JsFromRoutes
  class ControllerRoutes
    def import_filename
      dir = Pathname.new("vendor/api")
      # @config.output_folder.basename.join((basename.split(".")[0]).to_s)
      dir.join((basename.split(".")[0]).to_s)
    end
  end
end

Probably better fix though :) Thanks again!

Also, I had to add a custom template for index.js, which uses a hardcoded ~/api:
  _1.template_index_path = Rails.root.join("config/initializers/js_from_routes_index.js.erb")

//
// DO NOT MODIFY: This file was automatically generated by JsFromRoutes.
import * as helpers from '~/vendor/api/all'
export * from '~/vendor/api/all'
export default helpers

Hi Adam! Thanks for reporting 😃


build: also build libdevmapper in parallel

PR #258 resurrected
Signed-off-by: Ramkumar Chinchani<EMAIL_ADDRESS>
What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -ldevmapper: No such file or directory
collect2: error: ld ret
Not sure devmapper code can handle parallel make

Closing this PR for now.


Error logs with Suricata 7.0.0

With the new version of suricata, errors began to appear
2023/07/21 15:56:42 ERROR: Field no_flow missing for Desc{fqName: "suricata_tcp_no_flow_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field insert_list_fail missing for Desc{fqName: "suricata_tcp_insert_list_fail_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field timeouts missing for Desc{fqName: "suricata_defrag_ipv4_timeouts_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field timeouts missing for Desc{fqName: "suricata_defrag_ipv6_timeouts_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field no_flow missing for Desc{fqName: "suricata_tcp_no_flow_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field insert_list_fail missing for Desc{fqName: "suricata_tcp_insert_list_fail_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field timeouts missing for Desc{fqName: "suricata_defrag_ipv4_timeouts_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field timeouts missing for Desc{fqName: "suricata_defrag_ipv6_timeouts_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field closed_pruned missing for Desc{fqName: "suricata_flow_mgr_closed_pruned_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field new_pruned missing for Desc{fqName: "suricata_flow_mgr_new_pruned_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field est_pruned missing for Desc{fqName: "suricata_flow_mgr_est_pruned_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field bypassed_pruned missing for Desc{fqName: "suricata_flow_mgr_bypassed_pruned_total", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 ERROR: Field flows_timeout_inuse missing for Desc{fqName: "suricata_flow_mgr_flow_timeout_inuse", help: "", constLabels: {}, variableLabels: [thread]}
2023/07/21 15:56:42 WARN: Unhandled thread: FR#01

@spinenkoia - thanks for reporting. Could you try with the 0.2.0 release and see if things work as expected? If you're missing any new metrics as produced by Suricata 7.0.0 but not parsed by suricata_exporter, feel free to open a new ticket.
Thanks!

thank you so much, everything is fine now


Change calendar widget.

Touched on in 10/12 brainstorm.
Sentiment: Definitely needs improvement. Current widget can be confusing by having multiple of the same # days displayed under 1 month.
Idea: Timeline arrow that allows you to put a visual point at market close date, and market resolution date.
Idea: add warning pop-up that instructs users to double check the closing/resolution dates of their market. "Are you sure?"
Next steps: Find an appropriate widget for replacement before forwarding to the tech team for front end implementation.

Sometimes it's confusing which month the calendar is showing. There have been some issues with markets being created with the wrong date

Formatting date locally in https://github.com/zeitgeistpm/ui/pull/488 hopefully this clears up some confusion. We can reevaluate again later

https://www.figma.com/file/A0OEqjIWy6jL4Rk4kT8ddr/UX%2FUI_Workflow?node-id=3803%3A22647&t=EUPI9pS24zEH5XTN-1


Rectangle with a StrokeThickness and Stroke=null/Brushes.Transparent will override Fill

The title is confusing, so let me explain:
I have a template like this:
<Panel>
  <Image Source="{Binding Bitmap}" />
  <Rectangle Fill="{Binding OpacityMask}" Stroke="{Binding BorderBrush}" StrokeThickness="10" />
</Panel>

When I set the BorderBrush binding to null, I want the Fill to take priority and fill the entire rectangle. However, that doesn't happen:

There is very clearly a gap where the BorderBrush would be rendered. However, there is no brush applied to the stroke, so I would expect the Fill to fill the entire rectangle. The same thing happens when BorderBrush is Brushes.Transparent, but I have it as null instead.
For now, I will also have to bind to StrokeThickness and set it to 0 in order to have the full fill, which I didn't want to do. I think it should fill entirely if the stroke would be null, but have this current behavior for Stoke=Brushes.Transparent. There could be a reason you would want to have this border, but I also think for simplicity's sake that Stroke=null should remove this border.

The actual rect is deflated by the stroke thickness. I wonder how other frameworks handle this.

Here's how WPF handles this. From top to bottom:
<Rectangle Fill="Green" Stroke="Red" StrokeThickness="20" />
<Rectangle Fill="Green" Stroke="Transparent" StrokeThickness="20" />
<Rectangle Fill="Green" Stroke="{x:Null}" StrokeThickness="20" />

Will have a look at this shortly

This is still the same with v11.


document job overrides

https://github.com/packit-service/packit-service/pull/676

I'll regen later


[BotW] shadow blur removal

@JoelAlone
Credit @alexkiri found this shader (and also looked into it).

Mainly for 4k and up where the 2x2 blur doesn't look like blur anymore
from alucard0712_rus:

from Joel:

The side-effect is that the shadow now look more aliased without blur.

nice~


UI issues about new agent information in the Node Info page

There are one server and two agents in my SSM cluster. When I started a new agent independently on the worker host, the agent started successfully. But the information displayed about the new agent ID and Status is wrong in the Node Info page. After testing, this new agent can be used normally. So I guess it's a UI issue.

I summarized some cases in #2138, please supplement more cases, if any.

These cases look good. I think one case might be added. If users enable the Server HA and deploy servers on some new nodes, these new servers should be correctly described on the node info page.

#2138 will cover the case you mentioned. Thanks!

Fixed by #2138.


Errors when importing in a clean project

Hi everyone, I am using Unity 2020.326f1 LTS and when I import the project through the git URL I get these errors:
Library\PackageCache\com.github.superunitybuild.buildtool@e180f89f3c\Editor\Build\Platform\BuildAndroid.cs(98,26): error CS1061: 'IEnumerable<string>' does not contain a definition for 'SkipLast' and no accessible extension method 'SkipLast' accepting a first argument of type 'IEnumerable<string>' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.github.superunitybuild.buildtool@e180f89f3c\Editor\Build\Platform\BuildVariant.cs(27,45): error CS1503: Argument 1: cannot convert from 'char' to 'string'
Library\PackageCache\com.github.superunitybuild.buildtool@e180f89f3c\Editor\Build\Platform\BuildVariant.cs(67,41): error CS1503: Argument 1: cannot convert from 'char' to 'string'
Any help is greatly appreciated. I have imported BuildActions as well.

Hi, I believe this is a duplicate of #111 so check out that trail for more info. The fix has been merged (into the dev branch I think?) but was not released under a new tag yet.


Project relocation ?

Hello Derek / Jon,
First of all, thanks for your contribution for the spatial library, it's very useful !
We will be using the spatial library heavily in the next two years and we need to have a stable origin on where to work from.
I think it would be a good idea for the project to be moved to a neutral location where a few moderators could perform the merge and restart the release cycle. There is 10 PR+ waiting, and about 5 active forks which are all going in different directions...
I would suggest to @djlambert  and @ddproxy  merge their branches into a common 'neutral' project. Both major contributors would be administrator of the project.
I've created the organisation https://github.com/FriendsOfDoctrine/doctrine2-spatial  to allow the project to continue growing and have active maintainers.
Let me know what you think,
Samuel

I sincerely apologize for the silence and stagnation of library. The last
1.5+ years have been an epic whirlwind of activity in both my personal and
professional life, and I've been coming up short on time to devote to it.
I'm humbled by the fact that people find the library useful and desire for
its continued development.
I originally created the library for use in another stalled project, of
which it's an integral component. For this reason I've had some reluctance
ceding sole control of my repository, as changes could potentially cause
unintended issues there. I also understand the implications of concurrent
independent development on multiple separate forks, and agree a single and
actively maintained location would be best for the future of the library.
The first number of PR's submitted were without tests, using non PSR-2 code
formatting, and not practicing the Object Calisthenics concepts I was
working to follow. This caused an undesirable amount of work when merging.
Contribution guidelines where something I wanted to define to document
expectations for PR's and before considering adding additional
administrators.
The last changes I had been working on (sandbox branch) was to separate
some of the discreet functionality into separate libraries to allow using
spatial objects from foreign libraries. In that effort I moved the string
parser into creof/geo-parser and PHP objects into creof/geo. The WKID/WKT
code was next on the list. There's a number of additional innovations I've
thought through since my last commit, including support for 3D coordinates
and cleaning up SRID handling.
I've finally reached a place where I'll be able to resume work on these
projects in the immediate future. This may have little weight based on my
activity and responsiveness to this point, which is completely
understandable. Over the weekend I'll be working through the existing PR's,
exploring changes made in the different forks, and thinking through how and
where I want to focus my efforts and the contributions of others to the
djlambert repo.
Thanks,
Derek
On Thu, Oct 15, 2015 at 3:09 PM, sadortun<EMAIL_ADDRESS>wrote:

Hello Derek / Jon,
First of all, thanks for your contribution for the spatial library, it's
very useful !
I think it would be a good idea for the project to be moved to a neutral
location where a few moderators could perform the merge and restart the
release cycle.
We will be using the spatial library heavily in the next two years and we
need to have a stable origin on where to work from.
I would suggest to @djlambert https://github.com/djlambert and @ddproxy
https://github.com/ddproxy merge their branches into a common 'neutral'
project. Both major contributors would be administrator of the project.
I've created the organisation
https://github.com/FriendsOfDoctrine/doctrine2-spatial to allow the
project to continue growing and have active maintainers.
Let me know what you think,
Samuel
—
Reply to this email directly or view it on GitHub
https://github.com/djlambert/doctrine2-spatial/issues/56.

@djlambert could you contact me directly<EMAIL_ADDRESS>or another route - I've come to the same conclusions and had begun work in that direction as well. I'd like to work more closely with you on the things so we don't butt heads. Also, testing. I'm embarrassed I hadn't fully tested my branch with merges - instead I needed those merges immediately for my critical application and cut corners. I have more time to facilitate testing and documentation and I'd like to combine our efforts in a good way.

On either front I would be happy to begin maintaining an fod package, by the way.

Hi Derek,
Your situation is totally understandable ! It's still great that you manage to get the project that far !  I've already cherry-picked a few of your commits that were improving the docs, for the remaining of the code change i'll have a look later.
I am happy to see that we will be able to continue your work and work toghether in the same direction !

I've converted the user account creof into an organization and transferred the repo to it. You both should have received invites.

Do you have a chat client we could use to be more, real-time? Would be nice.
-----Original Message-----
From: "Derek J. Lambert"<EMAIL_ADDRESS>Sent: 10/19/2015 12:05 PM
To: "creof/doctrine2-spatial"<EMAIL_ADDRESS>Cc: "Jon West"<EMAIL_ADDRESS>Subject: Re: [doctrine2-spatial] Project relocation ? (#56)
I've converted the user account creof into an organization and transferred the repo to it. You both should have received invites.
—
Reply to this email directly or view it on GitHub.

I have accounts on most all of them, does any one work better for you? I'm
available any time after 5P Central today.
On Mon, Oct 19, 2015 at 12:10 PM, Jon West<EMAIL_ADDRESS>wrote:

Do you have a chat client we could use to be more, real-time? Would be
nice.
-----Original Message-----
From: "Derek J. Lambert"<EMAIL_ADDRESS>Sent: 10/19/2015 12:05 PM
To: "creof/doctrine2-spatial"<EMAIL_ADDRESS>Cc: "Jon West"<EMAIL_ADDRESS>Subject: Re: [doctrine2-spatial] Project relocation ? (#56)
I've converted the user account creof into an organization and transferred
the repo to it. You both should have received invites.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/creof/doctrine2-spatial/issues/56#issuecomment-149284426
.

Gitter, Skype, hangouts, text. Send via email if you'd rather. It makes sense to 'keep close' so we remain organized.
-----Original Message-----
From: "Derek J. Lambert"<EMAIL_ADDRESS>Sent: 10/19/2015 12:13 PM
To: "creof/doctrine2-spatial"<EMAIL_ADDRESS>Cc: "Jon West"<EMAIL_ADDRESS>Subject: Re: [doctrine2-spatial] Project relocation ? (#56)
I have accounts on most all of them, does any one work better for you? I'm
available any time after 5P Central today.
On Mon, Oct 19, 2015 at 12:10 PM, Jon West<EMAIL_ADDRESS>wrote:

Do you have a chat client we could use to be more, real-time? Would be
nice.
-----Original Message-----
From: "Derek J. Lambert"<EMAIL_ADDRESS>Sent: 10/19/2015 12:05 PM
To: "creof/doctrine2-spatial"<EMAIL_ADDRESS>Cc: "Jon West"<EMAIL_ADDRESS>Subject: Re: [doctrine2-spatial] Project relocation ? (#56)
I've converted the user account creof into an organization and transferred
the repo to it. You both should have received invites.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/creof/doctrine2-spatial/issues/56#issuecomment-149284426
.

—
Reply to this email directly or view it on GitHub.

@djlambert I'd suggest renaming the team to geospatial something and adding geo-parse and geo repositories. We can then migrate doctrine2-spatial to use geo-parse and geo.

Done.

Great !

@sadortun please email me<EMAIL_ADDRESS>for communication purposes.


Excerpt arguments and documentation

@acobster had done most of the hard work here. I was going to tick off the last documentation needs in #1817 so we can merge this in!

I think this is ready! I ticked off the remainder of the items in #1817 with the 2.0 Upgrade guide, cleaned-up docblocks and an @example for Timber\Post

good find, thanks for the clean-up!


Improve CI

This PR aims at accelerating our CI pipelines and generally improve some parts of the unit tests. It was necessary changes, to handle the large size memory tests. Here is a hopefully exhaustive list of what's in this PR:

Implemented the same multi-GPU tests (CTest resource awareness) we have in rocPRIM.

The same was extended to upstream tests in the testing folder. This was done by:

adding a single header with the env var query
including said header in testframework.cpp and invoking the query/set in main.

Added labels to tests, so one can easily run hip and upstream tests as needed.

Rework pipeline order to look more like an actual release pipeline
Configurable random input count. Introduced new CMake option()s to control seed counts.
Extracted seed generation to a funciton of it's own get_seeds() much like get_sizes()
Updated tests to use that one-liner function instead of previous logic.
Extracted testframework.cpp into an OBJECT library so it isn't compiled 100 times for every upstream test. (It's like if we'd compile Gtest 100 times.)
A single update of an entire internal header file from upstream which was an easy fix for one upstream compilation error.

What this MR doesn't include:

Fix for all upstream tests which don't compile (and likely haven't been compiling for a long time).

Most of the tests fail to compile due to a single issue around template <typename T> thrust::hip_rocprim::reference<T>::::operator=(T const&). Something's fked up with this function, as the symbols related to it are missing left and right. This issue sometimes manifests as a compilation error, sometimes as a linker error. I marked all the compiler errors encountered that forced me to disable certain tests. Here is an exhaustive list:

lld: error: undefined hidden symbol: thrust::hip_rocprim::reference<int>::operator=(int const&)
undefined reference to thrust::hip_rocprim::reference::operator=(int const&)'`
error: call to implicitly-deleted default constructor of 'union (anonymous union at ../../thrust/../thrust/system/hip/detail/adjacent_difference.h:168:31)'
# fatal error: 'cuda_runtime_api.h' file not found
error: no matching function for call to object of type 'thrust::greater<int>'
error: cannot use 'throw' in __host__ __device__ function
error: no member named 'cudaMemcpyToSymbol' in the global namespace; did you mean 'hipMemcpyToSymbol'?
error: no viable conversion from 'const thrust::device_reference<custom_numeric>' to 'bool'
error: unterminated /* comment

Fixing all of these and reinstantiating the tests should be the subject of a follow-up PR.

@doctorcolinsmith you had a pending review about MACRO values that I think you forgot to finish.


Config::NewFromString throws the exception when path does not contain trailing slash

Below line throws the exception.
config.NewFromString("some config", "/some/directory/containing/opencc/data")

Just adding "/" to the path like below looks fine.
config.NewFromString("some config", "/some/directory/containing/opencc/data/")

I am not sure whether it is intended, but, I prepared naive patch for it.
https://github.com/bunhere/OpenCC/commit/7491bf9c4e5c948db27a6f9b7fa72d761a73ffcd

Thanks. Could you please submit a pull request?


Methods to create distribution shift

[ ] Lit Review
[ ] Simulate them

Following https://arxiv.org/pdf/1903.05202.pdf
Types of shift include:
i) Simple Covariate shift, only the distributions of coavriates p_t(x) change and everything else is the same
ii) prior probability shif p_t(x) changes and everything else stays the same
iii) Sample selection bias: The distribution differ as a result of an unknown sample rejection process
iv) Imbalanced data is a form of deliberate dataset shift fo computational or modeling convenience.
v) Domain Shift: changes in measurement
vi) Source component drift: changes in strength of contributing components
vii) Anomaly detection, transient shifts, normally in p_t(x)


Setup a proxy for AppInsights requests

Hey guys!
Is there a possibility of setting a proxy for the requests that are sent to AppInsights?
Thanks in advance!

Hi! 👋 Thanks for getting in touch, and sorry we were unable to respond to your request. We're in the process of bringing new maintainers onto this project, and need to close stale tickets so that we can identify which items are still important to users of the sink.
If this issue still affects you:

Please consider whether it's a question that can be asked on Stack Overflow; if so, the serilog tag will get your question in front of many more people who can help you
Please consider whether you can research or investigate the issue and propose a solution for other users to benefit from
Feel free to comment here, letting us know it's still a problem

Thanks again!


Rayffi parser is done but not perfect

i modified the c parser in the first version of the parser. I have fixed this issue already so now it works on the original version aswell.
that brings me to second point, now i can use the original raylib parser directly so no need to store the c parser code in the parsing directory.
The function mapArgTypes has a lot of manually added values and keywords that are specially treated. I want to limit how many special treatment cases there are since if i keep it at the current state, new types added to raylib could break the parser.
I also need to make aliaces work properly, quaternions aren't even defined.

I have removed a lot of special treatment, but aliases still don't work


Fix recipe path

Description of the change
Fix default recipe path.
Applicable issues

fixes #

Additional information

Checklist

[ ] All tests were successful.
[ ] Unit tests added.
[ ] Documentation updated.

Test failures seem unrelated and we've seen them in other PRs as well.  Not sure why though since that file hasn't been touched in a couple months.