Is One-Click update running slow?

My RPGMaster API suite release v1.4.07 was merged successfully Monday 17th, and I've checked the Roll20 Master is up to date for RPGMaster Library, RoundMaster, InitMaster, AttackMaster, MagicMaster & CommandMaster. However, they have still not propogated to my One-Click Load test games, which are still showing v1.4.06 for all these APIs. Normally, the One-Click update propogates within 24 hours.
Is the One-Click update running very slow, or at all? There are a number of vital fixes (as well as functional upgrades) in this release, which I am waiting to check have released correctly.

Seems reasonably OK at the moment


V10-8.0.0.beta2 :: react-i18next:: You will need to pass in an i18next instance

Describe the bug
I am using v10.beta. Even though I wrapped the app like this:
// don't convert to <1></1> if simple react elements. Allows for usage of simple html elements in translations
const i18nOptions = {
    react: { transKeepBasicHtmlNodesFor: ['br', 'i', 'b', 'p', 'strong', 'bold'] },
}

export default appWithTranslation(App, i18nOptions)

I am getting the error:
react-i18next:: You will need to pass in an i18next instance
From inspecting the components I see that the wrapping wors, but no Instance is provided

Occurs in next-i18next version
https://github.com/isaachinman/next-i18next/tree/next-v10
Steps to reproduce
I hope the pasted code suffices
Expected behaviour
Would expect the i18n object to be available/instantiated, am I missing something?
OS (please complete the following information)

Device: MBpro 2020 16"
Browser: latest Chrome

Additional context
I am loading components dynamically (i.e. dynamic(import('....')) ) in a chat app, the page does not contain any text, however the components do, they would love to have access to i18n.

Do you have a reproducible repository?

Do you have a reproducible repository?

@isaachinman would take some time to set up (as my project is quite large). But will do, if we can't figure it out. I thought that maybe the bug was known since the v10 beta version is quite new (I got that from another post).

@isaachinman would take some time to set up (as my project is quite large). But will do, if we can't figure it out. I thought that maybe the bug was known since the v10 beta version is quite new (I got that from another post).

@isaachinman here you go:
https://github.com/FBosler/next-i18n-dynamicComponents
This should be the bare minimum. I hope you see where my problem is coming from.
Cheers
Fabian

@isaachinman here you go:
https://github.com/FBosler/next-i18n-dynamicComponents
This should be the bare minimum. I hope you see where my problem is coming from.
Cheers
Fabian

I guess as a related question. How can serverSideTranslations set up in such a way that it passes all namespaces (i.e. translation files) but also accepts i18nOptions?

I guess as a related question. How can serverSideTranslations set up in such a way that it passes all namespaces (i.e. translation files) but also accepts i18nOptions?

@FBosler This sounds like a general architectural problem, and not related to next-i18next. Please feel free to post on StackOverflow or similar. Best of luck!

@FBosler This sounds like a general architectural problem, and not related to next-i18next. Please feel free to post on StackOverflow or similar. Best of luck!

@isaachinman yea, I guess you are right. One question though is there a way to get all translation namespaces for serverSideTranslations or alternatively only load the needed namespaces dynamically?

@isaachinman yea, I guess you are right. One question though is there a way to get all translation namespaces for serverSideTranslations or alternatively only load the needed namespaces dynamically?

Yes, check the docs. If the docs are unclear, please post in #869. Thanks!

Yes, check the docs. If the docs are unclear, please post in #869. Thanks!


Build error - Type 'string' does not satisfy the constraint 'object'.

When trying to add it to my project using:
  npm install @angular-redux/form

I'm getting the following error:
Asafs-MBP:MyProject asafron$ npm install @angular-redux/form

<EMAIL_ADDRESS>postinstall /Documents/MyProject/node_modules/@angular-redux/form
npm run build

<EMAIL_ADDRESS>prebuild /Documents/MyProject/node_modules/@angular-redux/form
npm run clean

<EMAIL_ADDRESS>clean /Documents/MyProject/node_modules/@angular-redux/form
rimraf dist

<EMAIL_ADDRESS>build /Documents/MyProject/node_modules/@angular-redux/form
ngc

Error at /Documents/MyProject/node_modules/@angular-redux/form/source/state.ts:221:25: Type 'string' does not satisfy the constraint 'object'.
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.9.1
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: ngc
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'ngc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @angular-redux/form package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ngc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @angular-redux/form
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @angular-redux/form
npm ERR! There is likely additional logging output above.

+1
Here is my npm-debug.log
npm-debug.log.txt

+1
It's a blocker to even install it

npm ERR<EMAIL_ADDRESS>postinstall: npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'npm run build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @angular-redux/form package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @angular-redux/form
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @angular-redux/form
npm ERR! There is likely additional logging output above.
npm verb exit [ 1, true ]

@javico2609 @Sieabah @Cibico99 @asafron - hope it will be still useful for you!
I found a solution how to install @angular-redux/form to my project: try to decrease you TypeScript version to 2.1.6 in package.json instead of all you have above this version.
Here is explanation how I explore this solution: I have two identical angular2 projects, based on the single generator. So for the first one @angular-redux/form installs perfectly, here it is angular2-redux. And for another one it installs with this error "Error at /Documents/MyProject/node_modules/@angular-redux/form/source/state.ts:221:25: Type 'string' does not satisfy the constraint 'object'." yet  I have found the only one cruel difference between them - it is TypeScript lang version. Project, where I couldn't install @angular-redux/form TypeScript version was ^2.2.1 vs ^2.1.6 in project with no issues with @angular-redux/form installation.
Hope you doesn't waste your time reading that))) Good luck!

@aquile
Thanks, I could install the library well apparently it is incompatibility with typecript

Angular-redux form 6.1.1 has been released with a number of toolchain fixes.


SSL Error connecting to a redis cluster

I'm trying to connect to my Redis cluster 'Elasticache' through the envoy. when I do it through the TCP filter, it works fine, but the connection pool doesn't work. on the other hand, I've tested the Redis filter and it works perfectly on my local with the connection pool, but when I try to implement it on AWS it doesn't work 'I'm using Redis-py as a client ' and it gives me the following error:
    sslsock = context.wrap_socket(sock, server_hostname=self.host)
  File "/usr/lib/python3.7/ssl.py", line 423, in wrap_socket
    session=session
  File "/usr/lib/python3.7/ssl.py", line 870, in _create
    self.do_handshake()
  File "/usr/lib/python3.7/ssl.py", line 1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1091)

config file is :
admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address:
      protocol: TCP
      address: <IP_ADDRESS>
      port_value: 1936
static_resources:
  listeners:
  - name: redis_listener
    address:
      socket_address:
        protocol: TCP
        address: <IP_ADDRESS>
        port_value: 1999
    filter_chains:
    - filters:
      - name: envoy.filters.network.redis_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.redis_proxy.v3.RedisProxy
          stat_prefix: redis_proxy
          settings:
            op_timeout: 4s
          prefix_routes:
            catch_all_route:
              cluster: redis_cluster
  clusters:
    name: redis_cluster
    type: STRICT_DNS
    connect_timeout: 10s
    dns_lookup_family: V4_ONLY
    connect_timeout: 4s
    load_assignment:
      cluster_name: redis_cluster
      endpoints:
        lb_endpoints:
          endpoint:
            address:
              socket_address:
                address: my-redis
                port_value: 6379
    upstream_connection_options:
      tcp_keepalive:
        keepalive_interval: 5
        keepalive_probes: 15
        keepalive_time: 30
    upstream_config:
      name: envoy.upstreams.tcp.generic
      typed_config:
        "@type": type.googleapis.com/envoy.extensions.upstreams.tcp.generic.v3.GenericConnectionPoolProto

Thank you in advance.

This listener is not configured for TLS, so if the client is expecting that, it will produce the message you describe.

@msukalski @HenryYYang @weisisea are CODEOWNERS and can help with any followups here.

envoy.filters.network.redis_proxy

Redis works with TCP traffic, and as I saw online this listener is used for Redis databases, and I've tried it on my local Redis database and it worked but it shows this error for Elasticache 'Redis on AWS'

any solution please???


build(pack): change deprecated/removed pack CLI flags

Changes the various pack commands in the Makefile to no longer use deprecated (and removed in the latest version) flags for the pack CLI.

Landing now to continue making progress


Dont blame others for your fails. PufferPanel is great....
 These developers spend their presous time developing this awesome panel, at no cost to you. If you asked in a more polite matter, I would be more than happy to assist you. Your should seriously read the license:
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
This is clearly user error, and I can tell you are defiantly exaggerating. Go buy multicraft and think about what you've said. Bye.

i dont have to be polite when i just lost all my server files because of a panel. that still doesnt work mind you. i followed every step on the docs. Nowhere does it say what url its instaleld under. domain.com/panel would be nice, but they isnt one

@ShayBox you don't even deserve help.

im not asking for help, im telling you to fix your panel so this doesnt happen to anyone else.

ive already switched to SpaceCP private beta

Lol, these are crazy problems. I never dealed with them. Enough is enough.

  A little kindness goes a long way

well, fyi to anyone else trying to use this panel, wait until its fixed only like 30 people have used this panel. i recommend SpaceCP, Multicraft, or Spacebukkit. its better than loosing your data. and noone even cares. im sure they would care if it was there data.

I've installed this panel myself many times.  I've never had an issue.  If you read through the installation instructions, and do what they say, you'll be fine.  And I'm sure more than 30 people use this panel.  And once again, it is not broken.

If you had taken the time to read all of the documentation and take advantage of the multiple methods of support that we offer I'm sure you could have gotten the panel working properly. We are always welcome to constructive criticism and are more than willing to look at our documentation and change things to make it easier to understand (which happens fairly regularly), and we also throughly check that the documentation and installer scripts work on the systems that we list as being supported.
There is no process in the panel installation that would delete files from your server (that weren't installed by the panel), nor is there a process that would break SSH logins unless you just copy and paste code without reading what it says to do with it.
Everything you did that broke your server was your doing, not the fault of any other person or the panel in any way. Just because we say to do something doesn't mean that you should just do it blindly, common sense would dictate that enabling a firewall would also require opening up ports for other services, including SSH.


[Design]Image does not adjust there size

Expected Behaviour
Image height and width should be uniform throughout the row. Smaller images must fill the space given whereas larger images should fit in the given space.
Actual behaviour
In the attached Screenshot middle image does not fill the whole space like other images in the row.

Feel free to fix and I will merge.

Feel free to fix and I will merge.


Directive won't apply

I'm trying to use the ui-slider, but I can't seem to make it work, it just won't show anything on the div.
Here's a plunker based on the demo:
http://plnkr.co/edit/Uxdmopyj51X1kVSmGQJg?p=preview

Never mind, it was a problem when I installed jquery-ui through bower it wouldn't download the JS+CSS


Translation: Adding 7 new languages

New 7 languages to be added:

Language
ISO code
GTM

Chinese Simplified
zh_CN
_ZN_CN

French
fr
_FR

Kannada (India)
kn_IN
_KN_IN

Malay (Malaysia)
ms_MY
_MS_MY

Telugu (India)
te_IN
_TE_IN

Turkish
tr
_TR

Vietnamese
vi
_VI

This PR will be closes, I will create a new one that will be deployed for QA + GTM testing


Add helper script to identify the list of packages which requires to be migrated and their db association

Description
Add helper script to identify the list of packages that requires to be migrated and their DB association
Note that this helper was created as deprecated by default since will be removed from the project sooner
Motivation
Creates a list with the pkgs and their association to help out send emails to notify them.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 0.851%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/removed_apis.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
18

Relevant Lines:
2115

💛  - Coveralls


Conflicts during installation

What happened?
Package installation without dependency conflicts.
How to reproduce the bug
composer require tpetry/laravel-mysql-explain:
  Problem 1
    - tpetry/laravel-mysql-explain[1.0.0, ..., 1.0.2] require illuminate/contracts ^6.0|^7.0|^8.0|^9.0|^10.0 -> found illuminate/contracts[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.16] but these were not loaded, likely because it conflicts with another require.
    - tpetry/laravel-mysql-explain[1.1.0, ..., 1.3.0] require spatie/invade ^1.0 -> found spatie/invade[1.0.0, ..., 1.1.1] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires tpetry/laravel-mysql-explain * -> satisfiable by tpetry/laravel-mysql-explain[1.0.0, ..., 1.3.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require tpetry/laravel-mysql-explain:*" to figure out if any version is installable, or "composer require tpetry/laravel-mysql-explain:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Package Version
1.3.0
PHP Version
8.3.9
Laravel Version
11.15
Which operating systems does with happen with?
Windows
Notes
  Problem 1
    - tpetry/laravel-mysql-explain[1.0.0, ..., 1.0.2] require illuminate/contracts ^6.0|^7.0|^8.0|^9.0|^10.0 -> found illuminate/contracts[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.16] but these were not loaded, likely because it conflicts with another require.
    - tpetry/laravel-mysql-explain[1.1.0, ..., 1.3.0] require spatie/invade ^1.0 -> found spatie/invade[1.0.0, ..., 1.1.1] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires tpetry/laravel-mysql-explain * -> satisfiable by tpetry/laravel-mysql-explain[1.0.0, ..., 1.3.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require tpetry/laravel-mysql-explain:*" to figure out if any version is installable, or "composer require tpetry/laravel-mysql-explain:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Using the option --with-all-dependencies , it downgrades spatie/invade (2.1.0 => 1.1.1).
Is this downgrade realy needed?
Thanks.

This dependency was infact no longer needed as the workaround is no longer required. So i refactored the code and removed the dependency. You will not get any conflicts anymore with 1.3.1 😉


Implement pluggable extensions

Similar to #81 except rather than hooks that fire on events, have modules that extend the systems capabilities internally.
For those of you familiar with WHMCS you can write your own custom modules/reports/etc that are available within the platform using it's data.
This would allow netbox users to self extend the functionality in almost endless ways and help alleviate the demand on the devs so they can focus on the core.

Closing this as it's not something we're likely to implement in the near future.


Improve shutdown process when no Trezor is attached

At present an exception is generated if no Trezor is attached in AbstractHardwareWalletState due to the event message not being present.

Ready for review and close. To verify perform a hard shutdown without a Trezor and observe no exception from MultiBit Hardware.

Rebuilt multibit-hardware and MBHD. Open and close without Trezor attached. No exception in log.
Closing.


Update GitHub Action

Bumps actions/checkout from v2 to v3
Bumps peter-evans/create-pull-request from v4 to v5
Bumps xt0rted/pull-request-comment-branch from v1 to v2

What do you think about including npm dependency caching?

Thanks for this PR @st-Wook !
Tbh, the whole CI takes only 30 seconds, so even if I think it's a good idea it's probably not required yet


Exception when sorting repositories

In method apply_order_by there is error when it is trying to sort table ct_overview.
Screen from debug with values in lt_sort:

It is caused by that 'favorite' in lower case if i change it to upper case it works.

I prepared pull request with fix as per must be the name of a component in itab (uppercase characters) from https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abapsort_itab.htm#!ABAP_ADDITION_5@5@


Plans to Add i18n Support to the Docs?

Discussed in https://github.com/LazyVim/LazyVim/discussions/506

Originally posted by jcha0713 March 31, 2023
LazyVim is an excellent starting point for beginners using Neovim, and I would like to introduce this project to more (Korean) users. It would be really helpful to have i18n support in the documentation, and I would be more than happy to contribute by translating it into Korean. Is this something that could be considered?

More info at https://docusaurus.io/docs/i18n/introduction

Maybe the Chinese version is also a great project ! ! ! 👏

and maybe indonesian version too! :)

If there is a Chinese one, please let me know. I'm willing to contribute.

For Mandarin/Chinese and Malay/Indonesia, i can contribute too.

I would like to contribute to the Brazilian Portuguese version as well.

也许中文版也是一个伟大的项目

I'd be happy to help out for french.

More info at docusaurus.io/docs/i18n/introduction

Is this for the website or in neovim ?

@samusz, No. That is the website that introduces the new feature regarding supporting different languages in the framework called Docusaurus, which helps developers create their documentation very quickly. He used it for the LazyVim website.

@samusz, if you want to contribute to this repository, then you may want to add README-FR.md translate all sentences, and make a pull request.

Thanks for the shout-out @cattynip , I will propose a translation soon.


Paste from PWSH - WT

Hi
Awesome tool you made!!
I'd like to write a ps1 function that allows me to pipe into wastebin and then get the url-->
cat "Hello World!" | pasteToWaste
I tried this approach, but cannot really get anything to work, have you got an idea?
function pasteToWaste {
    if ($args.Count -eq 0) {
        Write-Error "No file path specified."
        return
    }

    $FilePath = $args[0]

    if (Test-Path $FilePath) {
        $Content = Get-Content $FilePath -Raw
    } else {
        Write-Error "File path does not exist."
        return
    }

    $uri = "http://bin.mydomain.tld"
    try {
        $response = Invoke-RestMethod -Uri $uri -Method Post -Body @{text=$Content} -ErrorAction Stop
        $url = "http://bin.mydomain.tld/$($response.key)"
        Write-Output $url
    } catch {
        Write-Error "Failed to upload the document. Error: $_"
    }
}

$WastebinServerUrl = "https://bin.mydomain.tld"
$DefaultExpirationTime = 3600  # Default expiration time: 1 hour (in seconds)
$DefaultBurnAfterReading = $false  # Default value for burn after reading setting
function ptw {
[CmdletBinding()]
param (
[Parameter(Position=0)]
[string]$FilePath,
    [Parameter(Position=1)]
    [int]$ExpirationTime = $DefaultExpirationTime,

    [Parameter(Position=2)]
    [bool]$BurnAfterReading = $DefaultBurnAfterReading
)

process {
    if (-not $FilePath) {
        Write-Host "File path not provided."
        return
    }

    if (-not (Test-Path $FilePath)) {
        Write-Host "File '$FilePath' not found."
        return
    }

    try {
        $FileContent = Get-Content -Path $FilePath -Raw

        $Payload = @{
            text = $FileContent
            extension = $null
            expires = $ExpirationTime
            burn_after_reading = $BurnAfterReading
        } | ConvertTo-Json

        $Response = Invoke-RestMethod -Uri $WastebinServerUrl -Method Post -Body $Payload -ContentType 'application/json'
        $Path = $Response.path -replace '\.\w+$'

        Write-Host ""
        Write-Host "$WastebinServerUrl$Path"
    }
    catch {
        Write-Host "Error occurred: $_"
    }
}

}
function pptw {
param (
[Parameter(ValueFromPipeline=$true)]
[string]$InputContent,
[int]$ExpirationTime = $DefaultExpirationTime,
[bool]$BurnAfterReading = $DefaultBurnAfterReading
)
begin {
$AllInputContent = @()  # Array to store all lines of input
}
process {
$AllInputContent += $InputContent  # Add each line to the array
}
end {
    try {
        # Concatenate all lines into a single string
        $CombinedInput = $AllInputContent -join "`r`n"

        $Payload = @{
            text = $CombinedInput
            extension = $null
            expires = $ExpirationTime
            burn_after_reading = $BurnAfterReading
        } | ConvertTo-Json

        $Response = Invoke-RestMethod -Uri $WastebinServerUrl -Method Post -Body $Payload -ContentType 'application/json'
        $Path = $Response.path -replace '\.\w+$'

        Write-Host ""
        Write-Host "$WastebinServerUrl$Path"
    }
    catch {
        Write-Host "Error occurred: $_"
    }
}

}
I could solve it myself, if anyone has a similar problem, the above worked for me, the function ptw (PasteToWaste) takes ptw {filepath} {time} {true/false(burn after read)} and pptw is when using the pipe, like this: cat test.txt | pptw


Are there any designs for the landing page?

I want to work on implementing the designs for the same.

@lopeselio That task is assigned to someone else as per the FCFS rule. You may have to wait until we get any result from that assignee or I would say you must start with posting some more ideas in the Open to Ideas thread.
I have some other designs for pages as well. Let me know if you can do some complex pages involving inside features of this project.

@lopeselio I have some tasks for you, if you can do it in a couple of days, let me know I will assign it to you and merge it if found suitable after requesting some changes or you make it perfect in the first shot.

Here is what you have to do, below the search bar in the above image, you have to put review cards of customers/users who have given the review.
Something like this:-https://youtu.be/O-QUBZuZlXM
Let me know if you can do so that I can assign you.

@lopeselio Are there any updates??

@lopeselio Are there any updates??

@lopeselio

I will try this out.

I am on it, can I get this done by wednesday?

I am on it, can I get this done by wednesday?

@lopeselio  Ok, do it as soon as possible since we have other contributors as well. :)

I want to run the project locally. but here the package files seem missing. Only able to access the testimonial index.html.

I assume this is a create react app? Or do we have to design the screens manually and add it to index ?

I assume this is a create react app? Or do we have to design the screens manually and add them to the index?

Actually no as of now. Because we started it to be as a react app but most of the participants are familiar with HTML, CSS so for now doing the frontend on it.


Does not work on Windows 10 x64

I have installed Unbound to use it as local DNS resolver on my system only to avoid using external DNS.
So it looks like the default config should work - but it doesn't.
The log file looks like:
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] error: udp connect failed: No error for 2001:503:c27::2:30 port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: error sending query to auth server 2001:503:c27::2:30 port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] error: udp connect failed: No error for 2001:500:a8::e port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: error sending query to auth server 2001:500:a8::e port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: response for . NS IN
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: reply from <.> <IP_ADDRESS>#53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: query response was THROWAWAY
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: response for . NS IN
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: reply from <.> <IP_ADDRESS>#53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: query response was THROWAWAY
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] error: udp connect failed: No error for 2001:500:a8::e port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: error sending query to auth server 2001:500:a8::e port 53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: response for . NS IN
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: reply from <.> <IP_ADDRESS>#53
19.12.2020 3:34:10 C:\Program Files\Unbound\unbound.exe[15248:0] info: query response was THROWAWAY

What is wrong?
Detailed log is attached: log.txt

DNS root access seems to be blocked. Try to establish a forwarding to some public dns resolvers, e.g. <IP_ADDRESS> and/or <IP_ADDRESS>.
There are many step-by-step guides out there, e.g. https://www.redhat.com/sysadmin/forwarding-dns-2

Yeah, adding
forward-zone:
name: "."
forward-addr: <IP_ADDRESS>
forward-addr: <IP_ADDRESS>
works for sure.
But the main idea was to use root access without using any public DNS.
Any idea why this access is blocked and how to overcome it?
Please note I have Unbound installed on Asus RT-AC68U router as an addon in the same network as all tested Windows system. And it works! So it means it is not provider's issue but Unbound itself (at least - Windows-based build).

It was found router had DNSFilter enabled - so that was an issue. Now everything works.


ImportError: cannot import name 'CompVisVDenoiser' from 'k_diffusion.external'

Getting this import error after installing with pip
ImportError: cannot import name 'CompVisVDenoiser' from 'k_diffusion.external' (/Users/devdesign/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/k_diffusion/external.py)
Running on m1 mac. I've installed lama before a few months back and it worked fine on the same machine. But when reinstalling currently i'm now getting this import error. Any fix?

Find a similar issue https://github.com/riffusion/riffusion-app/issues/17,   maybe downgrading diffusers to an older version would help.

do you know which version? i just tried a few but i keep getting an error saying that lama requires 0.10.2, which is the original version i had

Found the source.  There is no k_diffusion.external module in the older version of k-diffusion, please upgrade to the newest version pip install -U k-diffusion

Open an issue in diffusers: https://github.com/huggingface/diffusers/issues/2013

ok thank you!


fix fix bug of agg function used in window function and add many test cases (#40678)

Proposed changes
Issue Number: close #xxx
BP #40678

run buildall

run buildall


add faculty section in the product page

Pre-Flight checklist

[x] Screenshots and design review for any changes that affect layout or styling

[x] Desktop screenshots
[x] Mobile width screenshots

[x] Migrations

[x] Migration is backwards-compatible with current production code

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
fixes #34
What's this PR do?
add faculty section in the product page
How should this be manually tested?
Go to the course page and add faculty members
Screenshots (if appropriate)

Codecov Report

Merging #89 (8ca312f) into main (9c827ad) will increase coverage by 6.79%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #89      +/-   ##
==========================================
+ Coverage   90.49%   97.29%   +6.79%
==========================================
  Files         199      116      -83
  Lines        5747     2585    -3162
  Branches      276        0     -276
==========================================
- Hits         5201     2515    -2686
+ Misses        465       70     -395
+ Partials       81        0      -81

Impacted Files
Coverage Δ

users/urls.py

courses/mail_api.py

users/models.py

main/views.py

main/apps.py

mail/verification_api.py

users/management/commands/retire_users.py

openedx/models.py

users/views.py

conftest.py

... and 71 more

Continue to review full report at Codecov.

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

There were a few things I should have caught in the design. Sorry for these late changes:

We don't need a designation field. Description is sufficient (same as xPRO, also same as edx.org)
I think we want a carousel UI for mobile, again same as xPRO. I'm going to check on this.

@pdpinch what about the carousel on tablet or desktop as on desktop we are only showing one faculty per row on tablet?

Sorry for the hold-up @umarmughal824. We can go ahead with the "stacked" layout on mobile. If we want a carousel, we'll add it later.

Sorry for the hold-up @umarmughal824. We can go ahead with the "stacked" layout on mobile. If we want a carousel, we'll add it later.

sure, thanks

@gsidebo could you please review it as it's ready for review again.


docs(pr-template): Syntax fixes in PR template

Description
The closing underscores for two of the review checklist has been missing. The affected list items are now italic as expected.
How has this been tested?

Manually tested the changes.

Documentation changes
[Do the changes include any API documentation changes?]

[ ] Yes, this change contains documentation changes.
[x] No.

Related Links
N/A

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

[ ] Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
[ ] Changes do not include unsupported browser features, see CONTRIBUTING.md.
[ ] Changes were manually tested for accessibility, see accessibility guidelines.

Security

[ ] If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

[ ] Changes are covered with new/existing unit tests?
[ ] Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #94 (1c141b0) into main (a77eb6e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   92.35%   92.35%
=======================================
  Files         533      533
  Lines       15462    15462
  Branches     4256     4256
=======================================
  Hits        14280    14280
  Misses       1097     1097
  Partials       85       85

Continue to review full report at Codecov.

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


Add laser_retro in Visual

First PR needed for laser_retro support as discussed here: https://github.com/ignitionrobotics/ign-rendering/issues/181

Codecov Report

Merging #454 (1dd0baa) into sdf9 (32d96a6) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             sdf9     #454      +/-   ##
==========================================
+ Coverage   86.68%   86.70%   +0.02%
==========================================
  Files          61       61
  Lines        9516     9532      +16
==========================================
+ Hits         8249     8265      +16
  Misses       1267     1267

Impacted Files
Coverage Δ

src/Visual.cc
92.70% <100.00%> (+0.96%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #454 (1dd0baa) into sdf9 (32d96a6) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             sdf9     #454      +/-   ##
==========================================
+ Coverage   86.68%   86.70%   +0.02%
==========================================
  Files          61       61
  Lines        9516     9532      +16
==========================================
+ Hits         8249     8265      +16
  Misses       1267     1267

Impacted Files
Coverage Δ

src/Visual.cc
92.70% <100.00%> (+0.96%)
:arrow_up:

Continue to review full report at Codecov.

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

Should be signed now. Removed all Collision modifications (the .hh changes were residual) as I want to implement laser_retro only in Visual for now. More simple as there is no equivalent to https://github.com/osrf/sdformat/blob/32d96a6b3587d518695253fb4d4c70b8404525b0/src/Visual.cc#L75-L83 in Collision yet

Should be signed now. Removed all Collision modifications (the .hh changes were residual) as I want to implement laser_retro only in Visual for now. More simple as there is no equivalent to https://github.com/osrf/sdformat/blob/32d96a6b3587d518695253fb4d4c70b8404525b0/src/Visual.cc#L75-L83 in Collision yet

The diff looks weird, as if this PR were adding the code for #388, even though that's already merged into sdf9 :thinking: Git does these weird things sometimes. I wonder if a rebase removing commit 2ae6fc758890ce2708aaaf54157f28d0b080cd49 would fix it :thinking:

The diff looks weird, as if this PR were adding the code for #388, even though that's already merged into sdf9 :thinking: Git does these weird things sometimes. I wonder if a rebase removing commit 2ae6fc758890ce2708aaaf54157f28d0b080cd49 would fix it :thinking:

The diff looks weird, as if this PR were adding the code for #388, even though that's already merged into sdf9 thinking Git does these weird things sometimes. I wonder if a rebase removing commit 2ae6fc7 would fix it thinking

I merged the last sdf9 branch into this PR branch, this seems to have fix the diff for now. I ll do a rebase or reset if that's not enough

The diff looks weird, as if this PR were adding the code for #388, even though that's already merged into sdf9 thinking Git does these weird things sometimes. I wonder if a rebase removing commit 2ae6fc7 would fix it thinking

I merged the last sdf9 branch into this PR branch, this seems to have fix the diff for now. I ll do a rebase or reset if that's not enough


Enhancing help.json

Include an optional array for argumentList for each command which will display the list of allowed inputs for words:
{
    "name": "blah",
    "description": "blah",
    "syntax": "blah { Test }",
    "example": "blah",
    "argumentList": [
        {
            "name": "Test",
            "args": ["ok", "no", "yes"]
        }
    ]
}

Each argument in that list will follow the name in the syntax and match it up.
This will be displayed in help and in the documentation in a separate section.

Completed.


DF to decimal issue

What happened?
Decimal point gets removed after conversion from float64.
Code usage
# Import the yfinance library
import yfinance as yf

# Function to get the ticker data
def get_ticker(stock_symbol, timespan, time):
    # Fetch data from yfinance
    ticker = yf.Ticker(stock_symbol)
    # Fetch historical data from yfinance
    data = ticker.history(period=timespan, interval=time)
    return data

# Example: Get the data for the stock symbol 'AAPL' for the last 5 days with 1 minute interval
data = get_ticker('AAPL', '1d', '1m')
print(data)

# Suppose that you have dataframe like the below.
#             date    open    high     low   close     volume
# 0     2018-12-31  244.92  245.54  242.87  245.28  147031456
# 1     2018-12-28  244.94  246.73  241.87  243.15  155998912
# 2     2018-12-27  238.06  243.68  234.52  243.46  189794032
# ...          ...     ...     ...     ...     ...        ...

from stock_indicators import Quote

print(data.columns)

print(data.head())

def get_historical_quotes(data):
    quotes_list = [
        Quote(d,o,h,l,c,v)
        for d,o,h,l,c,v
        in zip(data.index, data['Open'], data['High'], data['Low'], data['Close'], data['Volume'])
    ]
    return quotes_list

# Example: Get the historical quotes for the data
quotes = get_historical_quotes(data)

Log output
Index(['Open', 'High', 'Low', 'Close', 'Volume', 'Dividends', 'Stock Splits'], dtype='object')
                                 Open        High         Low       Close  \
Datetime
2024-08-15 09:30:00-04:00  224.550003  224.869995  223.285004  223.820007
2024-08-15 09:31:00-04:00  223.869995  224.369995  223.699997  224.205902

                            Volume  Dividends  Stock Splits
Datetime
2024-08-15 09:30:00-04:00  2014142        0.0           0.0

Quote on 09:30:00 - O:2245500030517578, H:2248699951171875, L:22328500366210938, C:22382000732421875, V:2014142

@Miltiadis-Kon Thanks for your detail reporting. Could you let me know  locale setting on your environment?

@Miltiadis-Kon Thanks for your detail reporting. Could you let me know locale setting on your environment? I think it's a locale problem. To make it sure, I'd like to know the setting. If it's right, there's the patched version released on test PyPI.
pip install -i https://test.pypi.org/simple/ stock-indicators==1.3.1.dev9

Installed the patched version and it worked.
Thanks.

The patch finally has been released in v1.3.1.


Handle object destructuring with shorthand properties

Fixes #733.
/cc @michaelficarra

Is there an easy way to avoid including prettier format rule changes in these PRs? There's a lot of noise on these diffs.


Fixes link to wfastcgi package

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/python/overview-of-python-tools-for-visual-studio.md
:white_check_mark:Succeeded

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

@kraigb Rest of your updates to that page look good! Sorry for taking so long to get to it

No problem, thanks!


Johannes/owned handle

Added lifetimes, open point: should LvOwned be 'static?
Implemented Clone on LvOwned (removed unsafe From impl)
Implemented Borrow and ToOwned on UHandle
added fn handle to LvOwned

untested
Adresses #20 , #21 , #22

This will take me more time.
Last time I added the lifetime annotation to UHandle and then went with the linter and added lifetimes everywhere needed to make the linter happy.
When I now try to make the LvOwned internal UHandle static I will need to refactor ToOwned and clone_... It needs to be clear that after cloning the lifetime has become static. ToOwned seems to support that, but I haven't been successful in expressing my intent in correct syntax...

Please have a look, I can't find a solution and have to give up for now.
The current version needs to implement ?Sized + Sized to get rid of the incompatibilities in the ToOwned chain...

No worries, I'll take a look at it in the morning but there are a lot of related changes here. Probably the easiest thing is I can land it as it is and then make the necessary changes to make the lifetimes work.


Supplement S3 Server documentation to explicitly mention interoperability with GCS

Ref datacontract-cli issue 231
Update S3 server object documentation to explicitly mention compatibility with GCS using a gs:// location and endpointUrl.

I haven't actually tested that the above functionality is possible - will do so if/when I get the opportunity (and then I can create a PR to implement this if someone else hasn't beaten me to it).

OK, let's add explicit support for server type gcs.

Discarded, we continue to use S3.


Add an exception to Metrics/ParameterLists.

Add an exception for Metrics/ParameterLists when passing a lambda/proc to set_trace_func.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

It might be better if something like this is configurable. I hate hardcoding exceptions this way.

I've been thinking about this a moment more and I came up with a couple of related notes:

This is a good opportunity to improve the pretty bad documentation of this cop
Why is this flagging lambas and procs to begin with? Seems it should flag only instance and class method definitions.

Don't know about the others, but I consider the current behavior a bug (that's why I added the note about documentation - right now it's hard to tell if this was intentional or not).

It might be better if something like this is configurable. I hate hardcoding exceptions this way.

Makes sense. Perhaps an IgnoreLambda option?

Why is this flagging lambas and procs to begin with? Seems it should flag only instance and class method definitions.

Good point. Could be an oversight, since both def and lambda/proc have a nested args node.

Well, at least the name of the cop doesn't suggests that lamba/proc aren't covered by it, since they are still parameter lists. I wouldn't expect them to be excluded.

Well, at least the name of the cop doesn't suggest that lamba/proc aren't covered by it, since they are still parameter lists. I wouldn't expect them to be excluded.

But I know we created this cop with the intent to avoid people defining methods with many parameters. It was never the intention to check call sites, which is what your patch is addressing. Flagging those seems pretty pointless as often they are part of the API of some other method.

Good point. Could be an oversight, since both def and lambda/proc have a nested args node.

That's my assumption as well.

@reitermarkus Ping :-)

I don't know what the plan is here now. Ignoring lambdas altogether?

Yeah, I'd just ignore lambdas completely.

The changes look OK. Just squash, rebase and add a changelog entry.

@reitermarkus Ping :-)

Should be ready now.

@reitermarkus I think you forgot to add yourself to the end of the changelog.

I think you forgot to add yourself to the end of the changelog.

Ah! I couldn't figure out why my link wasn't working. 😄

👍


Fix for flaky unit test in health checker

The unit test was dependent on the order of map iteration. Changed to
using sorted keys while iterating.

/cc Random-Liu

/lgtm
/approve

/ok-to-test


A Problem with the Deep Model

Hi, I'm now using the deep model with Caffe. However, when I tried to load the net an error always occurs:
Check failed: target_blobs[j]->num() == source_layer.blobs(j).num() (96 vs. 0)
I suspect that the deploy file and the model are not correspond, are they?
The deploy file is on this github project and my code is here:
import caffe
import glob
import os
import numpy as np
from scipy import misc

inputFolder = r'../../image'
outputFolder = r'./results'
modelFile = 'deep_net_model.caffemodel'
deployFile = 'deep_net_deploy.prototxt'

if os.path.isdir(outputFolder) == False:
    os.mkdir(outputFolder)

net = caffe.Net(deployFile, modelFile, caffe.TEST)

It stops at caffe.Net().

I checked the model and prototxt on my machine and they work fine. It appears that this issue is related to compatibility of the model with the version of caffe that you are using (compatibility problems are known to produce similar error messages, see: https://github.com/BVLC/caffe/issues/2158). Can you try using the model with a newer version of caffe and see if the problem persists?

Great, that is. Caffe-rc2 seems to be really old. The present master version dose work. Thanks!


better error message when no ECC found on I2C bus

When no ECC can be found on the I2C bus we get the following output:
root@dd264db:/opt# i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

And diagnostics fails with the following:
2021-12-04 01:06:24,714 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(41) - gateway_mfr response stdout: b'{\n  "result": "fail",\n  "tests": [\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "serial"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "zone_locked(data)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "zone_locked(config)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "slot_config(0..=15, ecc)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "key_config(0..=15, ecc)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "miner_key(0)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "sign(0)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "ecdh(0)"\n    }\n  ]\n}\n'
 diagnostics  INFO:hm_pyhelper.miner_param:gateway_mfr response stdout: b'{\n  "result": "fail",\n  "tests": [\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "serial"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "zone_locked(data)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "zone_locked(config)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "slot_config(0..=15, ecc)"\n    },\n    {\n      "output": "timeout/retry error",\n      "result": "fail",\n      "test": "key_config(0..=15, ecc)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "miner_key(0)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "sign(0)"\n    },\n    {\n      "output": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error",\n      "result": "fail",\n      "test": "ecdh(0)"\n    }\n  ]\n}\n'
 diagnostics  2021-12-04 01:06:24,715 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(43) - gateway_mfr response stderr: b''
 diagnostics  INFO:hm_pyhelper.miner_param:gateway_mfr response stderr: b''
 diagnostics  2021-12-04 01:06:24,751 - [ERROR] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(47) - gateway_mfr exited with a non-zero status
 diagnostics  Traceback (most recent call last):
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 36, in run_gateway_mfr
 diagnostics      run_gateway_mfr_result = subprocess.run(
 diagnostics    File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
 diagnostics      raise CalledProcessError(retcode, process.args,
 diagnostics  subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr', 'provision']' returned non-zero exit status 1.
 diagnostics  ERROR:hm_pyhelper.miner_param:gateway_mfr exited with a non-zero status
 diagnostics  Traceback (most recent call last):
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 36, in run_gateway_mfr
 diagnostics      run_gateway_mfr_result = subprocess.run(
 diagnostics    File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
 diagnostics      raise CalledProcessError(retcode, process.args,
 diagnostics  subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr', 'provision']' returned non-zero exit status 1.
 diagnostics  [2021-12-04 01:06:24 +0000] [8] [ERROR] Exception in worker process
 diagnostics  Traceback (most recent call last):
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 36, in run_gateway_mfr
 diagnostics      run_gateway_mfr_result = subprocess.run(
 diagnostics    File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
 diagnostics      raise CalledProcessError(retcode, process.args,
 diagnostics  subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr', 'provision']' returned non-zero exit status 1.
 diagnostics
 diagnostics  During handling of the above exception, another exception occurred:
 diagnostics
 diagnostics  Traceback (most recent call last):
 diagnostics    File "/opt/python-dependencies/gunicorn/arbiter.py", line 589, in spawn_worker
 diagnostics      worker.init_process()
 diagnostics    File "/opt/python-dependencies/gunicorn/workers/base.py", line 134, in init_process
 diagnostics      self.load_wsgi()
 diagnostics    File "/opt/python-dependencies/gunicorn/workers/base.py", line 146, in load_wsgi
 diagnostics      self.wsgi = self.app.wsgi()
 diagnostics    File "/opt/python-dependencies/gunicorn/app/base.py", line 67, in wsgi
 diagnostics      self.callable = self.load()
 diagnostics    File "/opt/python-dependencies/gunicorn/app/wsgiapp.py", line 58, in load
 diagnostics      return self.load_wsgiapp()
 diagnostics    File "/opt/python-dependencies/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
 diagnostics      return util.import_app(self.app_uri)
 diagnostics    File "/opt/python-dependencies/gunicorn/util.py", line 359, in import_app
 diagnostics      mod = importlib.import_module(module)
 diagnostics    File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
 diagnostics      return _bootstrap._gcd_import(name[level:], package, level)
 diagnostics    File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
 diagnostics    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
 diagnostics    File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
 diagnostics    File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
 diagnostics    File "<frozen importlib._bootstrap_external>", line 883, in exec_module
 diagnostics    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
 diagnostics    File "/opt/python-dependencies/hw_diag/__init__.py", line 3, in <module>
 diagnostics      wsgi_app = get_app(__name__)
 diagnostics    File "/opt/python-dependencies/hw_diag/app.py", line 30, in get_app
 diagnostics      perform_key_provisioning()
 diagnostics    File "/opt/python-dependencies/decorator.py", line 232, in fun
 diagnostics      return caller(func, *(extras + args), **kw)
 diagnostics    File "/opt/python-dependencies/retry/api.py", line 73, in retry_decorator
 diagnostics      return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter,
 diagnostics    File "/opt/python-dependencies/retry/api.py", line 33, in __retry_internal
 diagnostics      return f()
 diagnostics    File "/opt/python-dependencies/hw_diag/app.py", line 24, in perform_key_provisioning
 diagnostics      if not provision_key():
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 103, in provision_key
 diagnostics      gateway_mfr_result = run_gateway_mfr(["provision"])
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 71, in wrapper_lock_ecc
 diagnostics      raise ex
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 60, in wrapper_lock_ecc
 diagnostics      raise ex
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 57, in wrapper_lock_ecc
 diagnostics      value = func(*args, **kwargs)
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 48, in run_gateway_mfr
 diagnostics      raise ECCMalfunctionException(err_str).with_traceback(e.__traceback__)
 diagnostics    File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 36, in run_gateway_mfr
 diagnostics      run_gateway_mfr_result = subprocess.run(
 diagnostics    File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
 diagnostics      raise CalledProcessError(retcode, process.args,
 diagnostics  hm_pyhelper.exceptions.ECCMalfunctionException: gateway_mfr exited with a non-zero status
 diagnostics  [2021-12-04 01:06:24 +0000] [8] [INFO] Worker exiting (pid: 8)
 diagnostics  [2021-12-04 01:06:25 +0000] [1] [INFO] Shutting down: Master
 diagnostics  [2021-12-04 01:06:25 +0000] [1] [INFO] Reason: Worker failed to boot.

This is not a useful error message, and causes diagnostics to fail to load.
Instead, we should show an error on the ECC detected part of diagnostics saying False and output on logs saying something like "No ECC device found on 0x60 on I2C bus"

Previously we had this:
https://github.com/NebraLtd/hm-gwmfr/blob/1abdf511c71a59a8c24b411f32a7b2117e17b5da/nebraScript.sh#L3-L12
But we lost the functionality when moving to gateway-mfr-rs and deprecating hm-gwmfr

Partially solved by #270

Related to #176

Related to https://github.com/NebraLtd/hm-pyhelper/issues/216 and https://github.com/NebraLtd/hm-pyhelper/issues/221


add 'builder' to Dockerfile

Thank you very much @ChristopherHX for your support of DinD. Currently I am very interested in ChristopherHX The Dockerfile build of /gitea-actions-runner has been slightly improved.

Need add the nightly tag back in the workflow, so I merge with no ci

Thanks @ChristopherHX for the suggestion.


[T4A2][T13-B3]Ong Qi Yong

Ready for review

With all the methods becoming static in Parser class, the way other methods are calling these methods should also change.


Verify table existance on dashboard template

Fixes #44

This hides the panels on the homepage if the Post and Page tables don't exist.  There may be a cleaner way to do this, but I wasn't able to find it.

Nice approach!
Will just test this later before merging.
Rock on 🤘


isDaytime and isNightTime return incorrect values for polar day

For places where there's a polar day in the given time/date (see the example), isDaytime returns false and isNightTime returns true for all times of day (just opposite to reality).
Code:
private func isSunUp(dateTime: Date, coords: LatLon) -> Bool {
    let solar = Solar(for: dateTime, coordinate: CLLocationCoordinate2D(latitude: coords.lat, longitude: coords.lon))
    return solar!.isDaytime
}

Params:
dateTime: 2022-06-03 06:00:00 +0000
coords: lat: 67.94753132376813, lon: 13.131613209843637

I know this is an old bug, but I’ve been using Solar extensively for my project Solstice and polar days/nights are so tricky! I’ve figured out a workaround that involves checking whether the coordinates are within a polar circle:
import CoreLocation
import Solar

extension CLLocationCoordinate2D {
  var insideArcticCircle: Bool { latitude > 66.34 }
  var insideAntarcticCircle: Bool { latitude < -66.34 }
  var insidePolarCircle: Bool { insideArcticCircle || insideAntarcticCircle }
}

extension Solar {
  var isSunUp: Bool {
    if sunrise != nil && sunset != nil {
      return isDaytime
    }

    guard coordinate.insidePolarCircle else { return isDaytime }

    let month = Calendar.current.component(.month, from: date)

    switch month {
      case 1...3, 10…12:
        return coordinate.insideAntarcticCircle
      default:
        return coordinate.insideArcticCircle
    }
  }
}

This works by:

Returning isDaytime if there is a sunrise/sunset (which is how isDaytime works under the hood anyway)
Checking whether the coordinates lie within a polar circle, and returning isDaytime if they don't
Returning a boolean based on:
a. Which polar circle the coordinates are in
b. Whether the date lies within the northern hemisphere’s winter months


Use default credentials on http client handler

MSAL integrated Windows authentication requires using default credentials. This is done if using MSALs http client factory, so must explicitly opt into this behavior.

May need to move away from SocketsHttpHandler here as there is different behavior between the two, still testing.


/zram-device-list: No such file or directory

● zram-config.service - zram-config
Loaded: loaded (/etc/systemd/system/zram-config.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2019-10-04 15:10:37 JST; 1 day 6h ago
Main PID: 388 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 2077)
Memory: 0B
CGroup: /system.slice/zram-config.service
Oct 04 15:10:35 raspberrypi systemd[1]: Starting zram-config...
Oct 04 15:10:36 raspberrypi zram-config[388]: grep: /usr/local/share/zram-config/zram-device-list: No such file or directory
Oct 04 15:10:37 raspberrypi zram-config[388]: mv: cannot stat '/usr/local/share/zram-config/zram-device-list.new': No such file or directory
Oct 04 15:10:37 raspberrypi systemd[1]: Started zram-config.

I use zram-swap-config.
It works well.


Revert "Fix Issue 19105 - Bogus recursive template expansion via getS…

…ymbolsByUDA"
This reverts commit 86733d5a4a5379219f04524bead35eff33c6a1a7.
Since PR 7100 did absolutely nothing to actually fix issue 19105 (it's a DMD issue, not a Phobos one), and instead disallows perfectly valid code, it should be reverted.

cc @RazvanN7

If I understand correctly, by reverting bug 20054 should also be fixed. Can you add a test for it in a separate commit?

Done. However, this PR does not fix issue 19105. Is there some way I can tell the bot this?

Squash your commits and make sure that there aren't any commits that have "Fix Issue 19105" in the commit meesage. The bot links to the issue if those magic words are present.

As a regression fix shouldn't this target stable?

Merging manually as the 'Windows_OMF x86' failure on Azure Pipelines is unrelated.


Move QAF Docker image path

@elastic/clients-team An email went out that the qaf Docker image is moving. Any serverless project that uses this same create-serverless.sh will need to be updated.

:broken_heart: Build Failed

Buildkite Build
Commit: b3cc9a81c12ea3d9ccd306c7fe93b38a5f994356

Failed CI Steps

:junit: Test results

whoops. duplicate of https://github.com/elastic/elasticsearch-serverless-js/pull/52.


Added back EC axioms to CL_0000151

See https://github.com/obophenotype/cell-ontology/pull/1449

btws @dosumis - this is a super good example of the robot diff on edit file and reasoned file and a case for why we need both at all times :)


Eopc/amendments and fixes

This is same as 293.

Apologies @4vtomat, I totally missed this. LGTM. Thanks!


V2 roadmap

Here are some highlights on how the v2 will look like:

Support for react 18+ only
useAS: it will return an array [state, source] = useAsyncState()
useAS: dependencies array will be dropped, it will be replaced by runDeps, which will only affect the run
useAS: will suspend when initial and pending, and re-run on effect whenever runDeps
useAS: will throw on error or on aborted state statuses
useAS: all source methods will be removed, use them directly from the source, they are redundant
Hydration will likely be renamed in favor of a Context to globally tune things

Core changes:

Remove fork and generators support (make gen support like a middleware ;) )
add background run execution mode
optimize lanes and cache management fingerprint and work
cache auto replay in background

Implementation roadmap:
Warning
release a version with dev warnings and maintain it as the version to migrate to before v2 (will help with warnings and breaking changes highlights)
Follow priority

Old stuff. V2 is gonna be more awesome !


Hand Wash Timer 0.02

Ported to Banglejs2

It uses swipe, because you don’t want to touch the screen directly with dirty fingers.

@MaBecker I'm not sure what you are trying to tell me.

A swipe can also happen your arm, to keep the display clean.

Thanks!


AudioStreamOGGVorbis ignores the loop property and uses the import setting due to the saved resource not being able to store metadata

Godot version:

3.2.3.stable
OS/device including version:

Manjaro Linux, 5.8.11-1-MANJARO
Issue description:

When using a .ogg, the loop property on AudioSreamOGGVorbis is only acknowledge by the editor, and the game uses instead the loop option set when importing the file.
Steps to reproduce:
Add a AudioStreamPlayer with a .ogg file.
Play the audio on the editor. It will loop depending on the AudioSreamOGGVorbis loop property.
Play the audio on the game. It will loop depending on the loop value in the import settings.
Minimal reproduction project:

OGGLoopPreferenceBug.zip
Related to:
#40694
May be related to:
#40359

This is the same problem textures had in the past. The thing is that you can't edit properties of imported resources - you have to change their import settings. Textures had a warning for that and now seems like their properties are hidden entirely. Same should be done for audio streams probably.

This is a duplicate of https://github.com/godotengine/godot/issues/35314, but that issue was closed.

Note that this will be fixed by https://github.com/godotengine/godot-proposals/issues/3120 if it's implemented.

@Calinou This won't be backported to 3.5 though it seems, will it? It seems like a completely overhauled feature set so probably just for 3.6?

It's a compatibility-breaking change, but I'm not sure if there's any other way to fix this without breaking compatibility.


conflict resolution problem

The following popup shows up, if the note on the filesystem changes:

This popup forces me to lose either the in-memory version or the local version. So no matter what, I lose data.

What could help here? A third option "Save local version as" to save local changes - other than that not much more what could be done in that case...

It all depends on the point of view. In the current situation Load and Discard current changes is the same thing.
3 choices will be necessary to make sure that you won't lose any data, if you don't want to.
The most important thing is that the text above the buttons explains the situation so that everyone understands the consequences and what they imply.
(e.g. it doesn't matter whether you use the term Load or Discard (current changes) for one of the 3 choices as long as it is consistent and understandable.)

See commit for issues #25 - hope that resolves this one as well

I think you might have forgotten to push your commit

Yes, it creates a new dialog with 3 options, but when I click Save a new note named New Note 3 is created. When I click Save as new, nothing happens.

Mmmh, let me have a look at that again.

Mixed up the buttons...
Now "Save as new" does what it says. When hitting "Save" nothing visual happens but the changed note in the file system is overwritten with the one in the editor. That seems to work here.

Ok, the buttons are correct now, but I have a problem when trying to Save as new. This is the error:

I don't understand how this can happen. You should get a dialog to enter the new name anyway, right?

The idea was that it should work as for "New Note" or "New Group": a new entry with a unique name is created and you can rename afterwards. Let me try this - I had added some logic to create a unique name that is not a timestamp or similar. Obviously, that didn't work out :-(
What note names & group names do you have? In my test cases it always worked...

I have one group TestGroup and notes Test, Test2 and New Note 3, which I can't delete for some reason.

Happy New Year!
Had a look at the issue and uploaded a fix for it.

Happy New Year!
Had a look at the issue and uploaded a fix for it.

Happy New Year!
The naming of notes (when clicking Save as new) works now.
But for some reason I sometimes get 2 dialogs, when I change the note on the server and locally. First I get

and then the correct one

I haven't found the reason when and why this is happening, because it is not reproducible in a consistent manner.

I have managed to reproduce that once in 20+ attempts. But I also can't see the necessary sequence of actions to trigger this... I'll need to play around some more.
First dialogue comes when you're editing and then moving to another note. Second one comes when you're in editing and a changes happens behind your back. Not sure what needs to happen that both things are true at the same time.

Closing since not observed in the wild since then...


[Event Hubs] Adding Checkpoint APIs and diagnostics

This is pulled from the prototype PR here: https://github.com/Azure/azure-sdk-for-net/pull/38351 The list of changes below explains how the prototype changes will be split up.
Contributes to: https://github.com/Azure/azure-sdk-for-net/issues/39367
Overview of changes
Checkpoint logic/data

A new CheckpointPosition struct is added that holds long? Offset, long SequenceNumber. It can be constructed with a sequence number and optional offset. It can alternatively be constructed from an EventData instance.
In order to preserve backward compatibility, if an offset is given and no sequence number, then the new overload is called with long.MinValue as the sequence number
New overloads are added to the following methods that take in a CheckpointPosition rather than directly consuming an offset and sequence number. The old overloads are hidden:

EventProcessorClient.UpdateCheckpointAsync
BlobCheckpointStore.UpdateCheckpointAsync
BlobCheckpointStoreInternal.UpdateCheckpointAsync
CheckpointStore.UpdateCheckpointAsync
EventProcessor.UpdateCheckpointAsync
PluggableCheckpointStoreEventProcessor.UpdateCheckpointAsync

EventProcessorCheckpoint has two new public properties: string ClientIdentifier and DateTimeOffset? LastModified
BlobMetadataKey.ClientIdentifier + the unique client identifier of the checkpoint author is added to the checkpoint in the blob

Diagnostics and logging

Adding the unique client identifier of the author of the checkpoint, the sequence number, the offset, and/or the last modified time of the checkpoint blob to the logging where applicable. These changes were made in the following places:

BlobCheckpointStoreInternal
BlobEventStoreEventSource
IBlobEventLogger
EventHubsEventSource

Not in scope for this PR
For simplicity - doing this in a separate PR because the changes are still being discussed / the prototype PR was getting too big to effectively review

Checkpointing prioritizes sequence number rather than offset. Under the hood, if long.MinValue is passed in for the sequence number, then the checkpoint will be created using the offset only.
Any internal plumbing to stage later GeoDR support.

To do at a future date when we get closer to confirmed release of the SDK with GeoDR support:

Add long ReplicationSegment to CheckpointPosition and corresponding constructor
BlobMetadataKey.ReplicationSegment + the replication segment is added to the checkpoint in the blob
Add replication segment to appropriate diagnostics / logging
All AMQP level changes
All plumbing for replication segment

/azp run net - eventhub - tests

/azp run net - eventhub - tests

/azp run net - eventhub - tests

/azp run net - eventhub - tests

/azp run net - eventhub - tests

/azp run net - eventhub - tests


Update all Redshift queries to leverage ARN column

Is your feature request related to a problem? Please describe.
aws_redshift_cluster table added with arn column, this can help using arn column in queries in stead of the custom arn construct.
 arn                                         | text                     | The Amazon Resource Name (ARN) specifying the cluster.
`Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This will be adjusted based on further input from users.


[Dropdown] Calls on  are not passed to ui dropdown correctly

in this fiddle(http://jsfiddle.net/xiechao06/efp8z6Ln/133/) (use <select> as dropdown), I failed to invoke "clear", after spending several minutes, I found that the actually "dropdown" is not the "<select>", but a generated tag. please add some notes to '.ui.dropdown', that when use "<select>" as a dropdown, you should call "$select.dropdown().dropdown(methodName)" to invoke a dropdown method.

This is actually a bug. It is suppose to catch for that error automatically in the code but it appears not to correctly invoke the method with the new context correctly.

Added in 2


Minor: Artifacts folder missing in BlazorMobile.NuGet for NuGet Restore

I added it manually but perhaps add it to the code base.

Actually, the folder is generated automatically when you compile the solution.
At least, i doesn't prevent me for Building on my machine.
Did you have any issue ?

I kept getting the error that the folder was missing so I went ahead and created it manually. No issues with that now.

Will add a dummy file to prevent this behavior


FIXME: Improve store read performance

https://github.com/demogorgon1/jelly/blob/de684d711c72f0d206325e9359dabffb99ae4160/include/jelly/BlobNode.h#L232

Reads shouldn't be single threaded. Ideally we need some kind of I/O completion thing.


jenkins_private_key_password var

Added jenkins_private_key_password var in the "kick start" section

@odra I sent a PR to your PR: https://github.com/odra/digger-jenkins/pull/1


Launch tracking

Overall documentation for building an Exercism track lives at https://exercism.org/docs/building/tracks/new
This issue helps keep track of the tasks you're working on towards launching this track.
The next steps are:

[x] Join our community
[x] Select programming language variant (if applicable)
[x] Select testing framework
[x] Add the first exercise
[x] Add initial exercises
[x] Setup Continuous Integration
[x] Prepare for launch
[x] Find Maintainers
[ ] Launch!
[x] Implement tooling
[x] Prepare for open source contributions from strangers

Once you've finished a task, you can check them in this list.
Questions
Please ask if you have any questions or if anything is confusing!

@BNAndras We now have an icon! Do you want the honor of activating the track?


GateMate Constraint File Pin Declaration Format

The current constraint format for GateMate chips requires the declaration of pin directions both in the constraint file and the HDL file such as Pin_in, Pin_out, Pin_inout. This approach is unconventional and differs from other vendors, creating challenges in implementing Amaranth HLS for GateMate chips. The primary issue is the inability to create a general constraint file due to the necessity of specifying pin directions in the constraint file.
Proposed Solution
To resolve this issue, it is suggested to use a general pin constraint format that only requires the pin identifier, without the need to specify its direction in the constraint file. This would align with common practices and facilitate easier implementation and integration with Amaranth HLS.
By adopting this improvement, the workflow for developing with GateMate chips would become more streamlined and user-friendly, aligning better with industry standards.

@pu-cc for awareness

... given Yosys SV problems, one option to consider is to move all new design creation to Amaranth. However, while that's a no brainer for other vendor's devices, these CologneChip constraints peculiarities stand in the way of adopting such development flow to GateMate.

Team, any movement on this development track?!

I am not a part of your team nor am I responsible for addressing this issue.

@DadoCCAG , given that it seems very difficult for Amaranth to adapt to this GateMate uniqueness of the constraints' format, what's your assessment from CologneChip side on the chance for providing an option that would align it with other FPGA vendors?
The objective is to enable GateMate in Amaranth flow, making the first critical step towards HLS, and opening a whole new set of possible applications.

With the upcoming P&R update, CCF will now offer the option of specifying the keyword “NET” instead of the pin direction. P&R then retrieves the direction information from the buffer primitives in the netlist. This is compatible with the UCF file format.
As soon as the update is online, I will report it here to close #10.

... that's a wise approach, one that both retains compatibility with CC legacy, and gains compatibility with everything else 💯

We updated the P&R binary yesterday. CCF now supports the “NET” keyword as described here. You can download the latest build it here:
https://colognechip.com/downloads/cc-toolchain-linux.tar.gz
https://colognechip.com/downloads/cc-toolchain-win.zip
Thanks for your help.


The API is present is Windows Phone but does not function

The Ussd protocol API does not work in Windows Phone 10, I've tried sideloading the test app and using the required permissions, but it gives me a COMException with message: "The request is not supported". Is there a way to workaround this limitation?

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

ID: 75cbc922-237f-68e8-f87a-5f50af349096
Version Independent ID: 4620abe9-10ea-752f-a1df-e29409b360e2
Content: UssdSession Class (Windows.Networking.NetworkOperators) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.networking.networkoperators.ussdsession.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Thanks for raising this issue, @WDev20. I'll discuss this with the product team and I'll get back to you with info when I have it. ~Steve

Hi, @WDev20, there isn't a workaround. UssdSession is applicable to Windows 10 for desktop form factors (MBIM-based modems), but not to Windows 10 Mobile (RIL-based modems). I've just merged a change with that additional info into master; I expect the live topic to be updated within 24 hours. ~Steve

Thanks for the info, @WDev20! The additional info is now live in the topic, so I'll close this issue. Please reopen if necessary. ~Steve.


[do not merge] Make snippets great again

Description
This is the first attempt at making our snippet system more accessible, further description to follow.

Maybe we can have the same structure for snippets as for docs? To be able to find them easily

Or we can put snippets folder to each docs directory and gather them from all docs section.

It's easier when you place a new snippet on the doc page, because you will have your code right next to the docs.
But it's harder to collect snippets for "snippets gallery"

@VioletM we can use folders as categories, but we would need to decide how to categorize the snippets. I think the snippets categories might be different from the docs ones.

closing for now


rewording while having staged changes might break the working repositories cache

Description
I discovered another bug while working on #366
This is tested on the current main branch efb9a7e81a1adf35a30d5ea72e412fc5b2d21c98
Might be also true for other extending and amending.
Neovim version
v0.8
Operating system and version
linux
Steps to reproduce
I cannot give a 100% step by step reconstitution, but it eventually breaks the repo when rewording while having staged files.
Expected behavior
An easy fix would be to unstage all changes prior to starting it. Maybe including a confirmation prompt when starting reword with staged changes. Or going full on with an automation to restore the staged state after a reword action.
Actual behavior
Further default actions to git repository become hardly possible due to errors.
128 git --no-optional-locks ls-files --others --cached --modified --deleted --full-name <foldername> (0.002 ms) [stderr 2]
Minimal config
Just neogit

Feel free to reopen this if it's still a problem.


release: 6.0.1

Coverage decreased (-0.2%) to 81.452% when pulling a5a611382c1e518e2f5b91c5fecdffb698e40517 on release-601 into 1bf0091084bd8ba8fe2189e4f70c10f57385ef54 on master.


[PURCHASE-1537] Fix search transition animation

This reverts the change from #2904 because it introduced the problem for PURCHASE-1537. We re-opened ticket 1482 (the extra white padding above the artwork page) and moved it to Mobile Experience's backlog. It's a relatively minor bug compared to what this fixes.
We also tried to clean up code indentation and commenting, I'll comment on the import changes below.

Ah! Of course. Sorry for not including that on Friday.
So the bug was when you selected an auction from search, tapped into a sale artwork, and then tapped back, the auction view would be blank (specifically, it had CGRectZero geometry). The last PR (#2904) added some autolayout constraints to the transition animation, but apparently that's not the recommended approach, so I think it introduced this bug. Here's what it looked like:

The solution was to remove the autolayout code, accept the minor UI bug that #2904 fixed, and shore up the code a bit so it would be easier to read+maintain going forward. Here's what it looks like with this PR:

Hah, is the search -> vc animation bug, where it animated from the top corner, now mirrored? (It feels like it grows from top-left in first GIF and top-right in second GIF.) A bug in either direction btw, so not a blocker.

@alloy ha, yes, though that's unrelated to this fix. That bug is intermittent and I think depends on the iOS version. I've tried to fix it before, but have come away frustrated. Someday soon!


two new constants for ReqSketch; allowing to change constants (for ex…

This is a new branch for experiments with the sketch.

This branch is for experimentation. It is unlikely that we will want to merge it.

Since this branch is for experimentation it is unlikely we will merge it in its current form so I am closing this PR for now.  We can always reopen it later.

Since this branch is for experimentation it is unlikely we will merge it in its current form so I am closing this PR for now.  We can always reopen it later.


readme nits

jupyter capitalization consistency
data directory directory is awkward, I think data directory suffices
specifying the repo to checkout the taproot branch since users are being asked to switch back and forth

Also want to note I ran through instructions for OSX and it worked flawlessly.

Jupyter/IPython as a shell/kernel is usually capitalized.

Not worth the quibble -- it does appears inconsistently in the doc.


Error deploying static web app through Azure DevOps

I'm getting this error when deploying a static web app through Azure DevOps.

This has never happened before and the app runs fine on local. Anyone know how to fix this?

Hi @archaugust , Is this happening after retrying? can you please provide more details about your site like default hostname or deployment ID?


Link to Github help pages for terms in README

The README stresses that this repo is intended for forks, but, newbies may not know that a fork is
Added a link to Github help docs on forks.
add even more links to README for newbies: branches, issues, milestones, labels, and wikis.

Hey Stoutdude,
The README file is looking good.  I just had one recommendation that you might consider.

Thanks for the review.

On Sep 6, 2016, at 6:37 PM, johnmwebb<EMAIL_ADDRESS>wrote:
Hey Stoutdude,
The README file is looking good. I just had one recommendation that you might consider.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Stoutdude/oreilly-github-demo/pull/1#issuecomment-245149385, or mute the thread https://github.com/notifications/unsubscribe-auth/AFk1qZumW7eVaaKLJIaCppoLC2OFY-1pks5qnhVVgaJpZM4J0opx.

👍


Issue with docker file when its running on ecs

these the docker file # syntax=docker/dockerfile:1.4
ARG NODE_VERSION=18
ARG ALPINE_VERSION=3.17
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} as build
WORKDIR /app
COPY --link . .
RUN --mount=type=cache,target=/usr/local/share/npm-global
npm install --location=global npm@latest
&& npm ci
&& npm run build
&& npm run test
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION}
ARG APP_ROOT=/opt/probot
ENV NODE_ENV=production
ENV APP_ID=866979
ENV PRIVATE_KEY="${PRIVATE_KEY}"
ENV WEBHOOK_SECRET="${WEBHOOK_SECRET}"
WORKDIR ${APP_ROOT}
COPY --link package.json package-lock.json ./
RUN --mount=type=cache,target=/usr/local/share/npm-global
npm i --location=global npm@latest
&& npm ci --omit=dev \
&& npm cache clean --force
WORKDIR ${APP_ROOT}/app
COPY --link --from=build /app/dist/ .
EXPOSE 3000
ENTRYPOINT ["node", "main.js"]
when i'm running  docker image on ECS  these error
"Error: Certificate is missing, and is required to run in production mode. To resolve, ensure either the PRIVATE_KEY or PRIVATE_KEY_PATH environment variable is set and contains a valid certificate

To pass a value such as PRIVATE_KEY into the image you are building, you need to provide an ARG with the same name. At build time, you can't set an environment variable except through a --build-arg.  Docker has a deep dive into this process in their docs. That said, I would not recommend this approach since it embeds the values of the secrets into your layers, making them insecure.
Instead, you could remove that line and the WEBHOOK_SECRET. Then use the command line --env WEBHOOK_SECRET=.... --env PRIVATE_KEY (docs) to pass the values in to the container when it starts. The most secure way to do that on AWS is to use Secrets Manager with a container definition. This process is covered in the AWS docs.
Hopefully that should unblock you. I'm working on a new version of the code that should hopefully make it easier to deploy on AWS Lambda and Azure Functions.


Ignore asm cap check for kernel arg preload for old rocm

asm cap check fails with old rocm due to preload kernel arg.
I added some workaround code to ignore preload kernel arg for rocm 5.x.

Thanks for your comment.
I will merge this for a while.
We can have further discussions to improve asm cap check further.


Updating Laravel to 8.*

Hello there!
I think you should seriously reconsider updating Laravel framework to ^8.0. Right now it should be extremely easy (as is documented here). Remember that moving from 7 to 8 now is simpler than moving from 7 to 9 next year. ;)

Actually we were thinking about moving whole project to .NET, as we always wanted to try it :wink:

Okay, I updated Laravel for your project, but it's impossible to push new branch. Please fix that.


Filter API to override origin/backend mapping

Hi,
I am looking for a way for a filter to intercept a request and alter its mapping to a backend host from one to the other.
Could someone point me to a similar example or to the right filter API?
Thanks.

@canselcik I think we will need more details about your use case to provide guidance.

@mattklein123 Thank you for your reply. Let me elaborate on my use-case.
I am basically trying to create a "host override" plugin that allows certain user-agents to override (for debugging purposes) the the mapped origin for the current transaction.
Let's say I have a cluster with servers A, B and C. A request comes in and is mapped to A. I would like to have the ability to look at a header and override that mapping to B or C.
Similar to the TSHttpTxnServerAddrSet API provided by Apache Traffic Server.

Take a look at https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/load_balancing/original_dst.html#original-destination-host-request-header. I think that is roughly what you need?

@mattklein123 Thank you, that definitely looks like it is almost exactly what I am looking for.
One question I would have about the original destination cluster type would be if doing this would require setting up a second cluster with the exact same set of hosts that I might want to override to?

One question I would have about the original destination cluster type would be if doing this would require setting up a second cluster with the exact same set of hosts that I might want to override to?

No I don't think so. I think it can be arbitrary but I haven't used this code myself. cc @ramaraochavali who can likely advise.

@canselcik  You do not need a second cluster, You can have only  one ORIGINAL_DST_CLUSTER cluster and set this header in the request and that should route the request to the desired host.

Thanks @mattklein123 and @ramaraochavali. Looks like ORIGINAL_DST_CLUSTER will work nicely and we can drop the x-envoy-original-dst-host on the request to enforce who gets to utilize this feature and on which hosts.


Candidate Group, Candidate Groups Issue in tasklist java Client version 8.5

The conversion from TaskSearch Class to TaskSearchRequest Class not completed successfully
It passes always the parameters candidateGroup, candidateGroups with null values
I tried these versions 8.5.0, 8.5.3, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
I am using Keyclock to authenticate with Identity

Hi @MohamedAhmed412000,
Thanks for reporting.  The problem comes from the attributes names that changed. I'll check other properties and release a patched version. I'll keep you posted today.

Could you tell me if version <IP_ADDRESS> fix your issue ?

Hi @chDame
Thanks for your fast response
I tried the version <IP_ADDRESS> & Yes It fixes the problem


Retire Windows 7 support

Windows 7 reached end of life as of Jan 2020. I've left support for some time building using _WIN32_WINNT=0x0601;_WIN7_PLATFORM_UPDATE. I could change it to _WIN32_WINNT=0x0603 to require Windows 8.1 or later.
Windows 8.1 end of life was Jan 2023, but I'm going to start with removing Windows 7 before getting that aggressive.

When both Windows 7 and Windows 8.1 are removed, I can deprecate the directxtk12_desktop_2019 NuGet package in favor of directxtk12_desktop_win10

Note that Steam dropped support for Windows 7, Windows 8.0, and Windows 8.1 back in January 2024.
https://help.steampowered.com/en/faqs/view/4784-4F2B-1321-800A


Update and clean up JSDocs

We need to update the JSDocs across project to reflect the newer semantics and document all usage scenarios.

I can work on this

https://github.com/intuit/node-pom-parser/pull/39


chmod +x nacl_helper

Fixes the Bad NaCl helper startup ack (0 bytes) error

This is awesome. Thanks a lot.


Fix outdated requirements.txt, which can lead to errors in training.

This is a simple PR, which addresses #26, where I was getting an error during training. After debugging with @magicse, I was able to determine the cause of the issue to be a discrepancy between the requirements.txt package versions, and what @magicse had working on their device. After fiddling with dependency versions, and dependency-of-dependencies versioning, I was able to fix my issue with the proposed requirements.txt.
I have also added comments to the requirements.txt detailing why the specific versions are necessary, as, at face value, it seems that the latest of every package should work. I'm happy to answer any questions about this PR, but since it's a pretty minor "ease-of-use" change, I expect it should be an easy merge.

If the issue with numba, why changing the version for other packages? it is risky to change all packages' versions as their might be change in a function call that breaks the code.

If the issue with numba, why changing the version for other packages? it is risky to change all packages' versions as their might be change in a function call that breaks the code.

I went through everything, from processing, training, inference, etc, with no issues with these packages. The issue is with librosa, which relies on a specific version of numba, and numpy needs a different version of numba which then breaks numpy. Changing all of the versions to what's shown in the file ensures that others don't have this same issue. Also, these versions, besides me testing with them, are in use by @magicse, so that's 2 people that have no issues using these.


Update snarky for Typ.t generalized over Cvar.t

This is the counterpart of https://github.com/o1-labs/snarky/pull/791, generalizing Typ.t over Cvar.t on the snarky side.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

!ci-build-me

https://github.com/MinaProtocol/mina/pull/12738 supersedes