String or binary data would be truncated

Hi,
I have Model for RAW SQL due performance and cause EF can't simply take in simple query 2 Max values and 1 Min value. Due to a lot of values in "IN" clause Im getting this error. I probably have to go for old commands :(
Exception message: String or binary data would be truncated
Stack trace:
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
   at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
   at System.Data.SqlClient.SqlDataReader.<>c__DisplayClass190_0.<ReadAsync>b__1(Task t)
   at System.Data.SqlClient.SqlDataReader.InvokeRetryable[T](Func`2 moreFunc, TaskCompletionSource`1 source, IDisposable objectToDispose)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__12.MoveNext()
   at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__11.MoveNext()
   at System.Linq.AsyncEnumerable.<SingleOrDefault_>d__381`1.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()

Steps to reproduce

Make FromSql query for some table where do you use "IN" clause with a lot of values

          public class ProductsStats
    {
        public decimal MaxPrice { get; set; }
        public decimal MinWeight { get; set; }
        public decimal MaxWeight { get; set; }
    }

           // Controller.cs
           ProductsStats result = null;

            try
            {
                string ins = string.Join(",", productIds.Select(x => $"'{x}'"));

                result = await db.Query<ProductsStats>().FromSql($"SELECT CEILING(MAX(BruttoPrice)) MaxPrice, FLOOR(MIN(Weight)) MinWeight, CEILING(MAX(Weight)) MaxWeight FROM Products WHERE Id IN ({ins})").SingleOrDefaultAsync();
            }
            catch(Exception ex)
            {
                Debug.WriteLine(ex.Message);
            }

Further technical details
EF Core version: 2.1.0-preview1-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 Pro x64
IDE: Visual Studio 2017 15.7 Preview

@glararan check your stack trace, the error comes from inside SQL Data Reader:

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader

This means you're trying to read a SQL value into some .Net type, but it doesn't fit. Double check your data types.
Also instead of a giant IN clause, you can use table valued parameters which generally work allot better.

Data types inside database for Price and Weight is decimal(18, 2) which should be okay.. I'm using code first and Product entity has also decimal for Weight and Price.
Giant IN: I hear this first time... is there any example how to use IN list?

@glararan Because of the way string interpolation works with EF the result of this is a query with one large string parameter containing all the values concatenated together. This is probably what is causing the exception. If your intention is to not do parameterization here (and you're happy that this won't expose any security issue) then just stop using string interpolation inside the FromSql call.

Oh awesome.. so solution is to write SQL into string variable which should be passed into FromSql.. nice, thanks


Dependencies from pubspec.yaml are not listed

I can't generate a sbom.spdx file which includes all dependencies from the pubspec.yaml as mentioned.

The SBOM is generated from the Dart files contained in the package plus the pubspec.yaml, no other files included in the package are currently considered.

Can you please extend the example for this case? My goal is a list with all dependencies inside my app / package.

I need more information , what do you mean by 'all dependencies from the pubspec.yaml'? Dependencies in the pubspec are individual packages that should have their own SBOM's or do you mean you just want them listed in the SBOM as a relationship or something?

Yes I mean that they are listed like all internal files but referenced to the package source. If this is out of the scope of this package, please let my know. Anyway, thank you for working on this package. My use cases for this list are supply-chain transparency and security, to report which software components are part of the app and are there security issues. This for I would recommend to include all dart packages and flutter plugins into the scanner.

OK, but why would you need to list them like all internal files? These files don't belong to this package, they belong to other packages so they should be listed in the SBOM for that package. The best this package can do is generate an external dependency reference maybe indicating where this information could be found.

I misunderstood the purpose of the package. Thank you for the clarification.


Dev testing patch

Added a continuous integration pipeline
the file for the pipeline is ci.yml this is for github actions this as a dleclerite format for cloning and running tests on the projects code base.
ci.yml
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the "main" branch
  push:
  pull_request:
  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  Py-Lints:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.9", "3.10", "3.11"]
    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
          python-version: ${{ matrix.python-version }}

      # Runs a single command using the runners shell
      - name: installs requriements.txt for python
        run: pip install -r requirements.txt

      # checks for formating errors so my code is to pep8 standards
      - name: pylint
        run: pylint $(git ls-files '*.py')

  Py-Tests:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.9", "3.10", "3.11"]
    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
          python-version: ${{ matrix.python-version }}

      # Runs a single command using the runners shell
      - name: installs requriements.txt for python
        run: pip install -r requirements.txt

      # tests the hole project using the test i have made.
      - name: pytest
        run: pytest

i mean it works so w


added divyanshu

Thanks @bluzi for this project! A great place to start contributing to open source.


Spring 2021: PTF enhancements for 7.3 and 7.4

https://www.ibm.com/support/pages/node/1106229#announcement
New BIFs - %LOWER, %UPPER%, %SPLIT
Control keywords - EXPROPTS(*STRICTKEYS)

Done in PR #89


[Bug] Stateless Programmable Button Event Mapping

Is there an existing issue for this?

[x] I have searched the existing issues

Describe the bug
I have a hue dimmer switch. it supports single click and hold. when i click it it sends out two messages:

on_press

on_press_release

same thing when i hold except it sends out an on_press first:

on_press

on_hold

on_hold_release

so because of the of the event mapping of this plugin, when i hold the button, homekit thinks im pressing the button AND holding it. (i.e single press turns light on, hold opens blinds. when i hold to open only my blinds it will also register a single click turning the lights on too)
Related devices
Phillips Hue Dimmer Switch V2
Related Devices
No response
Steps To Reproduce
No response
Expected behavior
I would like for it to respond to any .._.._release as it would prevent dual inputs
Device entry
No response
Status update
Info 2023-02-18 16:03:16MQTT publish: topic 'zigbee2mqtt/Hue Dimmer Switch', payload '{"action":"on_press","battery":86,"linkquality":116,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":false}'

Info 2023-02-18 16:03:16MQTT publish: topic 'zigbee2mqtt/Hue Dimmer Switch', payload '{"action":"on_hold","action_duration":0.794,"battery":86,"linkquality":116,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":false}'

Info 2023-02-18 16:03:17MQTT publish: topic 'zigbee2mqtt/Hue Dimmer Switch', payload '{"action":"on_hold_release","battery":86,"linkquality":108,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":false}'

Messages from this plugin
No response
This plugin
1.9.2
Homebridge
v1.6.0
Zigbee2MQTT
1.30.1 commit: eb878d3
Homebridge Config UI X (if applicable)
v4.50.2

This is the device you are referring to, right?
https://www.zigbee2mqtt.io/devices/929002398602.html


fix nordbayern banner images

yet another fix for nordbayern images

Probably need to fix notice on line 102: https://feed.eugenemolotov.ru/pr2384/?action=display&bridge=Nordbayern&region=nuernberg&format=Html

I could not reliably replicate this, but I pushed a fix that may work.


Error: Observable_1.Observable.throw is not a function

ERROR TypeError: Observable_1.Observable.throw is not a function
at DirectLine.push../node_modules/botframework-directlinejs/built/directLine.js.DirectLine.catchExpiredToken (directLine.js:332)
at CatchSubscriber.selector (directLine.js:278)
Chat used to work but updating to the latest version of RXJS caused some issues.

@hpavenge any update on this?

This is an issue on one of our dependency redux-observable, referring to an unsupported version of RxJS (instead of 5, it use 6).
We have details about the issue over here, https://github.com/Microsoft/BotFramework-WebChat/issues/1146#issuecomment-435483963.


0 ETH balance sent

In IOS AW App the ETH transactions they are not being done correctly. When you do a transaction, no balance is sent and only consumes the gas fees.

User experience:
https://etherscan.io/tx/0x333342d4c6f5d2c7618a234f7dcc0f597429b21962c8e2310b6bf0362352a411

@oa-s help check?

Tried to send ether in ropsten, tx is sending with enter amount, @Hoanib is there some specific configuration tx steps i missed missed when send eth?

A user complained about his AW (iOS) did not show the ETH balance in
dollars and that did not allow him to send it. I suggest him to do this
trick: change the current connected wallet address for another one and
change it back again in order to see the balance and then spend the token.
When the user did that he performed three transactions but no balance was
sent just the gas fees consuming. These are the Txn Hash:
0x333342d4c6f5d2c7618a234f7dcc0f597429b21962c8e2310b6bf0362352a411
0x46961a7ce3a373011509eb40a114d78ffd27f44870bedb3143c6bca8dfb2ea4b
0x6282deba121af38f15cf2dc296cbb46fbe443d84a72afcd6d246179fa6cc2c82
On Fri, Mar 25, 2022 at 02:59 Crypto Pank @.***> wrote:

Tried to send ether in ropsten, tx is sending with enter amount, @Hoanib
https://github.com/Hoanib is there some specific configuration tx steps
i missed missed when send eth?
—
Reply to this email directly, view it on GitHub
https://github.com/AlphaWallet/alpha-wallet-ios/issues/4154#issuecomment-1078715834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYBLZ46LQC4IADSPWGNACKTVBVP5FANCNFSM5RRM5S7Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

can u share build version was using?

can u share build version was using?

iOS 3.37 (421)

@oa-s User used this platform to make the transactions: https://60cek.org/

User reports that when he try to perform the send transaction in the Confirm pop up there's 0 balance. I just replicated it and it worked fine on my side. I attach screenshots.
User's:

Mine:

I got reports from another users with the same issue confirming successful transactions after doin the trick I suggested them in order to AW displayed the ETH balance on the Send feature.

@Hoanib Thanks for your report, it makes the issue clearly, we will check it asap.

@oa-s, @hboon, User reported that finally he could perform the transaction successfully!

Close due to non activity, reopen if needed


when shooting, fall slower but keep velocity

when shooting, fall slower but keep velocity

public static Vector3 ClampMagnitude(Vector3 vector, float maxLength);

public static Vector3 ClampMagnitude(Vector3 vector, float maxLength);

hacked in some code to create the behaviour. need clean up later


Configuration#7: Step#1: alpha_S=0.2, matter: q_0=1 | matterlbt: q_0=2.5: matter03

run the simulation with the above config by jetscape,
transfer the final state hadron to the related directory named as config-XX-final-state-hadrons
after doing step1 on all 12 simulations go to step 2 for the configurationX

port to Excel for overleaf


Can't refresh catalog from "Helm Charts server URL"

I create a local helm charts server and add a catalog from it. The catalog sync ok. I changed a app's templete, but i can't find a way to refresh the app in catalog.
After serveral hours, the catalg seems still not refreshed yet.
I checked the "index.yaml" file in helm server side and rancher server side, they are different.
helm server side:
[root@localnode stable]# ll index.yaml
-rwxrwxrwx 1 root root 165652 Oct 24 10:26 index.yaml
rancher server side
[root@node1 794469a8cda4100cce4ff5603cf236f9]# ll
total 112
-rwxr-xr-x 1 root root 114309 Oct 24 15:36 index.yaml

Useful
Info

Versions
Rancher v2.1.0 UI: v2.0.77

Route
global-admin.catalog

the catalog will be auto-refreshed in 1hr or you can click the Refresh button in the project level Catalog Apps page.

close due to no respond.


no css when i use the component

In .NET 5, you need to add the following line in _host.cshtml (Server Side) or index.html (WebAssembly)
<link href="{ASSEMBLY NAME}.styles.css" rel="stylesheet">
Source: https://docs.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-5.0#css-isolation-bundling
In .NET Core 3.1 or lower, follow this instructions
https://github.com/juxant/BlazorTransfer/blob/5d3efaa47d12985ff88a2fc56e1ba6521569b436/README.md


Release version in package 1.12 is 1.11

Repro steps:

Download release version 1.12 on linux amd64
untar
./shell2http --version
print 1.11

Released 1.13 version: https://github.com/msoap/shell2http/releases/tag/1.13


There was an error when first running the qr image, after that the error will not appear again.

 The error occur if only we have an embedded image. The error always occur when set complete/error for the completer.
Really appreciate your help in looking into this issue.

Let me take a look into this ASAP

I found this error yesterday. This is my output:

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.10.15-pre.95, on Mac OS X 10.15 19A583, locale
zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.4)
[✓] Connected device (1 available)
• No issues found!

PS C:\JSL\VIQCore\flutter\projects\viqcore_community> flutter doctor -v
[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.17134.1009], locale en-US)
• Flutter version 1.9.1+hotfix.4 at C:\src\flutter
• Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Android
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Android
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[!] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[!] Connected device
! No devices available

Any luck on the finding?

This should be fixed in the 3.0.2 release.

Next version will be 3.1.0 because I also needed to bump the Flutter version due to incompatibilities (breaking changes in Flutter).


Possibly add a warning for Settings Sync users

I know, that this is kind of a strange request and not sure what repository best to report that.
If you use the (rather popular - 1.7M installs) Settings Sync plugin and login via this plugin to GitHub, the OAuth token will easily end up in a public Gist with the next (auto) sync. Of course everyone should be aware of those issues using that plugin (though maybe not everyone read in advance that the OAuth token will be saved into the settings and thus end up in the Gist).
I see a huge potential here for a lot of leaked OAuth tokens via Settings Sync configurations in the future. Since the Settings Sync extension is so popular I am not sure if it's worth adding a warning about this (or even store the token somewhere else - which would be related to #368).
Since Settings Sync currently have no potential to exclude specific settings from syncing (which of course is an issue of that extension), with saving the token in the setting it seems that those two plugins are currently rather incompatible to each other, if you don't want to sync your OAuth token to a Gist.

Thanks for opening this issue @timroes. On what OS do you see the oAuth token being stored in your settings.json?
We should store your tokens in an encrypted store per https://github.com/Microsoft/vscode-pull-request-github/issues/190

@timroes Iirc, the gist is set to private by default in Settings Sync.

@auchenberg Thanks for the quick response and thanks for the hint. Indeed the token is correctly saved in my keystore if I unlock it properly. I am using Archlinux and often click away the keystore unlock, in case I don't see the obvious reason why it needs to be unlocked at that moment. This was the case yesterday and in this case the plugin felled back to storing it in the settings directly - which imho is the reasonable behavior here.
Since I think my system setup is rather custom and most people will have the keystore integrated with their login (on Linux) I think there is no need to change anything here.
@NavyAdmiral I think no matter if the Gist is private or public, something like a password or OAuth token should not end up there "by default", since I assume the GitHub Gist infrastructure has not the same security level, that we could expect from the actual OAuth token infrastructure of GitHub.


[$500] IOU - Back button unresponsive on touches on IOU details page in offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: user should be Signed In

Open app
Navigate to any 1:1 converssation
Make a Money Request
Turn you internet connection off
Navigate to IOU details page
Tap on back button in header

Expected Result:
User should be navigated back on IOU listing page
Actual Result:
The back button unresponsive on touches. It is unable to navigate back and user get stuck on the empty page with loading skeleton animation.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/d81e314a-ea44-465e-9928-9b369a7d0da4
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~011ceacebec21ea886
Upwork Job ID:<PHONE_NUMBER>177305088
Last Price Increase: 2023-12-02
Automatic offers:

ikevin127 | Contributor | 27990113

Proposal
Please re-state the problem that we are trying to solve in this issue
What is the root cause of that problem?
https://github.com/Expensify/App/blob/1682be47d71b5a84c20c2396e833c0a015829252/src/pages/home/HeaderView.js#L199-L201
Issue comes from the above code block because in offline mode the isLoading is true and it renders the ReportHeaderSkeletonView component which has onPress={() => {}}.
What changes do you think we should make in order to solve the problem?
Add new prop onBackButtonPress = () => {} (default) to ReportHeaderSkeletonView component and then from HeaderView component pass :
<ReportHeaderSkeletonView onBackButtonPress={props.onNavigationMenuButtonClicked} />

props.onNavigationMenuButtonClicked being the same function used for header go back button when isLoading is false.
Videos

iOS: Native

Proposal
Please re-state the problem that we are trying to solve in this issue.
The user is not able to navigate back to the previous screen while the screen remains "loading".
As a user I should be able to navigate back at any time without being constrained by either latency or an offline connection.
What is the root cause of that problem?
The ReportHeaderSkeletonView component is rendering a "dummy" back button without an onPress callback. However, Skeleton/Shimmer views should be minimal, it should not be rendering this "dummy" back button.
What changes do you think we should make in order to solve the problem?

Instead of providing the same onNavigationMenuButtonClicked  prop its parent use to toggle the menu, I would remove the "dummy" back button rendered by the Skeleton, these views should be minimal and should not rely on props that don't directly contribute to the purpose of the skeleton.
Once the "dummy" back button is removed from the Skeleton, I would make sure the the main back button which in this case is the PressableWithoutFeedback rendered by the HeaderView would be remain rendering regardless of whether the screen is loading or not, it should not care about the status.
Providing this experience to our users:

Benefits:

Maintain one header back button (expanding the dummy back button would make this piece less maintainable on the other hand)
Better user experience
Consistency

What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011f4f88a011c86571

@thesahindia PR https://github.com/Expensify/App/pull/32592 ready for review! 🚀

I think there's been an issue with melvin not changing the title of the issue to [HOLD for payment {date}] 3 days ago when the fix was deployed to production as per https://github.com/Expensify/App/pull/32592#issuecomment-1856053455

Ah I see. Okay, this should have been [HOLD for payment 2023-12-21]. @ikevin127 and @thesahindia I will get this paid, but it will have to be post Christmas.

cc @twisterdotcom

Payment Summary:

@thesahindia to be paid $500 here (Contributor+)
@ikevin127 to be paid $500 here (Contributor)

$500 payment approved for @thesahindia based on comment above.

I think we can close this right?


"Disable GameDVR" tweak causes Color Management to not get applied in Exclusive Fullscreen

Describe the bug
Disabling GameDVR basically makes ICC Profiles or any Color Management done through Windows to not get applied while in Exclusive Fullscreen in games.
This can be kind of confusing with some games because when you start them it seems to get applied but if you alt tab and go inside the game again it doesn't.
To Reproduce

Have some kind of Color Management applied through Windows (Different Brightness or Gamma is more noticeable)
Disable GameDVR
Open a Game
Switch between window/borderless window and fullscreen modes
Compare

Note: Alt+Tab also works but comparison its easier by switching display modes
Expected behavior
I won't say that disabling GameDVR should keep the colors applied while in Fullscreen (since I think it may be something with the way GameDVR does what it does), but I'm reporting it in case someone goes through the same pain of trying to troubleshoot why is it happening after using Winutil and not knowing that GameDVR is the cause.
For Winutil I would just say to add a note that it may cause this, or if it's just one of the registry keys that causes it to not change it if possible.

I can try it yeah, but I will only be able to notice the color problem

Restoring "GameDVR_DXGIHonorFSEWindowsCompatible" to its original value after the tweak is applied seems to fix the color management issue, but I believe I cannot test if it causes more problems when trying to open overlays
I tested with Counter Strike 2 (with and without vulkan just in case) and Rocket League. I think this is worth saying since there is "GameDVR_HonorUserFSEBehaviorMode" which has a really close name? though it may be for something completely different
Something I missed to note in the original issue, is that this doesn't apply to just color management but it also affects to how quickly alt+tab and changing display modes switch, which is really noticeable by me switching from borderless to exclusive fullscreen in Rocket League

So what solves the alt+tab issue?

Sorry, I didn't make it really that clear. Both the alt+tab and Color Management problems are fixed with "GameDVR_DXGIHonorFSEWindowsCompatible" set to 0.
While setting "GameDVR_DXGIHonorFSEWindowsCompatible" to 0, fullscreen has the correct colors and the alt+tab speed is normal, it is possible to break it again just by going to each game and in its compatibility tab simply "disabling fullscreen optimizations" there.
So:

DXGIHonor Registry Key = 0 & Disable Fullscreen Optimizations (per program) = Unticked | Colors and alt+tab are fine
DXGIHonor Registry Key = 1 & Disable Fullscreen Optimizations (per program) = Unticked | Colors and alt+tab are broken
DXGIHonor Registry Key = 0 & Disable Fullscreen Optimizations (per program) = Ticked | Colors and alt+tab are broken

I also saw that last table but I don't know if another combination of registry keys would change anything for the better, so I didn't test further

No, that doesn't give any issues. In fact I think I was already trying with "AllowGameDVR" set to 0.
I did play some games recently and didn't have any issues having it set up like this image:

I close this now, since the fix made for it in #1934 was merged in


mvn package error

moquette/broker/src/test/java/io/moquette/server/ServerIntegrationDBAuthenticatorTest.java:[51,79] cannot find symbol
[ERROR] symbol:   method prepareTestPropeties()
[ERROR] location: class io.moquette.server.IntegrationUtils
[ERROR] -> [Help 1]
affectedy by CRLF.

fix by https://github.com/andsel/moquette/pull/179 but ssl test certificate failed in other test cause it was expired :(


Add German Translation by GeneralMine

Adding my German translation

Been neglecting this project a bit so it's taken a while to respond but thank you for the translation! ❤


I can't install the MSIX WDAC Wizard on my Win 10 Laptop

I downloaded the WDAC MSIX file but it does not run on my laptop - asking for a program to choose from - which gives me a list of all browsers and notepad
What do I need to do to install the software on my laptop

@Obhiao1997 what version of Windows are you running? There are some per-version considerations for MSIX on Win10.
See https://learn.microsoft.com/en-us/windows/msix/app-installer/install-update-app-installer and https://learn.microsoft.com/en-us/windows/msix/app-installer/troubleshoot-appinstaller-issues

Hi please see
Windows 10 22H2
Feature Pack
1000.19060.1000.0
OS build 19045.5131
Cheers!
Amrit
On Mon, 2 Dec 2024 at 23:01, Jordan Geurten @.***>
wrote:

@Obhiao1997 https://github.com/Obhiao1997 what version of Windows are
you running? There are some per-version considerations for MSIX on Win10.
See
https://learn.microsoft.com/en-us/windows/msix/app-installer/install-update-app-installer
and
https://learn.microsoft.com/en-us/windows/msix/app-installer/troubleshoot-appinstaller-issues
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/WDAC-Toolkit/issues/426#issuecomment-2513157427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJLQI6ZPTRWPCDIWVKPQ64D2DTRFRAVCNFSM6AAAAABS4NYVAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJTGE2TONBSG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Did you follow the troubleshooting steps:
https://learn.microsoft.com/en-us/windows/msix/app-installer/install-update-app-installer
and
https://learn.microsoft.com/en-us/windows/msix/app-installer/troubleshoot-appinstaller-issues


addon-resizer: migrated to kubernetes client in version 1.3

cc @mwielgus @Q-Lee

LGTM.
Please reference issue with the problem that this PR fixes.
Before merging please squash.

I'm not squashing commits because it would help to better understand historical changes in the future.

related issue https://github.com/kubernetes/kubernetes/issues/27178

LGTM, and I agree w/not squashing.


Wordpress 5.9 not working properly

The plugin install just fine, but the text can not be seen from website page. The engine works fine. The only text to be seen is the calendar. Unfortunately can not be used in the website.

Thank you very much Thailyson, but I don't use omnibees anymore. I just change this month from Omnibees to Hsystem.
I really appreciate your effort and hope others can use it.
Sincerely,
Fulvio
Em quinta-feira, 16 de junho de 2022 05:53:24 BRT, Thallyson dias @.***> escreveu:
Closed #1 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


⚠ GitLab Server has degraded performance

In 325a5d9, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9113 ms

Resolved: GitLab Server performance has improved in 142b3df.


t_max = 32

Hello,
In the A3C paper they state t_max = 5, is there any reason you set it to 32?
Actually I don't really understand why the batch size should be so small, why shouldn't we use traditional batch sizes of 128 or more frames, shouldn't this make learning stronger?

I used a larger batch size (128) in my a3c implementation instead of 5 and it works quite well. I don't think there is any reason the batch size should be small.

I don't understand how the batch can be large and t-max small?  You need to accumulate frames during t-max steps before doing a backprop right?

In one backprop you can accumulate more frames from different simulators, but each simulator still only produces a 5-step temporal difference every time. Having a larger batch size should theoretically stabilize training.

Ah!  Agreed. So like we should share a common replay memory to all threads and we recompute forward before large batch update?

The forward part doesn't really need to be recomputed. A delay in the target value is acceptable, similar to the idea of target network in DQN.

How can you run the project normally? I tried to run it but come out an error #12 . @ppwwyyxx @etienne87


chore: depcheck and missing deps - doorway uic

This PR addresses #(insert-number-here)

[ ] Addresses the issue in full
[ ] Addresses only certain aspects of the issue

Description
Please include a summary of the change and which issue(s) is addressed.
How Can This Be Tested/Reviewed?
Provide instructions so we can review, including any needed configuration, and the test cases that need to be QAd.
Author Checklist:

[ ] Added QA notes to the issue with applicable URLs
[ ] Reviewed in a desktop view
[ ] Reviewed in a mobile view
[ ] Reviewed considering accessibility
[ ] Added tests covering the changes
[ ] Made corresponding changes to the documentation
[ ] Ran yarn generate:client and/or created a migration when required

Review Process:

Read and understand the issue
Ensure the author has added QA notes
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

@emilyjablonski Nice! Were you ready for a review/approval on this?

@jaredcwhite should be ready now!


Make failed: gmock/gmock h: There is no such file or directory. How to solve it

The third party lib googletest is the dependency for it, just install this lib.


Duplicated requests

Hello! I was trying to make a multithreaded scrape using colly, but when I use multithreading via colly.Async(true)  or just using a multithreaded queue, it seems that some requests are made twice:
This is my sample code:
package main

import (
	"fmt"
	"regexp"
	"strconv"

	"github.com/gocolly/colly"
	"github.com/gocolly/colly/debug"
	"github.com/gocolly/colly/extensions"
	"github.com/gocolly/colly/queue"
	"github.com/murphy214/mercantile"
)

var re_coords = regexp.MustCompile(`(?i)\/(\d+)\/(\d+)\/(\d+)`)

func main() {
	// Instantiate default collector
	c := colly.NewCollector(
		colly.Async(false),	// Async produces duplicated requests and I can't fix that...
		colly.IgnoreRobotsTxt(),
		colly.AllowURLRevisit(),
		colly.Debugger(&debug.LogDebugger{}),
	)
	c.DisableCookies()
	c.CheckHead = false
	extensions.RandomUserAgent(c)

	// create a request queue with 2 consumer threads
	q, _ := queue.New(
		2, // Number of consumer threads, dup requests too :(
		&queue.InMemoryQueueStorage{MaxSize: 10000}, // Use default queue storage
	)

	onFoundTile := func(r *colly.Response) {
		m := re_coords.FindStringSubmatch(r.Request.URL.String())

		z, _ := strconv.Atoi(m[1])
		x, _ := strconv.ParseFloat(m[2], 64)
		y, _ := strconv.ParseFloat(m[3], 64)

		if z == 21 {
			fmt.Println(x, y, z)
			return
		}
		//fmt.Println(x, y, z)

		tile := mercantile.Tile(x, y, z)

		fmt.Println("FROM", tile, "SPAWN:", mercantile.Children(tile))

		for _, child := range mercantile.Children(tile) {
			u := fmt.Sprintf("https://en.wikipedia.org/w/index.php?search=/%d/%d/%d", child.Z, child.X, child.Y)
			q.AddURL(u)
		}
	}

	c.OnResponse(onFoundTile)

	// Start scraping
	q.AddURL("https://en.wikipedia.org/w/index.php?search=/0/0/0")
	q.Run(c)
}

This is the output with the debugger enabled:
bash-5.2$ go run .
[000001] 1 [     2 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/0/0/0"] (248.978µs)
[000002] 1 [     2 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/0/0/0&ns0=1"] (1.038801352s)
FROM {0 0 0} SPAWN: [{0 0 1} {1 0 1} {1 1 1} {0 1 1}]
[000003] 1 [     2 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/0/0/0&ns0=1"] (1.039117837s)
[000004] 1 [     4 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/1/0/0"] (1.03917674s)
[000005] 1 [     4 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/1/0/0&ns0=1"] (2.369579321s)
FROM {1 1 1} SPAWN: [{2 2 2} {3 2 2} {3 3 2} {2 3 2}]
[000006] 1 [     4 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/1/0/0&ns0=1"] (2.369748713s)
[000007] 1 [     6 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/1/1/0"] (2.369826939s)
[000008] 1 [     6 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/1/1/0&ns0=1"] (3.567973552s)
FROM {1 1 1} SPAWN: [{2 2 2} {3 2 2} {3 3 2} {2 3 2}]
[000009] 1 [     6 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/1/1/0&ns0=1"] (3.568093144s)
[000010] 1 [     8 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/1/1/1"] (3.568136682s)
[000011] 1 [     8 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/1/1/1&ns0=1"] (5.127595673s)
FROM {1 0 1} SPAWN: [{2 0 2} {3 0 2} {3 1 2} {2 1 2}]
[000012] 1 [     8 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/1/1/1&ns0=1"] (5.127738737s)
[000013] 1 [    10 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/1/0/1"] (5.127805303s)
[000014] 1 [    10 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/1/0/1&ns0=1"] (6.346404128s)
FROM {1 0 1} SPAWN: [{2 0 2} {3 0 2} {3 1 2} {2 1 2}]
[000015] 1 [    10 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/1/0/1&ns0=1"] (6.346506433s)
[000016] 1 [    12 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/2"] (6.346556819s)
[000017] 1 [    12 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/2&ns0=1"] (7.835406683s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000018] 1 [    12 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/2&ns0=1"] (7.835543228s)
[000019] 1 [    14 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/2"] (7.835605658s)
[000020] 1 [    14 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/2&ns0=1"] (9.333183439s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000021] 1 [    14 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/2&ns0=1"] (9.333338192s)
[000022] 1 [    16 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/3"] (9.333412892s)
[000023] 1 [    16 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/3&ns0=1"] (10.719098791s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000024] 1 [    16 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/3&ns0=1"] (10.719450195s)
[000025] 1 [    18 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/3"] (10.719502987s)
[000026] 1 [    18 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/3&ns0=1"] (12.190425079s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000027] 1 [    18 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/3&ns0=1"] (12.190532832s)
[000028] 1 [    20 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/2"] (12.190580473s)
[000029] 1 [    20 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/2&ns0=1"] (13.764265698s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000030] 1 [    20 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/2&ns0=1"] (13.764370816s)
[000031] 1 [    22 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/2"] (13.764428183s)
[000032] 1 [    22 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/2&ns0=1"] (15.254245104s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000033] 1 [    22 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/2&ns0=1"] (15.255102837s)
[000034] 1 [    24 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/3"] (15.255189969s)
[000035] 1 [    24 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/3&ns0=1"] (16.670769989s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000036] 1 [    24 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/3&ns0=1"] (16.670870665s)
[000037] 1 [    26 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/3"] (16.670917293s)
[000038] 1 [    26 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/3&ns0=1"] (18.180354036s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000039] 1 [    26 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/3&ns0=1"] (18.180457541s)
[000040] 1 [    28 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/0"] (18.180514146s)
[000041] 1 [    28 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/0&ns0=1"] (19.351266528s)
FROM {2 2 2} SPAWN: [{4 4 3} {5 4 3} {5 5 3} {4 5 3}]
[000042] 1 [    28 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/0&ns0=1"] (19.351414865s)
[000043] 1 [    30 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/0"] (19.351472622s)
[000044] 1 [    30 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/0&ns0=1"] (20.836697626s)
FROM {2 2 2} SPAWN: [{4 4 3} {5 4 3} {5 5 3} {4 5 3}]
[000045] 1 [    30 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/0&ns0=1"] (20.836786042s)
[000046] 1 [    32 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/1"] (20.836823666s)
[000047] 1 [    32 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/1&ns0=1"] (22.42041062s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000048] 1 [    32 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/1&ns0=1"] (22.420514367s)
[000049] 1 [    34 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/1"] (22.420569615s)
[000050] 1 [    34 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/1&ns0=1"] (24.039013611s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000051] 1 [    34 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/1&ns0=1"] (24.039141096s)
[000052] 1 [    36 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/0"] (24.039183443s)
[000053] 1 [    36 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/2/0&ns0=1"] (25.278139548s)
FROM {2 2 2} SPAWN: [{4 4 3} {5 4 3} {5 5 3} {4 5 3}]
[000054] 1 [    36 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/0&ns0=1"] (25.278265346s)
[000055] 1 [    38 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/0"] (25.278322656s)
[000056] 1 [    38 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/0&ns0=1"] (26.56991091s)
FROM {2 2 2} SPAWN: [{4 4 3} {5 4 3} {5 5 3} {4 5 3}]
[000057] 1 [    38 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/0&ns0=1"] (26.570025865s)
[000058] 1 [    40 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/1"] (26.570080898s)
[000059] 1 [    40 - response] map["status":"OK" "url":"https://en.wikipedia.org/w/index.php?search=/2/3/1&ns0=1"] (28.175132895s)
FROM {2 1 2} SPAWN: [{4 2 3} {5 2 3} {5 3 3} {4 3 3}]
[000060] 1 [    40 - scraped] map["url":"https://en.wikipedia.org/w/index.php?search=/2/3/1&ns0=1"] (28.175241695s)
[000061] 1 [    42 - request] map["url":"https://en.wikipedia.org/w/index.php?search=/2/2/1"] (28.175306331s)
^Csignal: interrupt
bash-5.2$

Notice the double requests [000022] and [000034]?
I think this might be a bug of some sort, I'm investigating it but I can't seem to find nothing strage in colly's code.
Edit: Sample code did not represent enough the real code for this issue

It was a logic mistake introduced in my code concerning the conversion of the coordinate with the mercantile library. I close this because there is no issue with colly.


--dir bug

Prerequisites

[x] Can you reproduce the problem?
[x] Are you running the latest version?
[x] Did you perform a cursory search?

Description
--dir flag doesn't work with commands with shell scripts
Steps to Reproduce

Unpack the attachment
Execute
./commander test tests/test.yaml
Expected behavior: the test should pass
Actual behavior: the test passed
Execute
./commander test --dir tests/
Expected behavior: the test should pass
Actual behavior:

Starting test against directory: tests/...

panic: yaml: unmarshal errors:
  line 3: cannot unmarshal !!str `echo "H...` into struct { Tests map[string]suite.YAMLTest "yaml:\"tests\""; Config suite.YAMLTestConfigConf "yaml:\"config\""; Nodes map[string]suite.YAMLNodeConf "yaml:\"nodes\"" }

goroutine 18 [running]:
github.com/SimonBaeumer/commander/pkg/suite.ParseYAML(0xc00032e000, 0x1a, 0x21a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/travis/gopath/src/github.com/SimonBaeumer/commander/pkg/suite/yaml_suite.go:57 +0x2cc
github.com/SimonBaeumer/commander/pkg/app.testFile(0xc0000260c0, 0xd, 0x0, 0x0, 0xd, 0x0, 0x0)
	/home/travis/gopath/src/github.com/SimonBaeumer/commander/pkg/app/test_command.go:102 +0xa7
github.com/SimonBaeumer/commander/pkg/app.testDir.func1(0xc0002e0c00, 0xc000215fc0, 0x2, 0x2, 0x7ffeefbff97f, 0x6, 0xc000080960)
	/home/travis/gopath/src/github.com/SimonBaeumer/commander/pkg/app/test_command.go:75 +0x19b
created by github.com/SimonBaeumer/commander/pkg/app.testDir
	/home/travis/gopath/src/github.com/SimonBaeumer/commander/pkg/app/test_command.go:67 +0x182

dir-bug.zip
Specifications

Version: 2.1.0
Platform: Darwin
Subsystem: ?

Hey @billychow68, good timing on this.
Currently if you have non test suite files (in your case .sh) in the same directory that you're testing, commander will panic. If you remove the shell script and change your pathing it will work. I think we have two options:

Simply display a better error describing that you many not have non test-suite files in the dir you are testing.
Skip over files that are not valid suite files. So currently skip everything except yaml. Now this leads to some other issues, let's say we have a k8s config in our dir. In this case a warning may be nice displaying Warn: invalid yaml config <filename>

Thank you again, if you have any thoughts please share them.

Thanks @dylanhitt for the quick response. In my case, I think as the number of test suites and shell scripts increases it makes sense to organize them better by separating them. I've tried the following structures and both worked perfectly!
$ tree
.
├── commander
├── run.sh
└── tests
    ├── scripts
    │   └── test.sh
    └── test.yaml

$ tree
.
├── commander
├── run.sh
├── scripts
│   └── test.sh
└── tests
    └── test.yaml

Can we improve something, i.e. documentation to the test help message or can it be closed?

Hey @SimonBaeumer,
I thought about this more. After #121 is closed I'll make a PR for the desired long term fix. I realized today that in order validate the entire dir commander must loop over all objects in the dir and verify them before we start executing. I was debating on adding a Warnings to the output of the Summary of results for valid commander markup files as it would be nice to provide the user the flexibility of having whatever they wants in in their test dir. As well as notifying the user of possible invalid configs, this is a special case for dir as file will still display an error.
I will open a PR for the help message for now.

The documentation does not say too much about the actual limitations.
It is possible to store other files into the directory in which our test suites are located.
The limitation is that the current working directory (cwd) is always the location where commander was executed.
Atm commander does only work on pathes relative to the cwd of the commander process.
The solution imho is too provide a way for passing an asset directory or target dir where it can find the scripts to execute.
├── bin
│   └── test.exe
├── commander
├── scripts
│   └── random-script.sh
└── tests
    └── test01-commander.yaml

The test file would look something like this, that it is enforced to always provide the complete path, realtive to the commander execution:
tests:
    bin/test.exe:
       exit-code: ....
    scripts/random-script.sh:
       exit-code: ....

A solution would be to execute the scripts relative to the yaml file or proividing a config which allows to configure the base directory, i.e.
config:
   base-dir: bin
tests:
    test.exe:
       exit-code: ....
    random-script.sh:
       exit-code: ....
       config:
           base-dir: bin

Additionally a template variable like {{ .yaml-dir }} allows to set the directory relative to the path of the test file.
This would make the execution of the suites independent of the commander process.
Thoughts on this approach @dylanhitt?

It is possible to store other files into the directory in which our test suites are located.
Currently when executing with --dir any file that is not a valid config throws this error. I opened #131 to address this issue. I opened PR #132 to address this issue for the short term.

In regards to providing a config for users to configure their asset directories I personally like the config route essentially the prototype you provided. I personally like that is more explicit and would provide plenty of flexibility for both relative and absolute pathing.
We may want to open another issue to address providing asset/base dir configs.

Currently when executing with --dir any file that is not a valid config throws this error. I opened #131 to address this issue. I opened PR #132 to address this issue for the short term.

Where does this happen? I tried it yesterday and did not get any error if I store other files into the directory tree.

@billychow68 provided a pretty nice zip file for this. I think you're storing files into a subdir which will currently be skipped. Take a look at this line. To summarize if you're testing a directory with any invalid file extension or invalid config in the same directory being tested we currently just panic. My thoughts on how to handle this issue are expressed in #131, as we need to validate the entire dir before exec. To see exactly what I mean pull down the zip file and give it a shot with v2.1.0
Let me know if you'd like any more info. I think a lot of the confusion is that we are addressing multiple different concerns in this thread.

 I did store my scripts inside in a sub-directory, makes sense!
Commented on #131

I think this can be closed now

Closing, the shorting comings of --dir will be addressed in #131 and the shortcomings of calling additional assets in #136.


feat(component/button): allows button to overwrite its component base

Description
Adds a generic RenderAs component which allows for an as={} prop.
I have implemented this on the Button component but we can extend this further to other components.
I have left the href prop as is for now to avoid any breaking changes. However we could remove this as using as={"a"} achieves the same result
Fixes https://github.com/themesberg/flowbite-react/issues/655
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change contains documentation update

Breaking changes
Please document the breaking changes if suitable.
How Has This Been Tested?
TODO add unit tests
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

@rluders @tulup-conner Any thoughts/suggestions on this implementation?

Any idea on when this could be merged? Or is there anything I can help with to move this forward?

Any idea on when this could be merged? Or is there anything I can help with to move this forward?
@rluders

It needs to be rebased and a little bit more of work. I think that the changes weren’t made yet. So, if you or anyone is interested in co-authoring this, go ahead.

Yeah, we need this to be rebased git fetch upstream main && git rebase -i upstream/main at a minimum. The Button component changes are complex. There's also a lot of unfinished TypeScript in here that needs to be properly buttoned up. For example, we're not going to merge changes with casts to any and never - those need to be looked into.
If all we want is to change <button> to be able to be any other HTML element, I think we've overdone it a bit here. There are other components that support this, and we should follow their precedent. For example, https://github.com/themesberg/flowbite-react/blob/main/src/components/Sidebar/SidebarItem.tsx#L83

Fixed in recent PR's.


Is not correctly displayed on High Sierra

Hi, the window on High Sierra is not correctly displayed.
Please fix.
Thank you.

Sorry, I am not actively developing this project anymore. There are better ways to make custom windows on modern macOS (check https://github.com/insidegui/WWDC/blob/master/WWDC/WWDCWindow.swift for an example).
I would happily accept a PR if anyone is interested in making one.

I already solved this problem. Thank you
I already solved this problem. Thank you
If someone needs:

replace
self.leatherWindow.titleColor = [NSColor  whiteColor];
to
self.leatherWindow.titleColor = [NSColor  colorWithCalibratedWhite:1.0 alpha:1.0];
in IB check "Hide title"

Awesome! That looks great. Thanks for sharing.


United not a keyword

"United" is always filtered out, it is a very common word used in Country or Organization names

Found this list: https://www.learnthat.org/word_lists/view/1292. Look like stemmer should take these as original keywords?

This is unfortunately a problem with POS-tagging, in pos-js.


Discord Manager Performance Improvements

Reduces delay between API calls
Adds debugging information (e.g. a progress bar)
Refactors current roles to one API call per user, rather than one API call per method (3x per user)
Avoids loading all users into memory as models, instead we now load them in to an array of IDs and hydrate the account one at a time on each cycle of the foreach

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


Allow for header parameters to be objects

Currently, Swagger 2.0 specifies a header parameter " is limited to simple types (that is, not an object)". Please allow header parameters to be of object type.

The simple types being allowed are those that have a simple string representation (without needing quotes or similar), and arrays of such have some ways of formatting (see collectionFormat).
How would such an object be represented? Simply one line of JSON?

Preferably, the way it is specified for a body parameter, ie, to have a schema field.

I just found that there currently is an Internet draft discussed in the HTTP working group. This basically defines a format to transport JSON arrays (while omitting the brackets) in HTTP headers.
I guess this could work for custom headers with OpenAPI schema definitions for them.

FYI we have accepted the change to allow schemas for all payloads, please see https://github.com/OAI/OpenAPI-Specification/pull/654

(RFC only applies to newly created headers, as in the format for the header must already be defined as one that is a json representation, interesting consequence for yaml and other non json body media types)

@fehguy But as I understand, there is not yet a definition which says how to serialize a JSON object/array/... into a header. My proposal was to adopt the one from the RFC, when it is done.
@wparad yes, this only applies to new headers ... I was mainly thinking about custom headers defined by an API (which would fit "newly created headers"), or new standard headers which refer to that RFC (after it is published), and then need to be described in an API definition.
This doesn't solve describing existing headers, for them we need a different solution.

@ePaul sure, but let's put that on the appropriate ticket.  This one is requesting that header parameters can be objects, which is accepted.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit bdcf778:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieSourceFolder/TOC.yml
:white_check_mark:Succeeded

archvieSourceFolder/content/someContent.md
:white_check_mark:Succeeded

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


Verifier doesn't verify unions

Verifier doesn't seem to check union bounds, thus resulting in a panic when unwrapping unsupported type.

Could you provide a schema and the buffer which could cause the panic?

Unfortunately, I can't provide the exact schema, but the following can show what happened:

create a schema with a verifier:

table A {
}

union U {
  A
}

table Container {
  a:A;
}

extend the schema:

table A {
}

table B {
}

union U {
  A,
  B
}

table Container {
  a:A;
}

process a buffer containing B wrapped in a Container - the verification will pass


Tag 0.7.0 with schemafy command line tool available.

Work was done to create a command line tool but it isn't possible to install this because the most recent version on crates.io is 0.6.0. Tag and publish, please. And/or make the schemafy bin part of the default build. :)

Hi @Marwes, would it be possible to address this? I'd like to be able to use this for a new project.


Dashboard: TotalBytesReceived and TotalBytesSent not working

Hi!
I experienced that the display of "TotalBytesReceived" and "TotalBytesSent" in grafana are showing: "No data".
Used Fritzbox: 7590 V7.21
A query directly via influx-CLI with
select "TotalBytesReceived64" from "FritzBox"
gives me values.
(after correcting a typo in JSON  "TotalBytesReceved64" (missing letter "i")
Any suggestions?

Hi,
there is already a Pull request (since oct. 2020): https://github.com/Schmidsfeld/TelegrafFritzBox/pulls
Cheers,
FFNB


Progress indicator

When running elvis for the first time on a large project, it might take a while. It would be nice to have some (optional) progress indicator to know elvis hasn't left the building.

Likely requires implementing #382


Filter items in a normalized array

match-sorter version: 2.3.0
node version: v9.4.0
npm (or yarn) version: 6.4.1

Relevant code or config
const adults = [
  { name: "Jim", house: "house-uuid-one", children: ["children-uuid-one", children-uuid-two"], uuid: "adult-uuid" },
  { name: "Yin", house: "house-uuid-two", children: [], uuid: "adult-uuid-two" }
];
const normalizedHouses = {
  "house-uuid-one": { address: "Some Street", uuid: "house-uuid-one" },
  "hourse-uuid-two": { address: "Simba Ave", uuid: "house-uuid-two"
};
const normalizedChildren = { "children-uuid-one": { age: 2, name: "John", uuid: "children-uuid-one" }, "children-uuid-two": { age: 8, name: "Jenna", uuid: "children-uuid-two" } };

What you did:
I would like to use match sorter with normalized arrays.
What happened:
I couldn't figure out how to use matchSorter with normalized arrays.
Problem description:
I tried it like this:
matchSorter(adults, "o", {
  keys: [
    "name",
    item => normalizedHouses[item.house].name,
    item => item.children.map(child =>  normalizedChildren[child]).name
  ]
})

Suggested solution:
Let the array be transformed:
matchSorter(items, "o", { keys: ["name", "house", "children"], trafo: .map(<someTransformation>) })

So that the initial array stays the same, but the trafo gets applied during the filtering.

Sorry, I'm not 100% certain I understand the need, and I'm guessing this is no longer needed as it's been a long time 😬 Sorry!


[BUG] menu items links in navigation bar are incorrect

Describe the bug
When baseURL = 'https://user.github.io/subfolder/' menu items links in navigation bar are incorrect
For example, these are
http://localhost:1313/subfolder/subfolder/en/apps/
http://localhost:1313/subfolder/subfolder/en/news/

instead of
http://localhost:1313/subfolder/en/apps/
http://localhost:1313/subfolder/en/news/

If I change line 24 in site/layouts/partials/assets/navbar-item.html from
24    {{- $menuURL := urls.JoinPath $baseURL ((or $menu.PageRef $menu.URL) | relLangURL) -}}

to
24    {{- $menuURL := or $menu.PageRef $menu.URL | relLangURL -}}

navbar works as expected with or without subfolder in baseURL
Screenshots
navigation bar

Host environment

Hinode version: [e.g. v0.24.0]
Host OS: [e.g. Ubuntu 22.04]
Node version: -
Browser: Brave (arm64)

Hugo environment
$ hugo env
hugo v0.126.3-44f1edcb0647cdd6c59ba07530cec156f6622a77+extended linux/arm64 BuildDate=2024-06-02T13:02:43Z VendorInfo=snap:0.126.3
GOOS="linux"
GOARCH="arm64"
GOVERSION="go1.22.3"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.3.2"
github.com/sass/dart-sass/protocol="2.7.1"
github.com/sass/dart-sass/compiler="1.77.4"
github.com/sass/dart-sass/implementation="1.77.4"

To understand the issue a bit better, could you share the configuration of your menu?
Just to double check, the menu items should not include the deployment folder. The following example is taken from the example site:
[[main]]
  name = "Projects"
  pageRef = "/projects/"
  weight = 30

[[main]]
  name = "Sample project"
  pageRef = "/projects/sample-project/"
  parent = "Projects"
  weight = 1

In menu.en.tomle I had
[[main]]
  name = "Apps"
  pageRef = "apps/"
  weight = 20

[[main]]
  name = "News"
  pageRef = "news/"
  weight = 30

I found that pageRef MUST have leading slash "/". With this fix
[[main]]
  name = "Apps"
  pageRef = "/apps/"
  weight = 20

[[main]]
  name = "News"
  pageRef = "/news/"
  weight = 30

menu items work fine
Thank you!


[Feature]: add semantic FPN for panoptic segmentation

This PR continues on PR https://github.com/open-mmlab/mmdetection/pull/953.
It refactors the semantic head and adds semantic FPN for panoptic segmentation. The semantic FPN is used as a decoder in the semantic segmentation head. The FusedSemanticHead for HTC is refactored and inherits from the new SemanticHead. Thus, it can also be used for panoptic segmentation while providing semantic features in HTC and SCNet.
The BC-breaking of names of convolutional layers in the semantic head is handled by _load_from_state_dict. Therefore, the old models can still be successfully loaded for inference and the new models will have different key names in the semantic heads.

Hi, @ZwwWayne
How is this PR going?


fix: call env.stop() on finish

Signed-off-by: Ruihang Xia<EMAIL_ADDRESS>Changes Included
I forgot to call stop() on one env run finished. It may leave the started test target running and fail the next run. This patch fixes it.

Done


The 'Light(default)' theme is always selected in the Theme menu after selecting other themes on Linux

Storage Explorer Version: 1.17.0
Build Number: 20201216.1
Branch: main
Platform/OS:  Linux Ubuntu 16.04
Architecture: ia32/x64
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer.
Click 'View' menu -> Click ‘Theme' -> Click 'Dark'.
Open the Theme menu again.
Check whether the current theme is selected in the Theme menu.

Expected Experience
The current theme is selected in the Theme menu.
Actual Experience

The current theme isn't selected in the Theme menu.
The 'Light(defalut)' theme is always selected.

Additional Context

This issue also reproduces after selecting 'High Contrast-Black and 'High Contrast -White'.
This issue doesn't reproduce on Windows & Mac.

I tried it on my own Ubuntu 18.04 and it does check the correct theme. There is probably a bug in Electron for that OS version.

I tried it on my own Ubuntu 18.04 and it does check the correct theme. There is probably a bug in Electron for that OS version.

Issue specific to Ubuntu 16. We are unable to fix. Closing.

Issue specific to Ubuntu 16. We are unable to fix. Closing.


Implement /test to do dry-run or send to alternate email address

As discussed in IRC today:
17:08:04    nasamuffin_ | I'm trying to figure out whether it makes sense to target the tutorial to using dscho's gitgitgadget & was curious whether there's a way to have it send
                        | the mails to alternate email
17:08:41       jrnieder | nasamuffin_: interesting. Even outside the tutorial context, sounds useful as a sort of "dry run"
17:08:50        __rohit | nasamuffin_: Yes, a tutorial on gitgitgadget will benefit the beginners
17:09:22          dscho | jrnieder exciting news about trace2! Do you think you will be able to share some of your findings in the future?
17:09:40          dscho | Welcome, nasamuffin_!
17:09:44        __rohit | although current "documentation" of gitgit is good enough
17:10:07          dscho | Regarding alternate email: GitGitGadget is all open source ;-)
17:10:13       jrnieder | dscho: yep! I was happy to see the stats jobriggs described in Git Merge, would love to see more people report that kind of thing more regularly
17:10:16    nasamuffin_ | it seems straightforward to use, but i don't want newbies spamming the list with a toy patch
17:10:18         rafasc | On the topic of helping beginners, I have recently discovered https://git-send-email.io/. (I am not related to the project in any shape or form)
17:10:25    nasamuffin_ | dscho: i'll learn typescript and figure it out :P
17:10:49          dscho | __rohit: please do open PRs to improve the documentation as you see fit.
17:11:11          dscho | nasamuffin_ I often hang out in this here channel, and try to do my best to answer questions ;-)
17:11:20  jonathantanmy | For me, more protocol v2 bug fixes and a small partial clone improvement (batch blobs fetched for diff/show). Also worked on some CDN offloading patches
                        | for JGit, but I don't know when that will see production.
17:12:20          dscho | rafasc is that site really just accumulating links to real documentation?
17:12:41        __rohit | dscho: I will.
17:12:49       jrnieder | jonathantanmy: you're burying the lede. ;-) Interested reviewers can look at the series ending at https://git.eclipse.org/r/c/139993
17:12:50          dscho | nasamuffin_ right, I think a `/test` command would be useful, which should send the series to yourself only.
17:13:30          dscho | nasamuffin_ for that, we would need the information for each allowed user what their desired email address is (we should have that information anyway,
17:13:30          dscho | nasamuffin_ for that, we would need the information for each allowed user what their desired email address is (we should have that information anyway,
                        | to Cc: the cover letter to that address).
17:13:52          dscho | nasamuffin_ so it looks like a slightly bigger than micro-project, but totally doable (and killing two birds with the same stone).

There seems to be a use case for a /test or similar which performs a dry-run of the mail patches to a submitter-provided email for inspection before heading to the broader list..

How about /preview for the command name? /test implies something else to me.
Possible implementation:

ci-helper::handleComment would pass the email to gitgitGadget::submit
submit would add it to the smtpOptions if passed
send-mail::sendMail would override the 'to' and not add the 'cc' if the smtpOptions had the destination override.

I don't think using ISMTPOptions is really a hack since it does have mailing related information.  Another approach would be to just pass another parm on the call to send-mail::parseHeadersAndSendMail and sendMail.  Not a big fan of this method since more functions have to be updated for an infrequently (?) used feature.
Open to other suggestions of course.

How about /preview for the command name? /test implies something else to me.

Or even /send <email>? Of course, we would only accept this command from a registered user.

Possible implementation:
1. ci-helper::handleComment would pass the email to gitgitGadget::submit

2. submit would add it to the smtpOptions if passed

3. send-mail::sendMail would override the 'to' and not add the 'cc' if the smtpOptions had the destination override.

[...]
Forgot about patch-series::generateAndSend updating notes, etc. A new option similar to dryRun could be used.

That sounds very good!
I think we might also need to disable the check whether the current commits have been submitted already...

PR #125 has been opened.  I chose to stay with /preview as the comment/command.  I did not implement the option to provide an email address (while it is a controlled group, it still could allow for sending unwanted emails). The requester can forward the emails.  The check on already submitted was put in.
Added a flag to indicate no update where dryRun was previously used.  dryRun is still used for some things.  The user of dryRun now also sets noUpdate.
Tested using ethereal.email.  That requires some config support that I will submit in a separate PR - not ethereal specific but to allow for alternate mail servers for testing.

Thank you! Should we close this ticket, and continue the discussion in the PR?

Closed via #125


wrap code even if it has no language

Otherwise you'll occasionally get things like this :)

With patch it looks like this.

Looks good to me! Giving this a merge since it solves a specific problem w/ a specific solution :-)  thanks @alexmorley


Upgrade to proc macro

Houston, we have a conflict

fixed

looks good, give me a few days to merge


added the styling to the buttons in the review page

https://github.com/roannav/matrix-movies-website-hacktoberfest/assets/99736036/8f4a8687-ec3f-4d2e-9908-56f76f3b78bd
REVIEW AND MERGE IT UNDER HACKTOBERFEST2023

Dont merge responsivness commit to this issue ,i have to create another pull request for it

@all-contributors please add @sagarb2003  for ideas


Take user image as input while signup

Currently when user register we are not taking image as input so we cannot display it in the user profile section

I would Like to work on this.

@Tejas1510 By the way I have keep this in my mind then only I have implemented Profile Section. I have added the default attribute to profile image of user. So for user without profile image, I have shown below default image.

Ya that a good idea @sanjay270899
The entered image should be stored as base64 image

See I want that when user sign up take image as a input and display that image as the profile pic in his bio

Like in GitHub, we don't add profile pic when signing. There is an option to change profile after creating account.
So keeping this in mind, I have made Profile image as default. Because not everyone like to put their profile picture while creating account.
Though if want to add option while Sign Up, I can implement this.

So user can change his photo at run time when he updates his profile

@Tejas1510 Yes. There is an option to update or change Profile Image in edit mode.

Ok good
So i will close this issue


Drill doesn't do anything

When running the base drill stone, the pod produces the following output:
$ k logs drill-sample-tbdc7
+ cd

After fixing this bug, the end-to-end test should be improved, too.

thx for reporting, will take a look soon!


Implement main site layout

Changes

[x] Implement a basic top nav + sidebar layout
[x] Incorporate scaffold.css into the gulp pipeline
[x] Miscellaneous sass setup

Context
Closes #41.
Testing
Clone this branch, run the app, and look around.
Pre-merge checklist

[x] Build succeeds locally and in CI
[x] Proper documentation (N/A)
[x] Tests (N/A)
[x] Git history clean

Coverage remained the same at 36.364% when pulling 755ec254bf04d7cbb472ae3612d894cd63c3a34f on strburst-site-layout into e84e18a940b58c7efccdd4a49ff4d91e1d56a6a6 on master.


Rust project paho-mqtt-sys fails to compile on windows-2022, works on 2019

Description
A Rust project of mine used to be able to compile its dependency paho-mqtt-sys on windows-latest. Now I need to explicitly set windows-2019.
I reported the issue to the paho-mqtt-sys project here: https://github.com/eclipse/paho.mqtt.rust/issues/147
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
not public
Is it regression?
windows-2019
Expected behavior
[...]
   Compiling paho-mqtt-sys v0.6.0
   Compiling paho-mqtt v0.10.0

Actual behavior
[...]
error: failed to run custom build command for `paho-mqtt-sys v0.6.0`

Caused by:
  process didn't exit successfully: `D:\a\anon\anon\repo\target\release\build\paho-mqtt-sys-0350774f96c83411\build-script-build` (exit code: 101)
  --- stdout
  debug:Running the bundled build for Paho C
  debug:Building for Windows
  debug:Building with MSVC
  cargo:rerun-if-changed=build.rs

  --- stderr
  fatal: not a git repository (or any of the parent directories): .git
  thread 'main' panicked at '

  couldn't determine visual studio generator
  if VisualStudio is installed, however, consider running the appropriate vcvars script before building this crate
  ', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.45\src\lib.rs:797:25
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Process completed with exit code 1.

Repro steps

Add this dependency to a Rust project:

paho-mqtt = { version = "0.10.0", default-features = false, features = ["bundled"] }

Set up a workflow with runs-on: windows-latest
Add a compile step cargo build --target=i686-pc-windows-msvc --locked --release --manifest-path=anon\Cargo.toml

Hello @stefangalowicz,
We will take a look at it.
@alexcrichton,  Do you support Visual Studio 2022 on Windows Server 2022?

This is likely a bug with the cmake Rust crate, not with GitHub Actions. I suspect that version of Visual Studio isn't detected yet or something like that, but that's a Rust-cmake-crate problem rather than a GitHub Actions problem.

@alexcrichton thanks for pointing that out. Could this be the issue then https://github.com/alexcrichton/cmake-rs/blob/7793895d88acc45d29fac7c711ddaef11c897ea9/src/lib.rs#L610 ? I assume Vs17 must be added.

Thank you, @alexcrichton.
@stefangalowicz , I am planning to close this thread as an external issue.


Transparent navigation bar after adding movie

Describe the bug
After adding a movie the detail view clashes with the bottom nav bar. Seems like the bar is losing its background.
To Reproduce
Steps to reproduce the behavior:

Add a movie
Wait for the detail view to update
The tab bar is now transparent

Expected behavior
The tab bar should stay on top of the content
Screenshots / Video

Environment

iOS version: 18.1
Ruddar version: 1.3.1 (296)
Device: iPhone 15 Pro

Yeah, it's an iOS 18 bug. I don't know what to do about it.


List of Popular Domains

Heads up, here's a larger and more comprehensive list of popular domains released by Hubspot for the wiki.
See attached, sourced from https://knowledge.hubspot.com/forms/what-domains-are-blocked-when-using-the-forms-email-domains-to-block-feature
free-domains.csv.zip

Hey @justerhan. Thanks for sharing this! This library runs on the client, so having all those emails would prob make it extremely hard to be performance and efficient. I think this can prob be a separate NPM package to check disposibble emails. Already thinking to create one for https://github.com/zootools. What do u think?
In any case, this library is no longer maintained.
I rewrote it entirely and update it for 2022 and onward: https://github.com/ZooTools/email-spell-checker

💙 Written in TypeScript and removed jQuery
✅ Fixed a couple of bugs like this or this
🚀 Reduced bundle size to <2KB.
✨ Update TLDs (69+) and added modern startup domains (like .io, .so, .xyz or .dev)
🙏 Implemented suggestions that people made in this repo that were ignored.

Link: https://github.com/ZooTools/email-spell-checker
Come check it out and give it a ⭐ for the effort.


is there any chance you can help to implement the source code of this tinystores paper?

the content of this tinystories paper is promising. But lacking of the code stops me.  Any chance if you can help to implement some of the code at least as a starting point.
tks in advance

TinyStories, paper is not necessarily a code intensive paper. If you read the paper, the main focus was to limit GPT model with very low params and much importance was given to dataset. In this repository, the have shown a very basic way, how Huggingface models can be defined to a certain param and be used on TinyStories dataset.
There's much more, complicated methods to call a Large Language model both using third-party libraries as well as writing from scratch. What method to choose depends on you. Certainly, there're cool projects to be made but that was out-of-scope for this repository and my time.
What models and how to call them, depends entirely upon you as that's something a creative endeavor as well as research. Hope that answers your question.


[Accessibility] Typography font-size ignores accessibility settings

Issue: Typography font-size ignores accessibility settings. As a consequence, users with disabilities increasing the font-size may not be able to read the text.
Root cause: The Radix-Theme expresses font-size in px instead of rem.
I know the radix team cares a lot about accessibility, is there an alternative recommendation or is this simply a bug?

If you want to use rems throughout your UI, you can override the typographic and space tokens with their rem equivalents.
We are of course aware that rems have the benefit of responding to the browser text size settings, but that's not the only way to increase the font size in a browser. There's also no WCAG success criterion that mandates the use of specific units—using rems is one of the sufficient techniques, while making sure that your UI works with built-in browser zoom is an equivalent sufficient technique as described here:
https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-scale.html
https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/C14
https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G142
We picked px because the ergonomics of modern web development heavily suggest px values, and with that, this makes Radix Themes potentially more compatible with custom components and existing UIs. You can always use your tokens if you prefer another unit.

That's interesting.
As a user, I am not using any of the techniques to increase the font-size. I did not know that multiple approaches are possible. I looked around, and it seems that a lot of websites use rem for spacing but not font-size. And using zoom is probably a better technique for users.
I actually removed my glasses :), and noticed that zooming works better for me as it allows me to select the zoom depending on the content (images included). Thank you for taking the time to explain this, and for linking to the corresponding WCAG articles.
You could basically copy/paste your message in one of the doc sections.

Sorry to add to a closed issue, and obviously feel free to ignore, but I was interested in this reasoning:

the ergonomics of modern web development heavily suggest px values

@vladmoroz Would you mind elaborating on this?

@vladmoroz Would you mind elaborating on this? (fwiw I'm not disagreeing, so not asking you to justify it, I'm more curious what's led you to this? 🙂 )

Just from the experience working in different teams, realistically it tends to be really hard to track down all the px values that are so easy to sneak in from inline React or CSS-in-JS styles, since numbers are interpreted as pixels (e.g. think width: 400) and different teams have different levels of rigour. That's why the rems aren't default, as there's a risk that people who do need larger fonts will get a half-broken experience on a website that's part rem part px.

Ok, that's interesting, thanks. So, the expectation is devs are more likely to use px values outside of provided components, therefore using them in the UI library actually provides more consistent expectations. That makes sense, appreciate you explaining this 🙇🏻


Fixes 1668: Add apoc.array.fillObject

Fixes https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1668
The issue refers to an apoc.array.int, which does not exist in APOCs.
It most likely refers to apoc.coll.fill (present in APOC Core).
I have therefore created an equivalent apoc.coll.fillObject in Extended, which allows you to create arrays of various given types.
Other changes

Restored Extended stuff of apoc.coll.* and apoc.coll.avgDuration docs, removed here

LGTM


UnderstandExceptionLogger failing with empty message

Have followed the instructions to set this up and when I run the test command:
\Log::info('Understand.io test');

We get the following:
Understand\UnderstandLaravel5\Exceptions\HandlerException with message 'understand-laravel: '

Which doesn't seem to be very useful. How can I find out what's causing the issue?

Hey @mikefrancis ,

You can try to debug response from the server here (probably it will show something helpful):
https://github.com/understand/understand-laravel5/blob/master/src/Understand/UnderstandLaravel5/Handlers/BaseHandler.php#L132

    protected function handleError($responseArr, $requestData)
    {
        dd($responseArr, $requestData);

Make sure your input key is valid.

curl -XPOST https://api.understand.io/REPLACE_WITH_YOUR_INPUT_KEY -d '{"message":"my first event"}'

Otherwise please contact us via support channel http://understand.uservoice.com/ and please provide following information:

Channel id
Full stack trace of an exception

Thanks.


Button links in documentation not rendered correctly

Hi,
All buttons in the documentation tutorials have a link defined as follow:
Let's Get Started

The rendered html link is not valid (HTTP 404). The link is not converted to the html page link (See https://github.com/coreos/tectonic-docs/blob/master/Documentation/tutorials/sandbox/index.md and https://coreos.com/tectonic/docs/latest/tutorials/sandbox/index.html).
We could replace install.md with install.html. I did not find any other solution to fix this. Please let me know if you have any.

Same issue as #81? This bug is only for html tags (used for buttons).


Only raise a foreign key violation error when network_id is missing from both networks.txt and routes.txt

Describe the problem
The network_id field of GtfsFareLegRule is a foreign key that references routes.txt. If should reference both routes.txt and networks.txt. cc @tzujenchanmbd
Proposed solution
networkId is declared as a foreign key that references the network_id field in both the routes.txt and networks.txt tables.
Logic:
IF network_id exists in fare_leg_rules.txt but not in routes.txt OR networks.txt, generate a foreign_key_violation notice.
Alternatives you've considered
No response
Additional context
No response

Answers to some questions @davidgamez @qcdyx shared on this issue:

Is network_id is always unique, across both routes.network_id and networks.network_id ? (Yes, since we already have a rule that triggers if it's defined in 2 places)

Could network_id be defined in outside of routes.txt and networks.txt? No, it's only defined in those two files.

Based on this, do you need anything else clarified before I rewrite the issue to specify 1. we need to change foreign_key_violation to omit network_id 2. we need to add a new rule to check this conditional?

Tasks
[] Only raise a foreign key violation error when network_id is missing from both networks.txt and routes.txt
[] Review auto generated documentation and add / update if needed
[] Test with (test GTFS.zip)
[] Review acceptance tests


Update main.py

Consolidated Constants: Moved repeated text and button configurations into constants for better maintainability and readability.
Enhanced Error Handling: Replaced broad except blocks with specific exceptions like SyntaxError, ZeroDivisionError, and NameError for more precise error reporting.
Improved Query Handling: Refined inline query processing to handle empty queries and errors more effectively, providing accurate results or error messages.
Streamlined Callback Logic: Simplified the callback query handling, improving clarity and efficiency in processing operations like DEL, AC, and calculations.
Increased Readability: Cleaned up the code by using constants and improving variable naming, making it easier to understand and maintain.

Thanks for your contribution.


The instructions for client side routing for Tantsack Router doesn't work.

🙋 Documentation Request
Currently, if you implement it as the documentation has explained, you get this error:

To get rid of the error, you can change it to this:
declare module 'react-aria-components' {
  interface RouterConfig {
    href: ToPathOption<RegisteredRouter>;
    routerOptions: Omit<NavigateOptions, keyof ToOptions>;
  }
}

But this makes the href becomes just string, and you get no auto complete.
The way to get autocomplete is doing this:
declare module 'react-aria-components' {
	interface RouterConfig {
		href: ToPathOption<RegisteredRouter, '/', '/'> | ({} & string);
		routerOptions: Omit<NavigateOptions, 'to' | 'from'>;
	}
}

And change the router provider to this:
function RootComponent() {
	const router = useRouter();

	return (
		<RouterProvider
			navigate={(to, options) =>
				router.navigate({
					...options,
					to: to as ToPathOption<RegisteredRouter, '/', '/'>,
				})
			}
			useHref={(to) => {
				return router.buildLocation({ to }).href;
			}}
		>
			<Outlet />
		</RouterProvider>
	)
}

Now you will get auto complete in the links, and you can use any string as well:

This would also enable using the params and search from tanstack/react-router to be typesafe:

But right now since there is no way to constrict them based on the given href they show all the options for all the routes.
I think the way to fix this would be to give RouterConfig a generic string parameter and pass it to ToPathOption but I'm not sure.
declare module 'react-aria-components' {
	interface RouterConfig<Path extends string> {
		href: ToPathOption<RegisteredRouter, '/', Path> | ({} & string);
		routerOptions: Omit<NavigateOptions<RegisteredRouter, '/', Path>, 'to' | 'from'>;
	}
}

I'm not too familiar with how the types are set up for React Aria, but what I'm hoping for is this will link the href value to ToPathOption and NavigateOptions and show the correct values for search and params options.
🧢 Your Company/Team
No response

I tried to create a Stackblitz for this but uses an older version of typescript and I can't exactly reproduce it:
https://stackblitz.com/edit/tanstack-router-hhpjdc?file=src%2Froutes%2F__root.tsx&preset=node
Had to remove the | ({} & string) since it wasn't working the typescript version Stackblitz is using.

Here's an example that is passing the params using the routerOptions: https://stackblitz.com/edit/tanstack-router-hhpjdc?file=src%2Froutes%2F__root.tsx,src%2Froutes%2Fposts.tsx&preset=node

However, an "official" way to handle this would be much appreciated, so I'm bumping this .. 🙏

Since useHref also gets only the href passed it cannot construct a correct link with params which would need to get interpolated into href. This breaks link preview on hover in browsers as it shows something like /projects/$id instead of /projects/123.

I played around with the suggested solution by @MAST1999. I needed to do some changes but it's starting to work. routerOptions seems to be typed according to href now but href auto-completion is broken for some reason now. Still looking into it.

Looks like the docs would need to be updated. This used to work but there have been some updates to TanStack Router's types that broke it. This should work instead:
import {ToOptions, NavigateOptions} from '@tanstack/react-router';

declare module 'react-aria-components' {
  interface RouterConfig {
    href: ToOptions['to'];
    routerOptions: Omit<NavigateOptions, keyof ToOptions>;
  }
}

You could also consider typing href as an object containing properties like params as well by making href take ToOptions. See https://github.com/adobe/react-spectrum/issues/6587#issuecomment-2224235268.


Chem | Scaffold tree: bugs

1.16.6
Chem 1.8.2
Data: smiles.csv

[x] child structure coloring is not updated in the table in some cases
[x] a wrong part of the molecule is colored in some cases - not a bug

Chem 1.8.3


Deceptive pixel format logic in _image_sdl2.pyx load_from_surface()

Description
The intended happy path of converting to BGR888/ABGR8888 if image.format.BytesPerPixel is 3 or 4 is not reached. Instead, this is the default execution path. It seems like BPP=3 will not do any conversion, or incorrectly as ABGR if Rshift>Bshift.
Code and Logs
fmt = 'rgb'
if fmt not in ('rgb', 'rgba'): # <------- suspect "not"
    if fmt == 'rgb':

https://github.com/kivy/kivy/blob/1.10.0/kivy/core/image/_img_sdl2.pyx#L63-L64

I was drunk? O_o

@tito do you remember the purpose of the Rshift>Bshift test? Handle bgr, or some endian-issue, or something else?
I've rewritten this function, will finalize & submit a pr, maybe easier to discuss that

I think it was an endian issue on iOS/android.


Implemented a test for jar utilities

There are very few tests in the whole project, so I implement a test for jar utilities.
If anyhow the jar file doesn't get decompressed then the test will fail.

Hi @ABHAY0O7, thanks for your PR.
I've configured DepClean to run integration tests, see https://github.com/castor-software/depclean/pull/54
I've also implemented a couple of JUnit5 based tests for JarUtils, see https://github.com/castor-software/depclean/blob/master/depclean-maven-plugin/src/test/java/se/kth/depclean/util/JarUtilsTest.java
You can extend the tests cases or create new tests for other classes.
I'm closing this PR now.


About instance normalization in LinearAttention

Hi Zijie,
I managed to run your code on my machine. Very nice work and code !
I am using torch==2.3. When running the Darcy example, I encounted an issue with the nn.InstanceNorm1d founded in LinearAttention and CrossLinearAttention. The training goes on, but with a warning on dimension mismatch.
In the norm_wrt_domain function, you reshape the tensor to (bh) n c before applying the instance normalization function nn.InstanceNorm1d(dim_head). However, Pytorch suggests the input shape to be (bh) c n.
Can you have a look ? https://pytorch.org/docs/stable/generated/torch.nn.InstanceNorm1d.html

Hi Junfeng,
Thanks for your interest in this work.  Actually you were right about this, when carrying out the experiment in the paper I used  this masked_instance_norm https://github.com/BaratiLab/OFormer/blob/f1111b3c634893329e14e47e8903e421dd726a0c/BVP/nn_module/attention_module.py#L79 which assumes input last dimension is channel dimension, but I forgot to rearrange the layout after changing to nn.InstanceNorm, for a more up-to-date implementation please check this one: https://github.com/zijieli-Jlee/neuraloperator-dev/blob/dev/neuralop/layers/attention_kernel_integral.py .

Hi Junfeng, Thanks for your interest in this work. Actually you were right about this, when carrying out the experiment in the paper I used this masked_instance_norm
https://github.com/BaratiLab/OFormer/blob/f1111b3c634893329e14e47e8903e421dd726a0c/BVP/nn_module/attention_module.py#L79
which assumes input last dimension is channel dimension, but I forgot to rearrange the layout after changing to nn.InstanceNorm, for a more up-to-date implementation please check this one: https://github.com/zijieli-Jlee/neuraloperator-dev/blob/dev/neuralop/layers/attention_kernel_integral.py.

Hi Zijie,
Thanks for the clarification and for pointing me to the updated implementation. This resolves my issue.


Implement and use From trait for EntityColumn etc. from their C-counterparts

[Should only be tackled once branch api-function-to-read-database is merged.]
Functions to_entity_column etc. already exist, but it would be nicer to implement the From trait so that we can directly call .into() on the objects.

Api function branch is merged now.


issue-801: Add test case for IpUtils.

Add test case for IpUtils.
Fixes #801

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #830 (1d75f44) into master (5320632) will increase coverage by 0.58%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #830      +/-   ##
============================================
+ Coverage     71.89%   72.47%   +0.58%
- Complexity     1581     1588       +7
============================================
  Files           275      275
  Lines          6304     6304
  Branches        710      710
============================================
+ Hits           4532     4569      +37
+ Misses         1392     1354      -38
- Partials        380      381       +1

Impacted Files
Coverage Δ
Complexity Δ

...l/plugin/divide/balance/spi/RandomLoadBalance.java
68.42% <0.00%> (-10.53%)
6.00% <0.00%> (-1.00%)

...ra/soul/admin/service/impl/AppAuthServiceImpl.java
94.88% <0.00%> (+13.06%)
40.00% <0.00%> (+7.00%)

...soul/client/sofa/SofaServiceBeanPostProcessor.java
37.09% <0.00%> (+16.12%)
7.00% <0.00%> (+2.00%)

...in/apache/dubbo/proxy/ApacheDubboProxyService.java
56.52% <0.00%> (+17.39%)
4.00% <0.00%> (+1.00%)

...g/dromara/soul/client/springmvc/utils/IpUtils.java
75.00% <0.00%> (+50.00%)
1.00% <0.00%> (ø%)

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 5320632...1d75f44. Read the comment docs.

@flwrchild42  who are you？


updated source.ccs

replaced font Whitney with gg sans
See https://support.discord.com/hc/en-us/articles/9507780972951-gg-sans-Font-Update-FAQ

closing do to miss type


console: fix bug that caused wrong direction indicators in message stream flow view

Description
Fixes #5921. In the stream view for TCP and UDP flows in the console, the direction indicators (from client, to client) would always alternate and not represent the actual direction. This PR fixes that bug and adds a regression test.
Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

I am not aware of an easy way of testing view_message_stream in isolation. I agree that the test doesn't add much value and removed it.