Restructure Security Docs

Restructuring Security sections to better distinguish between access controls/identity and encryption-related topics.
TBD:

Split User/Groups and Policies into distinct documents
Import KES-related docs under Encryption

@ravindk89 My naive assumption would be a structure like:
 - IAM
    - Users
    - Groups
    - Policies
    - Providers
    - ....
 - Encryption & Key Management
    - Client-Side Encryption
    - Server-Side Encryption
    - KES + KMS
    - TLS + Certificates
    - ...

All that could be under a section Security - (that would be 3 levels).
The names are just what I made up and may be adjusted to whatever fits.
Is that kind of what you have in mind as well - or is it totally different?
Also, is the idea make these sections informational concept pages explaining what is possible (and best practice)? Or should this be guides that walk you through how to configure / setup certain things?
B/c I don't think that is sufficient to just provide a N step guide w/o a (separate) explanation page. From my experience, user A wants a guide that shows how to do a specific task - e.g. setup the KMS or configure LDAP. However, there is also user B who wants to first understand what is possible and how the model looks like - e.g. What is the difference between client-side & server-side encryption? Is server-side encryption the same as "encryption in-flight" (TLS)? What SSE should I choose - SSE-C or SSE-S3 / SSE-KMS. What KMS vendors can I use? a.s.o.

The names are just what I made up and may be adjusted to whatever fits.
Is that kind of what you have in mind as well - or is it totally different?

These are actually fine - all that is necessary is for the names to be generally predictive of the content they contain.

Also, is the idea make these sections informational concept pages explaining what is possible (and best practice)? Or should this be guides that walk you through how to configure / setup certain things?

Right now I'm conceptualizing two possible structures.

Concepts where simple guides suffice, or we can point to a reference page. User/Group creation pages might be like this. A few quick start examples + a link to mc admin user and mc admin group.

Concepts where you need distinct guides due to complexity. KES is an easy example - the page we discuss what KES is and does would get very long and crowded if we also included a configuration guide for each supported KMS (maybe).

My hope is to lead with concepts and nest procedures, such that User A can always skip the concepts easily. The dual nav structure should help where we have very long pages, as someone can just click to the exact position they want.
With the proposed structure, for example, the KES + KMS page might be "long" on guides (one for each supported KMS) - but with the right-hand in-page floating toc, its very easy to click to the one you care about.
The only advantage of splitting IAM and EKM into first-level nav is we don't have to mess with three levels of left-hand navigation, which can get a little ugly - I'm less concerned about this in the short term as its an easy problem to solve if we get users who find Security to be too heavy. I guess we will see.
I'm going to patch up using the suggested organization and add some content that provides more specific examples of both "Concept + Instruction" and "Instruction only" pages. That might help.

Per discussions w/ @aead , going to patch the following skeleton:
    - Users
    - Groups
    - Policies
    - Providers
    - ....
 - Encryption & Key Management
    - Client-Side Encryption (Concept + Guide)
    - Server-Side Encryption (SSE-C, SSE-S3)
    - MinIO Key Encryption Service (reference)
    - SSE with Thales (Guide)
    - SSE with AWS KMS (Guide)
    - SSE with etc. (Guide)
    - TLS + Certificates (Concept + Guide)
    - ...

Nest under Security L1 header. This should keep findability w/o search, but will require diligent cross-referencing so users understand what features require KES, KMS, etc.

@aead updated with skeleton. I've done a bit of content filling, but not too much. This might be easier to go over via Zoom as the changes are significant on some pages.
I've also left a 'skeleton' of a procedure in source/security/encryption/sse-s3-thales . It's rough but it should provide an idea of a 'Procedure' that implements a very simple view of 'Concept' (so users have one last chance to learn before they dive in).


Relaxing the accuracy level (both for horizontal accuracy and received interval) for room and house

If I call
LocationManager.shared.locateFromGPS(.continous, accuracy: .block, activity: .otherNavigation) { result in
  ...
}

multiple times at different times, and I start location tracking on each handler, only the first receives updates. The 2nd start receiving updates only if the first one is stopped.
For this to happen, I delayed the 2nd call to locateFromGPS by 10 seconds (using DispatchQueue.main.asyncAfter())
If I replace .continous with .oneShot it works fine instead.
Is it supposed to work this way, or is it a bug?

Same issue if start continous request and ask for oneShot - OneShot will be waiting for location update based on continous request options

@abakhtin did you resolve this issue?

I'm seeing the same. Any luck?

Getting the same problem

Also, LocationManager.shared.locateFromGPS(.continous, accuracy: .house, activity: .fitness, timeout: .absolute(30)) can have a pretty long delay under good wifi/cell conditions if only called once

I tried to reproduce the issue but it seems to works fine:
   r1 = LocationManager.shared.locateFromGPS(.continous, accuracy: .block, activity: .otherNavigation) { result in
            print("#1 -> \(result)")
        }

        DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
            self.r2 = LocationManager.shared.locateFromGPS(.continous, accuracy: .city, activity: .otherNavigation) { result in
                print("#2 -> \(result)")
            }
        }

        DispatchQueue.main.asyncAfter(deadline: .now() + 60) {
            self.r1?.stop()
            debugPrint("-----------------------------------> STOP FIRST")
        }

I can receive both r1 and r2 requests.
I think the accuracy level house and room are to strict to be satisfied easily from the GPS receiver in normal conditions.
I've relaxed these parameters to the following levels:
for meters
public var value: CLLocationAccuracy {
            switch self {
            case .any:
                return CLLocationAccuracyAccuracyAny
            case .city:
                return 5000
            case .neighborhood:
                return 1000
            case .block:
                return 100
            case .house:
                return 60 // from 15 mt
            case .room:
                return 25 // from 5 mt
            case .custom(let value):
                return value
            }
        }

and interval:
  public var interval: TimeInterval {
            switch self {
            case .city:
                return 600.0
            case .neighborhood:
                return 300.0
            case .block:
                return 60.0
            case .house:
                return 40.0 // from 15secs
            case .room:
                return 20.0 // from 5secs
            default:
                return TimeInterval.greatestFiniteMagnitude
            }
        }

Since the next update.

Let me know if it works for you


SWN: a few quality of life improvements

Some things I'd really like to see added to the Stars Without Number sheet:
A field for permanent system strain, which prevents the system strain field to go below this number. (Pg. 45 core book)
Encumbrance current and max calculated  and displayed (Pg. 32 core book)
readied items current and max calculated and displayed (Pg. 32 core book)
Move the weapon area to the top of the gear section or make it a seperate one above the gear section.
Reason: In combat you'll often switch between rolling skills, rolling weapon and adjusting ammo clip, as it is a lot of scrolling is required.
In a perfect world there'd be a combat tab with health, system strain, weapons, gear, skills; in that order, that allows all combat related stuff in one view.
I'd do it myself, but it looks like I'd need to pay for the privilege of developing it, which I'll nope out of, tyvm.

I'll look at this (unless someone else does before I get to it)

That'd be great!

@Berserker66 Would you be available to test the System Strain changes?

Got these done except moving the weapon area. This was moved to issue #2339

@Berserker66 or @pjbehr87 - this issue should be closed.


lxd does not start: failed to apply update 19: CHECK constraint failed with sqlite 3.37.0

Required information

Distribution: Arch Linux
Distribution version: Rolling / current
The output of "lxc info" or if that fails:

Kernel version: 5.15.12
LXC version: 4.0.11
LXD version: 4.21
Storage backend in use: ZFS

Issue description
Upgrading from lxd 3.16 to 4.21 (quite a strech, I know) I face the following error while starting lxd: "Failed to initialize global database: failed to ensure schema: failed to apply update 19: CHECK constraint failed".
Steps to reproduce
Starting lxd 4.21 with my database file, reproducible on different archlinux installations. I'm happy to provide a tar ball of the database directory privately (780MB).
Information to attach
lxd.log.txt
lxd_debug_ouput.txt

What version of sqlite are you using?

It's sqlite 3.37.0

It'll likely be the same issue in the snap package we saw, https://github.com/lxc/lxd-pkg-snap/commit/8174f4c5129e51ff7e7800641a6c51c9de2377ea, but not figured out why this only occurs with latest sqlite yet.

Downgrading to sqlite 3.36.0 solved the problem, lxd starts again. Thank you very much. Please let me know if I can support you in debugging the original issue.
Also one db related error log appears: sql: Scan error on column index 2, name \"expiry_date\": converting NULL to string is unsupported, but this doesn't look related to the sql version to me.

Can you provide the full error and when it occurred?

Yes, that's a breakage in sqlite 3.37.0, we have reverted to 3.36.0 for this reason in LXD itself.
Upstream sqlite has now released 3.37.1 but we haven't tested that yet to see if it helps.

Closing for now as current state of investigation is that it's a regression caused by sqlite upstream and not a LXD bug, would be good to know if 3.37.1 fixed it though.

Regarding sqlite version 3.37.1, the error still occurs:
# sqlite3
SQLite version 3.37.1 2021-12-30 15:30:28
sqlite> .version
SQLite 3.37.1 2021-12-30 15:30:28 378629bf2ea546f73eee84063c5358439a12f7300e433f18c9e1bddd948dalt1

Error message is unchanged:
DBUG[01-02|15:26:01] Updating global DB schema from 19 to 20
DBUG[01-02|15:26:01] Database error: &errors.errorString{s:"failed to apply update 19: CHECK constraint failed"}
EROR[01-02|15:26:01] Failed to start the daemon               err="Failed to initialize global database: failed to ensure schema: failed to apply update 19: CHECK constraint failed"

@tomponline: This is the complete log for the expiry_date error. It appears immediately while starting, and periodically afterwards. The log is from a fresh lxd start and contains the first occurence of the error.
lxd_startup_log.txt
The respective table looks like this:
sqlite> SELECT * FROM storage_volumes_snapshots;
id|storage_volume_id|name|description|expiry_date
96|8|before-upgrade-2019-12-01||
97|8|before-upgrade-2019-12-01_2||

Thanks will take a look at that.

Still seems very likely to be a sqlite regression as we have been running daily upgrade tests for years and things only broke with 3.37.0 to be fixed when we downgraded the snap to 3.36.0. Would be good if someone with some time you track down a much smaller reproducer and file a bug against sqlite and link it here.

Yeah I'll keep this case open to look at the expiry_date issue on 3.36.0

Oh, I somehow missed that post, yeah, that NULL conversion thing looks like something on our end that we should definitely sort out. It's not something that's showed up in the automated tests so would be interesting to track down.

@spartan057 can you show the output of sqlite> .schema storage_volumes_snapshots from db.bin?

Edit: I updated the expiry date with UPDATE storage_volumes_snapshots SET expiry_date = '2050-01-02 00:00:00+00:00';

You cannot update the db.bin file directly.

Oh, I somehow missed that post, yeah, that NULL conversion thing looks like something on our end that we should definitely sort out. It's not something that's showed up in the automated tests so would be interesting to track down.

I've got a fix for the NULL conversion issue. However it also appears there is an issue with how the zero time is returned from dqlite due to timezone conversion, which although is already kind of handled (fudged) in some places, the wider issue is that manually editing a snapshot expiry doesn't result in the same time being returned after you've edited it (due to the time zone conversion issue). I'm going to try and track down where this is happening, as it might be in dqlite itself (cc @MathieuBordere ).


Native Windows Support

I would like to request Windows (not UWP) to be supported. It is the last thing I would need since Bug Snag supports all the platforms I need it to.

Thanks for opening an issue @PavanJakhu - this is on our roadmap, so hopefully we'll have news on it soon.

Great! Thanks! Looking forward to it!

Any updates on this? I would also like this.

@ddearing we are still working away on this, you can follow along with our progress in #83

@martin308 #83 is merged, can this issue be closed? Any confirmation it's working?

Hi @GabLeRoux - #83 has addressed support for Windows, but we do not currently support native crashes on Windows: https://docs.bugsnag.com/platforms/unity/platform-support/
This is something which is on our roadmap and we hope to address in a future release.


Declaring multiple variables throws TypeError

For example, evaluating statement var x, y; will throw TypeError{ e.declarations.peekLast is not a function }
Tested on jsconsole.com in modern Safari, Chrome, Opera, Firefox.

Confirmed. (sorry it took a while to reply, I was pretty sure this would be the case, but hadn't had the chance to sit down to try it).
The error is in here somewhere: https://github.com/remy/jsconsole/blob/master/src/node_modules/lib/run.js#L114-L240 I've been getting better at my transforms, so I might be able to find the answer next week.

Thank you! JSconsole has been really helpful.


Volume status bar doesn't update when changing volume with DLNA player

What version of Music Assistant has the issue?
2.0 7
What version of the Home Assistant Integration have you got installed?
2024.6.3
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When changing the volume on a WiiM DLNA device using the player controls, the volume does change, but the volume status bar does not.
How to reproduce
1.Add DLNA player provider
2. Select a WiiM DLNA player
3. Select content
4. Press play. Content starts playing
5. Use the volume control to change the volume
6. The playback volume changes, but the volume displayed remains the same
7. Start the WiiM app
8. Select the same player. The correct volume is displayed.
9. Change the volume..Both the level and screen view change
10. Go back to the MA player view
11. Observe that the volume bar has now updated
Music Providers
Plex
Player Providers
DLNA/UPNP
Full log output
log.txt
Additional information
Will try with other DLNA players next.
What version of Home Assistant Core are your running
2024 6 3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Windows

Same issue with Marantz SR7011 at step 6. I wasn't physically in the room, so didn't try to change the volume from the Marantz side using its remote.

Also tested this other DLNA remotes (JRemote2, MO4Media) and the problem does not occur there - volume changes updates the volume bar display too.

My ayino WR320 has exactly the same issue.

This is fixed in the current 2.1 beta of MA. The wait is now until we promote that version to stable

The just released 2.1.0 version doesn't fix it for me. The volume bar still doesn't show the correct volume level.

Have you tried clearing the MA cache?

Have you tried clearing the MA cache?

Nope. Do I need to do that for every update?
After clearing the cache, If I change volume in my DLNA speaker app(Legacy Player), it was instantly updated in MA web page and the MA media player(found in MA integration) info page. Thank you for the work!
But the volume doesn't sync between MA web page volume bar and media_player(created by MA integration) info page, if I change volume in either these two place.
Volume bar in MA webpage:

volume bar in media_player info page:

If you need any further information, just let me know.

Does the bar move at all between the two? DLNA has always been challenging due to poor standardisation of the protocol. Can you use Airplay with the Wiim?

Does the bar move at all between the two? DLNA has always been challenging due to poor standardisation of the protocol.

Nope. There was no movement in the volume bar and the value didn't change as well.

Can you use Airplay with the Wiim?

Actually I can. Using Airplay doesn't have this issue. I think I should use Airplay instead. Thank you for this information.

I’ll just leave this open until @marcelveldt lets us know if this is something he wants to look at further.

I'm seeing slightly different behavior now with 2.1 .
In step 6, when I change the volume, the volume status temporarily displays the correct level. But a few seconds later, it reverts to showing the previous volume level.

Whilst DLNA remains problematic due to poor standardisation there have been many changes since this report. Please confirm this is still an issue with 2.3.0 beta 25 or later

Yes, unfortunately, still an issue on b25.

I have the same /similar issue (Jellyfin + DLNA player): the slider doesn't move when in "Now Playing View", although the volume does change...

DLNA is the crappiest protocol on earth. Issues like these are just part of the deal unless you try to workaround every single player specific issue. I do not have the time, nerves or patience to do that so DLNA comes at a best effort. Some players work great with it, some don't. Somewhere I regret a bit for even adding this provider to MA but at the same time for some people it does work....
I'm always open for PR's on the dlna provider to fix player specific issues but other than that I will not look at it.
Also note that in 80% of the cases it cant even be solved in software as its the hardware to blame (yeah the protocol is THAT bad).
OK, end of rant.
For WiiM owners I have some better news because the next major version of mA (2.4) will bring native Linkplay support so issues like this are gone.

DLNA is the crappiest protocol on earth. Issues like these are just part of the deal unless you try to workaround every single player specific issue. I do not have the time, nerves or patience to do that so DLNA comes at a best effort. Some players work great with it, some don't. Somewhere I regret a bit for even adding this provider to MA but at the same time for some people it does work....
I'm always open for PR's on the dlna provider to fix player specific issues but other than that I will not look at it. Also note that in 80% of the cases it cant even be solved in software as its the hardware to blame (yeah the protocol is THAT bad).

Please keep up the good work! how music assistant manages DLNA is actually the mean reason why I am using it (for example, it's the only program I found so far that can handle "scroll"/"search" within a track on my Yamaha DLNA).
But to be clear, the volume slider DOES work and DOES show correctly in the main "view" (see screenshot below), and DOES work - but DOES NOT show correctly - only in the "now playing view". Based on that, is that really a hardware / DLNA issue?

Thanks!

But to be clear, the volume slider DOES work and DOES show correctly in the main "view" (see screenshot below), and DOES work - but DOES NOT show correctly - only in the "now playing view". Based on that, is that really a hardware / DLNA issue?

Those 2 screens share the same data so that is not possible.
Maybe in the meanwhile a device update arrived and that was just coincidence ?
Did you test this with a recent version of MA (to rule out this is some old bug that has been solved already) ?

Did you test this with a recent version of MA (to rule out this is some old bug that has been solved already) ?

I updated MA and that solved it! Thanks.

Confirmed that this works as expected with a WiiM Pro Plus on 2.4.0b3 .


Hey all! Rulers not work that espected

Hey all!
This looks to be merged into the Insiders release of VS Code. Here is an example snippet with the updated scheme:
"editor.rulers": [
    {
        "column": 80,
        "color": "#ff00FF"
    },
    100,
    {
        "column": 120,
        "color": "#ff0000"
    },
],

i expected a second line:

Originally posted by @mallardduck in https://github.com/microsoft/vscode/issues/54312#issuecomment-583654497

@arcanisgk As I mentioned in my original comment, it was included in Insiders release of VS Code and it does still work there for me. Potentially the issue is that you're using the release version of VS Code and not Insiders builds?

TBH I'm not sure if this has been included in a full release of VS code yet.

Yeah - it seems you may be having an isolated issue. I've tested my settings.json file from insiders release and all 3 rulers show up.
Here's my settings.json file if you want to try pasting the entire file in?
{
    "editor.rulers": [
        80,
        {
            "column": 100,
            "color": "#ff7b00b0"
        },
        {
            "column": 120,
            "color": "#ff0000dc"
        },
    ],
    "editor.fontFamily": "Fira Code Retina, Fira Code, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?",
}

this is my version:

Very odd - I wonder if it's a platform specific bug. Are you sure your settings.json has valid formatting?

It works as expected for me at least on 3 VSCode version for me 1.45.1, 1.46.1, 1.47 (insiders) on Windows

Do you have anything set to "window.zoomLevel" or do rulers become visible if you change this value?

for me only show if any line of the file break the limit...

Do you have "editor.rulers" anywhere in Workspace/Folder configurations?

Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled


C++ Program to get user input and print 2D array

Thank You @saransh79

Welcome dear😊✌
On Sat, Oct 8, 2022, 12:50 Chidambaram Sathappan @.***>
wrote:

Thank You @saransh79 https://github.com/saransh79
—
Reply to this email directly, view it on GitHub
https://github.com/saransh79/LearnGit/pull/102#issuecomment-1272251873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3BMGDP4RS3MPFRKM6TSSLWCEOFRANCNFSM6AAAAAARAAQSO4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Sat docs starter

We should get an initial documentation scaffolded for sat. The docs should contain the README content, and an appropriate structuring, during which we should discover the missing content requirements.
We should have information on how to run sat (baremetal/docker deployments), as well as some information about the one-shot runnable executor engine usecase.

I believe the sat section in the docs and the README on the sat repo close this issue.


Eager load paginate result

Hello,
By the following of our discussion @babenkoivan, i'm missing the eager loading part on paginate.
Other package allow the ability to alterate the query in order to add a "with" don't know if thats actually possible here.
Gautier

Hello,
As you wrote in the doc : Unlike the standard Scout pagination, Elastic Scout Driver Plus paginates matches and not the models.. I think this is a problem, since this package is a scout package, by my point of view, it should follow scout conventions.
Why not adding a new function that returns the matches like the current one and keep the same operation ? It should help adding the eager loading that i'm talking about 😃.
We can discuss about that if you don't agree

From our other closed discussion, similar to this topic, I don't think you need with at all.

@filippesic, when you do $paginator = File::matchPhraseSearch()->field('ocr_text')->query(\request('query'))->paginate(20) you get back a LengthAwarePaginator instance, not a SearchResult as in case with execute. LengthAwarePaginator doesn't have the same interface (methods), but you can traverse matches as follows:
foreach ($paginator as $match) {
$model = $match->model();
}
or you can get all the matches via LengthAwarePaginator::items():
$matches = $paginator->items();
if you are interested in models only, something like this should work:
$models = collect($paginator->items())->map->model();

@filippesic, yes we can do it manually but what I mean is that this is confusing, eager loading is usefull when working with REST Api.
I think this should still be a feature from my point of view

@GautierDele this package can't strictly follow Scout conventions, otherwise it wouldn't be able to deliver any additional features such as: aggregations, highlighting, etc. If you just need the basic Scout functionality check elastic-scout-driver.
The paginator can't have models as items, otherwise it would make it impossible to get other related to the response data, such as the index name or highlights. It must be more generic to be useful in different scenarios.
I'm working on eager loading, but it requires some conceptual changes (internal package changes), that's why it takes time.

@babenkoivan ok i get what you're saying, highlights and all those stuffs could still be accessible from new methods i think.
Unfortunately the basic driver doesn't allow me to push the elastic features to where i want.
Don't worry i totally get it take your time 😄

I've just published v1.11.0 with eager loading support 🎉. Please, read the docs here.


Update Nearby.js

The proposed changes fix issue #13. Drive time polygon does not draw if the map's spatial reference is different than the SR of the ArcGIS Online maps.

@darinatch Thanks!


Async features2d

Async features2d

[ ] C wrappers
[ ] dart bindings
[ ] tests

@abdelaziz-mahdy Are you interested in this module?

Since all the modules are the same, I think when I start working on a module I assign it , or comment that I will be working on it ? So we organize tasks without wasting time
Like it it's taken by you I will do something the same for you I guess that's clearer

Agree.

question
file have header of
/* Created by Rainyl. Licensed: Apache 2.0 license. Copyright (c) 2024 Rainyl. */
i kept using it when i created files, should i write my own name?

question file have header of /* Created by Rainyl. Licensed: Apache 2.0 license. Copyright (c) 2024 Rainyl. */ i kept using it when i created files, should i write my own name?

Add your name please, your efforts should be respected!


WIP: Mms 344

All the changes required to make mms-344 work.
Setup

[ ] A list of steps to get started with testing.

Testing

[ ] All the steps required to complete testing the PR.

Notes

Any additional notes you think will be useful.

Archiving the fork


Create a 'has evidence part' object property

The 'has part' object property is currently used in some axioms containing min/max restrictions.
This should not be done because it is a "non-simple" property. 'has part' is transitive so it is not a simple property, and OWL 2 does not allow non-simple properties in cardinality restrictions (min and max). I apologize that I didn't catch this earlier.
If we create a child property of 'has part' specifically for talking about evidence parts, we do not need to make it a transitive property, but that means this new 'has evidence part' should only be used for combinatorial evidence (because it is not transitive). I think that would be accurate.
The current make test methods use the ELK reasoner, which is a very simple reasoner and doesn't catch problems like this. I will switch the reasoner to HermiT, which will catch these sorts of issues.

This is how I understand it:
If you say that human SubClassOf ('has part' max 1 brain) then a human can only have part one brain - a human cannot have part "brain cell", even if you say that the brain SubClassOf ('has part' some 'brain cell'). That is why OWL 2 does not allow cardinality restrictions on non-simple properties; they are part of property chains.

Not sure I'm totally following this. Let's chat about it during Wednesday's meeting.

Instead of creating this new property, we will change all cardinality restrictions to some.

Resolve by 47569d4


UI: Moving VM & Templates related all rules out to new top level feature folder

@martinpovolny currently Access Control tree is being built using menu presenters code which doesn't allow to add a new level folder to Access Control tree unless it is included in navigation menu. We need to come with an approach that allows us to add Folders to features tree without adding them to menus. Please suggest on how to proceed with this.
See https://bugzilla.redhat.com/show_bug.cgi?id=1247375 for more details

@h-kataria : please, take #3729 if you like that approach


Global vars fails to get declared on async loaded scripts

HTML
    <title>Backbone Views </title>
</head>
<body>
    <div id="placeholder">
    </div>
    <script type="text/javascript" src="scripts/script.js"></script>
    <script type="text/javascript" src="scripts/bbapp.js"></script>
</body>
</html>

BBAPP_JS
$script(["jquery.min", "underscore-min","backbone-min","models/bbapp_model","views/bbapp_view"], "bbApp");
$script.ready("bbApp", function () {
    $("document").ready(function () {
        var myModel = new Model();
        var myView = new View({
            "model": myModel,
            "el": $("#placeholder"),
            "className": "myDivTag",
            "tagName": "div",
            "id": "myID"
        });
    });
    //end dom ready
});
//end script ready

BBAPP_MODEL
$script(["underscore-min","backbone-min"],"model");
$script.ready("model", function () {
    window.ready = "I AM READY";
    Model = Backbone.Model.extend({
        initialize: function () {
            console.log("a new model has been created");
        },
        urlRoot: "/index.aspx",
        validate: function (attrs) {
        },
        sync: "requestManager",
        requestManager: function (method, model, success, error) {
            console.log("Model is Syncing", arguments);
        },
        onSuccess: function (model) {
        },
        onError: function (model) {
        }
    });
    //end backbone view
});
//end script ready

BBAPP_VIEW
$script(["underscore-min","backbone-min"],"view");
$script.ready("view", function () {
    window.ready = "I AM READY";
    View = Backbone.View.extend({
        defaults: {
        },
        initialize: function () {
            console.log("Initialized the Models View");
        },
        events: {
        },
        render: function () {
        },
        remove: function () {
        }
    });
    //end backbone view
});
//end script ready

ON FIREBUG CONSOLE
window.ready == undefined is True

i'm going to guess that the load order issue is what was causing your problems. i answered that in the other thread. all the best and feel free to re-open if that wasn't the case.


Flink: attributes should be set or not set in the provider block at the same time

For context - I'm using Azure DevOps (but this applies for any CI I think) and I use Variable Groups to hold various details about the environment, including the Confluent org ID, environment ID, etc
These are exposed to the pipeline via environment variables
I keep these in variables like CONFLUENT_ENVIRONMENT_ID
Since patching to https://github.com/confluentinc/terraform-provider-confluent/releases/tag/v1.66.0 I not get the following error:
╷
│ Error: All 7 flink_api_key, flink_api_secret, flink_rest_endpoint, organization_id, environment_id, flink_compute_pool_id, flink_principal_id attributes should be set or not set in the provider block at the same time
│
│   with provider["registry.terraform.io/confluentinc/confluent"],
│   on main.tf line 34, in provider "confluent":
│   34: provider "confluent" {}
│
╵

I'm not even using Flink, yet it validates the values.
It seems silly that I have to purge a few variables to get this working, just wondering if there's a better way?
Here's how I have resolve the issue:
  - script: |
      unset CONFLUENT_ENVIRONMENT_ID
      terraform apply -auto-approve -input=false -var-file="variables/topics.tfvars"

I guess another option would be to rename all my variables so they don't accidentally collide with your env vars?

Thanks for creating the issue @pwmcintyre!
Could you share a little bit more details about

I keep these in variables like CONFLUENT_ENVIRONMENT_ID

Alternatively, you could have TF variable
# variables.tf
variable "confluent_environment_id" {
  description = "Confluent Environment ID"
  type             = string
}

and then use export TF_VAR_confluent_environment_id="env-foo123". See this note for more details.

I keep these in variables like CONFLUENT_ENVIRONMENT_ID

as in: we use environment variables to pass these values into our CI system (see snippet below)

I'm not sure whether it's helpful, but alternatively, you could have TF variable

yes we use this method to pass variables into terraform, since we need those values accessible.
We also use env vars to authenticate, you can see in the below snippet ... but since this issue, we have to unset some env vars because they cause this provider to fail.
# In Azure DevOps Pipelines, you can include config values like so
variables:
  - group: confluent-cloud-prod

...

  # NOTE: CONFLUENT_ENVIRONMENT_ID must be unset to avoid a validation errors
  # This is because it collides with an env var which it uses (even though we don't use Flink!)
  # https://github.com/confluentinc/terraform-provider-confluent/blob/a8d64935d062f6ea580d1000615c6f694e343597/internal/provider/provider.go#L447
  - script: |
      unset CONFLUENT_ENVIRONMENT_ID
      terraform apply -auto-approve -input=false
    env:

      # Authenticate Confluent provider via env vars
      # https://registry.terraform.io/providers/confluentinc/confluent/latest/docs#environment-variables
      CONFLUENT_CLOUD_API_KEY: $(CONFLUENT_CLOUD_API_KEY)
      CONFLUENT_CLOUD_API_SECRET: $(CONFLUENT_CLOUD_API_SECRET)

      # inject Terraform variables through from env vars:
      # https://developer.hashicorp.com/terraform/language/values/variables#environment-variables
      TF_VAR_confluent_environment_id: $(CONFLUENT_ENVIRONMENT_ID)
      TF_VAR_confluent_kafka_cluster_id: $(CONFLUENT_KAFKA_CLUSTER_ID)
      TF_VAR_confluent_organisation_id: $(CONFLUENT_ORGANISATION_ID)
      TF_VAR_confluent_schema_registry_id: $(CONFLUENT_SCHEMA_REGISTRY_ID)

...

I guess from my perspective, it is frustrating that the provider validates values for Flink even though I don't use Flink ... could it instead validate those values exist only if they are required? it seems to validate all possible things up-front


shell: add backends command

Add command that lists all active shell backends.
Signed-off-by: Jakub Rzeszutko<EMAIL_ADDRESS>

.

@nordic-krch could you take a look?


Doubt

Can I get the binary of the image or just save that into a file?

Other is...
Is extremely necessary to have:
FontConfig - apt-get/yum install fontconfig
FreeType - apt-get/yum install freetype*
???

Hi, it's only possible to save the image to a location, what you can do is read the file that was saved afterwards.
About the fonts, if you don't use them, the issue #51 will happen.


not working

when runing it sends
"Failed to parse the stream"
tried to debug to see found it does not send m3u8 url and token their values are null.
and i checked access credential found them are ok.
anyidea

Duplicate of #5


PSNR of ~30 on lego scene

Hey,
Thank you for this repo.
You mention successfully reproducing the PSNR of ~30 on the lego scene of the synthetic dataset. Would you be able to provide the configuration you used to do so?
Thanks!

exactly this. Use eval.py to compute the psnr.
I did many experiments at the beginning so please tell me if you get a different psnr value.

Thank you for the prompt answer.
I just realized this was my mistake. I was looking at the combined PSNR of the fine + coarse model losses. Obviously this would be lower much lower.
Now that I am looking at the proper metric (PSNR of only one reconstruction), everything makes much more sense.
Thank you for providing details and answering rapidly.


Localization of messages

Your feature request. Please describe.
Not sure if it's somehow already possible, but it would be nice to have the messages shown in your own language.
If need be, give me the strings, and I'll translate them to danish :-)

The new messages have not yet been translated, that is true.  We have many other languages, but not yet Danish.   The language files are actually xml files and located in this folder structure:
https://github.com/thanksmister/android-mqtt-alarm-panel/tree/master/app/src/main/res
What you should do is create a pull request, adding a new folder values-da and inside a strings.xml file with your own language translations.  Here is an example for Dutch: https://github.com/thanksmister/android-mqtt-alarm-panel/tree/master/app/src/main/res/values-nl.

Hi Thanksmister, I'm absolutely not a git user, but I would love to try. I'll try and google for help on how to do that.

Alternatively, you can just copy one of the string.xml files, translate it in Visual Code, then pass me the file.

I got the repo cloned now, and I've gotten to line 55, so things are progressing :-)

I think we will close this issue.


add fallback for unrecognized command to StandardFramework

It'd be nice if there was a way to be able to handle unrecognized commands through the StandardFramework interface. Currently, as far as I can tell, you'd need to catch these with EventHandler::message or roll your own Framework.
My suggestion would be to add a method to the StandardFramework builder; something like this:
let framework = StandardFramework::new();

framework
    .on("my_command", |_c, msg, _| msg.reply("something!"))
    .unrecognized_command(|_c, msg, _args| msg.reply("something else!");

This could make e.g. #274 into a utility function that could be plugged into StandardFramework::unrecognized_command.

Added in c:293779.


Playback pauses when exiting a full screen mode on iPhone

After you implementation of the native fullscreen mode for iPhone, all works as expected but the exit from the fullscreen mode. The playback pauses and have to be restarted manually.

ios No fullscreen events, I can't know the current state and make changes

lol


Issue found on page 'Spatial Functions'

In documentation example for ST_Distance_Spheroid the coordinates of JFK are incorrect.
40.6446, 73.7797 should instead be 40.6446, -73.7797
SELECT st_distance_spheroid(
st_point(40.6446, -73.7797),
st_point(52.3130, 4.7725)
);
----
5863418.7459356235
-- Roughly 5863km!

Page URL: https://duckdb.org/docs/extensions/spatial/functions.html

Thanks!


Translation messages manager tool

Dear community,
I'm trying to find some web service like localeapp.com, webtranslateit.com, lingohub.com, transifex.com, oneskyapp.com, crowdin.net, phraseapp.com or whatever which supports export to ICU/CLDR format. For sure some of you should use something like this, but on the ones I mentioned above I wasn't able to find such kind of export. How you collaborate on translations?
P.S. Sorry for an offtopic, I know it's not related to library itself, but I don't know where to ask that kind of questions - I wasn't able to find an IRC or Slack channel, so that's why I'm asking it there.

@Kureev this is a very good question. There are two things:

first, translating ICU messages needed by your app:
For this one, we don't have an answer at the moment. Internally, at Yahoo, we do have a proprietary infrastructure to deal with all this, but we have no plans to open that up for all users. There are definitely firms that can provide this service (we use some professional translators that can deal with ICU messages), but I don't know if they provide nice hooks do facilitate the process.

second, extraction of messages from source code:
You can look at https://github.com/yahoo/react-intl/issues/89 for more details about some ideas on how to extract the messages from code. I think http://l10ns.org/ is the best tool I have tried.

Please, if you figure something out, let us know.

@caridy I was talking about the first one. I really like the format and the way you've implemented it, but now I faced an issue that we need to have a tool for collaboration for translations as I mentioned before. I'm really amazed, that from all those solutions I wasn't able to find even 1 which supports ICU :(

I'm just hitting the same issue.  We're interested in using the React FormatJS integration, but need the localization files to be in a format supported by a service like transifex.com.  Can anyone comment on where else the ICU format is used?  It would be unfortunate to commit to a syntax that translators aren't familiar with and no other service works with.

a ICU to-from XLIFF converter would be useful if one wants to use third-party translation provider like transifex

@LorbusChris thanks for the suggestion. I will look into XLIFF when I get a chance.

@caridy: There already are such converter by the icu-project (genrb for ICU to XLIFF and XLIFF2ICUConverter for XLIFF to ICU4J), written in Java though. However, this here might still be of some value: http://www.icu-project.org/repos/icu/icuhtml/trunk/design/locale/xliff-profile-icuresourcebundle-1.2.htm

@caridy: and now (at the end of 2016), there is a JS-converter from ICU txt bundle format to JSON (and several other formats): https://github.com/alex-dow/icu-converter

back ref: alex-dow/icu-converter#12

The same topic in messageformat repo : messageformat/messageformat.js#69

We now fully support icu format at https://locize.com (and plan to extend based on your feedback / demand):

highlighting
validation
machine translations
plural conversion between source and target language
prettify of your icu strings

Your feedback would be very welcome - also if someone could provide us with a file react-intl extracts we could look into supporting that for importing (beside xliff, json, ...)

Just leaving a solution that doesn't require human translators here: by using the translate example built by @ericf in react-intl, it's possible to send the string literals to amazon translate by just modifying the uppercase translator here.

closing due to stale, we also have a slack channel now :)


[loading] Complete props documentation for Loading components

Reference page: https://dev-kata-kit.surge.sh/components/loading

Completed with #53


More warnings about root credentials.

Thanks to a discussion with @phobos182.
And @ThanosBaskous @QuinnyPig at the loft.

Thoughts or ways this could be better?

👍 lgtm @jlevy


Question: "guard routes" ?

How do protected routes work under generouted?
I would consider this to be a "convention", or at least have a special call out to this important use case. I was looking for info regarding "guard routes" or "protected routes" but it didn't jump out at me from the docs.  I see there is a concept of pathless layouts but there is little detail as to their purpose (pathless?) or how the work.
[If there is a better place to ask questions, like a Discord server or something, I'd be happy to be redirected].

Hey @gregfenton, I've been using config-based approach for defining private/protected routes for a while, it works well and it's compatible with other file-based routing systems (Next.js, etc.) — here's a reference to a previous issue https://github.com/oedotme/generouted/issues/111#issuecomment-1676025682
You can use the pathless groups/layouts as well on top of that for organization sake, the redirects config would be the main place to handle the protection of routes and appropriate redirection, the structure would be something like that:
src
├── config
│   └── redirects.tsx
├── main.tsx
├── pages
│   ├── _app.tsx
│   ├── (dashboard)
│   │   └── profile.tsx
│   └── (public)
│       └── login.tsx
└── router.ts

Thanks for pointing that out, I'm now thinking to add a section to the docs to include certain common use cases.

That's awesome, thanks!  I suspect a clearer callout to this pattern would be very much appreciated by newcomers and to the curious  😁


docs: add examples directory and readme (Add link to Nextjs template)

Related Issue
Fixes #58
Changes Made
This PR adds the following changes:

I added an examples directory with a README file which can be used to list templates, projects and examples built by the team and community

Implementation Details

The template link contained in the README is a template I created using the Nextjs and Langchain template.
The template includes a proper implementation of the Solana Agent Kit and Langchain response streaming.

Additional Notes

I believe that examples should be left out of library repos, not just because of bundle size but because the repo itself can get quite big and maintaining a monorepo never scales well.
Checklist

[x] I have tested these changes locally
[x] I have updated the documentation

hey @michaelessiet - can you share a deployed link for it?

we want it to be under examples/nextjs-starter-repo as originally mentioned, as we were restricting the repo a bit, so it won't face any issue

I noticed your comment on #69 . How do you recommend we integrate tx signing using Privy? My example has the agent live on the server as if it were on the client the OpenAI API key would be exposed in the client bundle. Is a Privy server wallet adapter/integration being built for these cases?

So I had the idea of creating my own embedded wallet implementation where a user connects their wallet extension (Phantom, Backpack), requests an auth challenge from the server, signs it, sends it back, it then gets verified on the server that the message sent has been properly signed. After that the challenge is deleted from the store/db, a jwt is created, then some kind of child wallet is created on the server and the secret key for that is stored on a Redis store. However, 2 issues

I don't think solana has a way to delegate spending of funds to another address/wallet or some kind of child wallet system.
The Nextjs API server route is stateless so the the Redis in-memory store won't work.

I checked out passkey but they're currently on waitlist and Privy doesn't give access to the server wallet's private key. At the moment I don't think there's a way to do this without potentially compromising the applications OpenAI API key or the user's private key. Your thoughts would be much welcome on this

Hi Michael
You can use Passkeys now - just generate a random UUID

A random UUID works as the appId?

For testing purposes yes.

Ok, I'll give it a try. BTW those repos seem to be private

I seem to be getting this error

@thearyanag this is the live link https://solana-agent-nextjs-starter-langchain.vercel.app/. I noticed that a PR has already been merged for this, however, I'm open to continue brainstorming the above discussion

hey @michaelessiet can you fix formatting issue here, will keep this repo as well

@thearyanag fixed

hey @michaelessiet looks good
just letting you know, as we have already merged 1 existing PR, we wont' be able to award for this - if that's fine - I can go ahead and merge this.
We'll give proper attribution

Sure no worries. However, once I've updated my vercel-ai-sdk PR with the actions framework that is yet to be merged I'm thinking of adding an example for Expo (React Native) apps. Would that qualify for the bring your own idea bounty?

hey @michaelessiet , the expo app would be really awesome - we would def reward that


How to use find() method for select all document?

As the document http://www.tutorialspoint.com/mongodb/mongodb_query_document.htm. I see find() method for select all document. How use 'find()' method with this connector?

You can call collection.find(query: BSON()) with an empty document to find all. Check the test case testCollectionFind.


Panel not reachable

Hey there, the setup may seem quite complex, especially if you're new to Vue. To sum up:

The panel is reachable via <IP_ADDRESS>:3000/panel (with default configuration)
The frontend is reachable via localhost:3000

You can build your assets, serve the application and then take a look at how the compiled app for production is rendered by visiting <IP_ADDRESS>:3000. This is similar to visiting the website later on a production server.
Have fun!


Cannot disable "Code Lens" style overlay over every function in Jetbrains Rider

The lines add up quite a bit in large classes and tend to clutter the page.

You can disable these in the Codeium Settins.


feat(VuetifyTiptap): export useTiptapStore

https://github.com/yikoyu/vuetify-pro-tiptap/pull/194
In this pull request, i requested to export the context because i use the isFullscreen value.
You moved this to the store, can we please export this?

useTiptapStore is not modifiable externally at present.


Missing CODE OF CONDUCT

All the repositories contain a CODE OF CONDUCT that should be followed while contributing to the repo. Its missing for this repository

I want to work on it. Assign me


Improve PubSub package

We need a robust and fast pubsub system

Search for existing PubSub package

@antho1404 What features do we want to have in PubSub. I'll look for it, but written it + add benchmarks can be more useful for our case.

The advance feature will be to subscribe to a specific event with matching data.
We could start with a key/value equal, and then try to find solution with advance matching like, comparaison, regex, etc..
The goal is to do as little computation to get the right listeners as Core (with network) could have to filter millions of events on millions of listeners.

Let's not implement anything yet, just aggregate existing libraries and suggest idea 😃

Also let's discuss about it on the forum here https://forum.mesg.com/t/listener-system-based-on-a-persistent-state/17


Robyn API via Python plumber didn't work when no organic_vars or factor_vars specifty

I am trying to call Robyn API via plumber by following this example:
[https://github.com/.../robyn_api/robyn_python_notebook.ipynb]
(https://github.com/facebookexperimental/Robyn/blob/main/robyn_api/robyn_python_notebook.ipynb?fbclid=IwAR2kOT1jP92BwvuWLfg3ofEGc0m3pUiodTAIqL38ztT1eH8iU1E6TQoTC2I)
However, when I try it with my custom dataset (without organic_vars and factor_vars). I got the following error:

Running feature engineering...
<simpleError in check_InputCollect(InputCollect): Some elements where not provided in your inputs list: organic_vars, factor_vars>

But this dataset works fine in R version.
Environment & Robyn version
My Robyn version is '<IP_ADDRESS>10' run on Windows 11 environment.
inputArgs = {
    'date_var': 'data_date',
    'dep_var': 'kpi',
    'dep_var_type': 'revenue',
    'prophet_vars': ['trend', 'season', 'holiday'],
    # 'prophet_signs': ['default', 'default', 'default'],
    'prophet_country': 'TH',
    'context_vars': context_vars,
    'context_signs': context_signs,
    'paid_media_spends': paid_media_spends,
    'paid_media_vars': paid_media_vars,
    # 'organic_vars': organic_vars, # or empty list []
    # 'factor_vars': factor_vars, # or empty list []
    'window_start': '2022-01-01',
    'window_end': '2023-09-30',
    'adstock': 'geometric'
}

Error is shown when I call InputCollect = robyn_api('robyn_inputs', payload=payload), during setting hyperparameters.
payload = {
    'dt_input': asSerialisedFeather(df),
    'dt_holiday': asSerialisedFeather(df_holiday),
    'jsonInputArgs': json.dumps(inputArgs)
}
InputCollect = robyn_api('robyn_inputs', payload=payload)
...
-- Set hyperparameters
inputArgs = {'hyperparameters': hyperparameters}
payload = {
    'InputCollect': json.dumps(InputCollect),
    'jsonInputArgs': json.dumps(inputArgs)
}
InputCollect = robyn_api('robyn_inputs', payload=payload)  # Error here in log file as mentioned above.

Hi, This error was reproduced in my env. I will fix it.

Hi @yu-ya-tanaka!
Many thanks for your support. Please keep me posted :) And thank you for your contribution for this wonderful tool!

Hi @rupatrawut , I fixed API endpoint file and now API can accept the input dataset without organic_vars and factor_vars.
Please re-run the new notebook on your env.


Background-Color (endroid/qr-code)

Hi,
I read that you have all the functionality from endroid/qr-code, but how can I use them? I want to change the color (or background color) of the barcode.
Thanks for help

The PHP language allows to extend classes. This is what SepaQr does:
class SepaQr extends QrCode

This means you can use all public methods QrCode offers on an instance of SepaQr.


[Feature Request] Include SVG From File?

I make technical drawings using Inkscape and it would be awesome if these could be included in typedoc.  WDYT?

Is this behavior possible with the --media option? #63

Closing - I assume the --media option worked as there has been no response


Further socket API improvements

Fleshing out the socket API
Better non-blocking accept()
A few SAM-specific methods.

I ran tox and it failed (in weird places - apparently pow only takes 2 arguments on my machine??) but it's late and I'm out of I2P time for this weekend, so I'll let you figure it out @majestrate :stuck_out_tongue_winking_eye:


Add new top-link and end of page link component

The top-link and end-of-page link components are in the guideline here:
https://swiss.github.io/styleguide/en/typography.html#04-typography-10-end-page-link
and here: https://swiss.github.io/styleguide/en/typography.html#04-typography-09-top-link
What do you mean with "new" top-link and end-of-page link? How do they should look like anew?

I can't remember anymore, so I think this issue can be closed.


OpenGL backend

Hi,
Does burn support OpenGL backend on linux ?  Could you give an example ?

via wgpu since it has GL backend.


Ratio of training set to testing set

Hi, I notice the training parameter like below：
"training": {
"n_samples": 2000000,
"batch_size": 1000,
"epsilon": 0.05,
"baseline": "R_e",
"alpha": 0.5,
"b_jumpstart": false,
"n_cores_batch": 2,
"complexity": "token",
"const_optimizer": "scipy",
"const_params": {
"method": "L-BFGS-B",
"options": {
"gtol": 0.001
}
},
What‘s the training set size and the testing set size?
And what's ratio of training set to testing set?
Best!

DSO is a generic optimization framework. The notion of train/test set, in general, doesn't really apply.
If you are looking at the regression task specifically, the train/test splits are specified for each benchmark in dso/task/regression/benchmarks.csv.


Add :visible-once variant

Related to https://github.com/vueuse/motion/issues/25, it would be great to be able to trigger an animation when visible only once. I suggest adding a new variant for that but it could be an attribute like once.

Meanwhile, I managed to reproduce this effect with the following:
import { useMotion } from "@vueuse/motion";

const el = ref<HTMLElement>();

const { stop } = useMotion(el, {
  initial: {
    opacity: 0,
  },
  visible: {
    opacity: 1,
    transition: {
      delay: 300,
      duration: 500,
      onComplete: () => stop(),
    },
  },
});

Would love a PR for this!

I'll try to submit one soon. Just as a reminder for me, the files that are linked to this are src/directives/index.ts, src/utils/directives.ts and src/types/variants.ts. Feel free to tell me if I'm forgetting some of them

Oh yes you're right thx!

Hey @florian-lefebvre 👋
Thanks for bringing up the idea of having such variant. 👍
I was also looking for a way to only apply animations once when they enter the viewport. I know you already did the hard work and made a PR, but I also tried to do one here: #50
I noticed your PR also adds a bunch of different presets so I thought I'm just gonna focus on this 1 single variant which we was discussed here so maybe @Tahul can have an easier time to consider merging this feature.

Hello there!
Thanks again @florian-lefebvre ; as I have merged you PR, I am closing this now!
The docs about this new feature are available there:
https://motion.vueuse.org/variants.html#visible-once


Doc publish authentication doesn't work

@MartinNowak this is for you. I don't know how this works internally, but all the changes I have merged so far have resulted in a failure to upload the docs. It says that it builds, but the authentication to push to the github pages fails.

Oops, I guess #31 also has the same comment.


LinkFix: windows-iotcore-docs (2022-06)

This PR is the result of running a Link Repair script on the included content. This script is primarily being run to clean up links to function correctly in Air Gapped Clouds (AGC). Here's a breakdown of what the script that generated the changes in this PR fixes:

docs.microsoft.com Fully Qualified Domain Name (FQDN) Links to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not

azure.microsoft.com/documentation/articles that reflect to Docs to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not

All known flavors of MSDN/TechNet domains (we know of 8 or 9 now) that reflect to Docs to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not

This also includes cleanup of the appended query string for MSDN (redirectedfrom=MSDN).

Fixes articles that are redirected in .openpublishing.redirection.json and updates the link to the current final location (this has a lot of customer usability fixes).

Please note the Contributor Guide: Links has been updated with the following link-type preference order:

By order of preference, links hosted on Docs should be Relative if they are in the same repository and docset. If they are in a different docset, even if in the same repository, they should be Site Relative. Links to content hosted on Docs shouldn't use a complete URL, otherwise known as Fully Qualified Domain Names (FQDN). Using a complete URL from Docs to other content on Docs will cause that link to be non-functional in air-gap environments.

Docs Build status updates of commit 5cbda1f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/release-notes/commercial/April2018Update.md
:white_check_mark:Succeeded
View

windows-iotcore/release-notes/Insider/RPi3BP.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off

@cmcclister - l got a chance to review and approve the changes. Links are working. I don't have permission to merge it and would suggest reaching out to author owner to merge the PR.


add blurry image

[ ] add python script titled "toBlurry.py"
[ ] write script to make the image blurry
[ ] add a before image to "galleryImages/beforeImages"
[ ] use "toBlurry" to create an after image
[ ] add before and after art to index.html

#6


[5.1] Saving morphTo relation.

When I try to perform save() or create() on morphTo relation of my User model. It always gives this error:
Call to undefined method Illuminate\Database\Query\Builder::create()

Where as if I do the reverse, i.e., If I perform save() or create() from morphOne relation of my Admin model. It works perfectly.
Is this a bug? or is it suppose to be like this?
// User model:
 public function profile()
 {
    return $this->morphTo('profile', 'profile_type', 'profile_id');
 }

// Admin model:
public function user()
{
    return $this->morphOne(User::class, 'profile', 'profile_type', 'profile_id', 'id');
}

It's supposed to be like this. morphTo relationships are treated as the belongsTo side of the relationship. morphOne/morphMany relationships are treated as the hasOne/hasMany side of the relationship.
The belongsTo side of the relationship does not have the save()/create() methods. It has the associate() method. Only the hasOne/hasMany side of the relationship has the save/create methods.

thanks.


MF-426 - Add optional MF_CA_CERTS env variable to allow GRPC client to use TLS certs

What does this do?
Allows a user to specify a path to their own trusted certs file via environmental variable MF_CA_CERTS.
Which issue(s) does this PR fix/relate to?
related #426
List any changes that modify/break current functionality
None
Have you included tests for your changes?
Not yet
Did you document any new/modified functionality?
Not yet
Notes
Wanted to get the idea out for feedback before moving onto other components

@nwest1 this PR looks good to me.
You will need to sign-off the commit in order for DCO check to pass
Just a question for the reference - is there some special way to deploy things service in order for it to provide TLS connection (private/public cert)?

Codecov Report

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

@@           Coverage Diff           @@
##           master     #430   +/-   ##
=======================================
  Coverage   91.09%   91.09%
=======================================
  Files          46       46
  Lines        1706     1706
=======================================
  Hits         1554     1554
  Misses        103      103
  Partials       49       49

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 9cacf57...b74ae24. Read the comment docs.

@drasko The SSL termination is currently handled by the ingress and not directly by the service itself. I can add that capability as discussed. Would you prefer all in one PR or leave this one for clients?

@nwest1 let's leave this one, making the PRs smaller.
Also, would WS and MQTT adapter be needing similar functionality? I guess yes, but if you are not using them or not capable to test them, then someone else from Mainflux core team can do these.

Yes, MQTT will need to be changed in a similar fashion - I'll work on that soon. Though it looks like similar changes would need to happen in the WS adapter, we're not using it and aren't setup to test it.

@nwest1 @drasko I think that we should add cert support for service providers too (users and things) in this PR.

@anovakovic01 @drasko I'm happy to add cert support in this PR.

I'm testing out the docker-compose portion, but am running into certificate validation errors. They're being eaten at the service level (https://github.com/mainflux/mainflux/blob/master/things/service.go#L149)
It's looking for a users and/or things host cert to be presented - where in the current configuration it's localhost.
Would you like me to configure this differently or would it be possible to generate two more cert+key combos for the two hostnames expected? The CA key is not available in the repo.

SSL changes: using https://github.com/mainflux/proxy/blob/master/certs/generate-CA.sh I recreated the ca and server cert + key combo with localhost users and things as Subject Alternative Names.

@nwest1 thanks a lot, looks good - we'll take a look over the WE.

Hi @nwest1,
thanks for your engagement and the fast responses to our comments.
Please merge the latest changes from the master and resolve the conflicts.
Two questions out of curiosity:

Why does the nginx containter depends on things the users containers?
Why are the following certificate files changed:

docker/ssl/certs/ca.crt
docker/ssl/certs/mainflux-server.crt
docker/ssl/certs/mainflux-server.key

@chombium

I was running into a few errors when configuring, but this is not needed and I've removed.
I regenerated the SSL certificates, adding users things and localhost as subject alternative names, so the same certificate can be used by all servers + nginx.

Happy to contribute! This branch should be all fixed up at this point.
Thanks for all the reviews and comments - I appreciate the quick feedback.

@nwest1 please update the branch, we just merged some other stuff so your PR is out of sync now :)

@chombium if OK with you we would like to proceed merging this one.

LGTM! Great work @nwest1

Merged! Thanks a lot @nwest1 - great contribution!


Swift 3 support

Version 2 is out, and supports swift 3 by default. Thank you for your contribution but this PR is no longer relevant.


Fix: block custom JS in GTM

What it solves
GTM by default allows custom JavaScript tags which is a security concern.
This PR blocks any tags other than GA4 tags.
https://developers.google.com/tag-platform/tag-manager/web/restrict
How to test it
All of our events should continue working fine.

@katspaugh Sure, merge it


Best Practices When Using Route Constraints

Using this gem for internal organization apps with easy GitHub authentication. Because of such, almost all of the apps routes are in constraint helpers like github_authenticated. I have found that this works against us in a few ways. Most notably, when using url helpers in mailers - specifically sent in the background with ActiveJob.
Is there a pattern to help with this? Only one I could think if was to not use constraint helpers and instead use an application filter. My experience with this gem is only in a recent Rails 5 edge app. I suspect behavior is the same for other versions too.

So the problem is basically that, at time of sending the emails, the routes you need are not defined since they're inside github_authenticated blocks, correct?
I see two possible alternatives:

Use github_authenticate instead of github_authenticated. I assume that this would be better anyways if you're including the link in the email for the user to click. With github_authenticated the user would click the link and, if they're not currently authenticated, get a 404. With github_authentice they would be redirected to GitHub and back.

Don't use the routes helper and have the logic in the controller.

Hope this helps.


Implementation of new skill to apply joint torque

This PR implements a new skill that applys desired joint torque passed from the frankapy server. I pass a minjerkjointtrajectory generator as the trajectory generator to the skill but it is not used at all. The desired joint torque is sent from the frankapy server through TorqueControllerSensorMessage and is applied after clipping with torque limits.

Hey @mohitsharma0690! Apologies for getting so late to reply, I was travelling for the most part of the time after your change requests and I didn't have access to the franka robot. Thanks so much for your comments, I have incoporated the changes you have asked and have addressed some of your concerns. Please get back to me when you could.


create saved organization page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

It works functionally but I did want to make the pop up messages after adding and removing an organization the same, and when an organisation is saved, the star is filled in, and clicking on it again will act as the remove function.


Added Notepad2 from Florian Balmer

Added manifest for Notepad2 (x64) from Florian Balmer. A super light Notepad replacement
Microsoft Reviewers: Open in CodeFlow

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yooakim sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Confusing wording in the tutorial

From https://react.dev/learn/tutorial-tic-tac-toe#showing-the-past-moves:

You already have an array of history moves in state, so now you need to transform it to an array of React elements.

What's a history move?

The term 'history move' in this tutorial refers to the state of the game at a specific point in time. When you first start the game, the 'moves' are represented as an array of 9 nulls, indicating no occurrences of either 'X' or 'O':
[
  [null, null, null, null, null, null, null, null, null],
]

As players make their moves, the 'history' array gets updated to store each state of the game. For example, if the first player with the 'X' role clicks the first button, the 'history' array will look like this:```js
[
// The first history move
[null, null, null, null, null, null, null, null, null],
// The second history move
["X", null, null, null, null, null, null, null, null],
// and so on...
]
`"You have already an array of history moves in state"` means this:
```jsx
export default function Game() {
  const [xIsNext, setXIsNext] = useState(true);
  // This is the array of history moves initialized with 9 nulls, and it is mutated every time a player makes a move
  const [history, setHistory] = useState([Array(9).fill(null)]);
  // ...

Awesome explanation @A7med3bdulBaset

The term "history move" isn't used anywhere else in the tutorial and it sounds strange.


STM32L496 Zephyr using LVGL disp_drv.flush_cb can not work

Describe the bug
I am using LVGL with Zephyr.  The hardware is STM32L496 and FW uses SPI DMA to send display data to OLED. The problem is that when LVGL call disp_drv.flush_cb, the transmission of SPI data can not made within this flush_cb.
The picture show this result.

The code implementation which I call A is as follow:
void hal_oled_lvgl_init(void)
{
    disp_drv.flush_cb = hal_oled_lvgl_flush;
    lv_disp_drv_register(&disp_drv);
}

static void hal_oled_lvgl_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p)
{
    oled_lvgl_flush=1;
    hal_oled_lvgl_flush_exe();     // the transmission of SPI data is done here
    lv_disp_flush_ready(drv);
}
void hal_oled_lvgl_flush_exe(void)
{
    if (oled_lvgl_flush) {
        oled_lvgl_flush=0;
	APP_SPI_Write_DataLvgl(flush_data_p, NUM_BYTES_BY_ROW_COL(flush_area_num_row,flush_area_num_col));

    }
}

To fix this problem, I have to move  the transmission of SPI data outside LVGL and put it in main.
The picture show this result.

The  code implementation which I call B is as follow::
static void hal_oled_lvgl_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p)
{
    oled_lvgl_flush=1;
    lv_disp_flush_ready(drv);
}

void main(void)
{
	lv_init();
	hal_oled_lvgl_init();
	while (1) {
            hal_oled_lvgl_flush_exe();  // the transmission of SPI data is done here
        }
}

Expected behavior
The transmission of SPI data should be within disp_drv.flush_cb. So, how to solve the problem if I want to use code implementation A?
Implementation B only solve the problem on the surface but produces side effects.
Environment (please complete the following information):
Hardware:STM32L496
Display: OLED display with 4 wire SPI interface.
Linux Ubuntu 20.04.3 LTS
Zephyr SDK,-0.13.0
Zephyr SHA1 ID:bb85a55
LVGL:7.6.1
Additional context
Add any other context about the problem here.

@cfriedt Removing the STM32 label as nothing point to STM32 specific code fro now but purely to lvgl usage (and I won't be able to help on this)

The problem is solved. Thank You.


encoding/xml: Unmarshal improperly decodes attr into byte

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.6.2

What operating system and processor architecture are you using (go env)?

GOOS=GNU/Linux
GOARCH=amd64

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

https://play.golang.org/p/wAByp2MpkB

What did you expect to see?

One of two things, in order of preference:
1.) Since C is one byte long I'd expect to see foo.B set to 0x43 (and also error out if the attribute is longer than one byte long.)
2.) An error since C is an invalid number and Decoder.unmarshalAttr calls strconv.ParseUint yet decides to ignore the return value of copyValue.

What did you see instead?

Nothing -- it doesn't touch foo.B and foo.B remains 0x0.

The offending commit (if it's in any way relevant to why the return value of copyValue is ignored): https://github.com/golang/go/commit/84b0842a59b8bf8e890861f7859869fb73d8681c

The fix is to change Decoder.unmarshalAttr to not ignore the error return of copyValue.  The obvious fix causes one of the testsuite tests to fail.
This has worked this way since 1.0.3, so leaving for 1.8.

Is this coveted under the Go 1.0 promise?
On Wed, Jun 22, 2016 at 4:59 PM Ian Lance Taylor<EMAIL_ADDRESS>wrote:

The fix is to change Decoder.unmarshalAttr to not ignore the error return
of copyValue. The obvious fix causes one of the testsuite tests to fail.
This has worked this way since 1.0.3, so leaving for 1.8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/16158#issuecomment-227912233, or mute
the thread
https://github.com/notifications/unsubscribe/AFnwZ5cDWN_16HAPxBQ-ZFRy5O42ObYDks5qOcxrgaJpZM4I8RcO
.

This kind of thing is not strictly covered by the Go 1 promise.  We are permitted to fix bugs.  However, if fixing this bug causes packages to fail, we might decide that it's not worth fixing.

Okay, I'll go ahead with the CL then. I noticed the failed test too—is that
in the scope of this issue or not?
On Wed, Jun 22, 2016 at 6:15 PM Ian Lance Taylor<EMAIL_ADDRESS>wrote:

This kind of thing is not strictly covered by the Go 1 promise. We are
permitted to fix bugs. However, if fixing this bug causes packages to fail,
we might decide that it's not worth fixing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/16158#issuecomment-227923502, or mute
the thread
https://github.com/notifications/unsubscribe/AFnwZ-v5-JKgZ9po_sX8giwtqpW9Us7Hks5qOd47gaJpZM4I8RcO
.

I'm not quite sure what you are asking.  Certainly all the tests must pass when the CL is committed.

Yes, of course.
The failing test could be indicative of another bug in the xml package, or
it could just be a small issue with the test.
My question was about the former and whether it'd require a separate
issue or not.
On Wed, Jun 22, 2016 at 9:27 PM Ian Lance Taylor<EMAIL_ADDRESS>wrote:

I'm not quite sure what you are asking. Certainly all the tests must pass
when the CL is committed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/16158#issuecomment-227946777, or mute
the thread
https://github.com/notifications/unsubscribe/AFnwZ-HTlSsPPlaGoOb42JEP-HQhLVlsks5qOgs3gaJpZM4I8RcO
.


Swipe right and left

Hi,
Thanks for the library, it made it possible to automate our flutter app tests !
We managed to convert our tests to the Flutter driver almost fine.
Only thing remaining so far is the swipe feature, especially horizontally.
Unfortunately, scroll keywords cannot help. As we want to swipe left and right.
Any thoughts, workarounds ?

Hey, thanks for the feedback!
I'm planning to create the swipe keyword since beta 1. Flutter Driver seems to not support WebDriver.swipe(), so I have to find another way.
I will work on this issue this week and hope I can release this keyword at beta 3.

Appreciated, that would be perfect !
Swipe actions are very critical for our app (and I believe for most of modern apps)

Looking forward for this feature.


equals

Here is an attempt at equals. The type signature seems unnecessarily complicated but it was a result of typescript interpreting certain values as type literals which caused issues with type inference in currying.
For instance, when I only had one type parameter A for everything.
FR.equals(eqNumber, 125) returned an expected type of Predicate<125> rather than Predicate<number>.  Obviously you could fix this by calling FR.equals<number>(eqNumber, 125) but that seemed to be poor ergonomics for the developer.
I'm open to any suggestions you have on this.

Sounds good. Not really sure what's going on with travis-ci here considering the check is failing in an area where no code changes were made.

@kightlingerh yes it's unrelated, "fixed" in https://github.com/giogonzo/fp-ts-ramda/commit/1c50043f40d1d74a86735f0b4b0c8faf58cd0833


Some minor tweaks to InputDecoration (mainly docs).

cc @HansMuller

(It's a pity we can't fix filled to be isFilled.)


Expected logos for a single day event are not displayed

T549: Verifying the Calendar view for a single day event to display Host Logo, Event Type Logo, PLN Event/Industry event  logo and the Event Name
https://memser.testrail.io/index.php?/tests/view/549
Expected:
Single day event should display all expected logos
Actual:
Single day event does not display all expected logos - please refer the snapshot attached

@WinsCodes  For mobile the UX doesn't include the logos and there wont be space too. So this can be closed


2018.1.0f1 / IL2CPP update

Overview
Tested and updated for 2018.1.0f1 against IL2CPP
Resolved build errors and warnings

OK, updated the editor classes and removed those #IF UNITY_EDITOR declarations.
We will need to come up with a plan later for builds.


Create newtab

Updated the application as follows:

Add New Tab Buttons:

Enhance the addTab and handleExecQueryClick functions to include functionality for adding New Tab buttons.
Introduce a new function named updateTableName.

Update the resultgrid Component:

Add error handling to check if dbName or schemaName is empty.
Modify the ngOnChanges lifecycle method in the resultgrid.component.

If you have any questions or need further clarification about the updates or functionality, feel free to ask! Additionally, if you'd like suggestions for optimizing the implementation or testing the changes, let me know, and I'd be happy to help. 😊

Hi @r9young,
Thank you for the update! There are a few issues in the code that I would like to highlight for your review:

Navbar Button Styling

The button on the Navbar currently looks a bit out of place due to the color choice. Could you style it to align with the rest of the design?
As per our earlier implementation, a simple + symbol would suffice. Here's a screenshot for reference:

Unnecessary Button Below

The button in the editor area might not be required, as the primary functionality in this space is to deal with data in the editor. Removing it would simplify the interface.
Screenshot for reference:

AI Prompt Issue

The AI prompt currently does not work for empty tabs, as there is no database data available to find tables.
I have added this as a "Needed triage" task for further attention. Screenshots for reference:

Empty tab queries are not getting executed

Let me know if you need more details or have any questions. Please feel free to solve any of this above issues as per your convenience. Thank you for addressing these issues!
Best regards,
Shashi Kumar K


T8 Test Candidate removed from Ontology Guide

Signed-off-by: Pawel Garbacz<EMAIL_ADDRESS>Description
This pull request removed the description of the T8 test candidate from the Ontology Guide - as per discussion in issue #1193.
Fixes: #1193
Checklist:

[X] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[X] My contribution follows the principles of best practices for FIBO.
[X] My changes have been reconciled with latest master and no merge conflicts remain.
[X] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[X] Hygiene tests have been applied by a PR with "(WIP)" in title.
[X] The issue has been tested locally using a reasoner (for ontology changes).

I've just noticed that I created this pull request from my other github account - I can re-create it from the proper account if needed.


This PR enables two new config settings:
GO_HASH_KEY which is used exactly as HASH_KEY is now, and GO_HASH which is a boolean which specifies the key and endpoint used.

Where do we find out more about this Go Hash thing?

@baskettcase message me on Discord :)

Stole the code. Thank you.


Sporadic cypress binary cache failure of example-basic-pnpm workflow on Ubuntu

Issue
The workflow .github/workflows/example-basic-pnpm.yml fails sporadically. See the following action logs:

filtered by failures
unfiltered

When the workflow fails, the log section "Cypress tests" shows:
/usr/local/bin/npx cypress cache list
No cached binary versions were found.
/usr/local/bin/npx cypress verify
The cypress npm package is installed, but the Cypress binary is missing.

and the failures are on one of the jobs:

basic-pnpm-ubuntu-20
basic-pnpm-ubuntu-22

Failure date
ubuntu-20
ubuntu-22

May 6, 2024 (1649)
-
job<PHONE_NUMBER>3

Apr 24, 2024  (1645)
job<PHONE_NUMBER>4
-

Apr 19,  2024 (1641)
job<PHONE_NUMBER>0
-

It is not possible to analyze earlier failures, since the corresponding logs have been automatically purged by GitHub settings.

See PR #1180 for possible resolution

The cache race condition which led to this issue is resolved in https://github.com/cypress-io/github-action/pull/1180. If however the cache of the Cypress binary cache and the cache of the pnpm store cache are out of sync, the workflow does not recover automatically. It is necessary in this situation to manually delete the cache of the pnpm store cache and re-run the workflow.
I'll leave this issue for the moment and monitor if there are additional failures.

This issue is still happening.
See https://github.com/cypress-io/github-action/actions/runs/9186993814/job/25263739457

Using the failed workflow https://github.com/cypress-io/github-action/actions/runs/9186993814/job/25263739457 as an example ...
The problem occurs when the pnpm store is cached in Linux-pnpm-store-* and the pnpm store contains a copy of the correct version of Cypress, whereas at the same time the cypress-linux-x64-* is missing the corresponding cache Cypress binary.
There is no simple solution to coordinating these two caches. Manual caching of the pnpm store cache in the example workflows uses the GitHub JavaScript action actions/cache. The Cypress GitHub action uses the npm module @actions/cache to cache the Cypress binary cache.
When there are parallel jobs running there is no guarantee that a cache can be saved if the jobs are using the same cache key. One job may block the other and lead to inconsistency.
Package managers, including pnpm, only run the postinstall script when Cypress is not installed. Cypress has no automatic fallback to attempt to (re-)install the Cypress binary if it is missing. If pnpm thinks that Cypress is installed, because it was found in the pnpm store cache, then it doesn't attempt to install the Cypress binary. When it comes time to verify Cypress, the verification fails because the Cypress binary cache wasn't populated.
The short-term mitigation is to remove the Linux store caching from the documentation and example workflows. The longer-term solution would be to implement https://github.com/cypress-io/github-action/issues/1044 to cache pnpm dependencies directly under the control of the Cypress GitHub action.


Module 1.3 Assignment

👋 for this assignment, please include a screenshot demonstrating git diff and git diff --staged


rewrite mutable<->readonly assignment rules in terms of is-immutable-type lib?

Being able to throw away the reams and reams of dodgy AST wrangling that I've written and replacing with https://github.com/RebeccaStevens/is-immutable-type/ (which looks great) would be a nice outcome

Example (new) rule no-decreasing-immutability: https://github.com/danielnixon/eslint-plugin-total-functions/pull/new/use-is-immutable-type
This only checks assignment expressions, and it doesn't have any config options. But it demonstrates how we might throw away the accumulated cruft and replace with is-immutable-type.

A downside to this approach is that we would lose fine-grained property-wise (and parameter-wise) comparisons.
This wouldn't matter for assignments that change the immutability level (Immutable -> DeepReadonly or DeepReadonly -> ShallowReadonly or anything to Mutable), but it would allow an assignment like the following, which should arguably be prevented even though both source and destination types are the same immutability level:
type Foo = {
  readonly a: string;
  b: string;
};

type Bar = {
  a: string;
  readonly b: string;
};

const foo: Foo = { a: "a", b: "b" };

// Permitted because left and right hand side of assignment have same immutability level (both mutable)
const bar: Bar = foo;

bar.a = "whoops";

// Logs "whoops"
console.log(bar.a);

The only way to catch that would be to preserve our own AST wrangling that compares types in a property-wise (and parameter-wise) way. But it sure is tempting to be able to throw it all away and benefit from the momentum behind eslint-plugin-functional (including bug fixes, attention to linting performance, etc).
And how likely is it that someone is assigning from and to mutable types that are "mismatched" like this (contrived?) example? Probably low.

Individual parts of unions and intersections would probably be lost this way too. So much like the above example, you could (I suspect) assign MutableA | ImmutableB to ImmutableA | MutableB, which again should arguably be forbidden.

is-immutable-type doesn't look at call signatures, so if we ported to it we would lose the ability to flag sneaky mutation like this example:
type Data = {
  readonly value: string;
};

type DataHolder = {
  readonly a: Data;
  readonly doSomethingWithMyData: <T>(cb: (a: Data) => T) => T;
};

declare const foo: DataHolder;

foo.doSomethingWithMyData((a: { value: string }) => a.value = "whoops");


can't push local repo to remote

Gitea version (or commit ref):
1.11.0+dev-352-g66028d58f built with GNU Make 4.2.1, go1.13.4 : bindata, sqlite, sqlite_unlock_notify
Git version: 2.22.0
Operating system: Debian, Docker
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description

Create new repo in Gitea
Create local repo, and run

git init
touch readme.md
git add readme.md
git commit -m "initial commit"
git remote add origin repo_url
git push -u origin master

remote repo keeps empty. nothing pushed.
...

Screenshots

We need some more information I'm afraid.
What version of Gitea?
Do you get any logs in Gitea when you push?
It looks like you're pushing over http is that correct?
Are your Gitea repositories mounted on an executable partition? If they are mounted noexec or user then I'm afraid that won't work as Gitea is informed by git hooks about pushes.

We need some more information I'm afraid.
What version of Gitea?
Do you get any logs in Gitea when you push?
It looks like you're pushing over http is that correct?
Are your Gitea repositories mounted on an executable partition? If they are mounted noexec or user then I'm afraid that won't work as Gitea is informed by git hooks about pushes.

Gitea: 1.11.0+dev-352-g66028d58f built with GNU Make 4.2.1, go1.13.4 : bindata, sqlite, sqlite_unlock_notify
Yes, I'm using http for pushing.
Do you mean the the mount of /data should be executable (without nonexec option)?

Yes, exactly that.

is there any chance or plan to make it working on noexec partition?

@iwzoo I think it can't. Hooks scripts need execute permission.

So there is actuallly a potential technique with setting the GIT_HOOK_DIR environment variable. However I just don't have time to do it as yet and it's potentially a little fiddly as we would have to deal with other hooks etc.


Move es br source code and deploy from devops to github

Description
The source code for the brreg plugin needs to be moved here and upgraded to functions v4.
Create workflow for deploy to existing function apps
Additional Information
No response
Tasks
No response

Completed


Fix small issues and typos in Instructions

These fixes are only for some typos and other small issues that I noticed while preparing for FS so it can be merged without much work and review.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @olanguyenvan for the PR!


system does not reconnect everything after ACE restart

When the node where ACE is running is restarted, every agent is restarted as soon as they detect the new ACE instance. But the system does not get into a healthy state, where everything works, there seem to be remote service and/or wiring discovery problems.

This still is an issue. A quick look at the viewer showed some exceptions when the felix agent is restarted:
gogo: BindException: Address already in use
java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at org.apache.felix.gogo.shell.Telnet.start(Telnet.java:118)
	at org.apache.felix.gogo.shell.Telnet.telnetd(Telnet.java:82)

[CONSOLE] [WARNING] 14:59:59.477 discovery/etcd(481) Could not set etcd watch!
java.lang.NullPointerException
	at org.amdatu.remote.discovery.etcd.EtcdEndpointDiscovery.setDirectoryWatch(EtcdEndpointDiscovery.java:235)
	at org.amdatu.remote.discovery.etcd.EtcdEndpointDiscovery.handleDiscoveryEndpointChange(EtcdEndpointDiscovery.java:201)

I looks as if the old java process is still running (telnet port still in use, etcd client is null (cleaned up in stop()) but a new watch should be set)?
Will investigate further...


Importing issue

Cannot import pyunity due to error below:
Loaded config
Trying GLFW as a window provider
Using window provider GLFW
Traceback (most recent call last):
  File "C:\Users\raych\AppData\Local\Programs\Python\Python39-32\lib\runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\Users\raych\AppData\Local\Programs\Python\Python39-32\lib\runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "C:\Users\raych\AppData\Local\Programs\Python\Python39-32\lib\runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "C:\Users\raych\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyunity\__init__.py", line 156, in <module>
    from .audio import *
  File "audio.py", line 13, in init pyunity.audio
  File "core.py", line 1, in init pyunity.core
ModuleNotFoundError: No module named 'vector3'

Seems that the error goes as far back as 5 commits before 0.3.0... i remember clearly that the bug was not there then ¯_(ツ)_/¯
Maybe it was my environment or something, testing with virtualenv now

NOPE that didn't work out at all

Last working commit that i have tested: 8230364

The commit that seems to have introduced this error is 98f9918, I'm going to check to see if any changes caused it

Comparison: https://github.com/rayzchen/pyunity/compare/63054d8...98f9918

The most changed file is glfwWindow.py

Seems that 63054d8 doesnt work too

YES FINALLY found the two commits:
https://github.com/rayzchen/pyunity/compare/dbd20a6...a0f39e6

I think the reason is because of the PXD files (line 1 references from .vector3 cimport Vector3)

As of now, the PXD files have been disabled. However, a branch named patch-1 is going to experiment with fixing the bug. This issue will be closed.