Should the DotFormatter code simply skip unknown dependencies?

One thing we do when testing igniter installers is we simply "run the installer" to see what patches it creates. Often, an installer will add itself as a dependency in the .formatter.exs. This currently makes DotFormatter.read fail, causing everything to use the default .formatter.exs. I think it might make more sense not to fail but to skip dependencies that couldn't be found.
This code here:
  defp deps_paths(deps) do
    paths = Mix.Project.deps_paths()

    result =
      Enum.reduce_while(deps, [], fn dep, acc ->
        case Map.fetch(paths, dep) do
          :error -> {:halt, %DotFormatterError{reason: {:dep_not_found, dep}}}
          {:ok, path} -> {:cont, [{dep, Path.join(path, @default_dot_formatter)} | acc]}
        end
      end)

    if is_list(result), do: {:ok, result}, else: {:error, result}
  end

https://github.com/hrzndhrn/rewrite/blob/main/lib/rewrite/dot_formatter.ex#L1293
Could be adjusted instead to simply skip that dependency, perhaps logging some kind of warning? Alternatively, we could have some kind of option or flag we can set that tells it to ignore unknown dependencies.
Thoughts?

I think a flag ignore_unknown_deps: true would be the simplest solution. I will add such flag.

Where would this action be specified? I think for all of igniter's cases we'd want that to be true, so just curious if its something we can set when creating with Rewrite.new

I'd be willing to put a PR together if you can tell me where the "entry point" would be, as most of the projects's tests that are using rewrite through igniter will fail w/ this change. Its not a big deal, they are just tests failing around formatting, not the end of the world :) I also have some short term workarounds, I've added Igniter.Project.Formatter.remove_imported_dep which can be used in tests after installers run but before assertions are made if necessary.

I have added the :ignore_unknown_deps to Rewrite.DotFormatter.read and friends. So for Rewrite.new you can use Rewrite.new(dot_formatter: DotFormatter.read!(ignore_unknown_deps: true)). The Rewrite.Hook.DotFormatterUpdater has a fallback to a default DotFormatter if the reading fails.
Is that ok? If not, I can make further changes.

I believe this will do just fine, yes :)

Hmm...I think there might be a missing piece which is that the option should then be "retained" in some way by Rewrite.Hook.DotFormatterUpdater right? Or should I just write my own hook in that case?

Yes, I think to write TestDotFormatterUpdate should be work. I could also make the hooks configurable.

I'll close this, please LMK if you get a sec when you release this @NickNeck

@zachdaniel the ignore_unknown_deps flag is released. Or do you mean the configurable hook?

oh, I didn't realize! Thanks will check it out :)

I had seen this on the home page and assumed :) Works, thanks!


Support for C# Random class

[MSDN Random](// https://msdn.microsoft.com/en-us/library/system.random(v=vs.110).aspx)
Steps To Reproduce
public class App
{
    [Ready]
    public static void Main()
    {
        Random r = new Random();

        Console.WriteLine(r.Next(10));
        Console.WriteLine(r.Next(10));
        Console.WriteLine(r.Next(10));

        Console.WriteLine(r.Next(5, 10));
        Console.WriteLine(r.Next(5, 10));
        Console.WriteLine(r.Next(5, 10));

        Console.WriteLine(r.NextDouble());
        Console.WriteLine(r.NextDouble());
        Console.WriteLine(r.NextDouble());

        byte[] buffer = new byte[5];

        r.NextBytes(buffer);
        Console.WriteLine(string.Join(",", buffer));

        r.NextBytes(buffer);
        Console.WriteLine(string.Join(",", buffer));
    }
}

@geoffreymcgill
I've made a pull request for this: Pull

Implementation details:
What we did is:

Take .Net Random class;
Transpile it using Bridge.NET.

Basically, there are four files:

MS Random C# source file, formatted just a little Random.cs
Javascript file generated by Bridge.NET from Random.cs -
just 141 lines of code, 100% fits the .Net Random class functionality
Bridge Random.cs file with [External] attribute applied, some methods have [Template] to control their overrides
Tests taken from MS corefx tests slightly formatted to have text description in assertions.


Drop Node10, add Node16

Node.JS 10 is officially EOL, and Node 16 has been officially released -- https://nodejs.org/en/about/releases/
We should drop Node10 from our CI and support, and add Node16.

This is now complete. Resolving


Add ability to delete comments

Closes #144

Test
Sent with GitHawk

Test
Sent with GitHawk

Test
Sent with GitHawk

Ahh I see what you're saying, so the reason for that is when we create a new comment it's added to a different array (not the original view models array which I filter).
What I can do here is move the filter to right at the end before we return objects, that way every model is checked rather than just the original content models?
@BasThomas

@BasThomas Give those changes a shot, should be better 😄

This is so great, thanks for knocking this out!

Oops I did it again, I played with your heart, got lost in the game.
Sent with GitHawk

@rnystrom All updated 😄


Not possible to have debugql read from stdin

Because the graphql_cli fn internally cooerces it's arguments to a Query struct, it's not possible to have it read from stdin.

Fixed in #2328


Hello, How can I apply conditions to autofilter in xlsx file?

Hello, I am noob of sheetJS.
I serached the autofilter apply.

/* set AutoFilter range */
ws['!autofilter'] = { ref:"A1:D4" };
but I can't found to apply conditions to autofilter in xlsx file.
I want apply conditions to use text, and get this sorted data.
Please help me someone.
Thanks.

closing in favor of #623 please follow up there


Allow node to add externalities extensions

Unfortunately, to make this work with the least code impact necessary (and without refactoring ServiceBuilder), this takes a similar approach as we already use for the register_transaction_pool function to expose it to the service builder, which can then in turn offer it to the outside.
This change is necessary for external libraries (in this case Substrate-LFS) to provide further functionality through the externalities of a chain, so they can be used in e.g. Offchain-Workers.

Please merge master.


TypeError: Cannot convert undefined or null to object

When I install package and run project it's error, I'm trying to upgrade all package but it's still got issue, please help me to check that

Thank you

when I try to install package not upgrade yet it still have error, please have a look, I don't know what I'm missing from that

Did you just run npm install, without any changes?

yes, I run npm install without any changes

What node and npm versions are you using?

Please have a look on this

Please use Node 16 and npm 8.

I already install Node 16 and npm 8 but it's still got same error, please check this

Are you sure you reverted to the socketio versions specified in the package? I have o la seen that error when numbing the socketio dependency to the latest version.

ah yes, I already reverted & change to Node 16 and npm 8 it's worked, thank you for your help


copr podman rpm "could not get runtime: eventer creation: No support for journald logging"

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Running the latest build from copr (podman-1.8.1-1582048950.gita5d55966.fc31.x86_64) fails with:
Error: could not get runtime: eventer creation: No support for journald logging

@larsks @baude Is this still an issue?

This appears to have been resolved.


[llvm] Add feature export-symbols

Creating a custom LLVM-pass under windows requires LLVM_EXPORT_SYMBOLS_FOR_PLUGINS.
This adds this as a feature to the port.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Can you explain what the feature controls and why a user would want to turn it on or off?
Is this a feature or an alternative? (Could a user need to require that it be off?)

This feature exports the symbols in the LLVM libraries. This allows a user to develop their own llvm-plugins.
An example project which needs that is https://github.com/AdaptiveCpp/AdaptiveCpp.
It does make the build, and especially the debug symbols rather large, so I think a user would want it off by default.

OK, thanks!


Vertical scrolling not working on BlackBerry10

Occasionally vertical scrolling will no longer work on BlackBerry10. I'm unable to scroll lists or pages in general. Slide to refresh doesn't work either.
However, opening a side navigation menu by sliding horizontally still works.
Restarting the app usually fixes the problem.

Greetings @oliversalzburg!
I'm sorry, but my sensors indicate that this issue may no longer apply to recent versions of Ionic.
If you are still experiencing this issue, please feel free to reopen it by creating a new issue and provide the following information, so that I may assist you:

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 7, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum. There are many humans there who can offer sage advice.
Thank you for allowing me to assist you.


Split the comments body from the delimiters

@superzanti,
Please could you test if this is what you had in mind?  It closes #13

I'm going to merge to develop so long.  You can always re-open #13 if it's not quite what you had in mind...

Yes! this is exactly what I had in mind! thank you!
This is very useful.


search_msa database sequencing

Sequencing the MSA search, first looking through UniRef (x4 times), then expanding to bfd (x4 times). Since these database files are very large, this improves the chance that we can keep the UniRef db in cache rather than loading (or steaming, if pulling from a network resource) 4 separate times.
For sequences that are well-represented in the UniRef, we may never need to load/search bfd, which will speed things up significantly.
Other, minor changes:

added logs to report number of MSA hits after each hhblits pass
added "set -e" for early exit on failure
completed the cov75 check (and potential return case) before beginning the hhfilter for cov50

Did you find structures were as good without searching BFD?


Selection does not react on widget refresh

Technical
Selection does not react on widget refreshes.
Description
Steps to reproduce

Apply patch that allows to change dropdownmenu text on fly
Create a new project in Design Editor
Add DropdownMenu
Change first property to much longer text

Expected behaviour
Selection area should match widget
Actual behaviour
Selection stayed the same while widget changed its size.

@pkaczmarczy could you add link to patch in order to proceed with reproduction step:
"Apply patch that allows to change dropdownmenu text on fly"

Mentioned PR link: https://github.com/Samsung/TAU/pull/352
This PR is available since TAU 1.1.4 and 1.0.7


Access to unused GPIO

Hello
I am EricF1. To your request, i open this issue.
Thank you for paying attention to my request.
I control my Velux shutters with ESPHome using a homeassitant switch which controls a GPIO. I connected each button of a Velux remote control to a GPIO (one for up, one for down). The homeasssitant switch controls the power supply to the GPIO for 500ms which closes the remote control button. (Simulation of pressing the remote control button)
You can watch
https://esphome.io/components/switch/gpio.html
for the code that inspired me. There is no limit switch and the duration is not necessary as it can be set in homeassistant.
In fact, you just need access to the unused GPIO via a switch exposed in homeassistant to be able to use them as you want through HomeAssistant (control of a relay for a garage door, a lamp, simulation of pressing a button ...).
This is the code I use in ESPHome:
switch:

platform: gpio
pin: 12
name: "Velux Up"
id: VeluxUp
on_turn_on:

delay: 500ms
switch.turn_off: VeluxUp

platform: gpio
pin: 13
name: "Velux Dwn"
id: VeluxDwn
on_turn_on:

delay: 500ms
switch.turn_off: VeluxDwn

platform: gpio
pin: 14
name: "Velux Stop"
id: VeluxStop
on_turn_on:

delay: 500ms
switch.turn_off: VeluxStop
cover:

platform: template
name: "Velux Esph"
open_action:

switch.turn_on: VeluxUp
close_action:
switch.turn_on: VeluxDwn
stop_action:
switch.turn_on: VeluxStop
optimistic: true
assumed_state: true

Thank you for your attention and at your disposal for tests if necessary.
Eric

How many relays do you have?  Is pin 14 actually attached to a relay?

Hello
I don’t drive the remote command with a relay but with a optocoupler.
You can see information in the pdf file (in french)  or
mrflobow/velux_remote: ESPHome Config for Velux Remote + Wemos D1 Mini (github.com) https://github.com/mrflobow/velux_remote
I use a Wemos D1 mini for my velux covers. Pin 12 for up, 13 for down and 14 for Stop. The stop is not obligatory.
But any output GPIO of the ESP32 will be OK. The GPIO can be used directly if we need a direct voltage or can drive a relay via a transistor, a led directly or simulate a push button with a optocoupler.
at your disposal for further information if necessary
Thanks
Eric
De : rstrouse @.***
Envoyé : mercredi 4 octobre 2023 17:41
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
How many relays do you have? Is pin 14 actually attached to a relay?
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1747065319 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE4CUJKVQXAGOBMDGR3X5V7Q3AVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGA3DKMZRHE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CEZPKNJWFE2MVPG2APTX5V7Q3A5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIEIM6O.gif Message ID: @.*** @.***> >

I see.  A stop relay is really not needed.  The only reason for that would be if you were connecting to another remote and these were inputs.  The way this will work is when moving up the up pin will be pulled high and the down pin will be pulled low.  Then when moving down the down pin will be pulled high and the up pin will be pulled low.  When at rest neither pin will be pulled high.
I assume the motors only have forward and reverse.

Good morning
Yes the relay is not needed.
In the circuit to control the up button for example, the GPIO is set high for 500ms. The optocoupler LED is lit and drives the optocoupler transistor, which brings the Up button into contact with ground. We therefore have a simulation of pressing the button.
It's the same thing for the down GPIO (button).
The goal is just to be able to control the GPIOs by putting them at high level for a time.
Via the switch (linked to the GPIO) that you expose in homeassistant you can set the delay (for 500ms to control a garage door or a shutter for example or for 10 minutes to turn on a light via a relay or a LED directly).
Have a good day.
Eric
De : rstrouse @.***
Envoyé : mercredi 4 octobre 2023 23:24
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
I see. A stop relay is really not needed. The only reason for that would be if you were connecting to another remote and these were inputs. The way this will work is when moving up the up pin will be pulled high and the down pin will be pulled low. Then when moving down the down pin will be pulled high and the up pin will be pulled low. When at rest neither pin will be pulled high.
I assume the motors only have forward and reverse.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1747662259 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CEZGXA52FA5QAFQBM7DX5XHVVAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGY3DEMRVHE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CE73Y4JXYLAI2KSOKLTX5XHVVA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIFM23G.gif Message ID: @.*** @.***> >

I added GPIO motor support so please try this out and let me know how it is working.  This should operate your GPIO shades just like they were hooked up to a radio so pull the firmware and application binaries from the main repository and update your device.
Firmware
Application
After you have updated go to the shade definition that is for GPIO and select GPIO as the protocol.  This should then allow you to select the UP and DOWN gpios.  The up pin will be pulled high when the shade is moving up and the down will be pulled low.  It will reverse when going down.  Stop will pull both pins low.  Let me know how it works.

Here is a quick writeup on configuration.
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Controlling-Motors-with-GPIO

Hello
I quickly looked at your messages. I'm busy this weekend, I am at work.
I will test the new features as soon as possible and let you know.
Thanks for the work.
Eric
De : rstrouse @.***
Envoyé : vendredi 6 octobre 2023 02:56
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
Here is a quick writeup on configuration.
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Controlling-Motors-with-GPIO
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1749845701 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE6YC376T7OELA3DNS3X55JJTAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHA2DKNZQGE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CE2JOTCFPGKOP4Y4UTLX55JJTA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIJSDMK.gif Message ID: @.*** @.***> >

Hello
Thanks another time for your very good job.
I made some test with the 2.1.9 firmware and application.
The GPIO are working OK except for the dry contact.
But some remarks :
The GPIO are working OK with all type of shade you choose but I don’t like the fact that the GPIO is at a high level as long as the shade is going up or down. For exemple, the velux shade is going down in 29 seconds, value that i put in the up and downtime  text box. So the GPIO is at high level during all the moving time (so it consumes battery and I don’t know if the components of the remote command like this). The command for velux shade need only a pulse on the remote button to go down or up. I try to put 100ms in the up and down time and it’s enough to command the shade (so GPIO at high level for 100ms). The shade stop alone with the end stop in the shade motor. In this case, The 100ms are enough to command the shade but the icon of the position of the shade is not good as the complete moving time of the shade is 29sec.
A solution I can propose (but I am not a good programmer and I don’t know the procedure you use in your program) is to separate the time of the GPIO is high and the time of the shade is moving. If then you choose GPIO You can add, a check box and a text box to choose if you want a continuous high level of the GPIO (the duration of the up or down time as actually) or a pulse time and the time in the new text box. With this, the time of the GPIO is high is not linked with the moving  time of the shade (the icon position is OK) and you can command all type of shades, continuously pressed button ou pulse button. Easy to say …
Proposition : adding  third GPIO to connected to MY button (stop button).
If I choose Dry contact, nothing happen. I don’t have oscilloscope but only a voltmeter so I can’t see if the GPIO is going high for a very short moment or no. I try to connect my remote command (same connection as the shade test) and nothing happen. So if the GPIO is going high, the duration is low than 100ms (I can see on the voltmeter the GPIO going high If I choose 1 button garage with 100 ms time) and not enough to simulate a press on the  button of the remote command.
Another proposition to correct this, is that you have to make  the same fonction as the 1 garage button actually but without time and with only one GPIO. A press on the button put the GPIO high, a new press on the button put the same GPIO down. Or also a time box where you can put  0 to have the GPIO high until you press the button a new time or put how many time you want the GPIO high and after this time, the GPIO going down automatically. This will be a good way to command light, irrigation ou most other things (I don’t know if you want to limit your program to shutters management).
These are my observations.
It's functional but with some possible arrangements that will make your program (it is already excellent) better.
Thanks for your attention and always at your disposal for new tests if you want.
Excuse me for writing English( I am more comfortable in French), I hope it’s understandable.
Have a good week end.
Eric
De : rstrouse @.***
Envoyé : vendredi 6 octobre 2023 00:00
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
I added GPIO motor support so please try this out and let me know how it is working. This should operate your GPIO shades just like they were hooked up to a radio so pull the firmware and application binaries from the main repository and update your device.
Firmware https://github.com/rstrouse/ESPSomfy-RTS/blob/main/SomfyController.ino.esp32.bin
Application https://github.com/rstrouse/ESPSomfy-RTS/blob/main/SomfyController.littlefs.bin
After you have updated go to the shade definition that is for GPIO and select GPIO as the protocol. This should then allow you to select the UP and DOWN gpios. The up pin will be pulled high when the shade is moving up and the down will be pulled low. It will reverse when going down. Stop will pull both pins low. Let me know how it works.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1749711791 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE3N4ODHHU5CEMGPR5DX54UWBAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZG4YTCNZZGE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CE5W2A45NKHQVXP2NE3X54UWBA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIJJ526.gif Message ID: @.*** @.***> >

A photo of the test
De : rstrouse @.***
Envoyé : vendredi 6 octobre 2023 00:00
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
I added GPIO motor support so please try this out and let me know how it is working. This should operate your GPIO shades just like they were hooked up to a radio so pull the firmware and application binaries from the main repository and update your device.
Firmware https://github.com/rstrouse/ESPSomfy-RTS/blob/main/SomfyController.ino.esp32.bin
Application https://github.com/rstrouse/ESPSomfy-RTS/blob/main/SomfyController.littlefs.bin
After you have updated go to the shade definition that is for GPIO and select GPIO as the protocol. This should then allow you to select the UP and DOWN gpios. The up pin will be pulled high when the shade is moving up and the down will be pulled low. It will reverse when going down. Stop will pull both pins low. Let me know how it works.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1749711791 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE3N4ODHHU5CEMGPR5DX54UWBAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZG4YTCNZZGE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CE5W2A45NKHQVXP2NE3X54UWBA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIJJ526.gif Message ID: @.*** @.***> >

Unfortunately, your pictures and video never made it to your post so I am completely in the dark.  Are you controlling a remote with the GPIO or are you operating relays for a motor?

Ok I am not AT home i Can t send  you again thé picture. (It s only a picture of  connections.)I don t sent you vidéo.
I control a remote with 3 Gpio. One for the UP Burton of thé remote one for down Button and one for stop Button.
F1ISJ Eric
Le 7 oct. 2023 à 17:04, à 17:04, rstrouse @.***> a écrit:

Unfortunately, your pictures and video never made it to your post so I
am completely in the dark.  Are you controlling a remote with the GPIO
or are you operating relays for a motor?
--
Reply to this email directly or view it on GitHub:
https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1751733511
You are receiving this because you authored the thread.
Message ID: @.***>

Just to be sure I understand.  It sounds like you dissected a remote and hooked it up to GPIOs.  Hence the reason for the momentary presses.

Alright I think I have figured out what you are doing.  You have torn apart an existing IO-HomeControl remote and are triggering button presses on that remote.  I originally thought we were talking about a bare naked motor that had no radio control on it.  I had it in my head that since there were not limit switches that you must be dealing with nude motors.  My bad but now ESPSomfy RTS supports this configuration.
However, I also added support for your configuration.   In this configuration ESPSomfy RTS will provide momentary commands through the GPIO to the buttons on your remote.  This also means that you must define the pin for the my button.
Please update your firmware and application from the main repository.  This has not been released yet as I need to enlist you as my test subject.   After you update the application binary please hard refresh your browser.  This is critical since you have already installed the pre-release of the application files.  If you are running on a windows system CTRL+F5 in the browser will do the trick but Apple products have no such function so you have to clear your browser cache.
After you have cleared the browser cache, select Remote from the protocol dropdown and the GPIO for My will appear.  Fill this in with the gpio that you have attached to the my button on that remote and press Save Shade.  The duration of the button presses are defined by the number of repeats.  The larger the number of repeats the longer the button will remain pressed.  Repeats from the Virtual Remote also work with this.

The main issue with this implementation is that there is no feedback from the IO remotes.  So if you use another remote the positions will be messed up.    It's cute but maddening.  However, if you use RTS remotes and link them to a channel, then pitch your IO remotes over the fence into your neighbors yard you will have control from a remote and the positions will be retained.
When I get a spare moment I will update the docs for this.

Hello
Here is my test result. I put it in table format, it’s simplier.
Remote Roller
during repeat time (pulse)
Up button
Dwn button
Stop Button
GPIO Up
High
L
L
GPIO Dwn
Low
H
L
GPIO Stop
L
L
H
All is working OK for what I have to do. A command for roller that need a pulse pressed button.
Remote garage 1 button
during reapeat time (pulse)
1st click
2nd click
3rd click
4th click
5th click
GPIO Up
L
L
L
L
L
GPIO Dwn
L
L
L
L
L
GPIO Stop
H
H
H
H
H
You can remove the GPIO Up and Down. Only the Stop GPIO is changing state every time you click the button (High for a pulse / low / High for a pulse, low …)
Remote Dry contact
during repeat time (pulse)
1st click
2nd click
3rd click
4th click
5th click
GPIO Up
L
L
L
L
L
GPIO Dwn
L
L
L
L
L
GPIO Stop
H
H
H
H
H
Same behavior as above, same remark (remove 2 GPIO)
Relay Roller
during Up and Dwn time
Up button
Dwn button
GPIO Up
H
L
GPIO Dwn
L
H
It’s seem OK for me if you want to drive a roller that need a continuous press on a up or down button (perhaps the necessity to have a stop button (without GPIO linked) that put the 2 GPIO (up and down LOW)
Relay Garage 1 button
during Up and Dwn time
1st click
2nd click
3rd click
4th click
5th click
GPIO Up
H
L
L
L
H
GPIO Dwn
L
L
H
L
L
Also OK for me if you want to drive a roller that need continous pressed button with a stop (Up, stop, down, stop, up, stop, down ……)
Relay Dry contact
1st click
2nd click
3rd click
4th click
5th click
GPIO Up
L
L
L
L
L
GPIO Dwn
L
L
L
L
L
Not working. All the GPIO are always low.
I think to have a complete set of possibility, in this case (Relay / Dry contact) , there are 2 possibilities
you can put only 1 GPIO drived by one button. Each time tou press the button, the GPIO is changing state (toogle button)
or
2 buttons, one for ON, one for OFF (or STOP) . ON button pressed, the GPIO is High, OFF (or STOP) button pressed, the same GPIO is going Low.
To have this behavior : continually On/ continually off / continually on / continually off / continually on …
That is the behavior we are waiting for driving a relay.
Relay Dry contact
1st click or ON button
2nd click or STOP button
3rd click or ON button
4th click or STOP button
5th click
GPIO Up
H
L
H
L
H
You have done a great job again. THANKS.
Always at your disposal for further information or test
Eric

For information,
1 time repeat here is enough to put the remote command ON (Velux rollers). I put 2 in the box to be sure.
Good evening.
Eric

I think the formatting of your table didn't work.  I'm not sure what worked and what didn't.  Perhaps this is because you are posting via e-mail.

I have tried to put this together from the formatting of your post.  It looks like everything is working except the 1-button options for Relay and Remote.  Is that correct?

Hello
This is the result in pdf in the file
You are right. All is working except the mode relay/dry contact
Eric
De : rstrouse @.***
Envoyé : mardi 10 octobre 2023 03:01
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
I think the formatting of your table didn't work. I'm not sure what worked and what didn't. Perhaps this is because you are posting via e-mail.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1754145202 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE3PR6LSXKY7VVUIUBTX6SM3RAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUGE2DKMRQGI .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CEYSSGFFQDVNHOFNGULX6SM3RA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIRYQ3E.gif Message ID: < @.> @.>

Hello
Sorry but i will be away from home for 5 days so can’t test the new version.
Did you have a direct mail without passing via github, I can send you the pdf before going this afernoon. ?
Eric
De : rstrouse @.***
Envoyé : mercredi 11 octobre 2023 00:35
À : rstrouse/ESPSomfy-RTS @.>
Cc : radiorx49 @.>; Author @.***>
Objet : Re: [rstrouse/ESPSomfy-RTS] Access to unused GPIO (Issue #165)
Unfortunately, the pdf is stripped when you respond via e-mail. However, I posted a fix for the 1-button garage door controller and dry contact.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/165#issuecomment-1756360080 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2CE2SALF4OPKZVTW6XRLX6XEPNAVCNFSM6AAAAAA5SYXBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGM3DAMBYGA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASK2CE5P6MKX7OV5K2G2WRLX6XEPNA5CNFSM6AAAAAA5SYXBXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIV7WZA.gif Message ID: @.*** @.***> >

I have gone through all the scenarios, updated the GPIO wiki, and published v2.1.9.  I have it all covered now for all the shade types.  It also supports dry contact and 1-button garage doors correctly now.

I am going to close this for now.  I believe we have all the bases covered with the release of v2.1.9 and v2.2.0.


no compile

src\Application.cpp:1:22: fatal error: TFT_eSPI.h: No such file or directory

Looking for TFT_eSPI.h dependency? Check our library registry!

CLI  > platformio lib search "header:TFT_eSPI.h"
Web  > https://platformio.org/lib/search?query=header:TFT_eSPI.h

compilation terminated.
Compiling .pio\build\ttgo\src\UI\GraphicEqualiser.cpp.o
.pio\libdeps\ttgo\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp: In static member function 'static void ESP32RMTController::interruptHandler(void*)':
.pio\libdeps\ttgo\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp:318:10: warning: unused variable 'stuff_to_do' [-Wunused-variable]
bool stuff_to_do = false;
^
*** [.pio\build\ttgo\src\Application.cpp.o] Error 1
src\UI\GraphicEqualiser.cpp:3:22: fatal error: TFT_eSPI.h: No such file or directory

Looking for TFT_eSPI.h dependency? Check our library registry!

CLI  > platformio lib search "header:TFT_eSPI.h"
Web  > https://platformio.org/lib/search?query=header:TFT_eSPI.h

compilation terminated.
*** [.pio\build\ttgo\src\UI\GraphicEqualiser.cpp.o] Error 1

Can you clone the repository again and make sure you use --recursive flag.
git clone --recursive git@github.com:atomic14/esp32-tft-audio-monitor.git

Cloning into 'esp32-tft-audio-monitor'...
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Please check the docs here. I think you have not added your public key to GitHub.
https://docs.github.com/en/github/authenticating-to-github/troubleshooting-ssh/error-permission-denied-publickey


[MSL] Translate SPV_NV_mesh_shader Mesh shaders to Metal 3 mesh shaders

SPV_NV_mesh_shader seems to map quite well to Metal 3 mesh shaders and we'd need to be able to translate them for https://github.com/KhronosGroup/MoltenVK/issues/1618.
I looked into implementing this for naga and got fairly far, but ran into a potential driver issue without much ability to debug it. I'm dumping some thoughts on how mesh shaders could be translated for SPIRV-Cross here.
Here's a sample mesh shader, adapted from http://zone.dog/braindump/mesh_shaders/:
#version 450
#extension GL_NV_mesh_shader : require
layout(local_size_x=1) in;
layout(max_vertices=4, max_primitives=2) out;
layout(triangles) out;

out gl_MeshPerVertexNV {
    vec4 gl_Position;
} gl_MeshVerticesNV[];

out uint gl_PrimitiveIndicesNV[];
layout(location = 0) out float vertexColor[];

void main()
{
    gl_MeshVerticesNV[0].gl_Position = vec4(-1.0, -1.0, 0.0, 1.0); // Upper Left
    gl_MeshVerticesNV[1].gl_Position = vec4( 1.0, -1.0, 0.0, 1.0); // Upper Right
    gl_MeshVerticesNV[2].gl_Position = vec4(-1.0,  1.0, 0.0, 1.0); // Bottom Left
    gl_MeshVerticesNV[3].gl_Position = vec4( 1.0,  1.0, 0.0, 1.0); // Bottom Right

    vertexColor[0] = 0.0;
    vertexColor[1] = 0.25;
    vertexColor[2] = 0.5;
    vertexColor[3] = 0.75;

    gl_PrimitiveIndicesNV[0] = 0;
    gl_PrimitiveIndicesNV[1] = 1;
    gl_PrimitiveIndicesNV[2] = 2;
    gl_PrimitiveIndicesNV[3] = 2;
    gl_PrimitiveIndicesNV[4] = 1;
    gl_PrimitiveIndicesNV[5] = 3;
    gl_PrimitiveCountNV = 2;
}

The SPIR-V disassembly for this shader compiled with glslc looks like:
; SPIR-V
; Version: 1.0
; Generator: Google Shaderc over Glslang; 10
; Bound: 62
; Schema: 0
               OpCapability MeshShadingNV
               OpExtension "SPV_NV_mesh_shader"
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint MeshNV %main "main" %gl_MeshVerticesNV %vertexColor %gl_PrimitiveIndicesNV %gl_PrimitiveCountNV
               OpExecutionMode %main LocalSize 1 1 1
               OpExecutionMode %main OutputVertices 4
               OpExecutionMode %main OutputPrimitivesNV 2
               OpExecutionMode %main OutputTrianglesNV
               OpSource GLSL 450
               OpSourceExtension "GL_GOOGLE_cpp_style_line_directive"
               OpSourceExtension "GL_GOOGLE_include_directive"
               OpSourceExtension "GL_NV_mesh_shader"
               OpName %main "main"
               OpName %gl_MeshPerVertexNV "gl_MeshPerVertexNV"
               OpMemberName %gl_MeshPerVertexNV 0 "gl_Position"
               OpName %gl_MeshVerticesNV "gl_MeshVerticesNV"
               OpName %vertexColor "vertexColor"
               OpName %gl_PrimitiveIndicesNV "gl_PrimitiveIndicesNV"
               OpName %gl_PrimitiveCountNV "gl_PrimitiveCountNV"
               OpMemberDecorate %gl_MeshPerVertexNV 0 BuiltIn Position
               OpDecorate %gl_MeshPerVertexNV Block
               OpDecorate %vertexColor Location 0
               OpDecorate %gl_PrimitiveIndicesNV BuiltIn PrimitiveIndicesNV
               OpDecorate %gl_PrimitiveCountNV BuiltIn PrimitiveCountNV
               OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
...
%gl_PrimitiveCountNV = OpVariable %_ptr_Output_uint Output
     %v3uint = OpTypeVector %uint 3
%gl_WorkGroupSize = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
       %main = OpFunction %void None %3
          %5 = OpLabel
...
               OpStore %gl_PrimitiveCountNV %uint_2
               OpReturn
               OpFunctionEnd

Metal mesh shaders are marked with [[mesh]] and take a mesh<V, P, NV, NP, T> as input where

V is the per-vertex data, in this casestruct Vertex {
  metal::float4 gl_Position [[position]];
  float vertexColor;
};

P is the per-primitive data, which should be void as there is none
NV is the number of vertices, which is the OutputVertices OpExecutionMode in SPIR-V (4)
NP is the number of primitives, which is the OutputPrimitivesNV OpExecutionMode in SPIR-V (2)
T is the topology which is metal::topology::triangle here as marked by the OutputTrianglesNV OpExecutionMode.

All together you have an input of metal::mesh<Vertex, void, 4, 2, metal::topology::triangle> mesh
The current output of SPIRV-Cross looks like this: (truncated for bevity)
#pragma clang diagnostic ignored "-Wmissing-prototypes"
#pragma clang diagnostic ignored "-Wmissing-braces"

#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

template<typename T, size_t Num>
struct spvUnsafeArray
{
,,,
};

constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u);

struct main0_out
{
    float vertexColor_0;
    float vertexColor_1;
    float vertexColor_2;
    float vertexColor_3;
    float4 gl_Position;
    float4 gl_Position_1;
    float4 gl_Position_2;
    float4 gl_Position_3;
};

unknown main0_out main0()
{
    main0_out out = {};
    spvUnsafeArray<float, 4> vertexColor = {};
    _RESERVED_IDENTIFIER_FIXUP_gl_MeshVerticesNV[0].out.gl_Position = float4(-1.0, -1.0, 0.0, 1.0);
    _RESERVED_IDENTIFIER_FIXUP_gl_MeshVerticesNV[1].out.gl_Position = float4(1.0, -1.0, 0.0, 1.0);
    _RESERVED_IDENTIFIER_FIXUP_gl_MeshVerticesNV[2].out.gl_Position = float4(-1.0, 1.0, 0.0, 1.0);
    _RESERVED_IDENTIFIER_FIXUP_gl_MeshVerticesNV[3].out.gl_Position = float4(1.0, 1.0, 0.0, 1.0);
    vertexColor[0] = 0.0;
    vertexColor[1] = 0.25;
    vertexColor[2] = 0.5;
    vertexColor[3] = 0.75;
    gl_BuiltIn_5276[0] = 0u;
    gl_BuiltIn_5276[1] = 1u;
    gl_BuiltIn_5276[2] = 2u;
    gl_BuiltIn_5276[3] = 2u;
    gl_BuiltIn_5276[4] = 1u;
    gl_BuiltIn_5276[5] = 3u;
    gl_BuiltIn_5275 = 2u;
    out.vertexColor_0 = vertexColor[0];
    out.vertexColor_1 = vertexColor[1];
    out.vertexColor_2 = vertexColor[2];
    out.vertexColor_3 = vertexColor[3];
    return out;
}

gl_BuiltIn_5276 maps pretty easily to mesh.set_index.
gl_BuiltIn_5275 maps pretty easily to mesh.set_primitive_count (might want to only do this per-workgroup).
mesh.set_vertex takes an index and a Vertex struct, which makes mapping the SPIR-V where you set the vertex data values individually a bit tricker as you need to zip them together.

You probably want to end up with an output that looks like:
[[mesh]] void main(
  metal::mesh<main_Output, void, 4, 2, metal::topology::triangle> mesh
) {
    spvUnsafeArray<float, 4> vertexColor = {};
    spvUnsafeArray<float4, 4> gl_MeshPerVertexNV = {};
    gl_MeshPerVertexNV[0] = float4(-1.0, -1.0, 0.0, 1.0);
    gl_MeshPerVertexNV[1] = float4(1.0, -1.0, 0.0, 1.0);
    gl_MeshPerVertexNV[2] = float4(-1.0, 1.0, 0.0, 1.0);
    gl_MeshPerVertexNV[3] = float4(1.0, 1.0, 0.0, 1.0);
    vertexColor[0] = 0.0;
    vertexColor[1] = 0.25;
    vertexColor[2] = 0.5;
    vertexColor[3] = 0.75;
    mesh.set_index(0, 0u);
    mesh.set_index(1, 1u);
    mesh.set_index(2, 2u);
    mesh.set_index(3, 2u);
    mesh.set_index(4, 1u);
    mesh.set_index(5, 3u);
    mesh.set_primitive_count(2u);

    for (uint i = 0; i < 4u; i++) {
        mesh.set_vertex(i, { gl_MeshPerVertexNV[i], vertexColor[i] });
    }

    return out;
}

Given that EXT mesh shaders are in the works, I'd rather wait for that.

yes, VK_EXT_mesh_shader is here! just joining to get updates.. :-)

Made prototype on a weekend: https://github.com/Try/SPIRV-Cross/commit/d83153a1d85277128f4dd66c763b9f4af110ca38
Proper varyings, per-primitive outputs are still TODO, as well as many other things
Here is a code-gen example:
https://shader-playground.timjones.io/85579774a9971f99157fb3c41f8d215e
Some design questions:

Metal shader, unlike glsl, must provide per-vertex output as one write mesh.set(i, all_vertex);
Current workaround for me is to declare all outputs as threadgroup variables and then run post process step:

  // ideally max_vertex<=thread_count and loop should have exactly one iteration
  for (uint spvI = gl_LocalInvocationIndex, spvThreadCount = (gl_WorkGroupSize.x*gl_WorkGroupSize.y*gl_WorkGroupSize.z);
       spvI < 24 /* max_vertex */; spvI += spvThreadCount)
  {
      spvPerVertex spvV = {}; // merged struct with gl_Position and varyings
      spvV.gl_MeshVerticesEXT = gl_MeshVerticesEXT[spvI];
      spvV.gl_MeshVerticesEXT.gl_Position.y = -spvV.gl_MeshVerticesEXT.gl_Position.y;
      spvV.perVertex = perVertex[spvI];
      spvMesh.set_vertex(spvI, spvV);
  }

I know that post-process write-out is not desirable, but so far that is the only idea.

Copy-loop doesn't really work - it assumes that all threads are still active, when loop need to run
Can be fixed by extracting application code into mesh_main (HLSL-like), and have post-process in a real main.
I noticed, that MSL backend doesn't do proxy-main, as HLSL - is there a reason to have this design? In other words, what else can break?

Drafted PR: https://github.com/KhronosGroup/SPIRV-Cross/pull/2074


Fixing docker community link in readme.

The link should now point to Docker Meetup Content from community
repository.

@ManoMarks I missed signing off pull request. I apologize. Thank you for pointing out.
Also I have removed second commit from this pull request and created separate issue #125. I will send another pull  request for the same.

Thanks!


enhance http request builder

support HTTP Trace, Connect, Options in RequestBuilder

Hi @joecwu,
Can you please update to follow our contributing style guidelines here: https://github.com/twitter/finatra/blob/master/CONTRIBUTING.md#style
Thanks!


fix: add proper devices to profiles

the default device is CPU so for Mac we need to set MPS and for Nvidia we need to set CUDA

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Functional tests have been added, if necessary.
[ ] E2E Workflow tests have been added, if necessary.

@cdoern please fix the train section for the m3 pro profile as well
https://github.com/instructlab/instructlab/blob/main/src/instructlab/profiles/apple/m3/m3_pro.yaml


Add staticd to routing suite

Quagga includes staticd, a service for configuring and injecting static routes into the frr suite.  Normally it's not necessary to use this to set up a basic static route in OPNsense, but in certain scenarios it's useful for frr to see the static routes as connected (so they can be leveraged from BGP and OSPF sessions).  I ran into this problem when setting up BGP on my home OPNsense instance to connect to the DN42 project, and the fastest way I could find to work around it was to add my static routes via staticd.  I hate to set up one-off code manually on my relatively clean OPNsense setup, so....
Here's a couple diffs to add staticd to the "Routing" tab.  The only general option is to enable/disable the service, but you can define IPv4 and v6 routes with optional gateways.  I didn't add a dedicated diagnostics entry, since staticd routes show up in the existing views of the system routing table (including in Routing/Diagnostics), and not every feature of staticd is supported - but what's included should work pretty seamlessly.
Happy to reopen as a feature request, or add extra functionality, or modify the included diffs as needed.  It's my first OPNsense pull request, so please let me know what's proper protocol here.

As dicussed in #2284 I'm not sure how this might break the legacy routing behavior. If you consider pulling frr to core there should only be one way to handle routing. If it stays Tier3 plugin happy to have a deeper look

I think I agree with Michael here, if we move FRR to core at some point (which is likely a good idea), we end up with two places to define static routes, one being tightly integrated and being able to track gateway changes and the other one (FRR) not playing by the same rules, which adds confusion and has the risk of breaking the static routes that where already there.
When possible, I would prefer another option to reach the same goals, but in that case it might be better to open a ticket explaining the use-case that's currently not possible and try to seek an alternative option. This likely takes time and user interaction to figure out the options I'm afraid.

staticd interacts with the routing table the same way BGP and OSPF will - routes added via frr (whatever the source) will be added and removed when they cease being relevant.  If an interface goes down the route disappears, as this is a function of the kernel routing table.  Existing routing behavior is unchanged (unless you turn on frr in the first place, in which case it's very likely you want more than basic routing).
One key motivator was mentioned in core issue #4995 (which is why I didn't open a new issue here): sometimes you want to have more kernel-based routes than you advertise via BGP/OSPF.  In this case you can't redistribute kernel routes, but you can redistribute static routes (e.g., those added via staticd).  Unfortunately, without this PR there's no way to add static routes in a way frr can see.  This isn't exactly typical behavior, so I could see adding some cautionary text somewhere (as @mimugmail mentioned in #2284 ).
In my case, I need to add a route to a specific IP address via wireguard interface - and the IP is outside the network assigned to the interface.  wgX is effectively a point-to-point interface, but unless a broader subnet is assigned (like the link-local networks for IPv6) the default routing table won't include a path to this IP.  It's possible to explicitly add this route via system tables, but frr won't see it (particularly if we're not re-exporting kernel routes) and will not believe the target IP is connected.  Since the target IP is my BGP peer, the peer is assumed to be not connected and no routes are learned.  With staticd this becomes an easy fix; just add an explicit route to the BGP peer and things work.  Yes, mistakes here can create conflict with system-defined (or wireguard-defined) routes....but OPNsense lets me override default behavior in other areas (like DNS), so I've always considered the plugin system to be a definite strength.
I'd like to do whatever's necessary to get functionality like this merged - including adding support for other staticd options (like SR-TE) that system routing will likely never support.  @AdSchellevis, you mentioned opening a support issue and starting some user interaction; is that the appropriate next step here?  If so, I'm happy to open something along the lines of #1770, #2284, or #3128 to track the concern.

@fmeppo thank you for explaining the need, I have to think about this for a bit. Let's keep this PR open for further discussion and skip additional tickets as they already seem to be there.
In short, we need to redistribute a (set of) route[s], but when choosing redistribute kernel, we're offering too much to the other end, right?

Redistribute routes of staticd works a bit better compared to system routes in FreeBSD. In the past we had some forum posts also complaining about it. Never found the time to compare both myself

@AdSchellevis - you're correct, in that staticd helps redistribute routes (when we can't redistribute all kernel routes).  I hit that case, and one extra: if I have a kernel route to my BGP peer traffic will flow but frr does not see the BGP host as connected.  frr expects BGP peers to either be in the same subnet as my router's IP or have a route defined (within the frr framework).  staticd works around both issues nicely.

When using OSPF, I expected to be able to publish only a partial set of my static routes using route-maps, but to be honest, after setting up a simple setup and publishing "kernel" I seem to end up with all of them instead of the intended ones. BGP might be different, but having a separate set of static routes for redistribution might at least be a lot easier.
I still think we should make the purpose very explicit in some way, I'll put this PR on my list of things to review and merge.

Exactly.  You can do some filtering with BGP route maps, but that gets tricky (and your route map config becomes as complex as your system route config, excluding stuff you don't want to redistribute).
I'm happy to modify these diffs as needed, just let me know.  In the meantime, thanks for the reviews.

@fmeppo I've created a new branch (https://github.com/opnsense/plugins/tree/frr_staticd) to restructure the code a bit and make it more inline with how core components work. My current modifications are https://github.com/opnsense/plugins/commit/2835fa6a0d908be6b3f381b305e4f0dcd23ea87f, I'm not finished yet as some validations are still missing, but I wanted to ask you to take a look anyway.

@fmeppo I've opened a new PR using your code with my additions, can you take a look at https://github.com/opnsense/plugins/pull/3904 and let me know if this works for you?


User study - Include line number in language detection

When issue #413 occurred, it was very hard to know what part of the code was being referenced. Adding a line number to the feedback would help the user better understand where the problem is and also helps to better troubleshoot a potential bug.

Hi @michaelrobbe, just to check, can we close this? (If so, please feel free to do that; I wasn't sure.)

Fixed in #557. Closing


libpng error: attempt to png_read_frame_head() but no acTL present

libpng error: attempt to png_read_frame_head() but no acTL present Error on iOS 13+. Any Idea?

v2 was released and it does not depend on libpng anymore, so this would not happen.


Add fields to NIC and Storage types

Opening this to start a discussion: are these the right fields?
I was going by the wireframes which are in turn based on the kubevirt CRD.
Once we are happy with the fields, I will also update the defaults.

I think it would help if each of the fields included a comment about what type of data we expect it to hold and where we expect to find that data.

/lgtm

@honza
For the disk, do we know what type of disk it is?  I see that we know if it's HDD by the "rotational" (true).  Can we tell if it's SSD or NVMe, or do we figure this out by parsing "name"?
Here's what @dhellmann shared as an example of the discovery data we get from ironic about a disk:
{
"size":<PHONE_NUMBER>76,
"serial": "6b083fe0d2d0eb001bd2cc7e0fc68486",
"wwn": "0x6b083fe0d2d0eb00",
"rotational": true,
"vendor": "DELL",
"name": "/dev/sda",
"wwn_vendor_extension": "0x1bd2cc7e0fc68486",
"hctl": "0:2:0:0",
"wwn_with_extension": "0x6b083fe0d2d0eb001bd2cc7e0fc68486",
"by_path": "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0",
"model": "PERC H710"
}
For the details (when we show serial number, it'd be nice to also things like the following for SSDs if possible):

remaining rated write endurance
power on hours

Here's the very latest Disks table screen based on our discussion.

The introspection tool doesn't gather those stats. I don't know if Ceph could or not.

@dhellmann ceph-volume doesn't provide them today, and also not sure if Ceph can get those stats either.
<EMAIL_ADDRESS><EMAIL_ADDRESS>


Rm team update

Description
Updated the "team" page to include an "about me" for myself.
https://flowforge.com/team/
note - I used a personal headshot that is missing the flowforge background.  An art request is in to take care of this here - https://github.com/flowforge/website/issues/845
My current headshot can be replaced once the art request is completed.
Checklist

[x] I have read the contribution guidelines
[x] I have considered the performance impact of these changes
[x] Suitable unit/system level tests have been added and they pass - automated test passed
[x] Documentation has been updated - Not required

Merging is pending the headshot update by @Yndira-FlowForge, otherwise it looks good to merge!

I updated the image, but since the title is taking two lines, the cards next to this have a bigger overlay than they should

Need to fix that before merging.

The easy fix may be to just change my title to "developer advocate" and remove the rest of the detail. I do like having industrial automation in my title but it seems to break the flow.

change my title to "developer advocate" and remove the rest of the detail

@Hisma just did that, we can work on making space for longer titles without breaking the flow later.


Project Zomboid - Workshop maps not loaded into serrvertest_spawnregions.lua

After configuring server with mods, Workshop ID's and Map names the server does not configure the serrvertest_spawnregions.lua to contain the maps in their SteamApps location.

Yes, you have to do that manually. In the project-zomboid channel in the AMP Discord, there are instructions for adding map mods:
to get map mods to work in AMP follow these steps.

1) Install the mod by using the workshopID and ModName in the corresponding boxes in server settings.
2) in "Server Settings->Maps" add at the beginning the modded map name eg, followed by Muldraugh, seperated by semicolon: 'RavenCreek;Muldraugh, KY'
3) find the folder structure to the spawnregion.lua in the mod folder. eg: "media/maps/RavenCreek/spawnpoints.lua" and add it to "File Manager/Zomboid/Server/ServerName_spawnregions.lua"

You will now have the map loaded into the game, and the spawn points added to the character creator.

Hi Greelan,
Thanks for your reply, and sorry for annoying you so much.
So I came to this conclusion independently and added them to the file. When
I load into the server, it skips the map select and goes straight to
character creation. And when the character loads in, it’s into a template
world.
This may have more to do with mod compatibility, but have you seen this
before?
On Thu, Nov 3, 2022 at 7:52 PM Greelan @.***> wrote:

Yes, you have to do that manually. In the project-zomboid channel in the
AMP Discord, there are instructions for adding map mods:
to get map mods to work in AMP follow these steps.

Install the mod by using the workshopID and ModName in the corresponding boxes in server settings.
in "Server Settings->Maps" add at the beginning the modded map name eg, followed by Muldraugh, seperated by semicolon: 'RavenCreek;Muldraugh, KY'
find the folder structure to the spawnregion.lua in the mod folder. eg: "media/maps/RavenCreek/spawnpoints.lua" and add it to "File Manager/Zomboid/Server/ServerName_spawnregions.lua"

You will now have the map loaded into the game, and the spawn points added to the character creator.
—
Reply to this email directly, view it on GitHub
https://github.com/CubeCoders/AMPTemplates/issues/225#issuecomment-1302861565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLE6AAVEDPZOLTWZF6S4O3WGRT6FANCNFSM6AAAAAARWWT2JU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks, -Tom Thomas Fons Revilla @.***<PHONE_NUMBER>

Also, I’m not finding the workshop content under /media. They’re all still
in Steamapps/workshop/downloaded
On Thu, Nov 3, 2022 at 8:39 PM Thomas Fons Revilla @.***>
wrote:

Hi Greelan,
Thanks for your reply, and sorry for annoying you so much.
So I came to this conclusion independently and added them to the file.
When I load into the server, it skips the map select and goes straight to
character creation. And when the character loads in, it’s into a template
world.
This may have more to do with mod compatibility, but have you seen this
before?
On Thu, Nov 3, 2022 at 7:52 PM Greelan @.***> wrote:

Yes, you have to do that manually. In the project-zomboid channel in the
AMP Discord, there are instructions for adding map mods:
to get map mods to work in AMP follow these steps.

Install the mod by using the workshopID and ModName in the corresponding boxes in server settings.
in "Server Settings->Maps" add at the beginning the modded map name eg, followed by Muldraugh, seperated by semicolon: 'RavenCreek;Muldraugh, KY'
find the folder structure to the spawnregion.lua in the mod folder. eg: "media/maps/RavenCreek/spawnpoints.lua" and add it to "File Manager/Zomboid/Server/ServerName_spawnregions.lua"

You will now have the map loaded into the game, and the spawn points added to the character creator.
—
Reply to this email directly, view it on GitHub
https://github.com/CubeCoders/AMPTemplates/issues/225#issuecomment-1302861565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLE6AAVEDPZOLTWZF6S4O3WGRT6FANCNFSM6AAAAAARWWT2JU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks, -Tom Thomas Fons Revilla @.***<PHONE_NUMBER>

--
Thanks, -Tom Thomas Fons Revilla @.***<PHONE_NUMBER>

Are you using the SteamCMD and Updates box, rather than the Mod and Workshop ID boxes under Server Settings? The proper way is the latter, which has the server do the downloading on startup.

Hi Greelan,
After reviewing the Discord, and reviewing the desktop versions folder
structure I have realized I shouldn’t have pointed my spawn location LUA to
the Workshop path. Will test later and report back.
On Thu, Nov 3, 2022 at 10:28 PM Greelan @.***> wrote:

Are you using the SteamCMD and Updates box, rather than the Mod and
Workshop ID boxes under Server Settings? The proper way is the latter,
which has the server do the downloading on startup.
—
Reply to this email directly, view it on GitHub
https://github.com/CubeCoders/AMPTemplates/issues/225#issuecomment-1302954223,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLE6AC4NE5XZ6I2RJYQFTLWGSGHVANCNFSM6AAAAAARWWT2JU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks, -Tom Thomas Fons Revilla @.***<PHONE_NUMBER>


No such file or directory

I've added deploy/post-deploy to my repository, ensured it's exectuable, and pushed. At the end of the build I see
-----> Running post-deploy
remote: /exec: line 6: test -f deploy/post-deploy: No such file or directory

I can verify that the file is indeed in the container, and it doesn't even look like this is the correct message it would print if it actually couldn't find it. Any suggestions?

Hi @bdentino
Thanks for the report. I will try to reproduce the issue.
What is your docker and dokku version?

Thanks!  Did anyone find a fix yet?

same too me :(

Big thanks to @shingara for resolving that issue.
@bdentino @StefanDorresteijn could you confirm whether the newest version works for you?


How to split the canvas content into parts and how to print the splitted parts into multi pages with high resolution?

I’m using the React app and I have this code  with html2canvas & jsPDF node modules.
Is it possible to split the canvas content into parts. if the content of div (bi-diagram-canvas) has a higher width & higher height? Can anyone tell me how can we do this without affecting the actual content?
Here ”bi-diagram-canvas” specifies child element and innerHtml contains div and svg elements.
const input = document.getElementById('bi-diagram-canvas');
var w = document.getElementById("bi-diagram-canvas").offsetWidth;
var h = document.getElementById("bi-diagram-canvas").offsetHeight;
var height = h/2
html2canvas(input)
.then((canvas) => {
var imgData = canvas.toDataURL('image/png');
var doc = new jsPDF('p', 'mm', [w, height]);
doc.internal.scaleFactor = 30;
doc.addImage(imgData, 'PNG', 10, 10, w, height, '', 'FAST');
doc.autoPrint();
doc.output('datauri');
doc.output('dataurlnewwindow');
doc.save('download.pdf');
})
;

Duplicate of #3258. Please don't open the same issue twice, thanks.


C# generic base class not handled

Doesnt work:
public class ListOfStates : Seed<DataSeedTestContext>
{ }

Works
public class ListOfStates : Seed
{ }

Is this still an issue?  Is so could you create a quick jsfiddle with a working example?
A quick template you can fork:
https://jsfiddle.net/ajoshguy/nagkqytv/
I think this is because <> aren't currently allowed  in a class declaration... would this be a problem for namespaces also, or just classes?

Weekend ping.

It appears to work now
https://jsfiddle.net/L1ysbh6c/

Awesome.  Thanks.


please include LICENSE files in repo + published crates

Both the MIT and Apache-2.0 licenses require that redistributed sources contain a copy of the license terms. The lack of license text is technically a violation of the terms, which is a problem for both crates.io and Linux Distributions which redistribute this crate.
You can look at popular crates like serde_json how this is usually handled for projects that are "MIT OR Apache-2.0" dual-licensed.

Good catch, I released version 0.4.0 to include the files :)

@sharkdp Pinging you in case you want to also issue a release of bat with this new version.

Thanks for the quick fix!

Updated in bat, thanks for the ping https://github.com/sharkdp/bat/commit/8676bbf97f2832ad2231e102ca9c9b7b72267fda


Can't preview the charts

I‘ve forked the swiftuicharts,and cloned by xcode.
but the charts can't be previewed.
for example,I  select the multiLineChartView ,and click the preview
nothing display in the canvas

I just cloned it yesterday and it works for me. Are you using it in SwiftUI?

yeah, the same ,no lines inside the chart, just the chart frame shows.


Increase war ops evac time

About the PR

increased disabled evac after declaring war from 15 to 25 min
Why / Balance

give nukies some more time
Technical details

add another TimeSpan variable WarEvacShuttleDisabled to NukeopsRuleComponent and use it in the system instead of WarNukieArriveDelay for comms console
Media

no
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[ ] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

don't know if it deserves, maybe not
Changelog

:cl:

tweak: Disabled evac after declaring nuke war is increased from 15 to 25 minutes.

cant we make it using cvar

cant we make it using cvar

out of scope of this pr

This one should get admin approval first

We had an internal poll and this was approved. One problem with this could be rounds where warops is announced and someone accidentally or intentionally singulooses/teslooses at roundstart, causing the players having to wait longer to be able to restart the round. But we can give it a try and see how it goes.

All good by me then


Errors after rendering: TypeError: e.enum.map is not a function

Hi,
we are facing a issue after the page is loaded:

This error occures nearly 500 times and i think it has a bad impact on the load times.
Is this already known or en environment specific issue?
I have tried embedding rapidoc via unpack and created a local copy and load it too.

I wont be able to comment much on this error unless I am able to recreate it on my end
what I can say is

It isnt a know issue
most likely it is stemming from an improperly formatted spec (just a guess coz, it appears after the spec is loaded and enum.map in RapiDoc is only used while reading schemas from the spec)

I would suggest first try to isolate the issue

try with a valid and minimal spec (if the error is gone then its the spec)
If it is still an issue then try to isolate your environment/build process

if nothing works,
provide me with a spec so that I can generate the error on my end.

Hi,
thank you for the fast response. I will try the advised steps and would open a new issue then if i know more about the issue.
Thank you!
Selcuk


no xmls in the downloaded mil_data.zip

Hi,
Why i can't find any xmls in the textures directory when i have downloaded the mil_data.zip?
Looks for your help.

Make sure that when you run ./scripts/get_data.sh, no error occurs.


Update master-data-services-add-in-for-microsoft-excel.md

Added the Note section that talks about setting the Office Automation Security level to be set to 1 [Macros enabled (default)] or 2 [Use application macro security level] for Excel add-in to function

@KrishnakumarRukmangathan : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

It's unclear to me what the brackets in the revision indicate, so I've changed them to parentheses and will merge now. Thanks.


Crashes when serene seasons is installed (fabric+forge connector)

Is it a mod compatibility issue?
Yes
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
https://www.curseforge.com/minecraft/mc-mods/serene-seasons
Minecraft version
1.20.1
Describe the issue
when I click on "play selected world", the game will crash with exit code -1.
crash-2024-07-07_03.31.35-server.txt

Yeah
As I removed the serene seasons mod it won't crash
But textures are not loading for me
I'm still diagnosing the problem by removing some mods


FA2 requires that tokens actually transfer

This PR removes mention of soulbound tokens. You could create a token type that can't be transferred, but TZIP-12 and TZIP-7 require that the tokens actually transfer when you call the transfer entrypoint, therefore they can't support soulbound tokens, so I think the smart thing to do is to remove this mention.

@claudebarde What do you think? Should we mention soulbound tokens or not?

After discussion with Claude, I'm going to remove this mention of non-transferrable tokens. You could hack tokens to work like this but it goes against Tezos token standards and it is a rare use case.


Define more tailwind colors in ui colors

For what version of Nuxt UI are you asking this question?
v3.0.0-alpha.x
Description
How can I add more colors to the selection? Cause I am getting a type error when using a new color.

Duplicate nuxt/ui#2143.


gF works but c-w f doesn't

control-w f doesn't take me to the line number within the fine, whereas gF does, but only within the same window.
My use case is, from bash, going:
somegrep somestring | vim -

which gives me a list of files.  If i were to gF on a result, I get the yes/no/cancel dialog to confirm I want to lose that page forever.  I don't - hence my use of control w then f to open the result in another window. Ideally vim-fetch would do this AND jump to the correct line within that file.

Duh, I wasn’t even aware of the CTRL-W file lookup commands until now. I’ll file your suggestion under future enhancements, but I cannot provide an ETA, as I have no inkling as to when I will have time to invest into this plugin again.

That's ok - workaround is just to do:
<c-w>vgF


[Web][Canvaskit][Safari browser]: When typing Japanese characters, underlines are misaligned and are displayed over the characters looking like strikethrough.

Steps to Reproduce

flutter run -d chrome
Enter Japanese text across multiple lines ( see video )

Expected results:
Underlines always appear below the text.
Actual results:
Lines appear over text
https://user-images.githubusercontent.com/7422251/161366217-4eac94dd-9011-45d8-8e8a-6482ceabc64a.mov

Code sample
import 'package:flutter/material.dart';

class SamplePage extends StatefulWidget {

  SamplePage(): super();

  @override
  SamplePageState createState() => SamplePageState();
}

class SamplePageState extends State<SamplePage> with WidgetsBindingObserver {

  @override
  void initState() {
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
            margin: EdgeInsets.only(top:10, left:10),
            color: Colors.blue.withAlpha(20),
            width: 500,
            height: 300,
            child: TextFormField(
              maxLines: null,
            )
          ),
    );
  }
}

Logs
flutter doctor -v
[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.22000.593], locale ja-JP)
    • Flutter version 2.10.4 at C:\Users\81708\Desktop\develop\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (8 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\81708\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32228.430
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.66.0)
    • VS Code at C:\Users\81708\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.36.0

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.22000.593]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 99.0.4844.84
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 99.0.1150.55

[√] HTTP Host Availability
    • All required HTTP hosts are availab

Because the phenomenon was different. I made it a separate issue, but perhaps related.
https://github.com/flutter/flutter/issues/101222

@hatano0x06
I tried the same scenario using Japanese Kana and Romaji keyboard, but don't get the underline under the text:

Also, the autocomplete text selection box maintains the position properly, it doesn't change its position based on where we are inputing text.
Can you confirm if the behavior you are reporting it specific to flutter web app only ? Does the same occur on non-Flutter web app ?

It not  happen at google translate
But it happen at flutter web
https://user-images.githubusercontent.com/7422251/161527630-3de5a099-5120-4e53-99ce-64bb011e80e2.mov
I uploaded Minimum application to firebase hosting
Can you try it here?
https://storyplotter-cdddb--report1-bthvp69o.web.app

@hatano0x06
Is the deployment done using canvaskit or html rendering ?
Also can you try the same on latest master since skParagraph text renderer has been updated ?

I checked it
version 2.10.4

html : Line not over text
canvaskit : Line over text

Master version

html : Line not over text
canvaskit : Line over text

Thanks for the update. I can now replicate this and it seems to be specific to safari browser only, as on chrome, it works as expected, ie, the underline is not present when typing in chrome browser per my earlier verification.
Safari:

Interestingly, this behavior occurs only using canvaskit. Using html rendering, the underline is not displayed as shown below:

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.4 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.391, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.391 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 08c46bcb58 (2 hours ago), 2022-04-05 22:24:05 -0400
    • Engine revision 45bedbe841
    • Dart version 2.17.0 (build 2.17.0-266.0.dev)
    • DevTools version 2.12.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

It's odd that the issue only occurs on Safari, as the text rendering logic should not depend on browser APIs.
I'll look into it.

Who is in charge of this issue now?

I just checked and now I have the same problem in 3.13.6, both in html and in canvaskit!


Handle lat/lon matchings intelligently

See this discussion: https://github.com/Kitware/candela/pull/171#issuecomment-216887014
Interestingly, it seems that we're pulling stuff from the vis side to learn about the data, at least conceptually (datalib is really a vega thing, minerva has its cool lat/lon detection stuff). Is there something bigger here that should be part of candela (where, given a dataset, a component can optionally suggest data types and/or matchings)?

I think there's definitely an opportunity here. Maybe @mgrauer should add this topic to his fact-finding mission...?

Let's talk about this next week.

Excellent.

Currently, Resonant Lab (technically) supports mapping mystery objects to visualizations that expect them. Beyond that, we're thinking that this would fall under the category of data reshaping, in which a separate tool should be used.


Upgrade mlflow to version 2.4.2

Also upgrade dependencies as far as reasonable.
This PR brings the container up to the same version in the Helm chart repo: https://github.com/community-charts/helm-charts/pull/47

@bobrasey-verusen would you mind updating this PR to "update to 2.6.0"  ? Even it's not merged by the maintainer, we could use build the docker ourselves from your branch

No point trying to maintain this project if the maintainer isn't interested.

The linked PR has been auto-closed due to inactivity. Closing this PR.


Header under Navbar

I'm sorry I don't know if this has been posted before, but I'm trying to fix a header to the top of the page when scrolling and I'm being successful in it, if not for the header disappearing under bootstrap's fixed navbar. Is there a solution that doesn't force me to change the size of the header?
Thanks and keep up the awesome work

sorry i solved it


Tigera Operator Chart 3.26 BGPFilters is forbidden

Context
After upgrading the tigera-operator helm chart to 3.26.0, pod cleanup fails. kube-controller-manager and calico-apiserver log:
reflector.go:424] vendor/k8s.io/client-go/metadata/metadatainformer/informer.go:90: failed to list *v1.PartialObjectMetadata: connection is unauthorized: bgpfilters.crd.projectcalico.org is forbidden: User "system:serviceaccount:calico-apiserver:calico-apiserver" cannot list resource "bgpfilters" in API group "crd.projectcalico.org" at the cluster scope

and
status.go:71] apiserver received an error that is not an metav1.Status: errors.ErrorConnectionUnauthorized{Err:(*errors.StatusError)(0xc000dc4e60)}: connection is unauthorized: bgpfilters.crd.projectcalico.org is forbidden: User "system:serviceaccount:calico-apiserver:calico-apiserver" cannot list resource "bgpfilters" in API group "crd.projectcalico.org" at the cluster scope

respectively.
Seems like the calico-crds cluster role maybe missing the bgpfilters resource. Unfortunately I didn't get a chance to look before I rolled back. I'm unsure if this is related to #7598.
Rolling the chart back to 3.25.1 resolves the issue.
UPDATE: This appears to have been fixed in https://github.com/tigera/operator/commit/792df2fa5bd996188f9adb8dd76dad55fa52c271, however the commit is not part of 1.30 tag. I've created 2675.
Your Environment

Tiger Operator version: 3.26.0
Orchestrator version (e.g. kubernetes, mesos, rkt): 1.26.5
Operating System and version: Ubuntu 22.04.2

Going to close this in favor of the other issue, thanks for raising!

Oh whoops, looks like the other is just a link to this so actually going to leave this open!

We recently updated from .25 to .26 and we are also encountering this issue. Weird enough a restar to of the calico operator seems to solve it temporarily

This can actually cause cluster-wide issues with garbage collection. I just had to investigate why garbage collection of e.g. cronjobs and Pods was broken on my cluster.

Hi @caseydavenport, can we expect fix for this to be added in v3.27.0 of the helm chart ? thanks.


User namespaces broken (&enable DoS) on kernel 4.0.4

The current kernel chosen by b2d has a DoS in user namespaces. Docker doesn't use this out of the box today, but some users use it and it does enable a denial of service attack.
All kernels from 4.0.2 through 4.0.4 are affected. A patch is expected for Linux 4.0.5

Any idea how long it'll be before we see 4.0.5?  Got a link to a bug or
mailing list thread upstream?

http://seclists.org/oss-sec/2015/q2/589

Thanks! :heart:

Hmm, I'm looking at the changelog for 4.0.5 and not seeing the fix -- did I miss something?

They're there:
commit ef20854f7600f5019f1869fb331f73281f834257
commit 9993cbfde223f91ad29c5d002f6711fceff75219
On Mon, Jun 8, 2015 at 5:12 PM, Tianon Gravi<EMAIL_ADDRESS>wrote:

Hmm, I'm looking at the changelog for 4.0.5
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5 and not
seeing the fix -- did I miss something?
—
Reply to this email directly or view it on GitHub
https://github.com/boot2docker/boot2docker/issues/902#issuecomment-110141914
.

Ahh, nice -- doesn't mention namespaces so I was thrown for a loop
wondering if it might be those two. :+1:


KeyError: 'Relationships' thrown when parsing Textract page results in textract_util.py

Hi,
I'm running the demo project with a PDF and receiving the error below. I'm working on investigating, but wanted to open the issue for tracking.
START RequestId: 0b976833-8688-42b4-9865-fe3e2955f984 Version: $LATEST
1 messages recieved
JobId = d1069774cc8edcbf66b12ff7497476fab0f653e80368d24de569e5e135a4e56b
Status = SUCCEEDED
Timestamp =<PHONE_NUMBER>
API = StartDocumentTextDetection
JobTag = TextractTextDetectionJob-e925e04aeb58efc79afb74f5c6953cc2
S3ObjectName = My Test.pdf
S3Bucket =<PHONE_NUMBER>60-scanned-documents
upload_prefix = d1069774cc8edcbf66b12ff7497476fab0f653e80368d24de569e5e135a4e56b
Retrieved 1000 Blocks from Textract Text Detection response
Retrieved 1000 Blocks from Textract Text Detection response
Retrieved 1000 Blocks from Textract Text Detection response
Retrieved 1000 Blocks from Textract Text Detection response
Retrieved 1000 Blocks from Textract Text Detection response
Retrieved 890 Blocks from Textract Text Detection response
5890 Blocks retrieved
Extracted Block Types:
PAGE = 10
LINE = 2353
WORD = 3527
Page-1 contains 184 Lines
Page-2 contains 388 Lines
Page-3 contains 487 Lines
Page-4 contains 251 Lines
Page-5 contains 262 Lines
Page-6 contains 352 Lines
Page-7 contains 371 Lines
Page-8 contains 23 Lines
Page-9 contains 35 Lines
'Relationships': KeyError
Traceback (most recent call last):
File "/var/task/detect-text-postprocess-page.py", line 74, in lambda_handler
document_text, num_lines = extractTextBody(blocks)
File "/var/task/textract_util.py", line 423, in extractTextBody
print("Page-
{}
contains
{}
Lines".format(page['Page'], len(page['Relationships'][0]['Ids'])))
KeyError: 'Relationships'

END RequestId: 0b976833-8688-42b4-9865-fe3e2955f984

Found the issue...
Function extractTextBody() in textract_util.py assumes that a scanned page will have child blocks (e.g. LINES, WORDS) in the relationships property. However, if a scanned document has a blank page, no relationships key will be present.
Here's an example of the PAGE block throwing my error from a blank scanned page:
{
   'BlockType':'PAGE',
   'Geometry':{
      'BoundingBox':{
         'Width':1.0,
         'Height':1.0,
         'Left':0.0,
         'Top':0.0
      },
      'Polygon':[
         {
            'X':1.0,
            'Y':0.622184693813324
         },
         {
            'X':0.3762473165988922,
            'Y':1.0
         },
         {
            'X':0.0,
            'Y':0.3771035075187683
         },
         {
            'X':0.6218673586845398,
            'Y':0.0
         }
      ]
   },
   'Id':'25bfd28a-ddea-40db-9d90-9c3237510dc5',
   'Page':10
}

In my example, I am testing with docs provided by financial institutions that occasionally have blank pages at the end of a document or between sections. There's no easy way to avoid these blank pages so suggestion is that the extractTextBody() be modified to check whether the relationships key is present before proceeding.


Master

Added hal & cmsis files

I'll fetch this, clean the log and test.
I closed my PR , as this one contains cmsis.

Resolved manually, it's on master now

Now that the cocorico platform is (sort of) integrated in mbed I run into a compile error when I use the online compiler for the cocorico platform:
Error: Target "PLACEHOLDER" is not recognized
Clicking the Help button opens a page saying:
Compiler Error 0

""/extras/mbed_5e5da4a5990b/LPC1768/ARM/LPC1768.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST." in file "/"

Look for multiple mbed.bld files in your program.

I cannot find the mentioned file. Exporting a project is not possible either. I suppose this is all related to some setting missing somewhere, but what & where? Is there another release step to take?

That message about placeholder says, that the target is not yet in the online IDE.
cc @screamerbg please have a look


Update QUICHE from 62f5f6c9c to e871e9aec

https://github.com/google/quiche/compare/62f5f6c9c..e871e9aec
$ git log 62f5f6c9c..e871e9aec --date=short --no-merges --format="%ad %al %s"

2024-04-24 quiche-dev Wire up xRPC client to talk to Phosphor
2024-04-23 rch Factor the QuicDispatcher's blocked writer list into a stand-alone QuicBlockedWriterList.
2024-04-23 birenroy Reserves the right amount of space for a set in BalsaHeaders::RemoveAllOfHeaderInList().
2024-04-23 quiche-dev Remove HTTP specific logic from BlindSignAuth and dependencies
2024-04-23 birenroy Replaces a std::string used to buffer data in OgHttp2Session with a new buffer type.
2024-04-23 vasilvv Implement MoqtOutgoingQueue.
2024-04-22 wub Silence quic_bug_10752_22 if write_length is reduced to zero due to flow control.
2024-04-22 quiche-dev Enabling rolled out flags.
2024-04-22 quiche-dev Remove duplicate method of BlindSignAuth::GetTokens now that the Chrome is setting service_type.
2024-04-22 dschinazi Add support for nested proxying in MASQUE client code

Closing in favor of #33768


chore: bump jsv to show more combiners

Elements Default PR Template
Bumps JSV to address 9513
In general, make sure you have: (check the boxes to acknowledge you've followed this template)

[x] Read CONTRIBUTING.md

Other Available PR Templates:

Release: https://github.com/stoplightio/elements/compare?template=release.md

[x] Read the release section of CONTRIBUTING.md

Here's a screenshot from elements-core storybook as sanity check:

Fix ya links! :)

Oops! I just went and found them. I didn't know the reviewer also needed to sign off that they've read CONTRIBUTING.md :D
Updated.

Fix ya links! :)

Oops! I just went and found them. I didn't know the reviewer also needed to sign off that they've read CONTRIBUTING.md :D Updated.

Said tongue-in-cheek. You know I can't read anyway. Currently going over the other issue/pr so I know what we're bumping.

You have to add the :trollface: or the winky face so I know ;)!
(:trollface: )

@paulatulis @jgreen44 don't forget to call yarn to update the yarn.lock after changing a package dep:

@paulatulis @jgreen44 don't forget to call yarn to update the yarn.lock after changing a package dep:

Ah sorry about that @lottamus and thanks for flagging. Will do going forward. Shall I go ahead and open a fresh PR now that takes care of it or is there a better way?


Unauthorized to get package from internal uber domain. (Demo App)

Hello everybody, i just tried to get the demo app running, but sadly can't get all the packages installed.
When running the yarn command in the examples/manifold folder, i receive the following error message:
An unexpected error occurred: "https://unpm.uberinternal.com/react-is/-/react-is-16.9.0.tgz: Request failed \"401 Unauthorized\"".
EDIT: When installing react-is externally, the next same error is for gud. It seems, like yarn tries to find the packages in uberinternal, no matter which.

Okay, this does only happen when the version from releases are used. Makes sense, as it just got Open Sourced.

@ichitaka I checked yarn.locks and it doesn't seem like we have anything that points to the internal registry. Did you try pull the latest version.

@kenns29 This is not a bug. The issue came from me downloading the latest release version from here:
https://github.com/uber/manifold/releases/tag/v1.1.2


Menu for Working Demos in GUI

Create a menu in GUI that reads the Demo configurations from a specific folder, so further updates of the working demos just requires adding the config files and it will show up in the menu.

Feature added in f7fea88101ef4ce10b764c4046824fadf6f02ff5, short guideline for adding example is available in #34


CI/Bors fixes

Going ahead and merge this is it is not controversial.
bors r+

Going ahead and merge this is it is not controversial.
@bonomat : I hope this is fine.
bors r+


fix: add support for polymorphic profile type

Current dependencies on/for this PR:

main

PR #105   👈

This comment was auto-generated by Graphite.


Add Carousel Docs & Presets

Carousel is a content slider featuring various customization options.

Just wondered if you know when carousels for Primevue Tailwind will be added?

i'm waiting this component too

Postponed due to the need for a core update


⚠ Site ANTS has degraded performance

In 31f5412, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 15752 ms

Resolved: Site ANTS performance has improved in 404b84a.


Update latest embedded c release notes for March, April, and May 2023 (no release)

Similar change to https://github.com/Azure/azure-sdk/pull/5557
Follow-up from https://github.com/Azure/azure-sdk-blog/pull/395#issuecomment-1550479144

@weshaggard since it is already manually created/maintained, can we revert the process for Embedded C to be opt-in for a release, rather than opt-out.
By that I mean, we change the default/template c.md file to be "No packages release this month", and whenever we do a monthly release, we add in the release highlights from the changelogs.
I suspect, we will have more no-ops than actual releases for some time. That way, we don't have to modify the file when there are no releases.

To do that you will need to update https://github.com/Azure/azure-sdk/blob/main/eng/scripts/release-template/c.md. Perhaps you can put the "No packages" by default and keep the other stuff commented out via standard html comments <!-- -->.


Allow default: false for Style/PercentLiteralDelimiters to only enforce the specified delimiters

I added this, assuming it would enforce only these four styles:
Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': '[]'
    '%W': '[]'
    '%i': '[]'
    '%I': '[]'

But running rubocop --autocorrect --only "Style/PercentLiteralDelimiters" then changed other percent literals as well, e.g. changing %{foo} to %(foo).
I think it would be both intuitive and useful if it could enforce only explicitly given percent literals. We always want these, but e.g. for strings, it may depend on the string contents.
This is a feature request rather than a bug because I assume the current behaviour is intentional, and I realise it probably can't be changed now without causing a lot of people a lot of hassle.
But how about we make it possible to also say something like default: false and then it would only enforce the specified ones?
if I add default: false, it kind of has this effect already, but it also spits out a lot of

An error occurred while Style/PercentLiteralDelimiters cop was inspecting myfile.rb:12:34.

messages. And I suspect it might only fix files with no other delimiters (i.e. that don't run into this error).

I ended up setting a default ({}) and we had mostly been consistent about it, so it felt OK to enforce it. I’ll close this ticket since I don’t feel a strong need anymore, though it still seems a good idea.