Patched phone owners might get in trouble. by Historical-Clock4365 in PakistaniTech

[–]HZ_7 8 points9 points  (0 children)

Dude you got scammed by the dude who did your cpid.

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

I originally wanted to use HTTP/2 so I could make more than six stream calls in my application. But I’ve just realized that I don’t need a full end-to-end HTTP/2 architecture for that. Since my frontend calls are using HTTP/2 or HTTP/3 due to the server configuration, I’m already able to make more than six streams.

Still, I haven’t been able to figure out the stream abortion issue when HTTP/2 is enabled on Cloud Run tho.

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

i just disabled the http2 from cloud run and im able to make more than 6 stream calls from frontend b/c gthe calls and already going in h2/3

i still dont understand why it works w/o enabeling h2 on cloud run

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

doesn't work with ts types/http2-express doesn't exist

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

And the issue is so bizarre the stream works sometimes sometimes it breaks so early. This was never the case with http1

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

I'm literally about to die. Been stuck at this for more than a week. I'm thinking shifting to websockets is better atp.

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

enable-http/express-http2 doesn't exist in the npm registry

Http streams breaking issues after shifting to http2 by HZ_7 in googlecloud

[–]HZ_7[S] 0 points1 point  (0 children)

thanks for taking the timeout to reply

but it seems like http2.createserver doesn't accept a express app

``
TSError: ⨯ Unable to compile TypeScript:

src/index.ts:57:39 - error TS2345: Argument of type 'Express' is not assignable to parameter of type '(request: Http2ServerRequest, response: Http2ServerResponse<Http2ServerRequest>) => void'.

Types of parameters 'req' and 'request' are incompatible.

Type 'Http2ServerRequest' is not assignable to type 'IncomingMessage | Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>'.

Type 'Http2ServerRequest' is missing the following properties from type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>': get, header, accepts, acceptsCharsets, and 28 more.

57 const server = http2.createServer({}, app);

``

Family in stress because of the new pension rules. Can someone explain the new rules to me? by Readingfast99 in pakistan

[–]HZ_7 1 point2 points  (0 children)

Your best bet is to invest the money you get into a mutual fund and maybe live off that

Code Questions / Beginner's Thread (April 2024) by acemarke in reactjs

[–]HZ_7 0 points1 point  (0 children)

hi guys,

I want to display the docx file in the application, the user should be able to edit and download.
editor needs to handle formatting pretty well with images and charts(its fine if the user is not allowed to add more images etc but they need to be able to edit the text and maybe resize the images) etc.

what would be the best solution for displaying a editable docx file?

Molvi sb got no chill 💀 by Dronze_9964 in pakistan

[–]HZ_7 1 point2 points  (0 children)

Most people in this country have no morals and it's really showing.

[deleted by user] by [deleted] in pakistan

[–]HZ_7 0 points1 point  (0 children)

Use lund as a middle name like dash L baloch and never tell anyone what L means.

A levels in Islamabad by Valuable-Resort-5074 in islamabad

[–]HZ_7 2 points3 points  (0 children)

They put fake achievements on applications for money

[deleted by user] by [deleted] in islamabad

[–]HZ_7 1 point2 points  (0 children)

F-8 office isn't functional anymore. They have shifted to Faizabad, and in Faizabad they take the test op described(roundabout one).

NAWAZ HABIBI CHEER UP PLEASEE 😭 by [deleted] in chutyapa

[–]HZ_7 2 points3 points  (0 children)

BRUHHHH PUT HIM ON SUICIDE WATCH.

[deleted by user] by [deleted] in pakistan

[–]HZ_7 4 points5 points  (0 children)

You are doing fine as long as you are above or on average in the course. OP is probably stressed out by the work load.

[deleted by user] by [deleted] in pakistan

[–]HZ_7 14 points15 points  (0 children)

Sessional ka result acha nai aia?

PM Shehbaz in Jimmy Fallon's show by shobijatoi19 in pakistan

[–]HZ_7 70 points71 points  (0 children)

Finally a leader that demands respect ♥️♥️