Categories
Mastering Development

Different results in Safari

I have a little feature where when you press a button the card flips and reveals a 3D Model. It works fine in Chrome but bugs out in Safari. With this JSFiddle I can’t even correctly hover to try and flip the card. With this (not shorten and very messy) JSFiddle I can flip it […]

Categories
Mastering Development

CSS Works on custom Tag but not on DIV?

I am trying to create a faq section for my webpage. At first I used custom tags (Not registered just used custom names) and it worked fine but later I thought this could impact SEO so I moved from custom tag to vanilla div. The custom tag version was working fine but as soon as […]

Categories
Mastering Development

cv2 and draw contours with own points

I like to draw filled contours on an image. My code is as follows. def createmask(xmlfile, org_w, org_h, imname): mask = np.zeros((org_h, org_w, 3), np.uint8) mask[:,:] = (108,5,8) tree = ET.parse(xmlfile) root = tree.getroot() contours=[] for obj in root.iter("object"): all_x = obj.find("all_x").text all_x = all_x.replace(‘[‘, ”) all_x = all_x.replace(‘]’, ”) all_x = all_x.split(‘, ‘) all_y […]

Categories
Mastering Development

Subset and collapse rows based on number

I am stuck on a problem that, in my head, should be pretty easy to solve. However, I can’t find a solution. I have a data frame containing time series, and I want to subset only certain rows. I created a dummy dataset: structure(list(ID = c("A1", "A1", "A1", "A1", "A1", "A1", "A1", "A1", "A1", "A1", […]

Categories
Mastering Development

How can I find which category has the most products shipped and the net income from sales in that category?

Using the w3schools.com SQL tutorial Northwind database, I’m trying to display the category that has the most products shipped. Additionally, I want to display the net income from all sales in that category. I can’t figure out how to take the category with the most products shipped, and use the amount of products shipped to […]

Categories
Mastering Development

Column Unknown Firebird Python

I’m trying to make a GUI with python and tkinter for a firebird database. When I try to write the input from boxes into the databse, I get error fdb.fbcore.DatabaseError: (‘Error while preparing SQL statement:\n- SQLCODE: -206\n- Dynamic SQL Error\n- SQL error code = -206\n- Column unknown\n- NUMBER\n- At line 1, column 99’, -206, 335544569) […]

Categories
Mastering Development

Chart.js not to be begin in Y-Axis

this is what the code looks like right now With an 1st image preview currently using Chart.js. Please give me some insights on how my data chart not to begin in Y axis. ACTUAL RESULT of the Code below. var ctx = document.getElementById(‘myChart’).getContext(‘2d’); var myChart = new Chart(ctx, { type: ‘line’, data: { labels: [<?php […]

Categories
Mastering Development

In DHTMLX Gantt chart getting some repetition of data in Gantt config scales

I am using DHTMLX Gantt Chart, I need to create one row with custom cell on top of date. I can able to create it. But my data is repeating here.Even in console also console.log(key) its repeating. I need item1,item2..etc to display there.I am using gantt.config feature for display the row. Here is the code […]

Categories
Mastering Development

view picture(stored as attachment in ms access) in powerpoint

I’m trying to present my MS access data in a PowerPoint presentation. I’m writing a VBA code in access to create a ppt based on my data. I want to locate a circle cropped photo in each slide. These photos are saved as attachments in MS access. • this code is to fill the oval […]

Categories
Mastering Development

Standard deviation not appearing for all values in ggplot2 summary statistics

I’m having a strange and specific issue with ggplot2 with this data. The output plot from my code (below) is very close to what I want, but after much troubleshooting, I am unable to resolve why the correct standard deviation is not displayed for the bottom-left panel, which should clearly have visible error bars. Many […]