Regexp still in use on Cyberdojo

Doesn't seem to be uptodate with this repo

The Cyber-Dojo code for all Shouty and Testable Architecture is in a separate repo - cucumber-ltd/cyber-dojo-start-points-custom.git

Updated by this commit


Unable to install powertoys

Microsoft PowerToys version
0.68.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Installer
Steps to reproduce

Install latest PowerToysSetup-0.68.0-x64.exe
Run with admin
Wait
Window provided in Actual Behavior pops up

✔ Expected Behavior
Powertoys to get installed on pc as it normally would be
❌ Actual Behavior

Other Software
No response

Log File:
[2498:21AC][2023-03-02T17:36:02]i001: Burn v<IP_ADDRESS>26, Windows v10.0 (Build 22621: Service Pack 0), path: C:\Users\HELLOS~1\AppData\Local\Temp{75540B05-6672-4DD2-A161-9E94773848AA}.cr\PowerToysSetup-0.68.0-x64.exe
[2498:21AC][2023-03-02T17:36:02]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[2498:21AC][2023-03-02T17:36:02]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys'
[2498:21AC][2023-03-02T17:36:02]i000: Initializing version variable 'DetectedPowerToysVersion' to value '<IP_ADDRESS>'
[2498:21AC][2023-03-02T17:36:02]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.68.0'
[2498:21AC][2023-03-02T17:36:02]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[2498:21AC][2023-03-02T17:36:02]i009: Command Line: '"-burn.clean.room=C:\Users\Hello Sir\Downloads\PowerToysSetup-0.68.0-x64.exe" -burn.filehandle.attached=584 -burn.filehandle.self=592'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Hello Sir\Downloads\PowerToysSetup-0.68.0-x64.exe'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Hello Sir\Downloads'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\HELLOS~1\AppData\Local\Temp\powertoys-bootstrapper-msi-0.68.0_20230302173602.log'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[2498:2034][2023-03-02T17:36:02]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2498:2034][2023-03-02T17:36:02]i000: Setting version variable 'WixBundleFileVersion' to value '<IP_ADDRESS>'
[2498:21AC][2023-03-02T17:36:02]i100: Detect begin, 3 packages
[2498:21AC][2023-03-02T17:36:02]i000: Setting version variable 'DetectedPowerToysVersion' to value '<IP_ADDRESS>'
[2498:21AC][2023-03-02T17:36:02]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22621'
[2498:21AC][2023-03-02T17:36:02]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[2498:21AC][2023-03-02T17:36:02]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[2498:21AC][2023-03-02T17:36:02]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[2498:21AC][2023-03-02T17:36:02]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[2498:21AC][2023-03-02T17:36:02]i103: Detected related package: {3F721FAF-9D33-4840-9082-F9D5E0ED6970}, scope: PerMachine, version: <IP_ADDRESS>, language: 0 operation: MajorUpgrade
[2498:21AC][2023-03-02T17:36:02]i103: Detected related package: {3F721FAF-9D33-4840-9082-F9D5E0ED6970}, scope: PerMachine, version: <IP_ADDRESS>, language: 0 operation: MajorUpgrade
[2498:21AC][2023-03-02T17:36:02]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[2498:21AC][2023-03-02T17:36:02]i101: Detected package: WebView2, state: Present, cached: None
[2498:21AC][2023-03-02T17:36:02]i101: Detected package: PowerToysSetup_0.68.0_x64.msi, state: Absent, cached: None
[2498:21AC][2023-03-02T17:36:02]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysVersion OR WixBundleInstalled' evaluates to true.
[2498:21AC][2023-03-02T17:36:02]i052: Condition 'DetectedWindowsBuildNumber >= 19041 OR WixBundleInstalled' evaluates to true.
[2498:21AC][2023-03-02T17:36:02]i199: Detect complete, result: 0x0
[2498:2034][2023-03-02T17:36:04]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[2498:21AC][2023-03-02T17:36:04]i200: Plan begin, 3 packages, action: Install
[2498:21AC][2023-03-02T17:36:04]w321: Skipping dependency registration on package with no dependency providers: TerminatePowerToys
[2498:21AC][2023-03-02T17:36:04]i000: Setting string variable 'WixBundleLog_TerminatePowerToys' to value 'C:\Users\HELLOS~1\AppData\Local\Temp\powertoys-bootstrapper-msi-0.68.0_20230302173602_000_TerminatePowerToys.log'
[2498:21AC][2023-03-02T17:36:04]w321: Skipping dependency registration on package with no dependency providers: WebView2
[2498:21AC][2023-03-02T17:36:04]i000: Setting string variable 'WixBundleRollbackLog_PowerToysSetup_0.68.0_x64.msi' to value 'C:\Users\HELLOS~1\AppData\Local\Temp\powertoys-bootstrapper-msi-0.68.0_20230302173602_001_PowerToysSetup_0.68.0_x64.msi_rollback.log'
[2498:21AC][2023-03-02T17:36:04]i000: Setting string variable 'WixBundleLog_PowerToysSetup_0.68.0_x64.msi' to value 'C:\Users\HELLOS~1\AppData\Local\Temp\powertoys-bootstrapper-msi-0.68.0_20230302173602_001_PowerToysSetup_0.68.0_x64.msi.log'
[2498:21AC][2023-03-02T17:36:04]i201: Planned package: TerminatePowerToys, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[2498:21AC][2023-03-02T17:36:04]i201: Planned package: WebView2, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2498:21AC][2023-03-02T17:36:04]i201: Planned package: PowerToysSetup_0.68.0_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2498:21AC][2023-03-02T17:36:04]i299: Plan complete, result: 0x0
[2498:21AC][2023-03-02T17:36:04]i300: Apply begin
[2498:21AC][2023-03-02T17:36:04]i010: Launching elevated engine process.
[2498:21AC][2023-03-02T17:36:06]i011: Launched elevated engine process.
[2498:21AC][2023-03-02T17:36:07]i012: Connected to elevated engine.
[12AC:36C8][2023-03-02T17:36:07]i358: Pausing automatic updates.
[12AC:36C8][2023-03-02T17:36:07]i359: Paused automatic updates.
[12AC:36C8][2023-03-02T17:36:07]i360: Creating a system restore point.
[12AC:36C8][2023-03-02T17:36:07]i361: Created a system restore point.
[12AC:36C8][2023-03-02T17:36:07]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{146aebdf-0b08-4bd1-b274-987efc9d40e7}, options: 0x7, disable resume: No
[12AC:36C8][2023-03-02T17:36:07]i000: Caching bundle from: 'C:\Users\HELLOS~1\AppData\Local\Temp{2F214A5B-9752-48DC-929A-F80D67E4D039}.be\PowerToysSetup-0.68.0-x64.exe' to: 'C:\ProgramData\Package Cache{146aebdf-0b08-4bd1-b274-987efc9d40e7}\PowerToysSetup-0.68.0-x64.exe'
[12AC:36C8][2023-03-02T17:36:07]i320: Registering bundle dependency provider: {146aebdf-0b08-4bd1-b274-987efc9d40e7}, version: <IP_ADDRESS>
[12AC:36C8][2023-03-02T17:36:07]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{146aebdf-0b08-4bd1-b274-987efc9d40e7}, resume: Active, restart initiated: No, disable resume: No
[12AC:24CC][2023-03-02T17:36:09]i305: Verified acquired payload: TerminatePowerToys at path: C:\ProgramData\Package Cache.unverified\TerminatePowerToys, moving to: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd.
[12AC:24CC][2023-03-02T17:36:10]i305: Verified acquired payload: PowerToysSetup_0.68.0_x64.msi at path: C:\ProgramData\Package Cache.unverified\PowerToysSetup_0.68.0_x64.msi, moving to: C:\ProgramData\Package Cache{B216161C-A8ED-4248-B2FC-75A9BA9D3832}v0.68.0\PowerToysSetup-0.68.0-x64.msi.
[12AC:36C8][2023-03-02T17:36:10]i301: Applying execute package: TerminatePowerToys, action: Install, path: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd, arguments: '"C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd"'
[2498:21AC][2023-03-02T17:36:11]i319: Applied execute package: TerminatePowerToys, result: 0x0, restart: None
[12AC:36C8][2023-03-02T17:36:11]i323: Registering package dependency provider: {B216161C-A8ED-4248-B2FC-75A9BA9D3832}, version: 0.68.0, package: PowerToysSetup_0.68.0_x64.msi
[12AC:36C8][2023-03-02T17:36:11]i301: Applying execute package: PowerToysSetup_0.68.0_x64.msi, action: Install, path: C:\ProgramData\Package Cache{B216161C-A8ED-4248-B2FC-75A9BA9D3832}v0.68.0\PowerToysSetup-0.68.0-x64.msi, arguments: ' ARPSYSTEMCOMPONENT="1" BOOTSTRAPPERINSTALLFOLDER="C:\Program Files\PowerToys"'
[12AC:36C8][2023-03-02T17:40:19]e000: Error 0x80070643: Failed to install MSI package.
[12AC:36C8][2023-03-02T17:40:19]e000: Error 0x80070643: Failed to execute MSI package.
[2498:21AC][2023-03-02T17:40:19]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2498:21AC][2023-03-02T17:40:19]i319: Applied execute package: PowerToysSetup_0.68.0_x64.msi, result: 0x80070643, restart: None
[2498:21AC][2023-03-02T17:40:19]e000: Error 0x80070643: Failed to execute MSI package.
[12AC:36C8][2023-03-02T17:40:19]i318: Skipped rollback of package: PowerToysSetup_0.68.0_x64.msi, action: Uninstall, already: Absent
[2498:21AC][2023-03-02T17:40:19]i319: Applied rollback package: PowerToysSetup_0.68.0_x64.msi, result: 0x0, restart: None
[12AC:36C8][2023-03-02T17:40:19]i329: Removed package dependency provider: {B216161C-A8ED-4248-B2FC-75A9BA9D3832}, package: PowerToysSetup_0.68.0_x64.msi
[12AC:36C8][2023-03-02T17:40:19]i351: Removing cached package: PowerToysSetup_0.68.0_x64.msi, from path: C:\ProgramData\Package Cache{B216161C-A8ED-4248-B2FC-75A9BA9D3832}v0.68.0
[12AC:36C8][2023-03-02T17:40:19]i351: Removing cached package: TerminatePowerToys, from path: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C
[12AC:36C8][2023-03-02T17:40:19]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{146aebdf-0b08-4bd1-b274-987efc9d40e7}, resume: None, restart: None, disable resume: No
[12AC:36C8][2023-03-02T17:40:19]i330: Removed bundle dependency provider: {146aebdf-0b08-4bd1-b274-987efc9d40e7}
[12AC:36C8][2023-03-02T17:40:19]i352: Removing cached bundle: {146aebdf-0b08-4bd1-b274-987efc9d40e7}, from path: C:\ProgramData\Package Cache{146aebdf-0b08-4bd1-b274-987efc9d40e7}
[12AC:36C8][2023-03-02T17:40:19]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{146aebdf-0b08-4bd1-b274-987efc9d40e7}, resume: None, restart initiated: No, disable resume: No
[2498:21AC][2023-03-02T17:40:20]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

Looks like the MSI for 0.67.0 needed to uninstall was cleaned from your system. Please follow these instructions to get it from the 0.67 installer: https://learn.microsoft.com/en-us/windows/powertoys/install#extracting-the-msi-from-the-bundle
/needinfo


Testing improvements

The following features have been added:

Support for intraday indexing through Day, Hour, Second, Milisecond
Addition of testcases for getindex.
Addition of testcases for apply.
Addition of upsampling.
Bug fixes.

Merge when all are satisfied:

[ ] Code Review
[ ] Testing
[ ] Documentation

Codecov Report

Merging #38 (c07001b) into main (399a2e2) will increase coverage by 6.56%.
The diff coverage is 30.76%.

:exclamation: Current head c07001b differs from pull request most recent head 3da2de4. Consider uploading reports for the commit 3da2de4 to get more accurate results

@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
+ Coverage   53.55%   60.11%   +6.56%
==========================================
  Files          19       19
  Lines         338      356      +18
==========================================
+ Hits          181      214      +33
+ Misses        157      142      -15

Impacted Files
Coverage Δ

src/broadcasting.jl
100.00% <ø> (ø)

src/getindex.jl
59.63% <18.18%> (+4.63%)
:arrow_up:

src/TS.jl
95.00% <100.00%> (+5.52%)
:arrow_up:

src/apply.jl
90.47% <0.00%> (+90.47%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix: distingush engines based on compilation settings in addition to …

Description
Adds distinguishing base on shape and compile settings to the engine cache
Fixes #3148
Type of change
Please delete options that are not relevant and/or add your own.

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[x] I have made corresponding changes to the documentation
[x] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes
[x] I have added the relevant labels to my PR in so that relevant reviewers are notified

@lanluo-nvidia once this PR is merged can you cherry-pick into 2.5


Disable dragging/swiping of card

Before posting your question :heavy_check_mark:

[x] I acknowledge that I've read the Code of Conduct

Question :grey_question:

Hi, I was wondering how I can disable the dragging/swiping of the card by the user and only allow it to be interacted through buttons? I understand how to make it work with the buttons through the example code provided but not sure how to disable the swiping functionality.

Hi @missphyrgames, thank you for your question! At this point, there is unfortunately no good way to disable the swiping feature while keeping the buttons functional. However, I'd be happy to add this feature as soon as possible and release it in v1.3.0! I'll update this issue once v1.3.0 is released and explain how to use the new feature 😄

I've just released v1.3.0 which adds this functionality 🎉
To prevent cards from being swiped by dragging, set the new disableDragging parameter to true when you create the SwipingCardDeck widget. For example:
SwipingCardDeck(
  cardDeck: getCardDeck(),
  onDeckEmpty: () => debugPrint("Card deck empty"),
  onLeftSwipe: (Card card) => debugPrint("Swiped left!"),
  onRightSwipe: (Card card) => debugPrint("Swiped right!"),
  cardWidth: 200,
  disableDragging: true,
);

Let me know if you need help or need additional functionality! Thank you again for raising this issue and contributing to open source projects!


Create hardenhuish.txt

https://hardenhuish.wilts.sch.uk
https://www.hardenhuish.wilts.sch.uk/sixth-form/ shows that they offer a computer science A-Level (2 years)
An admin email<EMAIL_ADDRESS>is visible at the bottom of any page of the website

@MCgamin1738 First stage of verification passed, official domain is hardenhuish.wilts.sch.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Update mj_section.py

getBackground doesn't exist

Nicely spotted. Would you mind creating a minimal mjml snippet which triggers the problem? I'd like to add this to the test suite.

I'll add a test case myself. My mj-section implementation is pretty incomplete and needs additional fixes.

I'll add a test case myself. My mj-section implementation is pretty incomplete and needs additional fixes.

I think I fixed all the missing functionality for <mj-section>. Could you try the latest commits from the main branch and report if these are working for you?


Add Emojify transformation

Emojify 🔤 → 🦄
This transformation augments the input sentence by swapping words into emojis with similar meanings. For example, it changes word "movie" to emoji "🎬".
Author name: Zijie J. Wang
Author email<EMAIL_ADDRESS>Author Affiliation: Georgia Tech
What type of a transformation is this?
This transformation acts like a translation to test language models' robustness and generalizability. In this context, we are translating English words into Emoji unicode. The transformed sentence has similar structure and semantics to the source sentence.
Some examples:
"Apple is looking at buying U.K. startup for $132 billion."

⬇

"🍎 is 👀 at 🛍 🇬🇧 startup for $1⃣3⃣2⃣ billion."

"The quick brown fox jumps over the lazy dog."

⬇

"The quick 🟤 🦊 jumps over the lazy 🐕."

"Oh, and their spring rolls and the accompanying peanuts and hot sauces were also delicious."

⬇

"Oh, and their 🌱 🧻 and the accompanying 🥜 and 🌡 sauces were also 😋."

@tongshuangwu Thanks for the comment! It seems #186 only focuses on smileys and smiley emojis with around 60 dictionary keys. My PR is more general and has more than 4k English keywords. I would like to keep two PRs separate.

thanks for the reply, I'm now approving this then!

Thank you! ٩( ᐛ )و


Question 2a extracting data from CSV file and Display The Output

Submit only README.md file with solution link for Pull request.


how can i config this if i am using expo managed flow?

how can i config this if i am using expo managed flow?

also i get error when trying to run npm install react-native-fold-detection
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-native-fold-detection - Not found
npm ERR! 404
npm ERR! 404  'react-native-fold-detection@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

@joycelsq84 : Let us review and get back to you

i also did try to created the apk. but it cant detect the state.

Hi
Here is a sample. it always show me value state = FLAT even i half folded the flip phone.
How will it change the isBook? do we need to add any useEffect or etc?
import React, {useState, useEffect, useRef} from 'react';
import {
StyleSheet,
View,
Alert
} from 'react-native';
import {WebView} from 'react-native-webview';
import { FoldingFeatureProvider, useFoldingFeature  } from '@logicwind/react-native-fold-detection';
const Main = () => {
  const { layoutInfo, isTableTop, isBook, isFlat } = useFoldingFeature();
  Alert.alert('getValue: '+layoutInfo.state+' orient:'+layoutInfo.orientation+' sep:'+isBook+' sss:'+isTableTop+' sdsd'+isFlat);

  return (
	<FoldingFeatureProvider>
		<SafeAreaView>
			<WebView source={{ uri: 'https://hello.com' }} />

		<SafeAreaView>
	<FoldingFeatureProvider>

	);

}

hi i have tried with the new release. it seems to be able to detect the state. but i want it to be using useEffect upon the state changes everytime to call api. is it possible to do this?
thanks.

also just another point, is the vertical and horizontal  layout orientation become the opposite?

@joycelsq84 Please refer to below code snippets
In your App.js file
`import { FoldingFeatureProvider } from "@logicwind/react-native-fold-detection";
const App = () =>{
return(

)
}`
In your Main.js file
`
import { useFoldingFeature } from "@logicwind/react-native-fold-detection";
const Main = () => {
const { layoutInfo, isTableTop, isBook, isFlat } = useFoldingFeature();
Alert.alert('getValue: '+layoutInfo.state+' orient:'+layoutInfo.orientation+' sep:'+isBook+' sss:'+isTableTop+' sdsd'+isFlat);
useEffect(()=>{
// call your Api
},[isTableTop]). // you can add any dependency from above response of useFoldingFeature
return (
	<SafeAreaView>
		<WebView source={{ uri: 'https://hello.com' }} />

	<SafeAreaView>

);

}`

hi there, its working. thanks so much. but i would like to ask for flip phone, when it is half-opened, but the orientation is Horizontal... but it should be vertical... is this a bug? thanks.

@joycelsq84 The library orientation is functioning as anticipated. The orientation is inherited from the Android native dependency. According to the official Android documentation, when the width of the FoldingFeature exceeds the height, it results in a Horizontal orientation. When the device is half folded, it takes into account half the height of the screen.
For further details, you can refer to the official documentation: Android FoldingFeature Orientation.
I am closing this issue as it has been resolved. If you have any doubts, feel free to reopen the issue.


Question: does api-umbrella support more nuanced integration with REST api frameworks like Spring Boot?

As far as I can tell from the documentation, it seems like api-umbrella is meant to live as an entirely separate layer from the rest api itself. By using api-umbrella, I have to host like one of your docker containers and use your UI exclusively to distribute api keys?
I was more interested in api management with more involved maven/java integration so that I could create my own UI and decide what criteria to accept in exchange for giving api keys. Sounds like that won't be possible?

There are admin apis that you can use to create and update api keys, so can run a system that authorizes and gets api keys from umbrella to give out.


Property 'freeMode' does not exists on type 'Slides'

Ionic version:  (check one with "x")
[ ] 1.x
[X] 2.x
I'm submitting a ...  (check one with "x")
[X] bug report
Current behavior:
Throws an error :

Property 'freeMode' does not exists on type 'Slides'

Expected behavior:
It should find freeMode property as it exists on Slides.
Related code:
import { ViewChild } from '@angular/core';
import { Slides } from 'ionic-angular';

class MyPage {
  @ViewChild(Slides) slides: Slides;

  ngAfterViewInit() {
    this.slides.freeMode = true;
  }
}

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.3.0
Ionic Framework Version: 2.0.0-rc.6
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v4.4.7
Xcode version: Xcode 8.0 Build version 8A218a

I have it in constructor with platform ready promise and there is no warning.
        this.platform.ready().then(() => {         this.slides.pager = false;         this.slides.freeMode = true;         });

Hello @HamzaLJ , thanks for opening an issue with us! So the issue here is that you are using the default angular lifecycle events. We have our own lifecycle events, which you can read about in the docs that line up better with how ionic boots components.

@jgw96 That's not the reason.
I've tried to use ionViewDidLoad and I got the error.
It seems that the property freeMode does not exists in Slides because when I do: this.slides.pager = true; instead the error disappears!


Port libmicrohttpd doesn't declare its dependencies

The configuration of libmicrohttpd tests for dependencies, but the port doesn't declare any dependencies.

curl
gettext
libgnutls

On macOS, it could pick up files provided either from brew or from a port if it is installed. The mixing of brew and overridden prefix creates volatile configurations.
Output from configure for macOS in CI:
configure: GNU libmicrohttpd 0.9.63 Configuration Summary:
  Target directory:  /Users/vagrant/Data/installed/x64-osx
  Cross-compiling:   no
  Operating System:  darwin20.3.0
  Shutdown of listening socket trigger select: no
  Inter-thread comm: pipe
  poll support:      yes
  epoll support:     no
  sendfile used:     yes, Darwin-style
  HTTPS support:     yes (using libgnutls)
  Threading lib:     posix
  Use thread names:  yes
  Use debug asserts: no
  Messages:          yes
  Gettext:           yes
  Basic auth.:       yes
  Digest auth.:      yes
  HTTP "Upgrade":    yes
  Postproc:          yes
  Build docs:        yes
  Build examples:    yes
  Test with libcurl: no, many unit tests will not run

(From the failed osx build in #17205. Even libcurl is found in some other contexts.)
Originally posted by @dg0yt in https://github.com/microsoft/vcpkg/issues/17205#issuecomment-831057544

libcurl is used only for tests.
Building tests (as well as docs, examples) shall be enabled by a separate feature.
libgnutls is mandatory for https support, but https support is optional.

It is not used by the windows build system.
It is not found in an Azure Pipelines Ubuntu image.
It is found and used in an Azure Pipelines macOS image.

gettext for translation is optional.

It is not used by the windows build system.
It is found and used in an Azure Pipelines Ubuntu image.
It is found and used in an Azure Pipelines macOS image.


Always reinitialize ckeditor on ckeditor fields

Coverage decreased (-0.005%) to 84.247% when pulling 382812b325132979a9b703b3781b8c36dad6dab8 on feature/always_reinitialize_ckeditor into 53f7d232d3e3e6df0261481c700490dd5f1d8b69 on master.


Can you provide an example how to use it using stateful metrics?

Nice code, thanks. Could you provide an example how to display metrics as it is (no average)? Thanks

Hi,
The Kbar's code is taken directly from tf.keras.utils.Progbar.
And it does not support stateful metrics.
I will try to add this feature when I find some time.

After reading your code, I understand how to use stateful_metrics. Just pass variables you dont want to take the average to param stateful_metrics and you will get values as it is (no avg). This is my example:
Declaration:
kbar = pkbar.Kbar(target=len(data_loader), width=8,                       stateful_metrics=['loss','top1','top5'])
Update progbar:
kbar.update(i, values=[('batch_time', batch_time.val),                                ('loss', losses.avg),                                ('top1', top1s.avg),                                 ('top5', top5s.avg)])
I like your work, thanks!

After reading your code, I understand how to use stateful_metrics. Just pass variables you dont want to take the average to param stateful_metrics and you will get values as it is (no avg). This is my example:
Declaration:
kbar = pkbar.Kbar(target=len(data_loader), width=8, stateful_metrics=['loss','top1','top5'])
Update progbar:
kbar.update(i, values=[('batch_time', batch_time.val), ('loss', losses.avg), ('top1', top1s.avg), ('top5', top5s.avg)])
I like your work, thanks!

Oh, cool, I didn’t use stateful metrics before, and thought needs to modify the code.
Thanks!


fix(protocol): fix bug in LibBytesUtils.toBytes32 (TKO-07)

Should be something like this no?
 function toBytes32(bytes memory _bytes) internal pure returns (bytes32) {
        require(_bytes.length >= 32, "array is too small"););
        return abi.decode(_bytes, (bytes32)); // will truncate if input length > 32 bytes
 }

because we just have to prevent reading in uninitialized memory. This will make sure the array is large enough to always have data set of the array itself.
Alternatively, as recommended, we could also do this:
 function toBytes32(bytes memory _bytes) internal pure returns (bytes32) {
        if (_bytes.length == 0) {
             return 0;
        } else if (_bytes.length < 32) {
            bytes32 ret;
            assembly {
                ret := mload(add(_bytes, 32))
            }
            return ret;
        }

        return abi.decode(_bytes, (bytes32)); // will truncate if input length > 32 bytes
}

This should also work because memory is aligned on 32 bytes (well, I believe so, would have to double check), so we can be sure that the accessed memory is set correctly for all array lengths, except for input length 0 so it's a special case.

I'm not sure about this part:
 else if (_bytes.length < 32) {
>             bytes32 ret;
>             assembly {
>                 ret := mload(add(_bytes, 32))
>             }
>             return ret;
>         }

What if we simply return 0 for the size is smaller than 32.

this function is only used by LibMerkleTrie, which doesn't have test coverage. It's hard to tell the impact of such a change.

If we look at one of the use cases of toBytes32, it seems the input can be indeed smaller than 32 bytes.

Oh wait, I misread the text! bytes are NOT always padded to 32 bytes.

So in the short case, we still have potential issues because the padding bytes are not guaranteed to be reset, though they are probably also not directly manipulable. Still, not sure what the best approach is now.

Should be something like this no?
 function toBytes32(bytes memory _bytes) internal pure returns (bytes32) {
        require(_bytes.length >= 32, "array is too small"););
        return abi.decode(_bytes, (bytes32)); // will truncate if input length > 32 bytes
 }

I think this one is NOT ok, because what Daniel also copied:
// Nodes smaller than 31 bytes aren't hashed.

Alternatively, as recommended, we could also do this:
 function toBytes32(bytes memory _bytes) internal pure returns (bytes32) {
        if (_bytes.length == 0) {
             return 0;
        } else if (_bytes.length < 32) {
            bytes32 ret;
            assembly {
                ret := mload(add(_bytes, 32))
            }
            return ret;
        }

        return abi.decode(_bytes, (bytes32)); // will truncate if input length > 32 bytes
}

I dont think this one is good either, because if bytes is 1..31 length long, mload still can overflow.
I'd simply do this:
function toBytes32(bytes memory _bytes) internal pure returns (bytes32) {
        if (_bytes.length < 32) {
            return bytes32(_bytes); // It will not over-read
        }
        return abi.decode(_bytes, (bytes32)); // will truncate if input length >32 bytes
            // 32 bytes
    }

Testing this out, I'm actually not seeing the "short" bytes behavior given above by chatGPT (well, not the greatest source on this as maybe expected), no matter the length, it seems aligned to 32 bytes always, with the first 32 bytes being the length.
But bytes32(_bytes) does indeed also work correctly, a bit surprising because such a non-obvious thing to cast. It also zeros out any byte values after the specified length, so this seems like a very safe and good solution, even though it is non-trivial why it works. :)

Testing this out, I'm actually not seeing the "short" bytes behavior given above by chatGPT (well, not the greatest source on this as maybe expected), no matter the length, it seems aligned to 32 bytes always, with the first 32 bytes being the length.

Yep I don't believe gpt is correct here. Length will always be 32 byte word for bytes.
The direct casting does sound like the right solution to me. It will truncate longer than 32 bytes, it also handles shorter than 32 bytes and specifically the length zero case which isn't handled by the current code. Though I haven't written test cases so would be good to check all of these scenarios.

@Brechtpd @adaki2004 please take a look at the tests.

@Brechtpd implementation optimized. Take another look.


fix(gitee/pipelines/pingcap_enterprise):  add git ssh key in go build containers

why: some repo's script will using git to clone or update, but we only set it in default container.
Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

Hello, I am a serverless review bot on flows.network. Here are my reviews of code commits in this PR.

Commit 1
Key changes:

A new function setSshKey() has been added to pass in credentialsId and gitHost.
It sets the SSH key for Git in containers during build which use 'git cli`.

Potential problems:

The patch seems to lack comments on the changes made, making it difficult to understand the purpose of the code.
It is not clear what GIT_CREDENTIALS_ID contains, how it would change, and also if it is safe to hardcode the remote Git host name (gitee.com) in the script.
Running SSH key related operations during CI/CD can pose risks, such as unauthorized access to repositories and private information if not handled carefully.

Recommendations:

Add comments explaining what the changes do, outlining the risks associated with SSH key operations, and appropriate mitigations to address these issues.
Verify with the author about GIT_CREDENTIALS_ID, the hardcoded host name, and a better understanding of the context around this patch.
Consider using different hosts' key pairs for better isolation and network security, or other security best-practices such as time-limited credentials, access control, or multi-factor authentication.


Handling Dates in Typechecker

Dates need to be handled in the Typechecker comparisons. Sqlite doesn't have a date class so it reports the type for date columns as strings in ResultSetIterator. So we also need to support string and date comparisons (example SHIPDATE <= DATE('1998-1-1')). I have worked around this issue by changing the following code -
case Comparison((Gt | Gte | Lt | Lte), lhs, rhs) =>
				if(typeOf(lhs) != TDate && typeOf(rhs) != TDate) {
					Typechecker.assertNumeric(Typechecker.escalate(typeOf(lhs), typeOf(rhs), "Comparison"))
				}
				TBool

Wondering if adding a case like (TDate, TString) | (TString, TDate) | (TDate, TDate) => TDate to escalate and then adding something like an assertDate would be better.

This should be fixed in #73
ResultSetIterator now takes an (optional) explicit schema, and uses the types it provides when applicable.

Moving this issue to new ticket.


ampq event shipper should not crash the controller

The ampq shipper is a great addition to allow event streaming to external systems, but it really needs the following two improvements to be viable in a production setting.

Connection failure upon startup should not prevent the controller from starting, it should log an error and then continue
Failure to ship events should result in the data being buffered up to a configurable size while the connection retries, but if the buffer fills up the event shipping should log errors that it can't buffer anymore.

Key idea - Metrics and event shipping should never crash the controller, and needs to be able to handle slow shipping, connection failures, auth errors, timeouts, etc.

Fixed by https://github.com/openziti/ziti/pull/1136 in ziti release 0.28.1


Support Safari as a browser in flutter run

Safari currently has a much different devtools API than chrome or edge, but it might be possible to  use https://github.com/google/ios-webkit-debug-proxy to proxy the Safari devtools API to a Chrome-Like API. If this works, we might be able to provide a 1st class flutter run -d safari experience.

I'm currently experiencing an issue that is ONLY happening in Safari. It would be great to be able to do this. Is there any hackish workaround that I can use in the meantime? I tried running the Webserver run option, but it doesn't seem to work with Safari

@jlubeck why not build your app, run it on a local server python -m SimpleHTTPServer (for python 2) and the open it in Safari? You don't need the tool support for debugging to serve the app, its just a regular html/javascript bundle once you make a release build

Yes, but the javascript is minified and I just ran into HELL trying to get the map to work on Safari... I was fortunately able to at least get SOME of the map to work (by painfully uploading source files into the server), so I was able to fix my personal issue. I'll try doing that next time though. Might be easier than what I did... Looking forward to having this work though!

Then build an unminified profile build. Adding this functionality is not assigned to anyone and has no milestone, meaning there are no plans to add it in the immediate future.

Ahhh that's a nice feature I didn't know about. Will definitely help! Thanks!

It is nice to support safari

any updates?

No update on this yet?

Any news?


API seems not working in night

Hi,
I have implemented currency conversion API and after 6.00 PM (IST) API seems not working till morning. I always get The request timed out error
api -http://<IP_ADDRESS>:8011/api/user/amount-conversion- params -{   amount = "44.78";   "convert_from" = USD;   "convert_to" = AUD;   "user_id" = 32; }- error-Optional(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2103, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C5717D2E-2601-4719-89F5-36AA7FFF3034>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalDataTask <C5717D2E-2601-4719-89F5-36AA7FFF3034>.<1>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://<IP_ADDRESS>:8011/api/user/amount-conversion, NSErrorFailingURLKey=http://<IP_ADDRESS>:8011/api/user/amount-conversion, _kCFStreamErrorDomainKey=4})-
Is there any time boundation with this api's

@paul-shuvo

I checked it on runkit, where it seems to work fine. The problem might be too many requests were being sent.

@paul-shuvo So what's the ideal limit of it ? I am planning to release in my app upcoming versions, and my client base is large so what we should do in that case ?

Are you using the lib on the client side or on the server side?

Yes @paul-shuvo,
I have created a custom end point in which i am taking params from app side convert_from, convert_to and currency_to_convert. and calling your code in that API
let currencyConverter = new CC({from:"USD", to:"JPY", amount:100, isDecimalComma:true})

@ankitshantiinfotech as I mentioned above, you've to have the code run on the client side as too many requests (if implemented on the server side) will surely blacklist the IP.

@paul-shuvo What will be the alternatives for that now ?

You've to run it on the client side (Nodejs).


Error: WidgetManager already initialized

Testing #12874
Jupyter extension version: v2023.2.1000531229
Python extension version: v2023.3.10481011
Using ipywidgets 7

Create a new notebook.
Add the following cell

# Sample1
from ipyleaflet import Map, Marker

center = (52.204793, 360.121558)

m = Map(center=center, zoom=15)

marker = Marker(location=center, draggable=True)
m.add_layer(marker);

display(m)

Run the notebook.
Add the following cell

# Sample2
import k3d
import numpy as np
from numpy import sin,cos,pi
from ipywidgets import interact, interactive, fixed
import ipywidgets as widgets
import time
import math

plot = k3d.plot()

plot.camera_auto_fit = False

T = 1.618033988749895
r = 4.77
zmin,zmax = -r,r
xmin,xmax = -r,r
ymin,ymax = -r,r
Nx,Ny,Nz = 77,77,77

x = np.linspace(xmin,xmax,Nx)
y = np.linspace(ymin,ymax,Ny)
z = np.linspace(zmin,zmax,Nz)
x,y,z = np.meshgrid(x,y,z,indexing='ij')
p = 2 - (cos(x + T*y) + cos(x - T*y) + cos(y + T*z) + cos(y - T*z) + cos(z - T*x) + cos(z + T*x))
iso = k3d.marching_cubes(p.astype(np.float32),xmin=xmin,xmax=xmax,ymin=ymin,ymax=ymax, zmin=zmin, zmax=zmax, level=0.0)
plot += iso

plot.display()

Run the entire notebook again.
Run the first cell again.
:bug: No rendered outputs.

Devtools errors:
I see a few WebSocket is already in CLOSING or CLOSED state. errors, but the more immediate errors are the Error: WidgetManager already initialized errors, which I see whenever I run the notebook again.

It's harder for me to repro the issue with ipywidgets 8, but I hit the issue again.
The failure to render upon a re-run seems to occur when the WebSocket is already in CLOSING or CLOSED state. error occurs.

The failure to render upon a re-run seems to occur when the WebSocket is already in CLOSING or CLOSED state. error occurs.

this is a know issue with the Jupyter server itself, they have an upstream issue for this.
will see if tehre'a work around for this.

WidgetManager already initialized

I should change this message to a warning or information (its actually not an error)
Having this as an error confuses users (like your self and could lead users down the wrong path)

Seems like the notebooks render fine after that change using ipywidget 8.

If that works, then lets close this issue as resolved.
If there are other issues or this is still unresolved please feel free to re-open this issue


Run protoc in a container during build

I'm not really convinced we need protocol buffer comms anymore

I thought it was still used to tranfer config between scheduler and executor?

It is, but I much rather want to see it gone, and replaced with arguments for the executor.

Ok. In that case perhaps we can close this one. Your call.

I've removed the protoc part of the framework, so it's exchanging serialised Java objects instead. Also, the generation of the logstash runtime configuration is now formed by a Freemarker template


Add Nix Flake

Allows for:

Convenient usage - nix run github:vito/bass
Pinned Go version (when using Nix to build)
Development environment which just works (add use flake into .envrc)

See also:

https://nixos.wiki/wiki/Flakes
https://www.tweag.io/blog/2020-05-25-flakes/
https://serokell.io/blog/practical-nix-flakes

weird, this didn't auto-close when i merged it; gonna merge here too, hope that's a no-op


Conversion script for MultiBody.Sensors.CutForce/CutTorque/CutForceAndTorque

Reported by otter on 19 Nov 2007 00:02 UTC
The components have been changed in a non-backward compatible way and a conversion script is needed

Migrated-From: https://trac.modelica.org/Modelica/ticket/13

Comment by otter on 8 Dec 2007 19:28 UTC
A conversion is provided in 4858f576d02518f371a2437e3a61eedd8b1d1537, 4128bb3c7fd30307a6581ce6b1c10d1c1eb79f75


Invalid function name exported

Version: 2.6.0
Platform: Node.js 6.2.0 on OS X 10.11.4
Description: Commit ffaaf0f broke co-redis because one of the functions that you export are now named restore-asking which is an invalid function name. This is due to a "bug" in thenify which uses the function name inside some evaled code (thenables/thenify#20). I think it would be vice to not export invalid function names...

having same issue with co-redis, node 6.2.0 on centos7:
SyntaxError: Unexpected token -
    at thenify (/nodeuser/app/node_modules/thenify/index.js:17:15)

reverting to 2.6.0-1 fixes it.

Fixed in v.2.6.1. @LinusU @amit777 thanks for reporting it and thanks @danmactough for fixing it right away :+1:


Every time I run a single .cpp file using plugin will auto created a source file in the source root? How to fix it ?

For example, I run a single file HelloCPP.cpp and it will auto create a compile file HelloCPP in the root folder of HelloCPP.cpp


[MTSRE-78] - Add webhook server as a separate binary for admission webhooks

This PR does the following:

[X] Implement Webhook server as a separate binary
[x] Add Addon validation logic for (tested):

validating spec.Install during Addon creation
validating spec.Install during Addon updation and enforcing immutability

[X] Update CSV to include Webhook server and ValidatingWebhookConfiguration (OLM bundle has been tested)
[X] Add manifests for local testing / development
[X] Update Makefile for locally testing webhooks

Signed-off-by: Mayank Shah<EMAIL_ADDRESS>

/test e2e

/test e2e

/retest

/test e2e
/test unit

/test e2e

/retest

/retest

/retest

/retest

/retest
Investigating

/lgtm
AMAZING!


Make the maven plugin depend on the camel package-maven-plugin

And remove duplicate code around model objects / helpers, etc...

I am far from knowing all the details, but wouldn't it be even better to port the features we need here to Camel main and remove the plugin altogether from here?

Sure, that can be investigated.  I haven't really checked how the model is used, but I don't think Camel should be tied to any Camel Quarkus concept, else it will be hard to maintain.
However, reusable code should stay in Camel, I agree.
Basically, we should keep the 2 mojos because they are specific to camel-quarkus and reuse the helpers and model classes from the camel plugin.  So we'd be left with PrepareCatalogQuarkusMojo and UpdateDocExtensionsListMojo classes.  Not sure we can do better.


tf.summary.flush segfaults when writer is not a valid tf.summary.SummaryWriter object

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:NA
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below): v2.2.0-rc4-8-g2b96f3662b 2.2.0 & v2.1.0-rc2-17-ge5bf8de 2.1.0
Python version:3.7.6
Bazel version (if compiling from source):NA
GCC/Compiler version (if compiling from source):NA
CUDA/cuDNN version:NA
GPU model and memory:NA

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
tf.summary.flush doesn't have input validity check to ensure writer is a tf.summary.SummaryWriter;
give it a ndarray as writer would make it segfault.
Describe the expected behavior
The function shouldn't segfault and should have a proper input checking.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
import tensorflow as tf
import numpy as np
tf.summary.flush(writer=np.random.rand(2,2)) # causes segfaults

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

I am able to replicate this issue, please find gist here the colab crashes when i runt he code.

This should be expected, after all you are calling functionality which does not exist. That is, this is not really a fault of TF.

The flush() op has legacy behavior where callers were passing in the raw handle to the resource rather than the SummaryWriter python object:
https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/python/ops/summary_ops_v2.py;l=964;drc=5a07c487f666d2edecea59ba7e3a215a2a03fe9d
In particular this is used by TPUEstimator here:
https://cs.opensource.google/tensorflow/estimator/+/master:tensorflow_estimator/python/estimator/tpu/tpu_estimator.py;l=522;drc=079a14eb925c3320c87baa0874ec7167e1b23242
So while I'd like to get rid of that undocumented fallback it's a bit hard to do so.  Perhaps instead there is a way we can at least restrict it to actual resource handle tensors (rather than arbitrary objects), although I'm still not sure that would completely avoid segfaults if passing in a resource handle that did not correspond to a summary writer resource.

Oh, then this is something that we need to fix. Didn't know this part of history.

@leeyeetonn  I tried to reproduce the issue in TF 2.5 and Nightly, I am getting different error but colab doesnt  crashes when i executed the code. Please find the gist here.Thanks!

@leeyeetonn Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@saikumarchalla @mihaimaruseac  I believed the crash is gone and is replaced with an error message. Thank you!


ISPN-5613 Replication timeouts should show the affected entries

https://issues.jboss.org/browse/ISPN-5613

Please cherry-pick to 8.0.x.

Applied to both master and 8.0.x. Thanks


TextField,TextformField TextSelection causes scrolling when inside ListView,SingleChildScrollView

Steps to Reproduce
Minimal example
class TestTextSelectionScroll extends StatefulWidget {
  @override
  _TestTextSelectionScrollState createState() =>
      _TestTextSelectionScrollState();
}

class _TestTextSelectionScrollState extends State<TestTextSelectionScroll> {
  final TextEditingController _body = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: ListView(
          children: [
            TextField(
              controller: _body,
              style: Theme.of(context).textTheme.bodyText1,
              maxLines: null,
            ),
          ],
        ),
      ),
    );
  }
}

Any Textfield, Textformfield in listview has unwanted scrolling in the opposite direction of scroll when selecting long lines of text within the field.
Expected results: Scroll only when cursor moves out of the viewport(not sure if thats the term)
Actual results: Unusual Scrolling in the opposite direction

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1165], locale en-IN)
    • Flutter version 2.2.3 at C:\Android\flutter
    • Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Android\sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Android
• ANDROID_SDK_ROOT = C:\Android\sdk
• Java binary at: C:\Android\openjdk\bin\java
• Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_202-b08)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.8.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
• Visual Studio Build Tools 2019 version 16.8.30907.101
• Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] VS Code (version 1.59.1)
• VS Code at ########
• Flutter extension version 3.25.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1165]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 92.0.4515.159
• Edge (web)        • edge    • web-javascript • Microsoft Edge 92.0.902.78

@DhivakarK-git
Tried the same on Pixel 5 emulator on latest master but couldn't replicate the issue. Can you try the same on latest master and confrim ?

@darshankawar
Problem still persists in the latest master and latest android sdk. It happens when the no. of text lines in length is atleast twice that of the length of viewport. Happens when u try to drag the handles up or down.
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: TestTextSelectionScroll(),
    );
  }
}

class TestTextSelectionScroll extends StatefulWidget {
  @override
  _TestTextSelectionScrollState createState() =>
      _TestTextSelectionScrollState();
}

class _TestTextSelectionScrollState extends State<TestTextSelectionScroll> {
  final TextEditingController _body = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: ListView(
          children: [
            TextField(
              controller: _body,
              maxLines: null,
            ),
          ],
        ),
      ),
    );
  }
}

[√] Flutter (Channel master, 2.6.0-1.0.pre.112, on Microsoft Windows [Version 10.0.19043.1165], locale en-IN)
    • Flutter version 2.6.0-1.0.pre.112 at C:\Android\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0c65de1616 (7 hours ago), 2021-08-30 05:26:01 -0400
    • Engine revision c05688f4bc
    • Dart version 2.15.0 (build 2.15.0-65.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Android\sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = C:\Android
• ANDROID_SDK_ROOT = C:\Android\sdk
• Java binary at: C:\Android\openjdk\bin\java
• Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_202-b08)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.8.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
• Visual Studio Build Tools 2019 version 16.8.30907.101
• Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] VS Code (version 1.59.1)
• VS Code at ########
• Flutter extension version 3.25.0
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
• Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19043.1165]
• Chrome (web)                 • chrome        • web-javascript • Google Chrome 92.0.4515.159
• Edge (web)                   • edge          • web-javascript • Microsoft Edge 92.0.902.84

Thanks for the updates. Verified again on latest master and stable and observed the same behavior.

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.3 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision f4abaa0735 (4 days ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • SM G975F (mobile) • RZ8M802WY0X • android-arm64 • Android 10 (API 29)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 91.0.4472.114

• No issues found!

[✓] Flutter (Channel master, 2.6.0-1.0.pre.134, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.6.0-1.0.pre.134 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6902a04c22 (3 hours ago), 2021-08-30 23:01:05 -0400
    • Engine revision 6c11ffe9ba
    • Dart version 2.15.0 (build 2.15.0-66.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • SM G975F (mobile) • RZ8M802WY0X • android-arm64 • Android 10 (API 29)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 91.0.4472.114


Few syntax and semantic errors

https://github.com/PHPExpertsInc/DockerUpgrader/blob/f50c68947a0ae940d8c156b56fa6a2283b9330ac/docker-images-update#L85
Should be docker stop $(docker ps -aq)
https://github.com/PHPExpertsInc/DockerUpgrader/blob/f50c68947a0ae940d8c156b56fa6a2283b9330ac/docker-images-update#L95
There isn't option like docker rmi --stop at Docker version 19.03.8. Also you should make check if there is any orphaned images to remove, otherwise docker rmi exits with error. Did you mean to use docker rm $(docker ps -a q)

Best way to remove orphaned images I found that:
docker rmi -f $(docker images -f dangling=true -q)


(chore) Bump Ergo 0.5.8

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage remained the same at 91.151% when pulling 1ff7485911e1c7107dfa99555b25d031581a0638 on jeromesimeon:js-chore-ergo-0.5.8 into 7f4edc288466676151a797af6f2dd9bbd9cd0875 on accordproject:master.


Add Turkish localization

Overview
The Globalization WS has funded and completed the translations of the user interface in Turkish and would like to add it to the app.
References and additional details
Product input regarding this change is welcome, it is only an additional language following the same processes/maintenance schedule (weekly) as other current languages.
Acceptance Criteria
Users have access to Turkish in the language selection and see the UI translated in Turkish.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

The language files will be added with:

https://github.com/shapeshift/web/pull/3526 for /web
https://github.com/shapeshift/lib/pull/1136 for /lib

The draft for #3527 will be turned into a PR once languages files are merged.


Adds Codec.sizeInBytes and changes json to write fixed-length arrays

This adds Codec.sizeInBytes(Span), which is used to pre-allocate a
buffer to write the span into.
This changes the json encoder to use this approach, which drops its
encoding overhead by an order of magnitude:
Was:
Benchmark                                         Mode  Cnt  Score   Error  Units
CodecBenchmarks.writeClientSpan_json_zipkin       avgt   15  17.165 ± 0.785  us/op

Now, it is in the same order as thrift:
CodecBenchmarks.writeClientSpan_json_zipkin       avgt   15   1.445 ± 0.036  us/op
CodecBenchmarks.writeClientSpan_thrift_libthrift  avgt   15   1.951 ± 0.014  us/op
CodecBenchmarks.writeClientSpan_thrift_zipkin     avgt   15   0.433 ± 0.011  us/op
CodecBenchmarks.writeLocalSpan_json_zipkin        avgt   15   0.813 ± 0.010  us/op
CodecBenchmarks.writeLocalSpan_thrift_libthrift   avgt   15   1.191 ± 0.016  us/op
CodecBenchmarks.writeLocalSpan_thrift_zipkin      avgt   15   0.268 ± 0.004  us/op
CodecBenchmarks.writeRpcSpan_json_zipkin          avgt   15   3.606 ± 0.068  us/op
CodecBenchmarks.writeRpcSpan_thrift_libthrift     avgt   15   5.134 ± 0.081  us/op
CodecBenchmarks.writeRpcSpan_thrift_zipkin        avgt   15   1.384 ± 0.078  us/op
CodecBenchmarks.writeRpcV6Span_json_zipkin        avgt   15   3.912 ± 0.115  us/op
CodecBenchmarks.writeRpcV6Span_thrift_libthrift   avgt   15   5.488 ± 0.098  us/op
CodecBenchmarks.writeRpcV6Span_thrift_zipkin      avgt   15   1.323 ± 0.014  us/op

ok wrote an ipv6 encoder.. now json is faster than libthrift!


Mark min-svn fields as deprecated.

IMO, we should rename the field to 'reserved' in the image and remove it from other places (verifier, tests etc)

Have removed test cases and builder code related to this, marked the field as reserved in the firmware header and fuse log record, and will issue a follow-up PR to remove the remaining logic in ROM that operates on this field.


Git: arbitrary remote names

Is there a way to set an arbitrary remote name or does the git release feature only work if your remote is named origin? (Looks that way from the code...?)

Hi, @maiamcc. It currently only works with origin now. Apparently you're the first that needs a different name. Happy to accept a PR that features this!

The src.pushRepo config now accepts both remote url's and names (just released with v7.6.0).


Support Fargate service for head job in AWS Batch compute env

Description
Update flags to support Fargate when creating AWS Batch compute environments.
Remove --fusion (v1 is deprecated), add --fusion-v2, --wave, --fargate flags.
Testing guidelines
To try the CE creation the following is needed:

Valid AWS credentials
Existing S3 bucket

$> tw compute-envs add aws-batch forge \
-n FargateTest \
-w Org/Wsp \
-c AwsDevCreds \
-r eu-west-2 \
--work-dir s3://jaime-testing \
--provisioning-model SPOT \
--max-cpus 2 \
--fusion-v2 \
--wave \
--fargate \
--no-ebs-auto-scale

  New AWS-BATCH compute environment 'FargateTest' added at [Org / Wsp] workspace

Was able to successfully create an aws batch CE with wave, fusion and fargate settings enabled and run a few workflows on the CE afterwards to make sure it functions correctly.

@JaimeSeqLabs looks good now, fusion flag is not checked and command fails if it's missing.


Add "created"

Add field "created" to Task model.

Please, don't say about spaces 🙏🙏🙏!

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@cichan02 thanks

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 1min)


pythonPackages.docutils build fails with Package 'docutils' requires a different Python: 2.7.18 not in '>=3.7'

Steps To Reproduce
Steps to reproduce the behavior:

build pythonPackages.docutils

Build log
error: builder for '/nix/store/jad32c2vzvhmk5lb4vg3w89aqywf97zd-python2.7-docutils-0.19.drv' failed with exit code 1;
       last 10 log lines:
       > adding 'docutils-0.19.dist-info/top_level.txt'
       > adding 'docutils-0.19.dist-info/RECORD'
       > removing build/bdist.linux-x86_64/wheel
       > Finished executing setuptoolsBuildPhase
       > installing
       > Executing pipInstallPhase
       > /build/docutils-0.19/dist /build/docutils-0.19
       > DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
       > Processing ./docutils-0.19-py2-none-any.whl
       > ERROR: Package 'docutils' requires a different Python: 2.7.18 not in '>=3.7'

Additional context
I'm using nixpkgs-unstable.
Notify maintainers
@AndersonTorres
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.4, NixOS, 22.11 (Raccoon), 22.11pre404282.324c8aaf25b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - channels(user): `""`
 - channels(root): `"home-manager, nixos, nixos-hardware, nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Indeed my bad, I had forgotten that pythonPackages referred to python 2.7.


New Term Request: Intellectual disability, autosomal recessive

Label
Intellectual disability, autosomal recessive
Synonyms
No response
Synonym type
None
Definition
A broad category of disorders characterized by an impairment to the intelligence an individual possesses, caused by an autosomal recessive genetic disorder.
Parent term
MONDO:0001071 Intellectual disability
Children term(s)
MONDO:0014524 intellectual disability, autosomal recessive 47
ORCID Identifier
No response
Website URL
https://clinicalgenome.org/affiliation/40006/
Additional comments
CC: @ErinRiggs

Hi - Just checking in on the status of this one. Could you provide a status update?
Let me know if you have any other questions!
Julia


bug(mdc-migration): Migrate components selectively is bugged

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When Migrating to MDC-based Angular Material Components, and doing it component by component, it should only migrate the selected components. Right now other components that are not selected are also migrated. Seems that it only happens on imports.
Take for example this ngModule code:
      import {NgModule} from '@angular/core';
      import {MatLegacyButtonModule} from '@angular/material/legacy-button';
      import {MatLegacyCheckboxModule} from '@angular/material/legacy-checkbox';

      @NgModule({imports: [MatLegacyButtonModule, MatLegacyCheckboxModule]})
      export class AppModule {}

Right now, migrating this file selecting only the "button" migrates also the Checkbox. This should not happen.
Reproduction
Steps to reproduce:
Execute the migration for only "button" on this ngModule code:
      import {NgModule} from '@angular/core';
      import {MatLegacyButtonModule} from '@angular/material/legacy-button';
      import {MatLegacyCheckboxModule} from '@angular/material/legacy-checkbox';

      @NgModule({imports: [MatLegacyButtonModule, MatLegacyCheckboxModule]})
      export class AppModule {}

Expected Behavior
Should migrate only selected components
Actual Behavior
Selectively migrating components is buggy and in some cases, like imports, other components are also migrated
Environment

Angular: 15.1.0
CDK/Material: 15.1.0
Browser(s): -
Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu

I can confirm that this happens. It has resulted in me just having to do it all in one go and deal with the pain of making sure everything looks good.

For anyone in this thread, there is one workaround that I have been using. Basically is 'patching' the mdc-migration directly on the '/node_modules' forlder, there is a quite easy way to do it.
1- Go to the file<EMAIL_ADDRESS>2- Search for the variable LEGACY_MODULES.
3- Comment ALL the components that you don't want to migrate! For example, just migrating the button would result in:
var LEGACY_MODULES = new Set([
  // "legacy-autocomplete",
  // "legacy-autocomplete/testing",
  "legacy-button",
  "legacy-button/testing",
  // "legacy-card",
  // "legacy-card/testing",
  // ........
]);

This is a temporal solution that you could use, but I hope the angular team solve this issue or accepts this MR. This bug would actually prevent many users to upgrading to MDC.

I confirm that have experienced the same bug

In the case of using a custom theme file, I have noticed that it includes theme styles for all MDC components:
// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
/* TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
@include mat.all-legacy-component-themes($my-theme);
@include mat.all-component-themes($my-theme);

I wonder if it needs to be changed so that it includes only those styles that are used by the migrating components such as:
@include mat.all-legacy-component-themes($my-theme);
@include mat.chip-themes($my-theme);
@include mat.button-themes($my-theme);

@bumpakoa that seems more like a nice-to-have that is related to this issue. Nothing breaks when you include both all of the legacy and all of time MDC themes. That is because there is no cross-over between the two.
However, selectively importing the styles of only the migrated components would save on bundle size if it isn't tree-shakable (I don't know if this is or not).

Just encountered this myself.  Thanks for jumping on it.


JSR-305 probe. Checks for @Nonnull and @CheckForNull deprecated annotations.

This probe checks for deprecated imports of @Nonnull and @CheckForNull annotations.
Description
Closes #322

Testing done
Added required test cases to validate the new probe.

### Submitter checklist
- [x] If an issue exists, it is well described and linked in the description
- [x] The description of this pull request is detailed and explain why this pull request is needed
- [x] The changeset is on a specific branch. Using `feature/` for new feature, or improvements ; Using `fix/` for bug fixes ; Using `docs/` for any documentation changes.
- [x] If required, the documentation has been updated
- [x] There is automated tests to cover the code change / addition or an explanation why there is no tests in the description.

To keep this compatible with the OpenRewrite rule by @sghill , it would be better to look for all imports from the javax.annotation package.

To keep this compatible with the OpenRewrite rule by @sghill , it would be better to look for all imports from the javax.annotation package.

Do you mean I should look for any import line that starts with javax.annotation?

Yes, that's what I meant.

@Jagrutiti Please, you can keep your abstract class to check for multiple imports (the way you had it before) and just change your JSR305 probe to have an unique entry in the list.
Or you remove your abstract class altogether and have a single one that does JSR305 and no abstraction.
Now that you initially implemented an abstract probe that allows searching for multiple imports a file, I would say you can keep it as is, and in the really context of JSR305, you just happen to be searching for a single import.

@alecharp

updated > normal

that might punish plugins that use different means to prevent NPEs (e.g. using Optional<> consistently, having extensive test coverage, using another framework like jspecify ...)

I agree with @zbynek on that one. The goal is to avoid using outdated annotations, but there are many ways to properly handle null values. Attributing good marks to plugins using the updated annotations for null management would lead to plugins having less good marks despite maybe not having any flaws.
I feel that while it is factual to check if a plugin is using deprecated annotations or not, deciding if the plugin is properly handling NPEs is much more opinionated, and I wouldn't recommend handling that in probes (we could assume poor NPE management will result in issues and bug reports, which are checked by other probes).


support z/OS ebcdic string types

This introduces a NativeString type which basically is the same as Utf8String on all platforms except z/OS where it is EbcdicString.
Previously,
v8::Handle<v8::String> s;
Nan::Utf8String str(s);
system_library_call(*s);

This wouldn't work because the z/OS system doesn't use Utf8 string encoding but Ebcdic encoding.
But now, this will work for all platforms.
v8::Handle<v8::String> s
Nan::NativeString str(s);
system_library_call(*s);

This is a preliminary attempt to solve this problem but I am open to any other ways of achieving this.

thanks @kkoopa . I modified the source based on your suggestions.

Ah, yes. It does require a reinterpret_cast somewhere. I do not know where it is strictly better to do the cast.
On September 1, 2017 10:32:21 PM GMT+03:00, John Barboza<EMAIL_ADDRESS>wrote:

jBarz commented on this pull request.

+class EbcdicString {

public:
inline explicit EbcdicString(v8::Localv8::Value from) :

 length_(0), str_(str_st_) {

HandleScope scope;
if (!from.IsEmpty()) {

 v8::Local<v8::String> string = from->ToString();

 if (!string.IsEmpty()) {

   size_t len = string->Length() + 1;

   assert(len <= INT_MAX);

   if (len > sizeof (str_st_)) {

     str_ = static_cast<char*>(malloc(len));

     assert(str_ != 0);

   }

   const int flags = v8::String::NO_NULL_TERMINATION;

   length_ = string->WriteOneByte(reinterpret_cast<unsigned

char*>(str_),
I will change the underlying storage type to a an unsigned char*
(because ebcdic is based on unsigned char)
But I will then have to to move the reinterpret_cast to the cast
operators.
inline char* operator*() { return reinterpret_cast<char*>(str_); }

I don't know if I agree nan is the best place to solve this.  Nan abstracts over V8 and Node.js differences, not platform differences.

We could probably have the NativeString type declared in Node and expose that via the Node API?

or better yet, via libuv that is supposed to abstract over platform differences.

I've thought about it but it seems like a flawed abstraction: not all platforms use UTF-8, and UTF-8 <-> EBCDIC conversion is not lossless.

What about allowing strings to have an optional "translation" hook? This would be more generic, and allow someone to do a translation from Klingon to Romulan, as well as between anything else.

I have modified it to not involve the Utf8String class at all.
Now, there is just one class NativeString that uses String::WriteOneByte from v8.

I will look at implementing this outside nan.
Thanks for looking into it anyway :-)


Touchscreen mode

Hello. I have just tested the touchscreen mode on my windows tablet. It doesn't work. Are you going to refine the touchscreen mode?

I'd like to, but I can't, since I don't own a tablet myself and there seems to be some limitations related to multitouch.
I've reopened issue #20, so I'll close this one.

I don't own a tablet myself

What about PojavLauncher/HMCL-PE?


Created the "uwp" tag

I've added the "uwp" tag for the Universal Windows Platform used in Windows 10.
I've also added a default .gitatributes file that ensures proper handling of LF.

Wow, this was so long ago that I completely forgot about it... Thanks for merging, @jeffwilcox!

You and me both!


OnPrem Diagnostics Store Location

When setting up a cluster onprem the cluster config json file asks us to replace the file share location with one that all nodes can access.
Is there a functional reason to use a network path instead of allowing them to all log to a local disk drive?
My understanding is that location is used only to record and each node's data is independent of each others.  I understand that should a node go down the diagnostics data may not be available for that node.
The reason i ask is i have a situation where a network drive all nodes can authenticate against and read/write data is not possible, the cause of this issue is beyond my control.

The reasoning for a shared network drive is to establish a central store for easy exfiltration of SF logs in case you need to provide diagnostics to us for investigation. Shared network drive is only one option, we also offer first class support to upload logs to an Azure storage container owned by you.

Thanks Max, so the reason for the network path is accessablity in a disaster, meaning SF will function correctly with the logs local to each node.
With regards to exfiltration we have other options so this is not a consideration.

I have the response i wanted but i can't see an option for me to close the issue, so please feel free to close it.


Connect-ExchangeOnline  Timeout when behind a firewall

[Enter feedback here]
My team is accessing the Exchange Online with powershell in our corporate server which is behind a firewall. However there is one undocumented IP address being used: <IP_ADDRESS> and we'd like confirmation from Microsoft to confirm that this is indeed being used by powershell .
The following rules have been opened as per following documentation 0365 ref Link

*.office.com
autologon.microsoftazuread-sso.com
login.microsoftonline.com
<IP_ADDRESS>/18
<IP_ADDRESS>/18

Timeout when powershell is behind the firewall only the above rules are opened
PowerShell 7.1.3
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /app> Import-Module ExchangeOnlineManagement
PS /app> $UserCredential = Get-Credential

PowerShell credential request
Enter your credentials.
User: user@company
Password for user user@company: ****************************************************************

PS /app> Connect-ExchangeOnline -Credential $UserCredential

----------------------------------------------------------------------------
The module allows access to all existing remote PowerShell (V1) cmdlets in addition to the 9 new, faster, and more reliable cmdlets.

|--------------------------------------------------------------------------|
|    Old Cmdlets                    |    New/Reliable/Faster Cmdlets       |
|--------------------------------------------------------------------------|
|    Get-CASMailbox                 |    Get-EXOCASMailbox                 |
|    Get-Mailbox                    |    Get-EXOMailbox                    |
|    Get-MailboxFolderPermission    |    Get-EXOMailboxFolderPermission    |
|    Get-MailboxFolderStatistics    |    Get-EXOMailboxFolderStatistics    |
|    Get-MailboxPermission          |    Get-EXOMailboxPermission          |
|    Get-MailboxStatistics          |    Get-EXOMailboxStatistics          |
|    Get-MobileDeviceStatistics     |    Get-EXOMobileDeviceStatistics     |
|    Get-Recipient                  |    Get-EXORecipient                  |
|    Get-RecipientPermission        |    Get-EXORecipientPermission        |
|--------------------------------------------------------------------------|

To get additional information, run: Get-Help Connect-ExchangeOnline or check https://aka.ms/exops-docs

Send your product improvement suggestions and feedback to<EMAIL_ADDRESS>For issues related to the module, contact Microsoft support. Don't use the feedback alias for problems or support issues.
----------------------------------------------------------------------------

Error Acquiring Token:
Request to the endpoint timed out.
New-ExoPSSession: /root/.local/share/powershell/Modules/ExchangeOnlineManagement/2.0.5/netCore/ExchangeOnlineManagement.psm1:475
Line |
 475 |  … PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | One or more errors occurred. (Request to the endpoint timed out.)

PS /app>

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

ID: 10052620-9909-c335-1913-fdf9db8ab16b
Version Independent ID: e4be7843-4540-96fd-dcd8-09d6b91a4249
Content: Basic auth - Connect to Exchange Online PowerShell
Content Source: exchange/docs-conceptual/basic-auth-connect-to-exo-powershell.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@davidgarciaMontreal, anything in <IP_ADDRESS> to <IP_ADDRESS> is part of the Class A private IP range and unroutable on the internet.
So is <IP_ADDRESS> some kind of NAT translation of a public IP on your network?

Hello @chrisda ,
Yes, it is a private IP but I dont think is in our corporate network for the following reason:  I took a wireshark trace behind our corporate VPN and see this private IP <IP_ADDRESS> during the call to Connect-ExchangeOnline -Credential $UserCredential. I also took another wireshark trace when I'm off the corporate VPN and the same private IP is shown in the traces only when connecting to the Exchange only. I will upload the wireshark trace to this ticket. I found there are other cicd rage/fqdn that I added to the FW:
<IP_ADDRESS>/18
*.deploy.static.akamaitechnologies.com

Hello again @chrisda,
I am not able to upload the wireshark trace to github. Please let me know if you have any ftp server where I could upload it.
BR David

hi @chrisda,
I see that o365 is hosted on the Azure services. Could it be that this module is created a VPN tunnel to the private IP within the Azure cloud?
BR David

@davidgarciaMontreal, I have no idea. Your best bet is to open a support case about this.

@chrisda , the problem is with the powershell module ExchangeOnlineManagement. Would you please provide a link where I could open the support case?
BR David
Import-Module ExchangeOnlineManagement

Two different and separate avenues:

Send an email to exocmdletpreview[at]service[dot]microsoft[dot]com.
Be sure to include the log files in your email message. To generate the log files, replace  with the output folder you want, and run the following command:
Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store log file> -LogLevel All

I'm not entirely convinced this is an EXO V2 module issue. Certainly nothing to do with EXO V2 module documentation.

In your tenant in any admin portal (for example, https://admin.microsoft.com) click on the Help & support link in the bottom right corner:

@chrisda , The reason it seems to me this is relegated to documentation is that in order to use ExchangeOnlineManagement, there is no online references as to which FQDNs need to be opened when powershell is used behind the firewall.
I tried using to collect the logs but the call keeps hanging, see below.
# pwsh
PowerShell 7.1.3
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /app> Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath /tmp/log.log -LogLevel All

----------------------------------------------------------------------------
The module allows access to all existing remote PowerShell (V1) cmdlets in addition to the 9 new, faster, and more reliable cmdlets.

|--------------------------------------------------------------------------|
|    Old Cmdlets                    |    New/Reliable/Faster Cmdlets       |
|--------------------------------------------------------------------------|
|    Get-CASMailbox                 |    Get-EXOCASMailbox                 |
|    Get-Mailbox                    |    Get-EXOMailbox                    |
|    Get-MailboxFolderPermission    |    Get-EXOMailboxFolderPermission    |
|    Get-MailboxFolderStatistics    |    Get-EXOMailboxFolderStatistics    |
|    Get-MailboxPermission          |    Get-EXOMailboxPermission          |
|    Get-MailboxStatistics          |    Get-EXOMailboxStatistics          |
|    Get-MobileDeviceStatistics     |    Get-EXOMobileDeviceStatistics     |
|    Get-Recipient                  |    Get-EXORecipient                  |
|    Get-RecipientPermission        |    Get-EXORecipientPermission        |
|--------------------------------------------------------------------------|

To get additional information, run: Get-Help Connect-ExchangeOnline or check https://aka.ms/exops-docs

Send your product improvement suggestions and feedback to<EMAIL_ADDRESS>For issues related to the module, contact Microsoft support. Don't use the feedback alias for problems or support issues.
----------------------------------------------------------------------------

@chrisda

@chrisda Gentle reminder


Update table: roles

configuration table for user roles
no changes to schema
no draft/private fields

Permissions by role

public: none
registered, no role: none
analyst: R
manager: R
admin: R

again, not sure if any work is needed here


fix(mojaloop/#3133): sanitize file paths

fix(mojaloop/#3133): sanitize file paths

Sanitize file paths since report generation download will break if not

I have accepted CLA before, so I'm not sure why it is failing. For the record I accept the CLA in regards to this pull request.


Update to latest react-native-onyx version

Details

Update to latest react-native-onyx version
It includes a fix for handling null values in Onyx.set (and other write operations)
Fixed Issues

$ https://github.com/Expensify/App/issues/7361
Tests

For Android and iOS only

[ ] Delete workspace and verify the app no longer hangs in infinite loading

QA Steps

For Android and iOS only

[ ] Delete workspace and verify the app no longer hangs in infinite loading

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

https://user-images.githubusercontent.com/12156624/150847870-5e1ccf9d-5aa2-47a6-9a70-13283a22c156.mov
Mobile Web

Desktop

https://user-images.githubusercontent.com/12156624/150848179-3e1a80b5-60c0-4611-b2b1-82055d9b9d5c.mov
iOS

https://user-images.githubusercontent.com/12156624/150847889-830d7f2d-977c-41ea-a452-980f7f04672a.mov
Android

https://user-images.githubusercontent.com/12156624/150845273-aaa76e7c-76c9-490d-a4e7-adfe22e9aecc.mp4

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @johnmlee101 in version: 1.1.32-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.33-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


CLI support for stdin

This builds on top of PR #11 (and fixes #10) such that the CLI can now read from:

A file, given as file name argument (previously existing)
dockerfilelint test/examples/Dockerfile.cli

Any contents given as an argument (courtesy of @marccampbell)
dockerfilelint "FROM scratch"

stdin, either piped to the bin or entered when bin is executed without any arguments
cat test/examples/Dockerfile.cli | dockerfilelint

dockerfilelint
FROM scratch
ADD busybox.tar.xz /
CMD ["sh"]
<Ctrl-D>

This PR also allows this package to be installed globally (npm i -g dockerfilelint) and run as the executable bin dockerfilelint (can't believe I didn't notice this before).
Since this PR changes how the bin behaves when no arguments are given, it should probably constitute a semver major bump.

looks good

:metal:


Newsletters: add 195 (2022-04-13)

[ ] Add lede, update releases/RCs, add topic links @harding
[ ] Bitcoin Core PR Review Club @glozow
[ ] Bitcoin Core 24152 policy / validation: CPFP fee bumping within packages @adamjonas

Note: I asked Rusty whether he preferred "Core Lightning" or "CLN" and went with his choice.  I may use CLN instead in cases where we're character-limited.

I keep a summary of what has been discussed during the PR Review Club meetings at https://github.com/kouloumos/review-club-summaries. It could probably be used for the related section @glozow.

Thanks @kouloumos, your notes were very helpful! Added you as coauthor.

Made edits (thanks @Xekyo !), reviewed contributions (thanks @glozow, @kouloumos, and @adamjonas !), updated RCs/releases, and added topic links.  Thanks everyone!

Thank you to @harding, @glozow, @adamjonas, @kouloumos, @Xekyo for your contributions this week, good newsletter team!

Whoops, looks like a transposition of the last two digits of the PR,
sorry!  I'll update when I'm next at my computer.  Correct PR is
https://github.com/ElementsProject/lightning/pull/5086
On 16.04.2022 07:26, Steve Myers wrote:

@notmandatory commented on this pull request.
In _posts/en/newsletters/2022-04-13-newsletter.md [1]:

+- [Bitcoin Core #24098][] updates the /rest/headers/ and

/rest/blockfilterheaders/ RPCs to use query parameters for
additional options (e.g. ?count=<count>) as an alternative to
endpoints (e.g.
/<count/).  The documentation is updated to encourage use of the
query parameters over the endpoint parameters.

+- [Bitcoin Core #24147][] adds backend support for [miniscript][topic

miniscript].  Subsequent PRs [#24148][bitcoin core #24148] and
[#24149][bitcoin core #24149] will, if merged, add support for
using
miniscript in [output script descriptors][topic descriptors] and in
the wallet's signing logic.

+- [Core Lightning #5165][] updates the name of the C-Lightning
Project

to [Core Lightning][core lightning repo], or CLN for short.

+- [Core Lightning #5068][] adds support for attaching
This "Core Lightning #5068" doesn't seem to link to a PR about adding
option_payment_metadata. The PR it links to is about " Gossip
node_announcement more aggressively, allow 2 updates per day for
gossip. #5068 ". I also can't seem to find any open or closed PRs in
the Core Lighting repo that mention option_payment_metadata. Or am I
misunderstanding something?
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you were mentioned.Message ID:
@.***>
Links:
[1]
https://github.com/bitcoinops/bitcoinops.github.io/pull/745#discussion_r851652423
[2]
https://github.com/bitcoinops/bitcoinops.github.io/pull/745#pullrequestreview-943873682
[3]
https://github.com/notifications/unsubscribe-auth/AAAO5KD35UX47RJCHFGOTLTVFLZ2XANCNFSM5S6D72BQ


e-Translation and e-Terminology tutorial: e-Translation call gives no response

The tutorial demo call for e-Translation
http://api-dev.freme-project.eu/doc/tutorials/translate_EN-NL_including_terminology.html
says "loading" and does not give a response.

Also http://api-dev.freme-project.eu/doc/api-doc/simple.html#!/e-Translation/tildeTranslate
gives an error. something wrong with FREME e-Translation endpoint.
Error says:
{
  "exception": "eu.freme.broker.exception.ExternalServiceFailedException",
  "path": "/e-translation/tilde",
  "message": "javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name",
  "error": "Bad Gateway",
  "status": 502,
  "timestamp":<PHONE_NUMBER>369
}

Just tested Tilde endpoint, it works fine.

from source code:
@Value("${freme.broker.tildeETranslationUrl:https://servicsdafes.tilde.com/translation/?sourceLang={source-lang}&targetLang={target-lang}}")
	private String endpoint;// = "https://services.tilde.com/translation/?sourceLang={source-lang}&targetLang={target-lang}";

Seems that the Tilde API url has broken.

I fixed the URL, @fsasaki is it working now?

It does, thanks a lot, @ArneBinder !


Multiple copies getting added while running tests using Intellitest

@jayaranigarg,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


📚 Create Interactive webpage for API Documentation and Implementation Guide

📖 Overview
To enhance the usability and adoption of our backend API, we need to create an interactive documentation page that guides new users on how to implement the API effectively. This documentation will serve as a comprehensive resource for developers, providing step-by-step instructions, examples, and detailed explanations.
🚀 Proposed Solution
I propose building a dedicated web page within our project repository that will host the API documentation and implementation guide. This page will be designed using modern web technologies and will provide a user-friendly experience to developers, regardless of their experience level. The documentation will be presented in a clear and concise manner, making it easy for new users to understand and implement our API.
📝 Key Features
The following key features are suggested for the interactive documentation page:

Introduction and Getting Started: An overview of the API's purpose, its capabilities, and a guide on how to get started using it.

Endpoints and Parameters: A detailed listing of all available endpoints, along with their associated parameters and expected responses.

Authentication and Authorization: Guidance on how to authenticate requests and obtain necessary access tokens or API keys.

Code Examples: Practical code snippets demonstrating how to use the API in various programming languages, making it easier for developers to integrate it into their projects.

Error Handling: Information on error responses, common troubleshooting tips, and best practices for handling errors gracefully.

FAQs and Troubleshooting: A section that addresses frequently asked questions and common issues developers may encounter while implementing the API.

Please feel free to ask any questions or suggest additional features that would enhance the usability and effectiveness of our API documentation. Let's work together to make our API implementation guide a valuable resource for all developers!

Hello @Pritam1136 ,
Thank you for creating this issue, I really love the idea of having more documentation around using this API. As it doesn't have auth, and the endpoints are well documented it would be easy to have an interactive guide. We have a little bit of additional recent documentation at our new Rapid API listing, which does offer a few examples of using axios and other ways to fetch the requests using the documentation / published versions as a way to feed in new features / rulesets.
This API is stand alone and to keep it simple enough for future contributions we would rather not have any front end elements for hosting a documentation site in the repo. Although we welcome all other sites that want to feature this API and create a small guide to do so, and even would mention them in our resources given they are doing a good job explaining the intricacies of using a Cat Fact API through RESTful GET requests. Our Documentation is hosted in the repo's docs/ folder and sports the OpenAPI 3.0 documents outlining a detailed listing of all available endpoints, along with their associated parameters and expected responses. Its available in json or yaml configuration.
Again, thanks for making an issue with us, and I welcome all other contributions in all forms.

Hi @BeauBouchard ,
Thank you for your feedback and suggestions. I understand and respect your preference to keep the API repository focused on the core functionality without hosting a front-end documentation site. I will promote external sites that provide comprehensive guides for implementing the Cat Fact API 🐈. The existing documentation in the repo's docs/ folder, following the OpenAPI 3.0 standard, is valuable for developers. If you have any more suggestions, please feel free to share.

Absolutely! I would be delighted to create a site for you. Building a website requires careful planning and development, and I want to ensure that I create a high-quality and professional website that meets your needs. It may take some time to complete, as I want to deliver a fully functional website. Rest assured, I will notify you as soon as it's ready. Thank you for considering me for this project.

Hello @BeauBouchard checkout this repo - https://github.com/Pritam1136/meowfacts-website

Hello @BeauBouchard
Checkout this repository - https://github.com/Pritam1136/meowfacts-website

This issue happens sometime and sometimes it works fine.

Thank you for making this website, i hope it was an enjoyable contribution.
I am going to share a link on the readme.md of the document :D Thanks again for your hard work.

Your link should appear on the readme.md now,

https://github.com/wh-iterabb-it/meowfacts/tree/main#documentation

and i added you to the contributors section of the repo

Yes, it was a awesome a project to contribute.


⚠ Jenkins Plugins Artifactory has degraded performance

In 1325c62, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1289 ms

Resolved: Jenkins Plugins Artifactory performance has improved in e565bcc after 13 minutes.