Fix not using encoding="utf-8" when writing to files or reading from them

Fixes: #93305 (Didn't test myself though)
Related: #89858
Different encodings may be used by different platfroms, so making all files always use the same encoding feels like a nice change. Also adds missing "r", but it's more of a style change

Hey @ChristopheClaustre, decided to do a different solution, can you check if it works?

Hey @ChristopheClaustre, decided to do a different solution, can you check if it works?

It seems to solve my issue : https://github.com/godotengine/godot/issues/93305

Thanks!

This fixed my problem! #93447


Port Stochastic Solver notebooks to v5

The stochastic solver was not updated for QuTiP 5 yet. Port the tutorials addressing this solver ( available in tutorials-v4) to QuTiP 5, once the solver was updated.

Completed by @Ericgig in #61.


[WIP] TC_ECAL: calendar cluster

Test scripts for ECAL cluster
TC_ECAL_1_1, TC_ECAL_2_1

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


Reproducing results on CoinRun

I just wanted to confirm if I need to change anything before running DRAC (Random Conv) to reproduce the results reported in Table 4 and 5 in the paper -- also, why is Rand + FM (9.16) bolded instead of IBAC-SNI (9.46) for results on CoinRun in Table 5?

You don't need to change anything, you can just run python train.py --env_name coinrun --aug_type crop to reproduce those results. Re Table 5, you are right, that must be a mistake, IBAC-SNI is better than Rand-FM. Thanks for catching this, it will be fixed in the updated draft.

Thanks!


Add link to CocoaPods

:rice_ball:

Codecov Report

Merging #379 into master will increase coverage by 1.59%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
+ Coverage   97.83%   99.43%   +1.59%
==========================================
  Files          16        5      -11
  Lines         972      176     -796
==========================================
- Hits          951      175     -776
+ Misses         21        1      -20

Impacted Files
Coverage Δ

ReSwiftTests/XCTest+Compatibility.swift

ReSwiftTests/TypeHelperTests.swift

ReSwiftTests/TestFakes.swift

ReSwiftTests/AutomaticallySkipRepeatsTests.swift

ReSwiftTests/StoreTests.swift

ReSwiftTests/XCTest+Assertions.swift

ReSwiftTests/StoreSubscriberTests.swift

ReSwiftTests/PerformanceTests.swift

ReSwiftTests/StoreMiddlewareTests.swift

ReSwiftTests/StoreSubscriptionTests.swift

... and 1 more

Continue to review full report at Codecov.

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


Page Reload Issue

i am trying to insert jquery bar rating then auto page reloading issue is happening

It's unlikely the plugin reloads page by itself. Difficult to tell without seeing the actual code. Please check for conflicts / click event handling issues in your Javascript.


Add rate limiting to rekor

We can set this up by IP address, probably the same way we do for fulcio
ref https://github.com/sigstore/fulcio/issues/365

I can't assign issues, but @haydentherapper is taking a look at this

Compelted


Launcher can't connect to servers

Hi, so I've managed to follow all the steps of the guide, but my launcher can't connect to the internet after changing the Default Gateway to the one of my Virtual Machine. Everything else can access the internet, just not the FFXIV launcher on PS5.

(about the "sudo phython3" it's because I was desperatly looking threads here trying to find a solution and one person suggested using so. It didn't help, and using "python" like the guide suggest has the same results)
As you can see I've managed to run the "mitigate.py" but no entries are made when launching FFXIV on PS5, probably because it can't even access the internet after changing the Default Gateway.
I'm honestly at a loss here... I'm very newbie in virtual machines and it was very hard to make everything work but now at the last step I just can't figure out what went wrong. Is it because I'm using a full Wireless connection? (both PC and PS5) Does one of them need to be wired in order for it to work?
Thanks in advance!

Could you show the result of command ip addr show from your VM?
At step 6 on the guide https://github.com/Soreepeong/XivMitmLatencyMitigator, what exact command did you use?

I don't remember what I used on Step 6 and I think it's not relevant anymore since I switched to the Docker, right? Or should I still follow Step 6?

No worries about delay responses, because I might end of in same situation as yours too.
If you are using my docker version, you can skip almost everything except set net.ipv4.ip_forward=1 which the normal version doesn't need to. You can check the setting by this command and show me the result.
cat /etc/sysctl.conf | grep net.ipv4.ip_forward
When everything is set, docker logs -f xiv-mitm-latency-mitigator should always show most events that PS5 interact with the game through xiv-mitm-latency-mitigator such as connection status or some codes of skill that you pressed.
Also the gateway for PS5 should come from eth0 interface, in your case is <IP_ADDRESS>

So it should be working properly, but I still can't connect to the FFXIV launcher, PS Store, browser, and apps like youtube etc works fine.
My Default Gateway is <IP_ADDRESS> as you can see in the picture below:

And no entries on VM

I've noticed that the eth0 ip address showing there is different from the ip address shown when I use ip addr show, is that a problem?

Everything seems to be in good order. That <IP_ADDRESS>/24 is good. It means allow all device in your LAN to route network through your VM to any destination (<IP_ADDRESS>/0).
The fact that every other apps are working fine except FFXIV is your PS5 having problem routing FFXIV traffic through your VM.
Could you show me more result from this command while docker is still running?
sudo iptables -t nat -L PREROUTING -n -v
And you may want to try this command and start FFXIV again.
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

I just remembered that some guy was having this very same problem when using Wi-Fi, can you try using wired connection to your PC instead?
Don't forget to check if VM IP is changed, so you can put the correct one in your PS5 network gateway setting.

I changed the primary and secundary DNS and I was able to open FFXIV properly, but no entries were made on the VM and I was still clipping heavily when double weaving. When turning off the VM the PS5 loses connection to the internet, so it was indeed using the VM.
I also tried VirtualBox, but I couldn't make my PS5 connect using the IP of the VM as the Default Gateway. Here are the results of ip addr show on the newly VirtualBox VM:

as you can see it shows "enp0s3" instead of "eth0", don't know if that is an issue
and here are the network settings of the VM:

Everytime I boot the Hyper-V VM it messes my network configs and I have to delete the device it created on the settings of my computer in order for VirtualBox to recognize my Wireless card (I saw you commenting on that on another post here).
I'm thinking of trying wired connection next, can I use wired from my PC and my PS5 still wireless or do both need to have wired connection?

Congratulation! So this means wireless connection is not working?
For PS Network, if everything is setup properly, there shouldn't be a problem. You can stick to <IP_ADDRESS> and <IP_ADDRESS>.

I think the best way to check this issue is trying to play without VM by revert the gateway back to <IP_ADDRESS>.
Normally, playing game through VM, there should be an increase in latency about 1-2 ms which is usually not noticeable. If this issue only occur while playing through VM, there should be something wrong with network performance of your Windows machine that hosted VM.

Always happy to help fellow warrior of lights.
For the question about update in the future, if that update does not require a newer version of ffxiv_dx11.exe (which usually don't), docker user version like you, easiest way is to just restart VM after an updated Opcode is released. After restart, XivMitm will restart itself and fetch for latest Opcode automatically. You can check at https://github.com/Soreepeong/XivAlexander/tree/main/StaticData/OpcodeDefinition and see the updated date of game.JP.2<IP_ADDRESS>0.0000.json file.
However, if that update require newer version of ffxiv_dx11.exe, I'll need to update the container image first. You may need to check my repo at https://github.com/bankjaneo/XivMitmDocker for progress and follow the update container image guide below. After that just go through basic usage again.
PS. I'm leaving FFXIV soon but many of my friends are still using this docker version so I'll continue to update it, just may took a little bit longer for each update. Luckily that the delay only affect updates that need newer version of ffxiv_dx11.exe.

I see, thanks for the info!
I understand, I myself am not playing as much as I used to as well, I mostly keep my sub because of my house and because every few days I feel like doing an Alliance roullete or something like that. Hope to see you back in the future, and no worries about the updates, do as you can, we can still use the normal version if it comes to that.
But anyway, thanks so much for your help!


Specify the behavior of List

Here are two problems:

Service doesn't have a default value for ListMode
Do we need to check virtual_dir while ListMode is ModeDir?

RFC https://github.com/beyondstorage/go-storage/pull/654


Add Course Reset Dates banner on CourseDatesPageFragment

Description
LEARNER-7827

restructure API calls through viewModel
Implement ViewModel in CourseOutlineFragment.java
Show dialog box on success/unsuccess of shift dates API call

Please add the screenshot of the date shifting banner on the course dates screen.


[Contribute] Command Palette - Add Initial Channel and User Autocomplete

Summary

Adds autocomplete for channels and users in command palette.
Ticket Link

Related Pull Requests

Screenshots

Release Note

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Heads up that as part of our efforts to move to a monorepo, we're closing out a number of older pull requests like this one to help streamline the effort.
If you'd like to preserve these changes -- even if you're not the original author! -- feel free to resubmit the pull request against the monorepo once it's ready. You can subscribe to mattermost-server-issue-22420 for status updates on this effort.


Vue UI serve task generating "Couldn't parse bundle asset" warning for async component

Version
3.2.1
Reproduction link
https://github.com/daniel-bolton/lazy-load-example
Environment info
  System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
  Binaries:
    Node: Not Found
    Yarn: 1.9.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
  npmPackages:
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.2.0
    @vue/cli-plugin-eslint: ^3.2.0 => 3.2.1
    @vue/cli-service: ^3.2.0 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    eslint-plugin-vue: ^5.0.0-0 => 5.0.0
    vue: ^2.5.17 => 2.5.17
    vue-eslint-parser:  2.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.4.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.5.17
    vue-template-es2015-compiler:  1.6.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

Clone the lazy-load-example repo locally
Open the Vue UI
Import the project
In Tasks, run the serve task with the default parameters
Switch to the Output view to see the warning after the task has run

What is expected?
No warning to appear.
What is actually happening?
The following warning is displayed in the output.
Couldn't parse bundle asset "{path-to-project}\lazy-load-example\dist\0.js".
Analyzer will use module sizes from stats file.

I'm using a windows machine, so not sure if the issue could be path/permissions related.

@daniel-bolton I have the same problem with a hello world vue app generated using the vue cli. Why did you close this issue? I'm wondering what I'm doing wrong.

I guess this is "normal behaviour"? See I don't see gzip or parsed sizes, it only shows stat size.

Hi @MartinMa, I accidentally created two issues for this, so closed this one. The 'open' one is available here.

I guess this is "normal behaviour"? See I don't see gzip or parsed sizes, it only shows stat size.

Hadn't seen that section in the Webpack Bundle Analyzer's docs -- thanks for pointing that out!

Hey run this code in a terminal in your project to make it working "npm run build". Bsically it is not a problem!

This is still an issue and running a build does not resolve it.

I am also facing the same issue.
Couldn't parse bundle asset "~\vue\vue-travel-app\dist\js\chunk-vendors.js". Analyzer will use module sizes from stats file.

Guys, I have the same problem. Has anyone solved this?

Me too

I get the following message, seems to be related?
 WARN
Couldn't parse bundle asset "....\dist\1.959fba9063e8854d51c8.hot-update.js".
Analyzer will use module sizes from stats file.

Same for me after running the default hello world app from vue ui.

WARN
Couldn't parse bundle asset "/Users/Tom/Desktop/Task Manager/code/dist/js/about.js".
Analyzer will use module sizes from stats file.

 { "version": "0.1.0",   "private": true,   "scripts": {     "serve": "vue-cli-service serve",     "build": "vue-cli-service build",     "test:unit": "vue-cli-service test:unit",     "lint": "vue-cli-service lint"   },   "dependencies": {     "core-js": "^3.6.4",     "register-service-worker": "^1.7.1",     "vue": "^2.6.11",     "vue-router": "^3.1.6"   },   "devDependencies": {     "@vue/cli-plugin-babel": "~4.3.0",     "@vue/cli-plugin-eslint": "~4.3.0",     "@vue/cli-plugin-pwa": "^4.3.1",     "@vue/cli-plugin-router": "~4.3.0",     "@vue/cli-plugin-unit-jest": "~4.3.0",     "@vue/cli-service": "~4.3.0",     "@vue/eslint-config-prettier": "^6.0.0",     "@vue/test-utils": "1.0.0-beta.31",     "babel-eslint": "^10.1.0",     "eslint": "^6.7.2",     "eslint-plugin-prettier": "^3.1.1",     "eslint-plugin-vue": "^6.2.2",     "node-sass": "^4.12.0",     "prettier": "^1.19.1",     "sass-loader": "^8.0.2",     "vue-cli-plugin-pug": "^1.0.7",     "vue-template-compiler": "^2.6.11"   },   "eslintConfig": {     "root": true,     "env": {       "node": true     },     "extends": [       "plugin:vue/essential",       "eslint:recommended",       "@vue/prettier"     ],     "parserOptions": {       "parser": "babel-eslint"     },     "rules": {},     "overrides": [       {         "files": [           "**/__tests__/*.{j,t}s?(x)",           "**/tests/unit/**/*.spec.{j,t}s?(x)"         ],         "env": {           "jest": true         }       }     ]   },   "browserslist": [     "> 1%",     "last 2 versions",     "not dead"   ],   "jest": {     "preset": "@vue/cli-plugin-unit-jest"   } }

Reinstall node_modules has worked for me

Try this
npm install node-sass --save

I get the following message, seems to be related?
 WARN
Couldn't parse bundle asset "....\dist\1.959fba9063e8854d51c8.hot-update.js".
Analyzer will use module sizes from stats file.

Have you fixed this? Can I get your solution?

just change path  in  plugins\element.js
//import 'element-plus/lib/theme-chalk/index.css'
import 'element-plus/theme-chalk/index.css'

im facing the same issue - is there a way to fix this ? pls help :S

Guys for my side the problem was from the code I wrote. Make sure you guys check the console logs in the dev tools in your browser. It showed where the logic error was and worked fine after I fixed it. So, it's not related to the GUI.

I'll check it out now

Looks like a problem with Vue 2 itself

I get the following message, seems to be related?
 WARN
Couldn't parse bundle asset "....\dist\1.959fba9063e8854d51c8.hot-update.js".
Analyzer will use module sizes from stats file.

Did you manage to solve it? I'm running into the same issue.


Adding Browserslist

resolves #19
Generated list using https://browserl.ist/?q=cover+90% which seemed pretty agreeable to me.

UPDATE: Now covering 95%, list below 👇
https://browserl.ist/?q=cover+95%


aot and  No component factory found for DeviceSelectComponent. Did you add it to @NgModule.entryComponents?

I can't make my app work with aot.
In my app I have a component that I want to show within a modal dialog.
I define my component within a shared.module.ts
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { DeviceSelectComponent } from "~/deviceselect/DeviceSelectComponent";
import { NativeScriptCommonModule } from "nativescript-angular/common";
import { NativeScriptLocalizeModule } from "nativescript-localize/angular";
import { ModalDialogService } from 'nativescript-angular/modal-dialog';

import { CapitalizePipe } from "~/pipes/CapitalizePipe";
import { LocalizePipe } from 'nativescript-localize/angular';
@NgModule({
    imports: [
        NativeScriptCommonModule,
        NativeScriptLocalizeModule
     ],
     entryComponents: [DeviceSelectComponent],
     declarations: [
        DeviceSelectComponent, CapitalizePipe
    ],
    exports: [
        DeviceSelectComponent, CapitalizePipe, LocalizePipe
    ],
    providers: [ModalDialogService],

    schemas: [NO_ERRORS_SCHEMA]
})

export class SharedModule {}

But with aot enabled I get
Error: No component factory found for DeviceSelectComponent. Did you add it to @NgModule.entryComponents?

whenever I try to show the modal dialog.
I tried almost every possible solutions:

put entryComponents in the modules declarations of the components I am showing the modal from
put entryComponents in the app module
differents packages versions for nativescript-angular, nativescript-dev-webpack

Nothing works. Any help would be appreciated
Thanks

@farfromrefug, in shared module I think you don't need to use entryComponents but in your component. So, you can try like this:
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { DeviceSelectComponent } from "~/deviceselect/DeviceSelectComponent";
import { NativeScriptCommonModule } from "nativescript-angular/common";
import { NativeScriptLocalizeModule } from "nativescript-localize/angular";
import { ModalDialogService } from 'nativescript-angular/modal-dialog';

import { CapitalizePipe } from "~/pipes/CapitalizePipe";
import { LocalizePipe } from 'nativescript-localize/angular';
@NgModule({
    imports: [
        NativeScriptCommonModule,
        NativeScriptLocalizeModule
     ],
     declarations: [
        DeviceSelectComponent, CapitalizePipe
    ],
    exports: [
        DeviceSelectComponent, CapitalizePipe, LocalizePipe
    ],
    providers: [ModalDialogService],

    schemas: [NO_ERRORS_SCHEMA]
})

export class SharedModule {}

For example you want to import in home.module.ts. So:
@NgModule({
    imports: [
        NativeScriptCommonModule,
        SharedModule,
        HomeRoutingModule
    ],
    declarations: [
        HomeComponent
    ],
    entryComponents: [DeviceSelectComponent],
    schemas: [
        NO_ERRORS_SCHEMA
    ]
})

That should work.

@jibon57 still no luck :s I feel like there is an issue with aot compilation.

In this case please use https://play.nativescript.org/ for more details. The above solution is working for me.

Hi @farfromrefug,
Did you solve the issue, which you were facing? If the problem persists, please provide sample project, which can be used for debugging and give us more info about the exact steps, which you used while building the project.

@tsonevn I ll try to create a sample app reproducing it. Thanks

@tsonevn here is a sample showing the issue.
run with tns run android --bundle --env.aot to see the issue
issue-modal.zip

@tsonevn I saw that about the resources sorry!  I can send you a new one. about the webpack issue can you tell me what it is? I cant really delete as I had to modify the default one. but I compare I don t see any issue

@tsonevn I found the issue. It comes from the order in resolve.extensions
The default one comes with this [".ts", ".js", ".scss", ".css"]
and mine is this [".js", ".ts", ".scss", ".css"] which makes modal view not show.
This is actually a big deal for people developing plugins like I do.
The default one order makes module dev not work when you use plugin package version like this file:../nativescript-background-gps/plugin because this folder will also contains plugin ts files.
For example with nativescript-bluetooth installed with "nativescript-bluetooth": "file:../nativescript-bluetooth/plugin", in package.json and with the default webpack you get that error :
System.err: Error: Module build failed: Error: /Volumes/data/dev/nativescript/nativescript-bluetooth/plugin/src/android/android_main.ts is missing from the TypeScript compilation. Please make sure itis in your tsconfig via the 'files' or 'include' property.
System.err:     at AngularCompilerPlugin.getCompiledFile (/Volumes/data/dev/nativescript/Mini2SmartApp/node_modules/@ngtools/webpack/src/packages/ngtools/webpack/src/angular_compiler_plugin.ts:951:15)
System.err:     at plugin.done.then (/Volumes/data/dev/nativescript/Mini2SmartApp/node_modules/@ngtools/webpack/src/packages/ngtools/webpack/src/loader.ts:49:29)
System.err:     at <anonymous>
System.err:     at process._tickCallback (internal/process/next_tick.js:182:7)

That's because of the order in ``resolve.extensions```
If I am correct the order should always be js first? Why is that an issue with entryComponents in angular.

after looking a little bit more at that issue, here are more explanation. The current order won't work for any nativescript plugin that publishes its ts file with npm. The problem with that is that the node_modules folder will contains
plugin.common.ts
plugin.android.ts
plugin.js

When AngularCompilerPlugin will run it will read plugin.js and will see a require('plugin.common') then as it will see a plugin.common.ts it will report the error:
 plugin.common.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (/Volumes/data/dev/nativescript/Mini2SmartApp/node_modules/@ngtools/webpack/src/packages/ngtools/webpack/src/angular_compiler_plugin.ts:951:15)

There does not seem to be a way around this.
So the solution seems to force AngularCompilerPlugin to look for js files first with webpack option resolve.extensions. But then you end with another angular error which is that lazy loaded components are not working. It might be related to this issue https://github.com/angular/angular-cli/issues/8508


Add "back to top" button at the bottom of each page of a supplier list

Overview
Add a "back to top" button at the bottom of each page of a supplier list, when the list is being viewed through the "My lists" section of a user account.
Is your feature request related to a problem? Please describe.
Navigating within the "My lists" section of a user account is currently pretty laborious, and involves a lot of scrolling and clicking.
When a user has worked through the Confirm / Deny process on 100 facilities, they may like to jump quickly back to the top of their list to check through the entries, but currently have to scroll back to the top.
Describe the solution you'd like
A "back to top" button at the bottom of each page of a supplier list which users can click to jump back to the top of the page.
Additional Context
N/A

I believe we have circumvented the need for this by paginating the facility list details page so that users no longer need to scroll through all items:

I'm going to close this but feel free to re-open it if it is still desirable to add this feature!


Make struct Name into an expression

Declaring structs ahead of time is a necessity for supporting mutually recursive types, but most types aren't mutually recursive. Therefore it would make sense for struct Name to return the created type in addition to binding it to a variable Name.
Combined with Mica's flexible impl blocks, this would allow for the following idiom:
impl struct Vector
  func new(x, y) construct
    # ...
  end
end

Considering my plan for implementing modules it would also make sense for impl blocks to return the implemented struct.


Stop in-use nodeTemplate from being deleted

Problem:
A user can delete a nodeTemplate at anytime, this causes issues when
trying to scale nodes
Solution:
Check if the template is being used and if it is do not allow it to be
deleted and remove the 'remove' link from the api
Issue: rancher/rancher#13354

LGTM


Channel Alignment DV is not using most updated AIB model

Just a reminder to the DV team. The ca_top_tb.sv is using old avmm interface (16bit). The up to date AIB avmm interface is 32 bit.

upgrade to yellow oval to re-test it and mark it fixed

Working with 0.8.17 drop.

Now we have M2S2_F2F, M2S1_F2H passing with Cadence sim.
makefile VCS target is not working, getting errors compiling for VCS. It will be good to keep this up to date with Xcelium
I will go ahead close this and work on getting VCS errors fixed separately.


fix(mutations): allow passing a function to useErrorBoundary

:tada: This PR is included in version 4.0.0-alpha.20 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update load-balancer-basic-upgrade-guidance.md

Learn Build status updates of commit de6a733:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/load-balancer/load-balancer-basic-upgrade-guidance.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@mbender-ms
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Update the README.md

The way to compile it and the way to use it must be written in README.md for easy use by anyone. It may be easy to write down in Japanese at private repository at first, then bring them here with English translation.

The page of Spresso ( http://www.bi.cs.titech.ac.jp/spresso/ ) probably be informative what information we have to be shown.


Collect anonymous usage statistics

This brings in the usagestats package developed for ReproZip (ViDA-NYU/reprozip#75).
Fixes #1148

[X] Add usagestats machinery
[ ] Enable/disable from GUI
[ ] Enable/disable from command-line
Add calls everywhere to report feature usage

[ ] Size of vistrail (number of versions, tags, modules)
[X] Package usage
[ ] Environment (Anaconda? Binary? Python version, dependencies available and versions)
[x] Execution time
[ ] Using groups, subworkflows?
[ ] Using parameter explorations, mashups, queries, diffs?

[ ] Link to survey form in popup?

Currently, recursive executions (from groups) get reported too, this is not intended.


Error thrown when local bind address on client is not specified.

Hi, when I created client and ran client.getSession().connect(); Program threw this exception:
[19:52:56:592] [main] [ERROR]: java.lang.IllegalArgumentException: hostname can't be null
[19:52:56:593] [main] [ERROR]: 	at java.base/java.net.InetSocketAddress.checkHost(InetSocketAddress.java:159)
[19:52:56:593] [main] [ERROR]: 	at java.base/java.net.InetSocketAddress.<init>(InetSocketAddress.java:226)
[19:52:56:593] [main] [ERROR]: 	at io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:181)
[19:52:56:593] [main] [ERROR]: 	at io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:178)
[19:52:56:593] [main] [ERROR]: 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
[19:52:56:593] [main] [ERROR]: 	at io.netty.util.internal.SocketUtils.socketAddress(SocketUtils.java:178)
[19:52:56:593] [main] [ERROR]: 	at io.netty.bootstrap.AbstractBootstrap.localAddress(AbstractBootstrap.java:159)
[19:52:56:594] [main] [ERROR]: 	at com.github.steveice10.packetlib.tcp.TcpClientSession$2.run(TcpClientSession.java:145)
[19:52:56:594] [main] [ERROR]: 	at com.github.steveice10.packetlib.tcp.TcpClientSession.connect(TcpClientSession.java:163)

When I investigated it by a bit, I've found out that this is caused by the local bind address being null, as stated in Client constructor:
public Client(String host, int port, PacketProtocol protocol, SessionFactory factory) {
        this(host, port, null, 0, protocol, factory);
}

Am I doing something wrong? If yes, what?

Can you check if this is fixed by https://github.com/Steveice10/PacketLib/commit/09d7774037d3b7eed98b5df4af900a9f5f1dc4ac

Can you check if this is fixed by https://github.com/Steveice10/PacketLib/commit/09d7774037d3b7eed98b5df4af900a9f5f1dc4ac

Seems to work, thanks for your time.

Seems to work, thanks for your time.


[4.0.0-rc08] [iOS] setRate() Value Resets w/ Play + Pause

Describe the Bug
On the latest 4.0.0-rc08 in iOS, the TrackPlayer.setRate() value is not retained through TrackPlayer.play() or TrackPlayer.pause(). This appears to be a regression of #614?
This is not an issue on 4.0.0-rc07. It's also not an issue in Android.
Steps To Reproduce

Start playing audio.
setRate() to any playback speed other than 1.
TrackPlayer.pause().
Observe TrackPlayer.getRate() returns 0.
TrackPlayer.play().
Observe playback speed is normal, and TrackPlayer.getRate() returns 1.

Code To Reproduce
Use the example app. In src/components/PlayPauseButton.tsx, replace onPress with this:
onPress={async () => {
  if (playing) {
      console.log(`pre-pause: ${await TrackPlayer.getRate()}`);
      await TrackPlayer.pause();
      console.log(`post-pause: ${await TrackPlayer.getRate()}`);
  } else {
      console.log(`pre-setRate: ${await TrackPlayer.getRate()}`);
      await TrackPlayer.setRate(2);
      console.log(`pre-play: ${await TrackPlayer.getRate()}`);
      await TrackPlayer.play();
      console.log(`post-play: ${await TrackPlayer.getRate()}`);
  }
}}

The audio will never play at a rate of 2 because both play() and pause() seem to reset the rate to 0.
Replicable on Example App?
Yes.
Environment Info:
Paste the results of npx react-native info
System:
    OS: macOS 13.5.2
    CPU: (10) arm64 Apple M1 Max
    Memory: 2.34 GB / 64.00 GB
    Shell: 5.2.15 - /opt/homebrew/bin/bash
  Binaries:
    Node: 20.5.1 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.0 - /opt/homebrew/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/brian/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, visionOS 1.0, watchOS 10.0
    Android SDK:
      API Levels: 29, 30, 31, 33
      Build Tools: 26.0.2, 26.0.3, 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 31.0.0, 31.0.0, 33.0.0
      System Images: android-29 | Google APIs ARM 64 v8a, android-29 | Google Play ARM 64 v8a, android-30 | Google Play ARM 64 v8a, android-31 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2022.3 AI-223.8836.35.2231.10671973
    Xcode: 15.0/15A5229m - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - /opt/homebrew/opt/openjdk@17/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.12 => 0.71.12
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Paste the exact react-native-track-player version you are using
4.0.0-rc08
Real device? Or simulator?
iOS Simulator.
What OS are you running?
macOS 13.5.2 / iOS 16.4.
How I can Help
Testing possible fixes when available!

I'm having this issue too. Trying to figure out how to fork both packages appropriately and it's proving a bit difficult.
Do I have to get my SwiftAudioEx fork published to the Cocoapods podspec registry to fork it correctly?


Indicate duplicate string

Closes #911
#duplicate tag + Mute

Sample output

This is a great start. I wonder if we should not tag the first instance of the string, only the second+ as duplicate. Otherwise important, but duplicated, strings would all get muted every time.
Do you think this is feasible @ooprathamm?

I was considering rendering count on the console directly ahead of strings, adding a new column for duplicate strings would be excessive. However, appending the count to the strings disrupts other functionalities. Hence, I suggest proceeding with the "#duplicate" tag.

thanks!


Config parameter name updated

CheckForMaintenanceMode.php looks for a config parameter named view-page, not view

Huh, I thought I had merged #4, but it appears not. We might need to consider pulling in both names for this change...

This was fixed in the 1.2.0 release


Size of arrow in Edge:Is there any way I can increase the size of arrow in Edges?

Hey @shvmsrma
You can pass your own markerEndId to the ReactFlow component. The id gets used as the markerEnd of the edge.


Prop "slide" seems not to work

Hey,
I need to change the slide container from "div" to "ul" and the slides from "div" to "li" for accessibility problem, I saw that there is a prop called "slide" from the documentation with this description "Slide container type": it's a string and the default value is "div".
But I cannot get it to work, here's a sandbox:
https://codesandbox.io/p/sandbox/react-slick-playground-forked-fz5ljj?file=%2Findex.js%3A12%2C17
am I missing something?
thx

Hi it is not openeing, the link you provided

i dont have permssion to open it, can you give me the permission


Add handlebars partials support

I needed to separate several entities/resources structures in different files to proper organization and reuse, so I modified my local copy of dummy-json.js to be able to register Handlebars.partials(). I think that it would be nice if it was available to everyone, since it register partials is one of the main features of Handlebars.

Thanks for this! Really nice addition.

You're welcome :)
2015-08-02 7:04 GMT-03:00 Matt Sweetman<EMAIL_ADDRESS>
Thanks for this! Really nice addition.
—
Reply to this email directly or view it on GitHub
https://github.com/webroo/dummy-json/pull/4#issuecomment-127010352.

--
Andrei Ben-Hur
Webdesigner / Front-End Developer
São Paulo - SP
+55 11 9 7461020


fly-plugin keyword

This is good catch: https://github.com/flyjs/fly/pull/47
How about to add the following sentence to the guideline for creating fly-plugin? This make things possible to search awesome plugins easily.

Set fly-plugin to the keyword field in your package.json.

Sure, but what about adding the label in the generator too?

Added to generator-fly.

"label" you mean badge or keyword?

He is saying to recommend users to add this label to their plugins, but I already went ahead and added it into the generator. Plugin authors are strongly advised to use generator-fly to keep everything consistent across plugins READMEs, npm scripts, etc.

get it, thx

@watilde Can we close this?

@bucaran Thanks! Seems nice. Also, we might need to update this description:

Search the registry for new plugins by "fly" keyword.
https://github.com/flyjs/fly/tree/master/docs#plugins

Done.

so, to be clear. which keyword should plugins use? fly or fly-plugin?

fly-plugin

should all existing plugins be updated?

Unfortunately yes.

=(

@iamstarkov You've made an improvement a while ago, but I'm sorry to create a small change..
Well, we might can do closing this as resolved. Thanks all.

@watilde it’s okay.

considering this issue, untill all the plugins will be updated

@watilde Thanks for the hard work with all those PR man. :+1:

Ready to close?

Thanks all!


Replace messages

Resolves #799.
There's a lot of hacks in here to keep the status quo. Working through this has made it abundantly clear that there are way too many side effects in this code, and that the @ldapjs/client and @ldapjs/server packages/rewrites are a must.
That being said, we are much closer to RFC ("spec") compliance with this PR.

Nice work!

Thank you. It was a lot 😅


Update version file URLs

Hi @linuxgurugamer, the version file has some URLs that don't match the current repo name.
Now they're updated.

thakns


chore: allow non-default service account for DP

By default, direct path will only be attempted if the application uses the default service account of the Google Compute Engine that it is running on. This pull request sets the option to allow the use of a non-default service account in combination with direct path. This is necessary both for our tests, that use a separate service account than the default service account of the GCE instance that the test is running on, and for end users who might want to use a separate service account for their application.
The pull request additionally ensures that direct path is only attempted in the following cases:

The credential that is being used is not an instance of NoCredentials. The latter is used for plain text connections to the emulator and to the in-memory mock Spanner server that is used for testing.
The disableDirectPath() option has not been set. This option is used for some specific tests that run against the in-memory Spanner mock server, and that use (test) custom CredentialProvider implementations. The option is also an escape hatch for applications that for whatever reason would want to disable direct path. The option is marked as a @BetaApi, so we have the option of removing it in the future. The method cannot be package-private, as the tests that rely on it live in a different package.

Replaces #2603

thanks a lot for the fix!


Remove options variable in README

This is a useless variable, and is not used anywhere within the example. I don't know why it's there in the first place.

Options are still used in this version, they're passed in client.joinVoiceChannel()

@briantanner You sure? You aren't passing options to the joinVoiceChannel() method, meaning it's not being used.

Indeed, it’s not there, but very sure.


Error: homebrew/dupes was deprecated

Upgrading on Ubuntu 16.04 LTS (ruby 2.3.1p112) shows:
Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
How do I fix this?

brew untap homebrew/dupes

Homebrew/dupes is no longer needed.

Hi Shaun,
Yeah, I tried that, but I got
Error: No available tap homebrew/dupes.
Sorry, I should have said that up front...

My best guess is that you have another tap tapped that refers to a formula in Homebrew/dupes. Try…
grep -irl homebrew/dupes $(brew --repo homebrew/core)/../..

/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/../../homebrew/homebrew-core/Formula/lsh.rb

So
brew untap lsh

?

My copy of lsh.rb does not mention homebrew/dupes, so brew update should resolve this issue. If it doesn't, please report brew config

brew update does not fix it. Here's brew config:
HOMEBREW_VERSION: 1.6.3
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: b67917c837f1fb9c5bf2494cfd89b4eee6802802
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 20b657d442a4e82862410079a8e8f2cb9f8e05b3
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_REPOSITORY: /home/linuxbrew/.linuxbrew/Homebrew
HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar
HOMEBREW_CACHE: /home/paul/.cache/Homebrew
CPU: quad-core 64-bit merom
Homebrew Ruby: 2.3.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby
Clang: N/A
Git: 2.15.1 => /home/linuxbrew/.linuxbrew/bin/git
Curl: 7.47.0 => /usr/bin/curl
Java: N/A
Kernel: Linux 4.4.0-121-generic x86_64 GNU/Linux
OS: Ubuntu 16.04.4 LTS (xenial)
Host glibc: 2.23
/usr/bin/gcc: 5.4.0
glibc: N/A
gcc: N/A
xorg: 20170115

Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 20b657d442a4e82862410079a8e8f2cb9f8e05b3
Core tap last commit: 5 hours ago

This looks fine.
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/../../homebrew/homebrew-core/Formula/lsh.rb

I'd suggest removing this file, and any other file that mentions homebrew/dupes and then run brew update.

You could also try rm -rf /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core and then brew update.

Tried both, to no avail.

What's the output now of…
grep -irl homebrew/dupes $(brew --repo homebrew/core)/../..

Never mind. lsh is a red herring. That hit comes from this comment:
# To avoid bumping into Homebrew/Dupes' OpenSSH:

To try to find old, stale kegs that reference homebrew/dupes, try this…
grep homebrew/dupes $(find $(brew --cellar) -name INSTALL_RECEIPT.json)

brew list --versions libsecret
libsecret 0.18.5_1

ls /home/linuxbrew/.linuxbrew/Cellar/libsecret
0.18.5_1

brew upgrade libsecret
==> Upgrading 1 outdated package, with result:
libsecret 0.18.5_1 -> 0.18.6
Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.

rm -rf /home/linuxbrew.bak/.linuxbrew/Cellar/libsecret/0.18.5_1

Then
brew install libsecret
==> Downloading https://linuxbrew.bintray.com/bottles/libsecret-0.18.6.x86_64_linux.bottle.tar.gz
Already downloaded: /home/paul/.cache/Homebrew/libsecret-0.18.6.x86_64_linux.bottle.tar.gz
==> Pouring libsecret-0.18.6.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/libsecret/0.18.6: 139 files, 5.5MB

And then
brew upgrade

Succeeds! Thanks so much for your patience!

No worries. This is a bug in brew I'd say. It's the (perhaps surprisingly) the first time that it's come up. Glad that we were able to sort it out.

I had the same problem, because of zlib - which already was the latest version. Fortunately
brew reinstall zlib

fixed the issue. Thanks!


Use of column value in alteration or assert result set query block

Is it possible to use column value as below
<result-set>
  <query>
    ...
  </query>
  <alteration>
    <lookup-replace>
      <join>
        <mapping candidate="#0" reference="#0" />
      </join>
      <result-set>
        <query>
          // use original result set [#0] value here as query parameter?
        </query>
      </result-set>
      <replacement identifier="#0" />
    </lookup-replace>
  </alteration>
</result-set>

or
<result-set>
  <query>
    ...
  </query>
  <alteration>
    <merge>
      <result-set>
        <query>
          // use original result set [#0] value here as query parameter?
        </query>
      </result-set>
    </merge>
  </alteration>
</result-set>

or
<assert>
  <equal-to>
    <query>
      // use system-under-test result set [#0] value here as query parameter?
    </query>
  </equal-to>
</assert>

No it's not possible.
How do you see this feature working when the original result-set has more than one row?
PS: the last use-case will be really tricky because assert and system-under-test are executed in parallel.

How do you see this feature working when the original result-set has more than one row?

That's a good question, maybe my use case wasn't a generic enough. Indeed it might be tough to implement as it would need to generate result-set for each row and then merge or so.

PS: the last use-case will be really tricky because assert and system-under-test are executed in parallel.

Ok.

How do you see this feature working when the original result-set has more than one row?

That's a good question, maybe my use case wasn't a generic enough. Indeed it might be tough to implement as it would need to generate result-set for each row and then merge or so.

I'd say that it's a bit too generic :-)
In the first use-case, I see a potential feature. For each row of the original result-set, we run a new query and a few fields of the original result-set are consumed as parameters to retrieve a dynamic result-set. This use-case would be valid in SQL if you haven't access to the tables but just to stored procedures written be someone else. It would also be valid in the case of REST API. Let imagine that your first result-set is just a set of users and you want to enrich this result-set with the help of another API returning the details of a user (but you cannot call it for all the users).
I think that it's a valid feature but people need to understand that it could stress the tested database and it's a row-by-row (slow) process. We could also add a cache.
What do you think?

I'd say that it's a bit too generic :-)

What I meant by that is I haven't thought much about general use case as you pointed out, but focused on what I wanted to achieve. Hence, I didn't ask myself what should happen in a different case or if it would cause performance issues, ambiguity, etc.

Let imagine that your first result-set is just a set of users and you want to enrich this result-set with the help of another API returning the details of a user (but you cannot call it for all the users).

Let's say my case was more or less as described above. I had some details stored in XML file that I've retrieved with <xml-source> and then I had to enrich the result set based on the value found in XML. That's how I came up with the problem. Both SUT and Assert blocks would be almost the same with a slightly different query in <alteration> block.
Eventually, I've implemented a custom instance variable, which I wanted to avoid in the beginning.

I think that it's a valid feature but people need to understand that it could stress the tested database and it's a row-by-row (slow) process. We could also add a cache.

Yes. When you asked about on how it should work it came to my mind instantly.

What do you think?

I'd like to see such a feature, no doubt about that :)

@lukzas just reviewing a bit the backlog and thought about something for the first use-case, I see some early steps ongoing with the newly added support of iterations within a result-set. The result-set in the lookup could be built iteratively but would require #628 to be implemented. After this, I'd probably need to add support of something such as
<result-set>
 <parent />
</result-set>

To avoid to replicate twice the same query. Does it make sense?

@lukzas just reviewing a bit the backlog and thought about something for the first use-case, I see some early steps ongoing with the newly added support of iterations within a result-set. The result-set in the lookup could be built iteratively but would require #628 to be implemented. After this, I'd probably need to add support of something such as
<result-set>
 <parent />
</result-set>

To avoid to replicate twice the same query. Does it make sense?

I've implemented a workaround for my use case at the time of discussion but such a feature makes sense in general. I'd probably use the parent boolean attribute over the tag, but I guess it doesn't matter that much 😉

I've implemented a workaround for my use case at the time of discussion but such a feature makes sense in general. I'd probably use the parent boolean attribute over the tag, but I guess it doesn't matter that much 😉


error if gulp.src has negated paths

Below code throws error:
gulp.src(['src/**/*.html', '!src/**/test/*.html'])
            .pipe(template({
                includes: '<script>....</script>'
            }))
            .pipe(gulp.dest(destination));

Error:
events.js:160
      throw er; // Unhandled 'error' event
      ^
ReferenceError: data is not defined
    at eval (lodash.templateSources[5]:10:4)
    at DestroyableTransform._transform (/Users/.../node_modules/gulp-template/index.js:22:40)
    at DestroyableTransform.Transform._read (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:313:64)
    at writeOrBuffer (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:302:5)
    at DestroyableTransform.Writable.write (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:241:11)
    at write (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)

I don't think it's because of negated files. More likely it's not matching any files then. Try using https://github.com/sindresorhus/gulp-debug to see what files are passing through it.

@sindresorhus sorry about that. It was an issue with one of the files. Closing this.


ENH REQ: Give a title to a queried compartment(s)

When querying an OCI compartment with or without sub-compartments it would be good to have the Title of the OKIT canvass reflect the top level compartment.
If a single compartment the title could be: Compartment  and if a sub compartment query: Compartment  and sub compartments.

Added to v0.14.0


NullReferenceException in Server.Completion

Seeing this one at the top now.
   at Microsoft.Python.LanguageServer.Implementation.Server.Completion(CompletionParams params, CancellationToken cancellationToken)
   at Microsoft.Python.LanguageServer.Implementation.LanguageServer.Completion(JToken token, CancellationToken cancellationToken)

This should be fixed in #837 (IC exception)

The latest version has that merged, so this is some other nullref. Not really sure what it could be, given it's supposedly happening in that function directly.


embark test error with last release

Only with last version 2.5.x embark test fails with an error:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test
In the embarkSpec.deployAll(contractsConfig, done) function the callback done doesn't run.

you need to add this.timeout(0); to your test like in here, alternatively use mocha test --no-timeouts.
I'll try to fix this in the next patch

Thanks, solved!


Everything is marked as cold?

We did today's in my server (answer = technique) but for some reason it was marking everything as either cold or in the top 1000
I'm fairly certain that something with a similarity of 29-31 should be higher than "cold" given that 293/1000 was 32.65....

I'm pretty sure that's normal semantle behavior, guesses are considered "warm" once you get into the top 1000, you can compare the results on https://semantle.com/ ^^

hmm, I get tepid at similar ranges in semantle but maybe not
i'll see if i can replicate behavior being different

Oh you're right, there is a "(tepid)" result! I don't remember getting it before, maybe it was added recently,,


L.Linear is preferable to F.Linear in LSTM document.

I fixed the LSTM document.
L.Linear is preferable to F.Linear because it has parameters (weight and bias).

Thanks!
LGTM.


Poor performance with read_csv and many thousands of s3 files

Use case
I'm trying to produce some rollups of cloudfront access log data. Cloudfront produces many thousands of csv files, usually very small (kilobytes). An example month of a relatively low usage cloudfront distribution is 30k files. It can be 100k+.
Rolling these up into parquet on a monthly basis is nice as it will make downstream operations much more efficient (interacting with thousands upon thousands of files on s3 adds a lot of overhead).
If listing millions of s3 objects didn't take forever I'd probably just create one giant parquet
Issue
Something takes 15 minutes after calling to_parquet before a task graph appears on the scheduler.
I initially started with using df.repartition(partition_size="50mb"), I dropped it as I thought it might be the issue but it's not.
I did notice that s3fs had some poor performance when using a glob to get the monthly files (https://github.com/fsspec/s3fs/issues/733) . However fixing that it now takes just a few seconds to generate a list of 30k files to pass to read_csv. Then nothing happens. CPU/Network/Disk all remain low on my laptop, and on the remote scheduler.
When things finally start moving the resulting task graph is only about 20k tasks, nothing fancy.
My intuition here is there's some very slow s3 api operation happening involving every file. I did some surface level poking into the read_csv code and did not get deep enough to find out what.  I suspect enabling logging for aiohttp might reveal a lot of http calls to s3 if that is the case.
Code here
df = dd.read_csv(
                    files,
                    sep="\t",
                    names=list(dtypes.keys()),
                    dtype=dtypes,
                    comment="#",
                    on_bad_lines="skip",
                    compression="gzip",
                    sample=False,
                    blocksize=None,
                )
df.to_parquet(output_prefix, compression="gzip")

Given that I need to have a cluster up, whatever is happening is quite painful. The actual processing is done in seconds, but the cluster is up for the full 15 minutes burning $$ while the client seems to do something very mysterious to me as an average user.
Example cluster here https://cloud.coiled.io/clusters/210090/overview?account=shughes-uk . Only 4% of the uptime was actually spent doing anything relevant.

I strongly suspect, but haven't tested, that
https://github.com/dask/dask/blob/e9845aadc7c32078e55354b61f5626ac759e8b28/dask/bytes/core.py#LL109C23-L109C27
is responsible.
Just from reading code, this appears to be the only per-file remote call that is executed on the client. Apart from this being potentially inherently slow, I can also easily see us being rate limited while doing so (maybe this is hidden in retries or smth)

I did see that, but im setting blocksize=None so would not enter that code section i think?

I stumbled over https://github.com/dask/dask/issues/10275 that affects glob file patterns with the root cause being https://github.com/fsspec/filesystem_spec/issues/1261
Maybe fsspec is taking a wrong turn in your example as well even though you are not using a globbing pattern. I recommend creating a profile once to see where we're loosing the time.

@shughes-uk if possible, could you try setting storage_options? If you have a S3FileSystem you could reuse it:
s3: S3FileSystem
dd.read_csv(..., storage_options=s3.storage_options)

Trying various things out, I get a tremendous delay if I don't set that; which hints it's happening in fsspec's get_fs_token_paths


Show cost data over time

As outlined in the readme, show cost data split over time using the API's given time series chunks:
|          | Grey   | Green  |
-----------|--------|--------|
|Aug  2018 |  40%   |  60%   |
|Sept 2018 |  40%   |  60%   |
|Oct  2018 |  40%   |  60%   |
|Nov  2018 |  40%   |  60%   |
|Dec  2018 |  40%   |  60%   |

rather than only
|          | Grey   | Green  |
-----------|--------|--------|
|Total     |  40%   |  60%   |

Changes are needed in two places to do this:

note timestamp when aggregating data by region here
respect timestamp when summing up total here

cc @mrchrisadams

Sounds good Franka 👍


KAFKA-16938: non-dynamic props gets corrupted due to circular reference between DynamicBrokerConfig and DynamicConfig.

The circular reference between DynamicBrokerConfig and DynamicConfig results in unexpected outcomes when initializing nonDynamicProps. The solution is to delegate the initialization responsibility to DynamicConfig to avoid the circular reference.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mimaison Could you please take a look at this PR? I noticed this issue in testing dynamic configs, and it seems that was introduced by #16133 :_

Hi @chia7712, I have do a little changes based on comment, PTAL 🐧

In https://github.com/apache/kafka/pull/16133 I was trying to break this cyclic dependency and also remove the KafkaConfig dependency of one of these classes but they are really badly entangled. I think your change is the best we can do for now.In https://github.com/apache/kafka/pull/16133 I was trying to break this cyclic dependency and also remove the KafkaConfig dependency of one of these classes but they are really badly entangled. I think your change is the best we can do for now.

I check the commit history before creating KAFKA-16938, and then ... the reviewer list shows my name :smiling_face_with_tear:

discuss with @frankvicky offline. It seems some tests get flaky with this fix. we will go back here later.
BTW, #16133 is in trunk only so this issue won't hurt 3.7.1 and 3.8.0


static.realm.io SSL certificate expired

How frequently does the bug occur?
All the time
Description
Could you please update static.realm.io certificate, so tuist/carthage would be able to build my project?
Stacktrace & log output
Downloading dependency: 11.14.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.14.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.14.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

### Can you reproduce the bug?

Yes, always

### Reproduction Steps

Try to build a tuist project with realm-swift as external dependency

`.github(path: "realm/realm-swift", requirement: .exact("10.25.1")),`

### Version

10.25.1

### What SDK flavour are you using?

Local Database only

### Are you using encryption?

Yes, using encryption

### Platform OS and version(s)

iOS

### Build environment

Xcode version: ...
Dependency manager and version: ...

Hey zykis, apologies for that. We're having the SRE team look into it.

Is there any information considering the issue or is there a way to connect the SRE team?

The SRE team is looking at updating the certificate but it'll likely be a couple of hours before they resolve the issue.

Thank you :)

Ah looks like we are having this issue as well. Any updates on a fix?
Downloading dependency: 11.3.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.3.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.3.0.tar.xz
	curl: (35) error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure
command failed, error: pod install failed: exit status 1

Hi!
The same problem.
`[!] /bin/bash -c
set -e
sh scripts/setup-cocoapods.sh
Downloading dependency: 12.1.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.1.0.tar.xz
Downloading core failed:
https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.1.0.tar.xz
curl: (35) error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure
`

Hey folks, apologies again for the disruption. It should all be good. I'm closing the issue, but if anyone continues to experience problems downloading the binaries, feel free to comment/reopen.

Great! It upgrades now!

Issue is not solved yet, I'm facing same issue

Me too, I'm facing same issue
[!] /bin/bash -c
set -e
sh scripts/setup-cocoapods.sh

Downloading dependency: 12.11.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

@nirinchev can you get someone to cycle the cert?

hit this too
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

Downloading dependency: 11.3.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.3.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.3.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

The SRE team is looking at updating the certificate but it'll likely be a couple of hours before they resolve the issue.

Failing again

Me too
Downloading dependency: 12.11.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz Downloading core failed: 	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz 	curl: (60) SSL certificate problem: certificate has expired More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.

It fails now.
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

Downloading dependency: 11.6.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.6.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v11.6.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html`

I am also facing the same issue
Installing Realm (10.32.3)

[!] /bin/bash -c
set -e
sh scripts/setup-cocoapods.sh

Downloading dependency: 12.11.0 from https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz
Downloading core failed:
	https://static.realm.io/downloads/core/realm-monorepo-xcframework-v12.11.0.tar.xz
	curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

We are very sorry about this and are looking into fixing this asap.

Hey, please re-open this issue / add an alert to save the panic that many devs will encounter in the meantime 🙏🏻❤

@royherma You can another thread here: https://github.com/realm/realm-swift/issues/8092

Getting same error on M1 Mac.

A workaround for React Native apps is to disable node certificate check using:
NODE_TLS_REJECT_UNAUTHORIZED=0 yarn or NODE_TLS_REJECT_UNAUTHORIZED=0 npm install


Missing definition in Getting Started With TensorFlow guide

System information

macOS 10.12.5
installed from binary
Tensorflow v1.2.0-1751-g43a819e13 1.2.1
Python 3.6.1
Bazel 0.5.2-homebrew

Describe the problem
The custom model section of the "Getting Started With TensorFlow" guide doesn't define "eval_input_fn".
I ran across the error when I copied the code line by line and ran it on my machine. I fixed it by adding the following definition after "input_fn" is defined:
eval_input_fn = tf.contrib.learn.io.numpy_input_fn({"x":x_eval}, y_eval,
                                                   4, num_epochs = 1000);

Source code / logs
Code in Guide:
import numpy as np
import tensorflow as tf
# Declare list of features, we only have one real-valued feature
def model(features, labels, mode):
  # Build a linear model and predict values
  W = tf.get_variable("W", [1], dtype=tf.float64)
  b = tf.get_variable("b", [1], dtype=tf.float64)
  y = W*features['x'] + b
  # Loss sub-graph
  loss = tf.reduce_sum(tf.square(y - labels))
  # Training sub-graph
  global_step = tf.train.get_global_step()
  optimizer = tf.train.GradientDescentOptimizer(0.01)
  train = tf.group(optimizer.minimize(loss),
                   tf.assign_add(global_step, 1))
  # ModelFnOps connects subgraphs we built to the
  # appropriate functionality.
  return tf.contrib.learn.ModelFnOps(
      mode=mode, predictions=y,
      loss=loss,
      train_op=train)

estimator = tf.contrib.learn.Estimator(model_fn=model)
# define our data sets
x_train = np.array([1., 2., 3., 4.])
y_train = np.array([0., -1., -2., -3.])
x_eval = np.array([2., 5., 8., 1.])
y_eval = np.array([-1.01, -4.1, -7, 0.])
input_fn = tf.contrib.learn.io.numpy_input_fn({"x": x_train}, y_train, 4, num_epochs=1000)

# WHERE I ADDED THE DEFINITION

# train
estimator.fit(input_fn=input_fn, steps=1000)
# Here we evaluate how well our model did.
train_loss = estimator.evaluate(input_fn=input_fn)
eval_loss = estimator.evaluate(input_fn=eval_input_fn)
print("train loss: %r"% train_loss)
print("eval loss: %r"% eval_loss)

Error:
Traceback (most recent call last):
  File "custom_model.py", line 37, in <module>
    eval_loss = estimator.evaluate(input_fn=eval_input_fn);
NameError: name 'eval_input_fn' is not defined

This is a duplicate of #11123 but I think the information is probably relevant and useful for that issue too.

As #11123 is closed and I see the fix also on https://www.tensorflow.org/get_started/get_started I guess this issue can be closed.

Yeah, it can, thanks.


do not start workers if no activities or workflows are registered

What changed?
Worker is not started if no workflows or activities are registered. We will print info message instead.

Why?
To reduce resource wasting

How did you test it?
Unit tests

Potential risks

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

Pull Request Test Coverage Report for Build 0e1babe4-22c3-46d5-861f-f247624f76fb

27 of 30 (90.0%)  changed or added relevant lines in 1 file are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.04%) to 74.661%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/internal_worker.go
27
30
90.0%

Files with Coverage Reduction
New Missed Lines
%

internal/internal_worker.go
2
85.73%

internal/internal_task_pollers.go
11
71.37%

Totals

Change from base Build 484df714-398f-46e2-9124-c181a0e5094d:
-0.04%

Covered Lines:
9370

Relevant Lines:
12550

💛  - Coveralls


Failed Test PR #11 - Error after restarting amm_arb strategy

Summary and Screenshots
Getting this error after restarting the amm_arb strategy. So far this issue only happens when running on cloud, tested locally but didn't get the same issue.

2023-04-03 17:58:47,004 - 415408 - GatewayEVMAMM - ERROR - 'InFlightOrder' object has no attribute 'is_approval_request'
Traceback (most recent call last):
  File "/home/ubuntu/hbot-ca-dev-zigzag/hummingbot/connector/gateway/amm/gateway_evm_amm.py", line 913, in _status_polling_loop
    self.update_token_approval_status(self.approval_orders),
  File "/home/ubuntu/hbot-ca-dev-zigzag/hummingbot/connector/gateway/amm/gateway_evm_amm.py", line 166, in approval_orders
    return [
  File "/home/ubuntu/hbot-ca-dev-zigzag/hummingbot/connector/gateway/amm/gateway_evm_amm.py", line 169, in <listcomp>
    if approval_order.is_approval_request
AttributeError: 'InFlightOrder' object has no attribute 'is_approval_request'

Steps To Reproduce

Run the client and generate gateway certs
Run gateway
Create and run an amm_arb strategy using zigzag and another connector of your choice
Restart the strategy (this is where the issue first happened)

Test Result Comparison
N/A, new connector
Attachments
zigzag_amm.zip

@rxlxrxsx The fix for this is on https://github.com/hummingbot/hummingbot/pull/6202.
Pls test with the brach in that pr.

Also the give a little more context, the error initially occurred when the amm strategy is restarted when the gateway side of the strategy is sent by yet to be confirm as filled(.i.e while it still remains in the in_flight order tracker)

Tested and confirmed that the issue were no longer showing.


enhanced ui fixed footer and header ui and fix error 404 page fix for…

… deployment with no merge conflicts
final build successful

#31  done


Move ref mon to online and add to bootstrax

What does the code in this PR do / what does it improve?
Adds ref mon plugin to bootstrax.

coverage: 91.591% (+0.02%) from 91.571%
when pulling d042ce3db6ea8de2fae0579bf1be4b84f8b44b73 on fix_ref_mon_nv_bootstrax
into c7916fc5b2edef131f758310210fb11a42397a4f on master.

@mflierm tested the PR on the ebs and they work. We can merge once test are done.


Vagrant provider kubectl proxy service returning 404

I have been following the instructions here: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/ui.md to try to explore the kube UI.
by executing:
cluster/kubectl.sh proxy -www=$PWD/www
I get the following which shows it successfully started:
current-context: "vagrant"
Running: cluster/../cluster/vagrant/../../_output/dockerized/bin/darwin/amd64/kubectl --kubeconfig=/Users/uruddarraju/.kubernetes_vagrant_kubeconfig proxy -www=/Users/uruddarraju/go/src/github.com/GoogleCloudPlatform/kubernetes/www
I0219 10:14:26.049033   21299 proxy.go:36] Starting to serve on localhost:8001

When I try to access the page http://localhost:8001/
I get a 404: 404 page not found

@uruddarraju, could you try running cluster/kubectl.sh proxy --www=$PWD/www?
I believe -www is a typo of --www

Also, try accessing http://localhost:8001/static instead.

thanks


fix marlowe playground build on some OSX machines

Seems like a trap that the other version isn't patched. Can you open an upstream issue if there isn't one?


please provide comparison to Frege (or merge?)

It seems that your project is very similar in scope to frege-lang.org. Are you sure it would not be better to contribute to Frege?

Hi Thomas,
I'll share my 2cts here, I don't know if those arguments are similar to @rahulmutt's one, so those remarks are totally personal, but I believe that in essence we both share the same vision.
First, Frege is not Haskell, or at least not GHC. I particularly appreciate the effort made recently in Frege in order to reduce the difference in term of syntax, etc... with Haskell, but still it is a completely different project from GHC and no code is shared.
The goal here is to hook into the GHC pipeline, the initial approach @rahulmutt took is by a doing STG to JVM bytecode transformation, but by levering GHC architecture we keep the door open to later try more sophisticated transformation (for example by starting directly from Core, and inline highly specialized interpreter, an approach radically different from Frege which could bring much better overall run-time performance).
Then even if Frege would have taken that approach about hooking into GHC, I'm still concerned by a some design choices, I'll enumerate here the two major ones (please free to correct me if I say something wrong, maybe things have changed since last time I dived into it):

No generation of byte code, instead it produce java source (which is arguably much less powerful)
No FFI, all primitve are java types. This totally prevent usage of optimized encoding.

GHCVM will be able to generate well optimized bytecode, but also thanks to FFI to find innovative and optimized encoding for data type, I think those are key to achieve great performance.
Even though the scope seems similar, based on those fundamental differences, I don't see how the works being done here could be merged with Frege (or vice-versa).
Both project have their own values and are facing different challenges, of course there is some overlap, and we will surely try to benefits from Frege/Scala/Clojure hackers experience here!
Hope that makes sense!

Also, GHCVM aim -in mid/long term- to target the CLR as well, see more details in https://github.com/rahulmutt/ghcvm/issues/1 I don't think Frege have any plan like that (nor a design suited for this purpose in my opinon).

@aloiscochard  So this project is similar to GHCJS where ELM compares to Frege in that space, I suppose.

@aloiscochard has pretty much summed up all that I wanted to say.
I'll elaborate a bit on the "No generation of byte code" bit. For the most part, you can almost generate any pattern of JVM bytecode using the Java language itself and it's easier to generate Java source code because javac will ensure that the bytecode it generates is valid. But this changed with the JVM 7 release which included the  'invokedynamic' instruction. This instruction cannot be generated by any Java source code so if you want to use that bytecode instruction, you have to emit the bytecodes yourself.
This is why I am generating bytecodes even though the first version of GHCVM will not be using the 'invokedynamic' instruction. The plan is to use it in the future and having to rewrite the code generator to generate bytecode instead of Java source would probably consume a lot of time.
Moreover, the Java 8 release introduced lambdas which do generate the invokedynamic instruction, but you lose all the power of invokedynamic since you're confined to a single bootstrap method (the one that decides the CallSite for lambdas).
@xavier83 Yeah exactly. The reason it was named 'GHCVM' was to emphasize that a huge chunk of GHC is being used, just like in GHCJS.

@xavier83 I see the analogy but comparing Elm with Frege is misleading for people that know Elm but not Frege. As a Haskell, Frege has typeclasses, lazy evaluation by default, the typical standard library, etc. You can pick up any Haskell book and use it for Frege with only minimal, obvious changes.

@Dierk hmm, thought so too, perhaps purescript comes close.

@xavier83 yes, PureScript comes closer but still: not lazy - and this rules out the typical solution approach that one applies in Haskell using infinite data structures. It makes total sense in the JS world where your functions are predominantly event callbacks, though. Useful but different.

What are your goals for mixed language programming and interoperability on the JVM? One of Frege's strengths (from my point of view) is that it offers a straightforward and well-documented interface to other JVM languages, which means you can introduce a Haskell into your existing JVM-based world and use it alongside your current tools at work (if you're a JVM shop).
Re: invokedynamic -- I wonder how much benefit you would get from it anyway? The Clojure folks have reviewed it in depth and decided it doesn't bring anything to the table (Clojure compiles down to static calls, for the most part, as does Frege by the way). Indy makes sense for languages like JRuby but perhaps not for FP languages?

Check out https://gist.github.com/rahulmutt/355505bce57c7c2cffd7d4cf5edddad4 where I discuss how to call Java from Haskell and call Haskell from Java. I need to update the README.md with all the documentation I've been doing. It's quite out of date.

I'm not sure how much benefit invokedynamic will have, but one thought that comes to mind is the handling of thunks in a memory-efficient way, since evaluation of thunks is fairly dynamic (it goes through different states).

Thank you @rahulmutt -- I'll have to spend some time digesting that. I appreciate the detail!

No problem @seancorfield. Once you finish reading it, I have a follow-up question:

Would it be helpful to include 'foreign import/export clojure' and 'foreign import/export scala' as extra calling conventions that automatically do whatever is required to call Clojure/Scala functions within Haskell?

I think this would be a great step in integrating GHCVM in existing Scala/Clojure projects without pain.

I can answer your follow-up question without in-depth reading of the interop proposal: Clojure can generate a calling interface that looks pretty much indistinguishable from Java so having a Clojure-specific FFI doesn't really make sense, unless you wanted to natively support the dynamic Clojure runtime API: https://clojure.github.io/clojure/javadoc/clojure/java/api/package-summary.html (and I'm not sure that's really worthwhile given most Clojurians would expose a more Java-native API in their libraries if they wanted them to interoperate with Java or other JVM languages).
My understanding is that Scala is a little bit more work to interoperate with due mostly to name munging but it's now been about five years since I did any serious work with Scala so I'll defer to folks with more recent experience there.

@rahulmutt In the above gist:
instance (Extends a b, Implements b c) => Implements b c

Is that a typo?  b implements c if b implements c

Thanks for the catch. I ended up removing the Implements typeclass in the updated spec.

Closing this as the FAQ provides a concise answer.

https://github.com/typelead/eta/blob/master/docs/source/faq.rst

Besides the technical details of integrating with the GHC tools, is it fair to say, at a language level, that Frege is an implementation of Haskell '98/'10 on the JVM whereas Eta is an implementation of GHC (ie Haskell + GHC-specific extensions) on the JVM?


docs(spelling): fix typo in source comment

"symbolic" was misspelled. This wasn't properly fixed in #221 (generating docs used to revert the fix).

Merging this, since it's a trivial fix.


Initial PR for Istio add-on

This PR implements two new add-ons, one for Istio Base (which installs istio's CRDs) and the other for Istio Control Plane.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@edgarsilva948 following up on my previous comment, please take a look at the few comments when you get a chance,

Looks great overall! A few minor comments. We need to test it before we can merge. Do you see any issue if it is added to the test blueprint [here]9https://github.com/aws-quickstart/cdk-eks-blueprints/blob/main/examples/blueprint-construct/index.ts) so that I can kick off end2end tests?

I don't see any issue.

/do-e2e-tests

/do-e2e-tests


Creating private channels not supported?

With Business Standard and Teams Exploratory licenses applied, users are not able to create private meetings. This article should say that somewhere.
Why would the Exploratory license disable features that should be enabled due to the Business Standard license. Seems broken to me.

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

ID: 28550025-fde2-9a83-a826-f7e3ccb313db
Version Independent ID: 2a304432-b10c-220f-3453-e19e7a155c67
Content: Manage the Microsoft Teams Exploratory experience - Microsoft Teams
Content Source: Teams/teams-exploratory.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

@jonwbstr Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

I have no desire to look at this further. We removed the exploratory license and resolved the issue. if you choose to leave the documentation confusing in this area maybe people will look at the issue tracker and see this post. The exploratory license and the full license can exist for the same user and the admin interface does a terrible job of indicating which license the teams feature is being applied from, or indicate that the features for "Teams" is different depending on which license the feature is enabled by.


Does this only work on UNIX based OS

I am running into problems with this script finding my python on windows. Does this script only work in UNIX based OS?

I haven't personally tested it on Windows, but I believe it should still work. Others on Windows haven't been reporting any issues lately.
How are you installing it?

@jchilleo I don't see why it wouldn't - installing Python and getting the environment setup might be painful compared to a *nix based OS though.
Awesome project though @ownaginatious

I followed the readme for install instructions. However I switched to my mac and tried it there and it worked flawlessly.
Not sure what is happening on the windows side, except that I get an error for not finding python. When I run a different script it works perfectly fine :/

@jchilleo Just a random guess, but it depends where you install Python on Windows as well as which version and setting your environment variables up correctly.  I've always found it to be painful :/
Glad it's working for you!

I'll try checking things out on Windows later to see if I can figure it out and improve the installing instructions. Thanks for bringing the issue up!

Seems like other people have gotten this working on Windows at this point, so I'm going to close the issue.


Korean Air A380

Korean Air A380.
sorry if this is a bit low quality,this is my first A380 livery and i was trying out a new program.

Nosatalgia intensifies

We have A380 maps now?

No, we use the air france texture, because that is enough white.
https://user-images.githubusercontent.com/103064103/192161158-e8d238c9-3ea8-4a11-9455-6934e11a0788.png

oh! So that's how they make liveries for it,okay

it lookes good


Budget App

Hello,
In this project, I;
Created the Splash screen
A simple page with the name of your app, and links to the sign-up and log-in pages.
Created the Sign up and log-in pages
The user is able to register in the app with full name, email, and password (all mandatory).
The user can log into the app using email and password.
If the user is not logged in, they can't access pages that require the user to be logged in.
Created the Home page (categories page)
When the user logs in, they are presented with the categories page.
For each category, the user can see their name, icon, and the total amount of all the transactions that belong to that category.
When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.
A button "add a new category" at the bottom brings the user to the page to create a new category.
Created Transactions page
The list of transactions is presented for a given category, ordered by the most recent.
At the top of the page, the user could see the total amount for the category (the sum of all of the amounts of the transactions in that category).
A button "add a new transaction" at the bottom brings the user to the page to create a new transaction.
When the user clicks on the "Back" button (<), the user navigates to the home page.
Created "Add a new category" page
The user fills out a form to create a new category, indicating their name and icon (both mandatory).
The user clicks (or taps) the "Save" button to create the new category, and is taken to the home page on success.
When the user clicks on the "Back" button (<), the user navigates to the home page.
"Created Add a new transaction" page
The user fills out a form to create a new transaction with:
name (mandatory)
amount (mandatory)
categories (mandatory at least one)
The user clicks (or taps) the "Save" button to create the new transaction, and is taken to the transactions page for that category.
When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.
Followed the project database schema.
Used Postgres as your database.
Used devise for authentication.
Validated all user input to make sure that anyone with bad intentions cannot compromise the app.
Created unit and integration tests for all the most important components.
Fixed linter errors.
Deployed the project.
Looking forward to hearing from you.
Thanks.

STATUS: APPROVED ✔
Hi @jonas-45 ,
In my opinion, your project is ready for the presentation!  There is nothing else to say other than... it's time to merge it :shipit:

Good luck! 🎉
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.


Configure this CMake to be able to edit the OpenSSL code in Visual Studio

Hi,
This is not an issue as your CMake perfectly works.
I'm integrating a new signature algorithm into OpenSSL. I already did it for OpenSSL 1.1.1 using the openssl-cmake project of janbar. However, his project doesn't support OpenSSL 3 and I need to move to this version.
I thought I could use yours, but as it pulls the OpenSSL code from the original openssl git it produces a Visual Studio solution that doesn't allow editing the code!
I pulled the code of OpenSSL from the official git. Is there a way to integrate your CMake with the local code to create a Visual Studio solution where the code of OpenSSL can be edited?
Thanks for your help.

@oliviervibe Since this repo is CMake scripts for building OpenSSL, OpenSSL sources aren't included in the generated project. I couldn't do that because OpenSSL's build system depends heavily on perl scripts. The generated project is just for apps/main.cpp, not the OpenSSL source itself. You need to use another editor such as vscode.
For building local OpenSSL sources, you need to change the following code to locate your own source.
https://github.com/jimmy-park/openssl-cmake/blob/6719ec98b17e4d4ec7b9795ca5c18f99d89ab14f/CMakeLists.txt#L62-L75
If you have forked OpenSSL repo, changing URL is enough. If not, remove CPMAddPackage() and change SOURCE_DIR/BINARY_DIR.

Thanks for your quick answer!
I saw your comment in the github of janbar regarding OpenSSL 3.0. So I'll try to do what you said and do it with VScode. My current version of OpenSSL with our crypto is based on the OpenSSL with cmake of janbar, and I have both a Linux and a Windows version as we currently call our crypto from a shared library.

@oliviervibe Thanks for understanding!


feat: update grpc listen address on scheduler and cdn

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Update grpc listen address on scheduler and cdn.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1205 (4f15034) into main (b726ad1) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1205   +/-   ##
=======================================
  Coverage   46.45%   46.45%
=======================================
  Files         133      133
  Lines       10523    10523
=======================================
  Hits         4888     4888
  Misses       5081     5081
  Partials      554      554

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
46.45% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cdn/rpcserver/rpcserver.go
60.60% <0.00%> (ø)


Update design of the corporate information index page

Description
This updates the design of the corporate information pages index page based on the feedback in this PR.
https://github.com/alphagov/whitehall/pull/7376#issuecomment-1470106151

And the consultation response show page based on this feedback
https://github.com/alphagov/whitehall/pull/7399#issuecomment-1470125505

Trello card
https://trello.com/c/62Jqs595/8-move-consultation-response-show-page-to-the-govuk-design-system
https://trello.com/c/p6vopzC9/22-org-corporate-information-index-page
https://trello.com/c/qL6X06aL/44-worldwide-org-corporate-information-page
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

@davidgisbey Looks great!

Left some comments, overall - looks great


python import error

this is my lib.rs file:
use pyo3::wrap_pyfunction;

/// Formats the sum of two numbers as string.
#[pyfunction]
fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
    Ok((a + b).to_string())
}

/// A Python module implemented in Rust.
#[pymodule]
fn string_sum(py: Python, m: &PyModule) -> PyResult<()> {
    m.add_function(wrap_pyfunction!(sum_as_string, m)?)?;

    Ok(())
}

and this is my Cargo.toml file:
name = "string_sum"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "string_sum"
crate-type = ["cdylib"]

[dependencies.pyo3]
version = "0.12.3"
features = ["extension-module"]

[dependencies]

and I am getting this error :
ImportError: dynamic module does not define module export function (PyInit_libstring_sum)
How  should I fix it ?

This looks like two issues:

You're running import libstring_sum instead of libstring_sum.
You did not copy or rename the output library to string_sum, as per the README:

While developing, you can symlink (or copy) and rename the shared library from the target folder: On MacOS, rename libstring_sum.dylib to string_sum.so, on Windows libstring_sum.dll to string_sum.pyd, and on Linux libstring_sum.so to string_sum.so. Then open a Python shell in the same folder and you'll be able to import string_sum.

I suggest using maturin to handle build your project in a more user-friendly way. I plan to update the README soon to suggest this; the maturin README already has good instructions on how to use it.

I also ran into this issue.
The thing to keep in mind is that the module name (function name) you declare here:
#[pymodule]
fn string_sum(py: Python, m: &PyModule) -> PyResult<()> {
...
}

and the filename of your module must match.
If my rust function name was called my_mod instead, my resulting filename must be my_mod.so.
Someone more familiar with the project - please confirm.
Is there a way to not have this dependency?
If not, it would be nice if the documentation made this clearer.


[BUG] Javascript error while launching

First time install the app, I get this when I launch the app
OS: Windows 11, I have iTunes installed if it has something to do with it
Version: 2.4.1 latest
I also did a clean install following the wiki, still no luck :(

Logs: https://katb.in/kat10021

Update: I just installed 2.5.0 [BETA], it seems working, I think its because of windows 11

Its not windows, it was a bug with 2.4.1


Guidance for running as AWS Lambda

Looking at the implementation, it does feel like it can be deployed anywhere, however, the S3 read/writes might be tricky – especially for large files, as Lambdas are essentially short-lived.
Do you folks have any guidance/tips on how to effectively run this on AWS Lambda?

Hi. Lambda is something that we didn't explore yet. It would be nice to provide a guide, though.

It's probably nicer to just run this locally on each developer's machine and proxy to S3.  That way you don't have to worry as much about security vulnerabilities in the server code and compute costs.

I've managed to run this on Lambda with a minimal set of changes without issues, so closing this.

It's probably nicer to just run this locally on each developer's machine and proxy to S3. That way you don't have to worry as much about security vulnerabilities in the server code and compute costs.

Yes, but its hard to do this across teams – difficult to enforce a long-running process as a prerequisite for most dev environments, especially when most of them prefer their own systems/OSes/platforms/workflows.

Ah, we have a docker-compose that runs services that people need for dev (mongodb, redis, and this), so it works for us anyway.

I've managed to run this on Lambda with a minimal set of changes without issues, so closing this.

Would you mind share the steps with us so we can add them to the README?

I got it to run on lambda/apigw and I can hit it the api just fine but for some reason the turbo client doesn't love it. I don't get any errors but the turbo client gives me cache misses despite being able to curl and get the results.
More investigation is needed
Here's the handler code
import awsLambdaFastify from '@fastify/aws-lambda'
import { createApp } from "turborepo-remote-cache/build/app";

const app = createApp({
  trustProxy: true,
})
const proxy = awsLambdaFastify(app)
export const handler = proxy

For now I just wrote a script that starts the server and executes turbo locally
#!/usr/bin/env node

const { spawn } = require('child_process');
const { generateBinPath } = require('turbo/node-platform');
const AWS = require('aws-sdk');

async function setConfig() {
  process.env.TURBO_TOKEN = 'SUPER_SECRET_VARIABLE';
  process.env.TURBO_API = 'http://localhost:3000';
  process.env.TURBO_TEAMID = 'team_ramrod;
  process.env.STORAGE_PROVIDER = 's3';
  process.env.STORAGE_PATH = 'fluent-turborepo-cache';
}

async function checkAwsConnection() {
  var sts = new AWS.STS();
  await sts.getCallerIdentity({}).promise();
}

async function exec() {
  let useRemoteCache = false;
  try {
    await checkAwsConnection();
    console.log('AWS Connection Successful using remote cache');
    useRemoteCache = true;
    await setConfig();
  } catch (e) {
    console.log(process.env);
    console.log(e);
    console.log('AWS connection could not be established using local cache');
  }

  if (useRemoteCache) {
    const { createApp } = require('turborepo-remote-cache/build/app');
    const turboCacheServer = createApp({ trustProxy: true, logger: undefined });
    try {
      await turboCacheServer.listen(3000, '<IP_ADDRESS>');
    } catch (err) {
      turboCacheServer.log.error(err);
      process.exit(1);
    }
  }

  const turbo = spawn(generateBinPath(), process.argv.slice(2), { stdio: 'inherit' });

  turbo.on('close', (code) => {
    process.exit(code);
  });
}

exec();

If you pass the option -vv to turbo when you run it, you can get some extra debug logs that might help.

@dobesv Yeah, -vv and -vvv show the GET and PUT operations working but it ultimately ends up in a cache miss  🤷♂ .
I can see the items in s3. I can hit the lambda endpoint and GET them... but the turbo cache client always determines it a cache miss...
Same s3 bucket with a local server works no problem

Hmm strange, must be something about the response that it is getting that isn't right.  Maybe you could run wireshark or use a logging HTTP proxy and take a look at the actual HTTP responses and see if there's something weird going on there.  Maybe your lambda is not returning things in the format you think.


Notes Addon not working !

Hi, i installed the notes addon to my storybook and followed the doc steps : modify addon.js then modify config.js then modify stories using the parameter {notes : .......}. Unfortunately, this is not working and i get an 'Expecting a valid React element from the story [nameOfTheStory]' . What did i do wrong?

Oh sorry ! I didn,t see this isuue : #3442

No problem, glad you could find a solution in another issue. If you keep having troubles with it, feel free to open a new issue or reopen the one that you referenced. I'm closing this issue for now as your original problem is technically solved.


can't download with Vid_ID

how do I fix this error?
[Turbo Mode]
If download slows down, try restarting the program

To download multiple videos at once, separate Vid_ID with space

Enter Vid_ID: XEzYNcHnd

Getting Vid_ID text

Traceback (most recent call last):
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 60, in get_turbo_download
    ) = get_data(vid_ID_text)
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 503, in get_data
    json = loads(decoded_atob)
  File "/usr/lib/python3.10/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 742, in <module>
    main()
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 722, in main
    turbo_download()
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 669, in turbo_download
    get_turbo_download(vid_ID_text)
  File "/content/Hydrax-Abyss.to-DownloadHelper-Python/Hydrax-Abyss.to-DownloadHelper.py", line 209, in get_turbo_download
    {bcolors.FAIL}Error downloading: {vid_ID} - get_turbo_download
UnboundLocalError: local variable 'vid_ID' referenced before assignment

update new encode

update new encode

which part should I update the encode code in the python file?

update new encode

which part should I update the encode code in the python file?

Abyss update encode