Pilot failing with "Unauthorized Access" when attempting 2FA authentication

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I have a lane setup which runs gym to build an IPA, followed immediately by pilot which uploads the IPA to TestFlight. Every few weeks, this lane fails due to what looks like an expired session token. My Mac shows me the usual 2FA confirmation prompt, with a 6 digit code. When this happens, Fastlane shows a prompt at the command line to enter the 6 digit code, but before I have a chance to type anything, the script fails. The error is shown below.
Other relevant information:

The<EMAIL_ADDRESS>AppleID is a member of several teams
I'm invoking pilot with the following snippet in my Fastfile:

pilot(
  team_id: "1234567890",
  changelog: changelog,
  skip_waiting_for_build_processing: true
)

Complete output when running fastlane, including the stack trace and command used
> fastlane submit_beta_build

… (snipped for brevity and to redact a bunch of private info)

[10:40:41]: Successfully exported and compressed dSYM file
[10:40:41]: Successfully exported and signed the ipa file:
[10:40:41]: /Users/me/Code/Path/To/My/Build/MyApp.ipa
[10:40:41]: -------------------
[10:40:41]: --- Step: pilot ---
[10:40:41]: -------------------
[10:40:41]: Login to iTunes Connect<EMAIL_ADDRESS>Two Factor Authentication for account<EMAIL_ADDRESS>is enabled
Your session cookie has been expired.
Please enter the 6 digit code: Requesting session...
+-----------------------------+----------------------------------------------------------------+
|                                         Lane Context                                         |
+-----------------------------+----------------------------------------------------------------+
| DEFAULT_PLATFORM            | ios                                                            |
| PLATFORM_NAME               | ios                                                            |
| LANE_NAME                   | ios submit_beta_build                                     |
| GIT_REPO_WAS_CLEAN_ON_START | true                                                           |
| IPA_OUTPUT_PATH             | /Users/me/Code/Path/To/My/Build/MyApp.ipa    |
| DSYM_OUTPUT_PATH            | /Users/me/Code/Path/To/My/Build/MyApp.ipa.dSYM.zip          |
| XCODEBUILD_ARCHIVE          | /Users/me/Library/Developer/Xcode/Archives/2017-07-10/MyApp  |
|                             | 2017-07-10 10.39.12.xcarchive                                  |
+-----------------------------+----------------------------------------------------------------+
[10:40:49]: Unauthorized Access
+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | opt_out_usage                       | 0           |
| 3    | default_platform                    | 0           |
| 4    | ensure_git_status_clean             | 0           |
| 5    | prompt                              | 103         |
| 6    | gym                                 | 93          |
| 💥    | pilot                               | 7           |
+------+-------------------------------------+-------------+
[10:40:49]: fastlane finished with errors

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.0.0

Bundler?
false

Git
git version 2.4.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_AU.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
[redacted]
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.45.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.3.0

CFPropertyList
2.3.3

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.10.1

xcpretty
0.2.4

terminal-notifier
1.6.3

terminal-table
1.4.5

plist
3.1.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.6

commander-fastlane
4.4.5

excon
0.45.4

unf_ext
0.0.6

unf
0.1.4

domain_name
0.5.24

http-cookie
1.0.2

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.1

uber
0.0.13

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

public_suffix
2.0.4

addressable
2.5.1

mime-types-data
3.2016.0221

mime-types
3.1

faraday
0.9.1

little-plugger
1.1.4

multi_json
1.11.2

logging
2.0.0

jwt
1.5.3

memoist
0.14.0

os
0.9.6

signet
0.7.2

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

mini_magick
4.5.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.12.5

faraday_middleware
0.9.1

json
1.8.2

claide
1.0.2

generated on: 2017-07-10

Workaround
I've been able to work around this issue by generating a session by calling pilot manually, with pilot list -u<EMAIL_ADDRESS>When I run this command, I'm able to enter a 2FA code at the command line as expected. Subsequent calls to fastlane work as expected for a few weeks.

Are you running fastlane locally? I hear from some people that the session is only valid in the same region.

Yes, I'm running it locally on my dev machine, in Melbourne, Australia. Interesting that you mention region… there was some issues with fastlane interacting with ITC a few months back that seemed pretty prevalent amongst Australian devs that I knew, but almost non-existent amongst those in the US. Unfortunately I can't remember what the exact issue was.
Even if the session was being invalidated prematurely due to some strangeness on Apple's backend systems, fastlane's behaviour (of showing an interactive 2FA prompt then failing before I can type anything in) isn't "working as expected" is it?

Nah, but I wonder how we can fix it. If the session is region locked, it seems like there is not much we can do? A workaround is to create a new, separate  account that doesn't have 2 factor enabled.

I too am having issues with 2FA - used to work, now does not. I have deactivated and reenabled, but still have the issue. I in in the US.

Seeing this issue now too. Used to work, now it doesn't.

More on this. It appears opening iTunes Connect in Incognito Mode and logging in fixed it somehow. I'm now getting a session expired message and getting prompted for the 6 digit 2FA code.

This has been happening intermittently for me and other devs on my team. Strangely, one of the times that it happened, I was able to interactively enter the 2FA code at the CLI (as it should), but the more usual behaviour is that the script asks for a 2FA code then fails 0.5 seconds later, before I've typed anything (indicating a bug/issue in fastlane itself).


feat: Add bridgeETH method

Stacked on https://github.com/wilsoncusack/op-viem/pull/6

Adds a method for bridging eth only
bridgeSendTransaction with a value does the same thing but this method is still nice to have for 2 reasons

It sets the l2Gas for you
It is easier to read what is happening at a glance
it's types are slightly different (requires a value)

This leaves a few more deposit methods needed before all depositMethods are in:

bridgeERC20Token - bridges an erc20 token
bridgeERC20TokenBulk - bridges eth and multiple erc20 tokens in a multicall
depositExit - exits the rollup via initiating a bulk withdrawal from l1

Prefer writeDepositETH from #15


Added function to handle function call in generateChat. Added GPT4-O

I had to remake the whole pull request as i screwed up the last branch that i had as fork. I am sorry. But this way now you can review all the changes at once, you can remove pull request 120 as i put it as draft.

Thanks a lot @samuelgjekic! Sorry to have make you rework this.


Question: How to run tests as an authenticated user

Is there a way to test api endpoints that require auth?
Example:
I want to test the creation of a organization in my api endpoint, but to create it I need to be an authenticated user
I could not find it in the docs, right now what I'm doing is call the login endpoint and save the response cookies to use in future requests but it is a very ugly way to do it specially when having tests in different files that doesn't run in a controlled order
¿Is there a better way to do it ?

Hi @ManuelMartinDev. I will show you the way I am using to test routes that require authentication, I am using the Supertest library as well.
In my application I need to test the user's update, but for that the user needs to be logged in, I am generating a JWT token when the user logs into the application. To proceed with the update we need to pass the Bearer token in the request header, and I'm doing it this way.
await supertest(BASE_URL).post('/users').send(user);
const auth = await supertest(BASE_URL)
.post('/auth/login')
.send({ email: user.email, password: user.password });

const updateResponse = await supertest(BASE_URL)
  .put('/users')
  .auth(auth.body.token, { type: auth.body.type })
  .send(user2);

assert.equal(
  JSON.stringify(updateResponse.body),
  JSON.stringify({ success: 'User updated' }),
);
assert.equal(updateResponse.statusCode, 200);

The response from the login route already gives me the value of the token and the type of token I am using, all of which I need to pass in the auth method.
In my case I am using the supertest library to check authentication rather than Japa. I don't know if this was in fact what you needed, but I am using this methodology, Japa + Supertest to test the API routes, and it has been working very well!
If you want you can use Hook before offered by the Japa library, to authenticate the user and save their response, what you should do after that is just pass the login response in the auth method of the routes that require authentication. Using the hook before, to do this, you decrease the code of your test, since you don't need to create a user and authenticate every time you use it

Outside of the scope of Japa itself and also I believe @hmartiins answer helps :)


Create boro.coffee

boro is the finest Japanese fabric

We are actually moving away from adding scripts to repository in favor of separate npm packages per scripts. See #1113 for details, and let us know if you have any questions about getting going with that!


[Feature Request] Add Keyboard Shortcut for "Start New Conversation"

As a keyboard-shortcut savvy Bot Framework developer, I would like to have the option to start a new conversation in the Emulator using only a keyboard command (similar to "reload page" in browser).
Suggested keyboard shortcuts per platform:

Windows: F5
macOS: ⌘R

Excellent suggestion @nwhitmont, thank you!

This shortcut, along with a few others, has been implemented in 3.5.33. Thanks!


🔧 New version "react-native-vision-camera": "^3.9.2" always showing error

How were you trying to build the app?
Here is version details . I want to scan the QR code but not able to use this lib
"react": "18.1.0",
"react-native": "0.70.14",
"react-native-vision-camera": "^3.9.2",
const device = useCameraDevice("back");  <Camera               style={StyleSheet.absoluteFill}               device={device}               isActive={true}             />
Full build logs
Type 'CameraDevice | undefined' is not assignable to type 'CameraDevice'.
  Type 'undefined' is not assignable to type 'CameraDevice'.ts(2322)
CameraProps.d.ts(31, 5): The expected type comes from property 'device' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Camera> & Readonly<CameraProps>'
(property) device: CameraDevice
The Camera Device to use.

See the Camera Devices section in the documentation for more information about Camera Devices.

@example

const device = useCameraDevice('back')

if (device == null) return <NoCameraErrorView />
return (
  <Camera
    device={device}
    isActive={true}
    style={StyleSheet.absoluteFill}
  />
)

Runtime error details
ERROR  system/camera-module-not-found: Failed to initialize VisionCamera: The native Camera Module (NativeModules.CameraView) could not be found.

Make sure react-native-vision-camera is correctly autolinked (run npx react-native config to verify)
Make sure you ran pod install in the ios/ directory.
Make sure you rebuilt the app., js engine: hermes
ERROR  Error: Requiring module "node_modules/react-native-vision-camera/src/index.ts", which threw an exception: [system/camera-module-not-found]: Failed to initialize VisionCamera: The native Camera Module (NativeModules.CameraView) could not be found.
Make sure react-native-vision-camera is correctly autolinked (run npx react-native config to verify)
Make sure you ran pod install in the ios/ directory.
Make sure you rebuilt the app., js engine: hermes

Project dependencies
"dependencies":{
 "react": "18.1.0",
 "react-native": "0.70.14",
"react-native-vision-camera": "^3.9.2",
}

VisionCamera Version
3.9.2
Target platforms
iOS, Android
Operating system
MacOS
Can you build the VisionCamera Example app?
No, I cannot build the Example app either
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

How was this resolved @vinod1988? I'm getting the same thing using Expo


[Feature] AMD AMF

Can be added also AMD Advanced Media Framework (AMF)
AMD gpu's also can do some job
https://github.com/GPUOpen-LibrariesAndSDKs/AMF

Took me a bit to figure out how to do this, so putting here to hopefully make it easier. This was added in https://github.com/FFmpeg/FFmpeg/commit/f8ad2ddd7a51df5d6e768ba2a6f65ee64b94e29b#diff-3adfff78d6c720bbaa2e75bd85524380 and has the basic instructions as well.
To enable support you must obtain the AMF framework header files(version 1.4.9+) from
@url{https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git}.

Create an @code{AMF/} directory in the system include path.
Copy the contents of @code{AMF/amf/public/include/} into that directory.
Then configure FFmpeg with @code{--enable-amf}.

So in this case, need to add the two folders (and content) components and core from https://github.com/GPUOpen-LibrariesAndSDKs/AMF/tree/master/amf/public/include into workspace/AMF
Then add --enable-amf to the FFmpeg build

If can be added as branch for test will be good.

This script currently doesn't support zip files, so would require some additions / testing to the download function, such as:
  make_dir "$DOWNLOAD_PATH/$TARGETDIR"

  if [[ $DOWNLOAD_FILE == *.zip ]]; then
    if ! unzip "$DOWNLOAD_PATH/$DOWNLOAD_FILE" -d "$DOWNLOAD_PATH/$TARGETDIR" 2>/dev/null >/dev/null; then
        echo "Failed to extract $DOWNLOAD_FILE";
        exit 1;
    fi
  else
    if [ -n "$3" ]; then
    ...
  fi

Then would need some way to detect if the system has a supported AMD card, and if so then add a section like:
if build "amf"; then
  download "https://github.com/GPUOpen-LibrariesAndSDKs/AMF/releases/download/v.1.4.21/AMF_SDK_<IP_ADDRESS>-2021-07-20.zip"
  execute mkdir -p ${PACKAGES}/AMF
  execute cp -r ${PACKAGES}/AMF_SDK_<IP_ADDRESS>-2021-07-20/AMF_SDK_<IP_ADDRESS>/amf/public/include/* ${PACKAGES}/AMF/
  build_done "amf"
fi
CONFIGURE_OPTIONS+=("--enable-amf")

Took me a bit to figure out how to do this, so putting here to hopefully make it easier. This was added in FFmpeg/FFmpeg@f8ad2dd#diff-3adfff78d6c720bbaa2e75bd85524380 and has the basic instructions as well.
To enable support you must obtain the AMF framework header files(version 1.4.9+) from
@url{https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git}.

Create an @code{AMF/} directory in the system include path.
Copy the contents of @code{AMF/amf/public/include/} into that directory.
Then configure FFmpeg with @code{--enable-amf}.

So in this case, need to add the two folders (and content) components and core from https://github.com/GPUOpen-LibrariesAndSDKs/AMF/tree/master/amf/public/include into workspace/AMF
Then add --enable-amf to the FFmpeg build

Could you please explain where is my workspace folder in ubuntu?
could be it /home/noe/ffmpeg_sources?  or which?

@Milor123 after you run the ./build-ffmpeg --build script once it will create a workspace folder, that is where it needs to go, those updates applied and then re-run (have not worked with this in two years so knowledge is rusty on it)


garbled response when hitting enter twice when openAI is being laggy

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: windows
- Continue:
- IDE: VSCode

Description
I had entered a query and just Enter to start, and I got the rainbow gradient border, and it seemed to hang because of the openAI server issues, so I hit enter again, and it looks like two parallel completions started, and the results came back interleaved, which made for a very funny looking response with the tokens mixed up!
To reproduce
its hard to reproduce, since it depends on openAI being laggy, so its some sort of race condition for sure. I saw it twice on the same day during the openAI outage

Log output
To round a numberYou to the nearest can use cent in the JavaScriptMath, you.round() can function use in the JavaScript toMath round.round numbers(). method If. you Here want's to an round example to:

the nearestjavascript cent ,var you num can = multiply the123 number. by456 ; 100var, rounded round it, then divide byNum 100. = Here Math.round's(num how *:

/function  round100To;
Neconsolearest.logCent(round(numbered)Num {
);     return // Math Outputs.round:(number  *123 .46100
``)`

In this / example,  we're100 first;
multiplying the}

console.log(roundTo numberNe byarest Cent100( (12which. shifts345 the6 decimal)); point  two // places Output to: the right 12),. then35 rounding
to`` the`

nearestThis whole number, and then dividing by 100 (which shifts the decimal point back two places to the left). This gives us the original number rounded to the nearest cent.

Thanks for gathering all of the info here! Looks like what is happening is:

Here we use activeRef.current to watch for a change to the active redux state to turn to false, in order to call abortController.abort.
When the "Cancel" button is clicked for example, it will dispatch(setInactive()) (https://github.com/continuedev/continue/blob/f2fd3a1213a08b5135b9f89d4509eae00ba639b9/gui/src/pages/gui.tsx#L459)
But when the input box is re-submitted, we don't setInactive() because we are immediately making the chat panel active again by sending another message (https://github.com/continuedev/continue/blob/f2fd3a1213a08b5135b9f89d4509eae00ba639b9/gui/src/pages/gui.tsx#L372). This means that the abortController never gets aborted

Probably at line 372 of gui.tsx we could just add dispatch(setInactive()) before streamResponse, but would want to double check that this doesn't cause any problems (e.g. stopping the new request from going through).

got it. @sestinj can you assign this to me?


Implement Knight's tour

I implemented Knight's tour.
This uses Warnsdorf's rule like other languages' solutions in Rosetta Code.

Looks good to me! Thanks!


Add different timeout only for put operations in ResilientReactiveCache

:pencil: Description
Added ResilientReactiveCacheBuilder#withPutTimeout to set a different timeout only for put operations.
:link: Related Issues
none

What kind of scenario does this functionality cover?

What kind of scenario does this functionality cover?

When we are doing put operations async in a fire and forget way, we don't want to restrict the timeout there so much we do for get operations. Great example is when the ReloadingReactiveCache is above this, where this is done exactly.


rtos: zephyr: interpret thread priority as signed 8-bit integer

This patch also adds a twos_complement() utility function.

cc @MaureenHelm

Thanks very much @MaureenHelm !


fix make api error

Yes same as https://github.com/movidius/ncsdk/pull/25 and https://github.com/movidius/ncsdk/pull/10,
None of which the developers of NCSDK seem interested in fixing. C'mon Intel, sort out your support, this is really bad!

@nealvis, @ecopty, @ramanarachakonda ... more people trying to fix this simple issue, please merge this PR!

@nealvis please merge these PRs -- I can see that you're actively maintaining this repo at Intel so why not fix these basic issues that have been around for 6+ months?


New diorama shaders infra

Add 3 new diorama shaders and their cycles
Abstract out diorama shaders into per-mesh types in background-fx/
Remove canvas as an argument to diorama construction (now adding canvases dynamically)
Automatically detect whether a diorama should be renderable (does it have canvases)
Rewrite diorama binding to be synchronous and not require passing a canvas at all

This allows the map to include dioramas.


Set config for iterm2

such as 256 colors, and any other thing we may be missing. You can figure out how to set it through commands by following this link.

Commit https://github.com/poetic/short-stack/commit/89fba573c6dfbd420aa40b39ac872ba9df2fe8a5 closes this.


Problem: Cant connect 2 pcs

Hi, I found your repo looking for a solution for a dual stream overlay, following the steps you indicate I can not get my stream pc to access the html of the keyboard or mouse on the gaming pc. I attach screenshots and my configuration, I start the program with a .bat to simplify I use this command:
D:\OBS.Obs.InputOverlay.2.2.0.win64\Zergatul.Obs.InputOverlay.exe --urls http://<IP_ADDRESS>:1000
My firewall has a rule configured for access to that port.
I use remote desktop to access the stream pc and every access attempt sends error 404.

I tried to add to the end of the path of the game pc ip /default-keyboard.html and the console shows an error and closes. I understood that the access to a web was missing so that it did not show error 404.

It looks like on you screenshot current directory is C:\Windows\system32. Current directory should be directory of executable. It is looking for wwwroot folder in current directory, and it doesn't exist in your case. If you are getting 404, that means there is no firewall issues.

thanks for answering so fast, I fixed the .bat but I don't get results, do I have to add to the path the .html of the keyboard?

What do you mean by "don't get results"? You have to use URLs with .html files, you can't just use http://<IP_ADDRESS>:1000/, like you did on your second screenshot.

Sorry, this is not correct URL. You should request specific html file, example: http://<IP_ADDRESS>:1000/default-keyboard.html. You can look into wwwroot folder to see other html files you can use.

I must have made a mistake in some point or symbol, now it works for me, thanks


Filestore limited sql parser implementation

https://github.com/uber/cadence/issues/2518
Note: This is a very limited sql parser which converts sql syntax query to a struct. Since filestore visibility archival is only for local development/testing use, this parser only supports "and" as the logical operator.
More complicated parser and matcher can be added later if there's a need.

Coverage increased (+0.2%) to 67.001% when pulling 4fd8d0ee18cb3333f1017d1a1d472c7169cf710a on yycptt:filestore-parser into 4200e936fdf2b1c9027a00aa775b3e0c3af4f421 on uber:master.


[refactor][broker]refactor reflection method in storage and transaction module

Motivation
There are multiple ways of loading classes with reflection in Pulsar storage and transaction module. And we should have some common code.
Modifications

Unify the reflection method in pulsar storage and transaction module.

Verifying this change

[x]  Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] doc-not-needed

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@Jason918 PTAL


Where is the SequentialChain exported from ?

Hi !
I'm trying to convert the python implementation of Langchain to JS, yet I cannot seem to find where the SequentialChain is exported from in this repo. Or is it not supported yet?
Thanks!

https://github.com/hwchase17/langchainjs/pull/834 will add SequentialChain

This was just merged today #834 will release in a few hours

Ah yes quite right @kwkr my mistake. If you want to contribute that it would be great, but no pressure

Yea just start, we can use this issue, I've reopened it

@nfcampos @kwkr Thanks guys!


Roll Engine from a99d51f0c128 to 04bac31cc319 (3 revisions)

https://github.com/flutter/engine/compare/a99d51f0c128...04bac31cc319
2022-03-18<EMAIL_ADDRESS>Roll Skia from 42bc49d5d332 to 35275b3d511f (5 revisions) (flutter/engine#32119)
2022-03-18<EMAIL_ADDRESS>Roll Skia from 1df1a80ad20d to 42bc49d5d332 (3 revisions) (flutter/engine#32116)
2022-03-18<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from uawdfLUeA... to voPt0GIuh... (flutter/engine#32115)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from uawdfLUeA1ce to voPt0GIuhsWq
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Problem after build/release

After releasing the app, the React Native Track Player library does not allow the user to play/pause the audio, and there is an issue with playing audio from an HTTP stream. These problems do not occur while running the app through Metro.
The issue is not replicable in the React Native Track Player Example App.
Environment Inf:
react-native-track-player version: 3.2.0 (replace with your version)
Testing on: Real device
OS: Android (11 & 13)
This is the project I was working on : https://github.com/Saboten758/Lemon_Player
The command I used for building the release apk is :
./gradlew assembleRelase

HTTP (cleartext) is banned by default in android app release. you need 2 manually enable like
https://stackoverflow.com/questions/51902629/how-to-allow-all-network-connection-types-http-and-https-in-android-9-pie

Thanks @lovegaoshi 😊  but, it still doesn't allow for user playback from https streams..😪

I just saw you mentioned the example app is fine. if your stream link is fine within the example app then theres little others can do unless you post your repo.

Actually, the problem is with foreground playback. In the recent project I was working, I had a trackplayer service, to basically fetch songs form the streams and a main music player screen, from where I was playing... It was working fine while running on Metro, but after release, I couldn't manage to play any from the the buttons on screen...

oopsie, i didnt see you posted your repo. from a glance you didnt add "isLiveStream": true in your streaming playlist  https://github.com/Saboten758/Lemon_Player/blob/main/Screens/trackplayer.tsx#L71C27-L71C27 but i dont know how it worked in dev.
you may also look at logcat in android studio and/or keep the  from the example app. at least you will get teh error message straight in your app


Invalid markup element ServerError(ServerError(…), ‘unknown version (1) of interface “Application”’)

maas 2.0.0 (beta7+bzr5112)
juju 2.0-beta8-xenial-amd64
conjure-up 2.0.0
conjure-up openstack displays the error when choosing the first application (ceph).
$ conjure-up openstack
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1326, in run
    self._loop.run_forever()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 331, in run_forever
    self._run_once()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 1298, in _run_once
    handle._run()
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/ubuntui/views/error.py", line 41, in cancel
    raise SystemExit("Install exited because of error.")
SystemExit: Install exited because of error.
Install exited because of error.

I have rebuilt the 3x nodes used to test and tried again - this time I was able to step through all 17 application steps, but at the end it failed again:
$ conjure-up openstack
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/service_walkthrough.py", line 194, in do_deploy
    self.callback(single_service=self.service)
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 47, in finish
    return render()
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 80, in render
    return finish(single_service=None)
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 58, in finish
    return controllers.use('deploystatus').render()
  File "/usr/share/conjure-up/conjure/controllers/deploystatus/gui.py", line 53, in render
    this.view = DeployStatusView(app)
  File "/usr/share/conjure-up/conjure/ui/views/deploystatus.py", line 17, in __init__
    self.refresh_nodes()
  File "/usr/share/conjure-up/conjure/ui/views/deploystatus.py", line 23, in refresh_nodes
    for name, service in sorted(status['Applications'].items()):
KeyError: KeyError('Applications',)
Traceback (most recent call last):
  File "/usr/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up==2.0.0', 'console_scripts', 'conjure-up')()
  File "/usr/share/conjure-up/conjure/app.py", line 214, in main
    EventLoop.run()
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/service_walkthrough.py", line 194, in do_deploy
    self.callback(single_service=self.service)
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 47, in finish
    return render()
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 80, in render
    return finish(single_service=None)
  File "/usr/share/conjure-up/conjure/controllers/deploy/gui.py", line 58, in finish
    return controllers.use('deploystatus').render()
  File "/usr/share/conjure-up/conjure/controllers/deploystatus/gui.py", line 53, in render
    this.view = DeployStatusView(app)
  File "/usr/share/conjure-up/conjure/ui/views/deploystatus.py", line 17, in __init__
    self.refresh_nodes()
  File "/usr/share/conjure-up/conjure/ui/views/deploystatus.py", line 23, in refresh_nodes
    for name, service in sorted(status['Applications'].items()):
KeyError: KeyError('Applications',)

Yea between juju beta 8 and juju beta 9 they changed all the references of services to 'applications'.
They just released the beta 9 of juju I would suggest updating to that beta and giving it a try again.

Also we're doing another release this Monday June 20th that will have further support for maas 2.0 and juju beta 9. Unless you're comfortable building from git I recommend waiting until then to try again.


Documentation and examples on how to manage global state

Documentation improvement:

How to manage local and global state, patterns and best practices with examples.

@gbj
I'm already planning on doing a small CSR project to get more acquainted with the leptos framework before I use it for a much larger one; judging by the very rough plan in my head right now, it will probably have some sort of global state anyway.
Quite busy at the moment so not sure when I'll actually get round to it, but if that happens to be before someone else has started working on this issue I'm happy to pick it up.
Only extra bit of work I'd need to do (other than making sure it's extra readable of course) is the documentation, but I figure that will also be a good way to reinforce my own learning.

I recently went through the book in the docs and ended up with this repo
https://github.com/omie-lol/leptos-tutorial
My plan is to basically do what @jclmnop was going to do and create a sort of playground/storybook/doc site
I also have some corrections and suggestions to improvements for the book on a branch that I was collecting. (mostly spelling fixes, grammar, formatting etc.)
So far loving Leptos...

I also have some corrections and suggestions to improvements for the book on a branch that I was collecting. (mostly spelling fixes, grammar, formatting etc.)
Oh that's awesome, thank you so much! It's all been one-pass drafts so far, so I appreciate the proofreading. Although please let me know if any examples are broken, of course. I'll take a PR for docs fixes at any point.

See new docs chapter here https://github.com/leptos-rs/leptos/blob/main/docs/book/src/15_global_state.md


[FEATURE]-Add generic ReceiveQueue and TranmitQueue classes

Is your feature request related to a problem? Please describe.
Receive and transmit queueing are tricky.  If we had a generic class for queuing messages of either type string or byte[] it would make life MUCH easier.
Describe the solution you'd like
Create classes like those created to fix the thread abort issue in the MC plugin to be used generically.

Didn't know you could transfer issues, thanks!


dts: foreach enhancements for arbitrary compatibles

Add two new for-each macros:

DT_FOREACH_STATUS_OKAY(compat, fn)
DT_FOREACH_STATUS_OKAY_VARGS(compat, fn, ...)

These can be used to expand "fn" once for every status "okay" node in
the devicetree which has a given compatible. The intended use case is
to allow doing something in C once for each node of a compatible,
but outside of a device driver.

Compliance should be ignored on this one.


Read only su

Features

Added read only super user

[Delivers #128056527]

✋

https://travis-ci.org/PayBreak/basket/jobs/152997844
[2016-08-17 15:09:33] testing.ERROR: Frontend Cache Buster: expected CB Hash Source file does not exist. [../VERSION.md] [] []
@srleach @wnowicki proposal thoughts? Following the VerifyCsrfToken middleware:
/**
     * Static Accessor for use in View
     *
     * @param string $filePath
     * @return string
     * @author SL
     */
    public static function cache($filePath)
    {
        if ('testing' !== app()->environment())
        {
            return $filePath . '?v=' . self::getVersionHash();
        }

        return $filePath;
    }

@wnowicki Finished off testing additions. Can you review?

what do I need to run to make it working?

@wnowicki you should run ReadOnlySuperUserSeeder.
php artisan db:seed --class=ReadOnlySuperUserSeeder --env=dev


TypeError: json.hasOwnProperty is not a function

Successfull/Error response from OData service is not parsed properly
TypeError: json.hasOwnProperty is not a function
at isSelectedProperty (C:\dev\s4-service\node_modules@sap-cloud-sdk\odata-common\src\entity-base.ts:328:15)
at C:\dev\s4-service\node_modules@sap-cloud-sdk\odata-common\src\entity-deserializer.ts:87:42
at Array.filter ()
at Object.deserializeEntity (C:\dev\s4-service\node_modules@sap-cloud-sdk\odata-common\src\entity-deserializer.ts:87:8)
at C:\dev\s4-service\node_modules@sap-cloud-sdk\odata-common\src\request-builder\get-by-key-request-builder-base.ts:101:33
Error is caused by this util<EMAIL_ADDRESS>

node version 18.19.0
npm version 10.2.3
SAP Cloud SDK version 3.9.0

Code Examples
purchaseOrderApi
      .requestBuilder()
      .getByKey(id)
      .execute(this.destination);

I've found out that OData request is executed properly but when response is parsed hasOwnProperty util fails

Found out that JSON.parse have been globally overridden by another library I use. This library creates objects with null prototype thats why this code fails


🐛 Added the member context to the get, next-post and prev-post helpers

refs https://github.com/TryGhost/Team/issues/1367

The {{access}} property of a post always returned false for non-public content
The get, next-post and prev-post helpers didn't add the member context to the internal API calls
Added the members context to these calls

Tests:

Added tests that check if the member context is passed to the API calls
Includes a refactor for both the next-post and prev-post helper tests to the async await syntax
Added const should = require('should'); to the next-post and prev-post helper tests to allow them to run on their own

When this is squashed + merged, it would be great to update the commit title to communicate the problem that's fixed (access is incorrect when using get helper) rather than the fix itself so it makes sense to users who don't have context


cuda_runtime_api.h cloud not found

cuda_runtime_api.h cloud not found @wassname

This is likely an issue with your systems CUDA install.  Make sure CUDA is correctly installed and pytorch is has CUDA enabled (i.e. torch.cuda.is_available())


Feature Request | After scrolling done execute callback function

Something like
scrollTo({
            ref: hash,
            offset: -70,
            onDone: (element, offset) => {
              //Scrolling completed
            }

        });

For reference: https://github.com/langbamit/svelte-scrollto
This project has this feature, but it's no longer an active project.

Thank you for your request, I will implement this feature soon.


ARROW-8659: [Rust] ListBuilder allocate with_capacity

Both ListBuilder and FixedSizeListBuilder accept a values_builder as a constructor argument and then set the capacity of their internal builders based off the length of this values_builder. Unfortunately at construction time this values_builder is normally empty, and consequently programs spend an unnecessary amount of time reallocating memory.
This PR adds new constructor methods that allow specifying the desired capacity upfront.

Merged. Thanks @tustvold !


Printing support

I'm interested in support for printing out code files.
Is there a way to cause the editor to render the full file into the DOM (as opposed to only the visible set of rows)? That seems like the main hurdle.

This can be somewhat achieved by copying and pasting into a software that can accept HTML from the clipboard e.g. Word

Duplicate of #5953


Highlighting plagiarized sentences...

I see only the score here.
How to run the model on entire text, but get sentences highlighted, considering the entire text?
Or is it impossible?

It’s doable. You can run the threshold check into individual lines when they are broken by a delimiter. And highlight the lines that are greater than threshold.
We’ll be adding that feature soon.


Segment analytics

Passing path so user navigation to different urls is tracked properly
Upon wallet connect, triggering an identify event to bind all user activity to the connecting wallet

@casuwu I had to add https://github.com/OlympusDAO/olympus-frontend/pull/492/commits/7fc0c24256d1feaec7c42abaabe2b20a059dd658 bc I couldn't get app to load without loading var analytics or const analytics for that new useEffect.
Are you good with this?

good catch!


Make the section depth for section-title attribute in running content configurable

Allow the depth of the sections considered for the section-title attribute in running content to be configured. Currently the limit is 3, not inclusive.

The proposed attribute name is as follows:

secttitlelevels

This turned out to be a duplicate of #1141 and has since been resolved.


from 'x' import { y }

Is it too late to change the import statement around? (I know it probably is).
If it was
from 'x' import { y }

Tooling could provide very handy intelli-sense about what could be imported.

Duplicate of #2371 and #4880.
From my comment in https://github.com/Microsoft/TypeScript/issues/4880#issuecomment-141895032:

While the import syntax doesn't lend well to intellisense/completion, I don't think it would be appropriate to deviate from ES6.

As @danquirk suggests in #2371 (comment), our IDE experience should compensate for this problem using something like snippets.

@DanielRosenwasser What would be valid reasons for TS deviating from ESx? (and how is JSX less of a deviation than the above?) If no valid reasons, then either TS will soon be much less relevant, or it will continue to be a 'superset' of ESx, implying language syntax and semantics a developer will be 'coupled' to (if their are valid reasons, then how does the above request fall outside them? how are they measured?). In other words, on one hand why should I continue investing in TS if its just ESx, or if on the other, a 'superset', then why can't TS deliver real-world productivity improvements as I'm coupling to it anyways? There are other IDEs with TS intellisense support, and nothing like VS snippets; just curious now what the purpose and soul of TS is

@phestermcs those aren't unreasonable questions, and it's always worth discussing.
One of the biggest issues that we want to avoid is creating syntax that conflicts with future versions of the language. It is conceivable that ECMAScript may eventually introduce a better syntax; however, it might not be exactly the same, or it might be the same and not behave the same at all.
We try to be conservative about new syntax because this is a fairly likely scenario. For instance, the exponentiation operator was something we could have tackled over a year ago, but luckily we didn't because we probably would have picked the wrong syntax, and that would have required a breaking change.

how is JSX less of a deviation than the above?

Actually, JSX was something we were not very keen to do originally either. But JSX isn't something we could really ignore, and those who wanted to use React with TypeScript were having an extremely difficult time. But rather than integrating JSX into a the default language, we created the TSX variant so that we didn't have to create any code breaks.

if its just ESx

But clearly it's not just ESx. The future ECMAScript features are a big plus, but the core value proposition of TypeScript is the types. That's what powers your IntelliSense support in the first place.
For more info, see our Design Goals.


undefined local variable or method `current_account' for...

Hello Ryan,
I'm reading your book again from the beginning and I'm at on the page 67 and the error was different.
I don't know what to do for continue.
rspec spec/features/accounts/accepting_invitations_spec.rb
F

Failures:

  1) Accepting invitations accepts an invitation
     Failure/Error: You have been invited to join the <%= current_account.name %> account on Twist.

     ActionView::Template::Error:
       undefined local variable or method `current_account' for #<#<Class:0x007ff321520370>:0x007ff321513f58>
       Did you mean?  current_cycle

I'm doing right now a commit like to "Need to fix page 67" and my GitHub is romenigld

Hey @romenigld: do you have a repo that I can clone down to see this issue?

Hello Ryan, I put there in the last line.
But take here too: https://github.com/romenigld/twist

Thanks! This appears to be an issue in the book. That invite.html.erb template should use the account from the invitation object. The correct template is this:

  You have been invited to join the <%= @invitation.account.name %> account on Twist.

  <% accept_url = accept_invitation_url(
      @invitation,
      subdomain: @invitation.account.subdomain
  ) %>
  <%= link_to "Accept Invitation", accept_url %>

I've just released an updated edition of the book with that fix included. Thanks for letting me know about it. If there's anything else that doesn't work, please let me know about that too :)

Yes, now it's going like the ebook.
And if I doesn't work I will tell you.
Thank's for reply!


Add support for 'preferred_element_type' arg in dot and dot_general.

XLA recently added support for this parameter to xops.DotGeneral. It's an optional parameter that controls the accumulation type used by the dot operation.
This is useful for eg quantized ANNs, where you might want to do matrix multiples with int8 tensors and get back an int32 tensor instead of an int8 tensor that suffers from severe overflow. Note it's not sufficient in this case to cast the inputs to 'dot' to int32 beforehand and rely on the default output dtype inference, since backend devices might have an accelerated path for int8*int8->int32 matmuls and we want that explicitly represented in the HLO.
Note because XLA still doesn't support integer dots on the CPU backend, that use case can't tested with a CPU-only test at the moment. I was hoping the experts could weigh on the proper place to add a test for this.
This closes https://github.com/google/jax/issues/4465.

The PR already did wire through lax.dot, but I added np.dot as well.

Can we call this argument dtype in the jax.numpy functions? That would be consistent with the argument name that NumPy uses for this sort of functionality, e.g., see dtype in np.sum:
https://numpy.org/doc/stable/reference/generated/numpy.sum.html

Can we call this argument dtype in the jax.numpy functions? That would be consistent with the argument name that NumPy uses for this sort of functionality, e.g., see dtype in np.sum:
https://numpy.org/doc/stable/reference/generated/numpy.sum.html

Done.

Thanks for adding this to all the NumPy dot functions :).
Currently we summarize the JAX specific arguments in _PRECISION_DOC. Maybe you could add a brief note about dtype here as well? Most of these functions don't take a dtype argument in NumPy, so it doesn't already have documentation.

Done

I was finding in my tests that the numeric behavioral and return type rules of the dtype parameter in numpy seem to differ quite substantially from the preferred_element_type in XLA. I can dive deeper into it once I have the cycles, but for now I think it's easiest to have this PR be purely about modifying the lax functions to thread preferred_element_type through to XLA and have a potential follow-up PR for adding a dtype argument to the numpy functions that might take advantage of that.
I also changed the return type inference for lax.dot_general to be correct when the input datatype is more precise than preferred_element_type and adding a corresponding test to lax_tests.py.

This PR relies on changes to XLA that haven't been upstreamed yet. Once those changes make their way into jaxlib and Jax correspondingly bumps the min jaxilb version, the CI on this PR will pass.

This PR relies on changes to XLA that haven't been upstreamed yet. Once those changes make their way into jaxlib and Jax correspondingly bumps the min jaxilb version, the CI on this PR will pass.

@jekbradbury CI passes now. I had to make a few tweaks since you last looked at this, so you might want to review again.

@jekbradbury CI passes now. I had to make a few tweaks since you last looked at this, so you might want to review again.


removed duplicate links and reworded as needed

resolves #55, I approached this problem by seeing comparing the rest of the guide, and attempting to match the style. I agreed with @avimar that this duplicate links were probably not needed.

The idea was that I was afraid that the reader might be disapointed to read that he won't be able to get the notion without knowing about prototypes and skip looking for external resources section.
But since the notion is quite short it might be a bit "over-engineered" 👍 so okay.


Import from "./file" has wrong path after bundling.

I have an app that works without bundling. With bundling, I get console errors when I run the app. No errors during bundling.
The source in question is:
services/index.js
import {Auth} from "./auth.js"

This is bundled as:
System.registerDynamic("services/index.js", ["./auth.js", ], true, function($__require, exports, module) {
  "use strict";

  var define,
      global = this,
      GLOBAL = this;
  var auth_js_1 = $__require('./auth.js');

Auth.js is not dot relative to the bundled source anymore. it should be rewritten as require("services/auth")
How can I fix or work around this?  Any ideas?

@sensedeep Could you please provide a sample repo the reproduces this problem?

Sorry, but the source has moved on and I cannot re-create. From memory, we added map entries to config.js to solve the problem. Sorry. Please feel free to close the issue as I cannot provide more information.


Proper way to create  folders/tablespaces

Very simple dockerfile..
FROM postgres:9.6
RUN bash -c 'mkdir -pv /var/lib/postgresql/data/{tablespace1,tablespace2,tablespace3}'
...
COPY db-init.sql /docker-entrypoint.d/

Its not possible to do it, because /var/lib/postgresql/ needs to be empty for DB/container initialization / .
So is there proper way to setup tablespaces?
db-init.sql
CREATE TABLESPACE dbspace LOCATION '/data/tablespace1';
CREATE TABLESPACE dbspace LOCATION '/data/tablespace2';
CREATE TABLESPACE dbspace LOCATION '/data/tablespace3';

You can move your RUN to a script in /docker-entrypoint.d/. As long as it is alphabetically before your .sql file it'll run first.
#!/bin/bash
set -e

mkdir -pv /var/lib/postgresql/data/{tablespace1,tablespace2,tablespace3}

# you could even move your sql into this file as well
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" -c "
	CREATE TABLESPACE dbspace LOCATION '/data/tablespace1';
	CREATE TABLESPACE dbspace LOCATION '/data/tablespace2';
	CREATE TABLESPACE dbspace LOCATION '/data/tablespace3';
"

Is this really good aproach?
CREATE TABLESPACE cannot be executed from a function or multi-command string
Seems, that
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" -f db-init.sql
works.
But i would like to have it all in one file, whole provisioning.
Thanks

Ah, maybe just split my suggestion into 3 psql ... -c "CREATE TABLESPACE..." line

Or a for loop:
#!/bin/bash
set -e

for tablespace in tablespace1 tablespace2 tablespace3; do
	mkdir -pv "/var/lib/postgresql/data/$tablespace"
	psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" -c "CREATE TABLESPACE dbspace LOCATION '/data/$tablespace'"
done

Closing old issue; seems solved.


How to add a footer at the end and execute code when it is clicked?

@EpsilonOrionis are you talking about the StickyFooter which is available in the MaterialDrawer this can't be done via a normal RecyclerView and is out of scope for the FastAdapter
In the MaterialDrawer this is implemented via an additional LinearLayout at the end of the Drawer (lowering the size of the RecyclerView) and adding items in it. Those items there have a normal OnClickListener and in the onClick it will then execute the code.
(The responsible code within the MaterialDrawer https://github.com/mikepenz/MaterialDrawer/blob/develop/library/src/main/java/com/mikepenz/materialdrawer/DrawerUtils.java#L386)

Mike maybe I'm wrong, but i read in the FastAdapter .md that it supports the footer

@EpsilonOrionis you can add a footer adapter
footeradapter.wrap(itemadapter.wrap(fastadapter));
footeradapter(new Item());

footer items are added at the bottom of the list.

How can I handle the click?

https://github.com/mikepenz/FastAdapter/blob/develop/app/src/main/java/com/mikepenz/fastadapter/app/items/ExpandableItem.java#L109

@EpsilonOrionis that's why I asked if you talk about the StickyFooter which is different from a normal Footer
The click of an FooterAdapter item is triggered the same as of normal items

@EpsilonOrionis Is your question answered? All works fine?


fix style to be consistent

sorry, no style changes are accepted without a relevant eslint rule. if this repo doesn't have an eslintrc, then that would be a good PR to make :)


Prom scaler auth

Update for https://github.com/kedacore/keda/issues/1559

LGTM, but waiting until the feature is merged

@marpio could you please rebuild this against 2.3 content? Thanks!


NETOBSERV-1808: Avoid loading pkt drop hook for rt and rhel9.2 version

Description
avoid loading pkt drop hook if kernel is realtime and older than rhel9.4
time="2024-08-26T18:27:23Z" level=debug msg="kernel version: 5.14.0-284.59.1.rt14.344.el9_2.x86_64 is realtime" component=kernel
time="2024-08-26T18:27:23Z" level=info msg="kernel is realtime and older than 5.14.0-427 not all hooks are supported" component=ebpf.FlowFetcher

Dependencies

n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[ ] Will this change affect NetObserv / Network Observability operator? If not, you can ignore the rest of this checklist.
[ ] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[ ] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

/ok-to-test

/ok-to-test

/label qe-approved

/approve


Ease identification of discriminative features

It was suggested that a dedicated function returning important features (e.g. showing the most variation in an experiment) would be helpful.

This seems addressed by #35 and #34.


Improving Docs Update README.md

Issue:

I don't find this change necessary. Please submit an issue next time before working on it.

I don't find this change necessary. Please submit an issue next time before working on it.

Thanks for the review . But can you please remove it from invalid  label because I will be disqualified for the hactoberfest

You will not be disqualified, just this PR will not count. Please make valuable contributions even if small.


How do you create the flow chart?

Wonder if you use any specialized software. It is really clear and elegant.

Thank you! I used draw.io, it's free and pretty powerful.


Transfer via KCP crashes the server side application.

English:
Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?

3.5

What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.

Debian 9 (server) <=> vmess via KCP <=> Win10 (client) with Proxifier
general browsing

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)

Server side crashed after a few requests from browser, not specific to any website.
Switching to TCP from KCP, ceteris paribus, works fine without any problem.

What's your expectation?

Please attach your configuration file (Mask IP addresses before submit this issue).
Server configuration:

{
  "log" : {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "warning"
  },
  "inbound": {
    "port": ****,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "****",
          "level": 1,
          "alterId": 64,
          "security": "aes-128-gcm"
        }
      ],
      "detour": {
        "to": "dynamicPort"
      }
    },
    "streamSettings":{
      "network":"kcp",
      "kcpSettings": {
        "mtu": 1350,
        "tti": 20,
        "uplinkCapacity": 100,
        "downlinkCapacity": 100,
        "congestion": false,
        "readBufferSize": 2,
        "writeBufferSize": 2,
        "header": {
          "type": "srtp"
        }
      }
    }
  },
  "inboundDetour":[
    {
      "protocol": "vmess",
      "port": "****-****",
      "tag": "dynamicPort",
      "settings": {
        "default": {
          "level": 1,
          "alterId": 32
        }
      },
      "allocate": {
        "strategy": "random",
        "concurrency": 2,
        "refresh": 1
      },
      "streamSettings":{
        "network":"kcp",
        "kcpSettings": {
          "mtu": 1350,
          "tti": 20,
          "uplinkCapacity": 100,
          "downlinkCapacity": 100,
          "congestion": false,
          "readBufferSize": 2,
          "writeBufferSize": 2,
          "header": {
            "type": "srtp"
          }
        }
      }
    }
  ],
  "outbound": {
    "protocol": "freedom",
    "settings": {}
  },
  "outboundDetour": [
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "routing": {
    "strategy": "rules",
    "settings": {
      "rules": [
        {
          "type": "field",
          "ip": [
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/10",
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/16",
            "<IP_ADDRESS>/12",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/16",
            "<IP_ADDRESS>/15",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/24",
            "::1/128",
            "fc00::/7",
            "fe80::/10"
          ],
          "outboundTag": "blocked"
        }
      ]
    }
  }
}

Client configuration:

{
  "log": {
    "loglevel": "warning"
  },
  "inbound": {
    "port": ****,
    "listen": "<IP_ADDRESS>",
    "protocol": "socks",
    "settings": {
      "auth": "noauth",
      "udp": true,
      "ip": "<IP_ADDRESS>"
    }
  },
  "outbound": {
    "protocol": "vmess",
    "settings": {
      "vnext": [
        {
          "address": "****",
          "port": ****,
          "users": [
            {
              "id": "****",
              "alterId": 64,
              "security": "aes-128-gcm"
            }
          ]
        }
      ]
    },
    "streamSettings": {
      "network": "kcp",
      "kcpSettings" : {
        "header" : {
          "type" : "srtp"
        },
        "mtu" : 1350,
        "congestion" : false,
        "tti" : 20,
        "uplinkCapacity" : 100,
        "writeBufferSize" : 2,
        "readBufferSize" : 2,
        "downlinkCapacity" : 100
      }
    }
  },
  "outboundDetour": [
    {
      "protocol": "freedom",
      "settings": {},
      "tag": "direct"
    }
  ],
  "dns": {
    "servers": [
      "<IP_ADDRESS>",
      "<IP_ADDRESS>",
      "localhost"
    ]
  },
  "routing": {
    "strategy": "rules",
    "settings": {
      "domainStrategy": "IPIfNonMatch",
      "rules": [
        {
          "type": "field",
          "ip": [
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/10",
            "<IP_ADDRESS>/8",
            "<IP_ADDRESS>/16",
            "<IP_ADDRESS>/12",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/16",
            "<IP_ADDRESS>/15",
            "<IP_ADDRESS>/24",
            "<IP_ADDRESS>/24",
            "::1/128",
            "fc00::/7",
            "fe80::/10"
          ],
          "outboundTag": "direct"
        }
      ]
    }
  }
}

Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at /var/log/v2ray/error.log on Linux.
Server error log:

panic: runtime error: slice bounds out of range

goroutine 885 [running]:
v2ray.com/core/transport/internet/kcp.(*Connection).Write.func1(0x0, 0x0, 0x0, 0x82e90e, 0xc4207a4000, 0xc42077bdc0)
        src/v2ray.com/core/transport/internet/kcp/connection.go:349 +0xca
v2ray.com/core/common/buf.(*Buffer).Reset(0xc42077bdc0, 0xc42061eb98, 0xc42077bdc0, 0xc42016edc8)
        src/v2ray.com/core/common/buf/buffer.go:79 +0x45
v2ray.com/core/transport/internet/kcp.(*SendingWorker).Push(0xc42077b240, 0xc42061eb98, 0xc42061ec00)
        src/v2ray.com/core/transport/internet/kcp/sending.go:298 +0xbd
v2ray.com/core/transport/internet/kcp.(*Connection).Write(0xc4200f8e00, 0xc420629800, 0x6, 0x800, 0xc4200f8e00, 0xc42061ec01, 0x5b8e6e)
        src/v2ray.com/core/transport/internet/kcp/connection.go:348 +0xb2
v2ray.com/core/common/buf.(*BufferedWriter).Write(0xc4207bc3a0, 0xc420629800, 0x6, 0x800, 0x0, 0x0, 0xc420629800)
        src/v2ray.com/core/common/buf/writer.go:61 +0x2ac
net.(*Buffers).WriteTo(0xc42072f540, 0xbe67a0, 0xc4207bc3a0, 0x800, 0xc420629800, 0x6)
        /usr/local/go/src/net/net.go:639 +0xea
v2ray.com/core/common/crypto.(*CryptionWriter).WriteMultiBuffer(0xc4207bc3c0, 0x0, 0x0, 0x0, 0x0, 0x0)
        src/v2ray.com/core/common/crypto/io.go:60 +0x169
v2ray.com/core/common/crypto.(*AuthenticationWriter).writeStream(0xc42077b480, 0xc51710, 0x0, 0x0, 0x0, 0x0)
        src/v2ray.com/core/common/crypto/auth.go:206 +0x2ee
v2ray.com/core/common/crypto.(*AuthenticationWriter).WriteMultiBuffer(0xc42077b480, 0xc51710, 0x0, 0x0, 0xc42061ee88, 0x1)
        src/v2ray.com/core/common/crypto/auth.go:236 +0x56
v2ray.com/core/proxy/vmess/inbound.transferResponse(0xbe6d20, 0xc420786420, 0xc420712240, 0xc4207bc240, 0xc42043ef78, 0x7fbbf076cb38, 0xc420763320, 0xbe67a0, 0xc4207bc3a0, 0xc42063c400, ...)
        src/v2ray.com/core/proxy/vmess/inbound/inbound.go:173 +0x25a
v2ray.com/core/proxy/vmess/inbound.(*Handler).Process.func2(0x0, 0x0)
        src/v2ray.com/core/proxy/vmess/inbound/inbound.go:250 +0x299
v2ray.com/core/common/signal.executeAndFulfill(0xc4207633e0, 0xc420763440)
        /v2ray/src/v2ray.com/core/common/signal/exec.go:8 +0x27
created by v2ray.com/core/common/signal.ExecuteAsync
        /v2ray/src/v2ray.com/core/common/signal/exec.go:18 +0x67

Client error log:

N/A, as the server crashes first.

Please attach access log. Access log is usually at '/var/log/v2ray/access.log' on Linux.

N/A (for privacy concern), but at a glance there's nothing suspicious.
This piece of information can be provided If it turns out to be important.

Please review your issue before submitting.

Other configurations (such as Nginx) and logs.

Hi, I have a very similar setup as you with v2ray v3.6 and my VPS also hold a memory 1GB. But up to now, I don't have any error logs. The exception in the settings are:

"kcpSettings": {
"mtu": 1350,
"tti": 10,
"uplinkCapacity": 100,
"downlinkCapacity": 100,
"congestion": true,
"readBufferSize": 10,
"writeBufferSize": 10,
"header": {
"type": "utp"
}
}
"allocate": {
"strategy": "random",
"concurrency": 2,
"refresh": 5
},
Also the dynamic ports have the same alterId number as the first main port, while in your case it is different.
I hope these information could help you.

The crash should have been fixed in 3.8.

Unfortunately, the problem is still reproducible in v3.9. The error log is similar to the previous one.
'''
panic: runtime error: slice bounds out of range
goroutine 1916 [running]:
v2ray.com/core/transport/internet/kcp.(*Connection).Write.func2(0x0, 0x0, 0x0, 0x91d57e, 0xc421886000, 0xc4218b9800)
src/v2ray.com/core/transport/internet/kcp/connection.go:357 +0xca
v2ray.com/core/common/buf.(*Buffer).Reset(0xc4218b9800, 0xc4216beb98, 0xc4218b9800, 0xc421302ba0)
src/v2ray.com/core/common/buf/buffer.go:79 +0x45
v2ray.com/core/transport/internet/kcp.(*SendingWorker).Push(0xc42187e980, 0xc4216beb98, 0xc4216beb00)
src/v2ray.com/core/transport/internet/kcp/sending.go:298 +0xbd
v2ray.com/core/transport/internet/kcp.(*Connection).Write(0xc420167500, 0xc420815000, 0x6, 0x800, 0x0, 0x0, 0x0)
src/v2ray.com/core/transport/internet/kcp/connection.go:356 +0x112
v2ray.com/core/common/buf.(*BufferedWriter).Write(0xc4218942a0, 0xc420815000, 0x6, 0x800, 0x0, 0x0, 0xc420815003)
src/v2ray.com/core/common/buf/writer.go:63 +0x2ac
net.(*Buffers).WriteTo(0xc4211c3320, 0xdbe100, 0xc4218942a0, 0x7fd, 0xc420815003, 0x3)
/usr/local/go/src/net/net.go:639 +0xea
v2ray.com/core/common/crypto.(*CryptionWriter).WriteMultiBuffer(0xc4218942c0, 0x0, 0x0, 0x0, 0x0, 0x0)
src/v2ray.com/core/common/crypto/io.go:60 +0x169
v2ray.com/core/common/crypto.(*AuthenticationWriter).writeStream(0xc42187eb80, 0xe39ae8, 0x0, 0x0, 0x0, 0x0)
src/v2ray.com/core/common/crypto/auth.go:206 +0x2ee
v2ray.com/core/common/crypto.(*AuthenticationWriter).WriteMultiBuffer(0xc42187eb80, 0xe39ae8, 0x0, 0x0, 0xc4216bee88, 0x1)
src/v2ray.com/core/common/crypto/auth.go:236 +0x56
v2ray.com/core/proxy/vmess/inbound.transferResponse(0xdbe680, 0xc421894240, 0xc420e68cf0, 0xc4218940e0, 0xc420021778, 0x7f315f6abce8, 0xc42175ecc0, 0xdbe100, 0xc4218942a0, 0xc4201c6f60, ...)
src/v2ray.com/core/proxy/vmess/inbound/inbound.go:209 +0x25a
v2ray.com/core/proxy/vmess/inbound.(*Handler).Process.func2(0x0, 0x0)
src/v2ray.com/core/proxy/vmess/inbound/inbound.go:281 +0x287
v2ray.com/core/common/signal.executeAndFulfill(0xc420513c00, 0xc42175ede0)
/v2ray/src/v2ray.com/core/common/signal/exec.go:8 +0x27
created by v2ray.com/core/common/signal.ExecuteAsync
/v2ray/src/v2ray.com/core/common/signal/exec.go:18 +0x67
'''
It's surprised to see you guys working so hard on this project during the lunar new year. Keep up the good work and finally, happy lunar new year!


[Bug-FE][UI Next][V1.0.0-Alpha]Display error, should display component name not id

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Display error, should display component name not id

What you expected to happen
Display error, should display component name not id
How to reproduce
this is Importing Workflows
Display error, should display component name not id
Anything else
No response
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will fix it

This problem has been fixed. close it please.


Raidboss: Eden's verse consistency

I have modified names on replaceSync  fr and ja for more consistency with replaceSync de, text file and networks logs.
I know it is not particularly useful, it seems to me. But I find it more consistent that the names are the same and with their punctuation everywhere. Sorry again.

Sorry, I do not think this is worth doing.  I think there is inconsistency between the way the game displays things and the way network logs display things (and these also change over time).  As replaceSync is case insensitive, it is not worth changing these.
I do not mean to be rude here, but I think this is just not worth the time to change.


Add websocket debug output

Adds socket.warn functions to have a higher change to find errors

As discussed. Please review later.


Striped tables using :nth-child(even/odd)

Currently striped tables are generated by dynamically assigning a CSS class to each row:
<% @items.each do |item| %>
  <tr class="<%= cycle('row0', 'row1') %>">
    <!-- some table columns -->
  </tr>
<% end %>

However, in CSS3 are selectors for accessing even an odd rows separately:
table.striped tr:nth-child(even) {background-color: blue;}
table.striped tr:nth-child(odd) {background-color: red;}

I think we should use the client-side solution!

The table-striped class in pattenfly solves this!


Tokenfactory Hooks Finalization

Design doc owner: @mattverse
Please add context

Hi there! It seems like there are no labels assigned to your issue. Could you please add labels to help us better understand the context of the issue? Once the labels are added, I'll be able to assist you more effectively. Thank you!

Hey @p0mvn Token factory hooks should be finalized in v17. Is there a specific reason you had in mind for adding this to v18 scope?

Will DM to catch up on this


Adding simple kernel module to pxe instance

RancherOS Version: (ros os version)
v1.4.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
baremetal with PXE

Hello I'm using RancherOS booting with PXE into my baremetal diskless servers, but i want mount /var/lib/docker to persist all docker info. I was tried with NFS, but docker not support that and the i will try with AOE, but that module is in extra-modules packages that are 100MB+ of content to my RAM memory when the aoe.ko module is less than 1MB.
So, how i can add the aoe.ko module directly into kernel???

Welll, finnaly is working, i need put in the Docker environment DOCKER_RAMDISK=true, and mount the NFS in another directory, because is solaping with the rootfs.

Are diskless servers, I cant do ros install, because are diskless....


Added model file.

Added new publisher and new model. TensorFlow 2.0 Question Answering competition at Kaggle.

@googlebot I signed it!

Hi @nascarr and thanks for your contribution!
Everything looks good -- there are just two more things:

Please change the publisher name to be identical to the GitHub handle (I am going to update the publishing documentation with this guideline soon).

Prior to accepting your pull request, we just need you to read & agree to the TensorFlow Hub terms of service at https://tfhub.dev/terms. If you feel comfortable moving forward, please add a comment "I have read and agree to the TensorFlow Hub Terms of Service" to this thread.

After that we'll be able to accept your pull request.
Let us know if you have any questions and thanks!

I edited the point (1) in the comment above, so just making sure you noticed.

@googlebot I fixed it

Hi @vbardiovskyg,
Thank you for the feedback!

It is good idea.  I changed nascar to nascarr everywhere.
I am going to add this comment right after this one.

I have read and agree to the TensorFlow Hub Terms of Service

Your model is now live: https://tfhub.dev/nascarr/nq/1, thanks for contributing!

Thank you!


Fix DSS API documentation

Instantiate DSSClient to generate the documentation for swagger API binding

Codecov Report

Merging #227 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #227      +/-   ##
=========================================
+ Coverage   83.39%   83.4%   +0.01%
=========================================
  Files          37      37
  Lines        1554    1555       +1
=========================================
+ Hits         1296    1297       +1
  Misses        258     258

Impacted Files
Coverage Δ

hca/dss/__init__.py
84.04% <100%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

(Also, in re: #146, whenever changing the doc build process, a good practice is to diff the output of the old build vs. the new.)


Empty output file for nanopolish call-methylation running on dRNA seq data

I am running dRNA sequencing for mammalian RNA on GridIon.
The output file for nanopolish call-methylation is empty with just the headers. It takes 3-4 hours to run on a workstation and still generating an empty output file.
However when I did for lamda control DNA seq data, the output file is generated nicely.
Please let me know what can I do to sort the issue.
Thankyou.

Hi,
I’m sorry but nanopolish can’t call methylation from dRNA data.
Jared

On Sep 12, 2021, at 6:51 AM, AnunayS @.***> wrote:

I am running dRNA sequencing for mammalian RNA on GridIon.
The output file for nanopolish call-methylation is empty with just the headers. It takes 3-4 hours to run on a workstation and still generating an empty output file.
However when I did for lamda control DNA seq data, the output file is generated nicely.
Please let me know what can I do to sort the issue.
Thankyou.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Will it be okay of I basecall the dRNA raw files using guppy configuration "dna_r9.4.1_450bps_hac.cfg" and then do the methylation calling.

Unfortunately that won't work, the basecalling models need to match whatever you sequenced.


select default mesos slave attributes on label match partial match

In situation where developers are using Configuration as Code, and specifying mesos label in scripted DSL (ex: mesos:myDockerContainer) would require label creation for N number of docker containers to be configured in Mesos Cloud config. Was observing in this case, slave attributes were not being honored and offers were accepted regardless.
Introduce enhancement to label matching to retrieve attributes, so in event of match on primary label configured as default (ex: mesos) for request(mesos:myDockerContainer) would match based on enhancement which first attempts to get exact match, then trims label provided to find a match also marked as default or otherwise, like previously, just return the provided label's attributes.
this enhancement provides to maintainers the ability to support slave info defaults in the event that users of the system want to use the default mesos attributes but would like to customize docker container being used.
Added UTs to test previous behavior still intact, as well as testing the enhancements.

Thanks for the patch @mreilly82. I will take a look tomorrow. Did you try out 2.x of the plugin? Also, I'm not sure setting the Docker image via the label is the way to go. One should use the Docker in Docker image and use Jenkins' agent { docker { image: ... } } declaration.

Hi @jeschkies thanks! Yes, at current moment the mesos version I am using in cluster is a bit dated and wasnt able to deploy 2.x, gave an exception needing 1.9 mesos, currently using 1.5. In using the scripted pipeline DSL, where container is derived from node("label:container"){...} observed the labels looking to be matched based on entire label being used.

Thanks for the changes. It seems JenkinsSchedulerTest is failing.

Hi @jeschkies I checked Test Result and it seems not all tests ran, re-triggered by push(no changes) and all tests ran this time. Thanks 👍

Thanks!


undefined reference to `cublasLtMatmulDescCreate'

Description
CUDA 11.6
cudnn 11.x 8.5

Reproduced Steps
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmulDescCreate'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmulAlgoConfigSetAttribute'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatrixLayoutDestroy'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtCreate'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmulAlgoInit'
/usr/bin/ld: ../../../lib/libGptJTritonBackend.so: undefined reference to `cublasLtMatmulDescCreate'
/usr/bin/ld: ../../../lib/libGptNeoXTritonBackend.so: undefined reference to `cublasLtMatmulDescCreate'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmulDescDestroy'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmul'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatmulDescSetAttribute'
/usr/bin/ld: ../../../lib/libParallelGptTritonBackend.so: undefined reference to `cublasLtMatrixLayoutCreate'

## cmake output

CUDA_VERSION 11 is greater or equal than 11, enable -DENABLE_BF16 flag
-- Assign GPU architecture (sm=70,75,80,86)
CMAKE_CUDA_FLAGS_RELEASE: -O3 -DNDEBUG -Xcompiler -O3 --use_fast_math
-- COMMON_HEADER_DIRS: /home/xx/dev/codes/work/toolchains/accformer/ft;/usr/local/cuda/include
-- Caffe2: CUDA detected: 11.6
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 11.6
-- Found cuDNN: v8.5.0  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)
-- /usr/local/cuda/lib64/libnvrtc.so shorthash is 4dd39364
-- Added CUDA NVCC flags for: -gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CMake Warning at /home/xx/.local/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
/home/xx/.local/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found)
CMakeLists.txt:210 (find_package)
-- USE_CXX11_ABI=False
-- Configuring done
-- Generating done
-- Build files have been written to:

Can you reproduce this issue in recommended docker?
If not, please check that the so files of cublasLt are included in your LD_LIBRARY_PATH.

@byshiue Hi, my cudnn and cuda are a very typical path on ubuntu, /usr/local/cuda without any fancy, why it can not found? Please have a look on my cmake ouptut, it says found cdnn, why said cudnn link error??

Does fasterransformer didn't support CUDA11.6 && cudnn8.5???? these undefined APIs are outdated. There should be cublasLtCreate_v2 on new one.

Try
ldd lib/libGptJTritonBackend.so

@byshiue hi.
ldd lib/libGptJTritonBackend.so                                                                                130 ↵
	linux-vdso.so.1 (0x00007f45ad363000)
	libcublas.so.11 => /usr/local/cuda/lib64/libcublas.so.11 (0x00007f459a000000)
	libcudart.so.11.0 => /usr/local/cuda/lib64/libcudart.so.11.0 (0x00007f4599c00000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f45999d6000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4599f19000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f45a37fa000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f45997ae000)
	libcublasLt.so.11 => /usr/local/cuda/lib64/libcublasLt.so.11 (0x00007f4584600000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f45a37f5000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f45a37f0000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f45a37eb000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f45ad365000)

@byshiue Can u please try on cuda11.6 && cudnn8.5?? I suspect your code didn't support this combination at all.............. It's really creepy for this code.

@byshiue Also, please give me an suggestion how to disable this triton backbone, Id on't need it at this moment...... I un bale to disbale it no matter what I do, when change cmakelist, it will change a lot thing........

@byshiue I don't konw how did u develop this lib:
 nm -D /usr/local/cuda/lib64/libcublas.so | grep cublasCreate
00000000001ca6e0 T cublasCreate_v2@@libcublas.so.11

Like I said new cudnn8.5 didn't have your code API calling, could u tell me how to run on cudnn8.5??

solved.

Hi @jinfagang, @byshiue I am also facing the same issue of undefined reference to cublasLtMatmulDescCreate while running make on latest main branch, using CUDA 10.2 on A100 GPU. Can you please let me know what the fix was to this.

This means the program cannot find correct cublaslt .so files in your LD_LIBRARY_PATH. You should check where are for your libcublaslt.so, and add the path into your environment variable.
That's why we suggest using the docker we list first because all environment are setup in the docker image.

okay, got it. Where can we locate libcublaslt.so in our system

By default, it should be at /usr/local/cuda/lib64/libcublasLt.so.


About the slurm setting

Thanks for your great work!
It seems that all the experiments require the slurm on multiple machines, right?

Hi,
Thanks for your interest in our work!
You can easily choose your launcher in the shell file, and run the NOAH.

Thanks for your quick reply!
But I found that even if I use the pytorch launcher, the code still can not run with the following bug:
srun: error: Unable to resolve "node0": Unknown host
srun: error: Unable to establish control machine address
srun: error: Unable to allocate resources: No error

Hi,
Thank you for the catch.

We will check this problem asap.
Since all our experiments require only one GPU,  you can use ''none'' as your launcher, it works.

Thanks!
It seems because there is always a srun in the commend.

For sure, srun is only for slurm

https://github.com/Davidzhangyuanhan/NOAH/blob/0b85ebe3641788eb8514897fec7319eafa8264e4/configs/Adapter/VTAB/slurm_train_adapter_vtab.sh#L26
If I changed the launcher from slurm to None, what should I do for the srun?

If I change the launcher from slurm to None, what should I do for the srun?
https://github.com/Davidzhangyuanhan/NOAH/blob/0b85ebe3641788eb8514897fec7319eafa8264e4/configs/Adapter/VTAB/slurm_train_adapter_vtab.sh#L26

Deleting  line26-line33 directly.

Thanks!
It works!
Suggest setting the single machine training as the default code.
After all, most researchers are not rich enough to have multiple machines for training and will be unfamiliar with the slurm code.

Thanks! It works! Suggest setting the single machine training as the default code. After all, most researchers are not rich enough to have multiple machines for training and will be unfamiliar with the slurm code.

Nice suggestion!
We will add the single machine training code as you recommend.

Another question.
When I use the none launcher, the experiments of different datasets are sequentially conducted on one GPU.
Is it possible to apply multiple GPU training using the none launcher?

The training set is very small and thus it seems we do not need multiple GPU training.

Thanks!

Enjoy NOAH!


fix(host-deployer): run guest on host and ignore no config file

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:
release/3.10

https://github.com/yunionio/cloudpods-operator/pull/1005


Support nested record fields

-json({person, {string, name}, {record, address, [type, address]}}).

It maps the address field as though it is a address record (apply the address json rule to that). During decoding the json object will be coverted to a record. Let us note that there is no need for a __rec meta attribute in the json object in this case.

Closed in 981c12b888ff971ccd3b976e8f711629de44f01a


Refactor TabularDataModule, introduce load_default_data

Propose to use load_default_data to load default data, instead of passing an argument to TabularDataModule.
Refactor code in TabularDataModule

This fixes #60, fixes #61, resolves #63, resolves #64

Looks great.


GIF Shader not working on A-frame 0.9.0

GIF shader does not work on versions above 0.2.0.
<!DOCTYPE html>
<html>
<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
  <script src="https://rawgit.com/mayognaise/aframe-gif-shader/master/dist/aframe-gif-shader.min.js"></script>
  <script src="https://rawgit.com/mayognaise/aframe-gif-component/master/dist/aframe-gif-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity geometry="primitive:box" material="shader:gif;src:url(https://media0.giphy.com/media/xT9IgsOaEG15pWz17y/giphy.gif);" gif=""></a-entity>
  </a-scene>
</body>
</html>

Warning display in the console: THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo().

@iburguera thank you for the information. I'd like to make sure, but what's the 0.2.0? Is it 0.9.0?

@mayoymi Hi! I mean 0.2.0 version of A-frame right. In the example code you provide, there is a link to A-frame version 0.2.0 which is working properly.
 <script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>

The issue is when I use the version 0.9.0 of A-frame that GIF animations are not appearing. I'm working on a project that uses that version and I need to add GIF animations to it.
Here you can find a example i made in codepen for testing purposes:

https://codepen.io/iburguera/pen/pYMJJq

If you change A-Frame version from 0.2.0 -> 0.9.0 GIF animations are not working.
Maybe changing this warning should fix it?
Warning display in the console: THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo().

@iburguera ah got it. haha, I haven't been updated for a while...
I will fix it this weekend. I need to check all PR & issues too!

Thank you very much @mayoyml really appreciate it.

@iburguera just let me know ill push it tonight 🙏

@iburguera 0.9.0 has published!
please see the link here:
https://www.npmjs.com/package/aframe-gif-shader

Works like a charm, you are awesome. Thank you very much!

Still not working i use same clone code


Update anomalies.cwt

vanilla fix, relative to 2.1.2 beta

Some stuff that wasn't meant to be here is here. I will commit the stuff that should be added from my end.