text:
react-native-vector-icons peer installation failed

Elliss-MacBook-Pro:AwesomeNativeBase` wshen$ npm install native-base --save
AwesomeNativeBase@0.0.1 /Users/wshen/git/myWork/AwesomeNativeBase
├─┬ native-base@0.3.0
│ ├─┬ color@0.11.1
│ │ ├── color-convert@0.5.3
│ │ └─┬ color-string@0.3.0
│ │   └── color-name@1.1.1
│ ├── lodash@4.11.2
│ ├── multiplier@0.1.0
│ └── react-native-checkbox@1.0.8
└── UNMET PEER DEPENDENCY react-native-vector-icons@~1.3.4

npm WARN native-base@0.3.0 requires a peer of react-native-vector-icons@~1.3.4 but none was installed.

Somehow the react-native-vector-icons always not installed.
I follow up the installation instruction (http://nativebase.io/docs/v0.3.0/getting-started) by using "rnpm link" doesn't seem to link the package correctly.
Do I have to install react-native-vector-icons manually?

I think I found the reason why the linking doesn't work.
The react-native-vector-icons's font.gradle hard coded the rootProject name.
I failed the linking because my rootProject name is not same with the definition in setting.gradle.

repo: GeekyAnts/NativeBase


text:
iOS Textarea: cursor is in the middle

Description
iOS Textarea: cursor is in the middle
CodeSandbox/Snack link
https://snack.expo.dev/@hirehouse/465fa1?platform=ios
Steps to reproduce
TextArea component in iOS has the cursor and placeholder in the middle of the input.
NativeBase Version
3.4.0
Platform

[ ] Android
[ ] CRA
[ ] Expo
[X] iOS
[ ] Next

Other Platform
No response
Additional Information
No response

Upgraded to version 3.4.15 and it looks like it is fixed! Thank you!

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
No drivers loading on Bigsur UHD Config.plist

When switching over to the Latest UHD Config.plist for BigSur the system halts on boot due to driver issues.
See screen

Ok so i have rewritten the Drivers section array to the correct format and managed to get to boot up.
I am still however unable to get the HDMI output working.
it works if i boot to restore, but not in normal boot.


text:
feature proposal - expose sqs push message options to client publish methods

this needs a change in following files:

https://github.com/GemunIon/nestjs-sqs/blob/master/src/sqs.client.ts#L54
https://github.com/GemunIon/nestjs-sqs/blob/master/src/sqs.serializer.ts#L5

why do you want to have it public?

authors: IzioDev TrejGun

repo: Gemunion/nestjs-sqs


text:
Invalidate Non-Cacheable Models

Firstly, thank you very much for this great package!
Is your feature request related to a problem? Please describe.
While using this package in my project I have found that some of my models which do not have the Cacheable trait, for example the User model, get cached as part of any eager loads with models that have the Cacheable trait.
For example:
Team: has Cacheable
User: doesn't have Cacheable
App\Team::with('users')->find(1);

The above will cache the result which will contain the team details as well as all user details. The problem arises when a user changes their details. When the above is rerun the result will not reflect the changes as the cache was not invalidated.
I believe this is because the User model doesn't have the Cacheable trait in the first place, it will also not have the ModelCaching trait which adds the necessary listeners to invalidate the cache with the model's tag.
Describe the solution you'd like
I believe what is required is a generic trait that can be applied to all the models (which do not have the Cacheable trait) within the application so that all changes will cause a cache invalidation for that tag.
I had a quick go at how that trait might look just to demonstrate the principle. There are still a few kinks I still need to work out, such as just using the Caching trait doesn't quite work.
<?php

namespace App\Traits;

use Illuminate\Support\Facades\Artisan;
use GeneaLabs\LaravelModelCaching\Traits\Caching;

trait InvalidateCacheable
{

    use Caching;

    protected static function bootInvalidateCacheable()
    {
        static::created(function ($instance) {
            $instance->clearModelCache();
        });

        static::deleted(function ($instance) {
            $instance->clearModelCache();
        });

        static::saved(function ($instance) {
            $instance->clearModelCache();
        });
    }

    protected function clearModelCache()
    {
        $this->flushCache();

        // OR

        // Artisan::call(
        // 	'modelCache:clear',
        // 	[
        // 		'--model' => get_class($this),
        // 	]
        // );
    }
}

Describe alternatives you've considered
An alternative would be to disableCache for all queries that reference a model that does not have the Cacheable trait. This is a perfectly feasible work around, however, it does rely on always remembering to do this which I don't believe is possible, especially in a team of developers.
I am happy to work on this if it makes sense and I haven't missed something that already exists in the package.

@Hornet-Wing Thanks for writing this up with all the details. I will look into this over the next few weeks (I've been out of the office for the past 2 weeks).

@mikebronner If you can give me some guidance on the direction you'd like to go with this I am more than happy to submit a pull request.

@Hornet-Wing Thanks! The most helpful for me would be if you could PR a failing unit test.

Closing this for now. Please open a new issue if you continue to have this problem.

authors: Hornet-Wing mikebronner

repo: GeneaLabs/laravel-model-caching

license: mit

license_source: bigquery


text:
ID field missing

Issue
Switched from standard model to the CachedModel interface and immediately ran into a problem where I could not access the id of an entry if I had done some manual caching previously.
Environment
Laravel Version: 5.5.34
Laravel Model Caching Package Version: 0.2.21
PHP Version: 7.2
Homestead Version: N/A
Operating System & Version: Elementary OS Loki
Stack Trace
No stack trace available

This was actually my fault, I specified exactly what columns I wanted and failed to put them in an array.


text:
typo fix in config/laravel-model-caching.php

currently not retrieving the correct variable from .env file

Coverage remained the same at 97.818% when pulling d1adbf94591b83814af853d8baa33379f9129033 on rssawhney:typo-fix into 563893830aa07b24d8a7d8a860187abd8ea242c3 on GeneaLabs:master.

Coverage remained the same at 97.818% when pulling d1adbf94591b83814af853d8baa33379f9129033 on rssawhney:typo-fix into 563893830aa07b24d8a7d8a860187abd8ea242c3 on GeneaLabs:master.

!!! Thanks for catching that!! sheesh :)

source: gharchive/pull-request

authors: coveralls mikebronner rssawhney


text:
[ERROR] dagger_p2p - failed connect Unspecified

I get multiple errors per second since today. Last finalize was at 2024-02-02T19:43:08.777833349+01:00
Now I get
2024-02-02T23:22:16.883270034+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.883294591+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.883315410+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.884219590+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.884251942+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.884270588+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.884289314+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.884309722+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.885293024+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.885416040+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.885443753+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.885466987+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.885500411+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.886216100+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.886291404+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.886337272+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.886377027+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.886410081+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.887210542+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.887244949+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.887265547+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.887284424+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-02T23:22:16.887302439+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }

btw after restarting it its finalizing again but of course i dropped out of the network because of this issue :(

Thank you for reporting this. Can you please provide the following information:

your node's ID
what server hosting provider you're using (if using one, if not, just say residential or if its collocated in a datacenter please provide the datacenter information)
geographic location of your node
wield version currently running

7suZGsUkF3kgm8AeHzfGLUqiDUKHCFVPfLQPT4i5WjKU
netcup
ANX84, Nürnberg, Germany
0.8.1

Had it again... Anything I could do against it?
2024-02-15T20:55:03.777951159+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }

here the most recent error logs before the failed connect Unspecified started
2024-02-15T20:28:19.465164907+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:28:19.476750797+01:00 [ERROR] log_panics - thread 'wield-metrics-agent' panicked at 'Client::new(): reqwest::Error { kind: Builder, source: Os { code: 24, kind: Uncategorized, message: "Too many open files" } }': /.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.22/src/blocking/client.rs:877
2024-02-15T20:28:19.483476175+01:00 [ERROR] log_panics - thread 'controller' panicked at 'called Result::unwrap() on an Err value: "SendError(..)"': dagger-logger/src/metrics.rs:439
2024-02-15T20:28:20.078407417+01:00 [ERROR] log_panics - thread 'comms' panicked at 'controller will not drop receiver: SendError { .. }': core/src/p2p/message/handlers/client.rs:434
2024-02-15T20:28:20.342267552+01:00 [ERROR] log_panics - thread 'comms' panicked at 'controller will not drop receiver: SendError { .. }': core/src/p2p/message/handlers/client.rs:434
2024-02-15T20:28:21.326915707+01:00 [ERROR] log_panics - thread '' panicked at 'called Result::unwrap() on an Err value: "SendError(..)"': dagger-logger/src/metrics.rs:439
2024-02-15T20:29:20.110292926+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.110476537+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.110685015+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.110859188+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.111156898+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.111176975+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.111426253+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.112759301+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.112838562+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.112854723+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.113021471+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.113409453+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.113448699+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.113502521+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.113610117+01:00 [ERROR] dagger::p2p::graph::event - Failed to save event in database: IO error: While open a file for random read: /mnt/dag/historydb/071436.sst: Too many open files
2024-02-15T20:29:20.118126020+01:00 [ERROR] log_panics - thread 'dagger-toplevel' panicked at 'graph -> controller bundle sender panic: SendError { .. }': core/src/p2p/graph/dagger.rs:2127
2024-02-15T20:29:20.119164345+01:00 [ERROR] log_panics - thread '' panicked at 'graph module should never drop sender: RecvError': core/src/p2p/graph/dagger.rs:4184
2024-02-15T20:29:20.507027014+01:00 [ERROR] dagger_p2p - failed connect Unspecified { source: Location { file: "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/s2n-quic-transport-0.31.0/src/endpoint/connect.rs", line: 148, col: 40 } }
2024-02-15T20:29:20.507185407+01:00

authors: sgimborn tracy-codes

repo: GenesysGo/dagger-testnet-issues


text:
🛑 WWWW xyz is down

In 2637f40, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 502
Response time: 2785 ms

Resolved: WWWW xyz is back up in e89653b after 17 minutes.

repo: GentlemanHu/own-status


text:
🛑 AI flowise is down

In c4b85ac, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 08c8c84 after 22 minutes.


text:
Move files between PC and device

possibility to move files from the mobile phone to PC and From PC to mobile phone

When enabling MTP, scrcpy disconnects and you have to relaunch it. Either fixing that or allowing drag n drop for files would make this tool way more useful.

from PC to device

how would you select the target destination?
there is already a drag&drop feature to install APK: what if you want to copy an apk to the device?

from device to PC

how would you select the file at all?
how would you select the target destination?

I do not know how easy it is. I would simply like to be able to move files bi-directionally

Transferring file from PC to device is implemented by https://github.com/Genymobile/scrcpy/pull/226.
I see no way to do the reverse (how to select the file on the device?), so I think I can close this issue.

Transferring file from PC to device is implemented by #226.
I see no way to do the reverse (how to select the file on the device?), so I think I can close this issue.

to select the file on the device simply you could use an external application to select the files from it and transfer them to computer.
transferring files from device to host through wireless would be much easier than some other applications which need so many handshakes like Samsung flow or Airdroid (which is I don't trust them at all) so it's completely a cool feature.

Hi, I really like scrcpy. I find several topics to request file transfer feature from device to PC, and I also like this idea.
How about operate like this:

user press a hot key
popup a android file explorer, which looks like windows file explorer, and shows folders and files from device
drag & drop files from android file explorer to PC
the selected files are pulled from device to PC

Thank you for your great job on scrcpy!

Hi, I really like scrcpy. I find several topics to request file transfer feature from device to PC, and I also like this idea.
How about operate like this:

user press a hot key
popup a android file explorer, which looks like windows file explorer, and shows folders and files from device
drag & drop files from android file explorer to PC
the selected files are pulled from device to PC

Thank you for your great job on scrcpy!

yes

From Mobile To PC
To transfer files from mobile to pc you can use  android studio.
-> in the right conrner click tap devices and files explorer in this tab you will find all your device files system

Simple GUI file manager will be fine like in Myphoneexplorer or like in https://www.tightvnc.com/download.php

or just a simple set of CLI commands because they alone could get a lot of things done

authors: AhmedGodaa Aryan1304 RedMoonOTInetwork SuggonM alexanderbystander khallaghi necros2k7 redgitid rom1v wickyhu

repo: Genymobile/scrcpy


text:
right Alt not working?

INFO: scrcpy 1.16 https://github.com/Genymobile/scrcpy
x/server/scrcpy-server: 1 file pushed,...ed. 103.8 MB/s (33622 bytes in 0.000s)
[server] INFO: Device: OPPO CPH1969 (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 435.21
INFO: Trilinear filtering enabled
INFO: Initial texture: 880x1912
previously i was using right side Ctrl...
for some reason it was changed to Alt/Super?
Either way left Alt/Super works fine but not the right Alt/Super. Is this intended?

for some reason it was changed to Alt/Super?

Yes, everything is explained in highlights from v1.15 and #1702

previously i was using right side Ctrl...

If you still want this behavior:
scrcpy --shortcut-mod=rctrl

(but then, right-Ctrl would not be forwarded to the device)

Either way left Alt/Super works fine but not the right Alt/Super.

Yes, default is --shortcut-mod=lalt,lsuper. ralt is AltGr on some keyboards, and rsuper is sometimes a special key too.


text:
scrcpy doesnt work for me on wi fi, and sndcpy doesnt work at all

[x] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

There is absolutely no information in your issue.
What commands did you execute? What was the output?
I'm closing. Feel free to reopen it once you provided more details.

There is absolutely no information in your issue.
What commands did you execute? What was the output?
I'm closing. Feel free to reopen it once you provided more details.


text:
Getting error in create build

./run x
INFO: scrcpy 1.19 <https://github.com/Genymobile/scrcpy>
x/server/scrcpy-server: 1 file pushed. 1.8 MB/s (37382 bytes in 0.019s)
WARN: Killing the server...
CRITICAL: Requested to kill 0, this is an error. Please report the bug.
./run: line 23: 352248 Aborted                 SCRCPY_SERVER_PATH="$BUILDDIR/server/scrcpy-server" "$BUILDDIR/app/scrcpy" "$@"

what was i mising

Did you do any modification to the source code before building?

Does it always happen? Could yoj reproduce in 1.20?

Yes, i running a server using the following command
CLASSPATH=/data/local/tmp/classes.dex app_process / com.genymobile.scrcpy.Server "1.19" "verbose" 8  "999999999"  "20"   "1" "true" "9999:9999:0:0"    "true"  "true"  "0"  "true"   "-" "-"  "-" "false"

I need to edit a source. can you help me to edit the code.

Let me know your skype or any other contact details. We will discuss about this.

WARN: Killing the server...
CRITICAL: Requested to kill 0, this is an error. Please report the bug.

Indeed, in v1.19, when the server failed to start, the client code still attempted to kill it, which was an error. It has been solved by the refactors done in v1.20.
Now, in v1.20, the client will not assert/crash.
However, app_process may still crash on the device (the Aborted you see in the logs).
Try to start the command manually (independent of scrcpy):
adb shell 'CLASSPATH=… app_process …'

Typically, it aborts that way if it does not find the class you want to run.

CLASSPATH=/data/local/tmp/classes.dex

Maybe try to rename to .jar: 83ace842809034f8076296a338c017e49519f068 (but it should work also with .dex).
Verify that the file exists and has correct permissions on the device.
Try to execute manually with the exact same values as scrcpy pass…

I trying to connecting to build a pre build server. exactly i need i make one android reverse reverse shell application and it was listening in netcat. now i trying to connect that device actually. Let me know your skype id for further discussion

Let me know your skype id for further discussion

Sorry, I have no time to give support for people's own projects.
I often answer to questions on issues (like I did just above), but I will not investigate more if this is not a problem in scrcpy itself.


text:
Scrcpy closes after a few seconds

scrcpy-server.jar: 1 file pushed. 0.6 MB/s (19342 bytes in 0.032s)
INFO: Initial texture: 720x1280
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
[h264 @ 000000000261cd00] corrupted macroblock 5 31 (total_coeff=-1)
[h264 @ 000000000261cd00] error while decoding MB 5 31
[h264 @ 000000000261cd00] concealing 2249 DC, 2249 AC, 2249 MV errors in P frame
WARN: Cannot terminate server

Having this issue.

Immediately? Or after some time?
Related: https://github.com/Genymobile/scrcpy/issues/281.

After a few seconds, I can control it for a few seconds 2-3 seconds. Then It closes and all errors are
adb: error: failed to get feature set: device offline
ERROR: "adb push" returned with value 1

OK, so you lost the adb connection. What is the result of adb devices when this happens?

I think i found out the issue. There was not enough power to the USB.

Try another resolution, I got the same error using the default one (1080x2336 on my phone), it works when then I tried scrcpy -m 1024  which lower the resolution to 472x1024.

going through some trouble
INFO: scrcpy 1.16 https://github.com/Genymobile/scrcpy
C:\Users\arino\Downloads\scrcpy-win64-v1.16\scrcpy-server: 1 file pushed, 0 skipped. 7.0 MB/s (33622 bytes in 0.005s)
[server] INFO: Device: HUAWEI INE-LX2r (Android 9)
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xfffffc0e
at android.media.MediaCodec.native_configure(Native Method)
at android.media.MediaCodec.configure(MediaCodec.java:1967)
at android.media.MediaCodec.configure(MediaCodec.java:1896)
at com.genymobile.scrcpy.ScreenEncoder.configure(ScreenEncoder.java:205)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:84)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:55)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:76)
at com.genymobile.scrcpy.Server.main(Server.java:225)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371)
[server] ERROR: The hardware encoder is not able to encode at the given definition.
[server] ERROR: Try with a lower definition:
[server] ERROR:     scrcpy -m 1024
Exit due to uncaughtException in main thread:
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336
WARN: Device disconnected
anyone knows how to fix this/

anyone knows how to fix this?

Yes, your error message says:
[server] ERROR: The hardware encoder is not able to encode at the given definition.
[server] ERROR: Try with a lower definition:
[server] ERROR: scrcpy -m 1024

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#exception

anyone knows how to fix this?

Yes, your error message says:
[server] ERROR: The hardware encoder is not able to encode at the given definition.
[server] ERROR: Try with a lower definition:
[server] ERROR: scrcpy -m 1024

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#exception

so wait how do i fix it?

anyone knows how to fix this?

Yes, your error message says:
[server] ERROR: The hardware encoder is not able to encode at the given definition.
[server] ERROR: Try with a lower definition:
[server] ERROR: scrcpy -m 1024

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#exception

how do i change it to a lower definition

Execute scrcpy -m 1024: https://github.com/Genymobile/scrcpy/blob/wincli/FAQ.md#command-line-on-windows

Execute scrcpy -m 1024: https://github.com/Genymobile/scrcpy/blob/wincli/FAQ.md#command-line-on-windows

i still cant figure it out it says this commmand cannot find opperatble program or some stuff can you give me a step by step on how to do this

it says this commmand cannot find opperatble program or some stuff

Copy the exact command you typed and the exact error message.

Microsoft Windows [Version 10.0.18363.1256]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\arino>...\scrcpy-win64-xxx
'...\scrcpy-win64-xxx' is not recognized as an internal or external command,
operable program or batch file.

No but in this guide, at step 3 you have to adapt the path. Where is your scrcpy folder? For example, if its name is scrcpy in your download folder, type cd C:\Users\arino\Downloads\scrcpy.

tried em all didnt work
C:\Users\arino>\downloads\scrcpy
The system cannot find the path specified.
C:\Users\arino>\downloads\scrcpy-win64-v1.16
The system cannot find the path specified.
C:\Users\arino>\Downloads\scrcpy-win64-v1.16
The system cannot find the path specified.
C:\Users\arino>C:\Users\arino\Downloads\scrcpy
'C:\Users\arino\Downloads\scrcpy' is not recognized as an internal or external command,
operable program or batch file.
this is the file name scrcpy-win64-v1.16

But you absolutely don't type the command I pasted. cd then space, then C:\............
cd C:\Users\arino\Downloads\scrcpy-win64-v1.16

Sorry, I can't help more.

im new to these commands thats why i asked for steps like 1. do this , 2. type this

hi guys i am new to scrcpy 2.1.1
i want to ask when i connect my NOKIA 3.4 phone via wirelessly.
i got screecopy on my PC wirelessly in same network (like HOME is my wifi name) of my NOKIA phone.
but once my phone disconnected from HOME wifi and get reconnect within same network again
i cannot able reaccess or screencopy my phone
however, i have to make all process again from the 1st step like this.
1==> go to phone settings/developer mode/usb debugging mode=ON
2==> connect phone to PC / allow alwaz this mobile
3==> open scrcpy terminal cmd
4==> adb devices (device serial number shown under)
5==> next
6==> adb tcpip 5555
7==> restarting in TCP mode port: 5555
8==> adb connect 192.168.10.7:5555
9--> connected to 192.168.10.7:5555
I have to remake all these processes again n again after once device disconnected from Wi-Fi and reconnected again in same network.
after reconnected if i make again this command
8==> adb connect 192.168.10.7:5555
it's given me error.
cannot connect to 192.168.10.7:5555: No connection could be made because the target machine actively refused it. (10061)
can somebody have a proper solution for this?
that i don't want to connect my phone again n again
Whynot it can save always for once.
Thanks in advance.
slemon slim


text:
How to run scrcpy command on android client?

I want to test phone to phone scrcpy latency , but I do not know how to enter command to change settings.
Thanks for Answering my question.

You can't run scrcpy from an Android phone.

OK, thanks.


text:
Bump lint and use bytes instead of reflect

Bump lint and use bytes equal instead of reflect.

Codecov Report

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

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   32.16%   32.23%   +0.06%
==========================================
  Files          12       12
  Lines        6006     6006
==========================================
+ Hits         1932     1936       +4
+ Misses       3716     3713       -3
+ Partials      358      357       -1

Impacted Files
Coverage Δ

client.go
63.39% <0.00%> (+2.61%)
: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 e0057b5...9d61876. Read the comment docs.

authors: codecov-io ferhatelmas

repo: GetStream/stream-chat-go


text:
Add webhook logging system

I think the webhook should be in my test server so we don't clog up the channels on the Geyser Discord but it could be anywhere

I'm not sure if the polling system with setInterval is clean but it works and it groups messages together

repo: GeyserMC/GeyserDiscordBot


text:
Janus ID should be u64 ?

In commit https://github.com/Ghamza-Jd/jarust/commit/7e97c4a3ecc41cf06dbffec120f452fa3ebd0596 janus ID were downgraded to u32 but to me this looks wrong.
For instance, audio room ID are u64 https://github.com/meetecho/janus-gateway/blob/master/src/plugins/janus_audiobridge.c#L1477. But it looks like most (all ?) plugins tracks ID using u64.
The json type used for ID is json_int_t (https://jansson.readthedocs.io/en/latest/apiref.html#c.json_int_t) which is "long long" so still 64bit.
What did justify this downgrade to u32 ? In the commit it says that e2e tests revealed that, but in my experience (limited to the streaming plugin), u64 works just fine.
Thanks

Hey - Thanks for raising this!
Actually you're right it should be u64, but I think I found what's wrong.
json_int_t is a long long but not unsigned long long, so anything above u64::MAX / 2 is considered invalid and getting this
{
   "janus": "error",
   "error": {
      "code": 454,
      "reason": "Invalid Janus API request - <string>(1,68): too big integer near '9223372036854775817'"
   }
}

Janus is expecting a positive JSON_INTEGER
https://github.com/meetecho/janus-gateway/blob/230f6e7196dcae6491dee3ae76a3136821b03e21/src/plugins/janus_audiobridge.c#L1278

Indeed, it expects positive i64. I was a bit concerned that you encountered some bugs around the fact that json integers are limited to 2^53 precision (https://stackoverflow.com/a/16810116), but this limitation is more related when interfacing with javascript from what I understand.

I've created a U63 type, https://github.com/Ghamza-Jd/jarust/blob/fix/minor-fixes/jarust_plugins/src/common.rs
Let me know what do you think

Looks good to me. Thanks for looking into that quickly ;)

authors: Ghamza-Jd fcx-mrogez

repo: Ghamza-Jd/jarust


text:
React 16 compatibility

Hi and thank you for this awesome package.
Would it be possible to make it compatible with React16 by using the prop-types instead of React.PropTypes?

Oh, seems like there's an open PR for it: #13

Thank you very much for your suggestion. I have made a change


text:
(feature) Add Amazon S3 backend

This PR adds Amazon S3 backend support to Nuts. Assets are proxied through Nuts and do not need to be public. Access to the assets is facilitated through Amazon access key and secret key which can be set through environment variables. This is a rudimentary implementation and serves as a base.
Added Environment Variables

NUTS_BACKEND: Select backend to use. (github, s3)
AWS_ACCESS_KEY_ID: Your AWS Access Key ID which can access the assets
AWS_SECRET_ACCESS_KEY: Your AWS Secret Access Key
AWS_BUCKET: The Amazon S3 bucket containing the assets (Ex: my-bucket)
AWS_RELEASES_PREFIX: An optional path prefix to the releases. (Ex: my-app/releases)

Although I'm not a maintainer, I wonder if the configuration for backends should be contained per backend.
So for example, rather than opts.credentials.aws.* and opts.configuration.aws.*
perhaps it should be opts.backends.aws.* ?
Also to avoid clashes with other software on a system, perhaps the env items should all start with NUTS with a failover to a non-NUTS prefix. So for example instead of
accessKeyId: process.env.AWS_ACCESS_KEY_ID
it becomes:
accessKeyId: process.env.NUTS_AWS_ACCESS_KEY_ID || process.env.AWS_ACCESS_KEY_ID
That way users can have the aws access key defined once for all their apps if they want or if they have different permissions for different apps there is a NUTS specific aws access key that can be used?

I agree, the configuration should be compartmentalized per back-end. I implemented it this way to have less friction with the current structure. Overall, I agree with you however. I used the generic AWS env keys, because it worked for my use-case (I'm setting the same ENV for AWS for multiple processes). You could even specify an ENV key to use, or otherwise fall back to the default as it is.

Hi, I merged the project to a new repo to start maintain it, I would be glad if you can put your pull request here : https://github.com/loprima-l/nuts-2

authors: loprima-l mariotacke solgarius

repo: GitbookIO/nuts


text:
Use normalize: false in noBlocksWithinCell

Fixes GitbookIO/slate-edit-table#62.

Thank you

authors: Soreine yangchristian

repo: GitbookIO/slate-edit-table


text:
🛑 rapishare is down

In f311636, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 8498380 after 36 minutes.


text:
🛑 rapishare is down

In 69a532d, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 3d8654a after 57 minutes.


text:
🛑 sohu is down

In ec4f116, sohu (sohu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sohu is back up in e3833d4 after 18 minutes.


text:
🛑 orkut is down

In 88e9ad6, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in e27a6fd.


text:
🛑 orkut is down

In 3118d8d, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in c4c9a33.


text:
🛑 orkut is down

In 55b2870, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in e6ecb26.


text:
🛑 orkut is down

In 8030aca, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 6c50c5b.


text:
🛑 orkut is down

In 102b479, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 8d2098f.


text:
🛑 orkut is down

In 80c2a75, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 249 ms

Resolved: orkut is back up in 4dfe2b7.


text:
🛑 fantasti is down

In 02deba6, fantasti (fantasti.cc) was down:

HTTP code: 500
Response time: 592 ms

Resolved: fantasti is back up in 2cf18ca.


text:
🛑 mynewsize is down

In 10dc2a7, mynewsize (mynewsize.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mynewsize is back up in cf8de4e.


text:
🛑 feest-start is down

In 3003638, feest-start (feest-start.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: feest-start is back up in 86b3f69.


text:
🛑 inkcityusa is down

In ca5040f, inkcityusa (inkcityusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: inkcityusa is back up in 5c8fc37.


text:
🛑 ojolink is down

In f23b01c, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 512 ms

Resolved: Ojolink is back up in 97db429.


text:
🛑 ojolink is down

In 508a5a2, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 392 ms

Resolved: Ojolink is back up in 9dc17ea.


text:
🛑 ojolink is down

In 9555650, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in c38acd2.


text:
🛑 ojolink is down

In 4cae6d6, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 863bab2.


text:
🛑 carlinha is down

In ccd5fb1, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in 6eac057.


text:
🛑 ojolink is down

In fe1035e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in daf4a89.


text:
🛑 ojolink is down

In cee1e37, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 478bfde.


text:
🛑 ojolink is down

In f4a945a, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 9df64f0.


text:
🛑 ojolink is down

In 764ebd5, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f1d6419 after 8 minutes.


text:
🛑 ojolink is down

In 32891b5, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 60669ae after 9 minutes.


text:
🛑 carlinha is down

In c1170ab, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in af6a535 after 19 minutes.


text:
🛑 carlinha is down

In e9c2b08, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in 2e0adf8 after 17 minutes.


text:
🛑 asgreenas is down

In dc186af, asgreenas (asgreenas.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: asgreenas is back up in 01e2b76 after 18 minutes.


text:
🛑 mynewsize is down

In 6dfc55b, mynewsize (mynewsize.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mynewsize is back up in 9967b79 after 1 hour, 17 minutes.


text:
🛑 gadgethouse is down

In 92e55ee, gadgethouse (gadgethouse.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gadgethouse is back up in 5df5ac6 after 35 minutes.


text:
🛑 carlinha is down

In e104c7b, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in c724a38 after 17 minutes.


text:
🛑 uzboys is down

In 38ad598, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in 7be62f6 after 17 minutes.


text:
🛑 ojolink is down

In 6c84996, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 9cd5dfc after 8 minutes.


text:
🛑 ojolink is down

In 0a650f3, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in ef3b0fc after 25 minutes.


text:
🛑 ojolink is down

In 433420c, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f280715 after 8 minutes.


text:
🛑 ojolink is down

In 37c8a2d, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f32b3c4 after 18 minutes.


text:
🛑 twoc is down

In 08d9a3e, twoc (twoc.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: twoc is back up in 9320a67 after 1 hour.


text:
🛑 torrentzap is down

In 586f81e, torrentzap (torrentzap.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: torrentzap is back up in 7f3b211 after 43 minutes.


text:
🛑 gadgethouse is down

In d0e9d16, gadgethouse (gadgethouse.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gadgethouse is back up in f30f9e2 after 10 hours, 42 minutes.


text:
🛑 ojolink is down

In d56f77c, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f7cb169 after 11 minutes.


text:
🛑 ojolink is down

In a9244f4, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in a357f05 after 7 minutes.


text:
🛑 orkut is down

In 7dae3ef, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 9b9e7c8 after 28 minutes.


text:
🛑 ojolink is down

In a2ea5e6, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f4bf5ed after 9 minutes.


text:
🛑 orkut is down

In c02de09, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 9297c93 after 7 minutes.


text:
🛑 harlotwear is down

In 1a3cda3, harlotwear (harlotwear.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: harlotwear is back up in eed7544 after 16 minutes.


text:
🛑 torrentzap is down

In 5efdc81, torrentzap (torrentzap.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: torrentzap is back up in c016455 after 2 hours, 35 minutes.


text:
Can't update from  0.29.14 to 0.29.16

Description
I'm trying to update it from 0.29.14 to 0.29.16 using cmd (apm update) and I always get errors.
Installing atom-beautify@0.29.16 to C:\Users\Guy and Noam.atom\packages failed

atom-beautify@0.29.16 postinstall C:\Users\GUYAND~1\AppData\Local\Temp\apm-ins
tall-dir-11705-444-ipu1g2\node_modules\atom-beautify
npm run build-options

C:\Users\GUYAND~1\AppData\Local\Temp\apm-install-dir-11705-444-ipu1g2
`-- (empty)
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@0.2.12: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated node-uuid@1.4.0: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
'C:\Users\Guy' is not recognized as an internal or external command,
operable program or batch file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\GUYAND~1\AppDa
ta\Local\Temp\apm-install-dir-11705-444-ipu1g2\package.json'
npm WARN apm-install-dir-11705-444-ipu1g2 No description
npm WARN apm-install-dir-11705-444-ipu1g2 No repository field.
npm WARN apm-install-dir-11705-444-ipu1g2 No README data
npm WARN apm-install-dir-11705-444-ipu1g2 No license field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Users\Guy and Noam\AppData\Local\atom\app-1.12.9\resour
ces\app\apm\bin\node.exe" "C:\Users\Guy and Noam\AppData\Local\atom\ap
p-1.12.9\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconf
ig" "C:\Users\Guy and Noam\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Gu
y and Noam\.atom\.apmrc" "install" "C:\Users\GUYAND~1\AppData\Local\Temp
\d-11705-444-1wtk6mo\package.tgz" "--runtime=electron" "--target=1.3.13" "--arc
h=ia32" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! atom-beautify@0.29.16 postinstall: npm run build-options
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the atom-beautify@0.29.16 postinstall script 'npm run build-o
ptions'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the atom-beautify package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build-options
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs atom-beautify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls atom-beautify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\GUYAND~1\AppData\Local\Temp\apm-install-dir-11705-444-ipu1
g2\npm-debug.log
npm ERR! code 1
Input Before Beautification
no code
Expected Output
no  code
Actual Output
no code
Steps to Reproduce
Open cmd, wrote "apm update" and enter when I was asked to update atom-beutify
Debug
Here is a link to the debug.md Gist:
Checklist
I have:

[ ] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[ ] Reloaded (or restarted) Atom to ensure it is not a caching issue
[ ] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information and added link for debug.md Gist to this issue

I think this is a duplicate of #1043

And #1434, which is now closed by means of atom/apm#666

authors: Guy-Markman jolsenmultiad


text:
error in PipelineClient("example.com:"): strconv.Atoi: parsing

os: windows
10 connections with 1 pipelining factor.
⠋ 2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
R2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
u2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
n2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
n2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
i2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
n2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
g2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
 2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
A2021/02/18 22:28:11 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
⠦ Running Autocannon... 2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
 2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax
 2021/02/18 22:28:21 error in PipelineClient("example.com:"): strconv.Atoi: parsing "": invalid syntax

hey @c33s, Could you share the actual command you ran this with? Thanks.

I got the same error with
./autocannon --pipelining=10 --uri=https://google.com

I also got same error
go run autocannon.go --pipelining=10 --uri=https://google.com
2022/04/14 09:42:05 error in PipelineClient("google.com:"): strconv.Atoi: parsing "": invalid syntax

Fixed by #2

authors: GlenTiki c33s dansku surjit

repo: GlenTiki/autocannon-go


text:
Incompatibility with BCLib, Reforged button on anvil doesn't work

I'm trying to click on the reforge button in the anvil menu and it just doesn't work.

May have to do something with a mod incompatibility? I can send my log but i dont see an error for this.
Log: https://paste.ee/p/3InhH

Mh this is pretty bad, the good thing is you only have quadrillion mods installed xD
I have no idea what could cause this issue, maybe a screen editing mod

I have the same problem, and I found out why, I guess it's an incompatibility with BCLib
Here is the BCLib curseforge link: https://www.curseforge.com/minecraft/mc-mods/bclib

If you guys can narrow down the incompatibility, that would be super helpful :)
I will look into it when I have time for modding again

I'm pretty sure BCLib is what's causing the error, maybe some kind of incompatibility

I think a good temporary fix would be to add a keybind to switch to reforge screen...

Pretty sure this is the issue: https://github.com/paulevsGitch/BCLib/blob/main/src/main/java/ru/bclib/mixin/common/AnvilMenuMixin.java#L180
BCLib overrides the onclick method (different mappings) so the tiered injection won't get used
Can't make it compatible from my side, except adding a keybind which sucks

hmm i assume you'll open an issue for it then. or just make a pull request with it being an injection instead of override.

I assume you will open an issue :)

You guys are lazy!

I assume you will open an issue :)

Please respond to the developer in the ticket I opened on their github. It's linked here

Please address this

Any plans of applying these fixes to 1.18.2?

Yes, but there is no ETA as it currently has low priority. As far as I can tell, TieredZ can just change the mixing priority to override ours. Which should be absolutely fine. Our mixing is there to show UI in case there are multiple recipes for the same list of ingredients. I think that is not uses in 1.18.2 anyway.

https://github.com/quiqueck/BCLib/issues/28

authors: ConqAra Globox1997 Leonelecg itsdinkd jklw10 neilkirklin


text:
[Suggestion] Add min/max number providers for "amount" function in tiers

I don't think any loot tables in vanilla Minecraft use the min/max number providers for attribute "amount", but it can be done in vanilla for custom loot tables, for example this loot table I made: https://pastebin.com/Leyu9Td7 . As you can see, the attack damage modifier and the attack speed modifiers are using min/max, meaning you will get a random attack damage/attack speed somewhere between the min/max. I would like if this was supported in Tiers, as it allows for far more randomization and can make things even more interesting. For example, here is the Hasteful tier with the min/max number providers: https://pastebin.com/QRPXHeFM . It would average out to give players the same +10% dig speed, but if you are unlucky you could get only +5%, or if you are very lucky you could get +15%!

Sorry about the messed up formatting in the first pastebin. Not sure what happened there

This is currently not doable with the implemented system

Yes, this one is great and needed!

Lately I have no plans to add such a system.

authors: Globox1997 MJRamon RobertHDPotatoes


text:
chore(4.5): release 1.8.8

:robot: I have created a release beep boop
1.8.8 (2023-03-06)
Bug Fixes

add aws envs and unquote aws config (7e40c38)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/GluuFederation/cloud-native-edition/releases/tag/v1.8.8 :sunflower:

repo: GluuFederation/cloud-native-edition


text:
More Collectables

Have you considered adding Cracked Pots / Ritual Pots / Perfume Bottles ?
I usually collect those on every playthrough and I always end up wondering which ones I'm missing.

Sure that seems feasible. I'll add it to the list of todos

I did an initial version for perfume bottles in #68 - not fully tested and unsure if this is the format that would be the most helpful. Also doesn't include the DLC changes as I have not been able to get to it yet.

Perfume Bottle (Key item of the base game) added in b8ae803

Ritual pots via #71

#71 (Ritual pots) has been merged.

@ashemedai I wouldn't worry too much about alphabetical sorting at the moment. I usually end up copy and pasting the stuff that needs sorting alphabetically into a javascript console and running a sort on the names. I think quantity > quality in favor of more content is better than worrying about alphabetical.
The only time I would ever consider thinking about placement of items is ordering collectables by when you can get them (based on zone level) is better than alphabetically naming. I think you have been doing that for every PR I have seen where that would be required though.

@ashemedai The only time I would ever consider thinking about placement of items is ordering collectables by when you can get them (based on zone level) is better than alphabetically naming. I think you have been doing that for every PR I have seen where that would be required though.

Yeah, based on my own playthroughs, and what I have seen of others plus the relative strength of enemies, I have been trying to sort the collectables when most people would probably find and collect them.

I checked the gestures in game and they are not sorted alphabetically, nor is there a way to sort them by such. I believe they are currently in the same order as they are in game (besides the ones you automatically receive). But the DLC order is not the same as shown on the wiki  Hopefully someone could provide some screenshots for their order at some point

Everything in this request has now been added. Hefty Cracked Pots are from the DLC and still not added

authors: DanyBoyP123 Gobluebro ashemedai

repo: Gobluebro/Elden-Ring-Checklist


text:
Naming Convention

Prefix local (private) to file vars / funcs with _
Prefix classes that should only be used by the ModLoader with _
If a method is in a non-prefixed class and ModLoader Internal, but used outside of the private scope, prefix with _, use it outside the scope, but add a comment why it was used there

Reasoning:

underscore methods/vars should only be used within the same file
most classes should not be used by mods, only by the modloader. if they are prefixed with an underscore, no mod should access them and we are free to change the internal structure without breaking mods and needing deprecations
in some cases we need to use private methods outside of their file (_rotate_log_file for example) and the class is a public one (ModLoaderLog here). Since the method should not be accessible to mods, we are using a "private" method outside of its scope here - and that needs an explanation

repo: GodotModding/godot-mod-loader


text:
Fixes #861

Hi,
Please check out this change set, which fixes the following feature request:
https://github.com/GoodBoyDigital/pixi.js/issues/861
Possible use case scenario:

more than 1 spritesheets are used
both spritesheets have the same frame names

Best Regards!

With the rewrite the loader/cache system will be abstracted and rewritten. We will make sure to keep these cases in mind when doing so!

Great, thanks!

authors: englercj vpmedia


text:
Use meta / manifest description

Changed description getter to give preference to the manifest
description and use the metaDescription when the first is not
available

LGTM

authors: andreban juliantoledo

repo: GoogleChrome/gulliver


text:
docs(api.md): Update setViewport doc

Add required to height and width properties in setViewport function
fixes #3517

@Nazanin1369 thanks!

repo: GoogleChrome/puppeteer


text:
feat(launcher): Resolve remote debugging address

I use remote chromium in docker container and puppeteer in another container. I use option --remote-debugging-address=chromium (docker compose service name). It is necessary to resolve this address.

Why can’t you do the transformation yourself before launching puppeteer?

Closing this since we don't understand the necessity.

authors: aslushnikov hason


text:
We don't animate it we are just updating the view.

Fixes an issue where after updating a view, animations will no longer occur as we are stuck in a state of false animation. Scary!

I already fixed this! :D

authors: oliverdunk paullewis

repo: GoogleChrome/ui-element-samples


text:
Pointer event on ripple

You don't want the user to press the ripple while it is closing and open everything up again.

Good find. Thanks @Link2Twenty


text:
Create component specific loading & error states

A light gray overlay is displayed when the frontend is fetching data for a chart.  This overlay doesn't prevent clicking on any of the content or any other user interaction, which is confusing since it seems like the intent of the overlay would be to disable everything.
I got a long delay after changing the starting date for a feature to 2022, and it seemed like something must be broken.  I could see the spinning icon, though it was not very noticeable. but the fact that the UI was otherwise active suggested to me that something wasn't working properly and maybe the delay would be forever.  The data did eventually load, and the gray overlay was removed.

TODO: List out the components that need the loading state

TODO: Go back through the playwright tests that wait X seconds and instead wait for these loading states to be finished

For this iteration, focus only on:

Overview page

Page loading of the overview table. It should use the existing skeleton view in between pages

Feature detail page
Don't fetch unless the date year >= 2020
Rendering of the overlay should be specific to the overlay

authors: dlaliberte jcscottiii


text:
"NotSupportedError: ReadableStream uploading is not supported" errors in Safari

Library Affected:
workbox-sw
Browser & Platform:
Safari 12 on iOS 12
Issue or Feature Request Description:
When submitting a form that is registered with a route, I get the following error:
"NotSupportedError: ReadableStream uploading is not supported"
Everything works perfectly on Android and Chrome desktop on my Mac.
Here is the javascript, I'm using to register the routes:
const bgSyncPlugin = new workbox.backgroundSync.Plugin('ppSortMagicQueue');

    workbox.routing.registerRoute(
        '/Home/_SaveGallery',
        workbox.strategies.networkOnly({
            plugins: [bgSyncPlugin]
        }),
        'POST'
    );

Here is the request info from the debugger Network tab:
Summary
URL: https://sortmagic.redacted.net/Home/_SaveGallery
Status: —
Source: —

Request
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Referer: https://sortmagic.redacted.net/
Origin: https://sortmagic.redacted.net
User-Agent: Mozilla/5.0 (iPad; CPU OS 12_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
X-Requested-With: XMLHttpRequest

Response
No response headers

Request Data
MIME Type: application/x-www-form-urlencoded; charset=UTF-8
WebsiteId: 5140
EventID: 7671
EventName
token: Cl+ndF3l7owkH1+3bcO2AJQYB2gIfDtqt65uSDzoV2t8jeZZ+pf1ncOUn/1fntxv2lUS0T11AipCNgwUxiql7MGWyfDItQXY5tVsKYHWp/IByhrTJtZde1+E2t8IC+GE
GalleryName: jQKJ17Ij8
Password
X-Requested-With: XMLHttpRequest

**And here is the console output from Workbox:**

[Error] workbox – "Network request for '/Home/_SaveGallery' threw an error."
NotSupportedError: ReadableStream uploading is not supported
fetch
(anonymous function) — workbox-core.dev.js:1400
generatorResume
step — workbox-core.dev.js:14
(anonymous function) — workbox-core.dev.js:32
initializePromise
Promise
(anonymous function) — workbox-core.dev.js:11
(anonymous function) — workbox-strategies.dev.js:822
generatorResume
step — workbox-core.dev.js:14
(anonymous function) — workbox-core.dev.js:32
initializePromise
Promise
(anonymous function) — workbox-core.dev.js:11
generatorResume
step — workbox-core.dev.js:14
(anonymous function) — workbox-core.dev.js:32
initializePromise
Promise
(anonymous function) — workbox-core.dev.js:11
handleRequest — workbox-routing.dev.js:365
(anonymous function) — workbox-routing.dev.js:835
	_print (workbox-core.dev.js:132)
	(anonymous function) (workbox-core.dev.js:1407)
	generatorResume
	step (workbox-core.dev.js:14)
	(anonymous function) (workbox-core.dev.js:27)
	promiseReactionJob

Thanks for your help!

Hmmm, but this workaround assumes the requests all have text bodies, no? Currently we're constructing all replayed requests with Blob bodies to support binary files and whatnot.

Oh—I hadn't looked at the code, and assumed, based on the error, that it was just using request.body directly as the BodyInit, but I didn't realize it was currently using the blob() reader:
https://github.com/GoogleChrome/workbox/blob/b146d8d3c2db89fa51afc322049b9795894bb4f2/packages/workbox-background-sync/models/StorableRequest.mjs#L52-L54
I guess I'm curious as to what Safari considers a non-ReadableStream upload, in that case? Should we ask some folks more familiar with the Streams API?

Thanks for checking on this guys. Is there something I can do to work around this from my end or do I need to wait for an update in your code?

Hey guys! Good news I figured out the issue. While testing on another iOS device, everything worked as expected. I wanted to send you the debug info and after I connected the iPhone to my laptop via USB and started the Safari debugging console, submitted the form, and the error occurred. After disconnecting, the post worked. I suspect the ReadableStream is used in the debugging process.
Please feel free to close this if you're satisfies with that solution. Thanks!

I'm happy to close in that case. We can revisit if someone else can trigger this outside of the debugging scenario you describe.

So, I notice this error today as well when looking at the JS console in Safari. It seems to be happening as part of the workbox-google-analytics package, which is using a NetworkFirst strategy and for some reason throwing a no-response WorkboxError.
@jeffposnick, any ideas?

Note: this doesn't seem to be related to background sync, at least as far as I can tell.

Actually, it does appear like the problem is exactly as described in that Stack Overflow post. These are POST requests, so service worker in Safari doesn't appear to be able to replay them.
Since, all Google Analytics requests sent with navigator.sendBeacon() are all going to be POST requests, this seems like a relatively big problem...

I'm having this same problem with Safari v12 on OSX.

I dug into this a bit more and found the following, using https://glitch.com/edit/#!/suave-beanie as a simple reproduction.
Generally speaking, Safari has no problem sending a POST request constructed with a body.
The problem, which was accurately identified in this comment on Stack Overflow, is that Safari's behavior changes based on whether or not the Request object is logged to the console before it's being sent. Apparently, whatever code is necessary to log it is enough to convert the underlying Request object into a ReadableStream, and that means it's no longer valid when sending the POST. Additionally, you apparently need to have to have the JS console open to trigger it—either the main console or the dedicated service worker console, depending on which context is doing the logging.
(This sounds like a bug that should be reported against WebKit, because I can't imagine that's ideal behavior.)
workbox-routing will log the Request object prior to passing it to fetch() at:
https://github.com/GoogleChrome/workbox/blob/194cdeb63d5abb21490f88f01f02f4bcf7e6d54b/packages/workbox-routing/Router.mjs#L200-L204
We should either remove that logging statement, or alternatively only log when it's GET request or when we know there's no body.
To summarize, this is a real bug that you can encounter in Safari for any  request with a body that is handled by workbox-routing, but only if

you are using the dev bundles of Workbox which triggers extra logging
you have the Safari service worker debugger console open prior to the request is being sent

The previously mentioned WebKit issue has been addressed quite recently and states that

Logging to the console isn't the problem, it's trying to access the body property at all.

which seems be contrary to the observation https://github.com/GoogleChrome/workbox/issues/1732#issuecomment-548001615 that

Additionally, you apparently need to have to have the JS console open to trigger it—either the main console or the dedicated service worker console, depending on which context is doing the logging

I understand this bug had already been fixed in workbox, but I've come across this behavior in my personal project and can't get my head around it so forgive me for bringing this up again...How was this behavior of whether having the JS console open or not changing the existence of the error observed? With my version of macOS Safari (Version 15.0) it seems like this is not the case and the error ReadableStream uploading is not supported appears even when the JS console is not opened (I also tried turning off the Developer options from Preferences).
Would appreciate any input on this matter, thank you.

authors: edwardkenfox jeffposnick juliandormon philipwalton scurry84

repo: GoogleChrome/workbox


text:
PSAT Extension Triggers failure of Attestation check for Topics

Describe the bug
An attestation error occurs when using the PSAT extension in conjunction with the Privacy Sandbox APIs enabled in Chrome.
To Reproduce
Steps to reproduce the behavior:

Open a Chrome browser instance with the PSAT extension installed and enabled.
Open chrome://flags
Enable Privacy Sandbox Ads APIs and Privacy Sandbox Proactive Topics Blocking
Navigate to a website, such as https://example.com or another site.
Observe that an attestation error appears in the developer console along with the source of the issue pointing to PSAT Extension.
Disable the PSAT extension and reload the page.
Notice that the attestation error no longer appears, indicating a link between the PSAT extension and the error.

Expected behavior
When browsing websites with the PSAT extension enabled, no attestation errors should occur.
Screenshots

Desktop (please complete the following information):

OS: Pop!_OS 22.04 LTS x86_64
Browser: Google Chrome 121.0.6167.85 (Official Build) (64-bit)
Version of PSAT Extension: 0.4.2

Addressed as a part of v0.5

repo: GoogleChromeLabs/ps-analysis-tool


text:
Update Azure object storage benchmark to use latest version.

The azure_blob_storage API hard-codes an old version so that it continues to work. We should update to the latest version.

Closing, feel free to open

authors: s-deitz yuyantingzero

repo: GoogleCloudPlatform/PerfKitBenchmarker


text:
Prepare pom.xml for release to Maven Central

Fixes #139 .
@patflynn PTAL

LGTM

authors: meltsufin patflynn


text:
Nuxt middleware

Description
(caution! not native english)
Hi, i have one problem with nuxt render.
Here is my "working code" but still give me timeout errors.
Can you help me to fix it? Im nooby
const express = require("express")();
const config = require("./nuxt.config.js");
const { Nuxt, Builder } = require("nuxt");
const nuxt = new Nuxt(config);
const builder = new Builder(nuxt);
const build = builder.build();

express.use(nuxt.render);

exports.app = functions.https.onRequest(express);

Steps to reproduce
firebase serve --only functions

error:  code=500, status=INTERNAL, message=Function worker killed by signal: SIGTERM, errors=[Function worker killed by signal: SIGTERM]
! functions: Error from emulator. undefined

 firebase deploy --only functions

deploying functions
functions: ensuring necessary APIs are enabled...
runtimeconfig: ensuring necessary APIs are enabled...
runtimeconfig: all necessary APIs are enabled
functions: all necessary APIs are enabled
functions: preparing functions directory for uploading...
functions: packaged functions (100.26 KB) for uploading
functions: functions folder uploaded successfully
starting release process (may take several minutes)...
functions: updating function app...
functions[app]: Deploy Error: Function load error: Error: function load attempt timed out.

Thanks!
p.s. If you need more information (because of my lang skills) just tell me. I'll show everything, but i really really need your help

@numfin Do you have anythinks?

@fortil i did nothing :C

authors: fortil numfin


text:
TestFSNewInventoryTransaction fails

See https://github.com/GoogleCloudPlatform/cloud-run-anthos-reference-web-app/pull/3#discussion_r412566469
Originally posted by @ssmall in https://github.com/GoogleCloudPlatform/cloud-run-anthos-reference-web-app/pull/3/files

This no longer seems to be an issue on my workstation when I run against the Cloud SDK Cloud Firestore Emulator using gcloud. However, the docker based Firestore emulator does still fail the tests so it seems this was fixed recently, perhaps in the Cloud SDK 290.0.0 release as it is the only recent release with Cloud Firestore emulator updates.
I will look into fixing the docker container issue

authors: josueetcom ssmall


text:
Error: Unsupported attribute when attempting to destroy

Describe the bug
I followed the tutorial video https://github.com/GoogleCloudPlatform/hpc-toolkit/tree/v1.9.0/docs/videos/build-your-own-blueprint and made only small adjustments, not including the rocky linux image (check blueprint below).
After testing that the image was functioning, I attempted to use ./ghpc destroy <deployment_name_dir> and got
Steps to reproduce
Steps to reproduce the behavior:

./ghpc create genoslurm_blueprint.yaml
submit test job:
gcloud  batch jobs submit batch-job-3ad191a4 --config=/path/to/batch-job.yaml --location=us-central1 --project=<project>
./ghpc destroy genoslurm-batch-us-central1

Expected behavior
deployment properly shut down and destroyed
Actual behavior
the object does not have an attribute named "job_data"
Version (ghpc --version)
ghpc version v1.36.1
Built from 'main' branch.
Commit info: v1.36.1-0-g493308e7
Blueprint
blueprint_name: genoslurm-blueprint

vars:
  project_id: <project>
  deployment_name: genoslurm-batch-us-central1
  region: us-central1
  zone: us-central1-a

deployment_groups:
- group: primary
  modules:
  - id: genoslurm-network-us-central1
    source: modules/network/vpc

  - id: appfs
    source: modules/file-system/filestore
    use: [genoslurm-network-us-central1]
    settings:
      local_mount: /apps

  - id: lustrefs
    source: community/modules/file-system/DDN-EXAScaler
    use: [genoslurm-network-us-central1]
    settings: {local_mount: /scratch}

  - id: batch-job
    source: modules/scheduler/batch-job-template
    use: [genoslurm-network-us-central1, appfs, lustrefs]
    settings:
      runnable: "echo 'hello world'"
      machine_type: n2-standard-4
    outputs: [instructions]

  - id: batch-login
    source: modules/scheduler/batch-login-node
    use: [batch-job]
    outputs: [instructions]

Expanded Blueprint
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

blueprint_name: genoslurm-blueprint
ghpc_version: v1.36.1-0-g493308e7
vars:
  deployment_name: genoslurm-batch-us-central1
  labels:
    ghpc_blueprint: genoslurm-blueprint
    ghpc_deployment: ((var.deployment_name))
  project_id: <project>
  region: us-central1
  zone: us-central1-a
deployment_groups:
  - group: primary
    terraform_providers:
      google:
        source: hashicorp/google
        version: '>= 4.84.0, < 5.32.0'
        configuration:
          project: ((var.project_id))
          region: ((var.region))
          zone: ((var.zone))
      google-beta:
        source: hashicorp/google-beta
        version: '>= 4.84.0, < 5.32.0'
        configuration:
          project: ((var.project_id))
          region: ((var.region))
          zone: ((var.zone))
    modules:
      - source: modules/network/vpc
        kind: terraform
        id: genoslurm-network-us-central1
        settings:
          deployment_name: ((var.deployment_name))
          project_id: ((var.project_id))
          region: ((var.region))
      - source: modules/file-system/filestore
        kind: terraform
        id: appfs
        use:
          - genoslurm-network-us-central1
        settings:
          deployment_name: ((var.deployment_name))
          labels: ((var.labels))
          local_mount: /apps
          network_id: ((module.genoslurm-network-us-central1.network_id))
          project_id: ((var.project_id))
          region: ((var.region))
          zone: ((var.zone))
      - source: community/modules/file-system/DDN-EXAScaler
        kind: terraform
        id: lustrefs
        use:
          - genoslurm-network-us-central1
        settings:
          labels: ((var.labels))
          local_mount: /scratch
          network_self_link: ((module.genoslurm-network-us-central1.network_self_link))
          project_id: ((var.project_id))
          subnetwork_address: ((module.genoslurm-network-us-central1.subnetwork_address))
          subnetwork_self_link: ((module.genoslurm-network-us-central1.subnetwork_self_link))
          zone: ((var.zone))
      - source: modules/scheduler/batch-job-template
        kind: terraform
        id: batch-job
        use:
          - genoslurm-network-us-central1
          - appfs
          - lustrefs
        outputs:
          - name: instructions
        settings:
          deployment_name: ((var.deployment_name))
          job_id: batch-job
          labels: ((var.labels))
          machine_type: n2-standard-4
          network_storage: ((flatten([module.lustrefs.network_storage, flatten([module.appfs.network_storage])])))
          project_id: ((var.project_id))
          region: ((var.region))
          runnable: echo 'hello world'
          subnetwork: ((module.genoslurm-network-us-central1.subnetwork))
      - source: modules/scheduler/batch-login-node
        kind: terraform
        id: batch-login
        use:
          - batch-job
        outputs:
          - name: instructions
        settings:
          deployment_name: ((var.deployment_name))
          gcloud_version: ((module.batch-job.gcloud_version))
          instance_template: ((module.batch-job.instance_template))
          job_data: ((flatten([module.batch-job.job_data])))
          labels: ((var.labels))
          network_storage: ((flatten([module.batch-job.network_storage])))
          project_id: ((var.project_id))
          region: ((var.region))
          startup_script: ((module.batch-job.startup_script))
          zone: ((var.zone))

Output and logs
Testing if deployment group genoslurm-batch-us-central1/primary requires destroying cloud infrastructure
failed to destroy group "primary":
Error: exit status 1

Error: Unsupported attribute

  on main.tf line 64, in module "batch-login":
  64:   job_data          = flatten([module.batch-job.job_data])
    ├────────────────
    │ module.batch-job is object with 3 attributes

This object does not have an attribute named "job_data".

Hint: terraform plan for deployment group genoslurm-batch-us-central1/primary failed
destruction of "genoslurm-batch-us-central1" failed

Execution environment

OS: macOS
Shell (To find this, run ps -p $$): /bin/sh
go version: go version go1.22.5 darwin/arm64

Additional context
Apologies if this is a simple misunderstanding rather than a bug!

I'll take a look and try to reproduce the issue.

Did you deploy the blueprint after you created it?

yes, apologies, I forgot to include that in the steps above. it is currently deployed and I have successfully run jobs

I haven't been able to reproduce the issue, but I will continue trying.  In the meantime, could you try removing the resources in your project by hand, recreating the deployment folder (perhaps with a different deployment name) and trying to deploy and destroy again?
Another place to look is in genoslurm-batch-us-central1/primary/modules/embedded/modules/scheduler/batch-job-template/outputs.tf and see if the job_data output exists there.  That's what the issue you posted is complaining about.

done. job_data exists in outputs.tf as it did in the previous test:
output "job_data" {
  description = "All data associated with the defined job, typically provided as input to clout-batch-login-node."
  value = {
    template_contents = local.job_template_contents,
    filename          = local.job_filename,
    id                = local.submit_job_id
  }
}

does this need to be a list?

Thanks, one more quick question before I try and dive deeper.  Could you try cloning a clean copy of the repository, building ghpc, and running the same steps with the original blueprint?  The only thing you should change is the project name.

I took a look at the code and nothing obvious stood out. This message seems a bit odd to me module.batch-job is object with 3 attributesbecausebatch-jobis the sub-module and should have more than 3 attributes. Really it ismodule.batch-job.job_data` that should have 3 attributes. But maybe this is just terraform having a bit of a weird error.
@dvitale199, could you update your blueprint to print the job_data output. To do this you would add job_data to the outputs list of the batch-job (as shown below). Then when you call ghpc deploy it should print an output at the end containing the contents of job_data. There might be something interesting in there, like a null value that should be populated.
  - id: batch-job
    source: modules/scheduler/batch-job-template
    use: [genoslurm-network-us-central1, appfs, lustrefs]
    settings:
      runnable: "echo 'hello world'"
      machine_type: n2-standard-4
    outputs: [instructions, job_data]

The other interesting thing is the error message says Hint: terraform plan for deployment group genoslurm-batch-us-central1/primary failed. I am not sure if it is possible to print out the plan. It might be that it is not possible since it is says it is failing to generate a plan. To do this you would call ghpc destroy (no --auto-approve) and then when prompted select the display option (d). There might be a clue in there.

Ok I've done this but when I use ghpc destroy, it does not prompt me to display, it just fails with the same error. I've attached the display from the deploy command below:
genoslurm-batch-test-create-display.txt
I've also tried this using the gcluster command instead of ghpc. unsure if there is a difference but got the same result. going to try one of the example configs and see if there's any difference.
Is there a potential path issue here? I store my .yaml in cluster-toolkit/ and run everything with ./ghpc from. cluster-toolkit.
I'm very sorry for the trouble. I believe everything is working alright besides the destroy, which is only a minor inconvenience for testing. If I figure anything out I will comment back. I appreciate the help.

No worries about the trouble.  I'll keep looking into this.
Which of the things did you try from @nick-stroud and my responses?
Another quick question is: which version of Terraform are you using?

I tried adding the job_data to outputs of batch-job for which I attached the output above. I also tried running ghpc destroy with no --auto-approve but it fails before the option to display is given.
I have Terraform v1.3.7 on darwin_arm64

@dvitale199 A few questions that might lead to some clues:

When recreating the deployment folder in your second test, did you use the -w flag, or did you delete the deployment folder before calling ghpc create?
When you re-created the deployment folder, which version of ghpc did you use?
Do you see the job_data variable in this file in your deployment folder? genoslurm-batch-us-central1/primary/modules/embedded/modules/scheduler/batch-login-node/variables.tf

@dvitale199 A few questions that might lead to some clues:

When recreating the deployment folder in your second test, did you use the -w flag, or did you delete the deployment folder before calling ghpc create?
When you re-created the deployment folder, which version of ghpc did you use?
Do you see the job_data variable in this file in your deployment folder? genoslurm-batch-us-central1/primary/modules/embedded/modules/scheduler/batch-login-node/variables.tf

I deleted the previous directory and recreated with ghpc create
latest version from github
yes, job_data was there. I cannot share it because I deleted it by mistake for further testing

since my last comment, I've pulled a fresh clone and just tested with the examples/hpc-slurm.yaml and have not run into any issues creating and destroying the config.
I'm wondering if passing use: [genoslurm-network-us-central1, appfs, lustrefs] to the batch nodeset had anything to do with it?
are use: [genoslurm-network-us-central1, appfs, lustrefs]
and
use:
- genoslurm-network-us-central1
- appfs
- lustrefs

synonymous?
thanks for all your help.

That's great to hear you were able to get the expected behavior from a fresh clone!
Regarding the use block - yes, syntax in both of your examples are synonymous.  They are just two different ways to represent a list in YAML.
I will close this issue since it appears to be resolved, but please feel free to reopen or create a new issue if you encounter other problems!

repo: GoogleCloudPlatform/cluster-toolkit


text:
TreeView issue

Hello. When I try to listen updates it get the updates. But when ever i try to add code related to treeview inside this Task ListenMultiple(string project) function it stops working. Couldn't figure out why.

There are samples for many client libraries on this repo. From your question it is not possible to know which client library and which sample you are refering to.
The best way for us to help you is if you post a small but complete console application that reproduces the unexpected result you are seeing.

https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/04e97f8f218b39926d4d98f1bf9ab7bafb848be4/firestore/api/ListenData/Program.cs#L81-L92
i try to use this sample. It works normally but when i try to replace 90th line with this treeViewMachListNodes.Add(documentSnapshot.Id) it stops working. I don't know why but it could be related to something else.

It stops working

What does this means, the application crashes, you get an exception, the application continues to work but the result is different to what you expected.... ?
If you get an exception, please share the full stack trace.
If the result is unexpected, please share what result you are expecting and what is it that you are seeing.

Then i call this functions in init function.

Init function of what?
Again, if you can share a simple but full console application that reproduces the problem we'll be able to help you faster.

Note: If you can't reproduce the issue on a console application, but you reproduce it in a web app or another type of desktop app, it's fine, as long as the app you share is minimal (i.e. the minimum to reproduce the issue) and complete, we'll be able to help you way faster.

public partial class Form1 : Form
 {
     public Form1()
     {
         InitializeComponent();
     }
     FirestoreDb myLocalREf;
     private void Form1_Load(object sender, EventArgs e)
     {
         ListenMultiple().Wait();
     }
     private async Task ListenMultiple()
     {

         string path = @"mypathtojson";
         Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS", path);

         myLocalREf = FirestoreDb.Create("myprojectname");

         CollectionReference citiesRef = myLocalREf.Collection("mycollection");
         Query query = myLocalREf.Collection("mycollection").WhereGreaterThan("mycondition", 0);

         FirestoreChangeListener listener = query.Listen(snapshot =>
         {
             /* Used when listbox code on */
             //listBox1.Items.Clear();

             foreach (DocumentSnapshot documentSnapshot in snapshot.Documents)
             {
                 if (documentSnapshot.Exists)
                 {
                     Dictionary<string, object> docKeyValPair = documentSnapshot.ToDictionary();
                     object myobject = docKeyValPair["myListofItems"];
                     MessageBox.Show("Event Occured");
                     IList myList = (IList)myobject;

                     foreach (string key in myList)
                     {
                         /* This works*/
                         //listBox1.Items.Add(key);

                         /* Somehow this doesnt work.  */
                         treeView1.Nodes.Add(key);
                     }
                 }
             }
         });
     }
    /* here just to test out treeView1.Nodes.Add() works and it does work */
     private void button1_Click(object sender, EventArgs e)
     {
         for(int i = 0; i < 5; i++)
         {
             treeView1.Nodes.Add("Node" + i.ToString());
         }
     }
 }

I tried this on new project and still having same error. I added messagebox there to check whether If its getting the updates or not.  Whenever i add the treeview code there it doesnt work. But when i remove that and work with listbox it works without any problem. instantly gets the updates.

repo: GoogleCloudPlatform/dotnet-docs-samples


text:
chore: implement tree style for progress

Description
This PR was opened to implement a tree-like^1 format of the progress visualisation. Instead of basic ASCII characters we can use the Box Drawing^2 group.
Example
Before:

- Configuring...
 \- Progress 6/6 [█████████████████████████████████████████████████████████████]
- Configurations finished.
- Your instance is READY! You can now connect your instance "test" via:
...

After:

┌── Configuring...
│   └── Progress 6/6 [█████████████████████████████████████████████████████████████]
├── Configurations finished.
└── Your instance is READY! You can now connect your instance "test" via:
...

I force-pushed to apply a new email for CLA check

repo: GoogleCloudPlatform/gce-rescue


text:
Update ruby SVG

Update the ruby SVG image. The current SVG is for rails, not ruby.

Thanks! Which one #662 or this one?

Both, I suppose. :)

Oh sorry, I realize now they are both the same file on different branches! gh-pages is built from our docs directory, so after merging that one, it should get copied over into gh-pages automatically. Thanks again!

Yeah, I wasn't sure if it was replaced or not. I figured it would be easier to give you both and let you sort it out. Thanks!

authors: blowmage stephenplusplus

repo: GoogleCloudPlatform/gcloud-node


text:
Query.next_page() should produce a null cursor if not set on response

Currently it returns an empty string.

Noticed this during #1055

OK, checking response.batch.HasField('end_cursor') is always True, even when the cursor is ''.
@tseaver WDYT we should do here? I think returning '' and setting it as the _start_cursor value on an Iterator is not the right move.

@dhermes While investigating, it just seemed easier to make the change (to ensure I didn't break anything).

No worries.

@tseaver Turns out this issue still open.
Remaining concern: Should Connection.run_query check if the end_cursor is set on the response.batch?

@tseaver Bump

I assume you are worried about this line.  If the response protobuf doesn't have a value set, we get a None there, right?  That seems like the right sentinel to me.

See what I said above:

checking response.batch.HasField('end_cursor') is always True, even when the cursor is ''.

authors: dhermes tseaver

repo: GoogleCloudPlatform/gcloud-python


text:
Convert compute engine to datastore.

4-auth/config/application.rb:
Switch back to active record.
6-task-queueing/app/jobs/lookup_book_details_job.rb
Add license header.
6-task-queueing/config/initializers/fog_cloud_storage.rb
7-compute-engine/config/initializers/fog_cloud_storage.rb
Remove old config file reference.
7-compute-engine/app/controllers/books_controller.rb
7-compute-engine/app/controllers/user_books_controller.rb
7-compute-engine/app/models/book.rb
7-compute-engine/config/application.rb
Convert to datastore backend.
7-compute-engine/app/jobs/lookup_book_details_job.rb
Copy from step 6, new api client lib.
7-compute-engine/config/database.example.yml
Setup for datastore.
7-compute-engine/config/environments/development.rb
7-compute-engine/config/environments/production.rb
Remove active record reference.
7-compute-engine/config/unicorn.rb
7-compute-engine/gce/configure.sh
7-compute-engine/gce/default-nginx
7-compute-engine/gce/deploy.sh
7-compute-engine/gce/railsapp.service
7-compute-engine/gce/resqworker.service
Fix GCE deployment directory problems.
7-compute-engine/db/*
Remove, no longer using active record.
7-compute-engine/gce/startup-script.sh
Change to setup datastore in database.yml
7-compute-engine/spec/book_extensions.rb
Copy in from step 2 to allow test to run against datastore
7-compute-engine/spec/features/book_management_spec.rb
Update to check datastore for book creation using wait_until
before testing app. Remove non-deterministic tests.
7-compute-engine/spec/models/book_spec.rb
Change to run against live book api, not mock.
spec/setup.sh
Fix to setup step 7 correctly for testing.

Looks like step 2 was already moved from the emulator to the live service. I limited concurrent jobs in Travis which will slow us down, but keep the multiple live datastore tests from stepping on each other.
Step 2 will be very flaky until it adopts the wait_until fixes I added to spec/features/book_management_spec.rb in step 7 in the PR.

👍  Awesome!

authors: jeffmendoza remi


text:
Updated readme github buttons

Added a 'open in cloudshell' feature into the Readme

test this please

test this please

Rebased. Test this please.

Test this please

/test this please

/test this please.

authors: chrislovecnm emailbob swathiswaminathan


text:
Run test-installs in the build-output subdirectory.

In the CI builds we install the code and then compile small examples against the installed code to verify it works correctly.  Before this change the build artifacts for those test-install targets were left in the git clone, which was inconvenient for developers wanting to test changes to the install target.
With this change the build artifacts for those "test install" builds go into the build-output subdirectory.

PTAL.

repo: GoogleCloudPlatform/google-cloud-cpp


text:
[Datastore] Don't see an entity with a query after insertion

I have a problem with the Datastore. Occasionally, when I insert a new entity and commit the transaction, and afterwards I execute a query that should contain that entity, the query does not return the new entity.
I uploaded a small project illustrating the issue: https://github.com/markvincze/gcloud-datastore-invisible-entity, it does 20 iterations trying reproduce the problem, and if I run it a handful of times, I always see the issue happen 1-2 times.
Is this happening because my query is a global query, and for a global query we only have eventual consistency?
Is there a way through the SDK to somehow mitigate this, and after doing the insertion and commit the transaction, somehow explicitly wait until the new entity is replicated everywhere?

Thanks for the report. I honestly don't know much about Datastore consistency. It's possible that you would see it if you created a second transaction (after the first) in which to perform the transaction.
@pcostell Are you able to give any guidance on this?

If your query is global, then yes this is definitely eventual consistency.
There is no way to mitigate this in the SDK, or based on time (eventual consistency is unbounded).
You need to address this in your data model. Here is a useful guide: https://cloud.google.com/datastore/docs/articles/balancing-strong-and-eventual-consistency-with-google-cloud-datastore/
The tldr; is that you need to use entity groups and ancestor queries for queries that you need to be strongly consistent. Be careful about the write rate limitations to a single entity group (1 write per second). It's generally advisable to put entities into an entity group based on natural boundaries. For example, a user is a great entity group. They won't make modifications more than once per second, any modifications a user does make are strongly consistent (so they don't click save and have something not appear), and if a user doesn't see another user's modifications immediately, that is ok for many types of applications.

Hi @pcostell,
I see, thanks for the info!
(For my actual application this is not a problem, it was only a problem in my integration tests, where I was doing a modification, and then I called the query endpoint immediately. I worked around that by simply waiting between the queries, and it seems to be stable enough for testing purposes (if it'll be flaky I can increase the wait time).)

Note that for testing, we do offer an in-memory local emulator. It has a --consistency flag, which can allow you to force consistency (useful for things like testing that a query returns what you expect).
You can start it up with:
gcloud beta emulators datastore start --consistency=1.0 --no-store-on-disk

It also has a reset method (by sending an HTTP GET to /reset), which will clear out the data -- useful if you want to run a lot of tests without risk of data collision.

We encountered this same problem when writing our integration tests for datastore.  You may be able to reuse our solution.  It's called RetryRobot, and you use it like this:
        private readonly RetryRobot _retryRobot = new RetryRobot()
        {
            RetryWhenExceptions = new[] { typeof(Xunit.Sdk.XunitException) }
        };

        /// <summary>
        /// Retry action.
        /// Datastore guarantees only eventual consistency.  Many tests write
        /// an entity and then query it afterward, but may not find it immediately.
        /// </summary>
        /// <param name="action"></param>
        private void Eventually(Action action) => _retryRobot.Eventually(action);

        [Fact]
        public void TestRunQuery()
        {
            UpsertTaskList();
            Eventually(() =>
            {
                Query query = new Query("Task");
                DatastoreQueryResults tasks = _db.RunQuery(query);
                Assert.False(IsEmpty(tasks));
            });
        }

From https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/master/datastore/api/TaskListTest/DatastoreTest.cs

Hi @pcostell thanks, this is really good information, I didn't know about the emulator before, I'll certainly give it a try!
@SurferJeffAtGoogle Thanks, this looks really nice!

authors: SurferJeffAtGoogle jskeet markvincze pcostell

repo: GoogleCloudPlatform/google-cloud-dotnet


text:
Merge without code review allowed

See https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3193 for example.
"Review has been requested on this pull request. It is not required to merge."
I suspect the repo should be configured to require review before merge.

This sounds like a good idea. I don't have the powers to do this, but I'll assign @garrettjonesgoogle .

Seems like this is done. Please reopen if it's not.

authors: elharo hzyi-google pongad

repo: GoogleCloudPlatform/google-cloud-java


text:
regenerate clients

@andreamlin Do you know if we updated proto dependency or something? A LOT of proto-generated files have the same changes.

This looks like an accidental reversion in a previous run: https://github.com/pongad/google-cloud-java/commit/a02ff76245067fb508d2bb10528bf25d03040c52#diff-018ee9c8f39b25865c8c1fc87966402d
@andreamlin maybe you generated with an old protoc somehow?

Oh that might have been the case. My local version of protoc is 3.4.0; though I used artmanflow which I think uses the Dockerfile that installs protoc 3.5.1? Anyhow if this was generated with protoc 3.5.1 that should be correct and the last batch generation I did was using an older version of protoc.

This is strange. The field has been around since September 2017, and we should be using the same docker image...

@garrettjonesgoogle @andreamlin Does this look good to you? If so I'll merge and start the actual release.

authors: andreamlin garrettjonesgoogle pongad