connectedk8s get-credentials for non-aad scenario

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Also added the extension operator default enabling in cli.


What is the recommended work around for autoformatters like prettier?

Hello, we are using Overcommit to run some pre-commit hooks such as eslint. From what I understand, overcommit does not support any pre-commit hooks that perform side effects on files. I also saw issue #238 which sounds like the official support is not going to be available any time soon. Does anyone have recommended work arounds for how I can still run prettier --write ideally before any of the overcommit pre-commit hooks run?
Many thanks

Side effects don't seem supported so I thought just ensuring Prettier was manually run (or automatically if you have text editor plugins) was good enough:
module Overcommit::Hook::PreCommit
  class Prettier < Base
    BOLD_RED_COLOR = '1;31'
    PRETTIER_WARNING = "Code style issues found in the above file(s). Forgot to run Prettier?"

    def run
      result = execute(command, args: applicable_files)
      output = result.stdout.chomp
      has_warning = output.split("\n").any?(PRETTIER_WARNING)

      if has_warning
        warning_message(output)
        return :fail
      end

      :pass
    end

    private

    def warning_message(message)
      "\e[#{BOLD_RED_COLOR}m#{message}\e[0m"
    end
  end
end

thank you @hatched-danny, that's what I'll do

I couldn't that file above to work... instead adding an executable script
Prettier:
  enabled: true
  required_executable: './bin/prettirun'

#!/bin/sh

# grep for file changes, exit early for ruby folks
FILES=$(git diff --name-only --diff-filter=ACMR -- '*.js' '*.jsx' | sed 's| |\\ |g')
[ -z "$FILES" ] && exit 0

# Be nice: and run the yarn install for folks that haven't done it yet
if [[ ! -f ./node_modules/.bin/prettier ]]
then
    # yarn add --dev --exact prettier
    echo "Running Yarn install..."
    open "https://prettier.io/docs/en/editors.html"
    command yarn install
fi

# Prettier CHECK all selected files
echo "$FILES" | xargs ./node_modules/.bin/prettier --ignore-unknown --check

This will warn and output any diff'ed files that are not prettier

@blairanderson I was able to fix the solution of @hatched-danny
# frozen_string_literal: true

module Overcommit
  module Hook
    module PreCommit
      class Prettier < Base
        BOLD_RED_COLOR = '1;31'
        PRETTIER_WARNING = '[warn] Code style issues found in the above file(s). Forgot to run Prettier?'

        def run
          result = execute(command, args: applicable_files)
          output = result.stderr.chomp
          has_warning = output.split("\n").any?(PRETTIER_WARNING)

          return :fail, warning_message(output) if has_warning

          :pass
        end

        private

        def warning_message(message)
          "\e[#{BOLD_RED_COLOR}m#{message}\e[0m"
        end
      end
    end
  end
end

notable changes:

PRETTIER_WARNING has changed
We are checking the output of stderr


Remove the m2e plug-in work around (#14599)

Motivation:
This section is highlight as erroneous and invalid POM by Intellij. It's been over 12 years since it was added, so surely the work-around is no longer needed?
Modification:
Remove the explicit call-out to the m2eclipse plugin. Also added empty definitions for one property that were referenced but not defined, and as such were also highlighted as errors.
Result:
Cleaner pom.xml file.

Quite surprised to see how the revapi check keeps failing with OOME. The pom changes should not have any effect on that.


Events not in order by timeline

System Information:

Version: 2.6
Language: en-US
Timezone Offset: -05:00
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

App should sort all events to be in a timeline order instead of being scattered.

That’s really weird! Of course there is a sorting function to sort events in order. No idea why this is the case. Is this still happening?

Yes, this is still occurring


Rename knative-sandbox to knative-extensions

This is an automated PR to replace knative-sandbox strings to knative-extensions.

/lgtm
/approve
Thank you!


Issue with lagging on python project startup

Environment data

Language Server version: 2022.3.1 (pyright bd47ac0b)
OS and version: Windows_NT x64 10.0.17763
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9

Expected behaviour
Vscode run smoothly on startup
Actual behaviour
Freeze whole computer on startup and have 70% CPU and 100% GPU spike
Logs

Its over 2500 lines so here is the .txt
vscode_lag.txt
Code Snippet / Additional information

Issue occurs on all python startup in any project folder the current project that was opened in the trace log was an empty test folder with one .py file and 3 lines of import code.
import random
import traceback
import praw

can you put in settings.json, "python.analysis.indexing=false" ? according to log, that is only thing that takes more than 2 seconds.
indexing is something that improve auto-import/add-import/search symbol perf and experiences.

24 hour update after setting indexing to false...
Thank you for the help, everything is not freezing anymore, so all good in that department. Still having some weird GPU spikes tho, is there anything I can do about that?

@Newcool1230 what machine are you using? according to the log, there is nothing pylance does. if you machine can't even handle vscode opening a file, not sure what we can do.

@Newcool1230 what machine are you using? according to the log, there is nothing pylance does. if your machine can't even handle vscode opening a file, not sure what we can do.

@heejaechang I'm running i7-8700k, GTX 1070 Ti, 32GB RAM and 1T SSD
Runs pycharm just fine, only having issues with vscode. Further testing shows that it happens when all extensions were disabled so I have made an issue on vscode repo and will be closing this one since it seems to be an issue with vscode and not the pylance extension.
Thank you for your help!


Update .travis.yml when travis-ci supports Xcode 6.3

Because of licensing, Travis-CI cannot install Xcode betas.
Update .travis.yml when travis updates to the final Xcode 6.3 release.
Also update README with travis-ci badge.

From travis-ci:
http://blog.travis-ci.com/2015-04-20-state-of-the-mac-infrastructure-on-travis-ci/

You could consider switching to CircleCI, which already supports Xcode 6.3.x (and has done so for a while now). I've used it on a few projects, and it works well. Happy to submit a PR if you're keen.

Hey @tonyarnold - thanks for the suggestion!
I'm already pretty heavily invested in travis. All of my projects use it, CocoaDocs integrates with it, etc. They seem to be working on a solution to iterate more quickly on OS X and iOS, so i'm hoping this will surface soon and address future issues. Also, it's really nice that travis is free for open-source — it doesn't look like CircleCI does that.

This should be possible now

thanks @nanoxd !


cluster-manager is not started

Describe the bug
cluster-manager is not started.
Environments

Version: MOCO v0.16.1

To Reproduce

Create a MySQLCluster
Wait for the MySQLCluster to become HEALTHY.
Edit the MySQLCluster so that a reconciliation error occurs.$kubectl edit mysqlcluster <MySQLCluster>
...
spec:
  mysqlConfigMapName: not-found
  podTemplate:
...

Restart the moco-controller$ kubectl rollout restart -n moco-system deployment moco-controller

After the above steps, a cluster-manager (goroutine) for the MySQLCluster will not start.
Expected behavior
After restarting moco-controller, the moco-controller should start cluster-managers for the existing MySQLClusters.

@masa213f Is this a regression?

@ymmt2005 Probably, this defect has existed for a long time.

@masa213f
Ah, I overlooked this.

Edit the MySQLCluster so that a reconciliation error occurs

Yes, it's currently the way it does. Maybe we should add more validation.


CIN-09761: Queries with parentheses fail in child form filters

Created new PR for this, we can close this.


How to use min nights?

How do I pass min nights to this component.
E.g: choose dateOne = "2019-04-04" so when minNights = 3 user only can choose date from "2019-04-06"

This is not implemented. PRs accepted!

@tranghaviet are you working on this? otherwise, I can give it a try

No I don't. I copied AirbnbStyleDatepicker.vue component and custom this component.


AemReact is not defined

An error has occured during execution of the selected action: AemReact is not defined -> ReferenceError: AemReact is not defined
    at constructor.eval (eval at <anonymous> (http://localhost:4505/libs/cq/gui/components/authoring/editors/clientlibs/core.js:1917:23), <anonymous>:1:13)
    at constructor.handleEvent (http://localhost:4505/libs/cq/gui/components/authoring/editors/clientlibs/core.js:19321:41)
    at HTMLDivElement.dispatch (http://localhost:4505/etc/clientlibs/granite/jquery.js:4665:9)
    at HTMLDivElement.elemData.handle (http://localhost:4505/etc/clientlibs/granite/jquery.js:4333:28)

You are missing the author mode javascript. It is currently in the demo content package only: https://github.com/sinnerschrader/aem-react/tree/master/demo/src/main/content/jcr_root/etc/designs/react-demo/js/react-cq
I am thinking about integrating it in aem-react-js.

I think you are trying the demo in Touch UI. Touch UI support is very limited in 0.2.0


Fix editor resource preview deadlocking with --headless mode

Added & Implemented:

OS::get_current_rendering_is_headless() for when NULL_DISPLAY_DRIVER is used
EditorResourcePreview now checks the value I added to OS. This means it wont start its thread unless it is non headless.

How to reproduce the bug I had:
./godot.editor.bin --headless --editor --quit --path C:\Users\<yourusername>\Projects\tps-demo
I debugged for a few hours:

the icon generation fails when you are using headless mode because it relies upon using some hooks in the renderer that weren't available with headless, so the engine would not close and it would never exit.

Kindly sponsored by The Mirror

OS::get_current_rendering_is_headless() for when NULL_DISPLAY_DRIVER is used

Isn't DisplayServer::get_singleton()->get_name() == "headless" sufficient?

DisplayServer::get_singleton()->get_name()

Checking DisplayServer::get_singleton()->get_name() one sec

OS::get_current_rendering_is_headless() for when NULL_DISPLAY_DRIVER is used

Isn't DisplayServer::get_singleton()->get_name() == "headless" sufficient?

Yes you were right, updated!

Thanks!


[GAE-Java] Relax version enforce for some mvn dependencies

When upgrading guava for GAE Java SDK, there seems to be some problem with maven-enforcer-plugin. Relax this version control.

Codecov Report

Merging #2894 (91ba9ca) into main (79cd577) will decrease coverage by 24.36%.
The diff coverage is n/a.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #2894       +/-   ##
===========================================
- Coverage   66.83%   42.47%   -24.36%
===========================================
  Files          99       99
  Lines       10687    10676       -11
===========================================
- Hits         7143     4535     -2608
- Misses       3544     6141     +2597

see 63 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


Declare missing loader dependencies

https://github.com/bline/bootstrap-webpack/pull/6 is still needed to pull in some of the loaders used by bootstrap-webpack.

Added useful loaders in peerDependencies.


AttackSurfaceReduction

Change(s):

Added a new workbook called 'AttackSurfaceReduction'.

Reason for Change(s):

This workbook helps you implement the ASR rules of Windows/Defender, and to monitor them over time. The workbook can filter on rules in Audit mode and Block mode. Please see details on my blog: https://danielchronlund.com/2022/06/15/attack-surface-reduction-dashboard-for-microsoft-sentinel/

Version Updated:

No

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hey @DanielChronlund, can you please quickly change this, so we can proceed to merge, thanks.

Yes, I'm currently travelling but I will change this first thing tomorrow
Friday.
Den tors 8 sep. 2022 08:18v-sabiraj @.***> skrev:

Hey @DanielChronlund https://github.com/DanielChronlund, can you please
quickly change this, so we can proceed to merge, thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/Azure-Sentinel/pull/5488#issuecomment-1240272186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARVWSAGJN3YKLHXNVTKNXCDV5GAJ7ANCNFSM52CE2WRQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @DanielChronlund Please let us know once done. Thanks


Single file compilation

When you compile the CLI, it has many dependencies which is an issue when releasing (as seen in the latest release), consider reading the following article on publishing as a single file: https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli
Note: I will make a PR soon implementing this, feel free to deny or accept it

Thank you. Looking forward to reviewing your pull request.

I was not able to get it to work within Visual Studio but I was able to get it to work within cmd.

Open cmd
CD into the src folder
Run the following commnad:dotnet publish Unluau.CLI -r win-x64 /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained true


Update dependency instances table

Update dependency instances table

Codecov Report

Merging #696 into master will decrease coverage by 0.32%.
The diff coverage is 3.44%.

@@            Coverage Diff             @@
##           master     #696      +/-   ##
==========================================
- Coverage   56.24%   55.91%   -0.33%
==========================================
  Files          53       53
  Lines        2073     2087      +14
  Branches      199      203       +4
==========================================
+ Hits         1166     1167       +1
- Misses        857      870      +13
  Partials       50       50

Impacted Files
Coverage Δ

...nts/lang/src/main/java/io/cellery/models/Meta.java
0% <0%> (ø)
:arrow_up:

.../src/main/java/io/cellery/impl/CreateInstance.java
35.08% <3.7%> (-0.65%)
:arrow_down:

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 05a516e...4dd2aba. Read the comment docs.


Laminar Swap not working

Laminar swap not working from AUSD to any other currency FBtc or FCad  also sometime when we try to swap and sign the trx the laminar amount increase on its own beside assets doesn't swap.
Wallet for Bug Bounty:
5E6qSW7UVmjKwGcBeCbjBndketgwcqXSeV5nMc2yWc6T1tDA

some token pairs are not enabled in swaping, we'll hide them in newer release.

Dear Concerned,
Let me win some Acala from on going Acala
Manadala festival  lol. Two bugs i notified and for both you have given
explanation but as end user those were issues.
Beside it how i suppose to find bug .
Best Regards,
On Sat, Aug 8, 2020, 3:26 PM Shawn Yang<EMAIL_ADDRESS>wrote:

some token pairs are not enabled in swaping, we'll hide them in newer
release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/polkawallet-io/polkawallet-flutter/issues/111#issuecomment-670855979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPLJM5MJ3TVB6A2MI3AW6LR7UR5VANCNFSM4PUYT4UQ
.


Please update nuget packages to actual version

Current published version has few bugs with saved session

Thanks for making me aware of this, I've uploaded a new nuget package version (v1.6.6) which represents this commit. This problem should be fixed now

Yes, problem fixed. Thanks!


Revert "upgrade ovs-ovn pod by generation version instead of chart ve…

…rsion (#1960)"
This reverts commit f075458703d478c9ba8811e8e676dc07c07811c8.
Pull Request

[ ] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Features
Bug fixes
Docs
Tests

Which issue(s) this PR fixes
Fixes #(issue-number)
WHAT
copilot:summary
copilot:poem
HOW
copilot:walkthrough

https://jira.alauda.cn/browse/ZSZQ-167

只需要修改 release-1.9 和 release-1.11 分支，其他分支不受影响。release-1.12 和 master 分支，不需要修改


install problem

@Jittor firstly, thx for your great work.
I am wondering if you install from source in python virtual environment. I found it can not find the correct Python.h path

Where you able to solve this problem? I’m having the same issue using venv on my Windows machine

@jackmsye @eigenscene  Did you solve the issue ?


[Question] Receipt card alternatives for MS Teams?

I'm working on a project whose information would be more effectively displayed on receipt cards. This is fine but I'm using MS Teams and I just found out that it doesn't support receipt cards. Is there a way to mimic the receipt card style with text, or hero cards? If so could you provide an example including buttons and images? Thanks!

@meganlcooper are you using .NET or Node SDK?

I'm using .NET sorry I forgot to clarify

@meganlcooper - Hi Megan! Sorry you're hitting a limitation. You might take a look at our Get-Started sample. It has sample code in both C# and Node which use OpenUrl in bot dialogs. Have you looked at the BotBuilder reference about Hero cards vs. receipt cards too? Seems do-able to me, if the images are available, but please feel free to ask specific questions. Hope this helps!

@meganlcooper this is now supported in Teams.


Create 2018-10-10-runtimeclass.md

/approve
pls squash your commits.

pls squash your commits.

需要我做什么吗？从新提交一个？

In your branch:
git rebase -i master

In the editor, leave the latest one (line 1) untouched, and change "pick" in other lines to "squash". (https://gitbetter.substack.com/p/how-to-squash-git-commits)
Save the change and quit the editor.
Finally,
git push -f

In your branch:
git rebase -i master

In the editor, leave the latest one (line 1) untouched, and change "pick" in other lines to "squash". (https://gitbetter.substack.com/p/how-to-squash-git-commits)
Save the change and quit the editor.
Finally,
git push -f

我感觉还是我把这个关了，从新提交一下比较方便，可以吗？

In your branch:
git rebase -i master

In the editor, leave the latest one (line 1) untouched, and change "pick" in other lines to "squash". (https://gitbetter.substack.com/p/how-to-squash-git-commits)
Save the change and quit the editor.
Finally,
git push -f

我感觉还是我把这个关了，从新提交一下比较方便，可以吗？

您给的链接页面也根本打不开

/label tide/merge-method-squash

/lgtm


PR: Set up CI with Azure Pipelines

This will start testing spyder-terminal on Windows and macOS using Azure.

Thanks @steff456! Great work here!


Install FreeBayes 1.3.1 and Mutect2 on test.

@galaxybot deploy this

Whoops, these should be in yml/lock files by section, not by repo. Can you update that after the deployment finishes?

@natefoo should be a lot better now

@davebx Looks like the version update for Freebayes is missing?

@natefoo looks like freebayes on test is already the current version

@galaxybot deploy this

Was this updated in another PR? Ephemeris claims the requested version was already installed.

 I'll reopen it if I discover otherwise.


upgrade deepmerge, add all method, add tests

Upgrade deepmerge to support all object types
Add all method to merge an array of config objects
Add tests and coverage check
Bump major version

@eliperelman so I was just thinking - how do you feel about changing the merge logic slightly so it aligns with babel's behavior? Babel merges plugins and presets but leaves options intact, which I think makes sense in most cases.

.babelrc.js
module.exports = {
  presets: [
    [
      '@babel/env',
      {
        targets: {
          node: 'current'
        }
      }
    ]
  ],
  plugins: [
    '@babel/plugin-proposal-object-rest-spread',
    ['module:fast-async', {
      runtimePattern: null,
      useRuntimeModule: false
    }]
  ]
};

babel-test.js
const Path = require('path');
const babel = require('@babel/core');

const babelMerge = require('./src');

function relativeToNodeModules(path) {
  return Path.relative(Path.resolve('node_modules'), path);
}

function simplifyBabelConfig({ file, options }) {
  const key = relativeToNodeModules(file.resolved);
  return options ? [key, options] : key;
}

function simplifyPlainConfig(value) {
  return typeof value === 'string'
    ? relativeToNodeModules(value)
    : [relativeToNodeModules(value[0]), value[1]]
}

const overrides = {
  presets: [
    [
      '@babel/env',
      {
        targets: {
          browsers: ['>= 0.25%', 'not dead']
        }
      }
    ]
  ],
  plugins: [
    ['module:fast-async', { spec: true }],
    '@babel/proposal-class-properties',
    ['@babel/proposal-object-rest-spread', {
      useBuiltIns: true
    }]
  ]
};

let presets;
let plugins;

({ options: { presets, plugins } } = babel.loadPartialConfig(overrides));

console.log('\nbabel');
console.dir(
  {
    presets: presets.map(simplifyBabelConfig),
    plugins: plugins.map(simplifyBabelConfig)
  },
  { colors: true, depth: null }
);

({ presets, plugins } = babelMerge(require('./.babelrc'), overrides));

console.log('\nbabel-merge');
console.dir(
  {
    presets: presets.map(simplifyPlainConfig),
    plugins: plugins.map(simplifyPlainConfig)
  },
  { colors: true, depth: null }
);

> node babel-test.js

babel
{ presets:
   [ [<EMAIL_ADDRESS>       { targets: { browsers: [ '>= 0.25%', 'not dead' ] } } ] ],
  plugins:
   [ [ 'fast-async/plugin.js', { spec: true } ],
<EMAIL_ADDRESS>     [<EMAIL_ADDRESS>       { useBuiltIns: true } ] ] }

babel-merge
{ presets:
   [ [<EMAIL_ADDRESS>       { targets: { node: 'current', browsers: [ '>= 0.25%', 'not dead' ] } } ] ],
  plugins:
   [ [<EMAIL_ADDRESS>       { useBuiltIns: true } ],
     [ 'fast-async/plugin.js',
       { runtimePattern: null, useRuntimeModule: false, spec: true } ],
<EMAIL_ADDRESS>] }

@bernardmcmanus so is the intent that any options passed to the plugin or preset would be completely replaced instead of merged?

@bernardmcmanus I think what you said originally is fine, let's just do a replace for now since that is synonymous with Babel. Is that what your current implementation here has? If so, I'll review again.

@eliperelman Sounds good. It does not, I have those changes locally but need to update tests / docs etc. I should have some time later this afternoon.

Published in v2.0.0.

@eliperelman I totally forgot to update the README with new behavior 😬 I'll submit a new PR

@bernardmcmanus no worries, thanks!


nth_prime buggy

Looks like a off-by-one error in the hard-coded prime list:
use number_theory::NumberTheory;

pub fn nth_prime(n: u32) -> u32 {
    n.nth_prime().unwrap()
}

#[cfg(test)]
mod bug_repro {
    use super::*;

    #[test]
    fn bug_repro() {
        assert_eq!(nth_prime(1), 2);
    }
}

(for big enough n, it behaves correctly since it sieves there). But for the small indices, it is off by one, apparently. We should really be indexing the list at n - 1. But I can't pass 0 since there's an assertion that n > 0. And also the algos later seem to assume 1-based indexing of primes.

root cause seems to be this line which is inconsistent with 1-based indexing: https://github.com/JASory/ENT/blob/fca294f26e920f3a74cf3d704560d39b17905ef9/src/primitive/byte.rs#L136

nth_prime doesn't actually sieve it sequentially enumerates, pi (prime-counting) and 'prime_list' do sieve, but nth_prime will sieve in the future. Anyway this is fixed now, but only in the repository. I have some time dedicated in the relatively near future to expanding the functionality and fixing minor issues like this.


Enforce 2FA for all user groups

Describe Feature Request
Currently, 2FA is only enforced for the staff user group (via Google login). This request is for it to apply to all user groups and block users who do not have it unabled.
Requested solution

Block access to Hypha if user does not have 2FA enabled.
Reset password for that user
User resets password and sets up 2FA in order to access
Add a setting to turn this on/off. Default will be off so it works just like now. OTF will have it set to on.

Priority

High

Affected roles

Applicants
Reviewers
Partners
Developers
General public

Ideal deadline
April 18th

Description
All user accounts without 2FA will be forced to set up 2FA and reset their passwords when logging into the WebApp.
Possible workflows

All users without 2FA will be prompted with instructions for how to set up 2FA and reset their password during log-in.

What is required?
design: the process for a user to create 2FA when logging into the WebApp
technical: to figure out how to remove access to all users without 2FA, and implement 2FA setup on the log-on page.
Current login Page

@sandeepsajan0 @sks444  Maybe we can make good use of the class OTPRequiredMixin. We might need a intermediate class that checks a new setting, something like TWO_FACTOR_ENFORCE
It would need to be added to a lot of views but otherwise seems simple and straightforward. I like the resulting flow for users and we do not need to force them to reset their passwords etc.
See https://django-two-factor-auth.readthedocs.io/en/stable/class-reference.html?highlight=OTPRequiredMixin#two_factor.views.mixins.OTPRequiredMixin
This is how it looks by default if you visit a view with OTPRequiredMixin without having 2FA setup on your account.

'Enforce' is probably not the best language to use with a high risk group that might have bad experiences with the word and institutions that are 'enforcers' recommend language like 'OTF/This system needs you to verify your account in order both us and yourself to stay safe and secure. Enabling two-factor auth takes approximately x time and needs you to have access to an authenticator app etc..'
^ not perfect UX language but lets make sure we're offer help to folks not used to this process as much as the folks that do this all the time.
Also just a quick question, do you have plans for how to support applicants that might only be on feature phones?

During standup April 11 developers discussed:
Description
When a user logs into Hypha, they will be redirected to setup their 2fa
Proposed solution
Develop middleware for all requests and from any url

[ ] Allow users to log-in without requirement to change password
[ ] Users will be directed to a message asking them to setup 2fa
[ ] After log-in, users will be directed to another screen to setup 2fa
[ ] Users could be redirected to their dashboard after 2fa setup has been completed
[ ] Default for this setting is OFF as not all adopters will wish to enact 2fa requirement

Also just a quick question, do you have plans for how to support applicants that might only be on feature phones?

Hi @Erioldoesdesign - thank you for the input. I updated the original GH issue with workflows to accommodate different types of users, including those with feature phones.

April 12 standup notes

Sandeep demo new functionalties and potential bypasses
We will need to test for SSO to better understand how they would be impacted - these users should be verified via middleware, but we will check
feature ready for test this week

@ei8fdb
April 13 - notes

[ ] Create test cases for what we expect to happen when implementing 2fa. We will follow these test cases when we test functionalities for quality assurance. Example test cases: someone lost their mobile, new applicant unfamiliar with 2fa
[ ] Conduct 30 minute UX session to gather input and experience from program specialists
[ ] Post-implementation design fixes

Did a quick little user journey test walk through - will upload screenshots with thoughts later today but none are blockers/critical issues to stop whats on test being live - Great work product + dev team 😄

QA
Applicant

[ ] sees setup page after login
[ ] could access setup page and see backup codes
[ ] has instructions for setup and prompt for saving backup codes
[ ] message on their mobile is clear/present

Reviewer

[ ] sees setup page after login
[ ] could access setup page and see backup codes
[ ] has instructions for setup and prompt for saving backup codes
[ ] message on their mobile is clear/present

Partner

[ ] sees setup page after login
[ ] could access setup page and see backup codes
[ ] has instructions for setup and prompt for saving backup codes
[ ] message on their mobile is clear/present

Standup April 21
Meeting Notes

[x] User research with OTF staff
[x] BT presented workflow for users, suggested changes to the user interface to streamline process
[ ] BT will update workflow based on feedback from developers during technical review

Challenge
Users without smartphones (authentication app) will not be able to generate backup codes. PM needs to ruminate on security risks of sending code via email for applicants without smart phones.

Standup April 26
When we push this feature upstream to Hypha Core, the default is either global or enable for specific users roles.

No, if 2FA enforce is set to "on" is is active for all users regardless of roles. Users logging in via Google auth is exempt however.


New Price Flow: #3 confirm/reject/notify and persist

In the previous story #1410 the orchestration was established for processing the PriceCommandReceived event.
With this story, this new price architecture will be responsible for persisting prices, sending confirmations/rejections and notifications.
Basically, we switch ON handling Charge Price request (D08) through the new Price architecture and at the same time switch OFF the charge price handling in the "old" architecture, which is expected to only handle Charge Information (D18) afterwards.

Tech notes:

No downtime allowed for processing D08 charge prices; switching from old to new architecture must be carried out at the same time.
Outbox pattern is out of scope for this story.
Notifying MessageHub about available data must be done without outbox.
The Integration Event ChargePricesUpdated is out of scope (handled in a subsequent story, and no registered consumers exist, yet)

Acceptance criteria:

[ ] 1 Given the new architecture is switched ON and the old architecture OFF
When a Charge Price request (D08) is received
Then it is processed only by the new architecture
(testable through app insights)

[ ] 2 Given a valid charge price request is received
When the sender peeks
Then a D08 confirmation message is provided

[ ] 3 Given a valid charge price request for a tax tariff is received
When a Grid Access Provider peeks
Then a D08 notification message is provided

[ ] 4 Given an invalid charge price request is received
When the sender peeks
Then a D08 rejection message is provided

Tasks

[ ] Move confirmation functionality from "old arch" to new service + enable it to provide MessageHub with a "DataAvailableNotification"
[ ] Same for rejection functionality
[ ]  Same for notification functionality
[ ] Be able to persist charge prices from the new architecture
[ ] Remove charge prices code in "old arch" for confirmation/rejection/notification/persistence, so new arch may take over the responsibility
[ ] Consider what to do with the code for publishing ChargePricesUpdated; it will probably be moved in story #1413
[x] Remove Position column from the ChargePoint table. OBS: might cause some side effects in code base on outgoing flow as well. https://github.com/Energinet-DataHub/geh-charges/pull/1503

Other tasks written at PI planning, which may no longer be relevant/in sync with the code base:

[ ] Remove DocumentDto from ChargeCommand and do document validation on ChargeBundleCommand

Closing this story, as it has been replaced by a new design suggestion, which is getting implemented via story #1528.


.Net: Give ConversationSummarySkill functions explicit names

Give ConversationSummarySkill semantic functions explicit names so they are not assigned random ones at runtime. This allows them to be more easily recognized when described (such as GetFunctionsView).

To follow up on this, we do plan on making changes with regards to how semantic functions can be created in a more lightweight fashion, reducing the need for a change like this. For now, the obfuscation of the semantic functions by name is intentional. Thanks for your time in filing the issue and the pr.


Proxy support for testing and fuzzing stages

Hey all, not sure if I missed it but wanted to know if it's possible to configure a http/s proxy for Testing and Fuzzing phases. It's needed because the token logic for APIs that I'm trying to fuzz is a bit different than a traditional token. My mitmproxy does that when it receives the request and forwards it to the target.

I also not able to run restler behind proxy. Working fine in non proxied environments. Is it not supported yet? or I am missing some configuration?
My environments have $http(s)_proxy / $HTTP(S)_PROXY all set.
Can anybody please confirm if it's workable behind proxy?

Hi, I have the same issue :(

feel free to commit to https://github.com/microsoft/restler-fuzzer/pull/875


Improve use of enumeration sets (flags)

Removes the necessity of declaring enumerators with single
bit set values (e.g. 1<<X) and the requirement of a "None"
special value (there is no such a thing as TCP option None).
Instead, operations that depend on a set of these
enumerators take a Flags argument, which is now
implemented using a std::bitset.
Future work may include specialization of Flags such as
NotifyOn, where the value and operations make use of the
underlying C macros instead of an intermediate
bitset representation.
Possible optimizations would consist in turning the constructors
and other simple operations constexpr, although this is restricted
to C++14 or later (no loops in C++11 constexpr functions).
Type trait Pistache::Underlying_Type removed since GCC 4.6 does
not support C++11 (4.8.1 or greater).

Wow.  I apologize for missing this PR.  I wish I had merged it before it grew merge conflicts.  Sadly, there are merge conflicts.  I'm clearing out stale PRs.  Are you interested in repairing this PR so that it is mergable?  If yes, please let me know.  Otherwise, I'll close this PR in a few weeks (with much sadness).

Hi, no worries. I understand the burden and time it takes to maintain a repository!
I changed projects a while back, so I won't have time for this unfortunately.
I'll close the PR myself then.


Decrease verbosity of kube-burner tests

Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>Description
We're printing too much useless info in the screen. This will drop the verbosity of the benchmark.
Note that the kube-burner log level is changed to error by default.

/rerun all

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

router-perf-v2
./ingress-performance.sh
PASS
00:04:58

etcd-perf
./run_etcd_tests_fromgit.sh
PASS
00:02:23

scale-perf
./run_scale_fromgit.sh
PASS
00:13:37

network-perf
./run.sh
PASS
00:06:39

kube-burner
WORKLOAD=cluster-density ./run.sh
PASS
00:05:20

kube-burner
WORKLOAD=node-density ./run.sh
PASS
00:05:14

kube-burner
WORKLOAD=node-density-heavy ./run.sh
PASS
00:06:16

kube-burner
WORKLOAD=pod-density-heavy ./run.sh
PASS
00:05:50

kube-burner
WORKLOAD=max-services ./run.sh
PASS
00:05:00

kube-burner
WORKLOAD=max-namespaces ./run.sh
PASS
00:05:17

upgrade-perf
./run_upgrade_fromgit.sh
PASS
00:01:01


Added controlled logging for estimator.py

Added extra argument logging_every_n_iter to the fit function of Estimator in estimator.py to control logging display.

Nagging Assignee @protoget: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

contrib.learn is deprecated, I'd rather not add features to it.


[e2e]: delegator-generic release main checkout slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v50.0.344
Run: https://github.com/slsa-framework/example-package/actions/runs/9967063303
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.release.main.checkout.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.release.main.checkout.slsa3.yml
Trigger: release
Branch: v50.0.344
Date: Wed Jul 17 02:21:05 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v50.0.345
Run: https://github.com/slsa-framework/example-package/actions/runs/9984428750
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.release.main.checkout.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.release.main.checkout.slsa3.yml
Trigger: release
Branch: v50.0.345
Date: Thu Jul 18 02:32:00 UTC 2024
Tests are passing now. Closing this issue.


Travis CI build

May be useful https://travis-ci.org/sdukshis/actor-zeta/builds/209761235

@kotbegemot: I should enable travis-ci build from you own account and change url to build badge before merging this PR


Migrating stories: Nested stories

Right now, our migratins stories functionalities, working only for root level stories, but it fails when there is nested structure.
Need to figure out that thing, so to be able to migrate more advanced content structures.

This is now, done and reployed to beta version :)


Upgrade to Webpack 3

I know the upgrade to Webpack 2 was just completed in #451 but since Webpack just came out it might be worth going up one more level to capture some built-in performance improvements. It is also reported that there are no breaking changes in Webpack 3, so the process should be as easy updating the package.json
https://medium.com/webpack/webpack-3-official-release-15fd2dd8f07b

I have this working on a local branch. It was a bit of a hassle though. The issue is not so much upgrading webpack, but some of the plugins used are still in release candidate for their webpack compatible versions - namely extract-text-plugin which is in rc2. React Hot Loader is also in rc and yarn seems to be unable to find it with a normal yarn install command. I had to manually npm install the package by name and version tag.

Okay - if that's the case, we can wait a bit and let versions stabilize.


Improve Towny integration canInjure()

I had a sponsor of mine (and user of your plugin) bring an oddity to my attention. They were finding a number of enchantments behaved according to the town's mob setting. I tracked it down to how canInjure() is handled here. Below I have provided what I believe will work for the better:
    override fun canInjure(
        player: Player,
        victim: LivingEntity
    ): Boolean {
        val world = TownyUniverse.getInstance().worldMap[victim.location.world?.name] ?: return true
        if (TownyAPI.getInstance().isWilderness(victim.location)) {
            return if (victim is Player) {
                world.isPVP
            } else {
                true
            }
        }
        try {
            val townBlock: TownBlock = TownyAPI.getInstance().getTownBlock(victim.getLocation())
            return townBlock.isPVP
        } catch (ignored: Exception) {
            // If exception, no town was found, thus return true.
        }
        return true
    }

TownyAPI.getTownBlock() is nullable but since the isWilderness() has already been used, it should never return null;
The above change to the code means players and other living entities will be treated according to the pvp status of the townblock itself (a unit of land inside of a town,) rather than the town's pvp and mobs settings for players and living entities respectively.

Here I am :) I'm the sponsor of Towny mentioned above and also the buyer of EcoEnchants.

FYI I tested two enchantments of EcoEnchants: Razor and Intellect.
Neither of the two worked within the town lands if the town has "Mobs: OFF" option. Then, If I do /town toggle mobs to set the option to "Mobs: ON", both two worked then. Since the effects of the two enchantments are very apparent, the difference between "Mobs: ON" and "Mobs: OFF" is also clear.

I'll update eco to include these changes and add you as a contributor - thanks!

It seems like townBlock.isPvp doesn't exist as a property? Updated to latest towny as well so it's not a version issue

woops, try townBlock.getPermissions().pvp


InterstellarRedistributable should be compatible with any version hig…

…her than KSP 1.8
People with KSP 1.11 should be able to install the latest version of KSPIE

not sure if this is correct but I want InterstellarRedistributable to be available for any KSP version higher than 1.8

Hey, this will be overwritten by the bot as soon as it runs the next time. We either need to hardcode the compatibility in the .netkan file in KSP-CKAN/NetKAN, or you could include a version file like with KSP-IE.

@DasSkelett I don't know how. I can't seem to be able to add version files to Version Checker

Just like the one that is included for KSP-IE:
{
	"NAME":"Interstellar Redistributable",
	"URL":"http://ksp-avc.cybutek.net/version.php?id=XXXX",
	"DOWNLOAD":"https://spacedock.info/mod/2800/Interstellar%20Redistributable",
	"VERSION":
    	{
		"MAJOR":1,
		"MINOR":4,
		"PATCH":0,
		"BUILD":0
    	},
	"KSP_VERSION_MIN":
	{
		"MAJOR":1,
		"MINOR":8,
		"PATCH":1
	}
}

Just adjust the NAME and VERSION, and maybe upload a new remote version file to ksp-avc.cybutek.net and change the URL, or remove that property.
For hardcoding in netkan it's essentially the same as what you did here, just add a ksp_version_min, ksp_version_max is probably no longer needed nowadays (but if you fear Squad breaks their promise and do release KSP 1.13 at some point, you could set max as well).


Documentation for _image

Is there any good documentation or explanation of the functionality of the _image module?

@jhamilx image is there to handle working with MRI data for co-visualisation and soon for things like T2 correction. There isn't anything written about it yet, mainly because I am planning a big overhaul of the module to make it easier to work with and more consistent with the MRS data types. If you have any requests for new features please do open issues, but it is better to open them on the openmrslab/suspect fork which has supplanted this original.

Okay will do from now on, so for the moment can it be used to correlate MRS data instance with voxel locations?


Refine typography

See clarification.
Font Family

Default is Inter.
HCA/LungMAP requires overrides with DIN.
AnVIL requires overrides with Open Sans.
Update Figma to include DIN fonts.

Color

Fallback for all is ink.

Update, we will use Inter as the default for AnVIL


Nothing works inside each if no content provided after

Dunno if it's bug or not.
Consider this code:
each items
  +Template.dynamic(template=../template data=this)

It just doesn't work, but if I add some content after all works fine.
each items
  +Template.dynamic(template=../template data=this)
// now it works

Confirmed this bug as happening also when using UI.ContentBlock to define your own components (that thing that's supposed to make #1 missing not hurt so much...)
I'll note that this happens with things that extend spacebars too, such as {{#sortable}}

Ignore my above comment.
This isn't really a bug per se, @RevelsGit explained an intentional situation.  "this" is always the current data context, as {{this}} will literally output the value stored in "this.data (from the Template point of view.)"  I would imagine this is because variables are compiled by Spacebars/Handlebars at the end of the day.  Your point data=this would require a data context on the template being used in.  The point of ../template means that the parent data context must also be set (as with ..)
If any of this is incorrect please feel free to correct, it's speculation as to how I see it working.


What is the meaning of the anchor_node and anchor_edge?

Hi,  I can't figure out the difference about using anchor_node and anchor_edge to fix first node and just to set first_node.setFixed(True) instead of using anchor.
Would really appreciate any help. Thanks!

Hi @wwtinwhu ,
setFixed(True) hardly fixes the first node at the initial estimate (i.e., at the origin). However, it makes inconsistency when we use some constraints, for instance, acceleration vector and floor plane constraints may want to rotate or shift the first node. The anchor aims to loosely fix the first node around the origin.
The anchor implementation in hdl_graph_slam is not completed. Maybe it's better to improve it in the way used in interactive_slam:
https://github.com/SMRT-AIST/interactive_slam/blob/33ba5415dfcfeb3580593910c10ae05831bebe99/src/hdl_graph_slam/interactive_graph.cpp#L376

Hi @wwtinwhu ,
setFixed(True) hardly fixes the first node at the initial estimate (i.e., at the origin). However, it makes inconsistency when we use some constraints, for instance, acceleration vector and floor plane constraints may want to rotate or shift the first node. The anchor aims to loosely fix the first node around the origin.
The anchor implementation in hdl_graph_slam is not completed. Maybe it's better to improve it in the way used in interactive_slam:
https://github.com/SMRT-AIST/interactive_slam/blob/33ba5415dfcfeb3580593910c10ae05831bebe99/src/hdl_graph_slam/interactive_graph.cpp#L376

Thanks, I get the meaning of using anchor in hdl_graph_slam. @koide3  By the way, I read the code of anchor in interactive_slam. I find that there is a little difference with hdl_graph_slam.  Could you explain that? For example, anchor node is set as first key frame's pose not the origin.

In hdl_graph_slam, the anchor is completely fixed at the origin, and thus the first node will always be pulled to the origin and make some inconsistency. By moving the anchor to the current estimate of the first node, interactive_slam aims to solve this inconsistency. During optimization iterations, the anchor and the first node gradually move until they reach at the place where the first node would not have inconsistency with the other nodes.

This video gives a good explanation. At every optimization, the anchor is moved to the current first node estimate so that it can settle to a good solution.
https://drive.google.com/open?id=1a1Zi_3Lr6Wdj9nr54avyNASWWyRnogf4
The latest version of hdl_graph_slam also do this if "fix_first_node_adaptive" is enabled.
https://github.com/koide3/hdl_graph_slam/blob/0331eec84007fc783aaaeb2fdab8d93cf7ef1a98/apps/hdl_graph_slam_nodelet.cpp#L581

This video gives a good explanation. At every optimization, the anchor is moved to the current first node estimate so that it can settle at a good solution.
https://drive.google.com/open?id=1a1Zi_3Lr6Wdj9nr54avyNASWWyRnogf4
The latest version of hdl_graph_slam also do this if "fix_first_node_adaptive" is enabled.
https://github.com/koide3/hdl_graph_slam/blob/0331eec84007fc783aaaeb2fdab8d93cf7ef1a98/apps/hdl_graph_slam_nodelet.cpp#L581

@koide3  Great explanation and implement for loose_fix! I think your code for this part helps me a lot! Thanks for your explanation and great job you have done!


Telemetry updates for OneAuth

Adds a getTelemetryMap function to get the final hash map before flushing into the observers.

Tests seem to be failing


[Compile error] Duplicate config auto.h

Hi I am using the project to compile with Xcode Version 10.1 (10B61).
I have disabled bitcode at all levels.
I am getting following error,  any idea how to resolve this?
error: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h':

Target 'TesseractOCRiOS' (project 'Pods') has copy command from '/Users/user/Workspace/iOS_Test/WhichFont/Pods/TesseractOCRiOS/TesseractOCR/include/leptonica/config_auto.h' to '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h'
Target 'TesseractOCRiOS' (project 'Pods') has copy command from '/Users/user/Workspace/iOS_Test/WhichFont/Pods/TesseractOCRiOS/TesseractOCR/include/tesseract/config_auto.h' to '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h'

Solved with this https://github.com/gali8/Tesseract-OCR-iOS/issues/375


ANC Subs Encounter - Lab Results - HIV PCR [3h]

Issue
After we take the HIV PCR lab (#260), we need to enter the results in the next steps. This follows the same flow as the first ANC encounter.  The results are numerical and the user will need to put in the numbers using the native keyboard on the device. The numerical option is then followed up by the question to verify if the result is below 20 copies. That would mean that the virus level is undetectable which comes into play in Next Steps (#264).

Screen One
Screen Two

To Do:

Create Lab results activity
Style screens per design

@jeanette-pelizzon
Why do we have this question?

@jeanette-pelizzon
Should this somehow be reflected at Labs section of Progress report?

@jeanette-pelizzon
We have input where nurse type the exact value. Why do we need another question?

Yes, because the report the nurse gets just says below 20 but not the exact number. So they can put a number in above 20 or they will hit the button that the viral load is under 20.

Should this somehow be reflected at Labs section of Progress report?

Yes, it should follow the same format of the others. The normal range for HIV PCR is less than 20 copies.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Question: Can we display superscripts where needed?

Checked and approved:

Result <20 copies/mm3

Result >20 copies/mm3

seems like this is accepted usage:


⚠ UdeS website (prod) has degraded performance

In 6c4dcf9, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1104 ms

Resolved: UdeS website (prod) performance has improved in a205241.


Update RxJS dependency

Addresses an issue with Webpack builds.
https://github.com/Netflix/falcor/issues/428

few tests are failing with rx-3.1.2

@mitel the failing unit tests are because returnValue is used instead of return.  The fix should be rather simple if you want to give it a try.


Unable set Modaal width or height

I am not able to set width or height of the modal by both default as well as inline attribute method. I tried this:

and also this
Show Modaal
Am I doing it wrong?

Hey @suyashbansal, it looks like the width and height properties only affect iframe modals, at the moment.
@danhumaan This looks like a bug to me, or is the intent that you use CSS to control the modal content, including its dimensions? In that case, we should update the documentation at least.

I've noticed this problem as well - I need to be able to set the width of all all modals, but it's not working:
$('.modal-show-alert').modaal({
    type: 'confirm',
    width: 480
});

Hi @jackbarham and @jackbarham, until @danhumaan's had a chance to look at this, you can hopefully achieve what you need with this CSS (just ensure it's applied after modal.css is included):
`.modaal-container {
width: 400px;
}`

Hi @suyashbansal and @jackbarham, an extension for width and height support has been worked in this morning and will become available in the next milestone release (0.3.0). For the width attribute, this will work as a css max-width so as keep it responsive. Height will work as a fixed height with overflow: auto applied so that any content within will scroll within that space.
For all reading this, width and height options are only applicable to the Inline, Ajax, iFrame and Confirm content types. It makes no sense to support modals that are fullscreen, video, instagram or image types as they are all responsive and designed to fill as much space as the content will allow for.

Hi @suyashbansal and @jackbarham, thanks again for your contributions. A fix has been just been rolled out in the latest release for this issue.


Input components do not use value="" when the form data has a value

Describe the bug
How to reproduce it

Have some data in the field being rendered
<TextInput value="" />

The rendered  does not have value="" but the value from the form data / changeset.
The functions in Phoenix.HTML.Form do not show this behaviour.

Your Environment
Surface: v0.7.0
LiveView: v0.17.6
Elixir: v1.13.0
Edited because HTMLish content needs to be fenced, otherwise <TextInput... becomes invisible ;)

Hi @schnittchen!
Thanks for reporting, I can reproduce the issue. On first glance it seems to be caused by Surface's handling of empty strings in props.
In the meanwhile as a workaround you can pass the value through the opts like so <TextInput opts={value: ""} />. All opts are passed directly to the Phoenix.HTML.Form.text_input.


duckdb: 0.9.2 -> 0.10.0, python3Packages.sqlglot:20.9.0 -> 21.1, duckdb-engine: 0.9.2 -> 0.11.1

Description of changes
fixes python3Packages.duckdb: https://hydra.nixos.org/build/251027777
updates duckdb, python3Packages.{duckdb,duckdb-engine,sqlglot} together to minimize breakages.
duckdb: https://github.com/duckdb/duckdb/releases/tag/v0.10.0

required a patch https://github.com/duckdb/duckdb/pull/10649/commits/3d7aa3ed46ecf5f18122559e385b75f1f5e9aba8 so httpfs compiled with required file to prevent a link error in the python build.
fixed the non-python unit tests so they run on aarch64 again
disabled racy python unit test that was sending spurious sigints https://github.com/duckdb/duckdb/issues/10702
build / test python with similar flags as used in https://github.com/duckdb/duckdb/blob/v0.10.0/.github/workflows/Python.yml

duckdb-engine:  https://github.com/Mause/duckdb_engine/releases/tag/v0.11.1
sqlglot: https://github.com/tobymao/sqlglot/releases/tag/v21.1.1
ibis-framework is broken https://hydra.nixos.org/build/249722440
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

python311Packages.ibis-framework
python311Packages.ibis-framework.dist

10 packages built:

duckdb
mycli
mycli.dist
python311Packages.duckdb
python311Packages.duckdb-engine
python311Packages.duckdb-engine.dist
python311Packages.duckdb.dist
python311Packages.sqlglot
python311Packages.sqlglot.dist
sbclPackages.duckdb

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

last couple of pushes were to get unit tests running on duckdb aarch64 to run as they were being skipped for some months. as seen from the most recent aarch64-linux log they are now working again.

so aarch64-darwin unit tests ran and passed but the duckdb python module failed due to getting a KeyboardInterrupt. weird. looking back on the hydra builds https://hydra.nixos.org/job/nixpkgs/trunk/python311Packages.duckdb.aarch64-darwin/all everything is green.

@ofborg build python311Packages.duckdb

@ofborg build python311Packages.duckdb

@ofborg build python311Packages.duckdb

figured out where the spurious KeyboardInterrupt was coming from -- test_query_interruption. the test was finishing too fast and the thread it spawned to interrupt it was sending a sigint to other unsuspecting tests. thought that the test was already disabled but mixed it up with test_connection_interrupt.

since python3Packages.duckdb is now broken due to recent pandas update from https://github.com/NixOS/nixpkgs/pull/289734 am planing to merge this change as it fixes the build.


Get pointer absolute position

I am trying to add a new function for the scrcpy-server, to get the absolute position of pointer.
I tried some ways:

getevent: with getevent command, i can only get the relative movement of cursor

i also tried to calculate the absolute position by relative movement integral, but there is always some error so i think this approach might not be feasible.

startActivityAsUser: i noticed that the scrcpy.wrappers.ActivityManager has a method startActivity, which calls the startActivityAsUser method. I tried to use it to create an activity from an activity class or a package name, but it seems i has no permission to do so.

Would there be any way to implement that? Thank you so much!

Maybe i found a possible way: change the HID_MOUSE_REPORT_DESC so that i can send the absolute position of mouse to server to move mouse

After some trial, the way to change the HID_MOUSE_REPORT_DESC seems not work.
I do not sure if the HID report decription is wrong or the HID input data writing is wrong, and
I also searched a forum posts that says, the android does not support the absolute positioning HID mouse


Bug when use value as children of TextInput

Description
I'm having some problems using  component in React Native 0.70.2.
Specifically I need to put the text like this  {children} , instead of passing a value prop, because I need to manipulate text for creating a mention text input.
By doing this, in React Native before 0.70 it worked, but with the next version what happen is shown in the video.
https://user-images.githubusercontent.com/64473929/194781923-7a314cef-6522-424d-a085-9a70478bd390.MP4
Version
0.70.2
Output of npx react-native info
System:
OS: macOS 12.6
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 171.40 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.14.2 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.3.2 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 17.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.2 => 0.70.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Create a TextInput component, set value using onChangeText and put this value as children of the tags.
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@pietroputelli/bbbed6

This issue just got fixed with 0.70.3.

Do you still experience this issue?
I have four years of experience maintaining facebook/react-native and I specialize in the Text and TextInput components. I currently have 58 facebook/react-native PRs.
If you still experience this issue, I will prepare a patched release with the fix.
Thanks a lot


HTML is not a programming language

HTML is a markup language, you should remove HTML.

In that vain, neither is JSON, XML, SVG, etc. So either the project removes all of those as well or we simply accept that the project has gone beyond "programming languages".
I vote for the latter. I don't think removing those document markup formats adds any value besides some OCD satisfaction.

Hello World is not a test of a language it's a test of the language environment, ie: this "hello world!" thing is supposed to give the usual results, if it doesn't the environment is still incomplete/broken.
With that rule anything you can reasonably do an "environment test" for would be okay.

I vote for keeping everything too!

Should probably reword "programming language" to just "computer language", then. Because this is misleading:

Idk, i saw all of this, very impressive by the way, but technically, HTML and other online stuff is still programming, as everything came from one guy's invention, binary. I think these versions of Hello World should stay. Yes, i am a random guy, and yes, i have no control over this.

Yes, i do vote for keeping it all.

but technically, HTML and other online stuff is still programming, as everything came from one guy's invention, binary

I love this repo.

Edit: i looked it up on wikipedia, the guy who invented it was named Gottfried Leibniz. He was french.
Edit 2: I also saw on wikipedia that there are literally over 2,000 coding languages!! Sorry for the lack of capital letters.
Edit 3: time to Fork and Edit!! Yay!! Maybe tomorrow.

Warning: Poe's Law strictly enforced.

Tolkien invented binary, actually. The Binary programming language was based off his research of old Gaelic languages, and the language actually had 16 letters, not two (which is the origin of hexadecimal). However, the Americans decided to bastardise and grossly oversimplify the language, cutting it down to two. He died before the spec for the language could be completed, leaving his family and a fat Kiwi director to carry out his legacy.

Hey guys, I'm sorry I've been lax in processing pull requests, I plan on reviewing and merging all of the ones in my queue this weekend. Hack the planet!

technically, HTML and other online stuff is still programming, as everything came from one guy's invention, binary.

Nope, not even a little. HTML is a markup language - a data interchange format, if you will. Same with JSON. Same with SVG. Same with YAML. And so on.
They are not programming languages. They are used to convey and represent structured information. They do not (by themselves) run instructions or perform logic (even though, in some cases, they could be (ab)used to do so, such as with CSS).

On that note, I agree with @afaqurk

we simply accept that the project has gone beyond "programming languages" to a much broader scope

as well as @Alhadis

Should probably reword "programming language" to just "computer language"

since this is the first issue I looked for when I noticed these things.

@leachim6 do you second what @Alhadis said about rewording "programming language" with "computer language"? This change will change a lot, for example I could stop washing my hands compulsively every time I think of this issue.

I don't drink, I just go 40-something hours without sleep and let endorphins do the rest.

(I'm not old enough)

Now I can never close this issue ! Thanks a lot you guys :P

I was hoping for a lock, but I found something quicker instead:

@Alhadis owch, my soul :/

I meant *I* was being retarded, ya silly muppet. :p

This thread... I can't even.
When GitHub turns into reddit 😂

This project was started for fun, I'd say mission accomplished!

Yeah looks like reddit. But where are the cats?

Cats are everywhere. Literally in almost every country. XD

Here we have octopuses. Even better.

I'm not even mad, this is awesome

This might as well be the best issue thread I've ever seen

Phew, on that note, just committed the last pending pull request, my queue is now empty! Keep 'em coming folks!

Not only that, this may be the best repository ever. I love how there's hilarious joke programming languages, like chicken and chef.

Soooo what's the sentence? Should we change the description to say "computer languages"?
The idea is great but I think we should find a better term..

The current description says "computer languages" but if you can think of something better I'd love to hear it

How about "Programming, markup and other computer languages"? That way you've got everything covered except natural/human languages.

<nitpicking>
"computer languages" doesn't mean anything.
Now, there is no way Markdown, HTML, JSON, CSS are programming languages.
</nitpicking>
<paternalising>
If you want to include Markdown, HTML, JSON, CSS into this cauldron, the common denominator looks like "languages", or "formal languages" to a stretch.
</paternalising>

Well... https://en.wikipedia.org/wiki/Computer_language seems to disagree with your nitpick.
It also neatly list all of the other languages besides programming language that might show up, including stylesheet languages, query languages and, yes, markup languages.

Hyper Text Markup Language (HTML) >>> Language <<< Bro

I vote for keeping everything

@haqqer also french is a language, the major issue here is that it's not a programming language.
🐸 BRO!

I vote for keeping everything. 👍

You could, but it would be incorrect

Imo, that is correct now, as that is, what I learned at my university, too (HTML is a Markup Language, which is a subtype of Computer Languages)...


WebUI only reachable over ipv4

Describe the bug
Whenever I try to reach the WebUI over ipv6 it uses the fallback ipv4 version.
To Reproduce
Try to access the WebUI over a ipv6 only DNS-Entry or with the ipv6 address directly.
Expected behavior
The WebUI should be reachable over ipv4 and ipv6 at the same time. Especially when ipv6 in docker gets enabled.
Platform (please complete the following information)

Component: WebUI
Firezone Version: 0.7.36
OS and version: Ubuntu 22.04 as Server
Deployment method: Docker

Hi @iehfned! Firezone 0.7 has reached EOL. You may have some luck making sure IPv6 is enabled for your Docker env and ensuring your Caddy config is correct.


C++20 usage & other improvements

By using C++20 coroutines, it becomes much easier to effectively utilize tev's threadpool, leading to 2-3x faster parallel loading of large numbers of images.
Also starts using C++20 features in a few minor other places
Recent other improvements to tev were developed on top of this branch. These include

Visualization of non-trivial data- and display windows #143
Better multipart EXR support #144
Support for the QOI image format #148 (thanks to Tiago Chaves)
And several improvements to tev's startup behavior #145
Fixes #146
Fixes #123

This PR will stay unmerged until C++20 support became more widespread.

GitHub workflows finally support C++20 on all operating systems, so CI is finally going through! :)
Still, this PR will remain unmerged until C++20-compatible compilers become more widespread. You can track this branch rather than master to follow along with tev's development till then.

Merging this now. In case you would like to compile tev and have no way to install a C++20-capable compiler, you can check out the tag cpp17. (https://github.com/Tom94/tev/tree/cpp17)

Disclaimer: Fortunately I'm not a production person and not entirely concerned with backwards compatibility issues. But I still care enough to bring this up here.

All in all, its a bit of a pickle switching to such a 'new' standard. I guess to the fast-moving research community (which this software is probably mostly targeting) this shouldn't pose a problem, but there might be others who can't upgrade that easily. I'm thinking about the rendering people in production, those who might be bound to the  VFX reference platform.
Unfortunately it has to this date still no (full) cpp20 compatible compiler. GCC 9.3.1 doesn't seem to support coroutines with this version yet, but lets the CMAKE_CXX_STANDARD_REQUIRED check pass, because it already supports some features of c++20. (aswf has docker images for the platform in case you want to add it into your CI workflow)
I understand you don't want to maintain a pure c++17 branch in addition to the cpp20 (master now) branch. But leaving c++17 users without some features but most importantly bugfixes might also be problematic.
Possibly a solution to this problem would be to provide Linux binaries. I know this is a pain in itself which is why you haven't done so in the past, but I did a little research recently, and it seems like with AppImage or Flatpak its getting quite good nowadays. One of the two can also package system libraries (glibc) such that you become truly independent of the executing host system (forgot which one 😺).
I think that preparing the packaging infrastructure would also attract some package maintainers of various Linux distributions, because it'll make their job much easier. CMake (INSTALL) should be of great help with preparing the right folder structure already, then it's only about figuring out the parameters for the packaging tool.

I would love to provide Linux binaries, actually! Let me open an issue that tracks this.
(RE switching to C++20 this early: normally I would completely avoid it for the very same reasons that you quote. Hard agree with all of them. The reason I still pulled the trigger is that coroutines allow very clean code to extract much better parallelism when loading many images, yielding upward of 2x faster startup times. This was too much for me to ignore -- without wanting to turn the existing code into callback hell or spawning hundreds of threads to achieve the same behavior.)


reg_grt_ckr

Start with these IOs

Missed out a pin and seems like a whole array of jumps has been added. These is the updates IOs:
module reg_gnt_ckr #(
    localparam int NR = rv64g_pkg::NUM_REGS
) (
    input  logic pl_valid_i,
    output logic pl_ready_o,

    input  logic          jump_i,
    input  logic [NR-1:0] reg_req_i,

    input  logic [NR-1:0] locks_i,
    output logic [NR-1:0] locks_o,

    output logic arb_req_o,
    input  logic arb_gnt_i
);

Bhai, do I need to make design or documentation for this or what? It's not clear

Well this is the real life challenge. Let me know when we can discuss

Well this is the real life challenge. Let me know when we can discuss

I guess we can discuss in today;s sync-up meeting

If the case is not jump, then rd=0 can't be locked under no condition.
If there is no valid, locks_o = lock_i

If there's no valid, should arb_req_o be 0 or x?

What's you expectation?

Bhai, I fixed the logic (was pretty simple, should've thought of it sooner - but this gave me insight into why not to use comparators in RTL unless absolutely necessary). But the PR isn't passing to a doc mismatch (strange since I fixed the port defs in the .md file)


preview not required any longer

current AzureAD module already contain o365 group commandlets - so recommendation should be to install AzureAD i guess?

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

ID: 4cd7a703-534a-5fbd-6470-5d29bf512fd2
Version Independent ID: 4f70ed16-6a1c-c0be-3c5e-d56e1b7c7275
Content: Configure group settings using PowerShell - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/groups-settings-cmdlets.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@Lelivienne
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Lelivienne
I have confirmed with engineering that the preview module is still the recommendation.
#please-close


Swaping texture issue on Android

Description
hi,
I'm using a model with grey texture whose diffuse texture I want to change on model viewer.
I'm changing the texture of the model when load event is fired, which seems to working fine with iOS, but in Android it is not changing the texture. I'm following this documentation.
https://modelviewer.dev/examples/scenegraph/#swapTexturesExample
Version

model-viewer: v3.3.0

Browser Affected

[x] Chrome, version: 119.0.6045.67
[ ] Edge
[x] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[x] SceneViewer
[ ] QuickLook

Demo
This is on android

This is on ios

That whole API doesn't work in Scene Viewer because it redownloads the model from your original URL. You'll need to use WebXR instead if you want this functionality. That's our default ar-mode, so if it's not working, check your JS console - the most common reason to fall back to Scene Viewer is not serving on HTTPS.


WIP: Revert CloudFormations for infrastructure

After getting some experience with it, CloudFormations' all-or-nothing failure modes are incompatible with our goals in ways that aren't tractable; e.g. transient Route53 throttling errors at the final stage of stack output calculations will permanently invalidate the entire stack and waste time and resources we are unwilling to spend. We've decided to take our chances instead working with AWS directly so that we have more fine grained control over each AWS service in order to achieve the level of overall infrastructure creation stability we want.

/test e2e-aws

This loses https://github.com/openshift/hypershift/pull/153 which I'll re-implement in a followup

This also loses https://github.com/openshift/hypershift/pull/154 which I'll re-implement in a followup

/lgtm


Guide for observing a contract_call predicate with Chainhook and extracting data from its payload

Description
There is very little information on the payload that Chainhook returns.  This guide walks through the creation of contract_call predicate for a basic voting contract and then examines points if interest in the associated Chainhook payload.
To support this guide:

A .json file for the payload has been added in the public folder as a full example reference point.
A resources folder was added to the chainhook folder with the simple-vote.mdx file.  This is imported as a code example into the guide.
Links to other resources within doc and externally were verified.

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


Extension recommendations based on workspace remotes

Adds support for a remoteBasedExtensionTips property in the product.json, which contains key-value pairs of an extension id and a pattern to match the workspace remotes against.
I'm not sure who the feature owner of this area is now, so apologies if I've assigned the wrong person

@RMacfarlane Please explain me in detail what is this PR about and what it is trying to implement. Thanks.

Sure! The motivation of this PR is https://github.com/Microsoft/vscode-internalbacklog/issues/466, I want to be able to recommend the GitHub PR extension to users that have a GitHub remote.
Looking at the existing ways of recommending extensions, I didn't see a way of doing this - it's not based on the presence of a specific executable, file pattern, or on usage patterns of extensions for a particular workspace. So I wanted to add a way of recommending an extension when a remote matches a certain pattern. This could be used for other provider specific extensions, like Gitlab, etc.
I also thought about just adding the recommendation when Git is present, but it would be better if there was more granularity than that.
To do this, this PR adds support for a remoteBasedExtensionTips property in the product.json. When the ExtensionTipsService looks for extension recommendations based on other executables present and workspace usage patterns, it will also look at the list of domains of all of the remotes for the workspace and check if they match any of the patterns listed for that property. This is done at startup and when a user searches for recommendations. I didn't add a listener for remotes changing, since I think this is an uncommon case and is more likely to result in the extension being underrecommended instead of overrecommended. (As in, someone might add a GH remote and not get the recommendation, but it seems unlikely for them to remove all of their GH remotes)

@RMacfarlane What is the strategy for folders on the disk?

It's just checking the currently opened workspace, not anything else on disk

@RMacfarlane Then I do not understand why do we have to name it remote? Can it be something like workspaceContains in that way it will be generic to all workspaces/folders? This should be like, recommend github pr extension when the folder/workspace contains git config or .git folder or whatever it is?


enforce maximum individual blob size as 1 byte

When pack_blob returned a count > 255 binary encoding for the count byte overflows and loops around to 0 when 256 and so on. This patch fixes that.
For anyone else reading and considering using this project, I haven't had any other issues with this library (yet), have a ton of quickcheck tests and state machines on my end, and won't be using RPC, so am quite happy to recommend it even though it hasn't been maintained recently. We are working on a large-scale project that will most probably be using this, so it's entirely possible I could at some point take over maintenance (if that is even necessary).

Thanks for the fix, and the kind endorsement. :+1:


Please support Xamarin as well as winform and wpf

If so, you can log in using the webview on a Mac.

use XboxAuthNet.Game.Msal
JELoginHandler


Run ChainerX python tests in debug build

Fixes #6646
Depends on ~#6647~ and ~#6648~

#6648 has been merged.

Can you rebase this PR?

Rebased

Jenkins, test this please.

Jenkins CI test (for commit 34efc6f0c08a26a4d32bce9694b9f29da5f0f4aa, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

11:03:05 + pytest --showlocals --cov=chainerx --no-cov-on-fail --cov-fail-under=50 --cov-report html:/workspace/work/coverage-html/python /repo/tests/chainerx_tests
11:03:06 ============================= test session starts ==============================
11:03:06 platform linux -- Python 3.6.8, pytest-4.1.1, py-1.8.0, pluggy-0.9.0
11:03:06 rootdir: /repo, inifile: setup.cfg
11:03:06 plugins: cov-2.6.1
11:03:46 collected 71094 items
11:03:46
11:03:46 repo/tests/chainerx_tests/test_array_utils.py .......................... [  0%]
11:03:46 ........................................................................ [  0%]

:

11:11:50 s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.sssssssssssss.s.s.s.s.s.s.s.s.s.s.s.s. [ 94%]
11:11:52 s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.ss [ 94%]
11:11:54 sssssssssss./repo/scripts/ci/steps.sh: line 190:  2052 Aborted                 (core dumped) COVERAGE_FILE="$WORK_DIR"/coverage-data pytest --showlocals --cov=chainerx --no-cov-on-fail --cov-fail-under=50 --cov-report html:"$WORK_DIR"/coverage-html/python "$REPO_DIR"/tests/chainerx_tests

I left a smaller comment, could you take a look?

Fixed

Jenkins, test this please.

Jenkins CI test (for commit 63a4a727be1c33261fee0cc7ee19bfeeaedc9192, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

CI failures seem unrelated. LGTM!


add South Colombian university

@JhormanBernal I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host usco.edu.co not found: 2(SERVFAIL) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


Include JSONValue payload with successful Results

Also updates repo to Swift 4.2, sets Realm to latest version, and updates all pods.


chore(docs): Update links to Selenium wire protocol

Anchor names on Selenium wire protocol wiki page changed, rendering our
links outdated. Fix them.

Thanks for this!


Java: add LPOS

Issue #, if available:
https://redis.io/docs/latest/commands/lpos/
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please resolve conflicts


Nyaa: Finish Todos

Motivation for changes:

The nyaa plugin wasn't finished

Detailed changes:

Added the remaining missing nyaa categories
Added seeders, leechers, info hash, and content size.

Log example of accepted entry:
2018-11-05 20:26 VERBOSE  urlrewrite_search test_rtorrent   Searching `Kin`iro Mosaic` from nyaa
2018-11-05 20:26 DEBUG    nyaa          test_rtorrent   requesting: https://www.nyaa.si/?page=rss&q=Kin%60iro%20Mosaic&c=1_2&f=0
2018-11-05 20:26 DEBUG    nyaa          test_rtorrent   Search result not 200 (OK), received 301
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: title = 'Patches for [VCB-Studio] Hello!! Kin-iro Mosaic / ハロー!!きんいろモザイク 10bit 1080p HEVC BDRip
[Fin]'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: original_url = 'https://nyaa.si/download/771798.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: url = 'https://nyaa.si/download/771798.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_seeds = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_leeches = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_info_hash = 'be2328a6f4b1dfd121890f84015003a04af2f249'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: search_sort = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: content_size = 3174
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: title = '[Ironanjuu] Hello!! Kiniro Mosaic - 08 [720p][9E37FCCE].mkv'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: original_url = 'https://nyaa.si/download/694422.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: url = 'https://nyaa.si/download/694422.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_seeds = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_leeches = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_info_hash = '7c79a7140d7a2a6e4f0641008d13c5f21e1eb7f8'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: search_sort = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: content_size = 138
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: title = '[Ironanjuu] Hello!! Kiniro Mosaic - 07 [720p] [60137347].mkv'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: original_url = 'https://nyaa.si/download/691857.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: url = 'https://nyaa.si/download/691857.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_seeds = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_leeches = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_info_hash = 'd0e7a6462700bf9c0d614ecf86a96488ec161994'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: search_sort = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: content_size = 154
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: title = '[Ironanjuu] Hello!! Kiniro Mosaic - 06 [720p] [25DCB725].mkv'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: original_url = 'https://nyaa.si/download/689179.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: url = 'https://nyaa.si/download/689179.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_seeds = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_leeches = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_info_hash = '5d120053433bc3b440a18eedc2df2e919a682ca9'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: search_sort = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: content_size = 124
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: title = 'Kin-iro Mosaic (BD 720p) [Kirakira]'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: original_url = 'https://nyaa.si/download/601824.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: url = 'https://nyaa.si/download/601824.torrent'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_seeds = 2
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_leeches = 0
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: torrent_info_hash = '4bc2cc2fabb154d0e7808b776e36c4fb80fe8e95'
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: search_sort = 4
2018-11-05 20:26 TRACE    entry         test_rtorrent   ENTRY SET: content_size = 6451

Additional Details:
For what it is worth, I used this fixed version of the plugin to search for and restore all of the torrents my dog deleted out of ruTorrent last week when he sat on the delete key. Of course I didn't think to collect these logs.
Todo:

Let me know how you feel about the shortened names of the categories.
Size calculation could be better, but it appears to be working properly

Is this ready then?

Yep
On Mon, Nov 19, 2018, 2:13 PM Claus Vium<EMAIL_ADDRESS>wrote:

Is this ready then?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Flexget/Flexget/pull/2247#issuecomment-440008459, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB0QvJQNHg0BYeSCQgkSuopw5qBVJZE8ks5uwwLegaJpZM4YPlpm
.


Language problem: half English, half Brazilian Portuguese

System information:

Windows 10
DBeaver version: <IP_ADDRESS>108160727

Describe the problem you're observing:
After updating the software (not exactly to the described version above), some of the menus, buttons and etc were translated to Brazilian Portuguese, although I didn't change the language setting. I tried changing the language to Brazilian Portuguese and then back to English, but when I set to Portuguese, apply and restart the application, it is set to English again, and still half translated.
Steps to reproduce, if exist:
Window menu -> Preferência (Preferences) -> User Interface -> Language -> Change to Brazilian Portuguese -> Apply and Restart.

Unfortunately, translation to non-English languages can be not full, they were made by our contributors.
UI language issue will be resolved in the scope of #12771 .
Close this issue as a duplicate

I have the same problem, can someone help me? Grateful

Thiago, the only solution I've found since I opened this issue is to reinstall DBeaver. You can do this without loosing your personal settings btw. I'm still having this issue sometimes, even after a clean install or updating the existing one.


crictl image tag and image push support

What would you like to be added:
crictl to support image tag and push.
Why is this needed:
Since docker is not a industry standard anymore, we want move away from that completely.

Hey @mraghu4 thank you for opening the issue. Right now crictl follows the CRI (Kubernetes) implementation which does not support this functionality.

does crictl is not part containerd project? it says image push is in scope for containerd. Am I misunderstanding something here?
https://github.com/containerd/containerd/blob/main/SCOPE.md

@mraghu4 no, this is an independent project. It more belongs to Kubernetes (SIG Node) rather than a specific container runtime. :)

you can use
ctr --namespace=k8s.io image tag docker.io/library/httpd:latest k8s.gcr.io/httpd:latest
or
nerdctl -n k8s.io tag docker.io/library/httpd:latest k8s.gcr.io/httpd:latest


Using Canopy to Test Email

This one might be a stretch. My application allows a user to sign up for an account. We then generate a URL containing a time bombed token. The user must click on the link contained in the email that we sent out in a form letter before the token expires.
Question, How does one launch a tool like Outlook, search for an email, open it, and validate its contents using canopy?

I dont think that you could.  You could maybe automate logging into gmail, or maybe outlook online.
It would probably be rather challenging, especially since you dont own the source for gmail, and it is likely it change without notice.
canopy is just an F# wrapper on Selenium so its main ability is to test web applications.

Okay....Thanks Chris....

Canopy, as a library, might not be able to do this, but since your tests are written in F#, there's nothing stopping you from using other .Net code. If there's a C# interface for accessing Outlook programmatically, you could use that from F# as well.
I can't help you with the details of accessing Outlook, though, as I've never used Outlook and have no desire to start. I did find this MSDN page, which looks like it's about Outlook plugins -- which brings up another idea. You could potentially write an Outlook plugin that looks for a certain subject line and From address, and writes the text content to a file. Then your F# Canopy tests look for that file to show up, read the confirmation URL out of it, and move on with the rest of the Web-based testing.

If you can set the host of the SMTP server, you can intercept the email in your test. I wrote a simple library for my needs, but perhaps it might help you too. There might be other embeddable email servers in .NET too...

The solution to this depends on the variables of your situation.
What type of environment are tests being executed?
Are emails being sent in the environment?
Is it possible to output the time bombed token a different way for testing purposes?
Is testing email functionality vital at this stage of testing?
My recommendation is to generate the token link somehow via fsharp and manually navigate to it via canopy.
The pseudo test would look like
sign up
generate url
navigate manually to url
Further assertions and validations

If it is impossible to generate the url via fsharp, then I would recommend investigating the possibility of transmitting the link some other way than SMTP for testing purposes. This should reduce complexity of tests considerably which increases long-term strategic value.

I think this ticket should be closed as not relevant to Canopy (possibly moved to Stack Overflow as a question instead)

Im using canopy, and asked for suggestions. Close it if you like but dont ask what this has to do with canopy. The question by definition is asking about canopy....

You can also use the .net mail libraries to check the email and verify the contents of the body.
If you use pop3 it will download all the mails leaving nothing on the server.  Do this in the test setup, then you can call it again after the mail is sent, and there should be only one.


Shutdown DB on exit signal

DB state may be inconsistent if node is terminated... put in some checks / flushes of DB on exit

Fixed in https://github.com/mr-pandabear/bamboo/commit/4a48af662fca1ed595c0547ca434bfc57876a430


View counter increments following download and page refresh

example
lbry://0007787#d91bf8e2e09a21cc9193a9e0fc56b3a89c817bf0
First time going to page,  view increments. Switching out of page and back in does not increment.
Click download, let it fail / stop it or complete then go back to content list or go to another application. when you switch back to the page the view counter increments.
Tested on the ebook content and on a video, same method both have the same view count increment.
As the download does not actually need to be completed this would be a really quick way to raise view numbers.
Also on a side note the ebook download did not go into my phone downloads and I can't open it in lbry app so I am assuming that function is also broken.
Version
0.15.14
Sdk 0.76
Android 10

Thanks for filing the issue. This is expected and something similar can be done on our other platforms if someone wanted to inflate view counts. They don't count for much, so it would be a waste of time anyway.


start-task/check-task blocked and printed few logs

What did you do?
https://asktug.com/t/topic/692986

check-task automatically before running

What did you expect to see?
check-task successfully and start to run.
What did you see instead?
dmmaster was blocked for long without response
Versions of the cluster
6.0.0
current status of DM cluster (execute query-status <task-name> in dmctl)
(paste current status of DM cluster here)

This problem is not rare. Another report remains open: https://asktug.com/t/topic/663172/17. The potential reason is supposed to be either:

the checking SQL is blocked or done soooooo sluggish
too many tables but merely few dumper's threads (no likely though, some users increased this configuration but hardly had improvement; others only migrate dozens of tables, which should impossibly be blamed.)

I think the least thing we should do is printing more logs (e.g. record the table that is checking or has been done by log when the log-level is DEBUG). Currently, it's intractable to probe the blocking cause.

You can try to reproduce it. Maybe not very hard to reproduce.

https://github.com/pingcap/tiflow/blob/d088785f527d76da78a2a2f11a8c781dcf0a18d0/dm/pkg/checker/table_structure.go#L459
I suspect we should not return nil. In this case no one is reading from inCh and dispatchTableItem will be blocked

BTW 30m timeout is unacceptable
https://github.com/pingcap/tiflow/blob/d088785f527d76da78a2a2f11a8c781dcf0a18d0/dm/checker/checker.go#L57

So this check should've been failed but return no errors...I'll try to reproduce it tomorrow...

Where is this log? Does it have other clue to identify the problem?

similar with checkShardingTable
https://github.com/pingcap/tiflow/blob/d088785f527d76da78a2a2f11a8c781dcf0a18d0/dm/pkg/checker/table_structure.go#L210
checkTable routine might exit when error occurs but inCh remains open before dispatching all the tables.

Where is this log? Does it have other clue to identify the problem?

https://github.com/pingcap/tiflow/blob/d088785f527d76da78a2a2f11a8c781dcf0a18d0/dm/pkg/checker/table_structure.go#L135

problem of ShardingTablesChecker
MySQL [(none)]> create database tug;
Query OK, 1 row affected (0.039 sec)

MySQL [(none)]> use tug
Database changed
MySQL [tug]> create table t1(c int primary key);
Query OK, 0 rows affected (0.049 sec)

MySQL [tug]> create table t2(c int primary key, c2 int);
Query OK, 0 rows affected (0.049 sec)

MySQL [tug]> create table t3(c int primary key, c3 int);
Query OK, 0 rows affected (0.047 sec)

MySQL [tug]> create table t4(c int primary key, c4 int);
Query OK, 0 rows affected (0.045 sec)

MySQL [tug]> create table t5(c int primary key, c5 int);
Query OK, 0 rows affected (0.046 sec)

MySQL [tug]> create table t6(c int primary key, c6 int);
Query OK, 0 rows affected (0.046 sec)

name: test             # 任务名称，需要全局唯一
task-mode: all         # 任务模式，可设为 "full"、"incremental"、"all"
shard-mode: "pessimistic"

target-database:       # 下游数据库实例配置
  host: "<IP_ADDRESS>"
  port: 4000
  user: "root"
  password: ""         # 如果密码不为空，则推荐使用经过 dmctl 加密的密文

## ******** 功能配置集 **********
block-allow-list:        # 上游数据库实例匹配的表的 block-allow-list 过滤规则集，如果 DM 版本 <= v2.0.0-beta.2 则使用 black-white-list
  bw-rule-1:             # 黑白名单配置的名称
    do-dbs: ["tug"] # 迁移哪些库

# ----------- 实例配置 -----------
mysql-instances:
  - source-id: "mysql-01"  # 上游实例或者复制组 ID，参考  的  配置
    block-allow-list:  "bw-rule-1" # 黑白名单配置名称，如果 DM 版本 <= v2.0.0-beta.2 则使用 black-white-list
    route-rules: ["rule1"]
    mydumper-config-name: "global"

routes:
  rule1:
    schema-pattern: "tug"
    table-pattern: "t*"
    target-schema: "tug"
    target-table: "t"

mydumpers:
  global:
    threads: 1

goroutine 774 [select, 6 minutes]:
github.com/pingcap/tiflow/dm/pkg/checker.dispatchTableItem({0x72313a8, 0xc001a2c480}, 0x66?, 0xc0017aa420)
	/home/lance/go/src/github.com/pingcap/tiflow/dm/pkg/checker/table_structure.go:709 +0x2fc
github.com/pingcap/tiflow/dm/pkg/checker.(*ShardingTablesChecker).Check(0xc0017aa3c0, {0x7231418, 0xc0017aa4e0})
	/home/lance/go/src/github.com/pingcap/tiflow/dm/pkg/checker/table_structure.go:392 +0xea5
github.com/pingcap/tiflow/dm/pkg/checker.Do.func2(0xa, {0x721bc60, 0xc0017aa3c0})
	/home/lance/go/src/github.com/pingcap/tiflow/dm/pkg/checker/real_checker.go:135 +0xe9
created by github.com/pingcap/tiflow/dm/pkg/checker.Do

problem of checkTable: two key factors that result in this issue:

some tables are incompatible (e.g. illegal charset, lacking uk/pk)
dumper threads is far smaller than the size of tables

When the table cannot pass the check, the checker tends to put it into the error channel, whose size is equal to dumper threads. However, the checker won't consume these errors before dispatching all the tables to checkers while the checkers are about to squeeze the errors to the error channel. In this scenario, when the input channel, the one used to dispatch tables, is full, the dispatch procedure will be stuck forever.