text:
New version: Ryujinx.Ryujinx.Ava version 1.1.1263

Created by 🥟 Dumplings in workflow run #582.
Logs
Updated: 1.1.1262 → 1.1.1263
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.
Submitting WinGet manifests
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.

Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\Ryujinx.Ava.exe returned exit code: -532462766

(Automated response - build 876.)


text:
New version: defi.defi version 4.1.0

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

source: gharchive/pull-request

authors: stephengillie tianyeeT

repo: microsoft/winget-pkgs

license: MIT

license_type: permissive

license_source: github-api


text:
Remove version: Google.Chrome.Canary version 127.0.6483.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/a7unzrslhe3s5xpg5eyzdwraum_127.0.6483.0/127.0.6483.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 910)


text:
Remove version: Jackett.Jackett version 0.20.2220

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.2220/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 917)

authors: russellbanks stephengillie


text:
Remove version: Jackett.Jackett version 0.21.1640

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1640/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


text:
Remove version: qBittorrent.qBittorrent version 4.6.7

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Package still available.;


text:
Remove version: RoyQu.RedPanda-C++ version 2.20

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


text:
Qv2ray 2.6.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate <manifest>, where <manifest> is the name of the manifest you're submitting?
[x] Have you tested your manifest locally with winget install -m <manifest>?

Microsoft Reviewers: Open in CodeFlow

/azp run

authors: kidonng msftrubengu


text:
Feature/revise manifest creation script

this commit removes PowerShell Core only features that were introduced with #2378 to ensure compatibility with PSv5
adds comment based help
use consistently cased Cmdlet and variable names
improves input data related error handling
adds PS code regions for automatic code folding
automates the creation of the manifest file at the correct destination path
corrects the use of Write-Host and Write-Output

Fixes #3061

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate <manifest>, where <manifest> is the name of the manifest you're submitting?
[ ] Have you tested your manifest locally with winget install -m <manifest>?

Microsoft Reviewers: Open in CodeFlow

@megamorf , you've really improved this script, thanks!

I forgot to add, I verified this change fixes #3061.

authors: megamorf philnach


text:
Update: KDE.umbrello version 21.12.3

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 471
Microsoft Reviewers: Open in CodeFlow

/azp run


text:
New version: GeoffreyChen.Paperlib version 1.9.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run

authors: SpecterShell hackean-msft


text:
SlackedLime.TimeSpent version 1.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree [company="SlackedLime"]

@microsoft-github-policy-service agree

Not sure why it didn't get validated. Maybe because the installer runs the program right after install?


text:
Kiwix.KiwixJS.Electron v2.2.8-E

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@msftbot delay merging this pull request for 2 hours 30 mins

Apologies, I had to update the installer package due to discovering a critical bug. Now re-validating.


text:
Daily WMI build

Daily WMI build

/azp run

authors: madhanrm rjaini

repo: microsoft/wmi


text:
Can't close window by Alt+F4

Environment
Windows build number: 21390.1010
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.22

I can't close WSL GUI apps by Alt + F4.

@speller, thanks for reporting the issue, this is dup to https://github.com/microsoft/wslg/issues/187. Thanks for trying out WSLg.

@wyjBot, thanks for inquiring the status. To enable this behavior is trivial change, but I wonder if this key combination is used for different purposes on Linux side applications, so hijacking the key combination might not be ideal, but it can be updated to only optionally enabled by .wslgconfig, thanks!

Hi, I couldn't find the .wslgconfig. Could you tell me where it is and what changes should be made there? Thank you.

source: gharchive/issue

authors: hideyukn88 homerobse speller

repo: microsoft/wslg


text:
Server Internal Error. DiagCode: 500#1203002.@ while trying to join a teams call with audio

Describe the issue
I am developing a teams bot which should join and record the audio.
The echobot example works fine on my workstation therefore I assume there are no issues with my ngrok pro or certificate configuration.
The main difference lies in the development and deployment model. The solution is written as a Azure Cloud Extended Service as .net framework 4.8 service. The setup is quite similar to the policy recording bot.
Any help would be greatly appreciated.
Version:

Microsoft.Graph.Communications.Calls.Media 1.2.0.10563
Microsoft.Skype.Bots.Media 1.28.0.401-preview

Call ID
4003f80-1314-4c75-b265-a185bf7b17cf
07003e80-d896-4554-9f18-324f8b80e977"
Logs
{
    "@odata.type": "#microsoft.graph.commsNotifications",
    "value": [
        {
            "@odata.type": "#microsoft.graph.commsNotification",
            "changeType": "updated",
            "resource": "/app/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceUrl": "/communications/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceData": {
                "@odata.type": "#microsoft.graph.call",
                "state": "establishing",
                "chatInfo": {
                    "@odata.type": "#microsoft.graph.chatInfo",
                    "threadId": "19: @thread.v2",
                    "messageId": "0"
                },
                "meetingInfo": {
                    "@odata.type": "#microsoft.graph.organizerMeetingInfo",
                    "organizer": {
                        "@odata.type": "#microsoft.graph.identitySet",
                        "user": {
                            "@odata.type": "#microsoft.graph.identity",
                            "id": " ",
                            "tenantId": " "
                        }
                    }
                },
                "callChainId": "7381d501-77a0-40a1-bfae-7d53b6805293"
            }
        }
    ]
}

Results instantly in:
{
    "@odata.type": "#microsoft.graph.commsNotifications",
    "value": [
        {
            "@odata.type": "#microsoft.graph.commsNotification",
            "changeType": "deleted",
            "resource": "/app/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceUrl": "/communications/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceData": {
                "@odata.type": "#microsoft.graph.call",
                "state": "terminated",
                "resultInfo": {
                    "@odata.type": "#microsoft.graph.resultInfo",
                    "code": 500,
                    "subcode": 1203002,
                    "message": "Server Internal Error. DiagCode: 500#1203002.@"
                },
                "chatInfo": {
                    "@odata.type": "#microsoft.graph.chatInfo",
                    "threadId": "19: @thread.v2",
                    "messageId": "0"
                },
                "meetingInfo": {
                    "@odata.type": "#microsoft.graph.organizerMeetingInfo",
                    "organizer": {
                        "@odata.type": "#microsoft.graph.identitySet",
                        "user": {
                            "@odata.type": "#microsoft.graph.identity",
                            "id": " ",
                            "tenantId": " "
                        }
                    }
                },
                "callChainId": "7381d501-77a0-40a1-bfae-7d53b6805293"
            }
        }
    ]
}

I finally figured out why it wasn't working.
The required parameters were described in the readme of https://nuget.info/packages/Microsoft.Skype.Bots.Media/1.28.0.401-preview
!!! Breaking Change !!!
  =======================
  This SDK requires modifying your existing startup script prior to service startup.

  This is applicable only when running the SDK on .NET Framework.
  No change is needed when running on .NET 6 or later.

  Background:
  ==========
  Prior to startup, services generally run some commands to bind the IP
  and listening ports to an SSL cert. Additionally, services also add HTTP
  registrations to the IP/Port so that the Windows HTTP.sys server routes
  incoming requests to the right service on the VM.
  This is typically done with the help of netsh command-line utility.

  Setup Instructions:
  ==================
  Add the following extra commands to the startup or entrypoint script:

  # %InstanceMediaControlPort% is the internal media control listening port
  # that is configured when the `MediaPlatform` is initialized;
  # i.e., it is the `InstanceInternalPort` property on the `MediaPlatformInstanceSettings`

  # Delete ssl cert bindings
  netsh http delete sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort%

  # Delete http registrations
  netsh http delete urlacl url=https://+:%InstanceMediaControlPort%/

  # Bind ssl cert to the IP/Port
  netsh http add sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort% "appid={00000000-0000-0000-0000-000000000001}" cert=%ServerCertificate%

  # Add http registrations
  netsh http add urlacl url=https://+:%InstanceMediaControlPort%/ user="NT AUTHORITY\NETWORK SERVICE"

After these changes the bot is able to join the teams call


text:
B2C is not supported

Update article to explicitly call out that B2B Invitation API should not be used or is intended for B2C user creation/invite. B2C does not have a equivalent service.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 15c0170d-e214-ce6f-b7b4-589960e9962d
Version Independent ID: bc805140-9ebe-a4ef-54e7-90f2054b8b83
Content: invitation resource type - Microsoft Graph v1.0
Content Source: api-reference/v1.0/resources/invitation.md
Product: identity-and-sign-in
Technology: microsoft-graph
GitHub Login: @ppolkadots
Microsoft Alias: MSGraphDocsVteam

Thank you @willfiddes for raising this issue. Please check the first sentence on the page that mentions the scope of invitations. Let me know if this isn't adequate.

Hi @willfiddes - If the description in the documentation doesn't currently address this issue, please feel free to reopen it. I'll close it for now.

authors: FaithOmbongi willfiddes


text:
Unable to sign-in

Describe the bug
Sign-in process seems to be broken. I'm on Edge Dev build.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://developer.microsoft.com/en-us/graph/graph-explorer/preview'
Click on 'Sign in to Graph explorer' button
Complete the AAD sign-in, authorization flow
Notice that the "Signing you in" progress bar continues to be displayed.

Expected behavior
Sign-in should be successful.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: Edge Dev
Version: Version 82.0.446.0 (Official build) dev (64-bit)

Additional context
Add any other context about the problem here.

@svpsiva  We have fixed this in our next release, it should go out by tomorrow, please have a look and let me know if the bug repros.

This is resolved now and in production.

authors: bettirosengugi svpsiva


text:
Add ProposedNewTime parameter to Decline and TentativelyAccept actions

This adds the missing ProposedNewTime functionality for .NET and Java. We have to move the ProposedNewTime parameter to the end so not to break existing clients (.NET only).
We will remove the reorder rule when we generate parameter objects with Kiota.
Related to https://github.com/microsoftgraph/msgraph-metadata/pull/64
We should see a PR with the ProposedNewTime argument added to:
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/src/Microsoft.Graph/Generated/requests/EventDeclineRequestBuilder.cs
TODO

[ ] why is this transform change not getting picked up in generation.

I am not following why we need this change. I thought we agreed on releasing the original metadata in V4?

@zengin We are trying to maintain the same signature between v3 and v4 with the addition of ProposeNewTime. We will break this in vFuture with Kiota where we will remove the reordering. The parameter object will be added with Kiota.

authors: MIchaelMainer zengin

repo: microsoftgraph/msgraph-metadata


text:
omniauth: (microsoft_graph_auth) Authentication failure! invalid_credentials: OAuth2::Error

I followed all the steps, created the same app on Azure B2C portal as well. I am able to authenticate with the credentails but throwing the error (omniauth: (microsoft_graph_auth) Authentication failure! invalid_credentials: OAuth2::Error) during callback.
-23 23:20:23 -0500
I, [2020-11-23T23:20:23.472229 #8624]  INFO -- omniauth: (microsoft_graph_auth) Callback phase initiated.
E, [2020-11-23T23:20:24.336261 #8624] ERROR -- omniauth: (microsoft_graph_auth) Authentication failure! invalid_credentials: OAuth2::Error
{"id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsifQ.eyJleHAiOjE2MDYxOTU1NDEsIm5iZiI6MTYwNjE5MTk0MSwidmVyIjoiMS4wIiwiaXNzIjoiaHR0cHM6Ly9pbmZseXR4cGQuYjJjbG9naW4uY29tL2I3ZDNhZTc4LTA4NjItNGJlYS05ZmYxLWZmMWI1MDM1MmJjNi92Mi4wLyIsInN1YiI6IjI3ZmQ5MTkxLTAwOWEtNDMzZi1hN2ZmLTZmNjVkM2ZlNDk5ZCIsImF1ZCI6ImM3ZGZkZDBiLTE1NDAtNDE3ZS1iNTdlLWZhMjRjNDIxOGM0MyIsImlhdCI6MTYwNjE5MTk0MSwiYXV0aF90aW1lIjoxNjA2MTkxOTQwLCJvaWQiOiIyN2ZkOTE5MS0wMDlhLTQzM2YtYTdmZi02ZjY1ZDNmZTQ5OWQiLCJuYW1lIjoiVmVkYS5SYW1haWFoQGx0dHMuY29tIiwiZW1haWxzIjpbIlZlZGEuUmFtYWlhaEBsdHRzLmNvbSJdLCJ0ZnAiOiJCMkNfMV9TSUdOX0lOIn0.o04QC811sXkRFHIgUEbW5CrH4ed4t2bKjqWc8koENY6xyb3JHzde2NAMOQoKJ2S-jRT91AIczLJQW1gB7RXqcqyX5wQRpbSxGIXPAr1hvXQ9W1zdwvkDVM9U99NIGREviHnuRJXLOXjxyWtglIldYjPyGPidhZpoc6cNpuYdZGb-ISGZmS8W-7fKzjMHS6okg_IB--nuVISXbEEzlU782tMFyySq9eh8bnrzc8ZRUaeZk3dJqsFPB1tVT74CZ65GBkBFAzefU1wz_1P8L6ZkhNLRl42WhWeUJFgtSKGRNtiF5cRMnlE6PCIoCXsVUMEG_BFVoHSHW6kmyjfIXSXbOw","token_type":"Bearer","not_before":1606191941,"id_token_expires_in":3600,"profile_info":"eyJ2ZXIiOiIxLjAiLCJ0aWQiOiJiN2QzYWU3OC0wODYyLTRiZWEtOWZmMS1mZjFiNTAzNTJiYzYiLCJzdWIiOm51bGwsIm5hbWUiOiJWZWRhLlJhbWFpYWhAbHR0cy5jb20iLCJwcmVmZXJyZWRfdXNlcm5hbWUiOm51bGwsImlkcCI6bnVsbH0","scope":"offline_access openid","refresh_token":"eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMCIsInppcCI6IkRlZmxhdGUiLCJzZXIiOiIxLjAifQ..Brt-lzu9a5LTUUFw.fpKmOJFKfWu77gnmDx4dH0fUv0fCRL__60BKfYjXFPT3u2bR7BjMcy_1Gi7S_3NVUFN7tFR92S9soFdGpyPFYXAZAWd-K_3NUJ_YCkFcoOlRJVsyr-sLHy7DYYAzqpPyaC5dOQ9H7WSkPRmfmXZjCZxMTrGFJvPVDxEkLfd600i9i578DdogmO-4704gm0aI3qAPHqxzRQex1A8Y1ZxsWwNlySd0rBnVHpnMtPC1ZMbxnYpit86sRRQN5iHcvWQ7VizvzzTem9VGJyechH5tIeZv2waGjFkpRnY65XT84uJMm1a-Z6ugqkT33O7CC1RqEnq_xhnB8szauqBBEV6h5PD1qadrLvghep4hZPMQoVwEyK19Ajq6g96RCrncPkMFuO4bKQrLmsbzSp46p-vlX6kRgb0cAbl8Mc8BWty4vF9zJ8ZUqdKiJ20-9W7Q3pUMW0lah2fehE37gIe2gxKm2_Sncc3emduidCQhRVvbJGqHCVYKGqHhxwOTqsWsYE2EGxopi0H2oii1RD0c91I9firvvw47kvEmAdTIU5hz9_54Lcqz4OuieWF6Oi8Qvj7J-54zuQ.u4R_4EhbDLqGWLtGwx-vUw","refresh_token_expires_in":1209600}
Application Trace | Framework Trace | Full Trace
oauth2 (1.4.4) lib/oauth2/client.rb:150:in get_token' oauth2 (1.4.4) lib/oauth2/strategy/auth_code.rb:30:in get_token'
omniauth-oauth2 (1.7.0) lib/omniauth/strategies/oauth2.rb:126:in build_access_token' omniauth-oauth2 (1.7.0) lib/omniauth/strategies/oauth2.rb:91:in callback_phase'
omniauth (1.9.1) lib/omniauth/strategy.rb:238:in callback_call' omniauth (1.9.1) lib/omniauth/strategy.rb:189:in call!'
omniauth (1.9.1) lib/omniauth/strategy.rb:169:in call' omniauth (1.9.1) lib/omniauth/builder.rb:45:in call'
Execption been thrown at callback method in omniauth. I tried all ways but none of them worked.
Can you please let me know how to resolve this issue?

Are you authenticating as a B2C user? B2C users cannot get tokens for Microsoft Graph. In B2C tenants, Microsoft Graph is limited to user admins for management scenarios. See https://docs.microsoft.com/azure/active-directory-b2c/microsoft-graph-operations

Whats the best way to tweak/go ahead for B2C tenants?

authors: VedaRamaiah jasonjoh


text:
embed Youtube video in blog post

Hi everyone
How can I show video from Youtube in my blog post? I used embed code but it prints the code in the blog post not the real video.

Hi, you can drag and drop the "embed code" module and paste the video code in it

Thank you peter

authors: peter-mw upcoders

repo: microweber/microweber


text:
Want just enquiry

Can I make the website for multiple users by creating multiple user ids with their account

yes you can make, there is module for user registration, just drop it on the page

Thank you for the response but please provide us the detailed explanation as I am new to laravel.

Beacuse at installation time it is asking for DB credentials, so is it creating new db to every user every time?

hi, if you want to create multi domain installation you can do it from command line, see this page
http://docs.microweber.com/guides/installation_cli.md#multi-domain-scripted-installation

Hi Peter,
With Reference from I checked the documentation, but I want to create only user registration and login and on login user will be able to change its website.
Is this flow is available in current flow of project. please let us know what I need to do if flow is not available.

hi @parikshitjadye we have this flow available with combination of WHMCS+CPanel , please contact us on the Slack chat to explain how to setup

hii peter I have just sent you request on slack chat.

authors: parikshitjadye peter-mw


text:
Fix oracle import problem

When you try to use the CLI the oracle manager  is trying to register the models and it might fail stopping you from seeing the CLI options

Fixed with https://github.com/micumatei/asciipic/pull/76

repo: micumatei/asciipic

license: mit

license_source: bigquery


text:
compass/sass config not accessible?

Expected behavior and actual behavior
When in config.rb:
compass_config do |config|
  config.output_style = :expanded
  config.line_comments = true
end
activate :sprockets

I would expect to see output of css in development to be "expanded" and to see "line comments", but no. I am seeing css output as :nested. I also tried:
set :sass, output_style: "expanded"

And then when visiting http://127.0.0.1:4567/__middleman/config I see the :output_style has changed from the config's point of view.. but no change in the actual output in the css.
When I comment out sprockets, the expected behavior is good.. but then out goes the coffee2js compilation so... any way to ensure compass/sass settings in config are picked up and so sprockets does what I'd expect?
Steps to reproduce the problem (from a clean middleman installation) or example repo
Gemfile:
ruby '2.3.1'

# Middleman Gems
gem 'middleman', '>= 4.1.8'
gem "middleman-sprockets", github: 'middleman/middleman-sprockets'
gem 'middleman-livereload'
gem 'middleman-compass', '>= 4.0.1'

# See: https://github.com/Compass/compass/pull/2088
# --
# The following github branch should be replaced when Compass catches up and merges
# the new interpolation near operator syntax fixes and middleman-compass is updated.
git 'https://github.com/ably-forks/compass', branch: 'sass-deprecation-warning-fix' do
  gem 'compass-core'
end

gem 'middleman-gh-pages'
gem 'susy', '~> 2.2.11'
gem 'breakpoint', '~> 2.5.0'
gem 'middleman-syntax', '~> 2.1.0'
gem 'middleman-jquery'
gem "faker", "~> 1.6.3"
gem 'rack-contrib'
gem 'puma'

Additional information

Ruby version: 2.3.1
Middleman version: 4.1.8
Middleman Sprockets version: latest master as of today 11/30/2016
OS version: Mac OS 10.11.6

Ah interesting, I hadn't ever thought about it as I'd always used the default in dev and depended on the css compressor extension for production. It looks like actually configuring Sass is something that hasn't landed in a "stable" Sprockets yet (but will come with 4.x). That should definitely be something we support.
That wouldn't really help you though if you do need anything special from Compass. Middleman::Sprockets & Middleman::Compass aren't really compatible since Middleman::Compass configures Tilt templates that would never get used w/ Sprockets.
For you, I think if you don't need any of Sprockets specific features in your sass, the best thing would be to disable it for those files and only run it on your js.
activate :sprockets do |c|
  c.supported_output_extensions = [".js"]
end

Hope that is helpful, thanks for the great report.

authors: michaelparenteau stevenosloan

repo: middleman/middleman-sprockets


text:
AXFR: bad key algorithm

Hello. Receiving bad key algorithm using sample code provided, with my fqdn, tsig key and server substituted. Tsig key was generated using tsig-keygen -a md5 internal-key. Also tried generating HmacSHA256 key as well. Same error every time.
Dig command with same key sent always completes successfully.

HMAC-MD5 support was removed in #1187 but the example in the docs was not updated. You'll either need to switch to a supported algorithm or implement TsigProvder.

@andrewtj can I ask how you can use the custom TsigProvider interface? It seems that tsigVerifyProvider is not exported and the TsigVerify is hard-coded to use the default one.
func TsigVerify(msg []byte, secret, requestMAC string, timersOnly bool) error {
	return tsigVerify(msg, tsigHMACProvider(secret), requestMAC, timersOnly, uint64(time.Now().Unix()))
}

authors: aaplmike andrewtj dmavrommatis

repo: miekg/dns


text:
Option to remove / hide the page numbers in side list

Description of the new feature / enhancement
1. Red color,

Please provide an option to remove / hide the page numbers of chapters that are present on the right side of the manga side list.

2. Green color,

Can you increase those right side title and chapter by 2px for both manga and epub.
Only implement if it looks good.

Scenario when this would be used?
No response
Supporting information
No response

1. Red color,

Please provide an option to remove / hide the page numbers of chapters that are present on the right side of the manga side list.

Its too small to add an option for it. But you can add the following text at end of your custom stylesheet file.
body #app #reader > div.readerSideList.listCont > div.location-cont > ol > li > a > span.pageNum{
    display: none;
}

or this
noPageNum.zip
Same for the green color, you can open the css file in any text editor add the following to end of it.
body #app .reader .readerSideList .in-reader>div>span:not(.bold){
    font-size:1.1em;
}

#254

authors: mienaiyami zeoint

repo: mienaiyami/yomikiru


text:
smoothState doesn't load all my js files

Hi there,
I have a problem with loading all my JS files for specific pages. Let's say we have hompage with a.js and b.js
When I'm going to some subpage where at the bottom of the file I have c.js this file is not loading.
Any idea how to fix it?
Best,
G.

@gregorcio92, thanks for reaching out. It's pretty difficult to figure out what's going on here without looking at some code.
Can you provide samples of a reduced test case?


text:
Multi RFID

i have a problem when i use two RFID and use Example code of MFRC522 ReadUidMultiReader.ino file and follow the pin of circuit in doc on that file (Arduino UNO) ,the result a first RFID do not read key but second can read key and if i pull out second RFID the result is first RFID can read the key... please help me about the this problem thank you

Maybe you can find an answer in #284?

authors: Khamphai lmmeng

repo: miguelbalboa/rfid

license: unlicense


text:
Make SceneTree macro path optional

Fixes #401. Not sure how it managed to work previously, path wasn't optional and didn't have a default value in the original PR. Maybe Xcode/Swift updates broke it, I don't know.

Thank you Mikhail!

authors: migueldeicaza tishin

repo: migueldeicaza/SwiftGodot


text:
AttributeError: module 'hashlib' has no attribute 'scrypt'

(venv) rayhan@Rayhans-MacBook-Air microblog % flask shell
Python 3.9.6 (default, May  7 2023, 23:32:44)
[Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
App: app
Instance: /Users/rayhan/microblog/instance

from werkzeug.security import generate_password_hash
hash = generate_password_hash('foobar')
Traceback (most recent call last):
File "", line 1, in
File "/Users/rayhan/microblog/venv/lib/python3.9/site-packages/werkzeug/security.py", line 107, in generate_password_hash
h, actual_method = _hash_internal(method, salt, password)
File "/Users/rayhan/microblog/venv/lib/python3.9/site-packages/werkzeug/security.py", line 42, in _hash_internal
hashlib.scrypt(
AttributeError: module 'hashlib' has no attribute 'scrypt'

This happens because the Python that ships with macOS is missing the scrypt module.
You have two possible solutions:

Install a different Python, such as one from python.org or homebrew.
To keep using the macOS Python, you can add an method='pbkdf2' argument to the call to generate_password_hash().

authors: Maheran-blip miguelgrinberg

repo: miguelgrinberg/microblog


text:
Question regarding Flask-WTF SelectMultipleField and Migration scripts

Hi,
I've had alot of fun finishing your book and consider it a great refresh of the Oreilly book, but in my attempts to branch out I have encountered a minor issue when attempting to implement a Flask-WTF SelectMultipleField form with choices bound to a SQLAlchemy query.
Specifically when creating a SelectMultipleField in my main blueprint forms.py file:
from flask_wtf import FlaskForm
from wtforms import (StringField, PasswordField, BooleanField, \
TextAreaField, HiddenField, SelectMultipleField)
from app.models import db, Category

app = create_app()
app.app_context().push()

class ComposeForm(FlaskForm):
    categories = SelectMultipleField('Categories', choices=[(category.id, category.name.title()) for category in db.session.query(Category).all()], coerce=int)

Now if I comment out the categories column and run flask db init my migrations folder is created successfully, however if I leave it I encounter the following error:
Traceback (most recent call last):
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: no such table: category

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/tripdes/Projects/microblog/venv/bin/flask", line 11, in <module>
    sys.exit(main())
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/flask/cli.py", line 513, in main
    cli.main(args=args, prog_name=name)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/flask/cli.py", line 380, in main
    return AppGroup.main(self, *args, **kwargs)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/flask/cli.py", line 256, in decorator
    with __ctx.ensure_object(ScriptInfo).load_app().app_context():
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/flask/cli.py", line 237, in load_app
    rv = locate_app(self.app_import_path)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/flask/cli.py", line 90, in locate_app
    __import__(module)
  File "/Users/tripdes/Projects/microblog/microblog.py", line 4, in <module>
    app = create_app()
  File "/Users/tripdes/Projects/microblog/app/__init__.py", line 50, in create_app
    from app.main import bp as main_bp
  File "/Users/tripdes/Projects/microblog/app/main/__init__.py", line 5, in <module>
    from app.main import routes
  File "/Users/tripdes/Projects/microblog/app/main/routes.py", line 8, in <module>
    from app.main.forms import EditProfileForm, PostForm, SearchForm, MessageForm
  File "/Users/tripdes/Projects/microblog/app/main/forms.py", line 12, in <module>
    class EditProfileForm(FlaskForm):
  File "/Users/tripdes/Projects/microblog/app/main/forms.py", line 17, in EditProfileForm
    categories = SelectMultipleField('Category', choices=[(category.id, category.name) for category in db.session.query(Category).all()], coerce=int)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2703, in all
    return list(self)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2855, in __iter__
    return self._execute_and_instances(context)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2878, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 945, in execute
    return meth(self, multiparams, params)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
    context)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception
    exc_info
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise
    raise value.with_traceback(tb)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/Users/tripdes/Projects/microblog/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: category [SQL: 'SELECT category.id AS category_id, category.name AS category_name \nFROM category']

The form is instantiated in my view but I'm trying to wrap my head around why the query is being executed now?
Any help would be greatly appreciated.
Sam

The problem is that the query for your categories runs in the global scope (i.e. when Python parses your script prior to running it), not when you create an instance of the form class.
You have two options to do this. You can either use the QuerySelectMultipleField from the wtforms-sqlalchemy extension package, or else you have to move the initialization of the choices to the __init__() function, so that it happens when the form instance is created. That would be more or less like this:
class ComposeForm(FlaskForm):
    categories = SelectMultipleField('Categories', coerce=int)

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.categories.choices=[(category.id, category.name.title()) for category in db.session.query(Category).all()]

@miguelgrinberg That's interesting regarding the categories running in the global scope. I came dangerously close to the example above but retreated as I thought I must be doing something wrong.
Thank you @miguelgrinberg, I really appreciate you taking the time in getting back to me! Hopefully this helps someone else as I could find very little online. Again, thanks for a great book, flask-migrate and I look forward to following your future projects.
Sam

authors: miguelgrinberg tripdes


text:
8.0.1 package version showing as latest in npm, rather than 9.0.0

I see you published the package yesterday, but for some reason npm is not showing 9.0.0 as the latest
npm view node-notifier

node-notifier@8.0.1 | MIT | deps: 6 | versions: 67
A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)
https://github.com/mikaelbr/node-notifier#readme

keywords: notification center, mac os x 10.8, notify, terminal-notifier, notify-send, growl, windows 8 notification, toaster, notification

dist
.tarball: https://volusion.jfrog.io/artifactory/api/npm/npm/node-notifier/-/node-notifier-8.0.1.tgz
.shasum: f86e89bbc925f2b068784b31f382afdc6ca56be1

dependencies:
growly: ^1.3.0     semver: ^7.3.2     uuid: ^8.3.0
is-wsl: ^2.2.0     shellwords: ^0.1.1 which: ^2.0.2

maintainers:
- mikaelb <mikaelbre@gmail.com>

dist-tags:
latest: 8.0.1

published yesterday by mikaelb <mikaelbre@gmail.com>

Trying to address npm audit failure for this advisory

Oh! Sorry about that. I updated the dist-tag now, so 9.0.0 should again be latest. I published a 8.0.1 patch a couple of days ago with only the security patch without breaking changes so a bump in lock files would fix the security issue. But by doing so  npm changed the latest tag.

Great, thanks so much!

authors: greg-murray-volusion mikaelbr

repo: mikaelbr/node-notifier


text:
Remove values en masse

I currently am not able to remove values from JSS. I want to remove values from the Position field and I have followed the instructions in your document carefully but I still can not remove the values.  I can add a different value but can not clear the value to a blank. Suggestions?? I have made sure that the column has a header even though it is blank, but no luck.

What is not allowing you to? Does it error out, or does it appear to run
but not update? What is the behavior that you’re seeing?
Also, if you’re interested, would you mind posting your CSV for me to test
with?
What version are you on?
On Wed, Oct 25, 2017 at 1:53 PM clbragdon notifications@github.com wrote:

I currently am not able to remove values from JSS. I want to remove values
from the Position field and I have followed the instructions in your
document carefully but I still can not remove the values. I can add a
different value but can not clear the value to a blank. Suggestions?? I
have made sure that the column has a header even though it is blank, but no
luck.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mike-levenick/mut/issues/10, or mute the thread
https://github.com/notifications/unsubscribe-auth/AL7416dHwLThDTNPejZvfRmsoMLTt9L-ks5sv4OOgaJpZM4QGfD2
.

Mike,
Thanks for your quick response!!
The MUT appears to run but does not update the attribute.
I can change the
I am on version 3.6 and I am using a Windows .csv for the file. I tried
doing the import with the previous version, 3.5.x, and had the same issue.
I thought perhaps the new version would address the issue.
I have attached the file that I am using. This file is only for a portion
of my devices. Those particular devices have a totally incorrect value in
Position and I am trying to  clear it. I can Import any other value, I just
not clear it to be blank.
Thanks for your help!
Cinda-Lee Bragdon
MLTI Tech Lead
Gray-New Gloucester High School
10 Libby Hill Road
Gray ME 04039
207-657-9328
Email: cbragdon@sad15.org
On Wed, Oct 25, 2017 at 3:00 PM, Mike Levenick notifications@github.com
wrote:

What is not allowing you to? Does it error out, or does it appear to run
but not update? What is the behavior that you’re seeing?
Also, if you’re interested, would you mind posting your CSV for me to test
with?
What version are you on?
On Wed, Oct 25, 2017 at 1:53 PM clbragdon notifications@github.com
wrote:

I currently am not able to remove values from JSS. I want to remove
values
from the Position field and I have followed the instructions in your
document carefully but I still can not remove the values. I can add a
different value but can not clear the value to a blank. Suggestions?? I
have made sure that the column has a header even though it is blank, but
no
luck.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mike-levenick/mut/issues/10, or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AL7416dHwLThDTNPejZvfRmsoMLTt9L-ks5sv4OOgaJpZM4QGfD2>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mike-levenick/mut/issues/10#issuecomment-339436049,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfkXZnnB_rkRNCKUbxIMnvIsND8vFrg2ks5sv4VTgaJpZM4QGfD2
.

For my curiosity, in a very small run group as a test, could you try blanking our username or asset tag to see if that behaves?
I’ll do some testing either this evening or over the weekend and see what I can find out about position.
What version of jamf pro are you running?

Mike,
I did a group of three devices and I was able to blank out the UserName and
then the Asset Tag for each of them.
We are running JAMF 9.101.0
Cinda-Lee Bragdon
MLTI Tech Lead
Gray-New Gloucester High School
10 Libby Hill Road
Gray ME 04039
207-657-9328
Email: cbragdon@sad15.org
On Thu, Oct 26, 2017 at 11:51 AM, Mike Levenick notifications@github.com
wrote:

For my curiosity, in a very small run group as a test, could you try
blanking our username or asset tag to see if that behaves?
I’ll do some testing either this evening or over the weekend and see what
I can find out about position.
What version of jamf pro are you running?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mike-levenick/mut/issues/10#issuecomment-339711789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfkXZhAzKeHg61Fqx52EMFfQkrdKpxd2ks5swKqbgaJpZM4QGfD2
.

Hello,
So I think I found something, and I'll do some deeper testing on it, but it looks like I can wipe out a position for a USER object, but not on the DEVICE object itself.
The good news is, that if you modify the user object associated with a device, those changes populate over to the device itself.
For example: I have an iPad named Mike's iPad, with a serial number C12345. It is assigned to Mike.Levenick, who has a position of "Support". If I try to change the Position for Mike's iPad to "" it does not work (although MUT returns a 201, and the response XML looks good).
That said, if I change "Mike.Levenick"s position to "", it DOES work, and the device Mike's iPad also gets its position blanked out.
Give that a shot. I'm going to do some deeper digging into this and see if it's a MUT issue or an API quirk. The fact that I'm getting a 201 leads me to believe the latter, but further investigation is needed.

After checking, I also cannot remove other fields like "Full Name" from the device record itself as long as it has a username associated with it.
However, once I remove the username from a Device, I am able to remove other fields (such as full name/position).
I believe this is intended functionality, there is a User object associated with that device, so Jamf Pro is going to continue to pull the information from that User object--and if we wipe out the Position or Full Name, it just gets pulled right back in from the User object.
That said, as stated above, you can "work around" this by modifying the User object itself. Simply use dropdowns such as this:

Mike,
Sorry I haven't gotten back to you regarding the work around you suggested.
The entire State of Maine has been hit by a major storm causing large
numbers of power outages, and consequently no internet service. There were
nearly 500,000 people without power at one point (our district included!)
and it remains at about 100,000. It could still be days before restoration
is complete!! And even in areas where power is on, internet service can be
non-existent, or spotty at best.
I was able to test the workaround out yesterday and if I clear the User's
Position, it does filter down to the device record Position and blanks out
the value.
I tested it on small groups first but will complete the remaining imports
today.
Thank you so much for your help. I will contact you if I have any further
issues.
I really appreciate your prompt response and your help in working through
this issue. This info is going to be very helpful to me in the future!!
Thanks again!!
Cinda-Lee Bragdon
MLTI Tech Lead
Gray-New Gloucester High School
10 Libby Hill Road
Gray ME 04039
207-657-9328
Email: cbragdon@sad15.org
On Fri, Oct 27, 2017 at 11:26 AM, Mike Levenick notifications@github.com
wrote:

After checking, I also cannot remove other fields like "Full Name" from
the device record itself as long as it has a username associated with it.
However, once I remove the username from a Device, I am able to remove
other fields (such as full name/position).
I believe this is intended functionality, there is a User object
associated with that device, so Jamf Pro is going to continue to pull the
information from that User object--and if we wipe out the Position or Full
Name, it just gets pulled right back in from the User object.
That said, as stated above, you can "work around" this by modifying the
User object itself. Simply use dropdowns such as this:
[image: screen shot 2017-10-27 at 10 25 45 am]
https://user-images.githubusercontent.com/12515543/32111819-3fd6f710-bb01-11e7-8cf5-00ccf93e54ff.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mike-levenick/mut/issues/10#issuecomment-340003548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfkXZn4zcnTDO4de39SrrJXnKVvnnTPZks5swfYbgaJpZM4QGfD2
.

I'm very glad to hear it! Always happy to help. :) 👍
I'll close this one up for now, but as always, never hesitate to reach out if you need something.

authors: clbragdon mike-levenick

repo: mike-levenick/mut


text:
Went from small spike 100% to decreasing 100%

Pattern was as follows:
Thursday AM: https://turnipprophet.io/?prices=100.83.82..75...63.....&pattern=3
Thursday PM: https://turnipprophet.io/?prices=100.83.82..75...63.62....&pattern=3
Obviously changed from 100% small spike to 100% decreasing? Surely shouldn’t say 100% if it’s not sure. Not sure if prediction error or not.

With a Sunday price of 100, your first price on Monday (83) is out of the range of what should have been possible for the decreasing pattern (85-91). Either there's a bug with this project, or perhaps the new AC update affected what pattern/prices you're getting? The update was centered around balancing the bells economy. I haven't seen anything saying that turnips were affected, but it's possible.

Either there's a bug with this project, or perhaps the new AC update affected what pattern/prices you're getting? The update was centered around balancing the bells economy. I haven't seen anything saying that turnips were affected, but it's possible.

There's been no indication so far that the Turnip prices have been tweaked in any of the patches.

As far as these numbers go.. they start to fall appart already at your Monday PM price. A value of 83 on Monday AM is within range for a Small Spike, but an 82 on Monday PM is already out of range - the app applied a fudge factor of 1 here in case it was a floating point rounding issue, and caame up with a match for Small Spike again (but a fudged one).
Then we get into Tuesday - you don't have a Tuesday AM price (that's fine!) but the Tuesday PM price is within normal range for a Small Spike, again assuming we remove the 82 from Monday PM.
Finally we get into the next set of known numbers, the 63 on Thursday AM is within range of a normal Small Spike. However, the 62 on Thursday PM is back out of range, and a fudge factor of 2 was applied in order to find a possible fudged match in a Decreasing pattern.

So, there's all that, and of course more... For a Small Spike pattern, there can be anywhere bewteen 0 and 7 decreasing periods before the start of the spike. Based on your numbers, we can see that you had the max of seven, because of your Monday AM at 83 down to Thursday AM at 63. What that means is, for a Small Spike, you are guaranteed to hit the start of your spike by Thursday PM, however in your case the number went down again by 1, which means it's impossible to be a Small Spike.
What this all tells me is a couple things are possible.

A resident of your island did some time traveling, causing the calculations to be reset for the week.
The numbers you've entered aren't all from the same island
The numbers were entered slightly incorrectly
The game logic has been changed in a patch (but as previously stated there's been no indication of that so far)

One of those things (or possibly something else I'm not thinking of right now) must be true, and it appears you've been on a Decreasing pattern all week, despite to tool falsely reporting a Small Spike.
Now, all that being said.. the fact that the tool produced a Small Spike when that wasn't possible for you is concerning, and is an unfortunate side effect of the fudge factor that we account for... more thought/work needs to be done on the fudge factor, it seems.

@theRTC204 the level of detail you put into this is astounding - thanks for this tool.
I can confirm, without being that guy, that no time travelling happened, as only I know how to time travel and my girlfriend, bless her, doesn't want to at all anyway. It is entirely possible that the numbers are slightly incorrect, however, all I can do this time around is trust my partner to pass it on correctly.
Thanks for the detailed response. I look forward to this tool becoming more and more reliable!

authors: aejay joezed theRTC204

repo: mikebryant/ac-nh-turnip-prices


text:
Custom date selection not registered by dashboard (v1.25.0)

Hello! 👋🏽  And thanks for Umami! 🤩
I updated to v1.25.0 today with no issue, but I noticed that I could not use the Custom Date feature like I used to be able to. Selecting a single date or a date range using the calendar (see screenshot) and saving does not update the dashboard.
I'm using Railway to host my database and deploy Umami. Please let me know if there's any additional information I can provide. Thanks!

Selecting a date range of January 9, 2022 to January 10, 2022:

I probably introduced a bug 🤦♂. I'll look into it.

authors: mikecao spcanelon

repo: mikecao/umami


text:
Remove core_extensions only relevant for Ruby < 2.0

Several of the core_extensions monkey patches are only relevant for Ruby < 2.0. Ruby 1.9.3 has been unsupported for >2 years so I'd propose removing support and the associated extensions.

I noticed that Ruby 1.x is referenced in several places in the documentation. If you agree with the spirit of this change, I can update those sites in the documentation as part of this PR.

We purposefully support Ruby 1.8.7+. We'll drop support for end-of-life Ruby versions in Mail 3.0 😊

Sounds good, feel free to close and I'll tackle this with the approach you recommended yesterday.

Gah, sorry @andrew-stripe == @metcalf... I can never keep my work and personal accounts straight.

authors: andrew-stripe jeremy metcalf

repo: mikel/mail


text:
Completion of error handling

Would you like to add more error handling for return values from functions like the following?

malloc ⇒ expand_buffer
SDL_CreateMutex ⇒ logf_init

I added a warnign for SDL_CreateMutex. The malloc in expand_buffer() is from trace-cmd, and should never really be called, and I can't see a clean way to warn on all platforms when it fails, so I'm leaving it. Thanks.

The exception handling is still incomplete.

authors: elfring mikesart

repo: mikesart/gpuvis


text:
Is integration with Heroku add-ons possible to collect data from them?

I have a java Heroku app that is utilizing a bunch of other services (Heroku add-ons). Like Redis, Cassandra, Kafka to name a few and I wanted to use Data Dog to collect health metrics and configure alerts if there are signs that my app becomes unhealthy. With your build pack, is that possible to configure integrations with the mentioned above add-ons? If so, could you please provide some details and/or examples? Reply would be appreciated.

Hello @imochurad !
As can be seen in the startup script we run a specialized version of one of the Agent's components - the statsd listener - to allow apps to emit statsd messages to be sent to the platform.
This approach doesn't run the Agent as a collector for other sources like external databases - this would likely involve a more complex configuration and process runner approach.
This might be something valuable for a standalone Dyno, not so applicable to a buildpack that is part of the application layer.

An alternative approach would be to setup a log drain for your app that parses runtime-metric logs and forwards them to Datadog.

@tatey Cool idea! I don't see if the runtime-metrics provide insight into the add-ons, can you share how that's done?

If you're using the standard or premium tiers of Postgres and Redis you should see log entries for these addons in your app logs. I am not sure about Kafka, but given it's now a first class on Heroku, I imagine it's similar.

https://devcenter.heroku.com/articles/heroku-postgres-metrics-logs
https://devcenter.heroku.com/articles/heroku-redis-metrics-logs

I actually open sourced an implementation of this idea last week in Ruby. It uses this very buildpack, so thanks!

@tatey how do you parse a log drain?

@imochurad Heroku have a pretty good article on how Log Drains work.

authors: imochurad miketheman tatey

repo: miketheman/heroku-buildpack-datadog


text:
regl.read() returns uint8 array instead of the fbo/texture type of float

See the console output, it should be an array of floats in range [0,1], specifically an array of all 1s, instead it is an array of all 255 uints.

const image_data = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAACXBIWXMAAABIAAAASABGyWs+AAAA1UlEQVRIx91W0RLDIAgj3P7/l9mDO6ooVifcbuURNWlSTwIRobsCMOyvnH2t4Ho41QaXCcO1cnLh+3S/S8Pn6Lp56KRVAGALupdiALldPkIvUoyOi+AcfcjBih6A3ZphFfh3kYbsXt9A8dwchTBYXr83iim58gmiLk9fxaVfW6TijEqv39f2s7NVwBNu0f8TiEj0Q/epMhseYBERZbiks7OeaJHojQJai1A0HTKmFLCeaDFGmWDR/ORzjj622OgoIl8EL/LDXXp0xCy33offS7cLkh3f34rheTjlbIAQAAAARHpUWHRDb21tZW50AAB42nNNySxJTVFIqlQISCzNUQjOSC3KTcxTSMsvUggPcM7JLEgsKtFRCChNyslMVnDJz03MzAMA0cYSC/gtqgsAAAAASUVORK5CYII=`;
const resl = require('resl');
const regl = require('regl')({
  extensions: ['OES_texture_float', 'OES_texture_float_linear']
});

const quadVerts = [
  [-1.0, -1.0, 0.0], [-1.0, 1.0, 0.0], [1.0, -1.0, 0.0], [1.0, 1.0, 0.0]
];

const quadIndices = [
  [3, 1, 0], [0, 2, 3]
];

resl({
  manifest: {
    texture: {
      type: 'image',
      src: image_data,
      parser: (data) => regl.texture({
        data: data,
        mag: 'nearest',
        min: 'nearest'
      })
    }
  },
  onDone: ({}) => {
    let fbo = regl.framebuffer({
                color: regl.texture({
                  width: 32,
                  height: 32,
                  stencil: false,
                  format: 'rgba',
                  type: 'float',
                  depth: false,
                  wrap: 'clamp'
                })
              });

    const renderToFBO = regl({
      frag: `
        precision mediump float;
        varying vec2 vUv;
        void main () {
          gl_FragColor = vec4(1,1,1,1);
        }
      `,
      vert: `
        precision mediump float;
        attribute vec3 position;
        varying vec2 vUv;

        void main() {
          vUv = (position.xy + 1.0)/2.0;
          gl_Position = vec4(position, 1);
        }
      `,
      attributes: {
        position: quadVerts
      },
      elements: quadIndices,
      uniforms: {
      },
      framebuffer: regl.prop('fbo')
    });

    renderToFBO({fbo: fbo});

    var bindFBO = regl({framebuffer: fbo});   bindFBO(() => {
      console.log(regl.read());
    });

  }
});

Yeah, because that feature isn't yet supported by the framework yet. But we forgot to mention that in the docs. Sorry about that.
We discussed this feature in issue #97, but we decided on postponing it for the time being, since it is not possible to portably implement regl.read() for floating-point renderbuffers.
But for floating-point FBOs it is possible to do it. We'll just have to put a warning that you can't regl.read() from floating point renderbuffers, I guess.
Anyways, I will try adding this feature, and if all goes well, it should be finished in a day or so.

Alright, the feature has now been implemented, as part of PR #138.
If you now git pull the latest version of regl, the above program
should work. Please try it out.

@Erkaman It works. The demo code logs a list of 1's. Changing the color in the fragment shader changes the output to the given number including decimal etc.
One thing I wonder, what happens if you have multiple color attachments?

Hmm, then it would read from the first color attachment, I think?

@Erkaman Just asking the question because it seems like a corner case that might surprise. Thanks for your help :)

If you want to be able to read from any other color attachment, it is certainly a feature I could add.
But that should be a separate issue. So closed.

authors: Erkaman realazthat

repo: mikolalysenko/regl


text:
Option to read starting format file for an existing style file?

I'd like to start the comparison against an existing style file.
OK, so I can write a miniscript and fashion a command-line that will massage the file to the format of --startstyle, but reading a file would be convenient.

Could you please describe your use case and what result you would expect
with respect to the source files you are giving to whatstyle?

authors: dwmckee mikr

repo: mikr/whatstyle


text:
Tuple comparison

Is your feature request related to a problem? Please describe.
At Least MySQL allow "tuple" comparison, this allow write complex where clause in a much simpler way.
Describe the solution you'd like
I would like to be able to perform a query with a syntax similar to:
entityRepository.find({ [expr(["created", "id"])]: { $le: [cursor.created, cursor.id] } });

So that generates a query like
select `e0`.* from `entity` as `e0` where (`e0`.`created`, `e0`.`id`) < ('2020-06-22 12:30:30.000', 44)

Describe alternatives you've considered
Use the same query expressed in a much more complex way:
entityRepository.find(
    {
        $or: [
            { created: { $lt: cursor.created } },
            { $and: [{ created: { $eq: cursor.created } }, { id: { $lt: cursor.id } }] },
        ],
    },
);

Which generates the following query:
select `e0`.* from `entity` as `e0` where (`e0`.`created` < '2020-06-22 12:30:30.000' or (`e0`.`created` = '2020-06-22 12:30:30.000' and `e0`.`id` < 44))

Additional context
From MySql documentation:

For row comparisons, (a, b) < (x, y) is equivalent to:
(a < x) OR ((a = x) AND (b < y))

The API would probably need to look differently. expr is just an identity function to get around TS strict types, and object key needs to be a string, can't be array.
Tuple comparison itself should already work internally, it is currently used for composite keys (e.g. in where in queries for composite PKs). Btw it works for all supported SQL drivers (sqlite is a bit more verbose as you need values() in the mix).
Btw this might already work:
entityRepository.find({ [expr('(e1.created, e1.id)')]: { $lte: [cursor.created, cursor.id] } });

Yeah, the second approach it's working. Something as entityRepository.find({ [row('created', 'id')]: { $lte: [cursor.created, cursor.id] } }); with TS auto completed for the rows names it would be better :wink:, but this is enough for me.
What is ~~~?
Thanks you.

We can support what you suggested, this can happen behind the scenes. The tripple tilde is how composite keys are handled internally, so we have a single key in queries, so exactly this use case.

with TS auto completed for the rows names it would be better 😉, but this is enough for me.

That probably won't fly, there is no context inside the expr method, you'd have to pass the generic type argument explicitly like expr<User>(['name', 'email']) (we can definitely have such type arg, optional).

repo: mikro-orm/mikro-orm


text:
Cannot use v5.4.0 with ts-node on Node v16

Describe the bug
After upgrading to v5.4.0 I can no longer run npx mikro-orm debug (or use it in any other way) if ts-node is involved. It has something to do with how dynamic imports are handled now.
I did make it work tho by running it like this:
node_modules/.bin/ts-node-esm node_modules/@mikro-orm/cli/cli debug

also like this (when running my app, not the mikro-orm's CLI itself):
node --inspect=0.0.0.0:9229 --loader ts-node/esm bootstrap.ts

Prior to the upgrade, it did work out of the box.
Everything seems to be fine outside the ts-node's context (e.g. when running compiled JS).
CLI
npx mikro-orm debug
Current MikroORM CLI configuration
 - dependencies:
   - mikro-orm 5.4.0
   - node 16.17.0
   - typescript 4.6.4
 - package.json found
 - ts-node enabled
 - searched config paths:
   - /path/to/my/project/config/mikro-orm.config.override.ts (not found)
   - /path/to/my/project/config/mikro-orm.config.ts (found)
   - /path/to/my/project/config/mikro-orm.config.js (not found)
   - /path/to/my/project/mikro-orm.config.ts (not found)
   - /path/to/my/project/mikro-orm.config.js (not found)
- configuration not found (Unknown file extension ".ts" for /path/to/my/project/config/mikro-orm.config.ts)

tsconfig.json
{
    "compilerOptions": {
      "target": "es2021",                       /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
      "module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
      "lib": ["es2021", "DOM"],                 /* Specify library files to be included in the compilation. */
      "declaration": true,                      /* Generates corresponding '.d.ts' file. */
      "sourceMap": true,                        /* Generates corresponding '.map' file. */
       "outDir": "build",                       /* Redirect output structure to the directory. */
      "strict": true,                           /* Enable all strict type-checking options. */
       "strictPropertyInitialization": false,  /* Enable strict checking of property initialization in classes. */
       "alwaysStrict": true,                  /* Parse in strict mode and emit "use strict" for each source file. */
       "noUnusedLocals": true,                /* Report errors on unused locals. */
       "noUnusedParameters": true,            /* Report errors on unused parameters. */
       "noImplicitReturns": true,             /* Report error when not all code paths in function return a value. */
       "noFallthroughCasesInSwitch": true,    /* Report errors for fallthrough cases in switch statement. */
      "moduleResolution": "node",               /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
      "rootDirs": [                             /* List of root folders whose combined content represents the structure of the project at runtime. */
      ],
      "types": [                                /* Type declaration files to be included in compilation. */
          "node",
          "mocha"
      ],
      "esModuleInterop": true,                  /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
      "experimentalDecorators": true,           /* Enables experimental support for ES7 decorators. */
      "emitDecoratorMetadata": true,            /* Enables experimental support for emitting type metadata for decorators. */
      "resolveJsonModule": true,
      "forceConsistentCasingInFileNames": true
    }
  }

Additional context
I'm not actually using ESM in my app. This app remembers NodeJS v8 :)
Versions

Dependency
Version

node
16.17.0

typescript
4.6.4

mikro-orm
5.4.0

your-driver
MySQL

Not just 16.x. I'm running in to this with node 18.7.0. It happened after I upgraded to 5.4.0 from 5.3.1.

Same here after upgrading from 5.3.1 to 5.4.0....

Same thing here using after upgrading to 5.4.0

v5.3.0 doesn't work either. v5.2.0 does work but it breaks in typescript v4.8.2 when using the PostgreSQL driver: Type 'PostgreSqlDriver' does not satisfy the constraint 'IDatabaseDriver<Connection>'.

@alex996 I think that is a separate issue. This is regarding ts-node improperly rejecting .ts files when parsing the config file from the cli. See @XanderEmu's example output above.

@jblyberg It's unrelated but I mentioned it because staying on v5.2.0 isn't viable either unless you don't upgrade TypeScript.

I was able to work around this issue by setting NODE_OPTIONS="--loader ts-node/esm" and wound up putting it in my script definition until this issue is sorted:
"orm:migrate:create": "NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:create",
"orm:migrate:up": "NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:up",

Ouch, I thought this is ESM only issue, totally forgot to test the CLI. WIll fix it in a moment.
Since v5.4 its possible to provide your own dynamic import implementation, so you can also do this explicitly (in CJS projects):
dynamicImportProvider: id => require(id)

(This is exactly how I am going to fix it, enforcing this when initializing the ORM from CLI context.)

I tried with both 5.3.1 and 5.4.0 and I keep getting this when I run the migrations command (yarn mikro-orm migration:create --initial):
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/shah/Documents/repos/UmmahConnect/packages/domain/src/migrations/config/db-config.ts
at new NodeError (node:internal/errors:371:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:87:11)
at defaultGetFormat (node:internal/modules/esm/get_format:102:38)
at defaultLoad (node:internal/modules/esm/load:21:14)
at ESMLoader.load (node:internal/modules/esm/loader:359:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
at new ModuleJob (node:internal/modules/esm/module_job:66:26)
at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
at async Promise.all (index 0) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
Using commonjs and also tried using dynamicImportProvider: (id) => require(id),

I tried making the suggested change in the mikro-orm.config.ts file, in the options setting:
const MikroOrmConfig: Options = {
type: 'mysql',
    ...
entities: [`${__dirname}/**/*.entity.js`],
entitiesTs: [`${__dirname}/**/*.entity.ts`],
namingStrategy: EntityCaseNamingStrategy,
loadStrategy: LoadStrategy.JOINED,
highlighter: new SqlHighlighter(),
dynamicImportProvider: id => require(id),

and this did not fix my error attempting to run the migrations from the CLI, using 5.4.0.

Looks like it was just about the debug command.

@B4nan I just pulled the latest dev release and it's still throwing the same Unknown file extension ".ts" error... do we need to modify our ormconfig after using that release?

It works fine for me with dev 13, can you create a repro?
https://stackblitz.com/edit/mikro-orm-repro-wcqjfb?file=package.json

Lemme look into it more. If I can repro it, is a repo ok or do you want a repro on stackblitz or something? I haven't worked too much with them so I'm a bit of a noob over in those environments 😅

Well, I dont mind a repo, but I kinda just proved it works in that stackblitz :] Or is it some specific command? I am trying debug and schema:create -d usually.

And for more context, here's the script I use with local development:
ts-node-dev --exit-child --watch .env.local --ignore-watch ../web/.next --files --rs --respawn src/index.ts
The same issue occurs with ts-node-dev, which I guess shouldn't be surprising 😅

Oh I see, the fix was only about CLI as the OP was about CLI.
We can run the same ts-node detection logic as we have in the init method and do the same automatically to support such use case.
But the workaround mentioned above will help with this too, just add dynamicImportProvider: (id) => require(id), to the ORM config.

Gotcha. Want me to open a new issue for that fix?

Actually we dont need to detect ts-node at all, it makes sense to move the fix so its executed when creating the config object, always based on the type: module in package.json.

let me know if next dev version works without that

@B4nan doesn't look like it did ☹ Repro

Its not published yet https://github.com/mikro-orm/mikro-orm/actions/runs/3017061503

Hahah whoops... I saw you pushed today and just assumed. My bad! I'll check when it's up 😆

@B4nan same result after pulling in dev.16 😔 I tried with and without "type": "module" in the package.json

Lol, right, because I fixed it only for the path where you dont provide the options to init... :D I am glad I gave this a bit more time to settle instead of rushing with hot fix releases :]

Well I appreciate you trying to fix it so quickly!!! So you get kudos in my book haha

This dev-16 build addressed my issue as well, which was with the command line, but thought I would confirm for you.

Looks like I managed to break it in dev.17 again :D Let me try once again.

All good, it was wrong repro with ESM project, where this still requires the some extra configuration (e.g. the ts-node/esm loader).

Hey everyone! I'm quite inexperience in all things Java-/TypeScript, SvelteKit and Mikro-ORM. Currently trying to gain understanding I ran into this very issue (or a very similar one). Same error on Mikro-ORM 5.6.0. Here's a reproduction: https://stackblitz.com/edit/node-cq9rax?file=package.json.
Possibly I'm doing something wrong. Help and/or bugfix would be appreciated.

You should be using npx mikro-orm-esm debug instead in ESM projects, and AFAIK it won't work in stackblitz, but I just tried and it works fine locally.

You should be using npx mikro-orm-esm debug instead in ESM projects, and AFAIK it won't work in stackblitz, but I just tried and it works fine locally.

Thanks for the pointer. I got it working that way.
You're also right about stackblitz: I tried to copy what works on my Linux system there and somehow the Mikro-ORM CLI, even it it is started as mikro-orm-esm will still look for {src/,}mikro-orm.config.js instead of .ts files. It even ignores "mikro-orm"."configPaths" from the package.json. Forcing ts-node with "mikro-orm"."useTsNode" = true also does nothing.

You're also right about stackblitz: I tried to copy what works on my Linux system there and somehow the Mikro-ORM CLI, even it it is started as mikro-orm-esm will still look for {src/,}mikro-orm.config.js instead of .ts files. It even ignores "mikro-orm"."configPaths" from the package.json. Forcing ts-node with "mikro-orm"."useTsNode" = true also does nothing.

That's probably because you did not install ts-node - TS files are ignored without it being installed. But with stackblitz things don't work even if you install it :] The TS file gets imported and fails to recognize the extension as in the OP.

You're right! Thanks again for the help.

You should be using npx mikro-orm-esm debug instead in ESM projects, and AFAIK it won't work in stackblitz, but I just tried and it works fine locally.

This fixed it for me! 🎉

I'm having this issue with next js, does anyone have any ideas how to solve it?


text:
Question about locking table while inserting new record

I want to lock a table while inserting a new record into it. I tried reading the documentation but couldn't find the proper solution. Here is an example code:
const newTransaction = new Transaction(data);
const account = await repo.findOneOrFail({ user }, ['transactions']);
account.transactions.add(newTransaction);
await repo.flush();

Since docs were a little confusing for me, I tried using the PESSIMISTIC_WRITE lock but couldn't figure out how to.

I thought locking is for reading, you dont need to lock for writes.

What table would you like to lock here? I don't think you need locking in your example. In v4 you don't even need to load the transactions collection to add to it.

Consider this example:
User requests for invoice generation multiple times in parallel. If there's no lock for writing, then you would end up with multiple invoices with the same payment price. But only one invoice should be generated and other requests should fail.
Is there any other way to achieve this locking behavior?

I thought that I could lock the transaction table so when inserting multiple items only the first item would be valid.

I don't think this is how locking in SQL works. Can you show me what queries would you like to execute (without the ORM being involved)?
You can lock a row in a db table, but not the table as a whole (or maybe it is possible to lock the whole table in terms of all rows, but not for inserts (at least I though so - again, if you show me what SQL you want to get, it's a different story).

I thought that I could lock the transaction table so when inserting multiple items only the first item would be valid.

How would that work? What you say would basically mean to block all requests when something is being processed, making everything sequential.

I'm new to SQL. I don't know if it's possible or not. I was just guessing. It seems that there's no solution for that.
Sorry for the issue.

I could imagine that you could achieve that by adding a bool column like adding_tx to the user entity, and inside explicit transaction read that user together with condition for adding_tx = falseto ignore those that are already being processed by another request. As the first query inside the TX update theadding_tx = true, as the last one update it back to adding_tx = false`.

Well, I guess in MySQL u can lock table (mysql doc reference) for read/write.

MySQL enables client sessions to acquire table locks explicitly for the purpose of cooperating with other sessions for access to tables, or to prevent other sessions from modifying tables during periods when a session requires exclusive access to them.

Also I suppose that you can lock not only whole table, but specificly the row you are working with (see here).
You can do this by just sending some raw SQL.


text:
fix(query-builder): added more tests for 'or' and 'and' combined

NOT READY TO BE MERGED.

So I managed to get all tests passing, there are some extra parens but only in those complex and/or combinations (I had to adjust only single query test in the end).

Btw you had one thing wrong in the tests - $not operator can't be used with arrays, if you want not (... and ...) then you need to use $not: { $and: [...] }, or just $not: { ... } as object keys will be $anded too. Following is equal:
qb.select('*').where({
  $or: [
    { $not: { name: 'value3', email: 'value4' } },
    { $not: { $and: [{ name: 'value3', email: 'value4' }] } },
  ],
});


text:
fix pickling ServerDataStream and make it lazy

Two changes:

pickling an unpickled stream used to fail
I would really like ServerDataStream to postpone establishing the connection until it's really necessary for flexibility reasons. Also, it was kind of asymmetric so far that in during the construction it connects immediately but it doesn't so when unpickled.

I don't see where you call connect(). Should it lazily connect when you access context?

get_data() calls connect()
On Wed, 19 Apr 2017 at 11:48 dmitriy-serdyuk notifications@github.com
wrote:

I don't see where you call connect(). Should it lazily connect when you
access context?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mila-udem/fuel/pull/386#issuecomment-295318299, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAn8Yq3-SCd19Ay-pWmhKSPTLq8kf1oaks5rxizigaJpZM4NBraC
.

Ok, LGTM then.

authors: dmitriy-serdyuk rizar

repo: mila-udem/fuel


text:
Problem with version 1.1.0

Hi, I have error
ERROR in ./~/aesthetic/index.js Module not found: Error: Can't resolve './lib/Aesthetic' in 'C:\Git\dem-afterlife\src\dem-afterlife-ui\node_modules\aesthetic'  @ ./~/aesthetic/index.js 8:18-44  @ multi babel-polyfill aesthetic aesthetic-adapter-jss history jss jss-camel-case jss-default-unit jss-expand jss-extend jss-nested jss-props-sort jss-vendor-prefixer raven-js react react-dom re act-notification-system react-redux react-router react-router-redux redux redux-saga webpack-hot-middleware/client?reload=true
As I see - node_modules\aesthetic is hadn't folder Lib and all necessary files.
Please, can you check it?

What packages are you using?

authors: AndreyShpilevoy milesj

repo: milesj/aesthetic


text:
Why you shouldn't accept PRs without reading them

Very pull request. Such Github. Wow

Lol

:( y u reject my pull request, it was such wow :(((

authors: milesmcc mmearly


text:
Automatically update geoip database

Currently, the geoip database is only updated when there is a new release, but outdated geoip data will lead to some mistakes in identifying countries, especially when there is no new release for a long time.
Maybe we can provide an environment variable to use the user's maxmind license_key to automatically update the geoip library on a regular basis? For users who do not care about the accuracy of the country, they can use the database in the docker by setting the environment variable to empty string.
If this is difficult to implement, you can also schedule a cronjob on the host which use docker exec to update it. This is what I do now. This requires additionally installing curl in the container.

Yeah we could definitely do something like this, though tbh I think the better solution is honestly to just release more frequently.

(And that's on me!)

repo: milesmcc/shynet


text:
Aio ctx number equal to omp threads number, and search rps increase when ctx less than the size of thread pool.

Aio ctx number equal to omp threads number, and search rps increase when ctx less than the size of thread pool.

assign @hhy3

repo: milvus-io/knowhere


text:
[Suggestion]Add related_key to doc front-matter where applicable

Note: This repository is ONLY used to solve issues related to DOCS.
For other issues, please move to other repositories.

Is there anything that's missing or inappropriate in the docs? Please describe.
Most doc pages are missing a related_key field in front-matter.
Describe your suggestion
Choose one suitable keyword from the Google doc  and add it to the front-matter of each applicable page.

Kindly note that we have listed several related keywords (marked in red) in the Google doc. Please only choose the most relevant one and add it to the front matter.

A good example would be: see screenshot
Additional reference
https://docs.google.com/document/d/1d07zPm6Ltr8UxY3CwOowGSjPC9Btd9BOUqociBwoJU4/edit?usp=sharing

I'd like to take this up!

/assign @kartikcho

@kartikcho Thanks for you interest in contributing to Milvus! I have assigned this issue to you.

authors: YiyunNi claireyuw kartikcho

repo: milvus-io/milvus-docs


text:
Implement image caching functionality using Cloudflare KV

Just as the title says.
The current code is generating an image every time!
The user experience is poor and we would like to improve it!

Closed due to correspondence

repo: minagishl/hono-avatars


text:
集成druid-spring-boot-starter 1.2.8 ，无法正常登陆，总是提示用户名密码错误，同样的配置在springboot中整合druid-spring-boot-starter 可正常登陆

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>

        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-logging</artifactId>
        </dependency>

        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-mybatis-enhance</artifactId>
        </dependency>

        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-mybatis-pageable</artifactId>
        </dependency>

        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-swagger</artifactId>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>

        <!-- 阿里数据库连接池 -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <version>1.2.8</version>
        </dependency>

       <dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct</artifactId>
            <version>${mapstruct.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct-processor</artifactId>
            <version>${mapstruct.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.inject</groupId>
            <artifactId>javax.inject</artifactId>
            <version>${javax.inject.version}</version>
        </dependency>

数据库数据可以正常访问，只是监控界面无法打开

druid 配置信息
spring:
  #druid数据源连接池
  datasource:
    druid:
      driver-class-name: com.mysql.cj.jdbc.Driver
      url: jdbc:mysql://localhost:3306/api-boot-admin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
      username: root
      password: root
      type: com.alibaba.druid.pool.DruidDataSource  #明确指明使用druid

      initialSize: 5
      minIdle: 5
      maxActive: 20
      maxWait: 60000
      timeBetweenEvictionRunsMillis: 60000
      minEvictableIdleTimeMillis: 300000
      validationQuery: SELECT 1 FROM DUAL
      testWhileIdle: true
      testOnBorrow: false
      testOnReturn: false
      poolPreparedStatements: true
      #   配置监控统计拦截的filters，stat:监控统计、Log4j:日志记录、wall:防御sql注入
      # filters: stat,wall,log4j
      maxPoolPreparedStatementPerConnectionSize: 20
      useGlobalDataSourceStat: true
      connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
        # 通过 connection-properties 属性打开 mergeSql 功能；慢 SQL 记录
      filter:
        wall:
          enabled: true
        stat:
          enabled: true
          log-slow-sql: true
          slow-sql-millis: 10000
          merge-sql: true
        # 配置 DruidStatFilter
      web-stat-filter:
        enabled: true
        url-pattern: /*
        session-stat-enable: true
        profile-enable: true
        exclusions: '*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*'
      # 配置 DruidStatViewServlet
      stat-view-servlet:
        enabled: true
        # IP 白名单，没有配置或者为空，则允许所有访问
        allow:
        # IP 黑名单，若白名单也存在，则优先使用
        deny:
        # 禁用 HTML 中 Reset All 按钮
        reset-enable: false
        # 登录用户名/密码
        login-username: root
        login-password: 123
      aop-patterns: com.druid.*

@randeexiong 是不是配置用户名密码的方式不太对，如果没有引入security依赖，apiboot不会限制登录路径，而且那个登录地址也是druid提供的

同样的配置，用 druid-spring-boot-starter 和 spring-boot-starter-web 是可以正常进入druid的监控界面的

可以访问http://localhost:8080/druid/index.html
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-mybatis-enhance</artifactId>
        </dependency>
        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-ssh-agent</artifactId>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <version>1.2.11</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>
    </dependencies>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.minbox.framework</groupId>
                <artifactId>api-boot-dependencies</artifactId>
                <version>2.3.8</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

spring:
  datasource:
    url: jdbc:mariadb://127.0.0.1/metadata?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&allowPublicKeyRetrieval=true
    username: developer
    password: iamadeveloper
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      filter:
        wall:
          enabled: true
        stat:
          enabled: true
          log-slow-sql: true
          slow-sql-millis: 10000
          merge-sql: true
        # 配置 DruidStatFilter
      web-stat-filter:
        enabled: true
        url-pattern: /*
        session-stat-enable: true
        profile-enable: true
        exclusions: '*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*'
      # 配置 DruidStatViewServlet
      stat-view-servlet:
        enabled: true
        # IP 白名单，没有配置或者为空，则允许所有访问
        allow:
        # IP 黑名单，若白名单也存在，则优先使用
        deny:
        # 禁用 HTML 中 Reset All 按钮
        reset-enable: false
        # 登录用户名/密码
        login-username: root
        login-password: 123

有点搞蒙了，我本机的就是不行
有问题的代码我已经上传github，地址  https://github.com/xiungfi/api-boot-cbrc.git
启动前把代码改成，要不会报循环依赖，无法正常启动
<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.5</version>
    </parent>

找到原因了 ，logging日志组件问题 ，只要添加这个组件依赖，druid监控登陆就无法正常登陆
        <dependency>
            <groupId>org.minbox.framework</groupId>
            <artifactId>api-boot-starter-logging</artifactId>
        </dependency>

authors: hengboy randeexiong

repo: minbox-projects/api-boot


text:
Documentation API

There are missing function and class descriptions in the API: https://mind-inria.github.io/hidimstat/api.html
For the classes:
DnnLearner, DnnLearnerSingle, RandomForestClassifierModified, RandomForestRegressorModified
However, the methods of the classes are described in short sentences.
For the function:
dcrt_zero, desparsified_group_lasso, gaussian_knockoff_generation, aggregate_medians, empirical_snr, permutation_test, step_down_max_T, generate_2D_weight, generate_3D_weight, multivariate_simulation, multivariate_temporal_simulation, stat_coef_diff, pval_corr_from_pval, pval_from_scale, zscore_from_cb, pval_from_cb, two_sided_pval_from_zscore, two_sided_pval_from_cb, pval_from_two_sided_pval_and_sign, two_sided_pval_from_pval and the utils functions.
Short description of simu_data.

I guess some of the functions should remain private, but indeed we have to document the public one comprehensively.

If utils becomes _utils, they become clearly private.
but here private means: not exposed in the public API. It could still be used by another module of Hidimstat. See e.g. Nilears policy on this.

authors: bthirion lionelkusch

repo: mind-inria/hidimstat


text:
Publishing and changelog updates

Add "release:semantic" and "changelog" npm scripts and developer publishing docs

👍

authors: brentertz kylegach

repo: mineral-ui/mineral-ui


text:
Climbing sound

Would add to the immersion for sure. Something like this. 🔈

I've added some sound from that source, let me know if it works for you (both technically and in terms of ambience)

They felt right but a bit long so I cut three ones out from that same source which sounds a little bit better in my opinion. See PR #2.

Sure, sounds fine. :)

In multiplayer, I've noticed the creak sounds are heard from quite afar. Not sure how to lower the distance in the current code myself, I figured I let you know here instead.

The sound is called "rope_creak", the rope and rope_end nodes defined in ropeboxes.lua have it in their soundsets. Sounds are defined as a SimpleSoundSpec which can either be a string with the name of the ogg file or a table that includes the name and also a "gain" parameter to change the sound's volume. I've updated the rope_creak sound to have a gain of 0.5, so it should be half as loud now, is that good? The most recent diff, https://github.com/minetest-mods/ropes/commit/1dd9d2de75011f08cd9bab949a206dafca0d3776, should show where to fiddle with that value to adjust it further.

I got confused by the SimpleSoundSpec, hadn't seen it before. I think the loudness wasn't the problem but that you could hear the sound from great distance. Going to try max_hear_distance when I've the time.

I'll go with whatever parameters you think work well, I don't have a multiplayer server to test this out on easily. :)

authors: FaceDeer tacotexmex

repo: minetest-mods/ropes


text:
Wiki: Plaintext password emailed in confirmation

Maybe it's a problem, maybe it's not. See https://security.stackexchange.com/questions/61215/the-registration-confirmation-email-contains-my-password-do-they-keep-it-in-pla
If passwords are stored in plaintext: please fix, of course
And if they aren't: please alleviate our worries in that same email. :)

This is done on the MediaWiki side. I don't think we can do much about it, since we'd rather not spend time doing customizations that would be lost when upgrading.

Yeah, we didn't write the software used - it's the same software used on Wikipedia. Perhaps an update will fix this

Someone has access to the database to check, and if it's not: Hooray! Finding and then changing the email text sounds like not a lot of work
Passwords aren't supplied by users, as creating an account is done by a mod, after a request in the forum thread
Though some of us do use password managers, "everyone does" would be an unreasonable assumption

=)

Sending the password by email when someone else creates the account is intentional and desirable. You can change your password afterwards

authors: Calinou Jonta rubenwardy


text:
Add a license to the repository

I recently came across your project my-qiskit-quantum-challenge-2020-codes and I noticed that the repository github.com/mingweii/my-qiskit-quantum-challenge-2020-codes currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Thank you for letting me know. I just added a LICENSE file.

Thanks!

authors: cbjuan mingweii


text:
🛑 [MineVN] Maven repo & resource pack server is down

In aac9da9, [MineVN] Maven repo & resource pack server (https://pack.minevn.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [MineVN] Maven repo & resource pack server is back up in fe5a397 after 2 hours, 10 minutes.


text:
🛑 MineVN Maven & Resource Pack is down

In d6e1d0a, MineVN Maven & Resource Pack (http://app.minevn.net/pack) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MineVN Maven & Resource Pack is back up in fbed745.


text:
🛑 MineVN Maven & Resource Pack is down

In e9009a5, MineVN Maven & Resource Pack (http://app.minevn.net/pack) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MineVN Maven & Resource Pack is back up in dc8b3d9.


text:
broken navigation in unread feed

next or previous only jump to unread article.

I don't know if it a expected behaviour, i just use miniflux recently.
But it seem a bit confusing, the next, previous link always show up in unread article and the keyboard shortcuts description show "Go to next,previous item (page)".

repo: miniflux/miniflux


text:
What is different between main.js and main-built.js

1.I never use requirejs before and I try switch between main.js and main-built.js and I just find that main.js can not render page and main-built.js is OK.
2.I try to follow the README and change a little bit of code then use r.js to compile(maybe) and I can edit the form builder my use

but not

So I think in README you write that I should use main.js for the compiled code version not the another way around like I meet.
Thank you

Read http://requirejs.org/ and try again

authors: minikomi pacozaa

repo: minikomi/Bootstrap-Form-Builder


text:
[Enhancement] Need ESM support

Thanks for this awesome light weight argv parser. Just discovered it but unfortunately I can't use this in my project as this package doesn't support ESM. It would be nice if ESM import is supported. Thanks.
This doesn't work
import minimist from "minimist"

const argv = minimist(process.argv.slice(2))

What doesn't work about it? node can import CJS just fine.

repo: minimistjs/minimist


text:
Instrument Travis CI

Maybe @harshavardhana can help us with this later.

What do you mean instrument here?

Enable Travis :cake:

Then this is done.

authors: donatello dvaldivia harshavardhana

repo: minio/minio-rs


text:
env 구현

[x] 사전 API 생성

[x] 문자열 값 추가
[x] 문자열 값 삭제
[x] 문자열 값 탐색

[ ] path API 생성
[x] env 저장용 사전 생성

[x] 인덱스 탐색
[x] 출력

사전 사용 모습

env 출력 예시

path의 실행  모습


text:
make registry type configurable via dynamic variables

Currently the ASB addon will grab APB images from the upstream dockerhub repo/org.  Adding the following as a dynamic variable allows the user to configure another registry type via '--addon-env'.

REGISTRY_TYPE
REGISTRY_NAME
REGISTRY_URL

@LalatenduMohanty and/or @budhrg could you review this PR please?

@johnkim76  as per this repository guideline [1] we need issue for each patch. I have created #95 for this PR.  Please update the issue with some context and update the commit message too.
[1] https://github.com/minishift/minishift-addons/blob/master/CONTRIBUTING.adoc#contributing-patches

@johnkim76 Rest of the things looking fine to me. May be @eriknelson can a look.

repo: minishift/minishift-addons


text:
599 - Extend Bookings

Add Extension tables to DB - extend the GET /premises/{id}/bookings endpoint to return the current extensions in the body.
Add POST /premises/{id}/bookings/{booking id}/extensions endpoint to create an extension:

Extension must be to a date later than the current departure date

fedb60362ab615557fc4e3f030486520d6a3d461 seems to be an empty commit BTW 😃

authors: brownbearsoftware pezholio

repo: ministryofjustice/approved-premises-api


text:
Update under age page copy

This pull request depends on https://github.com/ministryofjustice/c100-application/pull/822 to be merged first.
This commit replaces the copy and adds information about which court the person
needs to get in contact with.

@zheileman I've tested the assignment of @court instance variable, I've done it in a separate commit so you can see it in isolation here: https://github.com/ministryofjustice/c100-application/pull/827/commits/5cae60b8469a0619b0de082694af515fac03a4c7


text:
(1234a) Pre-risks and alerts tidy up

Changes in this PR
A few small tidy ups before the main 1234 PR
Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes API for this change to work...

[ ] ... and they have been released to production already

Post-merge

[ ] This adds, extends or meaningfully modifies a feature...

[ ] ... and I have written or updated an end-to-end test for the happy path in the Accredited Programmes E2E repo

[ ] This makes new expectations of the API...

[ ] ... and I have notified the API developer(s) of changes to the contract tests (Pact), or the API is already compliant

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

 Add OASYS Risks and alerts page (L)


text:
Operation 'get pacts green'

What does this pull request do?
major refactoring of the pact contract test code - see the commit messages for more details.
there is currently only one functional change in the application code, this was picked up by one of the failing tests, so that's good news.
before:

What is the intent behind these changes?
get the pact tests green

Pact is green - hooooooray

Let's make it required? 😁

authors: sldblog tomsmyers


text:
AP 587 Retry failed email notifications

JIRA AP-587
This PR addresses 2 issues.
Failed emails not being retried by Sidekiq
There were two things preventing Sidekiq handling failed email sends:

When mail send was being retried, Sidekiq was not finding the module NotifyTemplateMethods that was mixed into the mailers. Adding a require_relative pointing at the module file fixed that.
The mailer method deliver_later was not raising errors on connection failure. Changing this to the bang version fixed that: deliver_later!

With these changes in place when I disconnected my computer from the network and triggered a client journey start email, it was held in Sidekiq and retried until the connection was re-enabled.

Unknown step causing providers list of applications page to crash
While working on this bug I found another bug that I've also fixed here. If the code base changed so that a step that an application was associated with was removed, adding a link to the applications "current" location caused an error. I've made the following changes to fix that:

Changed the step path not found error raised by the flow process to use a specific error rather than a standard error.
Caught that error in the link creation helper and replaced it with a link to the start of the provider journey for that application.
Refactored the start of the provider journey so that it was defined by a Flow::KeyPoint.

No problems on UAT and reviewed by muliple devs - so merging