Categories
Mastering Development

How to print rolling window equation process from pandas dataframe in python?

I created a pandas dataframe sample and it tried to sum for every 3 rows: import pandas as pd import numpy as np d={‘A’:[100,110,120,175,164,169,155,153,156,200]} df=pd.DataFrame(d) A 0 100 1 110 2 120 3 175 4 164 5 169 6 155 7 153 8 156 9 200 0 NaN 1 NaN 2 330.0 #this is the […]

Categories
Mastering Development

OpenCV Figure Detection

It’s my first time working with openCV. I’m trying to recognize where the cubes are located, draw their contour and identify their color. I have been able to create contours for them but when I put their corner locations I see some overlaps and I cant figure out how to identify the number of cubes […]

Categories
Mastering Development

MySQL Select all rows vs 100-1000 specific IDs

My script can require anywhere from 100 to 1000+ specific rows from MySQL. So I am curious what is the best way to handle this performance wise. (1) Select all rows from MySQL (Will be at most 20,000 in the database) SELECT id, title, url, category FROM data (2) Use a MySQL IN to grab […]

Categories
Linux Mastering Development

Unable to start a 5GHz wireless AP

I have a Debian 10 fresh install with an Intel Wireless-AC 9560 dual-band chip. I’ve been trying to get it to start a wireless AP in 5GHz mode, to no avail. The relevant part of the output of iw list is given below: Frequencies: * 5180 MHz [36] (22.0 dBm) (no IR) * 5200 MHz […]

Categories
Ask Engineering

Are there dual 4-channel multiplexers with independent selectors?

I need about 6x 4-channel multiplexers for a custom design I have. I initially thought about using 3x 74HC153, but the selection lines are common. Are there any cheap and more compact alternatives (I need to produce a batch of around 200 units) to using 6x 74HC153 (which seems like a waste)? UPDATE: I understand […]

Categories
User Help Web Pro

Page indexing issues

I have a problem when indexing in google search engine. There is a page https://frontext.ru/posts/2020-08-27-making-cross-browser-and-responsiveness-better, so a few days later I noticed that it was excluded from the search list. I began to understand and it turned out that Lighthouse for smartphones throws an accessibility error: Moreover, specific elements are not indicated. I checked the […]

Categories
Mastering Development

display specific popup box when hovering over different elements

I’m a beginner in html css js and I have created an iteractive map of some greek islands . What I am trying to do is when I move my mouse on an island I want to display a pop up box with some info about the island . I can position hidden pop up […]

Categories
Mastering Development

Projecting eigenvectors for fisher’s linear discriminant analysis

I am trying to implement this feature selection method that also allows me to classify data. Following this: paper I have tried many workarounds and ways to implement this, but always my data gets weird. The public dataset that is made available has only to aquisition 1 and 4, to which i have extracted the […]

Categories
Mastering Development

extracting the mean value of a grid at every point of an image

I have a large amount of images that i would like to extract features from. I have a grid of 9 pixels, representing 1 point at different 22 specific coordinates of an image. What i want to do is calculate the mean value inside a grid of 9 pixels in each 22 positions.For instance: Every […]

Categories
User Help Web Apps

How to capture a Google Closure Tools event and set off with keyboard shortcut?

Gmail is run with the "Google closure Tool" and there are a couple of functions I would like to be able to manually set of myself, maybe with a keyboard shortcut. I cannot work out the order of function calls to get this to work. Hoping you can help. When I fire an event via […]