Categories
Bitcoin Cryptocurrency Mastering Development

is it legal to buy verified crypto-exchange accounts?

I am in prohibited zone and there is no any possibility to verify binance account. I am crypto-trader and I do that for living and also this is not my fault that mr. Putin decided to conquer Crimea region. I understand that it breaks any ToS but is it legal to buy accounts verified by […]

Categories
Linux Mastering Development

How to minimize DD image, resize and inject files

I would like to use the same method as Raspbian install which relies on dd deployment. Meaning, from a minimal image file, deploy the system partitions with dd on a SD card, resulting into two partitions. Then I resize the last partition to the rest of available space. And I inject files into the second […]

Categories
Linux Mastering Development

Is there a way to retrieve data from my browser’s web pages from a script (shell, python, etc.)?

What I want to acomplish is the following: Get in real time the html, css, js, etc. files that my web browser is showing. I dont want to access its history and then download the pages listed in that history, I want to get the same data that is showing in the browser. In a […]

Categories
Mastering Development

Multi table of multi column to one table by using table design in ms access

I have 4 table create in ms access. 1 table for credit and other 3 table for debit. I want to require like bank statement. I was try in ms access table design but cannot success. So please help me how to create query or table design. My tables are give below in image. I […]

Categories
Mastering Development

Finding a slope of a given point in a data set using python

I have a data in a txt file that is comprised of two columns that I can retrieve and put as two arrays using numpy (X,Y). os.getcwd() os.chdir(‘C:\\python’) xvalue = np.loadtxt("test.txt", delimiter= " ")[:, 0] yvalue = np.loadtxt("test.txt", delimiter= " ")[:, 1] x = np.array(xvalue) y = np.array(yvalue) zip(x,y) Assuming that the data is something […]

Categories
Mastering Development

showing undefined when accsessing array elemests after fetching data from an API

I was trying to access the codeforces API . Which Return value: Returns a list of User objects for requested handles. Example: "https://codeforces.com/api/user.info?handles=tushar1_000;yogeshk972 I mad this function getData() let output; function getData(){ const url = "https://codeforces.com/api/user.info?handles=tushar1_000;yogeshk972"; fetch(url).then( (response)=>{ return response.json(); }).then( (data) =>{ console.log(data) }) } getData(); when i console it shows me an array […]

Categories
Mastering Development

Problem Building CUTLASS Incorrect Intermediates Directory VS2019, CUDA11, Widnows 10

I’m trying to build Cutlass with CUDA 11 and Visual Studio 2019. I clone the git repo but when I try to call cmake -G “Visual Studio 16 2019” … I get the following error: – CMake Version: 3.17.20032601-MSVC_2 – Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17134. – The CUDA compiler identification is […]

Categories
Artificial Intelligence (AI) Mastering Development

q learning appears to converge but does not always win against random tic tac toe player

q learning is defined as: Here is my implementation of q learning of the tic tac toe problem: import timeit from operator import attrgetter import time import matplotlib.pyplot import pylab from collections import Counter import logging.handlers import sys import configparser import logging.handlers import unittest import json, hmac, hashlib, time, requests, base64 from requests.auth import AuthBase […]

Categories
Mastering Development

How can I avoid duplicate switch statements

I have an enum of phone conditions. At one point in my application I need to update a price based on the condition of the phone, e.g. switch (condition) { case Condition.Good: price = goodPrice; break; case Condition.ScreenCrack: price = screenCrackPrice; break; case Condition.CameraCrack: price = cameraCrackPrice; break; case Condition.BadBattery: price = badBatteryPrice; break; case […]

Categories
Mastering Development

when i try to play the game it gives me the CS0023 error “The ! operator cannot be applied to operand of type float” please help me

using System.Collections; using System.Collections.Generic; using UnityEngine; public class BeatScroller : MonoBehaviour { public float beatTempo; public float hasStarted; // Use this for initialization void Start () { beatTempo = beatTempo / 60f; } // Update is called once per frame void Update () { if(!hasStarted) { if(Input.anyKeyDown) { hasStarted = true; } }else { transform.position […]