Questions tagged [warp]

Windows Advanced Rasterization Platform. This does NOT refer to the Haskell warp HTTP server, use the haskell-warp tag instead!

94 questions
2
votes
1 answer

How many CUDA cores is used to process a CUDA warp?

I'm reading for the answers and there are conflict ideas: In this link https://www.3dgep.com/cuda-thread-execution-model/, two warps (64 threads) can run concurrently on an SM (32 CUDA cores). So, I understand that the threads on a warp are splited…
2
votes
1 answer

Loss functions in LightFM

I recently came across LightFM while learning to train a recommender system. And so far what I know is that it utilizes loss functions which are logistic, BPR, WARP and k-OS WARP. I did not go through the math behind all these functions. Now what I…
2
votes
1 answer

Terminal IO not working in Warp / WAI application

I'm messing around with WebSockets and I have written an "echo server" which I expected to log to the console as it runs: echo = Warp.run 3000 app where app = WS.websocketsOr WS.defaultConnectionOptions wsApp httpApp …
John F. Miller
  • 26,961
  • 10
  • 71
  • 121
2
votes
1 answer

Matlab: From Disparity Map to 3D coordinates

I copied the matlab code from: http://www.mathworks.fr/fr/help/vision/ug/stereo-image-rectification.html I can compute the 3D coordinates but I am not sure if it is the correct one. Starting from the disparity map and calculating the 3D coordinates,…
alvaro562003
  • 678
  • 1
  • 6
  • 27
2
votes
0 answers

Image Distortion in android

How to implement image distortion or image warp by dragging on the screen in android? I am new to android and I want to make an app like "Photo warp" or "face changer" which distort the image by touching and dragging on screen. Is there any function…
Brijesh
  • 61
  • 5
2
votes
1 answer

library to warp text on HTML5 canvas similar to csswarp on DOM

I want to warp text on HTML Canvas around Bezeir curves and Circles. CSSWarp library does that using CSS3 on DOM. I am looking for a library which does the same on HTML canvas. I googled in vain. Did anyone come across such a library? Or was anyone…
Ashok B
  • 29
  • 2
2
votes
2 answers

Maven cannot find a local dependancy

I am trying to follow instructions on this site: http://trac.erichseifert.de/warp/wiki/DeveloperGuide I have got all the source - and have done mvn install on both mpqparser and vectorgraphics2d - then I go into the gral folder - and try running…
RenegadeAndy
  • 5,440
  • 18
  • 70
  • 130
1
vote
0 answers

Mesh Warp SVG - I think I've got really close to having it working

I'm trying to make a similar distort function as Illustrators "Free Distort". I have managed to find two scripts that works separately but not together. example warp 1st script: Warps using control points but only the edges. 2nd script: Warps…
1
vote
1 answer

mesh warping by cell coefficient

I have square mesh (array) and a value for each cell; all the cells have the same area initially. I would like to adjust the size (area) of each cell according to a coefficient, so each square cell would become a quadrilateral with their side…
supvato
  • 33
  • 5
1
vote
1 answer

Cors filter in Warp ignored

I am learning Rust and am Following the Tutorial in Learning Rust Webdevelopment (Manning) by Bastian Gruber link. I have tried many ways, but I could not get the Cors filter, as outlined in the book, to actually do something. It is simply…
egion
  • 11
  • 3
1
vote
1 answer

Trouble passing mpsc sync channel in warp handler

I'm new to rust and encountered an issue while building an API with warp. I'm trying to pass some requests to another thread with a channel(trying to avoid using arc/mutex). Still, I noticed that when I pass an mpsc::sync::Sender to a warp handler,…
D K
  • 15
  • 2
1
vote
3 answers

How to disable Powerlevel10k in Warp and install Starship

I just installed Warp terminal and I'm loving it. But I want to customize the prompt with Starship and still having Powerlevel10k on my iTerm2 terminal. Does it is posible?
Christian Leyva
  • 133
  • 2
  • 10
1
vote
1 answer

How do I test a warp filter with multiple websocket clients?

I am trying to connect multiple test clients to one server / filter. I tried: #[tokio::test] async fn test_ws() { let mut client1 = warp::test::ws() .path("/api/ws/test") .handshake(get_server()) .await …
Ceres
  • 2,498
  • 1
  • 10
  • 28
1
vote
1 answer

Clip Raster with Polygon with GDAL C++

I am trying to clip a raster using a polygon an GDAL. At the moment i get an error that there is a read access violation when initializing the WarpOperation. I can access my Shapefile and check the num of features so the access is fine i think. Also…
Roots19
  • 13
  • 3
1
vote
1 answer

async_graphql::Response: Reply is not satisfied when using warp

I'm trying to put together a basic GraphQL server with async-graphql and warp: use async_graphql::{Object, Schema, EmptyMutation, EmptySubscription, Response, Context}; use std::convert::Infallible; use warp::{Filter}; #[tokio::main] async fn…
DungeonTiger
  • 627
  • 1
  • 9
  • 21