Apply transition delay to ease animation effect.

Currently when triggering the balloon the animation executes instantly. This isn't the best experience because often times the hover "hit area" is smaller than users think they are, causing the balloon to shutter in and out until the pointer device settles within the invisible boundary. The fix is simple: use an animation delay of .18s, the same as the animation duration itself, to improve the chances of a smooth transition from beginning to end. It is definitely an improvement when hovering over multiple balloon triggers near each other.

Accidentally added a few unnecessary files, will resend.

Interesting, this would definitely help improve usability. Could you please just fix the conflicts so I can merge this PR?

Sure, no problem @kazzkiq, all conflicts resolved.

Great, thanks!


Nysnc and highwayhash cmake fixes

Cmake build probably fails, because protobuf is not updated to 3.6.1


[ffmpeg] fix feature dependencies

Currently, ffmpeg[core,ffmpeg], ffmpeg[core,ffplay], and ffmpeg[core,ffprobe] are failing to build the required tools due to missing dependencies. Furthermore, ffmpeg[core,x264], ffmpeg[core,x265], ffmpeg[core,avisynthplus], ffmpeg[core,fdk-aac], and ffmpeg[core,openssl] pull in all default features. This patch fixes all of that, with a few more minor improvements. Full list of changes:

do not pull in default depedencies when specifying nonfree/gpl
explicitly mark postproc as gpl
add required dependencies for ffmpeg, ffplay, and ffprobe
remove defunct ffserver feature (this feature was removed in ffmpeg a while ago)
minor spelling fixes

What does your PR fix? See above.

Which triplets are supported/not supported? Have you updated the CI baseline? No changes.

Does your PR follow the maintainer guide? Yes.

I've just fixed a few more that I missed in my previous round. For reference, all these dependencies can be extracted from the configure script:
https://github.com/FFmpeg/FFmpeg/blob/47be5a505657f478636ff08cef45f5c4c201ad23/configure#L3684

Hi @mcmtroffaes
Thanks for this PR. Have you tested these features?

Yes, I've tested each of these individually. A lesson learnt here is that, for ffmpeg, we need to take care to mimick the dependencies listed in the configure file. If you request a feature but disable one of its dependencies, the ffmpeg configure script will disable the feature, without failing.

Thanks for merging!


Add Lualine theme

Looks as follows:

Normal mode:

Insert mode:

Visual mode:

Command mode:

Replace mode:

I have used the following Lualine config:
require("lualine").setup {
    sections = {
        lualine_b = { "diagnostics" },
        lualine_c = {
            {
                "filename",
                newfile_status = true,
                path = 1, -- relative path
                symbols = { modified = " ●" },
            }
        },
    },
    tabline = {
        lualine_a = {
            {
                "tabs",
                mode = 2, -- tabnumber + filename
                use_mode_colors = true,
                symbols = { modified = " ●" },
            }
        },
        lualine_b = { "branch", "diff" },
    },
}

closes #61.

Applied suggestions from #85.


No reaction from mic. Typing works.

Specs

Leon version: v1.0.0-beta.4
OS (or browser) version: Chrome browser on Win11 Version 95.0.4638.69 (Official Build) (64-bit)
Node.js version: v17.0.1
Complete "npm run check" output:
➡ Here is the diagnosis about your current setup
✔ Run
✔ Run modules
✔ Reply you by texting
✔ Amazon Polly text-to-speech
❗ Google Cloud text-to-speech
❗ Watson text-to-speech
❗ Offline text-to-speech
❗ Google Cloud speech-to-text
❗ Watson speech-to-text
❗ Offline speech-to-text

✔ Hooray! Leon can run correctly
➡ If you have some yellow warnings, it is all good. It means some entities are not yet configured

(if using Docker) Complete "npm run docker:check" output:
(optional) Leon package version:

Expected Behavior
Listen to microphone
Actual Behavior
No reaction from microphone. Button also does nothing.
Typing prompts does work.
How Do We Reproduce?
Try it.
Extra (like a sample repo to reproduce the issue, etc.)

hey @DeviousSiddy, that's because you have added only tts (text-to-speech) provider ( i.e., Amazon Polly). In order for the mic to work, you should add stt (speech-to-text) provider like Watson or google.


VIDIOC_DQBUF error 19 .. for Realsense_R200 on Upboard

Required Info

Camera Model
R200

Firmware Version

Operating System & Version
ubuntu 14.04

Kernel Version (Linux Only)
4.4.0-62-generic

Build System

I know this problem has been discussed before at ( https://communities.intel.com/thread/110133 and https://communities.intel.com/thread/110133 ). It concluded that the problem is related to the power supply of r200 and can be resolved by connecting the micro B to micro B port directly with USB 3.0 cable from camera to Upboard.
However, the error can happen even though I connect with USB 3.0 cable. I can always connect the recognize the camera, and the camera always can run when I run the launch files in realsense_camera ROS package. However, the time it can last is just randomly (sometime it can last over 20 minutes, but most of time only works for a couple of seconds). Then the errors VIDIOC_DQBUF error 19 showed up, and the camera is automatically powered off and disconnected with cupboard (it also can be identified with the disappear of the red spot on r200).
Anyone has the idea of this problem. I believe everything are set up right based on the provided documentation. Thanks.

Kind of find the problem but not sure how to resolve it, the camera will automatically disconnect and reconnect during operation. After the reconnection, the usb port will assign a new location for it that probably mis-matched with the original settings.

VIDIOC_DQBUF resulted by camera disconnections are common side effect of insufficient power, and can be worked-around by connecting the camera through a powered USB3 hub. Unfortunately, the software has no control over this effect.

Thanks for reply. I use the USB3 hub on Upboard. So does it mean the usb3 hub on Upboard is also under powered? Or there is any way to increase the power? Thanks.

When connecting the camera through external USB3 hub, with the hub itself plugged to the wall, we see very stable results (hundreds of hours of streaming). When the camera and the Upboard share a single power source, we do encounter occasional disconnects. These are the data points I can provide regarding R200 performance on the Upboard. However, the librealsense library has no control over it.

When connecting the camera through external USB3 hub, with the hub itself plugged to the wall, we see very stable results (hundreds of hours of streaming). When the camera and the Upboard share a single power source, we do encounter occasional disconnects. These are the data points I can provide regarding R200 performance on the Upboard. However, the librealsense library has no control over it.

What USB 3.0 HUB are you using? When connecting R200 using cheap USB  3.0 HUB (powered) it cannot be detected.


adding points in the devices

Hello, I noticed that every time I export a new point to BACnet from a device, I have to delete the entire device from the integration and then reload it to make the device reappear with the new point. Is there another way to update the list of points without having to delete the device each time? For example: a "reconfigure" button present in many integrations. Thank you.

Yes, sorry, I made a mistake: I should have written this request in the add-on. If you want, I'll close it here and open it in the right place. Anyway, yes, I'm finalizing the programming of two devices. The ultimate goal would be to display some parameters of both devices on HA to have an interface easily accessible from a smartphone. With one of the two devices, I can export the variables I want in BACnet, so I can already make a selection from there. But with the other one, I need to create a subset of BACnet variables in Home Assistant. I could import the device into the add-on with all the variables disabled and then enable only the ones I need. But if I were to add a new point to the device that I need to import, I would be forced to delete the entire device and redo the selection from scratch, or at least that's what I saw from some tests I did.

I think the issue for the add-on is that whenever you updated your BACnet device's configuration, the add-on still assumes the old objects are there. It doesn't check for new objects, so it'll never update to the new configuration.
If you want, it might be useful to start a new issue at the add-on GitHub. That way I'll keep it in mind when working on the add-on.

ok i'll open a new issue there, thank you!


[v20.10.12] Docker gui crashes when opening a container.

I have docker on wsl 2 installed. This bug is recently, and it goes as follows.
I open the docker app from the minimized apps list. It opens and I can navigate through it.
One thing I am unable to do is to open a container. When I click on it, it crashes and my app disappears from the minimized app lists. One weird thing, all my containers remain open.

nvm, wrong repo


feat: Update registry version to 2.1.5.Final

Signed-off-by: Andrew Borley<EMAIL_ADDRESS>

@jsenko @famartinrh @EricWittmann - is this PR useful?
I may have misunderstood the release process here - I can see the default build from master creates a ClusterServiceVersion yaml file that specifies images with the latest-snapshot tag, and also that the release branches have  commits to set the specific versions, etc.

yes, I think this is not the way how we update the registry version in the operator, @jsenko knows best


First pull request.

I have created a separate branch, so my commits can be reviewed and commented.
I have added Python 2 + 3 compatibility at the very start because gxargparse won't run with CNVkit which is written in Py 3. But another problem arose - gxargparse is dependent on galaxyxml which is written in Py 2, so I had to comment out this dependency for a while to keep argparse2cwl working. Hopefully, @erasche will allow me to add Py 2+3 compatibility to galaxyxml.

I'll see what I can do about 2to3 for galaxyxml

I used automatic conversion, might work for galaxyxml too

Yep, that's what I was planning. I've pushed a 0.2.1 that should provide 2/3 compat.

Great! Everything works fine now.


How to list all webhook subscriptions associated with a resource?

This applies to OneDrive for Business.
Category:

[x] Question
[ ] Documentation issue
[ ] Bug

Scenario:

We issue a CreateSubscription call for a user's drive.
Microsoft internally creates the subscription
Something crashes in the network or my code and the response is never received.

At this point, during crash recovery, I have no idea if a webhook subscription exists for that drive. Since I never received the response, I have no subscription ID, so I cannot check the state of the subscription.
How do I query for all the webhook subscriptions associated with a resource?
According to the docs, if the subscription ID is unknown, then the only way to query for subscriptions is the GET https://graph.microsoft.com/v1.0/subscriptions endpoint. However, the docs say this endpoint doesn't support any query params so will return all webhook subscriptions in paginated form. Given that this is a corporate OneDrive for Business account, there may be 200K+ users that we are subscribed to. Paginating through all 200K subscriptions just to see if one already exists for this particular user's drive is not realistic.
If I assume it failed and trigger another CreateSubscription call, then Microsoft happily takes it and suddenly I've got two subscriptions, with identical params, happily generating duplicate notifications whenever an actions happen.
Is there a way to do either of the following?

Filter the list of subscriptions by associated resource? Ie, list only the subscriptions tied to that user's drive. This would be ideal!
Filter the list of subscriptions to only those created after a certain time? This would be less optimal, but at least here I could say "show only subscriptions created after my most recent pre-crash checkpoint"
Sort subscriptions by time created... again, even less optimal as I'd have to serialize the subscription creation, but I could then go back to the last known successful creation and see which subscriptions have been created since then.

Are any of the above possible?

This would be a question for Microsoft Graph.  It's probably a UserVoice request; I'll add a label for our helpful bot to provide some links.

To find Graph's UserVoice, we also recommend going to microsoftgraph.uservoice.com

This information can be found for an individual user's drive via its relationships: https://docs.microsoft.com/en-us/graph/api/resources/driveitem?view=graph-rest-1.0#relationships
Example:
https://graph.microsoft.com/v1.0/users/<User ID>/drive/root/subscriptions

It doesn't look like it's possible to check for subscriptions on /users resource, but being able to check individual users is far better than nothing.


After 98% it fails with An unexpected error occurred, processing of this file has failed

Processing file /mnt/remote/TV/Justice League Unlimited/Season 03/Justice League Unlimited - S03E09 - Grudge Match -720p 1,8 Mbps.mkv
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Profile: High.
Reading audio streams.
Audio detected for stream #1: mp3 [por].
Creating audio stream 0 from source stream 1.
Audio detected for stream #2: mp3 [eng].
Creating audio stream 1 from source stream 2.
Reading subtitle streams.
Subtitle language array is empty.
{
    "preopts": [],
    "subtitle": {},
    "format": "mp4",
    "postopts": [
        "-threads",
        "0",
        "-movflags",
        " faststart"
    ],
    "video": {
        "profile": null,
        "map": 0,
        "level": null,
        "codec": "copy",
        "bitrate": 1424.3501999999999,
        "pix_fmt": null
    },
    "audio": {
        "0": {
            "map": 1,
            "language": "por",
            "channels": 2,
            "codec": "aac",
            "disposition": "default",
            "bitrate": 192,
            "filter": null
        },
        "1": {
            "map": 2,
            "language": "eng",
            "channels": 2,
            "codec": "aac",
            "disposition": "none",
            "bitrate": 192,
            "filter": null
        }
    }
}
Starting conversion.
[######### ] 99%/mnt/remote/TV/Justice League Unlimited/Season 03/Justice League Unlimited - S03E09 - Grudge Match -720p 1,8 Mbps.mp4 created.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'

Why would this be happening?  It's happening to a lot of files, but not all of them, it creates a .mp4 file but with no headers.

Seems like its probably an issue with FFMPEG crashing. If you try to create the file using the same options manually with FFMPEG are you getting an error or does FFMPEG crash?
Also make sure you don't have another program watching the directory that might be grabbing or moving the files while conversion is taking place, that may also result in this behavior


Remove hello world command

Solving issue https://github.com/MaximRouiller/vscode-social-linker/issues/7
[x] bug fix

LGTM. Resolves #7

@all-contributors add @salmanmkc for code


English Translation is incomplete

Description
There are a number of icon descriptions that have not been translated from French to English, i.e., Desktop = Bureau, DVD RW Drive = Lecteur DVD RW, Downloads = Telechargements, etc.
Steps To Reproduce
Open Files on 'Home' page.
Requirements
English translation from French is complete.
And happy to help with such translation if that would help.
debug.log
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3155
Log File
debug.log

Thank you for your feedback, pinned folders and quick access are based on the names provided by Windows. You can confirm this by checking File Explorer.

Thank you
But I am also see the same issue in the context menu, i.e., where I am getting French for the MS part of the context menu description, i.e., "deverroullier avec File Lock Smith" where Explorer is showing "Unlock with File Lock smith". I believe that I should also be seeing the latter under Files, rather than the former?
Kind regards
Solly Charbit

From: Yair @.>
Sent: 29 February 2024 7:01 PM
To: files-community/Files @.>
Cc: UthredRagnarson @.>; Author @.>
Subject: Re: [files-community/Files] English Translation is incomplete (Issue #14872)
Thank you for your feedback, pinned folders and quick access are based on the names provided by Windows. You can confirm this by checking File Explorer.
—
Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/14872#issuecomment-1971779120, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCFGC6B5K76B5GBI5OLZ6KTYV55HXAVCNFSM6AAAAABEAPM2HCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRG43TSMJSGA.
You are receiving this because you authored the thread.Message ID: @.***>

It's hard to know what you mean without screenshots or steps to reproduce the issue but regarding folder names and shell extensions, they are retrieved from Windows and Files doesn't have any input.

I want to clarify a misconception in the original post. Files is English by default, so if a string is displaying in another language, it would be because it's a folder name or shell extension that's not part of Files.

Thanks for the further responses. I will double check what you say but it is seemingly strange that any other 'explorer'-type app that I have trialled or used has never displayed this behaviour, and my installation of Windows 11 is the English (United Kingdom) one from Microsoft, and all settings are for the English version although interestingly I do have the French lanuage pack installed for the dictionary when I write in French. Please see these settings below.
[cid:fe1b4aa3-2b4f-4e94-84a3-e9468c8e87fc]
I am therefore not sure as to why I would be seeing French text especially when the Windows Display language is English, and it states that "Windows features like Settings & File Explorer will appear in this language"...perhaps something somewhere in Files is 'defaulting'/using for some reason the French Language pack installed.
As a test I will remove the French Language pack, reboot and then try Files again to see if the behaviour is the same.
Kind regards, Solly

From: Yair @.>
Sent: 29 February 2024 9:01 PM
To: files-community/Files @.>
Cc: UthredRagnarson @.>; Author @.>
Subject: Re: [files-community/Files] English Translation is incomplete (Issue #14872)
I want to clarify a misconception in the original post. Files is English by default, so if a string is displaying in another language, it would be because it's a folder name or shell extension that's not part of Files.
—
Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/14872#issuecomment-1971954704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCFGC6FJKYEQILMWISM2CMTYV6LK3AVCNFSM6AAAAABEAPM2HCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRHE2TINZQGQ.
You are receiving this because you authored the thread.

I should clarify, the default localization in the app is set to Windows Default so if you French Language that might explain why you're seeing French text. When I said Files is English by default, I meant that all text in the app starts off as English and then gets translated into other languages.
Can you check what happens if you change the language in Files to "English"?

Hi Yair
Thanks for the suggestion...I have checked the Settings in Files and I had previously switched the Language setting to 'English (United Kingdom) prior to my noticing any of this happening.
More interestingly, if I remove the French Language pack from Windows the 'translations' disappear, and the literals concerned then show perfectly in English. So, as a control measure installed the Spanish Language pack and ran Files again...and...the translations which were in French when the French Language pack was installed are now in Spanish.
I suspect that I can try any other language and the results will be similar...some code, somewhere appears, in certain but unknown circumstances, to be referencing the language pack installed rather than using the language set under the 'Windows Display language' setting.
If I can provide additional information or is there is a way for me to provide you with a further logfile that might help then please let me know. For the time being I can remove the French Language pack (just means that when I want to write in French I will have to temporarily reinstall it, etc.).
Kind regards, Solly

From: Yair @.>
Sent: 29 February 2024 10:38 PM
To: files-community/Files @.>
Cc: UthredRagnarson @.>; Author @.>
Subject: Re: [files-community/Files] English Translation is incomplete (Issue #14872)
I should clarify, the default localization in the app is set to Windows Default so if you French Language that might explain why you're seeing French text. When I said Files is English by default, I meant that all text in the app starts off as English and then gets translated into other languages.
Can you check what happens if you change the language in Files to "English"?
—
Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/14872#issuecomment-1972091691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCFGC6AVAPJRTUX6B5Y2XA3YV6WXZAVCNFSM6AAAAABEAPM2HCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGA4TCNRZGE.
You are receiving this because you authored the thread.


Gpio/backend

This adds rust backend for gpio devices.

@mathieupoirier I have pushed a new version of the patchset, based on your review comments. Thanks.

This version is so much easier to read...

Thanks @mathieupoirier


How to edit chakra theme or added new theme?

Default theme for reference https://gist.github.com/skorphil/a363b47a134c506d40655f2ff4a953c5#file-theme-json-L12

https://www.youtube.com/watch?v=epJuxo8FKFA

design tokens are named variables for values, used in design system. Naming is unopionated.
semantic tokens are named variables in Chakra, which are conditional, based on theme https://chakra-ui.com/docs/styled-system/semantic-tokens
// tokens
white_100 = #fff
black_100 = #000

// semantic tokens
bg_color = {
default: white_100,
_dark: black_100
}

Extended chakra theme in

#12
#16


Issue with genobj.bat

Hi,
First off, many thanks for your work on this importer which seems to be exactly what I need !
However, when I try to run ./genobj.bat I received error messages regarding the path "build/Release/test-xodr" that cannot be found. The latter path "../../carla/Import" isn't found either. When I search on my computer these folders don't seem to exit indeed...
I'm not a programer so rather noob. I'm afraid I'm missing a crucial step in here...

Hi sorry for the late reply,
I've added a change to the README file which specifies running the workflow.bat script in the libOpenDRIVE directory that will install the "build/Release/test-xodr" executable file. Please reopen this issue if there are any other errors regarding this.


feat: Custom Tab template

Before doing any PR I would like to know if this could be interesting for the community.
The problem
Sometimes we want to use something special for our tabs like  or <svg> for our tabs. The tab template is too rigit to allow this kind of customisation.
The solution
Allow tab HTML template to be defined in the $ionicConfigProvider so we can inject the code we want to adapt to any situation.
$ionicConfigProvider.tab.template = "<unicorns></unicorns>"

Greetings @Grafikart!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

@Grafikart Hello! I am not sure if i understand your proposal? Would you mind explaining a little more? Maybe with some code samples? Thanks!

I wanted to use tabs in my app without using ionic icons but my own SVG. To achieve that I had to edit ionic core (which is obviously not a nice way of doing things :))
Indeed the template is set in this file https://github.com/driftyco/ionic/blob/master/js/angular/directive/tabNav.js#L7 and I felt that it would be nice to be able to inject any template we want here.
For instance this is my code
    '' +
      '{{badge}}' +
      '<sprite name="{{ getIconOn() }}"></sprite>' +
      '' +
    '',

Here I replaced the  with a directive I created to use my SVG

Hello, thanks for opening an issue with us! Because we do not plan on adding any new features to Ionic 1 at the moment I am going to close this issue for now. Thanks for using Ionic!


How to add an image inside the pie

Hey
Im trying to add an image inside the pie but with no success:
    <View style={styles.statContainer}>
    {
      <Pie radius={43} innerRadius={33} series={series} colors={['#FFF', color, '#FFF']} backgroundColor='#DCDCE0' />
    }

    <View style={styles.gauge}>

        <ResponsiveImage
        style={{ backgroundColor: 'transparent' }}
        source={require('../assets/calories_gauge.png')}
        initWidth="1"
        initHeight="1" />

    </View>

How can I do that? thanks!

You should be able to use absolute positioning to accomplish this. If you can't figure it out let me know and I can help out with a code snippet


[Request for External] table 11000003 "Detail Line" - IsDifferentSign

Function from local to global:
    procedure IsDifferentSign(FirstAmount: Decimal; SecondAmount: Decimal): Boolean
    begin
        exit(((FirstAmount < 0) and (SecondAmount > 0)) or ((FirstAmount > 0) and (SecondAmount < 0)));
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


unable to find frigate from integration

I have the frigate docker setup and configured and working fine with 3 cameras and can access the ui from port 5000
Trying to integrate with HASS 2021.7.1
Followed the instruction to add the repo first from hacs and then install the add-on frigate.
Reboot HASS (actually twice)
Then went to configuration->Integrations->Add Integration and searched for Frigate, nothing found.
Any idea?

You need to first install the repository via HACS. This is basic usage of HACS... first you add the custom repository URL, then install the repository, and only then can you use/install the integration of interest.

Add the custom repository: Home Assistant > HACS > Integrations > [...] > Custom Repositories
Use the URL to this repo: https://github.com/blakeblackshear/frigate-hass-integration
Use HACS to install to repository: Home Assistant > HACS > Integrations > "Explore & Add Integrations" > Frigate
Restart Home Assistant.
Then install/configure the integration: Home Assistant > Configuration > Integrations > Add Integration > Frigate

Please close this bug if this works for you. Thanks!

I had done everything you mentioned before i opened the issue and it did not show Frigate at the last step.
This morning i came to work and access HASS and tried Configuration->Integration->Add Integration and there was Frigate.  Honestly after i opened the issue i haven't done anything until now.
Wondering if its some kind off cache issue at my home mac where frigate wouldn't show.
anyway it showed and i configured it.  Thank you for your feedback.

Great -- glad  you figured it out!

It's a browser cache issue


sendInput doesn't seem to work in multipleActions

Windows Terminal version
1.15.1863.0
Windows build number
10.0.22824.0
Other Software
No response
Steps to reproduce
I'm attempting to open a new tab and then send input in that new tab using the multipleActions command.
{
    "command":
    {
        "action": "multipleActions",
        "actions": [
            {
                "action": "newTab"
            },
            {
                "action": "sendInput",
                "input": "\u001b[A"
            }
        ]
    },
    "name": "Send Input Test"
},

Expected Behavior
The new tab should have the input sent from sendInput, which in this case is as if I pressed the up arrow in my buffer.
Actual Behavior
sendInput seems to be completely ignored and my input line is empty.

So sendInput is only a problem if it's called after a new terminal control is created. If you just do two sendInput actions one after another they work fine.
The problem with running sendInput after newTab or splitPane is that the ConptyConnection hasn't been started yet - the ConptyConnection::WriteInput() method does nothing if the connection hasn't started.
https://github.com/microsoft/terminal/blob/bbc570d107b6b67b68454355e04724ecea9c9796/src/cascadia/TerminalConnection/ConptyConnection.cpp#L464-L475
I guess you could make WriteInput() store the strings that are sent to it if it's in the NotConnected state, and re-play them once it gets into the Connected state?

So sendInput is only a problem if it's called after a new terminal control is created. If you just do two sendInput actions one after another they work fine.

It's not working for me:
{
    "name": "blah",
    "command": {
        "action": "multipleActions",
        "actions": [
            {
                "action": "sendInput",
                "input": "sensible-browser https://...\n"
            },
            {
                "action": "sendInput",
                "input": "sensible-browser https://...\n"
            }
        ]
    }
}

That just launches the first URL for me...
Running it in WSL/Ubuntu Profile.

Any known workaround for this bug? Sending the input twice is not working for me

Any known workaround for this?

As a workaround, you can try using vtm as a terminal session wrapper inside Windows Terminal to pass keystrokes on startup.

settings.json:{
  "command":
  {
    "action": "newTab",
    "commandline": "vtm.exe -t -c \"<config><term sendinput='echo \\\"123\\\"\n'/></config>\" -r vtty pwsh"
  },
  "name": "Send Input Test (pwsh)"
},
{
  "command":
  {
    "action": "newTab",
    "commandline": "vtm.exe -t -c \"<config><term sendinput='echo \\\"123\\\"\n'/></config>\" -r vtty cmd.exe"
  },
  "name": "Send Input Test (cmd.exe)"
},

Is there any plan to fix this?


Check if valid json before parsing

If a file doesn't exist, or a request doesn't match a route in the backend, the application will crash.
Steps to reproduce:

Access any file. E.x. localhost:3000/assets/static/favicon.ico (with file extension)
Next.js crashes due to the backend returning a bad response (404 page not found HTML)

Expected result:
Next.js should be able to redirect to the error-page after the backend sends back a valid JSON response if it fails to parse/route the request.

This blog post goes step-by-step through the basic setup.

Adding the NotFoundHandler to the mux router might resolve this issue.


[Feature Request] Carousel content band?

Existing Component
Yes
Component Name
Carousel
Description
Hey Element team,
First of all, thank you and congrats on your great work!
I would like to implement a carousel "content band", equivalent to carousels used by Netflix or Spotify, where the cards are horizontal, same size, and come with a spacing between them. My question is: Can this be done with the existing carousel component? If not, I would love to see this implemented as another variation.
Thank you

Sorry, we have no plan to implement this feature.


feat: Add support for Chromecast version of PlayReady

Thanks!  I'll merge this and do a new release.  You will probably want to follow up with an update to the dependency version in Shaka Player.


225 해몽 채택 확인

Closes #225

Codecov Report

Merging #226 (80c129d) into main (0a83a9f) will decrease coverage by 0.12%.
The diff coverage is 20.00%.

@@             Coverage Diff              @@
##               main     #226      +/-   ##
============================================
- Coverage     46.56%   46.43%   -0.13%
- Complexity      432      433       +1
============================================
  Files           153      153
  Lines          2053     2063      +10
  Branches         27       27
============================================
+ Hits            956      958       +2
- Misses         1086     1094       +8
  Partials         11       11

Impacted Files
Coverage Δ

...ponse/dream/comment/DreamCommendGroupResponse.java
18.75% <0.00%> (-1.25%)
:arrow_down:

...ndream/InterpretationDreamInformationResponse.java
0.00% <0.00%> (ø)

...dream/interpretationdream/InterpretationDream.java
16.66% <0.00%> (-8.34%)
:arrow_down:

...interpretation/InterpretationDreamServiceImpl.java
1.58% <0.00%> (-0.06%)
:arrow_down:

...ation/find/InterpretationDreamFindServiceImpl.java
2.00% <0.00%> (-0.05%)
:arrow_down:

...app/jg/og/zamong/entity/dream/comment/Comment.java
64.70% <50.00%> (-1.97%)
:arrow_down:

...service/dream/comment/DreamCommentServiceImpl.java
45.54% <100.00%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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


[Stdlib] Mark CVaListPointer as @unsafe.

rdar://135604375

Need to update test/api-digester/Outputs/stability-stdlib-source-base.swift.expected with this as well.

@swift-ci please smoke test


LNURL on donation page gives 400 error

I tried sending from both phoenix and breeze

Thanks, I'll have to check it out
On Thu, 1 June 2023, 10:45 pm nostitos, @.***> wrote:

I tried sending from both phoenix and breeze
—
Reply to this email directly, view it on GitHub
https://github.com/ArmanTheParman/Parmanode/issues/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQCCX62J5FAIVUGIGXSYL3XJCFGRANCNFSM6AAAAAAYW3ZQQU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I have fixed it
On Thu, 1 June 2023, 10:45 pm nostitos, @.***> wrote:

I tried sending from both phoenix and breeze
—
Reply to this email directly, view it on GitHub
https://github.com/ArmanTheParman/Parmanode/issues/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQCCX62J5FAIVUGIGXSYL3XJCFGRANCNFSM6AAAAAAYW3ZQQU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Great, But also 404 if no amount is entered. Since I prefer to enter the amount directly on my wallet it's a reasonable use-case.
On my BTCPAY when I enter nothing it generate a ANY AMOUNT type invoice.
I don't have lightning enabled though.

Must enter an amount, because these are traditional lightning invoices, not the new type (static lightning address).
Having no amount introduces a security risk, apparently.

Edited, also 400 in wallet


ERROR: PluginlibFactory

Hello,
After installed the Fields2Cover ROS version (I am using Ubuntu 20.04) and run it with roslaunch fields2cover_ros view_field.launch
I got the following error. In RViz, the AerialMapDisplay is red which is not working. The demo.rviz is open but The /Visualizer cannot be opened as shown in your example. Would you please help me on the issue? Any instruction how to run the path planing?
Thanks!
Best Regards,
wen@wen-ubuntu:~/catkin_ws/Fields2Cover$ roslaunch fields2cover_ros view_field.launch
... logging to /home/wen/.ros/log/624f0de4-8ab0-11ed-a91a-55903af4772a/roslaunch-wen-ubuntu-35234.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://wen-ubuntu:37359/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.15
 * /visualizer/field_file: /home/wen/catkin_...

NODES
  /
    rqt_reconfigure (rqt_reconfigure/rqt_reconfigure)
    rviz (rviz/rviz)
    static_tf_fake (tf2_ros/static_transform_publisher)
    visualizer (fields2cover_ros/visualizer_node)

auto-starting new master
process[master]: started with pid [35253]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 624f0de4-8ab0-11ed-a91a-55903af4772a
process[rosout-1]: started with pid [35274]
started core service [/rosout]
process[visualizer-2]: started with pid [35277]
process[rviz-3]: started with pid [35281]
process[rqt_reconfigure-4]: started with pid [35283]
process[static_tf_fake-5]: started with pid [35284]

[ERROR] [1672672571.230346043]: PluginlibFactory: The plugin for class 'rviz_plugins/AerialMapDisplay' failed to load.  Error: According to the loaded plugin descriptions the class rviz_plugins/AerialMapDisplay with base class type rviz::Display does not exist. Declared types are  rviz/AccelStamped rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/TwistStamped rviz/WrenchStamped rviz_plugin_tutorials/Imu

Welcome @xluo6688!
The error appears because the package https://github.com/nobleo/rviz_satellite is not compiled in the same workspace as the fields2cover_ros package. If you run everything in local, the command rosdep install -r --ignore-src -y --from-paths . installs the rviz_satellite package automatically.
I can see that you have a server on http://wen-ubuntu:37359/. I would say the problem can be solved cloning the rviz_satellite package the same workspace as fields2cover_ros.
PD: Next time, open issues related to the ROS package on its own page, please.

Thank you @Gonzalo-Mier for your response. I installed viz_satellite package into the work space: Fields2Cover, but after run with roslaunch fields2cover_ros view_field.launch, still got the same issue. Here is my work space: /catkin_ws/Fields2Cover/ Under this work space, there are these folds: build, build_isolated, devel, devel_isolated, rviz_satellite, src
It is really an amazing project. Any advice is appreciated!

Rviz_satellite should be on the src folder, at the same level as fields2cover_ros. Then run catkin_make_isolated. Check if you have all the projects on the logs when doing the last command. Hope this solve the issue :)

Thanks @Gonzalo-Mier . Now installed Rviz_satellite in src fold. After run
wen@wen-ubuntu:~/catkin_ws/Fields2Cover$ catkin_make_isolated
got the following error.
[ 80%] Linking CXX executable /home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros/lib/fields2cover_ros/visualizer_node
[100%] Built target visualizer_node
<== Finished processing package [2 of 3]: 'fields2cover_ros'
==> Processing catkin package: 'rviz_satellite'
==> Building with env: '/home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros/env.sh'
==> cmake /home/wen/catkin_ws/Fields2Cover/src/rviz_satellite -DCATKIN_DEVEL_PREFIX=/home/wen/catkin_ws/Fields2Cover/devel_isolated/rviz_satellite -DCMAKE_INSTALL_PREFIX=/home/wen/catkin_ws/Fields2Cover/install_isolated -G Unix Makefiles in '/home/wen/catkin_ws/Fields2Cover/build_isolated/rviz_satellite'
-- Using CATKIN_DEVEL_PREFIX: /home/wen/catkin_ws/Fields2Cover/devel_isolated/rviz_satellite
-- Using CMAKE_PREFIX_PATH: /home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros;/home/wen/catkin_ws/Fields2Cover/devel;/home/wen/catkin_ws/polygonCoverage_ws/devel;/opt/ros/noetic;/home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover
-- This workspace overlays: /home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros;/home/wen/catkin_ws/Fields2Cover/devel;/home/wen/catkin_ws/polygonCoverage_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/wen/catkin_ws/Fields2Cover/build_isolated/rviz_satellite/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at CMakeLists.txt:26 (find_package):
By not providing "FindGeographicLib.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"GeographicLib", but CMake did not find one.
Could not find a package configuration file provided by "GeographicLib"
with any of the following names:
GeographicLibConfig.cmake
geographiclib-config.cmake

Add the installation prefix of "GeographicLib" to CMAKE_PREFIX_PATH or set
"GeographicLib_DIR" to a directory containing one of the above files.  If
"GeographicLib" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/wen/catkin_ws/Fields2Cover/build_isolated/rviz_satellite/CMakeFiles/CMakeOutput.log".
See also "/home/wen/catkin_ws/Fields2Cover/build_isolated/rviz_satellite/CMakeFiles/CMakeError.log".
<== Failed to process package 'rviz_satellite':
Command '['/home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros/env.sh', 'cmake', '/home/wen/catkin_ws/Fields2Cover/src/rviz_satellite', '-DCATKIN_DEVEL_PREFIX=/home/wen/catkin_ws/Fields2Cover/devel_isolated/rviz_satellite', '-DCMAKE_INSTALL_PREFIX=/home/wen/catkin_ws/Fields2Cover/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1.
Reproduce this error by running:
==> cd /home/wen/catkin_ws/Fields2Cover/build_isolated/rviz_satellite && /home/wen/catkin_ws/Fields2Cover/devel_isolated/fields2cover_ros/env.sh cmake /home/wen/catkin_ws/Fields2Cover/src/rviz_satellite -DCATKIN_DEVEL_PREFIX=/home/wen/catkin_ws/Fields2Cover/devel_isolated/rviz_satellite -DCMAKE_INSTALL_PREFIX=/home/wen/catkin_ws/Fields2Cover/install_isolated -G 'Unix Makefiles'
Command failed, exiting.

Those are dependency errors from the other package. They can be solved searching the error on Google and doing apt install to the appropriate package. Please, tell me if it works :)

Hello @Gonzalo-Mier, the dependency error is solved, Thanks. But when run "roslaunch fields2cover_ros view_field.launch",
I got the following error message:
'''[ERROR] [1673317219.495218299]: PluginlibFactory: The plugin for class 'rviz_plugins/AerialMapDisplay' failed to load.  Error: Could not find library corresponding to plugin rviz_plugins/AerialMapDisplay. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.'''
I cannot find the "plugin rviz_plugins/AerialMapDisplay"mentioned in the plugin_description.xml file

The error is still that https://github.com/nobleo/rviz_satellite is not yet compiled/installed on your ROS system.

Thanks @Gonzalo-Mier . Yes, I need reboot my computer. Now it works

Nice!! Enjoy it :)


fix(deps): update all deps

:tada: This PR is included in version 2.109.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Server code from modules is exposed on the client

The server code from modules is exposed on the client via the bundle.js files. This is terrible because it could contain sensitive information.

Whoops! :)

@gabipetrovay Maybe we should have an internal tracking of security issues to not publicly disclose them. :joy:

In my opinion, module code isn't the best best place to store sensitive information. The flow-pack bundler, bundles now all modules no matter if they run only on the server, which can be fixed super easily. Further, an access check based on the mic role is also not to hard to implement.
And internal tracking of security issues would make sense for the close-source API's but not for the open-source flow-app repo.

In my opinion, module code isn't the best best place to store sensitive information.

But in general you don't want the server code to be exposed on the client, unless the entire module is open-source and the server side is visible on GitHub or so.
If this is expected, why do we not open-source everything, all the modules (server + client) being visible to everyone, anyways?

And internal tracking of security issues would make sense for the close-source API's but not for the open-source flow-app repo.

Just image lots of websites being powered by this thingy and someone finds out a critical security issue. By disclosing it publicly, everyone can hack all these websites. :cry:

You can imagine that people will build modules that are not open-source. They for sure will not want them to be visible. Also, the developer is free to program whatever he wants in the module including, API keys, secrets, passwords, etc. So it might make sense no to have server code visible. Even if it is not the best practice, people will do it. I also believe that it is not a good practice to store secrets. But allowing everyone so see the server code will open more security issues even if the code does not contain sensitive information (reverse engineering, server architecture, etc.)

Recap:

The flow-pack bundler, bundles now all modules no matter if they run only on the server, which can be fixed super easily.

The issue is understood and will be fixed, Just no prio yet.

Further, an access check based on the mic role is also not to hard to implement.

Even a composition role check, to know if a role has access to a particular module. So only roles which have somewhere access to a module instance composition (mic), of the requested module


Fix grabbing older Origin games.

__Installer/installerdata.xml does not contain executable information for games like Dragon Age: Inquisition and Battlefield 3.

Program not seeing Origin games (specifically Command & Conquer Ultimate Collection)

Same Issue Here With Crysis 3, Please help


Version number

make the released .zip files contain the version of the release

What do you mean? The dll files are versioned correctly.

Also, what would be the use case? To differentiate between different downloaded zip files?

o differentiate between different downloaded zip files?

exactly


Feat: python -m zeus.show_env

This adds an in-tree script show_env.py.
Users can run
$ python -m zeus.show_env

after installing Zeus with pip to understand whether Python packages and hardware (NVIDIA GPU, AMD GPU, Intel RAPL-supported CPU) are recognized.

@wbjin Thanks! Handled cases where things are missing. The following is on my laptop:
$ python -m zeus.show_env
================================================================================

Python version: 3.9.19

================================================================================

[2024-09-09 17:35:04,811] [zeus.utils.framework](framework.py:24) PyTorch with CUDA support is available.
[2024-09-09 17:35:04,811] [zeus.utils.framework](framework.py:45) JAX is not available

Package availability and versions:
  Zeus: 0.10.0
  PyTorch: 2.4.0 (without CUDA support)
  JAX: not available

================================================================================

[2024-09-09 17:35:04,811] [zeus.device.gpu.nvidia](nvidia.py:49) pynvml is available but could not initialize NVML: NVML Shared Library Not Found.
[2024-09-09 17:35:04,811] [zeus.device.gpu.amd](amd.py:42) amdsmi is not available.

GPU availability:
  No GPUs available.

================================================================================

[2024-09-09 17:35:04,811] [zeus.device.cpu.rapl](rapl.py:134) RAPL is not supported on this CPU.

CPU availability:
  No CPUs available.

================================================================================

Works on my laptop and cloudlab as well!


comparison of gha implementation

@studioj just creating this so I can share some of the stuff I've done and we can see if it is worth combining any ideas
Example of tests passing here:
https://github.com/adehad/jira/actions/runs/784185851

@studioj would love your thoughts, if you see anything you think is worth moving over to the main branch let me know

Cool... I will have some time this Friday to continue

And gha is not that complicated to get started as you saw by urself :-)
I'm wondering if the use of this tox-gh-actions package which I'm trying is doing anything...
My knowledge of tox is too basic.

Looking at the logs, I think it is working:
___________________________________ summary ____________________________________
ERROR:   lint: commands failed
  pkg: commands succeeded
  py38: commands succeeded
SKIPPED:  py37: InterpreterNotFound: python3.7
SKIPPED:  py36: InterpreterNotFound: python3.6
SKIPPED:  py35: InterpreterNotFound: python3.5
ERROR:   docs: commands failed
Error: Process completed with exit code 1.

I think the problem is the way the envlist is defined in tox, i.e. it is running the lint and docs commands as well, so even though the tests pass, here we see the lint and docs are failing, causing the whole step to fail.
My understanding of the tox-gh-actions is that it maps the python-version in github actions to the environments in the tox.ini file. I've pushed some changes to the fix_ci branch that hopefully show that it does work.
I've also done some changes on this branch, e.g. fix docs

cherry picked the no brainers already


Editor freezes when selecting text in the system console due to Windows limitation

Godot version:
3.1.1.stable.official
OS/device including version:
Windows 10
Issue description:
Secting output in the terminal window of the Godot Enginge console causes the Enginge to crash on Scene run.
Steps to reproduce:

Create new project
Add Node2d
Select Text in the Console
Run The Node

Minimal reproduction project:
Empty 2D Node suffices

By "console", do you mean the command prompt that appears when the Godot editor opens, or the editor's  Output panel?

command prompt (separate window, thats normally in the back)

I can confirm this in 3.2 beta3. The editor freezes because console is paused when something is selected (probably). Although it doesn't crash, you can unselect text and press any key in the console and the game runs correctly.

I think this is a normal behavior on Windows.

Can confirm. Also this is the normal behavior of Windows.

Is there a way to fix this at all? Hiding the command prompt by window would make this harder to trigger by accident, but it will still be an issue for those who manually toggle it.

We could disable the quick edit option by default, which would prevent the user from selecting in the console. Using https://docs.microsoft.com/en-us/windows/console/setconsolemode and not setting ENABLE_QUICK_EDIT_MODE.
I’m not sure but it is also possible that Godot somewhere waits for the console buffers, that would explain why it’s only a problem when starting the project and not all the times.

nah don't turn off text selection, that's not a real fix, that's just hiding the problem away, and what if i ever need to copy some text from the command prompt window? having to type it all by hand would be so tedious

I think turning off quick edit doesn't prevent you from selecting text, it just means you have to explicitely open the console menu by clicking on the top-left icon, and choose "Select".
But I wish it didnt need to be turned off too.

I will look where we wait for the buffer later.

As far as I see it the reason for the freeze is that Godot starts a new process for running the project. And as long the console is frozen because the user made a selection the the new process don’t start.
I don’t see an easy fix without changing the behavior how Godot starts the game.

Well i didn't know thats a standard behavour of windows consoles, and since deselecting and pressing a key really does work, its not that big of a problem.

After #56012 opening a console is no longer the default behavior, so this should be less prominent.
But as mentioned above, it's actually a "feature" of Windows and not something that we can fix, so closing.

I can't reproduce this bug anymore btw. Selecting text in console doesn't pause anything.


Remove price calculation from pdf generation classes and show discounts

for now only overhaul of the old computational parts that are not needed any more

 Change the QuotationDetails and remove all computation

this PR will probably be removed later, see other PRs

This was solved in #741


Vijayasree/ fix: our Leadership's image circles are not aligned properly during t…

…he page first load
Changes:

...

Type of change

[x] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

LGTM :+1:


As an automation developer I need to create AWS ansible playbook automation to deploy AWS clusters using ACM/HIVE to offer an AWS solution via community automation.

**Is your feature request related to a problem? **
Create an RedHat Ansible solution to deploy an AWS cluster using Redhat ACM/HIVE.
Describe the solution you'd like
Deploy OCP Cluster to AWS infrastructure.
Solution will need to:

follow current ansible model
create a aws yaml templete (Sample template to be provided by Ray Ashworth)
create parameters for (AWS_ACCESS_ID, AWS_SECRET_ACCESS_KEY, size of VM's(Instances), RedHat pull-secret, size of cluster, cluster-name, OCP version)
Deal with Storage ( gp2,OCS? )

Describe alternatives you've considered
na, this will replace terraform solution(s)
Additional context
Contact Ray Ashworth for details about ACM/HIVE.
ACM/HIVE login details available on request.

The automation for this issue have been merged.

The automation for this issue have been merged.


(PHP-W1029) Invalid typehint detected in function

Description
The typehint provided for the function is not a valid class type. This may happen because of a typo, or the class specified in typehint is not present in the current namespace. You can also face this issue on using native union types if your PHP version is < 8.0. …
Occurrences
There is 1 occurrence of this issue in the repository.
Method App\Http\Controllers\SectorController::users() has invalid return type

Documentation adjustment performed


Large-scale refactor of scan function

Summary

Returns a list of the discovered devices for use as a utility function.
Ability to silence output for use as a utility.
Improve performance of multi-threaded scan by using a Queue.
Switch to "f" strings for interactive output.
General code flow improvements and encapsulation.
Switch to more generalized wording. Not all Tesla Energy Gateways are Powerwalls anymore. Add ability to work with standalone inverters.

Rationale
I am building a utility that I plan to run periodically to collect string data from my standalone Tesla inverters. Because this requires local LAN IP access, there is a possibility that  the IP address will change on the LAN (especially if it's on wifi). Therefore, my utility should do a quick scan of the network every time it reports data. Thus, I needed something that would report the list of discovered devices and do it quickly, hence the emphasis on scanning as a utility and multi-threading improvements.
This sucked me into a wholesale refactor of this module, pretty much no line was left untouched. The style is rather different than the rest of pypowerwall. If that's not OK I'm happy to work on changing things to match what is preferred in the repo, though I generally believe the refactored code is tighter, easier to read, and more resilient to errors.
Testing
See the code below for using this as a utility. The call is the very last line, in main.py.
The manage_ip_route function is so useful that we should probably put it in the README. I'll cut a PR for that next.

File: manual_reporter.py
import json
import socket
from enum import Enum
from typing import Any, Dict, Final

import pypowerwall
from pyroute2 import IPRoute, NetlinkError

class RouteOperation(Enum):
    ADD = 'add'
    DELETE = 'del'

def manage_ip_route(operation: RouteOperation, destination: str, gateway: str, interface: str = None):
    """
    Manages an IP route using pyroute2's IPRoute, with 'onlink' handling.

    Parameters:
    - operation: RouteOperation.ADD or RouteOperation.DELETE
    - destination: The network or IP address in CIDR notation (e.g., "<IP_ADDRESS>/24")
    - gateway: The gateway IP address (e.g., "<IP_ADDRESS>")
    - interface: The optional network interface (e.g., "eth0").
                 If not provided, the route is managed without specifying an interface.

    Example usage:
    manage_ip_route(RouteOperation.ADD, "<IP_ADDRESS>/24", "<IP_ADDRESS>")
    manage_ip_route(RouteOperation.DELETE, "<IP_ADDRESS>/24", "<IP_ADDRESS>", "eth0")
    """
    ip: Final = IPRoute()

    # Build route parameters
    route_params = {
        'family': socket.AF_INET6 if ':' in destination else socket.AF_INET,
        'dst': destination,
        'gateway': gateway
    }

    if operation == RouteOperation.ADD:
        route_params['flags'] = ['onlink']

    try:
        # Lookup interface index if interface is specified
        if interface:
            idxs = ip.link_lookup(ifname=interface)
            if not idxs:
                print(f"Interface '{interface}' not found.")
                return
            route_params['oif'] = idxs[0]
        # Perform the route operation
        if operation == RouteOperation.ADD:
            ip.route('add', **route_params)
            action = "added"
        elif operation == RouteOperation.DELETE:
            ip.route('del', **route_params)
            action = "deleted"

        print(f"Route {action}: {destination} via {gateway}" + (f" dev {interface}" if interface else "") + (f" {','.join(route_params['flags'])}" if 'flags' in route_params else ""))
    except NetlinkError as e:
        # Handle netlink errors
        action = "adding" if operation == RouteOperation.ADD else "deleting"
        print(f"Error {action} route: {e}")
    except Exception as e:
        # Handle other exceptions
        print(f"An unexpected error occurred: {e}")
    finally:
        # Ensure resources are cleaned up
        ip.close()

#TEDAPI
def TEDAPI_REPORT(gw_pw: str, device: Dict[Any, Any]) -> None:
    email: Final =<EMAIL_ADDRESS>    timezone: Final = "[TIMEZONE]"
    host: Final = "<IP_ADDRESS>"
    password: Final = ""
    pw: Final = pypowerwall.Powerwall(host,password,email,timezone,gw_pwd=gw_pw)

    # Some System Info
    print(f"Site Name: {pw.site_name()} - Firmware: {pw.version()} - DIN: {pw.din()}")
    print(f"System Uptime: {device['up_time'] if 'up_time' in device else pw.uptime()}\n")

    # Display String Data
    string_data = pw.strings()
    print("String Data: %s\n" % json.dumps(string_data, indent=4))
    power = 0
    for value in string_data.values():
        power = power + value["Power"]
    print("String Power Total:", power)

    # Display Device Vitals
    vitals = pw.vitals()
    print("Vitals Data: %s\n" % json.dumps(vitals, indent=4))

File: main.py
import sys
import os
import sys
from typing import Any, Dict, Final, List

from pypowerwall import scan

from manual_reporter.manual_reporter import (TEDAPI_REPORT, RouteOperation,
                                             manage_ip_route)

passwords: Dict[str, str] = {
    '[DEVICE DIN 1]': "[GATEWAY PASSWORD 1]",
    '[DEVICE DIN 2]': "[GATEWAY PASSWORD 2]"
}

def main(devices: List[Any]) -> int:
    ethernet_interface: Final[str] = "eth0"
    tedapi_subnet: Final[str] = "<IP_ADDRESS>/24"

    for device in devices:
        din: Final[str] = device.get('din', '')
        ip: Final[str] = device.get('ip', '')
        if not din or not ip:
            continue

        password: Final[str] = passwords.get(din, '')
        if not password:
            print(f"Password not found for device with DIN {din}. Skipping")
            continue

        try:
            manage_ip_route(RouteOperation.ADD, tedapi_subnet, ip, ethernet_interface)
            TEDAPI_REPORT(password, device)
        except Exception as e:
            print(f"Error manging route or reporting for device {din}: {e}")
        finally:
            manage_ip_route(RouteOperation.DELETE, tedapi_subnet, ip, ethernet_interface)

def is_root() -> bool:
    return os.geteuid() == 0

if __name__ == '__main__':
    if not is_root():
        # Re-run the script with sudo
        print("This script needs to run with administrative privileges. Requesting sudo...")
        try:
            os.execvp("sudo", ["sudo", "python3", sys.argv])
        except Exception as e:
            print(f"Failed to elevate privileges: {e}")
            sys.exit(1)

    main(scan.scan(max_threads=256))

Credit
Some credit goes to ChatGPT, which helped with some of the refactoring.

Thanks for this @Nexarian !- I like the update.
I seem some issues scanning my Powerwall 2 and +.  Here is a quick scan (notice what is scanned doesn't match what is ultimately found) also the "unknown" which seems to be what the gateway is sending back, oddly.
Here is the OLD code:

Here is the PR code:

So we need to address a few issues here:

Need to fix the interactive scan IP that is showing when a TEG is found so it matches the reported.
The "Unknown" is likely from the teg_type payload, we may need to switch to device_type instead.
Minor color issue with "Code" for found items

@jasonacox Updated with what I believe fixes for all the issues you've mentioned.

On mine, device_type is simple teg which is less useful than Powerwall so I've kept it Powerwall for now.

Fixed! Thanks @Nexarian - I'll add some a version bump and release notes.

Ready to merge and release update - @Nexarian let me know if this work for you.

@

Ready to merge and release update - @Nexarian let me know if this work for you.

Looks good to me! Please merge!

Merged! View at:
https://pypi.org/project/pypowerwall/0.12.1/


Update Update-SPAppInstance.md

Fixed example formatting.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Update-SPAppInstance.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


android build template fails

Godot version: 3.2.beta
OS/device including version: linux 4.19.69-1-MANJARO
Issue description:
gradlew fails:
$ ./gradlew generateGodotTemplates

Task :Godot:lib:preBuild UP-TO-DATE
Task :Godot:lib:preReleaseBuild UP-TO-DATE
Task :Godot:lib:compileReleaseAidl UP-TO-DATE
Task :Godot:lib:compileReleaseRenderscript NO-SOURCE
Task :Godot:lib:checkReleaseManifest UP-TO-DATE
Task :Godot:lib:generateReleaseBuildConfig UP-TO-DATE
Task :Godot:lib:generateReleaseResValues UP-TO-DATE
Task :Godot:lib:generateReleaseResources UP-TO-DATE
Task :Godot:lib:packageReleaseResources UP-TO-DATE
Task :Godot:lib:processReleaseManifest UP-TO-DATE
Task :Godot:lib:generateReleaseRFile FAILED
Task :generateGodotTemplates FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':Godot:lib:generateReleaseRFile'.

Failed file name validation for file /home/dario/godot/sources/godot/platform/android/java/lib/build/intermediates/packaged_res/release/drawable-hdpi-v4/notify_panel_notification_icon_bg.png.import

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 0s
1 actionable task: 1 executed
Steps to reproduce:
scons platform=android target=release_debug android_arch=armv7
scons platform=android target=release_debug android_arch=arm64v8
./gradlew generateGodotTemplates

It seems like you placed the Godot source directory in a project, which causes .import files to be created for all icons contained in the source directory (as Godot is importing them into your project).
You can solve this by creating a file called .gdignore at the root of the Godot source directory. There was a pull request for this, but it wasn't merged.

ty


Could not find a version that satisfies the requirement zipfile (from versions: none)

Error during install on picroft
pi@picroft1:~/work $ msm install https://github.com/gras64/pootle-sync-skill.git
INFO - building SkillEntry objects for all skills
INFO - Downloading skill: https://github.com/gras64/pootle-sync-skill
INFO - Reading from manifest.yml
INFO - Installing system requirements...
INFO - Installing requirements.txt for pootle-sync-skill
INFO - Problem performing action. Restoring skill to previous state...
INFO - invalidating skills cache
PipRequirementsException:
Pip returned code 1:
Requirement already satisfied: requests in /home/pi/mycroft-core/.venv/lib/python3.7/site-packages (2.20.0)
Collecting polib
  Downloading polib-1.1.0-py2.py3-none-any.whl (25 kB)
Collecting wget
  Downloading wget-3.2.zip (10 kB)

ERROR: Could not find a version that satisfies the requirement zipfile (from versions: none)
ERROR: No matching distribution found for zipfile

Could it be that it should be zipfile2 and not zipfile ?
https://pypi.org/project/zipfile2/

Or should it be removed and use native zipfile module that I think is in python ?

thanks did a little bugfix

Could it be that it should be zipfile2 and not zipfile ?
https://pypi.org/project/zipfile2/

yeah that helped, maybe a version was needed but i didnt new how to write it


Compilation error with bt_music_sender example

Hi,
I am trying to learn how to play a sound from my m5stack ATOM Matrix to my Bluetooth headphones. It is basically a countdown (my initial idea was to use the Talkie library but I couldn't make it work).
Assuming this is possible, I tried to use the bt_music_sender example but I am getting the following error (on Arduino IDE 2.2). Any ideas on what I am doing wrong?
`/Users/alexsouza/Documents/Arduino/libraries/ESP32-A2DP/src/BluetoothA2DPSource.cpp: In member function 'virtual void BluetoothA2DPSource::bt_app_gap_callback(esp_bt_gap_cb_event_t, esp_bt_gap_cb_param_t*)':
/Users/alexsouza/Documents/Arduino/libraries/ESP32-A2DP/src/BluetoothA2DPSource.cpp:546:8: error: 'ESP_BT_GAP_ACL_CONN_CMPL_STAT_EVT' was not declared in this scope
case ESP_BT_GAP_ACL_CONN_CMPL_STAT_EVT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alexsouza/Documents/Arduino/libraries/ESP32-A2DP/src/BluetoothA2DPSource.cpp:546:8: note: suggested alternative: 'ESP_BT_GAP_QOS_CMPL_EVT'
case ESP_BT_GAP_ACL_CONN_CMPL_STAT_EVT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ESP_BT_GAP_QOS_CMPL_EVT
exit status 1
Compilation error: exit status 1`

Please don't ignore that I am asking for Software Verisions
https://github.com/pschatzmann/ESP32-A2DP/wiki/Reporting-Bugs
https://github.com/pschatzmann/ESP32-A2DP#support

Phil, thank you so much for your input. Just started playing with ESP/Arduino boards, this was very valuable. I really appreciated that.
I will try to address the memory issues I am having now to, then, see how to implement the Simple TTS library into the project.
Again, thanks a lot!


Use Validate arguments in custom types validate methods

First I want to say, you guys are freaking amazing. This lib is one of the best I discovered in years since sqlalchemy itself.
Coming from attrs, the way you guys made all the exporting logic generators is pure genius. So thanks for this, I'm loving moving my first large feature from attrs in the hopes of benifiting from the benchmark speeds!
I searched through all open and closed and didn't find anything. Which makes me think its just a current lack of knowledge since I'm just getting started with pydantic.
Question
Ok, my question is pretty simple.
Is it possible to set validator arguments like pre on custom types?
I get pydantic isn't a validation library, so no biggie if not. It just seems so close as is, so i figured there is probably a way.
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.4
            pydantic compiled: False
                 install path: /Users/john/.virtualenvs/web-aKL4etZ6/lib/python3.7/site-packages/pydantic
               python version: 3.7.4 (default, Oct 12 2019, 19:06:48)  [Clang 11.0.0 (clang-1<IP_ADDRESS>)]
                     platform: Darwin-19.3.0-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

import re
from typing import Type

from pydantic import BaseModel, ConstrainedStr

class NonEmptyStr(ConstrainedStr):
  """"""

  @classmethod
  def validate(cls, v):
    v = super().validate(v) or None
    return v

def nonempty(
  *,
  strip_whitespace: bool = False,
  strict: bool = False,
  min_length: int = None,
  max_length: int = None,
  curtail_length: int = None,
  regex: str = None,
) -> Type[str]:
  # use kwargs then define conf in a dict to aid with IDE type hinting
  namespace = dict(
    strip_whitespace=strip_whitespace,
    strict=strict,
    min_length=min_length,
    max_length=max_length,
    curtail_length=curtail_length,
    regex=regex and re.compile(regex),
  )
  # noinspection PyTypeChecker
  return type('NonEmptyStrValue', (NonEmptyStr,), namespace)

class TestModel(BaseModel):
  """"""
  phone_type: nonempty(curtail_length=1) = None

  # It works when this is included with the `pre`.
  # But the type NonEmptyStr does the same logic,
  # so if it could run like `pre` is on.
  # It would save me a bunch of duplication.

  # @validator("phone_type", pre=True)
  # def _null_strings(cls, v):
  #   return v or None

c = TestModel(
  phone_type='',
)

Yes, but not quite the same way. Custom types get their validators from the functions yielded from __get_validators__.
See the definition of __get_validators__ for ConstrainedStr:
https://github.com/samuelcolvin/pydantic/blob/aaec3c9c15581d2de31bcda0fbf096638386ee20/pydantic/types.py#L167-L171
If you want to get your validate class method run before other validators, override __get_validators__ and change the order functions are yielded.
Hope that solves your problem, if not feel free to ask for more info or clarify your question.


AV Detects as Trojan

This just started recently that Sophos will detect the exe file as Troj/AutoG-KP and will remove the file. I am still looking into why this is.
https://www.virustotal.com/gui/file/cd63e536fe177452883eca53322bba3bb79334f3ab85a16acc6846544da2c207/detection

Updating with a list of AVs that are detecting this file as malicious

Probably my last update, this time with the rules that have likely triggered the detection

Same problem here - with norton AV.  I overrode norton, then tried to re-install, but edscout said previous install was incomplete and wanted to do a system restart.....so i declined and un-installed. Not confident it is safe.

Same problem here - with norton AV.  I overrode norton, then tried to re-install, but edscout said previous install was incomplete and wanted to do a system restart.....so i declined and un-installed. Not confident it is safe.

The software is open source so you're welcome to make your own judgement. I package it up on my development machine and publish it here but if you look at the above listings, those are inline with the content of the software and are IMO innocuous.
For most releases, various virus checkers have flagged it. Microsoft have always reverted that (I suspect automated) initial decision.
You should always do what you feel best of course, but to the best of my knowledge there is nothing nasty lurking in EDScout.

The software is open source so you're welcome to make your own judgement. I package it up on my development machine and publish it here but if you look at the above listings, those are inline with the content of the software and are IMO innocuous.
For most releases, various virus checkers have flagged it. Microsoft have always reverted that (I suspect automated) initial decision.
You should always do what you feel best of course, but to the best of my knowledge there is nothing nasty lurking in EDScout.

The software is open source so you're welcome to make your own judgement. I package it up on my development machine and publish it here but if you look at the above listings, those are inline with the content of the software and are IMO innocuous.
For most releases, various virus checkers have flagged it. Microsoft have always reverted that (I suspect automated) initial decision.
You should always do what you feel best of course, but to the best of my knowledge there is nothing nasty lurking in EDScout.

I'm sure it's mostly safe, did a bit of digging for the earlier comments, but just be worth looking for an alternative to pyinstaller which is what is triggering these as far as I can tell.

The software is open source so you're welcome to make your own judgement. I package it up on my development machine and publish it here but if you look at the above listings, those are inline with the content of the software and are IMO innocuous.
For most releases, various virus checkers have flagged it. Microsoft have always reverted that (I suspect automated) initial decision.
You should always do what you feel best of course, but to the best of my knowledge there is nothing nasty lurking in EDScout.

I'm sure it's mostly safe, did a bit of digging for the earlier comments, but just be worth looking for an alternative to pyinstaller which is what is triggering these as far as I can tell.

thanks for the response ... 'fraid code trawling is a bit beyond me now - IBM mainframe girl here! <showing her age :)> maybe I'll just have another try!

thanks for the response ... 'fraid code trawling is a bit beyond me now - IBM mainframe girl here! <showing her age :)> maybe I'll just have another try!

Haven't heard any reports of 1.8.2 doing this so closing for now.


How does mqtt update configuration format work?

README-MQTT.md  Updateconf is not explained.
Found that esp8266 theme can't be too long, too long mqtt exception

hey @vvvyky have you seen the latest branch on which I'm working on? I know that there are still problems with exceptions, as soon as I fix them I'll open a PR with documentation, OK?


Problem Statement

@smiths please check my problem statement.

Me feedback is as follows:

please provide a link to the problem statement in the issue (for future issues)
please explicitly assign the issue to me (for future issues)
please update Repos.csv with your information
for the problem statement, please add a few references.  In particular, it would be nice if you could find an online truss analysis tool that you can point to as an example
for the outputs in Section 1.2, please also mention the support reactions
for goal 1, please change the mention of stress distribution to force distribution.  I'm being a bit picky, but I don't think you will worry about stresses, since that requires information on the cross-sectional area of each member.

In your SRS you will have to think about how to characterize the input that describes a general truss.  You can find an example of a specific truss done for 741 in Drasil here.  This example is for a fixed geometry.  For your project, we really should have the capability of specifying different trusses.  That is why I suggested that you find some online calculators that should give an idea of how this information is specified by others.
I'll change the assignment of the issue to you.  Once you have done the above, please reassign the issue to me, or create a new issue.  Once the changes are made, I'll approve the project.

fixed problem statement
https://github.com/Maryamvalian/project741/tree/main/docs/ProblemStatementAndGoals

@smiths I have updated my details in repos.csv file. Please check and approve it.

Thank you @Maryamvalian.  Your problem statement is now approved.  :smile:


Node Red on port 80

Support run node red on port 80

I think it is already supported. Just pass process.env.PORT value to container.

24 Aug 10:22:37 - [error] Error: listen EACCES: permission denied <IP_ADDRESS>:80
    at Server.setupListenHandle [as _listen2] (net.js:1296:21)
    at listenInCluster (net.js:1361:12)
    at doListen (net.js:1498:7)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/src/node-red/.npm/_logs/2020-08-24T07_22_37_262Z-debug.log
Starting node-red

><EMAIL_ADDRESS>start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"```

cap_net_bind_service=+ep for node ?

The reason for this is almost certainly that you try to do this as non-root. Only root is allowed to bind to ports <1024.

The problem here is that the container runs node-red as uid 1000. Only root is allowed to bind to ports <= 1024.

@Shaquu plz fix this

@twocolors got it, let me see

thx, all work

@twocolors could you please verify it on newest docker image?


Update scalafmt-dynamic to 2.2.1

Updates org.scalameta:scalafmt-dynamic from 2.2.0 to 2.2.1.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-dynamic" } ]

labels: semver-patch

Closing https://github.com/tanishiking/scalaunfmt/pull/53


Add Automated Test Suite

Goals:

Cover all lab content
Cover all platforms (free tier, live labs)
Hands free (lights out) with minimal prep
Clear success or failure indication
Setup, Test, Teardown

Added and documented here - https://github.com/oracle/microservices-datadriven/blob/main/grabdish/docs/AutoTest.md


[ BN ] Regarding Ruby references in the lesson translations.

I'm in the process of reviewing some of the translations of lessons and in a few places there are references to Ruby i.e. on the Mix and Basics chapter. While it's helpful to have a reference handy, but people who'd be coming with the interest of a Bengali translation wouldn't mostly be Ruby programmers since we don't have many of them here. I was thinking if I'd remove these references and add a more general tone to it? For example, when thinking Mix I instantly thought of Leiningen and same mental "Clojurian" comparison came in my head with the Pipe Operator, Symbol etc. But I guess we should keep it agnostic of other (at least non-Erlang) language references or add more than just one "comparable" languages when the feature in question is less unique to that language?
Just a thought, what do you say?
cc: @masnun @prio101 @doomspork @nscyclone ?

Agreed.

Agreed, we need to have a more neutral documentation for programmers with a non-Ruby background. Bengali aside, there should not be references to another language, rather, independent explanations for topics that are unique to this language.

@armanhusain you cannot let go of Erlang when it comes to advanced topics such as OTP and concurrency because Elixir is based on top of those, reference of it is bound to arrive and it's natural for it to be so. References to another language cannot be entirely removed, that'd be silly in places.
Elixir is a new language and most of the people coming on board will have some programming experiences, I think. So that will be easier to cross-reference examples similar in other languages. So that is not bad if you ask me. I was just mentioning Ruby because it comes a bit more often as a referring "third party language" not in this site, but in quite a few other places. In Bangladesh, we have very few Ruby devs and from what I see, most Elixir enthusiasts here have JavaScript background. So, instead of pigeon-holing Ruby, one or two more language reference would be nice, just so that people can relate. I am speaking for the Bengali section because I am one of the contributors here and I intend to add a reference or two (or remove some and expand the definition) and wanted other contributors' opinion on it, that's all. I am not entirely against cross-language references especially in languages where most entrants have some programming experience under their belt.

totally agreed with @code-shoily ...

Hmm.  This is tough and I'd like to think it over a bit.  The purpose of referencing other languages is to assist folks with comparing it to things they know.  While the some people may not have Ruby backgrounds the vast majority of folks coming to Elixir do.
@nscyclone / @pjhampton / @pragmaticivan / et al — any thoughts?

I agree with @code-shoily about the OTP part. But I still think removing Ruby as a reference to use general context would be less helpful. I would rather add javascript reference too, since most of the web developers are familiar with javascript.
I think the vast majority are coming from Ruby. But also we should take into consideration to take a look at resources of where José Valim took inspiration to write something. I bet Symbols is a good case to explain that.

Hmm, there is a Scala project where the maintainers tried to tie the lessons to other langs (Java, Python, Ruby). They didn't get very far with it except for Java because it was a natural progression from Java to Scala. I think Ruby is the closest syntactically and the elixir toolchain is heavily inspired by it. I think if there were semantic comparisons in the lessons then we should consider removing these.

Pinging some of the other translators to get their feedback since this change will impact everyone: @Koziolek / @brain-geek / @gemantzu / @devleoper / @cizixs

@doomspork I only meant for the Bengali translations :) because it's a rather small community, I know most of them personally, even the ones who're planning to join up. Only one or two from the Ruby background and they're fairly advanced developers who probably went way ahead from documentation. I was asked quite a few number that if knowing Ruby would help to start off with Elixir, or if they'd be at any disadvantage for not knowing Ruby etc. I figured, the Bengali translation would mostly cater to beginner to intermediate programmers who might naturally ask these questions or think like that. That's why I had raised this issue to i) Add more languages in examples and ii) Expand on the definition of things a bit more in Bengali translations. I don't think the same should hold for other countries or languages because a fair amount of programmers are coming from the Ruby background so like @pragmaticivan had said, it would be less helpful. But in case of Bengali, a large number I see gaining interest in Elixir are from JavaScript/Java background (and a few Pythonistas here and there). So my question was more local to the Bengali translations.

In my opinion it will be more helpful if we add more instead of moving to a more general approach with no language reference. I think the Ruby parts are not that many and it will not create a big impact to add references to a couple more languages. @code-shoily have in mind though, that most people coming to elixir are have a Ruby background, at least up until now.

I totally agree with @pragmaticivan and @gemantzu.
Removing existing references doesn't offer that much benefits but adding more is a good option to provide a faster and more comfy way to learn for those who has some background exprience with any other languages.

Thanks for the inputs everyone :) I think I'll just add references to other languages in my translations when appropriate.


Solution mess

Lately downloading the code and getting started has become a real mess.
Dependencies and some other project settings are forced somehow by fancy code in the .csproj (i guess) and it' not easy to get the solution working. I noticed this since you provide support for framework 4.0 and 4.6 separately.
For example for the Mirror sample project I ended up creating a new project within which i copied the two .cs file needed (Program.cs and Mirror.cs) to make it work.
Hope you opt for simpler and more stable managing of the solution.

Hi @maurosampietro ,
It is true that mirror .csproj use platform check to select the proper library to reference.
https://github.com/dokan-dev/dokan-dotnet/blob/master/sample/DokanNetMirror/DokanNetMirror.csproj#L81-L92
This is an official option in visual studio.
But I see no issue for making it work, even appveyor build all framework.
https://ci.appveyor.com/project/Liryna/dokan-dotnet
It can happen that sometimes you need to build the solution a second time to get all work.


protoc-rust doesn't always put optional in an Option

I'm trying to parse the transit agency realtime spec, GTFS Realtime .proto file, and used protoc-rust. Some of the fields I expected to be Option were instead SingularPtrField.
For example, the FeedEntity in the spec looks like this:
message FeedEntity {
  required string id = 1;
  optional bool is_deleted = 2 [default = false];

  // Data about the entity itself. Exactly one of the following fields must be
  // present (unless the entity is being deleted).
  optional TripUpdate trip_update = 3;
  optional VehiclePosition vehicle = 4;
  optional Alert alert = 5;

  extensions 1000 to 1999;
}

The generated struct looks like this:
#[derive(PartialEq,Clone,Default)]
pub struct FeedEntity {
    // message fields
    id: ::protobuf::SingularField<::std::string::String>,
    is_deleted: ::std::option::Option<bool>,
    trip_update: ::protobuf::SingularPtrField<TripUpdate>,
    vehicle: ::protobuf::SingularPtrField<VehiclePosition>,
    alert: ::protobuf::SingularPtrField<Alert>,
    // special fields
    unknown_fields: ::protobuf::UnknownFields,
    cached_size: ::protobuf::CachedSize,
}

So while, is_deleted is inside of an Option, trip_update, vehicle and alert are not. I would expect them to be; I had thought a repeated would go in a Vec, and an optional would go in an Option. Is that not the case?
My build.rs file looks like this:
extern crate protoc_rust;
use protoc_rust::Customize;

fn main() {
    protoc_rust::run(protoc_rust::Args {
        out_dir: "src/protos",
        input: &["protos/gtfs-realtime.proto"],
        includes: &["protos"],
        customize: Customize {
          ..Default::default()
        },
    }).expect("protoc");
}

My protoc version is 3.6.0.

SingularPtrField is essentially the same thing as Option.
It is created to solve two things:

faster parsing when message is cleared and memory is reused
recursive messages

FYI, there's a task for implementing an option to store messages in Option<Box<M>>: https://github.com/stepancheg/rust-protobuf/issues/300

Oh, I see, I misunderstood. Thanks!


Add BadgerDB garbage collection.

For issues #370, #369, and #363. I've tested it myself under the condition of setting the log file size to 1MB. With 1000 clients repeatedly connecting and disconnecting with the same client ID, if GC is not enabled, the log file continues to grow indefinitely. Enabling the GC loop resolves this issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-4 of 17 (76.47%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 98.656%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hooks/storage/badger/badger.go
13
17
76.47%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
5578

Relevant Lines:
5654

💛  - Coveralls

@werbenhu @dgduncan This generally looks like a great enhancement to me (on my phone at least), and I'm going to try to look at it as soon as I can. Currently I am on the other side of the world (Tasmania) and I've had very little signal or internet for the last couple of weeks. I will be returning to more populated areas in a week. I also hope to finalise some of the other improvements we've discussed like the file based config. Thank you for keeping everything going!

How to use it?
Can 't ust make it a default config???


[WebToolsE2E][Aspire][Tracking] Support for aspire 9.0 templates should be added.

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install latest .NET SDK RC1
Install Aspire 9.0 P4
Add dotnet8 feed

REPRO STEPS

Open Command Prompt, create an aspire 9.0 project fails
dotnet new aspire -f net9.0

ACTUAL
Error: Invalid option(s):
-f net9.0
'net9.0' is not a valid value for -f. The possible values are:
net8.0   - Target net8.0

VS Side:
No target .NET 9.0 for Aspire App

No 'Enlist in .net aspire orchestration'checkbox for web app

EXPECTED
Similar to net8.0, aspire 9.0 templates can also be successfully created.

@joperezr will this scenario be fixed when issue https://github.com/dotnet/aspire/issues/5447 is resolved? Or is this a separate issue?

It will, this is a dupe of that so I'll go ahead and close it as such. Dupe of #5447


Update 0.9.4-ConfigKeys.php

Adds mfunc to the default ignore list so those who have the premium plugin and are using fragment caching won't need to exclude it on their own.

Thank you.


Make circularList threadsafe and fix Integer overflow

add()/remove() methods are not write thread-safe. currentIndex in InnerList can overflow if not updated.

@kishorekasi is this considered completed based on #235?

Yes, it’s complete. I will close the issue. Thanks @ipapapa


NIFI-7552: When Process Group is configured to transfer data in batch…

…, add an attribute to each outbound FlowFile that indicates how many FlowFiles went to each port. Updated user guide to explain the new attributes.
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Reviewing...

I played with this for a bit and it behaved as expected. Merging to main, thanks @markap14 !


Roulette players get cut off in !players when there's lots of them

Should be split up

I've added the option to implement your own message processor now
https://github.com/SooYou/plugged/commit/006f00d93194a61bf26530c9b51daa1bf9ef382e
I am open for suggestions or ideas regarding this before I release 2.1.0

Hey, I noticed the same problem but more annoying with the command !trivpoints

Could probably just pass npmjs.com/wordwrap to the thing @SooYou mentioned above :D

Turns out that plug truncates stuff after html encoding, and without handling multibyte characters, so I tried to sorta account for both of those things in 3b231f6 but it's not particularly elegant :smile:


Update nn-shobjidl_core-ifileoperation.md

remove indentation before '' to fix rendering

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


[LANG-1406]  StringIndexOutOfBoundsException in StringUtils.replaceIgnoreCase

Fix for Lang-1406 to avoid any exception while performing String.UTils.replaceIgnoreCase() against uniCode String object.
Plz let me if there have any extra things need to be done for this PR since I am the first timer for commons-lang project( add more test case?).
All the best

I'm surprised by this bug. Had no idea something like this could happen. Will debug later and see if I can understand why that happens (might have to train my brain to default to always use uppercase instead of lowercase?). Thanks for the pull request, we will review the code and if everything looks OK a committer will merge it.

Oh, that does make sense now. So the first visible character we see is the "Latin Capital Letter I with Dot Above" (see also this other link), and the second an x. And doing toUpperCase() simply won't change it as it's considered already upper case.
When doing a toLowerCase, it gets translated into two visible characters. The second is the normal x. While the first contains two codepoints. I tested in Python, and got the lower case i (print(u"\u0069")) followed by a character invisible by itself (print (u"\u0307")).
The special/invisible character, is visible when coming after certain letters.
>>> print(u"\u0307")

>>> print(u"\u0069\u0307")
i̇
>>> print(u"\u0068\u0307")
ḣ
>>> print(u"\u0067\u0307")
ġ
>>> print(u"\u0067\u0307")

When we get these invisible characters, as we have one code point more, the length returned is not 2, but 3. Resulting in exception in this issue.
I don't believe the fix here would fix the reverse case, where we had a lower case, single codepoint, unicode; that would be represented by a two code codepoint. The exception could happen again (I haven't investigated whether such case exist, but I'm assuming there could be such case - if not now, maybe a character could still be added in future editions).
What do you think @HiuKwok ? Any suggestions? I'm not sure if there's any easy way to fix this case, except by adding a note to the documentation saying that the method is not intended to be used with unicode strings, as it doesn't handle supplementary characters well. Or maybe we could try to remove the length() call around the StringBuilder's near the end of the method...

To whom who interested in this issue, here is some founding that I discovered throughout this month of issue solving.
Problem:

The exception would happened when any String object passed in with unicode character. In order to achieve ignore case replacement, the internal logic would first transform both text and SearchString to lowerCase( ) for comparaition.

However if anyone passion enough to digger deeper into the src logic of .toLowerCase( ). Certain unicode character would be denormalized. In this way the result String length would tend to longer than original length().  Example like:
So making use of the transformed String, Out bound exception would happen when trying to access the index that doesn't access at all (3 in this case vs 2 in length before lowerCase).

Flow:

So the first thought into my mind is, why dun just normalize both text and searchString before performing ignore case comparation? In this way the String length would always stay consistence no matter toLowerCase( ) or toUpperCase( ) 3 -> 3.  However the another problem would emerged, as you may noticed, while the String mentioned above denormalize, it would turn into a UpperCase I and a dot sign.

But what happen if the search pattern emerge into searchText in decompose form. In this case let say I am trying to match a upper [I]. Then mismatch would happen and this is certain not the desire behavior of this method I believe.

BTW I Drafted a simple main method to demonstrate how mismatch would happen in here.
https://github.com/HiuKwok/commons-lang/blob/master/src/main/java/com/hiukwok/test.java#L10-L20

Good progress so far @HiuKwok . Understanding the problem well is a good first step to solve it 👍 my next development cycle for Apache will probably be for a release for Apache Commons Imaging, then after that Lang+Text. So will try to help here if you haven't found a way to solve it yet.

Oh, actually the issue has been closed in #423! Closing the PR, but thanks for your contribution @HiuKwok  !


Visualization

should be a music visualization, generated by the audio file

ohr - audio visualization - React and Three.js
| react three fiber | three.js |
Libraries
npm i react-math
npm i math-sin
npm install three @types/three @react-three/fiber @react-three/drei @react-three/postprocessing
| react-math |
| math-sin |
| @react-three/drei |
| @react-three/postprocessing |