Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
41 views

i create a script that is supposed to create a new workspace and that workspace launch four terminal each in given position with a command ran in it. this is the script.sh #!/usr/bin/env bash WS='9:...
oumaima's user avatar
  • 49
6 votes
1 answer
532 views

Background This is a real programming problem I've encountered in my attempt to optimize a PDE solver. Before I can ask the question in an understandable way, I have to first introduce some background ...
比尔盖子's user avatar
  • 3,727
0 votes
0 answers
105 views

I have a small pet project. It is a simple game but there are some interesting engineering challenges in it. One of them is to find out if the ships combination makes sense. So, as you can see players ...
GHopper's user avatar
  • 387
2 votes
3 answers
1k views

I'm trying to use Variety in Hyprland, but I haven't found an article or a Question anywhere on the web. Can anyone tell me how I can integrate it in my hyprland.conf?
floork's user avatar
  • 83
0 votes
1 answer
94 views

When I transpose an matrix of 64x64, I use a tile size of 256/64=4 and with a 32x32 I use an tile size of 256/32=8. How do I calculate the tile size of an asymmetric matrix? A tile size of 16 gives me ...
fleurderose's user avatar
1 vote
1 answer
75 views

I have a collection of points in tiling 2D space (I believe its called toroidal geometry/space), and I want to find their mean: The basic approach would be to just take their mean 'locally' where ...
Antigrammer's user avatar
1 vote
2 answers
88 views

I'm trying to do a simple tiling in html/css. When you click on a square, it disappears and the square next to it fills the remaining space. The problem is that the last square that remains is on the ...
kogowoh329's user avatar
4 votes
2 answers
1k views

I am writing my own GeMM subroutine for fun. I have managed to achieve a tiled version over the L1 cache with an AVX256 kernel. I am aware there are some loop invariants I could be be hoisting out of ...
Ivor Denham-Dyson's user avatar
0 votes
0 answers
262 views

I am trying to apply code tiling but I dont really understand it, I had seen things about inner loop but I dont have any inner loops. Can anyone explain it to me? I am using the gcc compiler. #...
control's user avatar
  • 28
1 vote
1 answer
5k views

So, I wrote the code below many months ago, and it's worked pretty well. Though I am struggling on how I can simplify it and make it more efficient. The functions below split an image tensor (B, C, H, ...
ProGamerGov's user avatar
1 vote
2 answers
1k views

I am totally new to i3 and am coming from tilix. So far I love i3. In tilix I used to jump from windows to window using the $mod+numberOfWindow. But I can't find out how to assign each window a ...
xddq's user avatar
  • 381
0 votes
1 answer
564 views

I have a very simple code for visualising geo terrain from tiles of different zoom levels, based on pseudo-quadtree algorithm. Due to crossDomain restrictions and StackOverflow limits I am publishing ...
VVK's user avatar
  • 445
2 votes
1 answer
81 views

I wrote a program recently which was based on a recursive algorithm, solving for the number of ways to tile a 3xn board with 2x1 dominoes: F(n) = F(n-2) + 2*G(n-1) G(n) = G(n-2) + F(n-1) F(...
Amir Baghi's user avatar
0 votes
1 answer
750 views

I managed to make tiles with ImageMagick like this: -size 900x900 tile:D:\tile.jpg D:\tiles.jpg But i want to resize the image before the tiling (300*300px) - and then maybe afterwards apply a ...
Flemming's user avatar
  • 704
3 votes
2 answers
1k views

Short description: I'm trying to generate tilings of a square with dominoes or in other words with 2x1 and 1x2 tiles. Sometimes my algorithm puts a vertical tile in a way, that makes it impossible ...
N. Ecker's user avatar
1 vote
0 answers
201 views

It is different from generating polyminos, but it is NP-hard problem too. I'm given polyminos with size 4, 5, 6, as an array. 'F':{'num':0b011110010,'width':3} #will be mutated to polymino as ((0,1,...
ILoveG11's user avatar
0 votes
2 answers
812 views

I don't know much about shaders, so I am struggling to add transparency to a shader I already use. So basically I used the shader below to display 360 videos on a sphere. It flipps the normals so it ...
JackMini36's user avatar
2 votes
0 answers
310 views

I'm working with Unity and C# making a platform game, i mostly used cubes/boxes of different scales to build the level and now i have to apply the texture, i played with the tiling but the texture ...
GabLog's user avatar
  • 71
0 votes
2 answers
969 views

I need to create screenshots with an extremely large resolution. Because the resolution is larger than my renderer supports, they need to be split up into smaller resolutions and stitched together ...
ManIkWeet's user avatar
  • 1,338
0 votes
0 answers
391 views

I'm trying to test the effectiveness of a manual cache blocking or loop tiling optimization that has been applied on some Fortran scientific code routine. Concerning Tile Size Selection, I used an ...
Marco Chiarelli's user avatar
42 votes
4 answers
39k views

I am trying to create a shape similar to this, hexagons with 12 pentagons, at an arbitrary size. (Image Source) The only thing is, I have absolutely no idea what kind of code would be needed to ...
Aaron Franke's user avatar
  • 4,292
4 votes
1 answer
2k views

Transposing global 2D Square Matrix/Array of size 1 gb with tiling approach(Cache Aware) has no performance gain in single threaded execution over Normal transpose method. Not discussing the transpose ...
Dhiraj's user avatar
  • 61
2 votes
0 answers
282 views

My question is simple. I have a large binary image, and I would like to fill the holes in the objects. Iv'e tried using binary_fill_holes, but since the image is so big, I have to tile it, so only a ...
Little geek's user avatar
10 votes
4 answers
753 views

I have an array that represents points in a cuboid. It is a one dimensional array, which uses the following indexing function to realise the 3 dimensions: int getCellIndex(int ix, int iy, int iz) { ...
JC2188's user avatar
  • 337
3 votes
1 answer
135 views

I was trying to tile an array where each index is multi-diminsional. I then remove the i'th sub element from each index. For example, starting with this array: >>> a = np.array([[ 1. ...
Logic1's user avatar
  • 1,877