instruction
stringlengths
71
95.1k
Can I get a review of my code for the the Collatz Sequence from Chapter three of Automate the Boring Stuff with Python? The Collatz Sequence Write a function named collatz() that has one parameter named number. If number is even, then collatz() should print number // 2 and return this value. If number is odd, then...
In short, I need help simplifying and optimizing this code because now that I have switched to a tree widget from 2 list widgets, loading the tables has increased by roughly 3-4 seconds (used to be almost instant). I would also like to shorten this function if possible. --- Background Info --- self.tableData -- The tab...
I'm having a problem modifying the code so function solve_quadratic, that returns both solutions of a generic quadratic as a pair (2-tuple) when the coefficients are given as parameters. It should work like this: This is my code import math def solve_quadratic(a, b, c): d = int(b*b) - int(4*a*c) sol1 = (-...
From "Cracking the Coding Interview": Write a program to sort a stack in ascending order (with biggest items on top). You may use at most one additional stack to hold items, but you may not copy the elements into any other data structure (such as an array). The stack supports push, pop, is_empty, and peek The classic...
I'm writing a URL validator. Firstly, it checks for special characters in the input. Secondly, it adds 'http://' and checks for validity. /* Returns true if url is valid */ private static boolean isValidURL(String url) { boolean containsSpecialCharacters = specialCharactersExists(url); if ( !con...
I recently posted this question on my implementation of an ADODB Wrapper Class. I realized in my own review that I was missing some very important things, so much so, that I decided it would be worth it to re-write the entire class. Saying that I have done quite a bit of restructuring so I am going to provide an outlin...
I'm rewriting a full color Mandelbrot Set explorer in Python using tkinter. For it, I need to be able to convert a Tuple[int, int, int] into a hex string in the form #123456. Here are example uses of the two variants that I came up with: >>>rgb_to_hex(123, 45, 6) '#7b2d06' >>>rgb_to_hex(99, 88, 77) '#63584d' >>>tup_r...
I'm a beginner learning ROS. I'm developing an android application that will control my robot and that includes getting the list of waypoints to display it to my spinner. How do you get the list of waypoints to my topic /waypoints assuming that there is a map? I've already done the code for subscribing to the topic /wa...
I have written a python script that has tallies representing digits 1-9 (0 is just ":" ) Unlike true Unary languages that are in the form 1^k. I represent values for n as per their decimal digits. The integer 121 is 1_11_1 Overall every k digit out of n "integer" is in Tally notation, and the amount of tallies is the s...
Q: Write a method that transforms a list into an array (don't use collections or already implemented methods in lists, make your own method) I've come with this solution: public static Object[] toArray(List<Object> list) { Object[] arr = new Object[list.size()]; for (int i = 0; i < list.size(); ++i) { ...
I have 2 functions, which are going to hide/ unhide the multiple languages plain text. Security is not a major concern. The objectives are Just want to find a way to hide multiple languages plain text from ordinary user. Even he spends some effort to unhide it, that is completely Ok. Works well for all kind of Stri...
I am new to making shopify applications. I have made one application which helps merchants add additional features in their stores. I have written some PHP code that is given below. $themeList = shopify_call($token,$shop,"/admin/api/2019-07/themes.json",array(),'GET'); $themeList = json_decode($themeList['response'], J...
There's a puzzle game called CrossCells (not affiliated; there's also multiple other ones with the same kind of idea, but slightly different layout and rule set) that I've been playing on and off. After getting a bit frustrated with one puzzle (they're getting larger and larger and I'm not very methodical with solving...
I'm just trying to learn python: I tend to write my own customized wrappers arround "more complicated" python functionalities so that i can use them more easily, more consistent, easier to change in one place, etc. I.e. if wrote my own class my_os with i.e. has the functions rm(path) or mv(from_path, to_path) so that o...
I want to condense it and get rid of any noob programming errors. The code works fine but I know it's not as elegant as it could be and I really want to improve. Your advice would be brilliant! I've talked to other engineers and had some basic help but not a lot. #include <windows.h> #include <stdio.h> #include <string...
Q: Given a list, reverse the order of its elements (don't use collections). Here is my solution: public static <T> void reverse(List<T> list) { if (list.size() > 0) { T t; t = list.get(0); list.remove(0); reverse(list); list.add(t); } } I want to know if this is an ...
An Algorithm For Scheduling Your Time There is a strong body of research in cognitive science which has large implications for how best to plan your day to get the most out of it. However, it isn't practical for everyone to understand it, keep on up to date on recent findings, weigh up the relative importance of differ...
In my current project, I came across a scenario where there will be two sorted list of Decimal values. Let's call them bucket_list and value_list Where bucket_list represents the sum of one or more elements from the value_list value_list may have duplicate values Every element in value_list should be picked only once ...
This search consists of two functions QuickMatch() which searches for the value and getQuickRowValue() which returns the value of a given row. Both functions have a SearchBy As SearchByIndex parameter which is used to determine which values will be compared. For instance: getQuickRowValue() can return [last name] or ...
I'm fairly new to object oriented programming and while I understand the basic concepts, I'm still having some trouble organizing my applications. I'm building a small Tkinter application as a learning experience and am trying to make sure I follow correct object oriented principles. I have a couple specific questions ...
I wrote the below answer for the following question on SO a couple of days ago, and I was curious if the usage of the generator function is an acceptable one. I choose the generator function, because I could easily exchange the generator at a later time to ask the question not in sequence, but rather randomized, or wha...
This maze solver is a continuation to the maze generator I posted here recently Maze generator & animator in Python This code takes an image containing a 2-color maze as input and solves the maze and produces an image of the solution or an animated GIF. The algorithm implemented so far is breadth-first search(BFS) and ...
Simple code where family and person instances can be created. There is a method where any instance of Person can be added to any instance of Family. class Family: def __init__(self): self.names, self.birthplaces, self.dobs, self.deaths = [], [], [], [] class Person: def __init__(self, name, birthplace...
Simple object-oriented, money management code where a user can deposit money in, withdraw from, show, and exit the balance. class BankAccuount: def __init__(self, name): self.name = name self.balance = 0 print('Hello! Welcome to the Deposit and Withdrawal Machine {}!'.format(self.name)) ...
I'm looking for feedback on the code I came up with for exercise 1-21 in "The C Programming Language" by K&R. Write a program entab that replaces strings of blanks with the minimum number of tabs and blanks to achieve the same spacing. Use the same stops as for detab . When either a tab or a single blank would suffice...
Backstory: I'm creating department level workbooks that contains director-level information, so I can't use a single workbook (as easy as it would make this). I need to split (and combine) 4 workbooks into 140 or more. I manage to do this relatively quickly (~30 minutes), but I was hoping to speed it up more. For each ...
https://leetcode.com/explore/interview/card/top-interview-questions-easy/94/trees/627 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \ 3 4 4 3 But the following [1,2,2,null,3,nul...
I am learning how to create a rest api in which I've decided to use generic for crud operation. I am attaching the code which I have written so far. Please have a look. Thanks for the review in advance. What I expect from code review: Good part of the code (if any) Code portion which needs improvement(or any altern...
I have been trying to optimize a code snippet which finds the optimal threshold value in a n_patch * 256 * 256 probability map to get the highest Jaccard index against ground truth mask. Consider a single probability map (256 * 256) and its ground truth (256 * 256 with 1 and 0). To find the optimal threshold value whic...
Inspired by This LeetCode Question. Instead of checking if every layer is symmetric, it instead checks if any aren't. This allows the program to leave early is an early layer fails the test. I'm looking for performance mostly, as I loop through each element in the list, instead of each layer. All feedback is appreciate...
Basically I have an url which looks like this structurally speaking: http://www.my-site.com/topic1/topic2/topic3/topic4/topic5 and I want to do 2 things to it: 1. check the structure and validate it 2. replace both topic3 and topic4 with a new parameters called topic6 This is my solution for now but I am interested to...
I have made an operator (surrounded by others operators) for training a model in sagemaker in airflow and I have doubts how would it be more readable or more pythonic. First I did this: transform_data = BashOperator( task_id = 'transform_data', bash_command = 'blabla') container = get_image_uri(boto3.S...
In my project I have to make curve-fitting with a lots of parameters, so scipy curve_fit struggles to find the answer. For example: \$\ c_0 + c_1 \cdot cos (b_0 + b_1\cdot x + b_2\cdot x^2+ b_3\cdot x^3)\$ ,where \$ c_i, b_i \$ are the params to determine. That's why I made a method which first tries to fit the desir...
In this program, there is a list of Holders that is managed by a singleton class. Each of the Holders keeps a copy of the external resource (represented by a String here). When adding a new Holder via addHolder(), the current value of the external resource is copied. At anytime, the external resource can update its val...
https://leetcode.com/problems/house-robber-iii/ Please review for performance The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one parent house. After a tour, the smart thief realized that "al...
The following problem is from LeetCode: Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. Example 1: Input: "Let's take LeetCode contest" Output: "s'teL ekat edoCteeL tsetnoc" The following code is working correctly...
I'm learning C#, I programmed some things in java, and I would like to have a feedback on my C# code. The exercise is from codility. The goal is to rotate array A K times; that is, each element of A will be shifted to the right K times. Write a function: class Solution { public int[] solution(int[] A, int K); } that...
https://leetcode.com/problems/house-robber/ You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact th...
I have this code where I want to go trough 3 levels and it doesn't seem to work if there are only 2 or 1 levels! What's wrong with my query? select lvl1.category_id AS l1, lvl1.parent_id AS l1, lvl1.title AS l1, lvl2.category_id AS l2, lvl2.parent_id AS l2, lvl2.title AS l2 , lvl...
This is just a simple counter, i was able to code it in two different ways but i want to know which way is more efficient and which way is more readable. and which set of code is more "correct" in broad-manner of speaking. and if there is another entirely different set of code that does the same function ? Game Rules ...
Due to the tightened Youtube API daily quota (that allows to use only ~ 98 search requests per project daily) I've implemented a multi-project system. For this to work you need to create a project/projects, download JSON with client secrets and put it in the credentials directory in the script's folder. I'm aware that ...
I have written a simple RC Filter approximation in python that I have a feeling could be more concise. Are there any obvious improvements? class EWMA: def __init__(self, coeff: list, initialValue: float): ## # ewma3 states for coefficient optimization ## self.last_ewma3 = [0.0, 0.0, ...
I have a mapping application and the marker I'm using is based on the field rep assigned to that visit. My code is just a Select Case based on the rep's name and then it sets the bitmap for that person. My code works fine, but there are 19 different field reps and I feel there must be a better way. The code loops th...
This has been asked a couple of times but here is my implementation in C++. I have 11/12 solutions completed. The 6th test case which has 200000 intial scores and Alice has even more scores causes my program to timeout. Below is the problem statement and the code. My question is, am I missing something in code complexi...
I've written a C# struct in order to encapsulate the idea of a string being neither null nor white space. I was basically tired of writing and unit testing checks like the following: public class Person { public string Name { get; } public Person(string name) { if (string.IsNullOrWhiteSpace(name)) ...
I have a dataset on which I need to do entity resolution. Hence in this dataset some records have links some records have address. I need to build a logic for it to identify each record and put the acronym as a unique identifier. Example Dataset ID LINK acronym address 1 google NAN a 2 google...
https://leetcode.com/problems/house-robber-ii/ You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. Meanwhile, adjacent houses have secu...
Below is my code for the Comma Code problem from Chapter 4 of Automate the Boring Stuff with Python. Is there anything I can do to make it cleaner? Comma Code Say you have a list value like this: spam = ['apples', 'bananas', 'tofu', 'cats'] Write a function that takes a list of values as an argument and returns a stri...
I am starting to learn network programming. I have implemented a very simple chat server based upon TCP, where the users only need to provide username. The assumption is that the server makes use of no additional threads and the sockets are not blocking. The code: import sys import time import socket import select ...
Background In my development of a game engine, I realized the need to be able to construct processing units in a serializable way (code below does not show serialization, just the wiring). I broke the problem down into nodes and connectors. A Node is the processing unit. A Node may have zero or more connectors, for tra...
I have a graph represented using a dict of sets, e.g. graph = { 0: {1, 2, 3}, # neighbors of node "0" 1: {0, 2}, 2: {0, 1}, 3: {0, 4, 5}, 4: {3, 5}, 5: {3, 4, 7}, 6: {8}, 7: {5}, 8: {9, 6}, 9: {8} } I use the following code to find connected components in the graph: def get_con...
This app loads application specific global configs and starts http server so that it is ready to serve API requests. While structuring and coding, I've followed some "best" practises either from the official docs, widely followed resources and some others. Given that the app below works, I have a feeling that it could ...
I’m in the process of learning C++ and this was an assignment for a class. It is a simple hangman game. The instructor gives no feedback, only a pass/fail remark. While this works, I would like to know where I can improve. Thank you very much in advance for your help. /**************************************************...
Here is my parent component: App.vue. I was wondering what improvements I could make to the code here. Application Description This application was built off the Vue.js framework and utilizes a Laravel REST API I created to fetch custom data. It stores and tracks your ‘health score’, which is determined by the an...
Github for project: https://github.com/wrpd/portfolio I have a very general understanding of MVC but haven't ever implemented it. In an effort to improve my understanding and get back into a little bit of web development I started watching and reading some tutorials and started to implement a basic MVC to redesign my p...
So after watching week 5 of the machine learning course on Coursera by Andrew Ng, I decided to write a simple neural net from scratch using Python. Here's my code: import numpy as np import csv global e global epsilon global a global lam global itr e = 2.718281828 epsilon = 0.12 a = 1 lam = 1 itr = 1000 # The sigmoid ...
My attempt at a fixed framerate using SDL2 without using VSync. Just using SDL_Delay left the fps a bit slower or faster due to the fact SDL_Delay only works with milliseconds. So the solution I came up with is after using SDL_Delay the remainder of the "extra" time is elapsed through a loop. The solution seems a littl...
I had a friend ask me to write this up for her as she discovered her logs were saving private bank information in plain text. This is used to parse a few hundred gigs of text files. I've never worked with python for anything other then pet projects so i'd like to send my friend a nice piece of code since this is my fir...
This code runs slowly, even with numbers smaller than 1,000,000. Can someone help me optimize this thing? // Finds the highest perfect square below a certain input (int) let target: Int = 758865 // Swap this out for testing other numbers var smlSqr = [Int]() let findLimit = Int(Double(target).squareRoot().rounded(.up)...
my use-case (an home task to practice abstraction, exception handling, unitests) is regarding a message-queue with small-fixed-size client requests from stdin of such: [ENQ] data (insert json data to queue) [DEQ] (get latest in queue) [STATUS] (status of queue) [STOP] (stop server) [EXIT] Without an...
I do some art both analog and digital. This time I did some color test digitally. To work on my programming skill so that it's shareable I'm asking for help to get some code review. How's the readability? Is it easy to follow line of thought? Suggestion as to how to improve? I'm using John Zelles graphics.py for ...
I am making a basic program just for a local machine so I do not need to create anything fancy but I am finding that my code is going to become quite lengthy. Any tips on how to improve it so I am not repeating code? I have additional code to add in respect to client data etc but I am primarily concentrating on the fou...
This code generates a fractal picture. I'm experimenting with using long variable names to see if the code is still readable without comments. I'm a slow reader and loose track a lot and thought to myself why read twice (variable names and comments). (When) is it better to replace comments with longer descriptive vari...
I'm doing a code-challenge problem: Input The first line consists of an integer T (T ≤ 100) which represents the number of test cases. Each test case consists of an integer N (5 ≤ N ≤ 100.000) which represents the number of integers, followed by a line that consists of N integers Ai (0 ≤ Ai ≤ 1000) separated by a spac...
This is within a base class of a library, where several other classes inherit this one. This seems like the simplest way of just getting some data, for now without timeout/errorhandling. This is supposed to get some data that will most ofthe time be converted to a small JSONObject. Do you think I should put everything...
Recently I asked the similar question, but the algorithm was implemented in Python. Now I've tried to implement the same algorithm, but in C++ (I'm very new to it): #include<iostream> #include<cstdlib> #include<ctime> #include<cmath> #include <tgmath.h> using namespace std; const int MAXRANGE = 1000; int randint(in...
What follows is a small but useful set of functions on transitive graphs and graphs that must be conformed to transitivity. Natural language is rich in transitive relationships expressed in a synthetic way, such as "they live in the same city", "they are friends". These two examples are binary transitive relations expr...
Motivation I came across an interesting question on SO: determine-if-string-has-all-unique-characters and thought about providing an extension method to enable duplicate removal given some kind of normalization. Description The goals: Remove any duplicate characters (keep the first occurence) and return the updated ...
I'm relatively new to OOP with JS and want to find out: If my code can be improved somehow, and key question Identify how and where I can typically use OOP more in my job (as I can usually just use arrays and don't need objects) I have built a basic demo that just stores some animal data as objects and displays them ...
Here is a shortest possible syntax for replacing whitespaces with null and throwing an exception where it is not allowed: public class Name { string _first; public string First { get => _first; set => _first = (Optional)value; } string _middle; public string Middle { ...
My code finds the maximum subarray sum and the starting and ending index of that subarray. int Max(int a,int b){return (a>b)?a:b;} int Max(int a,int b,int c){return Max(Max(a,b),c);} int MaxAcrossSubArray(int arr[],int l,int m,int r,int &Start,int &End) { Start=m;//initialize start index int sum=arr[m]; in...
Would my code be considered fairly optimal and efficient? If not, where can I look to improve the code? The program works just fine. Would this method scale well if the dictionary containing the number of bank account increases? Design: I have designed and kept only one object in main(). i.e. bank_1, contains a diction...
I tend to include something like the following in small and medium-sized Python projects, either at the top of the executable or as logger.py: import logging import sys logger = logging.getLogger(__name__) stoh = logging.StreamHandler(sys.stderr) fmth = logging.Formatter("[%(levelname)s] %(asctime)s %(message)s") stoh...
Code below reads static variables from ProductConfiguration class. Functions setAccess and setMarketAccess in two classes ProductInitialization and ProductMarketInitialization reads variables from ProductConfiguration. Can this reading be done in a better way? I still want to have file ProductConfiguration to hold publ...
I have a class LoanAccount that contains an attributes creationDate and loanAmount. I want to implement a Comparator that sorts the accounts by loan amount in descending order. When the loan amounts are the same, sorts the accounts ascending by date. The code look like this: Class public class LoanAccount { ...
I used this API to download some data. The code is supposed to create a dataframe table using specific fields of an object, and it seems to work, but running slow. I think it would run faster if I used something instead of json_nomarlize. def create_table(data: List[dict]) -> pd.DataFrame: """ Creates pd.Dat...
This question was given in my college assignment to be done in C. After doing that, I rewrote the program again in rust. I come from a C/Python background and this is my first rust program. Please critique it. The Program is given inputs in the following format {num_items} {max_weight} {item_weight_1} ... {item_weight_...
I had a read about classes, def, self, master, *args, **kwargs, __init__ and roots. Still trying to get my head around the whole thing. I am struggling to structure my current code into classes and defs. Here is my current code (below). It works perfectly fine, but I need to re-code it, re-structure it with classes, as...
I'm very new to C++ and made this code using the Eigen library to port an old and slow python code which computes the three-dimensional proper orthogonal decomposition (POD) from a set of temporal point cloud data. In this case the data is a obtained from a CFD (computational fluid dynamics) simulation as a cloud of 10...
I have a worksheet I use with a small handful of colleagues on a daily basis to share information with about orders we place. To make sure we always have the same up to date info we use a shared excel workbook I created. I know this is not preferred, but this is all that is available in my company. To prevent us from o...
Selection Sort The selection sort algorithm sorts a list by finding the minimum element from the right unsorted part of the list and putting it at the left sorted part of the list. The algorithm maintains two sub-lists in a given input list. 1) The sub-list which is already sorted. 2) Remaining sub-list which ...
I've made a few things in Java, and now I'm learning C#. The code passes the tests with 100% final score. I want to know what things can be improved in my code. Task description A non-empty array A consisting of N integers is given. A permutation is a sequence containing each element from 1 to N once, and only...
This is my first attempt at some basic OOP programming. A version of battleships played within the terminal. Any feedback would be great; especially in regards to readability and proper naming conventions. I would really like to improve the strike function of the computer class to make it play more intelligently, any ...
I wrote a parser to extract data from a log file. The file format is a bit irregular, and so is also the parser code, as it turned out. It is a clutter of different loop types, different ways to iterate, and different ways of treating strings: import re import pandas as pd import os import sys logfilename = sys.argv[1...
Selection Sort The selection sort algorithm sorts a list (array) by finding the minimum element from the right (unsorted part) of the list and putting it at the left (sorted part) of the list. The algorithm maintains two sub-lists in a given input list. The already sorted sub-list The remaining unsorted sub-list Bubb...
I'm trying to implement the Wu-Manber algorithm (http://webglimpse.net/pubs/TR94-17.pdf). From my understanding, the algorithm basically does string matching using a hash table-based approach with chaining to resolve collision. I have not used C++ for quite a while. I'm looking for help with coding convention for bette...
I had an application where I really wanted a double-ended queue that supports random access. Java's ArrayDeque would have been perfect, except that it doesn't expose random access into its backing array. So I went and implemented my own, which I named RingBuffer. I'm looking for any constructive criticism about either ...
I'm taking an online course in website development and we're going over JavaScript ES6, but my professors lecture and notes I've taken we're not very helpful more resourceful with the assignment I was given. Using proper ES6 methods, I was asked to create a class for Vehicles and two Subclasses for a bus that inclues t...
Stumbled upon this interview question: Given a morse encoded sentence with no spaces or separation between letters or words and a list of words contained in the message, decode it. This was my solution (and a test case with the jack and jill sentence): static String[] alpha = {"a","b","c","d","e","f","g","h","i","j...
This is my first game and I'm really proud of it, but I think it's horribly messy. Is there any way to improve it? #HANGMAN # Valid Word Checker def valid_word(word): ill_chars = ["!","@","#","$","%","^","&","*","(",")",",",".", " ","1","2","3","4","5","6","7","8","9","0"] for i in word: if i in ill_...
I'm working on a program that creates a file for a specific embosser machine (machine that creates plastic bank card for example). I have 3 embosser machines and all of them create different files. Every file contains a card number, last and first name, address, etc. The difference between the files is that they contai...
I have a Tree structure represented by a List, which I want to get it flattened. I wrote the function below: List<Entry> flatTree(List<Entry> toFlat, List<Entry> destination) { for (Entry entry : toFlat) { if (CollectionUtils.isNotEmpty(entry.getEntries())) { this.flatTree(entry.getEntries(), de...
I wanted to implement a thread pool to test my knowledge of various modern C++ features. The end result could be better, but I need a review as I'm not sure about delicate things especially regarding synchronization and variable argument passing and of course recommendations on improvements of the code as well as my re...
I could barely get this to work... It seems there is redundancy as the dates are repeated twice, for example. Is there a way to simplify it? WITH total AS ( SELECT COUNT(type) AS total FROM loan_loan WHERE loan_loan.created_at > '2019-08-15' and loan_loan.created_at < '2019-09-05' ) SELECT ...
I'm trying to resolve this kata from CodeWars. Kata exercise You are at position [0, 0] in maze NxN and you can only move in one of the four cardinal directions (i.e. North, East, South, West). Return true if you can reach position [N-1, N-1] or false otherwise. Empty positions are marked .. Walls are marked W. Start ...
I'm new to C#, I programmed a little in Java in the past. I had the two previous exercises reviewed here (permCheck, cyclicRotation, with a 100% score, just like this one), and I'm applying what the accepted answers contributed to me. Even though the site expects names like public int solution(int X, int[] A), I refact...
Given a start and end of a range as string, for example: String start = "1230000"; String end = "1285999"; Generate the shortest list possible with prefixes that include the whole range, so that for any number from the given range there is a list elemnet which can be used as a prefix. For above example the list woul...
I have an implementation of the sqrt function that uses a combination of IEEE 754, packed bitfields, and the Newton-Raphson algorithm: decompose.h: #ifndef DECOMPOSE_H #define DECOMPOSE_H 1 #ifdef __cplusplus extern "C" { #endif #include <float.h> #define MANTISSA_SIZE 52 #define EXPONENT_SIZE 11 #define EXPONENT_BI...
I need better logic that would allow this search to perform quicker and more efficiently. In XAML, I have a DataGrid and a TextBox. Both need to be present. I'd prefer that as the user types in the TextBox, the Grid is filtered by one or more columns. Not that the user needs to click a "Submit" button (unless this is ...
To run this program the graphics.py module that is not in the standard library is needed and can be found here https://mcsp.wartburg.edu/zelle/python/ This amateur program is for the fun of graphics and programming in itself. Im thinking it would be a rewarding hobby for me to share and use each others shared code and...