Reimplement workflow usage view with page's IndexView

This PR reimplements the workflow usage view (i.e. listing for which pages a workflow applies to) to reuse the page IndexView code, to be in line with universal listings. The view can now be searched and filtered using the same code as the page listings.
This is accessible from the workflows listing view by clicking the "x pages" under the "Used by" column:

or the link in the workflows edit view:

Before

After

@gasman The search implementation is in generic.IndexView and not BaseListingView, so we need to either use IndexView, or move searching to BaseListingView, or not add searching to the view (which is fine, the current one doesn't support it anyway).
Since this isn't a CRUD index view, would we rather not have the "more" action buttons then?

@laymonage As I recall, the difficulty with moving search into BaseListingView is that it requires setting up the separate 'results' view.
If you can find a way of doing it that: 1) doesn't make it more cumbersome to implement simple listings that don't require search, 2) doesn't introduce any new constraints on how BaseListingView can be used (for example, I don't think there's currently any requirement for the underlying iterable to be a queryset...?) and 3) doesn't introduce any new "gotchas" (for example: if a developer builds a plain listing view for a model without a corresponding results view, and then adds the Indexed mixin to the model, it shouldn't suddenly cause a non-working search box to appear) then go for it; otherwise, it would be better for the search mechanism to be a subclass or mixin (SearchableListingView, say). If that's too much of a rabbit-hole for this PR, let's leave search out.
What's the issue with having the "more" action buttons on a non-index view? Is it the use of hooks?

It looks like refactoring the search, workflow usage, and page type usage view are simple enough to be included in the same PR. Closing this for now, will open a new one (also on top of #12236) with those changes tomorrow.


Add an e2e test for custom health checks

Now that we have the e2e test setup (https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress/issues/48#issuecomment-352619909), we need to add more test cases.
One of them is to add a test case for custom health check support that was added in https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress/pull/72

@glindste feel free to take this up if interested.
Will help us ensure that we do not regress :)

Sure, I can pick it up :)

Thanks @glindste
Feel free to ping me if you have any questions!


Vocal separation

I have a problem with this while trying to separate vocals
Traceback (most recent call last):
File "/home/kuba/Downloads/Retrieval-based-Voice-Conversion-WebUI-main/infer-web.py", line 337, in uvr
pre_fun = func(
File "/home/kuba/Downloads/Retrieval-based-Voice-Conversion-WebUI-main/infer_uvr5.py", line 36, in init
cpk = torch.load(model_path, map_location="cpu")
File "/home/kuba/.local/lib/python3.10/site-packages/torch/serialization.py", line 815, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/kuba/.local/lib/python3.10/site-packages/torch/serialization.py", line 1033, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

ok, i didn't download files from huggingface correctly


Wallet Display in header not center aligned in Mobile

Looks good in the reskin, though, so going to close this issue:


item icons

adds item icons to the toc and section headers to match the patchouli entry/category icons.
also adds flaymind recipe cards. seems to work for 0.11 villagers + other entities, i imagine it should work with 0.10 villagers but I haven't had the chance to test it. It does not work for the EntityTagIngredient, but I don't think that's used by anything in hex yet.

ok, went through and did some of the changes.
didn't do allay resize or the move to python stuff.
i agree a giant hashtag would be funny lol.

thanks!

HexMod: https://github.com/object-Object/HexMod/compare/f229e4f8ae178f54ccae9a046551d8d2e0643e45...e332cfdb468c261c0277560bfccd1647c3490701
hexdoc: https://github.com/object-Object/hexdoc/commit/7202a5c1030ae9a3087acfc4b0cbf40eb7593653
(they did surgery on a git repo)


#181/bug/fix

Many thanks for submitting your Pull Request :heart:!
Fixes https://github.com/serverlessworkflow/sdk-go/issues/195

@ilewin do you mind verifying the CI check? Also, can you please sign your commit?

Addressed in #215


EXTI interrupts

Is there any way to setup EXTI interrupts at the moment ?
I need to have an interrupt handler when a rising front occurs on a GPIO pin, how could I do that ?

There is, but I don't remember the exact way to do it. In one of the crates, probably cortex-m, there is a macro to define an interrupt, it takes a function along with this enum https://docs.rs/stm32f1/0.6.0/stm32f1/stm32f103/enum.Interrupt.html that specifies which interrupt to listen for.
Using interrupts without cortex-m-rtfm is a bit annoying because passing ownership of peripherals into interrupt handlers is impossible, but it is useable with some unsafe code

Thank you !
I don't see anything to set up the gpio side of things. Is it not yet implemented ? I might take a look.

I've used EXTI on STM32 before here: https://github.com/stm32-rs/stm32f0xx-hal/blob/master/examples/led_hal_button_irq.rs
Just no one has made it into something HAL-worthy.
NB: It is possible to pass ownership of peripherals safely but yeah, it's annoying.

I will try to come up with a proposition, otherwise I will just use your code as inspiration, thanks !

I reopen this issue because I think that's an important feature request.

I was thinking about the following API to attach handlers to certain events.
Pros :

easy to use
use the type system to enforce safe concurrency

Cons :

I have no idea how to setup the interrupt handler in a transparent way for the crate user

@gbip you can't do that at zero cost. You'll have to stock the closure somewhere, and you don't know it's size ahead of time.
Better to first provide an interface close to the hardware but safe as a first version.

We do have a (non-exhaustive) implementation to setup EXTI on pins in stm32f4xx-hal: https://github.com/stm32-rs/stm32f4xx-hal/blob/master/src/gpio.rs

I believe this will be the ultimate solution for interrupts and safety is already under development by @japaric: https://github.com/japaric/cortex-m-rtfm
However it would be nice to see an example made for STM32F103 EXTI...

You'll have to do the same thing as in @therealprof example, just that the interrupt handler will be managed by RTFM, with shared resources handled safely.

@tib888 RTFM is just a different way of handling resources by creatively using interrupt priorities and statically checking that the resources are properly used within the boundaries of the defined rules. It neither addresses the setup of peripherals nor is it applicable in every scenario.

I've ported the stm32f4xx-hal way of doing this over to stmf1xx-hal. Not tested yet, however: https://github.com/Windfisch/stm32f1xx-hal/tree/gpio_exti
I'm open to comments and suggestions :)

I've fixed and tested my patch, it seems to work for "normal" (i.e., non-erased) pins.
However, I feel like I should add something to macro_rules! impl_pxx's implementation; unfortunately, I do not understand what this macro is used for, and thus what to add there. @TheZoq2 or @therealprof, can you help me there :)? (I'll file a PR once ready)

Sure!
The point of impl_pxx is to implement a generic pin which is independent of the GPIO port. This is implemented using an enum
enum Pxx {
    PAx(PAx),
    PBx(PBx),
    ...
}

Where PAx, PBx and so on are what used to be the semi erased pins. The impl_pxx macro simply defers the execution of all the gpio functions to the corresponding (private) PXx structs.
If you want to add more functions to it, you basically want to add an impl block like this
fn function_to_implement(&self) -> Result<bool, Void> {
    match self {
        $(Pxx::$pin(pin) => pin.function_to_implement()),*
    }
}

Hope that answers the question, for more dicussion about that macro, see #114 and #115

thanks @TheZoq2 for the explanation; I've added the ExtiPin trait to the fully erased pins in the branch linked above.
Could you kindly have a look over my PR #125 :)?

@TheZoq2 or anyone else can likely close this with #125 being merged.

Ah yes, thanks for the reminder!


Add --test so that test dependencies are built

I've been poking away at trying to solve #65 . My hypothesis is that all I need to do is add --test --no-run-tests (and maybe --bench --no-run-benchmarks for completeness) to stackAction and we're done?

(I'm really not sure at the wisdom of this, but I wanted to have a go)

@afcowie I don't think you are solving any problem with hie-bios. The issue is that ghcide doesn't pass a filepath when it calls the cradle.
If you run stack repl /path/to/test/file.hs then it will work correctly and build test dependencies I think.


Fix visual glitches in the DOM renderer

When panning and zooming a lot with the DOM renderer, tiles sometimes disappear and reappear. On Safari on OSX, tiles may also get stretched or displaced. The issues are best seen with http://ol3js.org/en/master/examples/simple.html?renderer=dom, or when switching the renderer to 'dom' in the image-vector-layer.html example.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Closing in favour of #5744, which has a better description.


Remove PDFs

This PR removes the duplicated PDFs from the MEI3 and MEI4 collections, leaving those in the legacy folder.
closes #69

Also note that when you delete the PDFs from MEI3, they are still in the repositories history (so no reduction in the size of the repository other than preventing additional copies of the PDFs in later version directories of the complete examples).

Also note that when you delete the PDFs from MEI3, they are still in the repositories history (so no reduction in the size of the repository other than preventing additional copies of the PDFs in later version directories of the complete examples).

Git recognizes if the files are identical and will only store them ones in the repo, if I'm not totally mistaken.  They will be copied to the working tree multiple times, though.  I'd say there is no harm in leaving the duplicates in there. On the contrary, it helps greatly when working with the samples.

I'm +1 for having the files that stood model for the encoding nearby/available. Probably moving them to a separate directory as proposed by @craigsapp and consequently deduplicating them would be a sound solution. Ideally this should be accompanied with referencing them from the encoding. MAybe just a simple <sourceDesc>/<source> pointing to the file, either relatively or to the github/blob?

In most of the files a URL to the original source is present. IMSLP links need to be updated, but we could then delete those PDFs here completely. Anyway, they would stay in the git history.

Why are they in a folder called "legacy"? Can't they just be in a folder called "PDF"?

It seems virtually impossible to make people happy with this.

I think it was fine — they weren’t being deleted, and they were being consolidated. I was only asking because legacy implies that they are no longer used, but as many people pointed out they liked having the original next to the encoding. So a folder called “pdf” would be clear and also mark that they were still useful and correspond to the encodings.

It seems virtually impossible to make people happy with this.

Community starts with a C like compromise ;)
Sorry for being late, but I am still trying to understand the initial intention of the removal. Yes, some of the PDFs are duplicated, but as @th-we pointed out, there can be some reasons to have the PDF documents directly with the encodings. On the other hand, moving all the PDFs to a separate folder (and so deduplicating them) does not provide any improvement in repo size. Quite the opposite: Although Git, as mentioned above, stores identical files only once in the git tree, it will move the internal references of the git tree by creating a new snapshot of the tree in the .git/objects folder (plus another entry for the commit itself). This is quite nicely explained here: https://how-to.dev/how-git-stores-data
As you can see in the screenshots from a clean test repo below, the duplicated identical test.txt file is referenced by the same hash cd/f4... in the git tree from folder 1 and folder 2. Moving it to PDF (or another) folder, will create a new git object 56/9f... that now references cd/f4.... At the same time, the previous tree structure c4/fa... representing the test file in folder1 and folder2 is preserved.
Saying this, I think the usability of the repo structure is more important than Git's whatever internal structuring and organization, so I'm not at all against moving or changing it in principle. I'm just trying to see the added value.

In case you are not aware: you should use git mv rather than mv when moving files to different locations in a repository (on the command-line).  This will prevent a full copy of the file (which is relative large for PDF files) from being stored in the history of the repository (I didn't check how they were moved so this may have been done, but this is a useful thing to know).

Also, I fail to see the point of moving PDFs of the source editions into any thing such as a legacy folder.
What is the purpose of the sample encodings of music?   The example encodings are based on the graphical music in these files, so disassociating them, in particular by placing them into any such legacy folder is highly counterproductive.   It is also somewhat counterproductive to be moving older encodings into a legacy folder since their URLs then change.
I would propose this structure:
full-music-encoding-examples folder:

pdf
mei
legacy

The pdf directory contains the PDFs for the sample encodings.
The mei directory contains the MEI files for the most recent version of MEI
The legacy directory contains the MEI files for previous versions of MEI, such as:
legacy folder:

mei-3
mei-4
mei-5

If people want to see the source edition for a legacy encoding, then they would look in the pdf directory of the parent directory.
When a new version of MEI comes out and there is a translation script to update MEI files from the previous version, then the files in mei would be moved to legacy/mei-* (where * is the last version of mei).
It is not sufficient to say "look at the rendering of the file in verovio" because many of the files will not render in verovio (unless that has been fixed in the files).  Also the original encodings had lots of errors (in particular related to tuplets), and the original encodings were not checked by output to any resulting notation in any renderer (such as verovio which was not available when the encodings were created).

you should use git mv rather than mv when moving files to different locations in a repository (on the command-line). This will prevent a full copy of the file (which is relative large for PDF files) from being stored in the history of the repository

git mv is not required. mv works just fine. (Even cp will not lead to duplicates in the repo database, just in the working tree.)

Git has a rename command git mv, but that is just for convenience. The effect is indistinguishable from removing the file and adding another with different name and the same content.

https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#Why_does_Git_not_.22track.22_renames.3F

git mv is not required. mv works just fine. (Even cp will not lead to duplicates in the repo database, just in the working tree.)

OK.  I checked with a test repo and it is behaving as you describe (only checking mv).  Presumably git is storing content based on checksums.   And with my test, it is also recognizing the system mv as a rename when doing a commit.

 Click to view test
$ mkdir repo

$ cd repo/

$ du -sh .
  0B	.

$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /private/tmp/repo/.git/

$ du -sh .
 76K	.

$ mv ../test.pdf .

$ du -sh .
124K	.

$ git add test.pdf

$ du -sh .
164K	.

$ git commit -am "initial commit"
[master (root-commit) c3d092b] initial commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 test.pdf

$ du -sh .
188K	.

$ mv test.pdf test2.pdf

$ git status
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    test.pdf

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	test2.pdf

no changes added to commit (use "git add" and/or "git commit -a")

$ git add test2.pdf

$ du -sh .
188K	.

$ git status
On branch master
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	new file:   test2.pdf

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    test.pdf

$ git commit -am "second commit"
[master 1479930] second commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename test.pdf => test2.pdf (100%)

$ du -sh .
196K	.

$ git status
On branch master
nothing to commit, working tree clean

One problem with mv versus git mv is that git status reports it as a delete and a new file:
$ git status
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    test.pdf

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	test2.pdf

And you have to run git add test2.pdf before committing.    to unstage)
        renamed:    test2.pdf -> test3.pdf

In this case git manages the move rather than the operating system, so it is aware of what is happening rather than deducing it later.

I'm sorry for starting to derail this thread with the mv discussion – let's stick to the topic!

@craigsapp proposal looks good to me


ports property in ddcloud_port_list resources cause the terraform to crash

When applying the following resource terraform crashes
resource "ddcloud_port_list" "test_port_list1" {
name = "test_port_list1"
description = "test_port_list1"
networkdomain = "${ddcloud_networkdomain.network_domain.id}"
ports = [80]
}
Error:
Error applying plan:
1 error(s) occurred:
interface conversion: interface is string, not int

ddcloud_port_list.test_port_list1: unexpected EOF

When I use the port option instead of ports, it works.

It's a list of strings not a list of integers (try "80" instead of 80), so technically this behaviour is by design. This is because all other port values (e.g. in firewall rules) in our resources are specified as strings (mainly because in some places, any is a valid port).
Having said that, I understand that it could be confusing so I'm open to switching them to purely integers. Is that what you'd prefer? Either way, I'll update the documentation so that it's more explicit in describing the property data type.
CC: @mingsheng36 @wninobla

Actually, looking at the documentation it already shows examples where they ports are integers. I'm just going to switch it over to being integers. This will be fixed in v1.2 but if you need to keep working for now, just wrap each port in quotes (e.g. "80" instead of 80) and you'll be good to go. Later when you upgrade to v1.2 you can simply remove the quotes and everything will keep working.

I don't think we can use a port list here unless we explicitly keep each group of ports explicit.  In the case of doing noncontinuous ports like in the simple example, you'd have to parse it out that way.  May be easy to change on your end but I'm not the one coding.  😀. I am good so long as I know what it expects integer vs. a string.
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman<EMAIL_ADDRESS>Sent: Monday, December 5, 2016 7:38 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Mention
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] ports property in ddcloud_port_list resources cause the terraform to crash (#71)
It's a list of strings not a list of integers (try "80" instead of 80), so technically this behaviour is by design. This is because all other port values (e.g. in firewall rules) in our resources are specified as strings (mainly because in some places, any is a valid port).
Having said that, I understand that it could be confusing so I'm open to switching them to purely integers. Is that what you'd prefer? Either way, I'll update the documentation so that it's more explicit in describing the property data type.
CC: @mingsheng36https://github.com/mingsheng36 @wninoblahttps://github.com/wninobla
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/71#issuecomment-265052062, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQe9v4U1lTdZKFPGrC2pgK3Ij4mDhywqks5rFNi1gaJpZM4LE-pu.
itevomcid

Ok you answered my question on the same note... Lol
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman<EMAIL_ADDRESS>Sent: Monday, December 5, 2016 7:42 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Mention
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] ports property in ddcloud_port_list resources cause the terraform to crash (#71)
Actually, looking at the documentation it already shows examples where they ports are integers. I'm just going to switch it over to being integers. This will be fixed in v1.2 but if you need to keep working for now, just wrap each port in quotes (e.g. "80" instead of 80) and you'll be good to go. Later when you upgrade to v1.2 you can simply remove the quotes and everything will keep working.
�
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/71#issuecomment-265052518, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQe9vztgJ_yoMNmGh3uYMOPbD3-CD2m0ks5rFNmWgaJpZM4LE-pu.
itevomcid

Even the string values doesn't work.
It looks like the problem is in the following function
func (helper resourcePropertyHelper) GetIntSetItems(key string) (items []int) {
value, ok := helper.data.GetOk(key)
if !ok || value == nil {
return
}
rawItems := value.(*schema.Set).List()
items = make([]int, len(rawItems))
for index, item := range rawItems {
	items[index] = item.(int)
}

return

}
conversion item.(int) not working

There are actually 2 ways to configure ports in a ddcloud_port_list:

Simple (just a list of ports)
Complex (port ranges, etc)

@kumarappanc Ugh. Sorry, I'll have to fix that.
Give me 5 mins and I'll see if I can build a hotfixed version of 1.1.x.

Ok @kumarappanc - can you give v1.1.10 a try?

BTW, I've updated the acceptance tests for ddcloud_port_list - they work correctly now.

Verified in alpha4.


Remove explicit dirmngr reference

This is pulled in automatically via gnupg, and moved from Recommends to Depends in https://salsa.debian.org/debian/gnupg2/-/commit/99474ad900a8bcdd0e7b68f986fec0013fc01470, which has been part of src:gnupg2 since 2.1.21-4 (and every supported version of both Debian and Ubuntu have 2.2.x 😇).

Codecov Report

Merging #75 (50f732f) into master (ab914df) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   73.10%   73.10%
=======================================
  Files           7        7
  Lines         714      714
=======================================
  Hits          522      522
  Misses        162      162
  Partials       30       30


Unhandled exception: Edit Entity Pin Link

I'm not sure how to make certain I'm correctly describing this.
I have a triggerbox on a door proxy.   I clicked the edit link option on the triggerbox which "connects In from 'entered' on ".
Opening the edit link works, but if I hit save  I get a Edit Entity Pin Link unhandled exception.
Additionally when I continue and go back to the triggerbox the link to the proxy has vanished.
It's not deleted, but it requires reloading the file to make it visible again.
After an unhandled exception I would most likely reload the file anyway.
Here's the error details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CathodeEditorGUI.CathodeEditorGUI_AddOrEditLink.save_pin_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CathodeEditorGUI
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///E:/SteamLibrary/steamapps/common/Alien%20Isolation/DATA/MODTOOLS/REMOTE_ASSETS/scripteditor/CathodeEditorGUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CathodeLib
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///E:/SteamLibrary/steamapps/common/Alien%20Isolation/DATA/MODTOOLS/REMOTE_ASSETS/scripteditor/CathodeEditorGUI.exe
----------------------------------------
netstandard
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_<IP_ADDRESS>__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
System.Core
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------
PresentationCore
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_<IP_ADDRESS>__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_<IP_ADDRESS>__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///E:/SteamLibrary/steamapps/common/Alien%20Isolation/DATA/MODTOOLS/REMOTE_ASSETS/scripteditor/CathodeEditorGUI.exe
----------------------------------------
System.Numerics
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Memory
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///E:/SteamLibrary/steamapps/common/Alien%20Isolation/DATA/MODTOOLS/REMOTE_ASSETS/scripteditor/CathodeEditorGUI.exe
----------------------------------------
System.Numerics.Vectors
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///E:/SteamLibrary/steamapps/common/Alien%20Isolation/DATA/MODTOOLS/REMOTE_ASSETS/scripteditor/CathodeEditorGUI.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

This is part of a larger issue with the link editor (including #130).
Unfortunately I'm away this weekend, but I'll try get a fix out early next week :)

This should now be fixed in staging!

Cool.  Hopefully it's fixed for good.

I'll leave these issues open until I merge down to main :)


Entesb 17446 readme adoc

Issue: https://issues.redhat.com/browse/ENTESB-17446
This fix changes documentation format from *.md to *.adoc.
I used pandoc tool for converting the content.
Here is the whole command
find . -name "README.md" | while read i; do pandoc  --markdown-headings=atx --verbose --wrap=preserve --toc --reference-links -t asciidoc "$i" -o "${i%.*}.adoc"; echo "$i"; done

I kept the change in 2 commits - renaming of the files and content change - to keep history of all changed files.
Squashing it into 1 commit shows on github different comparisons which makes it hard to see, that content is unchanged.
(I suggest to look directly into commit with changed content to see correct diffs)
@tdiesler WDYT? The requirements doesn't need all README files from the project to be changed, but it makes sense to keep all of them in the same format. So I changed all of them/

Have you checked with Fintan Bolton (@fbolton our docs lead) - I believe he is consuming these docs?
If the change is fine with him, it is fine with me as well.

@JiriOndrusek Fuse docs team agrees with this change.

@tdiesler Fuse doc team agrees.

Hi @tdiesler would it be possible to approve/merge this PR?

Again, have you checked with @fbolton?

@tdiesler unfortunately fbolton left RH, @briandooley replaces him. So I asked him, see comments above.

@tdiesler Fintan Bolton is not longer working in Red Hat and I have taken over some of his duties. I have run this by the team and they approve of this PR.

Great, then lets do it


[WIP] OPNblock, first dev version

It has some problems and I'd love for critique/assistance getting it up to par. Thanks so much! :)

@alec - Clean Opnsense installlation. Following your instructions https://github.com/al-ec/OPNblock
package installs fine, but no OPNblock menu item appears. Something changed because I did have a menu option a couple of days ago. :)

@marjohn56 try to delete the menu cache under /tmp. If it appears, the problem is solved.

@alec - No luck.  Installed onto my live system, no menu item there either... hang on, found it... It's appearing under Lobby.
Methinks it should not be there. :)

Getting this when I click on the menu item now..
Notice: Undefined variable: generalForm in /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_opnblock_index.volt.php on line 20

@marjohn56 he removed it as I requested today but it seems like he forgot to adjust the view. Give him some time.

@marjohn56 I corrected the view, give it another go!
And it's in Lobby because for some reason, my dev server was kernel panicking when I'd assign it to the "Services" menu. And it's not really a service, but rather an utility. Where do you guys think it belongs?

@al-ec  - will do. As for where it belongs. I would put it firewall. Franco will probably say elsewhere when he returns. :)
@fabianfrz @AdSchellevis  - Where do you think it should go?

Made a lot of changes. In its current state, the plugin cannot save to its .conf file, returning controller OPNsense\Core\Api\IndexController not found, status:400 via javascript on my Chrome browser. It seems totally broken. It would mean the world if somebody could take a look and narrow down the likely culprit. Maybe it's late here, or I've had a long day; but I'm at a total loss.

@al-ec I installed the plugin, when installed I get a
Aug 30 07:28:42 OPNsense configd.py: [a9c7ac15-31fe-4734-9a2b-b8d675055002] Inline action failed with OPNsense/opnblock OPNsense/opnblock/rc.conf 'collections.OrderedDict object' has no attribute 'whitelist' at Traceback (most recent call last):   File "/usr/local/opnsense/service/modules/processhandler.py", line 509, in execute     return ph_inline_actions.execute(self, inline_act_parameters)   File "/usr/local/opnsense/service/modules/ph_inline_actions.py", line 51, in execute     filenames = tmpl.generate(parameters)   File "/usr/local/opnsense/service/modules/template.py", line 332, in generate     raise render_exception Exception: OPNsense/opnblock OPNsense/opnblock/rc.conf 'collections.OrderedDict object' has no attribute 'whitelist'
Also your shell script has wrong permissions, so when you do a fresh install you have to chmod it
root@OPNsense:~/test/plugins/dns/opnblock # chmod 755 /usr/local/opnsense/scripts/OPNsense/opnblock/opnblock.sh
And when I execute the script via CLI I get:
root@OPNsense:~/test/plugins/dns/opnblock # /usr/local/opnsense/scripts/OPNsense/opnblock/opnblock.sh
.: Command not found.
rm: /tmp/hosts.working: No such file or directory
rm: /var/unbound/opnblock.conf: No such file or directory
blacklist: Undefined variable.

When you want to troubleshoot problems always have a look at system.log and configd.log. Helped my a lot when beginning plugin development.

I'm a bit unsure about the naming (only my personal feeling!). OPNblock sounds like a multi monster to solve everything, like pfBlocker with own FW rules, DNSBL, Alias usage for blacklists etc.
Otherwise, with unbound-adblock I as a user would suggest it's only for adblocking. But with your approach you could also add every other list available.

So I renamed everything as "UnboundBL".
Here are the new files. A lot of new changes made as well.
I would love to have anybody re-review this. I think I'm much closer this time around.

@mimugmail I ended up using your bind source in an attempt to figure out an easier way to use ApiMutableServiceControllerBase & set/get. Your source also helped me figure out tokenize. Thanks so much.
I am away from my development machine so I have no idea if my changes fixed the problems & greatly improved UnboundBL; or broke it even worse. :(
Thanks.

@fichtner Thanks, please advise. Since I'm a newbie at OPNsense plugins, I'll take your word and direction. I'm going to continue trying to get the functionality working right in the meantime. :)

Argh!!!! My poor inbox 😎
I have only one thing to say...squash... sorry two things... squash, squash

POST-INSTALL Fails - chmod: /usr/local/opnsense/scripts/OPNsense/UnboundBL/data.sh: No such file or directory
Don't know if it's only my test system, but save does nothing.

@marjohn56 Argh, I thought I fixed that. Evidentally not; I must haven't hit save.
Appreciate your testing. It wouldn't have gone far however; as I can't figure out the API Mutable Controller – it's giving me a lot of trouble.
On the bright side, the suggestion of tokenized CSV fields have really helped the UI. Just needs a little help from someone who knows their way around Settings Controllers. :)
PS - Sorry about your inbox...

Plugins, well this type of plugin are an area I've not spent any time looking at. @mimugmail is yer man on plugins. *volt stuff is still gibberish to me. 😊

@al-ec How is time and motivation? Still interested pushing this thing? If @fichtner agrees we could merge this to a different branch and I'll fix most of it so you can finalize?
As what I have heard from the community ppl want to stick with Unbound and a field to use their own lists, so when you want I can try to help you keep this going ...

@fichtner @fabianfrz can you merge to a new branch? I'd fix some stuff :)

@mimugmail yes that would work but the comments will not be kept because they are assigned to this pull request. Would that mean that you are going to fix everything mentioned here and then add you own stuff?

I dont mind for authoring this PR. Just move to a separate branch and I'll try to make it compatible :)

Hey, @mimugmail. Have you had the time to do any work on this project?

I'm waiting for @fichtner creating a new branch so you can open the PR against this and master.

@mimugmail I can do this as well

@fabianfrz it would be great if you could help out with your time indeed, thanks

https://github.com/opnsense/plugins/tree/opnblock

@al-ec can you close and open against this branch? @fabianfrz will merge and then we can try to move on.

@mimugmail you can create the PR as well.

@mimugmail done

Shit, this was fast .. seems there's some extra work waiting :)

Looking forward to it. I was just thinking about making a small vm for pi-hole. I does have the advantage of pretty graphs for usage though :-)

I am basically checking the opnsense repo/plugin part everyday, any update on this?

Also what are the memory requirements? I added a few lists and then my router locked up, pretty sure it was oom. It wouldn't finish rebooting either, got hung up just after unbound loaded, had to uninstall it.

Maybe it's better to use the scripting logic of bind or dnscrypt ..

any news on this ?

@alectrocute TBH, I'm not sure how to go on here. This is a highly requested feature and will produce lots of feature requests and support issues, which in turn requires lots of your time and activity.

Ping. Any progress in this plugin guys?

Different approach now:
pkg install os-unbound-plus-devel
Still in development ...


net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED

Component
Version

Operating system
Ubuntu 16.04 / Centos7

Node.js
8.x

Chrome/Chromium/...
Chrome-stable v60 (Headless)

chrome-remote-interface
Included with Chrome-har-capturer

Is Chrome running in a container? NO
Some sites trigger this exception, causing the rest of the code to fail.
Note that this error does not trigger on https://google.com. I can not provide the URL that it triggers on as it's that of a customer. Their website does load through standard headed Chrome & firefox without any SSL exceptions.
Tried to intercept the request with Network.setRequestInterceptionEnabled, but the error triggers before it can intercept it.
Stack Trace
Error: net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED
    at Chrome.Network.loadingFailed (/home/mustek/WebstormProjects/chrome-speed/node_modules/chrome-har-capturer/lib/page.js:217:24)
    at emitOne (events.js:120:20)
    at Chrome.emit (events.js:210:7)
    at Chrome.handleMessage (/home/mustek/WebstormProjects/chrome-speed/node_modules/chrome-remote-interface/lib/chrome.js:303:16)
    at WebSocket.<anonymous> (/home/mustek/WebstormProjects/chrome-speed/node_modules/chrome-remote-interface/lib/chrome.js:266:27)
    at emitTwo (events.js:125:13)
    at WebSocket.emit (events.js:213:7)
    at Receiver._receiver.onmessage (/home/mustek/WebstormProjects/chrome-speed/node_modules/ws/lib/WebSocket.js:143:54)
    at Receiver.dataMessage (/home/mustek/WebstormProjects/chrome-speed/node_modules/ws/lib/Receiver.js:385:14)
    at extension.decompress (/home/mustek/WebstormProjects/chrome-speed/node_modules/ws/lib/Receiver.js:354:40)

Request returned by event Network.LoadingFailed
{ requestId: '18520.1',
  timestamp:<PHONE_NUMBER>45,
  type: 'Document',
  errorText: 'net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED',
  canceled: false }

Might be helpful, this is the prehook code I'm currently running, I have removed the request interception as it did not catch it.
preHook: function (url, client) {
                // User Agent
                client.Network.enable();
                client.Network.setUserAgentOverride({userAgent: 'StatusCake_Pagespeed_Indev'});

                client.Network.loadingFailed((data) => {
                    console.log(data);
                });

                client.Security.enable();
                client.Security.setOverrideCertificateErrors({override: true});

                // Security Override
                client.Security.certificateError(({eventId}) => {
                    client.Security.handleCertificateError({eventId, action: 'continue'});
                });
            }

OK I'm able to reproduce it with:
openssl req -x509 -newkey rsa:2048 -nodes -days 3650 -subj '/CN=localhost' -keyout key.pem -out cert.pem

and:
var fs = require('fs');
var https = require('https');

https.createServer({
    key: fs.readFileSync('key.pem'),
    cert: fs.readFileSync('cert.pem'),
    requestCert: true,
    rejectUnauthorized: true
}, (req, res) => {
    res.end("hello world\n");
}).listen(8443);

and:
$ chrome-har-capturer https://localhost:8443
- https://localhost:8443/ ✗
  net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED

Let me look into this...

Yep it looks like that this particular certificate error is not handled by Security.setOverrideCertificateErrors as opposed to a simple net::ERR_INSECURE_RESPONSE which you can trigger, for example, by loading https://<IP_ADDRESS> (example.com).
You should file an issue to the Chromium team here or ping the guys on the Google Group. Feel free to post the link here if you decide to do so, thanks!

I was fearing that response, will report it to them.

As a side note, hooks should return a promise, in particular I suggest to change your preHook to something like this to be sure that the override is set before continuing with the page load:
async function (url, client) {
    // User Agent
    await client.Network.enable();
    await client.Network.setUserAgentOverride({userAgent: 'StatusCake_Pagespeed_Indev'});

    client.Network.loadingFailed((data) => {
        console.log(data);
    });

    await client.Security.enable();
    await client.Security.setOverrideCertificateErrors({override: true});

    // Security Override
    client.Security.certificateError(({eventId}) => {
        client.Security.handleCertificateError({eventId, action: 'continue'});
    });
}

Opened issue over at Chromium, found some similar related ones, but none that describe this issue.
Link is https://bugs.chromium.org/p/chromium/issues/detail?id=754210


Refactor/protocol

Motivation
Larger, and more orderly re-work of #106.
Based upon https://aut-labs.notion.site/Hub-related-Contract-Delegations-2d07856ab352465287631170a96cfa84

Solution

@Jabyl code is separated into the hub-related delegations as designed.  For each hub there is a:

Membership
Participation
TaskManager

Time is still needed to fix the deployment script.

TODO: events


⚠ Bofrost.de has degraded performance

In 7540bc6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Bofrost.de performance has improved in 51c5262 after 6 minutes.


NSLog pollutes the console when we request the ssid using a interval

The debug log should be disabled. We need to poll the wifi ssid to trigger some logic. I did not fpund a way (using this plugin) to get a callback when the ssid changes (or I am missing something).
best regards

Don't check in commented out code. Either remove it or leave it.
As far as I know, the only way to find out if the SSID has changed is to check on an interval basis.

I have found a way to get the SSID on event basis from within iOS - yes I will remove the code.
But I will do another PR on that case anyway,

Don't use iOS myself but from comments in here going to close this PR for now


Interest in working together to make this a working template?

Dear maintainer,
I just found this repository. We are currently finishing an article written in quarto that we want to submit to a frontiers journal. A working template would greatly simplify the submission process.
As far as I see, this repository does not contain a functional template yet?
So far, I have not familiarized myself with the quarto template system.
Would you be interested to be working on this together?
Best greetings,
Sebastian Gerdes, Dresden, Germany

Did you end up making a template @sebastian-gerdes  ?


Adding Quartz Export App and cleaning up test apps

Cleaning up/removing old(no longer supported) versions of the test apps and reorganizing the test folder structure.
This test app cleanup is probably a bit overdue.

The test app cleanup and update to Pro 1.3 + Quartz (currently in beta) is a work in progress so I am going to go ahead and merge this as-is without review - we can test/review these test-apps all at once before the next release.


Add LoadAverage internal device class

It's heavily based on CPUTemperature so could probably do with refactoring, especially if we want to add more file-based internal devices, but it works!
Any comments?

Example for the docs:
from gpiozero import TrafficLights, LoadAverage
from signal import pause

lights = TrafficLights(9, 10, 11)
las = [LoadAverage(minutes=m) for m in (1, 5, 15)]

for led, la in zip(lights, las):
    led.source = la.values

pause()

Perhaps there should be a LoadAverages class which comprises all three values?

Codecov Report

Merging #532 into master will decrease coverage by 0.15%.
The diff coverage is 27.27%.

@@            Coverage Diff            @@
##           master    #532      +/-   ##
=========================================
- Coverage   78.26%   78.1%   -0.16%
=========================================
  Files          31      31
  Lines        7213    7235      +22
=========================================
+ Hits         5645    5651       +6
- Misses       1568    1584      +16

Impacted Files
Coverage Δ

gpiozero/init.py
100% <ø> (ø)
:white_check_mark:

gpiozero/other_devices.py
35.35% <27.27%> (-2.31%)
:x:

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 ed12ac1...9e47e76. Read the comment docs.

Interesting; looks good if the few reviews left already can be dealt with. My one concern at the moment is that the class leaves out a rather interesting bit of info that /proc/loadavg gives you:
If your loadavg is 2 1 1 (i.e. 2 over 1 minute, 1 over 5 minutes, and 1 over 15 minutes) that tells you the load is rising (because the short mean is higher than the longer means). Likewise, if loadavg is 1 2 2 that tells you load is falling (and in fact is falling within the last 5 minutes). This rising/falling distinction is lost by the class concentrating on a single timing interval. That said, I've no good suggestions how it should be incorporated other than turning it into a class that yields a composite of the three values as a tuple - but that makes it non-trivial to interface to a LED (which is probably a primary use-case). Perhaps something to consider in another class?

Nice idea. I like the concept of monitoring load rising or falling.
No idea what they'd be called but two classes for this would be good.


Just want to say hi!

Hello author,
It's nice to see some one start to working on Paypal payment problem. Although we don't have much function for now but it's like tiny light in middle of darkness.
Thank you.

Hi pqkluan,
I'm so happy to hear that from you.
Thanks a lot!


call gomanifest to get manifest generated

Codecov Report

Merging #20 (5947295) into main (1bd481a) will increase coverage by 2.49%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   38.09%   40.59%   +2.49%
==========================================
  Files           8        9       +1
  Lines         189      202      +13
==========================================
+ Hits           72       82      +10
- Misses        108      110       +2
- Partials        9       10       +1

Impacted Files
Coverage Δ

analyses/golang/matcher.go
76.92% <76.92%> (ø)

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 1bd481a...5947295. Read the comment docs.

Codecov Report

Merging #20 (5947295) into main (1bd481a) will increase coverage by 2.49%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   38.09%   40.59%   +2.49%
==========================================
  Files           8        9       +1
  Lines         189      202      +13
==========================================
+ Hits           72       82      +10
- Misses        108      110       +2
- Partials        9       10       +1

Impacted Files
Coverage Δ

analyses/golang/matcher.go
76.92% <76.92%> (ø)

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 1bd481a...5947295. Read the comment docs.


Feature/twitter bot/create class

Naming: feature/descriptive-name
Reviewers: minimum 2 (Chris and/or 2 from Web or DS respectively and not person who submitted PR)
Description:
What is the motivation for changes?
What specific changes were made?
Submitter Checklist:

[x] Small scope (1-2 components)
[x] Not too many concerns in a single commit
[x] Remove extraneous comments (code in comments), print statements, to-dos, console.logs, extra fluff
[x] Atomic, descriptive commit messages
[x] Consistent formatting

Reviewer Checklist:

[x] Small scope (1-2 components)
[x] Comments, print statements, to-dos, console.logs, extra fluff were removed
[x] Give feedback no matter what conversations happened elsewhere, document here
[x] Comment on the line of code itself (blue plus box) in files changed tab

This is great for making this code available to the other team members. In the future, we have to add more documentation so other programmers will understand the code in the future.


Change expand/collapse text to singleline/multiline in schema table

Fix #219
Following commit 0cde5d0

Thanks for the PR !!!


Need to add Raleigh, NC to the map

Raleigh, NC is on the list but not on the map, "List of Free Code Camp city based Campsites" on google maps.

Added ;)


Check if inner consensus message is missing

An orderer to orderer consensus message that contains an empty inner message crashes the node because it attempts to figure out its type and the mere action of determining the type of a nil pointer, causes a panic.
This commit ensures the inner message is not nil.
Change-Id: I06b466e6ff6d43f2b9804dd21185241716356050
Signed-off-by: Yacov Manevich<EMAIL_ADDRESS>

https://github.com/Mergifyio backport release-2.2

https://github.com/Mergifyio backport release-1.4


Gateway hack

Adds redirection for failed avatar links
Turns off auto relay for mobile, which i believe has caused a regression on LANs

Also, fixes #774, #775

Hopefully yeah. Actually pretty keen to try it. Everyone's demos broke at the p2p conf because the internet was bad (which was retroactively explained away as "you shouldn't need internet at a p2p conf"). Historically our demos have worked well in that case but I couldn't get peers to see each other on a local network device. If this fixes that, we should make a small vid and post it back to the conf twitter.

Thank you 👍!


In-memory large dataframe processing

Metaflow tries to make the life of data scientists easier; this sometimes means providing ways to optimize certain common but expensive operations. Processing large dataframes in memory can be difficult and Metaflow could provide ways to do this more efficiently.

@romain-intel is the idea to support this locally or on an AWS instance?
Wondering if the idea is just making it more integrated with Apache Spark (via pyspark), or finding a way like an IterableDataset in Pytorch, to split loading among workers and have them loaded at model time.
I imagine the difficulty might be in the atomicity of a @step given that a feature selection & engineering step would be wholly separated from the model step. Know from experience that there are still a lot of pandas fans out there.
Would be curious to hear your thoughts on this.

@tduffy000 We have an in-house implementation of dataframe which provides faster primitive operations with a lower memory footprint than Pandas. This is supported both on local instance and in the cloud. One can use this implementation inside a step or even outside of Metaflow (just like the metaflow.s3 client).

Maybe the use of Metaflow could be somehow combined with Dask, which supports bigger-than-memory dataframes to solve this issue. I am not sure if/how it would be possible to serialize and restore Dasks big and lazy-evaluated dataframes between steps though.

Maybe something like a dataflow transfered between steps like Bonobo.
Also here is other example of software product that uses datapickle and Dask to run dataflows clusterized in cloud.

I think the possibility to use Apache Spark within Metaflow would be extremely useful. When you have your feature engineering workflow written in pyspark it's kind of a pain to translate everything to pandas and also it's hard to predict how well this will work on large datasets.

Would something like https://vaex.readthedocs.io/en/latest/index.html be a possible solution here?

@savingoyal any update to release the dataframe implementation?
Adding modin as a distributed drop-in for pandas dfs

another mention Spark Pandas https://spark.apache.org/docs/latest/api/python/user_guide/pandas_on_spark/index.html

Agree the Pandas on Spark reference by @talebzeghmi  would be valuable, but you would still need a Spark context. I think being able to declare that your task run in AWS Glue would potentially allow for both Pandas on Spark or just vanilla pySpark as a step.

@savingoyal any update to release the dataframe implementation?

Still interested!  Would appreciate any update, especially if it's "yeah we're not going to do this in the forseeable future after all"


[WelcomeUX] Pressing ESC should hide the overlay

Testing #18091
It requires a click right now.

Tracked with #18871


[closeCloser] false positive in go-etherium

Variable wallet in following code is reported.
But it is pooled closer in *Manager (s.am).
Maybe closer derived by closer doesn't need close?
https://github.com/ethereum/go-ethereum/blob/3c75c64e6bbf64f842c6f725a595713262c2f8fe/internal/ethapi/api.go#L338-L340
// OpenWallet initiates a hardware wallet opening procedure, establishing a USB
// connection and attempting to authenticate via the provided passphrase. Note,
// the method may return an extra challenge requiring a second open (e.g. the
// Trezor PIN matrix challenge).
func (s *PersonalAccountAPI) OpenWallet(url string, passphrase *string) error {
	wallet, err := s.am.Wallet(url)
	if err != nil {
		return err
	}
	pass := ""
	if passphrase != nil {
		pass = *passphrase
	}
	return wallet.Open(pass)
}

https://github.com/seiyab/gost/pull/29


GPT To Submit: Art Companion

Thanks for ad :)
Name: Art Companion
Description: A Guide Through the Creative and Professional Worlds of Art
Creator @nolattosio
Link: https://chat.openai.com/g/g-1dEwOItVl-art-companion
Thank you!

Please raise a pull request for the same


onChange only fires once during initialization

Hey Samuel and friends... My expectation of the below is that foo() will execute each time the active font is changed. In other words, the onChange function of the constructor should fire every time a user selects a new font. However, it seems foo() is only executed once on initialization.
let fontPicker = new FontPicker(
    'keysdgjlkjsdg', // Google API key
    'Open Sans', // default font
    {limit: 20},
    foo()
);

function foo() {
    console.log ('font changed')
}

Let me know if you'd like a fiddle.

Hi @cookmscott,
The problem is that you're executing the function when you pass it to the picker as a paremter. Instead, you should only pass a reference to the function (no parentheses):
let fontPicker = new FontPicker(
    'keysdgjlkjsdg', // Google API key
    'Open Sans', // default font
    {limit: 20},
    foo
);

function foo() {
    console.log ('font changed')
}

Let me know if this works as expected :)

It's probably unexpected behavior that the function also fires on initialization, though. I think I might change that.

Omahgerd... Simply specifying foo as a parameter to the picker works like a charm. Thanks for catching my mistake!


DOCKER DEV ENV

Hopefully this helps others iterate quicker on their code with fewer errors.  See the docker readme
It should make things as simple as going ./run.sh and having a full chaos server, in a second, that looks at your own personal chaos fork.  This way you can test things like PRs, labels, etc, with full control on your fork, before opening a PR here.

Awesome! Can't wait to try it..


Release v0.42.0

Any chance https://github.com/signalfx/splunk-otel-collector/pull/1150 can make this release?

Any chance #1150 can make this release?

Yep, just add it to the changelog in your PR and I'll rebase when it is merged.


admin: order stats in clusters json admin

Signed-off-by: Rama<EMAIL_ADDRESS>Description: Currently host level stats in clusters proto uses map so they are outputted in random order. This PR changes it to list so that the order is predictable.
Risk Level: Low
Testing: Added automated tests
Docs Changes: N/A
Release Notes: N/A

@htuch removing map in clusters.proto. PTAL.

Why is it important for the stats to be output in a consistent order? It seems like it may be preferable to have the receiver of the stats sort them in whatever order it needs, because the order we make envoy send them in may still not be what the client needs, even if they're now predictable.

@ggreenway see https://github.com/envoyproxy/envoy/issues/4122 for the earlier discussion. I'm in favor of this, since we transcode to JSON and humans sometimes look at this, I prefer it to be deterministic for a given state.


Separate L1 data files by plot

This PR changes the L1 data files from
{SITE}_{PERIOD}_L1_{VERSION}.csv
to
{SITE}_{PLOT}_{PERIOD}_L1_{VERSION}.csv
I.e., L1 files are now site-plot-month specific. This has a number of advantages:

Someone ( @wilsonsj100 ?) said that Excel was warning about loading the monthly TEMPEST files, some of which exceeded 150 MB. The new plot-specific TEMPEST files are 40-50 MB at most
It reduces memory pressure and so lets us run more R instances in parallel, speeding up the processing pipeline. Before, R would consume 10GB of memory when dealing with a single month of TEMPEST data, and now it's much lower
Users can easily load a single plot's data with no filtering required
The simple QAQC plots are more intelligible (b/c of fewer lines) and so hopefully more useful

Disadvantages:

~3x more individual files in the data release. I don't think this is a problem

FYI @stephpenn1


mbuf_split() splits by copying data in quadratic instead of linear time

Hi All
We are looking to use TwemProxy with Redis for sharding. We have use cases where we may need to fetch about 10k keys in one go from across multiple shards. However, when I try this with TwemProxy on a test setup (described below), it takes about 1.7 seconds to return. If I fired the same request on a single Redis instance directly, it returns in about 16ms.
Would someone know if I have missed out some obvious performance tuning option? Any ideas on what we could do to better this number? We need mget response time to be within sub 300ms range.
Note that the hosts are shared with other processes (and not dedicated for my performance tests). I am giving the details below to give an indication of the leftover capacity.
Setup Details-
Host One- 8 core, 3.3 GHz (5% utilization during test run), 16GB RAM (6GB available) hosts two redis instances and a TwemProxy instance
Host Two- 8 core, 3.3 GHz (5% utilization during test run), 16GB RAM (9.5GB available) hosts two redis instances
TwemProxy config-
hash: murmur
distribution: ketama
servers:

host1:6379:1
host1:6380:1
host2:6379:1
host2:6380:1

Thank you

For example, if my input buffer from read syscall contains 10 messages = [1, 2, 3, 4, 5, 6, ... 10], we leave existing message "1" in its current mbuf and copy messages from [2,3,4,5, ...10] to a new mbuf. Once message "1" is processed, we then we copy messages from [3,4,5,6,...10] to a new mbuf and so on and on. So, to split messages [1,2,3...10] across 10 mbufs we are doing quadratic instead of linear copies. This is really unfortunate, and I think if we fix this we twemproxy will consume less cpu. The workaround for now is that for scenarios where you need high throughput and low cpu util %, you use -mbuf-size=512.

If I'm reading this right, this is only a performance issue with pipelined commands (and common redis clients make pipelining convenient)
I'd wonder if it'd make sense to conditionally swap the pointers with the "new" mbuf if mbuf_split had a larger buffer for a new message (nmsg) - that would hopefully make it take less time.
(i.e. replace the old mbuf's pointers with the smaller copy at the beginning, and use the old pointers with the larger size for the new mbuf)


pull request for e2e test at 02/03/2017 01:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


CDR event listeners giving error if configured before connect

This code works:
const Srf = require("drachtio-srf");
const srf = new Srf();
const config = require("config");

srf.on("connect", (err, hostport) => {
  console.log(`connected to a drachtio server listening on: ${hostport}`);
});
srf.on("error", (err) => {
  console.log(`Error connecting to drachtio server: ${err}`);
});

srf.connect(config.get("drachtio"));

srf.on("cdr:attempt", (source, time, msg) => {
  console.log(
    `got attempt record from ${source} at ${time}: msg.get('Call-Id')`
  );
});

But if the cdr:attemptlistener is set before the connect, the app fails to start:
const Srf = require("drachtio-srf");
const srf = new Srf();
const config = require("config");

srf.on("connect", (err, hostport) => {
  console.log(`connected to a drachtio server listening on: ${hostport}`);
});
srf.on("error", (err) => {
  console.log(`Error connecting to drachtio server: ${err}`);
});

srf.on("cdr:attempt", (source, time, msg) => {
  console.log(
    `got attempt record from ${source} at ${time}: msg.get('Call-Id')`
  );
});

srf.connect(config.get("drachtio"));

Output error:
/Users/alex/drachtio-tests/node_modules/drachtio-srf/lib/proto.js:26
    app.on(event);
        ^

TypeError: app.on is not a function
    at _cachedEvents.forEach (/Users/alex/drachtio-tests/node_modules/drachtio-srf/lib/proto.js:26:9)
    at Array.forEach (<anonymous>)
    at Function.app._init (/Users/alex/drachtio-tests/node_modules/drachtio-srf/lib/proto.js:25:22)
    at Function.app.connect (/Users/alex/drachtio-tests/node_modules/drachtio-srf/lib/proto.js:43:37)
    at Srf.connect (/Users/alex/drachtio-tests/node_modules/drachtio-srf/lib/srf.js:107:21)
    at Object.<anonymous> (/Users/alex/drachtio-tests/test.js:18:5)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)

Since there is no problem setting the others listeners (i.e. srf.on("connect", ...) and srf.on("error", ...)) before the connecting to Drachtio server, I believe that with the CDR events that must be also possible.
If this is a bug in your opinion, I can try to fix it or, at least, try to output a more comprehensive error message.

I agree its a bug.  Would be great if you have a fix and want to give me a PR !

Hi @davehorton, I have retested the above scenarios with the changes that @joelact have committed.
I have tested:

REGISTER
< 401 Unauthorized
REGISTER
< 200 OK

INVITE
< 100 Trying
< 200 OK
ACK
BYE
< 200 OK

Scenario A - CDR listeners declared before the connect:
INVITE TO 123
CDR:ATTEMPT :: network :: 20:58:58.469727 :: w8pMMwE3PuVEi.nZ8sNnmA1szTwnbWf5
CDR:ATTEMPT :: application :: 20:58:58.504828 :: 5eeac779-2c49-1239-f7bc-0050568e3b78
CDR:START :: network :: 20:58:58.519951 :: 5eeac779-2c49-1239-f7bc-0050568e3b78
CDR:START :: application :: 20:58:58.540494 :: w8pMMwE3PuVEi.nZ8sNnmA1szTwnbWf5
CDR:STOP :: network :: 20:59:16.874209 :: w8pMMwE3PuVEi.nZ8sNnmA1szTwnbWf5
CDR:STOP :: application :: 20:59:16.882657 :: 5eeac779-2c49-1239-f7bc-0050568e3b78

Scenario B - CDR listeners declared after the connect:
INVITE TO 123
CDR:ATTEMPT :: network :: 20:59:46.018049 :: P7MQKpj84CW-5rP2uInR6t5TmD2Zxs6U
CDR:ATTEMPT :: application :: 20:59:46.049589 :: 7b41907e-2c49-1239-f7bc-0050568e3b78
CDR:START :: network :: 20:59:46.061799 :: 7b41907e-2c49-1239-f7bc-0050568e3b78
CDR:START :: application :: 20:59:46.085633 :: P7MQKpj84CW-5rP2uInR6t5TmD2Zxs6U
CDR:STOP :: network :: 20:59:48.983342 :: P7MQKpj84CW-5rP2uInR6t5TmD2Zxs6U
CDR:STOP :: application :: 20:59:48.992869 :: 7b41907e-2c49-1239-f7bc-0050568e3b78

All the listeners are working fine. I will close this issue.
When can we expect this change will be available in NPM?

just pushed as 4.4.35


Improve error messages throughout EKB

Problem
In the Knative End User Success Stories talk at KubeCon, we heard that sometimes users will look through the code to figure out what an error message meant, as our error messages don't always give a clear idea of what went wrong, whether the user can fix it, and how to fix it. https://youtu.be/-DN7LQCn7aU?si=-XgsjotxfDkuz8-e&t=730
Persona:
Which persona is this feature for?
Administrators
Developers
Exit Criteria
Error messages in logs and CR statuses are actionable
Time Estimate (optional):
How many developer-days do you think this may take to resolve? 5-7
Additional context (optional)
Add any other context about the feature request here.

@Cali0707 can we be specific on which ones are improvable ?

@Cali0707 can we be specific on which ones are improvable ?

I think part of the scope of this would be to investigate that since it wasn't fully clear to me when I watched the talk. However, I believe that especially places where we wrap/return underlying library errors would be where I would look first to improve the errors


Figure out why no ICM alert for incident on 8/20

https://icm.ad.msft.net/imp/v3/incidents/details/80456379/notifications


Mix hangs on deps.compile

I am trying to compile the project. I have erlang 18 installed and elixir version is 1.3.
compilation hangs at below line and does not move ahead:
Downloaded package, caching at /Users/navinnegi/.cache/rebar3/hex/default/packages/pc-1.4.0.tar

Sorry, this was entirely my fault, I started with riak_core using "Little riak core book" and added rebar3 in my path as suggested in the book, this was causing the issue/conflict between mix and rebar3.
After removing rebar3 from PATH, every thing compiles fine.


Just a test

Made a change that might affect CI, so this is just to make sure I haven't broken anything.

All good, carry on.


Move stellarators to plasmas

Can you please test this? Can you run the code Joao wrote?

On it now!

Can you please test this? Can you run the code Joao wrote?

On it now!

It's alive and doing well!

Can you please test this? Can you run the code Joao wrote?

On it now!

It's alive and doing well!

What is the minimal piece of code that would test this? Can you add it as a pytest?

Can you please test this? Can you run the code Joao wrote?

On it now!

It's alive and doing well!

What is the minimal piece of code that would test this? Can you add it as a pytest?

To test scenarios/simulators we need machines available and api_keys for them. Me and @luispcunha are already thinking about these things and devising a way for these tests to be run with github actions. I will open an issue for this discussion and to establish action points.

Can you please test this? Can you run the code Joao wrote?

On it now!

It's alive and doing well!

What is the minimal piece of code that would test this? Can you add it as a pytest?

To test scenarios/simulators we need machines available and api_keys for them. Me and @luispcunha are already thinking about these things and devising a way for these tests to be run with github actions. I will open an issue for this discussion and to establish action points.

Ok. Please do. Thank you.

Can you please test this? Can you run the code Joao wrote?

On it now!

It's alive and doing well!

What is the minimal piece of code that would test this? Can you add it as a pytest?

To test scenarios/simulators we need machines available and api_keys for them. Me and @luispcunha are already thinking about these things and devising a way for these tests to be run with github actions. I will open an issue for this discussion and to establish action points.

Ok. Please do. Thank you.

But in any case, on this sort of PR please add a section on: how did i test this?


Impossible to predict the percentage of all samples.

I have several samples. can I get the result of the prediction on all samples not only one which has the highest percentage


[Risk]: EFS Performance in SPS

"Need to determine the issue with staging data - currently stage-in takes 4 hours. U-DS will parallelize that but i assume there will be some issues as well with bandwidth and EFS usage. We need to investigate the following options:

EFS Performance mode vs 'General Purpose'
Write characteristics (lots of small writes)
Instance Size and bandwidth capabilities
Bandwidth to EFS (Elastic, Provisioned,  Burst)"

AWS documentation on EFS configuration: https://docs.aws.amazon.com/efs/latest/ug/performance.html
List of EFS partitions in MCP-Dev: https://us-west-2.console.aws.amazon.com/efs/home?region=us-west-2#/file-systems
AWS recommended default configuration:
o EFS One Zone (data NOT replicated across zones, lower latency)
o General Purpose Mode (NOT Max I/O mode, which has higher latency and is designed for highly parallelized workflows)
o Elastic Throughput (not Provisions Throughput or Burst Throughput): AWS adjusts the throughput automatically between Input and Output

Executing new 16 days stage in on MCL-Deev nightly cluster.
EFS id: fs-0b5b1278b5c3ae929
Configuration:
Performance mode: General Purpose
Throughput mode: Bursting <<<<<
Lifecyle management: no Infrequent Access
Availavility zone: Standard

Not surprisingly, throughput is dominated by write operations (stage in).
Should try:
o Using throughput mode = elastic
o Monitoring performance during algorithm execution and stage-out

EFS TF configuration file is: terraform-modules/terraform-unity-sps-hysds-cluster/efs.tf
Should try aws_efs_file_system --> throughput_mode = elastic
(defaults to "bursting")
See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system

Comparing EFS vs EBS performance using stage-in of 1 day of data (243 files).
Using EFS: 22 minutes
From:
-rw-r--r--. 1 ops ops 57878268 Jul 24 22:48 SNDR.SS1330.CHIRP.20210131T2354.m06.g240.L1_J1.std.v02_48.G.200408101645.nc
To:
-rw-r--r--. 1 ops ops 58591533 Jul 24 23:10 SNDR.SS1330.CHIRP.20210202T0000.m06.g001.L1_J1.std.v02_48.G.200408105538.nc
Using EBS: 19 minutes (15% improvement)
From:
-rw-r--r--. 1 ops ops 57878268 Jul 25 10:50 SNDR.SS1330.CHIRP.20210131T2354.m06.g240.L1_J1.std.v02_48.G.200408101645.nc
To:
-rw-r--r--. 1 ops ops 58591533 Jul 25 11:09 SNDR.SS1330.CHIRP.20210202T0000.m06.g001.L1_J1.std.v02_48.G.200408105538.nc

Recently Mike demonstrated a considerable improvement in performance when executing the CHIRP workflow with an EBS partition that was manually provisioned. We are investigating how to add this to the SPS cluster at deployment.

Closing this ticket to open a new one about supporting EFS


"Băcești" is listed in the drop-down menu

Description:
"Băcești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Băcești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Băcești, Argeș (Drăganu)".


Deprecated functions logged on startup

I'm seeing some warnings at startup, using HomeAssistant Core 2024.8.2. I have no information on when this started, I just saw it by coincedence today.
At startup, the following messages are logged:
WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from saj_modbus, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'saj_modbus' custom integration
and:
WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'saj_modbus' calls async_forward_entry_setup for integration, saj_modbus with title: SAJ and entry_id: 16e7df1e06dde3536e9b716cfee04d38, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/saj_modbus/__init__.py, line 61: hass.async_create_task(, please create a bug report at https://github.com/wimb0/home-assistant-saj-r5-modbus/issues
and:
WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration saj_modbus with title: SAJ and entry_id: 16e7df1e06dde3536e9b716cfee04d38, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Although the last line does not explicitly mention that the deprecated code is present in the saj_modbus component, but I've included it here just in case it is ;)

This issue should be fixed in pre-release version v2.2.2.
Can you test this?

I've downloaded the 2.2.3 pre-release version, and restarted HA. I can report that the warnings posted earlier no longer appear in the logs ;)
All functionality seems to be working as far as I can tell at the moment, no immediate or obvious problems detected.

Thanks for checking. I will create a normal release with these fixes.


Add-on running but does not create an entity

Version of the custom_component

Configuration

Add your logs here.

Describe the bug
A clear and concise description of what the bug is.
Debug log

Add your logs here.

Hi, I am not seeing this issue at the moment but if you can provide some more info (logs, versions, etc.) I can look into it.


compiled code doesnt seem to run on redbearlabblenano

i have a version 1.0 redbearlab ble nano.  I created simple blink script and had it upload it.  It just bricks my device.  I can reflash it with arduino boot loader or sample mbed blinky lights demo and it works fine.  I can also program it via arduino ide and have no problems with it.  Anything I can do to try to debug let me know.

i tried taking the ld linker script from the arduino code and used it in build flags so that i could try uploading the code using their bootloader. this also failed.  I don't think platformio is generating a proper intel hex to be uploaded.

ive also tried this on my mac and gnu/linux machine, as well as enabling sync flag on mounting of the drive just in case.

Hi @mogorman! Thanks for your report! Could I ask you to test some firmwares with your board?

yes i can.

i tried copying all of them to the board. none of them blinked the led on pin P0_19.  I didn't know what to look for aside from that to tell if it worked?  they did all take much longer to upload, like the intel hex was legit though.

Please try this version. Does it work?

it looks like this one attempts to flash but fails, when i reboot the board, it still is running the arduino bootloader from redbear labs

Let's put aside all about Arduino. Do you have removable mass storage disk named MBED? Firmware from mbed cloud compiler works fine?

im not using arduino to flash. aside from one time i tried that way.  sorry for confusion.  I have been copying to the MBED storage device on my pc.  I haven't tried the cloud compiler.  let me set up account and try that now.

can confirm that mbed web compiler works with the following code
#include "mbed.h"

DigitalOut myled(LED1);

int main()
{
    while(1) {
        myled = 1;
        wait(1);
        myled = 0;
        wait(1);
    }
}

Thanks. Could you test please this hex? It's compiled from exported project for GCC toolchain.

did not seem to run.  i tested by flashing code that does not use led. then flashing this code. then after seeing this code did not work i flashed with my blink code i made in web compiler and confirmed it ran.

using there local builder it is producing a 14k hexfile compared to the 300k hexfile the web produced with same code

Yep, looks like it's not PlatformIO problem. I will look for a workaround and let you know if there is any information. Thanks!

actually i take that back. it does work.  i didnt have srecord installed in environment.  it needed to combine the two hexs together

I just tested the output of platformio generated code when combined with the hex like they do and it worked
srec_cat mbed/TARGET_RBLAB_BLENANO/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex -intel .pioenvs/redbear/firmware.hex -intel -o test.hex -intel --line-length=44

actually i just confirmed its same softdevice shipped with platformio


Integration of the mocap_optitrack packages

@piepustina Do you not need to add the opening of the NatNet ports in the docker-compose.yaml file or will you add this later in a separate PR?


_ensureBottomLine() is probably getting called too often

and adding a new div under any heading when pressing backspace

This function seems a little overzealous. If you press backspace in a <li>, the wrapping <{o,u}l> isn't seen as a block level element and a new div is inserted.

Can't reproduce on a header, though. It needs to have a non-inline element (like a <li>) in it to trigger the insert


✨ Add --app-version to the goreleaser packaging action

Summary
Add --app-version to the goreleaser packaging action
Related issue(s)
Fixes #

No but it does not hurt.
I thought to leave it in in case we need it in the future.
If you rather not risk it, I will remove it.
On Thu, Jan 25, 2024, 12:14 PM Paolo Dettori @.***>
wrote:

@.**** commented on this pull request.
In .github/workflows/goreleaser.yml
https://github.com/kubestellar/kubeflex/pull/185#discussion_r1466693849:

@@ -61,6 +61,6 @@ jobs:
- name: Package and push chart
run: |
make chart IMG=${{ env.REGISTRY }}/${{ env.OPERATOR_IMAGE }}:${{github.ref_name}}

   helm package ${{ env.CHART_PATH }} --destination . --version ${{github.ref_name}}

   helm push ./*.tgz oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

   helm package ${{ env.CHART_PATH }} --destination . --version ${{github.ref_name}} --app-version ${{github.ref_name}} --dependency-update

@francostellari https://github.com/francostellari do we need the
dependency update even if we do not use the sub-chart ?
—
Reply to this email directly, view it on GitHub
https://github.com/kubestellar/kubeflex/pull/185#pullrequestreview-1844262974,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5TXIU22ZRDFVVWIJZ6EJDYQKHGTAVCNFSM6AAAAABCKZJQV6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNBUGI3DEOJXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

We can leave it, it should not make a difference.


AD Plugin versions should be updated to include versions from 3-5 to 3-10

Currently it seems like the plugins stop at R3-4, despite there being releases for ADCore through R3-10, with R3-11 coming soon. I am working on creating plugin classes for these in-between releases. In the future it would be good to have this as a checklist item for releases to check if there has been a new AD version. I don't think there have been too many major changes since R3-4, but certain features have been added to certain plugins that could be worthwhile.
Also, I was wondering if there would be a way to do this in an automated fashion - since the new plugin versions essentially reflect changes to PVs in upstream areaDetector, it should be possible to get a list of PVs tied to a plugin from the .template file in ADCore, since that file should be computer readable. Then, we could have some file that stores ADCore versions and the PVs, and we can compare, to easily create these version classes.

All sounds good to me. As you would guess, we haven’t been driven to add support for newer versions by any critical backward-incompatible changes upstream, so this work has not been prioritized. It would be great to summon the institutional capacity to keep up with AD releases.


Add initial typings

Related: #12

Thanks for the PR @sammkj .
It looks like it is missing the function definitions for intl and withText.  Did you leave those out on purpose.
Also, I'm not super familiar with typescript, but preact defines a typings.json file and it also packages the .d.ts file as part of the build steps in package.json, which this PR doesn't do.  My guess is that this PR isn't quite complete enough to have this work for the general public yet.

Build steps from preact: https://github.com/developit/preact/blob/master/package.json#L13-L14

@billneff79 , I'm not using any of those two APIs at the moment. But I can write definitions for it. Let me make some changes.

@jtrollia - I'll close this and reference the definitely typed typings


Not showing in widget list

I have just installed netinfo from fdroid but the widgets are not showing in the widget list so I cannot use them. Running Android 5.1.1 - latest CyanogenMod.

It should show up as a single widget named "NetInfo" (see the attached image below):

Adding a widget to the widget list is done automatically by Android using the APKs AndroidManifest.xml file, so I don't think this is an issue with my code or implementation as far as I can tell. Unfortunately I don't have access to any device running any version of CyanogenMod, so I'm unable to debug / troubleshoot this issue any further.


How can I make Color Swap only effect BF's notes?

What is your question?
In my mod, I have separate note skins for the opponents, but I still want people to be able to change their own note colors. How can I make it so the color change option in the settings only affects the player's notes? I'm using source code.

Lua or Source Code?

source

note.colorSwap.hue
note.colorSwap.saturation
note.colorSwap.brightness


Remove redundant call to serialize_json_safe() in raiwidgets causal tests

Description
It looks like the serialize_json_safe() is already called in responsibleai_dashboard_input.py for causal end point output.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1840 (53d48dc) into main (d89b03a) will increase coverage by 5.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1840      +/-   ##
==========================================
+ Coverage   73.84%   79.00%   +5.15%
==========================================
  Files          25       19       -6
  Lines        1277     1324      +47
==========================================
+ Hits          943     1046     +103
+ Misses        334      278      -56

Flag
Coverage Δ

unittests
79.00% <ø> (+5.15%)
:arrow_up:

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

Impacted Files
Coverage Δ

rai_test_utils/rai_test_utils/datasets/__init__.py

..._test_utils/datasets/tabular/tabular_data_utils.py

...st_utils/rai_test_utils/models/sklearn/__init__.py

...test_utils/models/lightgbm/lightgbm_model_utils.py

...i_test_utils/models/sklearn/sklearn_model_utils.py

..._utils/rai_test_utils/datasets/tabular/__init__.py

...st_utils/rai_test_utils/models/xgboost/__init__.py

...t_utils/rai_test_utils/models/lightgbm/__init__.py

...i_test_utils/models/xgboost/xgboost_model_utils.py

raiwidgets/raiwidgets/constants.py
99.40% <0.00%> (ø)

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Final cascaded rule does not work, always override by last Media Query

I have the following styles:
@media (min-width: 768px) {
  .container {
    width: 750px;
    background: green;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
    background: blue;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
    background: orange;
  }
}

/* master override */
.container {
	width: 992px;
	background: red;
	margin: auto;
}

For some reasons, I have to override the container rule at the end while preserve the previous media query. In IE8, the final override does not work, it will be override by the last Media Query rules, ie, in the above example, it is 1170px. While in other browsers mentioned below, the final override work as expected, ie 992px.
Current work around is using keyword "!important".
Tested in IE8, latest Chrome / Firefox / Opera and Safari 5 in Windows 8.1

I've noticed this too. The reason is because all the media queries are added after the stylesheet in which they were found. This changes the cascade, moving the media queries out of their current position to much later on.
I wonder if Respond could remove the stylesheet after parsing it and replace with it's custom <style>, which is constantly updated to include or exclude media query rules just like it currently does. Would that be too much work for IE, to reload the whole stylesheet every single time rather than just the media query rules?

I have a fix in https://github.com/incuna/Respond/issues/1. After internal review it will be pull-requested into this repo.

See #345 for a fix


(PDB-4656) Broadcast commands to multiple databases

Definitely in progress.

CLA signed by all contributors.


DDNS - IPv6 is currently not (fully) supported by this system

After I compiled the latest openwrt trunk and upgraded the kernel to 5.10, DDNS keeps telling me "IPv6 is currently not (fully) supported by this system, Please follow the instructions on OpenWrt's homepage to enable IPv6 support or update your system to the latest OpenWrt Release"
But I actually got a ipv6 address and has passed the ipv6 test on www.test-ipv6.com, on kernel 5.4, I did it the same way and DDNS works fine
could anyone happen to know why is it happening and help on how to solve it? thank you much!

Experiencing this as well on OpenWrt SNAPSHOT, r18974-8144f9c665 which is kernel 5.10

Decided to look a little closer at this, it appears IPv6 support is detected in luci/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns on line 274 by checking for the presence of both /proc/net/ipv6_route and /usr/sbin/ip6tables.
This is later used in luci/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js which is what is displaying the error message.
So the next obvious thing is to look for the presence of these two files... and low and behold, the issue appears to be caused by ip6tables not being installed.
root@openwrt:~# ls -l /proc/net/ipv6_route
-r--r--r--    1 root     root             0 Feb 27 02:24 /proc/net/ipv6_route
root@openwrt:~# ls -l /usr/sbin/ip6tables
ls: /usr/sbin/ip6tables: No such file or directory

You can make this error message disappear by installing ip6tables:
opkg update
opkg install ip6tables

but I'm not sure if this is the best way to fix the underlying issue here. e.g whether this is the best way to detect for IPv6 support in the ddns package or if a recent change (some fw3 prep?) has deprecated ip6tables usage or if ip6tables is not included in the snapshot for some other specific reason. Just not familiar enough with the project for qualified insight here.
Maybe somebody else can chime in?


CD deploys shouldn't propagate errors

A future timing out or the like should not cause all CD to stop

Is this a fix for #246 ? CD on my project (https://riffraff.gutools.co.uk/deployment/history?projectName=Content+Platforms%3A%3Abonobo&pageSize=20&page=1) seems to be broken at the moment as well.

@cb372 It's an attempt to ameliorate rather than fix. That broke everything, whereas this would mean only the one deploy failed.
I'm currently waiting for an opportunity to hard bounce RiffRaff to get it working again for the moment.


Installation Issue

There seems to be a problem with the cordova-plugin-geolocation dependency.
I tried reinstalling the plugin and building the sample app and received the following error message:
SampleApp rm -rf platforms/android
SampleApp rm -rf plugins/org.transistorsoft.cordova.background-geolocation
SampleApp rm plugins/android.json
SampleApp cordova plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git
Fetching plugin "https://github.com/christocracy/cordova-plugin-background-geolocation.git" via git clone
SampleApp cordova platform add android
Creating android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.transistorsoft.backgroundgeolocation
Name: Cordova Background GeoLocation
Android target: android-19
Copying template files...
Project successfully created.
Installing "org.apache.cordova.dialogs" for android
Installing "org.apache.cordova.geolocation" for android
Installing "org.transistorsoft.cordova.background-geolocation" for android
Fetching plugin "cordova-plugin-geolocation" via plugin registry
Failed to install 'org.transistorsoft.cordova.background-geolocation':Error: 404 Not Found: cordova-plugin-geolocation
at RegClient. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14)
at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13)
Error: 404 Not Found: cordova-plugin-geolocation
at RegClient. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14)
at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13)

What version of Cordova are you using?
It probably has something to do with the PR I accepted
https://github.com/christocracy/cordova-plugin-background-geolocation/pull/173

ah i see.  im running cordova 4.2.0

Hi @christocracy
Today I tried to add this repo into my project, and I got the same error with topic owner.
My cordova version is 4.3.0
Hope you fix this soon

It seems I naively accepted a pull request upgrading the dependencies to
new Cordova 5 npm style.  If you upgrade to Cordova 5, it'll work
On Wednesday, May 6, 2015, Hoang Trinh Huy<EMAIL_ADDRESS>wrote:

Hi @christocracy https://github.com/christocracy
Today I tried to add this repo into my project, and I got the same error
with topic owner.
My cordova version is 4.3.0
Hope you fix this soon
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/175#issuecomment-99701857
.

--
Snet from Gmail Mobile

Thank you @christocracy
My problem solved.

Hi @christocracy
I have one more question, if I still want to use this repo with cordova 4.3.0, what I have to do?
Because I've just realized that cordova 5.0 break my existing code, and now I don't have enough time to fix every error
Thank you very much

I've tagged the version before implementing the new Cordova 5-style <dependency />
Simply install the plugin by appending #cordova-4.x to the plugin url:
cordova plugin add cordova plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git#cordova-4.x

FYI:  Cordova 5 has migrated to npm for plugin-hosting, changing the naming convention of cordova plugins:
OLD (pre Cordova 5):  org.apache.cordova.geolocation
NEW (Cordova 5+):  cordova-plugin-geolocation
Since my plugin has 2 dependencies, the tag-branch #cordova-4.x uses this format:
<dependency id="org.apache.cordova.geolocation" />
 <dependency id="org.apache.cordova.dialogs" />

And #master branch uses new Cordova 5 style:
<dependency id="cordova-plugin-geolocation" />
<dependency id="cordova-plugin-dialogs" />