row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
11,247 | import asyncio
import aiohttp
import json
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
# Create a semaphore with a limit of n
semaphore = asyncio.Semaphore(5)
api_request_delay = 0.2 # Set a 200ms delay between API requests
async def get_external_transactions(block_number):
async with semaphore:
... | c7e8119c492f937de70c8dac7bf0e123 | {
"intermediate": 0.3581313490867615,
"beginner": 0.50846266746521,
"expert": 0.13340601325035095
} |
11,248 | Give me an example of recursive plsql query | 703bdcf170d223590598b2448795088a | {
"intermediate": 0.42339786887168884,
"beginner": 0.22594182193279266,
"expert": 0.3506602942943573
} |
11,249 | Te voy a compartir un código de Python para que lo modifiques de maenra profesional y elegante, con el fin de que sea funcional pero la estructura sea distinta y se considere una obra original, acá está lo que debes mejorar con base a mis instrucciones.:
"import os
import av
import cv2
import torch
import easyocr
impo... | 2e6eff00b3479d48fa87ffed414be996 | {
"intermediate": 0.41318443417549133,
"beginner": 0.34164443612098694,
"expert": 0.24517109990119934
} |
11,250 | how to force selenium chrome to use specific network interface (lets say wifi) with python on windows? | 2e8db8581f41b0fbada547bb211fd9ee | {
"intermediate": 0.35173532366752625,
"beginner": 0.18389247357845306,
"expert": 0.4643721580505371
} |
11,251 | come up with 10 solutions written in rust. requirements: strictly using only std library when possible. task: make proc macro using proc-macro2 crate that get into argument type of $str intentionally erroneous expression containing syntax error, that may cause parse error and panic, but we should handle and avoid it by... | be6c275a6670d029d738a2a513f2b9c9 | {
"intermediate": 0.603796660900116,
"beginner": 0.22858035564422607,
"expert": 0.16762299835681915
} |
11,252 | I usd this code: import time
from binance.client import Client
from binance.enums import *
from binance.exceptions import BinanceAPIException
from binance.helpers import round_step_size
import pandas as pd
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
from decimal import Decimal
import re... | 4858dcfa8f5c118d2269732b62e7db59 | {
"intermediate": 0.40332138538360596,
"beginner": 0.42879724502563477,
"expert": 0.16788135468959808
} |
11,253 | what is the most important things I should know about html before I start learning css ? | 97b4e8824407407a4e9816d0300ebc7c | {
"intermediate": 0.33512988686561584,
"beginner": 0.37399330735206604,
"expert": 0.2908768057823181
} |
11,254 | I have a pop up that opens every time i activate a particular sheet. I activate the sheet very often. Is there a way of preventing the popup from opening within the last 60 minutes it was last opened | c2d16426ec7f474d79bf09d3cc45adca | {
"intermediate": 0.4321288764476776,
"beginner": 0.2724526822566986,
"expert": 0.295418381690979
} |
11,255 | how do you self join this situation "Categories and subcategories are stored in one table. If a parent category is specified, it is a subcategory"
I want to return only categories with an array of their subcategories.
const categories = await this.categoryRepository.createQueryBuilder('category')
.leftJoinAndSe... | 8a20c5fa897286b0a71e8556cc40897a | {
"intermediate": 0.5728972554206848,
"beginner": 0.1992424875497818,
"expert": 0.22786030173301697
} |
11,256 | can you program in pinescript? | b56583e916c71881934aeca6ccfef0c2 | {
"intermediate": 0.2520159184932709,
"beginner": 0.43183669447898865,
"expert": 0.31614741683006287
} |
11,257 | Мне нужно реализовать автокомплит со списком городов из базы данных такой же, как в search.ejs только при регистрации. Вот код:
const express = require("express");
const fs = require("fs");
const session = require("express-session");
const fileUpload = require("express-fileupload");
const app = express();
const fuzzba... | 684a5435989194c762fc28adf8cce9f0 | {
"intermediate": 0.3877393305301666,
"beginner": 0.5134510397911072,
"expert": 0.09880967438220978
} |
11,258 | Мне нужно реализовать автокомплит со списком городов из базы данных такой же, как в search.ejs только при регистрации. Вот код:
const express = require("express");
const fs = require("fs");
const session = require("express-session");
const fileUpload = require("express-fileupload");
const app = express();
const fuzzba... | 13772928945483b2730c076607adeec4 | {
"intermediate": 0.3877393305301666,
"beginner": 0.5134510397911072,
"expert": 0.09880967438220978
} |
11,259 | > subset_data$image
[1] "images/470_blur_80.jpg" "images/440_contrast_70.jpg" "images/382_contrast_90.jpg" "images/9_jpeg_80.jpg" "images/288_jpeg_80.jpg" "images/115_contrast_70.jpg" "images/113_contrast_70.jpg" "images/228_contrast_70.jpg" "images/180_contrast_90.jpg" "images/227_contrast_90.jpg"
[11... | 32a54616ab3e97ee2bc3fd31bb32aaa5 | {
"intermediate": 0.39085447788238525,
"beginner": 0.3523864448070526,
"expert": 0.25675901770591736
} |
11,260 | I used this code: import time
from binance.client import Client
from binance.enums import *
from binance.exceptions import BinanceAPIException
from binance.helpers import round_step_size
import pandas as pd
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
from decimal import Decimal
import r... | 7c2b23429c97aa345ecf1fdf77b4f951 | {
"intermediate": 0.3417249619960785,
"beginner": 0.4113231599330902,
"expert": 0.2469518929719925
} |
11,261 | come up with 10 solutions written in rust. requirements: strictly using only std library when possible. task: make proc macro using proc-macro2 crate that get into argument type of $str intentionally erroneous expression containing syntax error, that may cause parse error and panic, but we should handle and avoid it by... | c5f2bf1d5fc168ccfb10dcef1efaa5c6 | {
"intermediate": 0.603796660900116,
"beginner": 0.22858035564422607,
"expert": 0.16762299835681915
} |
11,262 | Loading Themes module
Could not load thumbnail file '/home/hp/.local/share/icons/Fluent/scalable/places/folder.svg': XML parse error: Error domain 1 code 4 on line 1 column 1 of data: Start tag expected, '<' not found
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py... | db298aba15a87889f3ebe845059f61bb | {
"intermediate": 0.4709494709968567,
"beginner": 0.3396560549736023,
"expert": 0.18939454853534698
} |
11,263 | I have create LB service on azure aks, how can I put certificate on it? | cf64aeaaa319ab13e8f93d16ef45bfc1 | {
"intermediate": 0.46961280703544617,
"beginner": 0.15827693045139313,
"expert": 0.3721103072166443
} |
11,264 | import yfinance as yf
import talib
import datetime
# Define the tickers for the stocks you want to get data for
tickers = [#tickers...]
al_tickers = [] # List to store tickers that meet the conditions
portfolio = {} # Dictionary to store the portfolio (stock: quantity)
# Set initial balance
balance = 10000
# Defi... | 6828d7b733f596840bece5f7868cb70a | {
"intermediate": 0.3248741328716278,
"beginner": 0.45729950070381165,
"expert": 0.2178264707326889
} |
11,265 | how to create a hive table from csv file | de648afc23173aebe216b66ce6b92a58 | {
"intermediate": 0.2925807237625122,
"beginner": 0.19258488714694977,
"expert": 0.5148343443870544
} |
11,267 | write simple javascript html css modal window | 7b3c81113b6dd00c5052d7cd34f63c92 | {
"intermediate": 0.4039138853549957,
"beginner": 0.35811030864715576,
"expert": 0.23797589540481567
} |
11,268 | how to realize communicaton between qemu vm instances | 45c43f8f518d2b9a19eec4bcd66ace58 | {
"intermediate": 0.26304376125335693,
"beginner": 0.27311012148857117,
"expert": 0.46384620666503906
} |
11,269 | 以下是用C语言实现的代码,可以实现逻辑表达式的真值表输出:\n\n | 3f4b257b86dee18fa8cbc3aac2db6090 | {
"intermediate": 0.3284284770488739,
"beginner": 0.3136495351791382,
"expert": 0.3579219579696655
} |
11,270 | Мне нужно сделать запросы к базе данных. Мой запрос,выполненный во flask,выглядит так res = db.session.query(Order_tasks.name_of_order,
Order_tasks.id,
Topics.name,
func.count(Tasks.id),
... | a32c25cb3e98d06fe7c7c1abdcf275c7 | {
"intermediate": 0.32994070649147034,
"beginner": 0.4806901216506958,
"expert": 0.18936920166015625
} |
11,271 | # Оптимизированный!!! Возвращает адреса созданных токенов из новых блоков в реальном времени
import asyncio
import aiohttp
import time
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
# Create a semaphore with a limit of 3
semaphore = asyncio.Semaphore(1)
async def get_latest_block_number():
async with ai... | fcfbba8c45d10f0f39fceb0a7d0cd1c7 | {
"intermediate": 0.4721282124519348,
"beginner": 0.3923260271549225,
"expert": 0.1355457901954651
} |
11,272 | dumpbin 输出.def | b9b859408d9ed1e8e4c9024d3ea343b2 | {
"intermediate": 0.3038713335990906,
"beginner": 0.4159151315689087,
"expert": 0.28021350502967834
} |
11,273 | #include "public.h"
#include "key.h"
#include "beep.h"
#include "songdata.h"
#define Clk 0x070000
unsigned char data val_H; //计数器高字节
unsigned char data val_L; //计数器低字节
#define ROWS 4
#define COLS 4
sbit P00 = P2^5; //扬声器控制引脚
bit song_playing = 0; // 添加歌曲播放标志
void t0_isr() interrupt 1 //定时器 0 中断处理程序
{
if (so... | 8e7c75bb8b3979ce18e21d18d709b287 | {
"intermediate": 0.3519093990325928,
"beginner": 0.5252796411514282,
"expert": 0.12281100451946259
} |
11,274 | convert this react code to svelte
App.css
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Roboto:wght@400;500;700;900&family=Pacifico&display=swap');
:root {
--background-1: #f1ede9;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 1.5vh;
}
#container {
posi... | 8462c6ac1bb1fd65abcc047f4b9e2f42 | {
"intermediate": 0.3540199100971222,
"beginner": 0.47174668312072754,
"expert": 0.17423342168331146
} |
11,275 | import asyncio
import aiohttp
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
# Create a semaphore with a limit of 5
semaphore = asyncio.Semaphore(5)
async def get_contract_verification_status(contract_address: str) -> bool:
async with semaphore:
async with aiohttp.ClientSession() as session:
... | 538390451b4c3c4f025f7a93d5fcf9a8 | {
"intermediate": 0.5409077405929565,
"beginner": 0.2581484317779541,
"expert": 0.20094376802444458
} |
11,276 | 'utf-8' codec can't decode byte 0xb5 in position 0: invalid start byte | 18c029263a6212165657581b76778527 | {
"intermediate": 0.37180814146995544,
"beginner": 0.2752907872200012,
"expert": 0.3529011011123657
} |
11,277 | Procedural Macros: Error handling
Published 2021-05-11 on blog.turbo.fish
This is the third article in my series about procedural macros. The examples here are based on the Getters derive macro from the previous article.
As the title says, this time I'll explain error handling, specifically how to use syn::Error to p... | 3d86be6bd4cd104e17a53e1492120eb3 | {
"intermediate": 0.3858981132507324,
"beginner": 0.41360267996788025,
"expert": 0.20049919188022614
} |
11,278 | what is difference in Attribute Macros versus Function-like Macro in rust explained on rust code of effective use of both approaches | f21bfaada90d22a377ebedb5085ec132 | {
"intermediate": 0.2692890465259552,
"beginner": 0.25010401010513306,
"expert": 0.48060697317123413
} |
11,279 | Make a test CSS to fit all child buttons into the parent header using flex | 544ce0f88e38eac54bbe8a3a9888ccad | {
"intermediate": 0.3856859803199768,
"beginner": 0.2877774238586426,
"expert": 0.3265365958213806
} |
11,280 | I have created a stock market prediction model based on super indication now in this you need give code to make predictions for upcoming prices for next 5 days using the model also in y axis insted of time make it date:
import yfinance as yf
import pandas as pd
import numpy as np
from sklearn.preprocessing import MinM... | d4b183c6564a9bf4d95537e275f91a99 | {
"intermediate": 0.35669174790382385,
"beginner": 0.33997535705566406,
"expert": 0.3033328354358673
} |
11,281 | hi | 13b17e8d6e8428b144114a3317adcccb | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
11,282 | I need to make a stock market prediction model for predicting the closing price using LSTM and supertrend as indicator please correct the below code for predicting the closing prices and label the plot for closing prices vs date:
import yfinance as yf
import pandas as pd
import numpy as np
from sklearn.preprocessing i... | 8e61744dc4f0ba1496a5216efb342eb5 | {
"intermediate": 0.4395500123500824,
"beginner": 0.26292169094085693,
"expert": 0.2975282669067383
} |
11,283 | Use this model and make a prediction for the next day (This model is trained on the data start='2009-01-01', end='2021-01-01' now give a prediction for what will be the price on 2021-01-02 (I have no information of that day)):
import yfinance as yf
import pandas as pd
import numpy as np
from sklearn.preprocessing imp... | 0f3301799a42e380350013b5a6e130c9 | {
"intermediate": 0.38459697365760803,
"beginner": 0.31749266386032104,
"expert": 0.29791033267974854
} |
11,284 | Make a stock market prediction model using LSTM use the below code as starting point(You may need to modify it) using supertrend as indicator you also need to make prediction for the next day (For eg the data is trained on start='2009-01-01', end='2021-01-01' make prediction for price at '2021-01-02'):
Code:
import yf... | f1c30b45999e5df7acc3a753f4f60d65 | {
"intermediate": 0.37994763255119324,
"beginner": 0.28402408957481384,
"expert": 0.3360283076763153
} |
11,285 | Each cell in Column G23 to G53 displays a sheet name.
I would like to click on a sheet name and go to the sheet.
How will I write this VBA code | e3e3e7b418eeba20ce0a4a4516635a64 | {
"intermediate": 0.302672803401947,
"beginner": 0.3805769681930542,
"expert": 0.3167502284049988
} |
11,286 | AND DATE(operation.DateSave)BETWEEN '2023-05-01' AND '2023-05-31' ORDER BY operation.DateSave ASC | 589994d18385b897c8c31dd6dcba5b30 | {
"intermediate": 0.384835422039032,
"beginner": 0.25302034616470337,
"expert": 0.36214426159858704
} |
11,287 | blender 3.51 script geometry nodes examples | 9978c7e110d47eab30f301395b57d40b | {
"intermediate": 0.35155215859413147,
"beginner": 0.3000461459159851,
"expert": 0.3484016954898834
} |
11,288 | Create solidity BEP20 bsc chain smart contract exact implementation with all features mentioned below:
0. restorable
1. payable
2. ownable
3. pausable
4. has liquidity pool features on uniswap and tokens cannot be sold by holders
5. bsc chain smart contract proxy
6. change ownership of BEP20 contract
7. send initi... | beb8e01797d3f75e7e29a6365e0fc3ea | {
"intermediate": 0.3238583207130432,
"beginner": 0.24647784233093262,
"expert": 0.42966383695602417
} |
11,289 | I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele... | 457fa6ce1aa8693e7c322fa6dbbc7e91 | {
"intermediate": 0.4166281521320343,
"beginner": 0.35532474517822266,
"expert": 0.22804704308509827
} |
11,290 | # Оптимизированный!!! Возвращает адреса созданных токенов из новых блоков в реальном времени
# Выводит только контракты, у которых есть имя
# Использован Web3
import asyncio
import aiohttp
import time
from web3 import Web3
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
# Create a semaphore with a limit of 3... | 0c4d4ebf8bc75344c99439b66d95c8e8 | {
"intermediate": 0.4319572150707245,
"beginner": 0.4892805814743042,
"expert": 0.0787622258067131
} |
11,291 | I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele... | 7a5e9b9760e63d44dfe37b294f60ad52 | {
"intermediate": 0.4166281521320343,
"beginner": 0.35532474517822266,
"expert": 0.22804704308509827
} |
11,292 | hi | ff35108df203df2e22114d2467f0b48a | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
11,293 | I used this code: import time
from binance.client import Client
from binance.enums import *
from binance.exceptions import BinanceAPIException
from binance.helpers import round_step_size
import pandas as pd
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
from decimal import Decimal
import r... | 2598ff5f5680378d64e0d0ac21b5c547 | {
"intermediate": 0.47261640429496765,
"beginner": 0.3915380835533142,
"expert": 0.1358455866575241
} |
11,294 | I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele... | 775c13317ff1f8b1bc9dc26f299e492c | {
"intermediate": 0.4166281521320343,
"beginner": 0.35532474517822266,
"expert": 0.22804704308509827
} |
11,295 | ok, look, next problem.
when gpt sends messages to me, message fragments that contain code are formatted in <code> with class="hljs language-undefined" or class="language-css hljs" or whatever.
inside the original message it looks like "`.preformatted`" or like " | 0fce26472bd8a67056401bb724e03758 | {
"intermediate": 0.35977235436439514,
"beginner": 0.4644617736339569,
"expert": 0.17576591670513153
} |
11,296 | ok, look, next problem.
when gpt sends messages to me, message fragments that contain code are formatted in <code> with class="hljs language-undefined" or class="language-css hljs" or whatever.
inside the original message it looks like "`.preformatted`" or like " | bbc6a3d7d8ea19baaaa235ef0edf2ac0 | {
"intermediate": 0.35977235436439514,
"beginner": 0.4644617736339569,
"expert": 0.17576591670513153
} |
11,297 | ok, look, next problem.
when gpt sends messages to me, message fragments that contain code are formatted in <code> with class="hljs language-undefined" or class="language-css hljs" or whatever.
inside the original message it looks like "`.preformatted`" or like " | f6d8b7ac34e26c1ea55a70714718b85f | {
"intermediate": 0.35977235436439514,
"beginner": 0.4644617736339569,
"expert": 0.17576591670513153
} |
11,298 | hi | d4d839a9d131fa9176cf8dfe7ec606c8 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
11,299 | I want you to act as a qualified Python programmer an to review the following Python code. Point out potential problems with it and how it can be improved while still working as original one. | 8436ff1d6140c2eb3876105caf5ac972 | {
"intermediate": 0.3600691258907318,
"beginner": 0.3406076431274414,
"expert": 0.2993232309818268
} |
11,300 | html I have a 5 menu options I want to create a menu where you can scroll through the options with arrow key up and down and it will only show the menu option you have selected the one above and the one below
each menu option will also have a scroll bar that you can drag between 0.00 and 1.00 | 7baf66b9146cce5d1e8760ea79391ed7 | {
"intermediate": 0.29826462268829346,
"beginner": 0.27027279138565063,
"expert": 0.4314626157283783
} |
11,301 | Load two images for blend based on C language and opengles3.2 version | f7fd01392c2f4f06353a2bffd4327ea9 | {
"intermediate": 0.4297705590724945,
"beginner": 0.32181084156036377,
"expert": 0.24841858446598053
} |
11,302 | hello | ec68c63b9047b1cedde674124193bb88 | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
11,303 | for (int i = 0; i< Paintings.Length; i++)
{
float s;
if (Paintings[i].paidBy == IngredientUnit.Vin)
{
s = Paintings[i].price;
Debug.Log(s);
//Debug.Log(900 + 5250);
}
} | 868e1563bfda0701a4faa1d99e3332b5 | {
"intermediate": 0.26343944668769836,
"beginner": 0.47979414463043213,
"expert": 0.2567663788795471
} |
11,304 | how to force selenium chrome to use specific network interface (lets say wifi) with python on windows? | b888cfc5095ca5b00bdf6bd9cd7b4a1b | {
"intermediate": 0.35173532366752625,
"beginner": 0.18389247357845306,
"expert": 0.4643721580505371
} |
11,305 | correct this code please correct this code such that using same instruction like in code no other instruction but try removing errors from it and adding comments . the program should input size of palindrome between 0 to 9 and then check if its palindrome or not using stack and array for values comparision ... | 4f231100721f70e34ba8dad63f96f50b | {
"intermediate": 0.3557490110397339,
"beginner": 0.40510883927345276,
"expert": 0.23914216458797455
} |
11,306 | correct this code please correct this code such that using same instruction like in code no other instruction but try removing errors from it and adding comments . the program should input size of palindrome between 0 to 9 and then check if its palindrome or not using stack and array for values comparision ... | 6ec10d6acc3fb025977ce59d80e20dfa | {
"intermediate": 0.3557490110397339,
"beginner": 0.40510883927345276,
"expert": 0.23914216458797455
} |
11,307 | michael intends to invest 50000 in two different investments: one low risk investment that yyields 5% annually and one high risk investment that yields 14% annually. to earn 5000 in interst annually, how much money should he invest at each rate | 22d1b29a7ab6ee6985ee550de4daf754 | {
"intermediate": 0.4341219663619995,
"beginner": 0.24134095013141632,
"expert": 0.3245370388031006
} |
11,308 | correct this code please correct this code such that using same instruction like in code no other instruction but try removing errors from it and adding comments . the program should input size of palindrome between 0 to 9 and then check if its palindrome or not using stack and array for values comparision ... | 2086fc6a048e84e083d35282837d01bd | {
"intermediate": 0.3557490110397339,
"beginner": 0.40510883927345276,
"expert": 0.23914216458797455
} |
11,309 | html I have a 5 menu options I want to create a menu where you can scroll through the options with arrow key up and down and it will only show the menu option you have selected the one above and the one below
each menu option will also have a scroll bar that you can drag between 0.00 and 1.00 | fb3d1c91ab61db8e64e661151b417a3c | {
"intermediate": 0.29826462268829346,
"beginner": 0.27027279138565063,
"expert": 0.4314626157283783
} |
11,310 | Write python code to write all prime number between 20 and 200. | fbcb6206812431107b29340453240d31 | {
"intermediate": 0.3494046926498413,
"beginner": 0.24043777585029602,
"expert": 0.41015756130218506
} |
11,311 | Write me a Python function to simulate Blackjack | 413c2ba92b021a470aba27e44d987553 | {
"intermediate": 0.2478531152009964,
"beginner": 0.3843085467815399,
"expert": 0.3678382933139801
} |
11,312 | Write python code to list the 5 largest files on a windows system. | 1912bd2a2beb74f1cf56188042929d61 | {
"intermediate": 0.4041188061237335,
"beginner": 0.25970199704170227,
"expert": 0.3361791968345642
} |
11,313 | how to find image caption in pdf file with python deep learning | a555a47733c2a9c067b3547d1af1ef86 | {
"intermediate": 0.10804246366024017,
"beginner": 0.08772779256105423,
"expert": 0.8042297959327698
} |
11,314 | float FullTotal = 0;
public float totalV;
public float totalS;
public float totalR;
public float totalP;
public float totalA;
float s = 0;
private void Start()
{
// Debug.Log(4500 + 2200 + 2750 + 1600);
PaidAmount(totalV, IngredientUnit.Vin, "Vinoo");
Pai... | 9e1def3a19ed74e1822ad4f3e7c9f6db | {
"intermediate": 0.27275630831718445,
"beginner": 0.5071149468421936,
"expert": 0.22012880444526672
} |
11,315 | I used this signal generator code : def get_klines(symbol, interval, lookback):
url = "https://fapi.binance.com/fapi/v1/klines"
end_time = int(time.time() * 1000) # end time is now
start_time = end_time - (lookback * 60 * 1000) # start time is lookback minutes ago
symbol = symbol.replace("/", "") # remo... | 32f81f42f33d6d723092ff1402abe605 | {
"intermediate": 0.46652740240097046,
"beginner": 0.3870702385902405,
"expert": 0.14640232920646667
} |
11,316 | Can you show me a c++ class of a base class for draggablewindows for UE5.2? I want a base class that will allow all windows be able to be draggable from the top using an overlay of the sorts in the blue print. | 93401968ebf9761be1a7c5e51d5fd068 | {
"intermediate": 0.3321046233177185,
"beginner": 0.3648717701435089,
"expert": 0.30302363634109497
} |
11,317 | i am running into an issue in my c++ opengl app. i have a vector which is supposed to store information about animation timestamps (just a regular vector), and i know that its being populated properly, but when i run a different function which gets those values, it says that my vectors have no elements and my program c... | d65b1417faa8bc7529156ec5305e78ee | {
"intermediate": 0.7258342504501343,
"beginner": 0.14263227581977844,
"expert": 0.13153356313705444
} |
11,318 | name of array in react what kin of letter do I use, big or small? | 163b29bbfe214c81763b28f46d1b9b58 | {
"intermediate": 0.5308249592781067,
"beginner": 0.23050019145011902,
"expert": 0.2386748492717743
} |
11,319 | that did not work, one person got way more money than they should have | 7020703f74bbab09226347c8ff25e39e | {
"intermediate": 0.30691927671432495,
"beginner": 0.36418890953063965,
"expert": 0.3288917541503906
} |
11,320 | Explain parametric polymirphism | 9ae717c8d97e80cbbc130ee87d5371cc | {
"intermediate": 0.25558578968048096,
"beginner": 0.2058563083410263,
"expert": 0.5385578870773315
} |
11,321 | I used your code of signal generator : df = get_klines(symbol, '1m', 44640)
def signal_generator(df):
# Calculate moving averages
df['MA_50'] = df['Close'].rolling(window=50).mean()
df['MA_200'] = df['Close'].rolling(window=200).mean()
# Determine trend direction based on moving averages
if df['MA... | 459d9d30e6db93a0d4e7ce44629023d2 | {
"intermediate": 0.3426012694835663,
"beginner": 0.41255810856819153,
"expert": 0.2448405921459198
} |
11,322 | import { OverridableComponent } from "@mui/material/OverridableComponent";
const SidebarListProps = {
title: string,
icon: OverridableComponent<SvgIconTypeMap<{}, "svg">>,
styler: string,
styleIcon: string,
};
const SidebarList: React.FC<SidebarListProps> = ({
title,
icon: Icon,
styler,
styleIcon,
}) =>... | 7b3928f2e811dae52d55e709bf125667 | {
"intermediate": 0.35611432790756226,
"beginner": 0.40376967191696167,
"expert": 0.24011598527431488
} |
11,323 | how can i overlay the miniplayer from the same package in flutter when calling shomModalBottomSheet() | 69b6303c25342472713075996d2d5588 | {
"intermediate": 0.5371982455253601,
"beginner": 0.20796774327754974,
"expert": 0.25483402609825134
} |
11,324 | Imagine we use c++ class X that inherits virtually from class A and class B. Both A and B define function void doSomething() with some implementation like printing A or B to cout. What will happen if we call function doSomething from object of class X? | e9c20fb143c418ce23c2018cef91cca4 | {
"intermediate": 0.194004088640213,
"beginner": 0.7364621162414551,
"expert": 0.0695338249206543
} |
11,325 | Provide an example of downcasting a reference in C++ | 42407a9500053039e02d30fbee8ad59c | {
"intermediate": 0.2798631489276886,
"beginner": 0.3230104446411133,
"expert": 0.3971264362335205
} |
11,326 | write kotlin code to make a comment system using expandable list view in android. | be0b5c0f0ea43c82e04c3e981a3d863c | {
"intermediate": 0.49840807914733887,
"beginner": 0.16989004611968994,
"expert": 0.3317018449306488
} |
11,327 | 使用pandahouse,将dataframe中的数据,以500条为一批生成一条insert语句,保存到以下数据库表
CREATE TABLE ind_cent_drive
(
ts_code String,
trade_date DateTime,
day_idx UInt32,
avgUnitUpVols Float64,
avgUnitUpNormalVols Float64,
avgUnitUpUpperVols Float64,
avgUnitUpLowerVols Float64,
avgUnitDownVols Float64,
avgUnitDownNormalVols Float64,
avgU... | 60363e427c19b833d3695a09677ab026 | {
"intermediate": 0.34044843912124634,
"beginner": 0.29783105850219727,
"expert": 0.3617205023765564
} |
11,328 | What is a unit that unit testing refers to | 14e4a8679dd096dec91b3f66ae4dd570 | {
"intermediate": 0.24822452664375305,
"beginner": 0.33283528685569763,
"expert": 0.41894015669822693
} |
11,329 | hi | c5dcb7b828b409401dd50d8af1271cff | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
11,330 | For this code im getting this values is the model good or bad:
Train Score: 86.98 RMSE
Test Score: 178.95 RMSE
Code:
import yfinance as yf
import pandas as pd
import numpy as np
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense, LSTM
from keras.callbacks ... | 79b2fa31c61b0735c77214e7917f086a | {
"intermediate": 0.38612034916877747,
"beginner": 0.37679043412208557,
"expert": 0.237089142203331
} |
11,331 | So if `(YYYYX)` format it should be `(YYYY)` remove the X write the regex for this in js | 8c878568ab25dce7f7471ab41bee7b0c | {
"intermediate": 0.32694780826568604,
"beginner": 0.48824334144592285,
"expert": 0.1848088502883911
} |
11,332 | In this below code for stock market prediction implement the following:
1. Increasing the size of training data: More data can help the model to better understand the underlying patterns, leading to better generalization on unseen test data.
2. Regularization: You can add some regularization techniques like L1 or L2 re... | c602cffd1c9d3062933fcdf9eac7cfcd | {
"intermediate": 0.36974531412124634,
"beginner": 0.31075146794319153,
"expert": 0.3195032775402069
} |
11,333 | Make a plot for acutal vs predicted :
import yfinance as yf
import pandas as pd
import numpy as np
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense, LSTM
from keras.callbacks import LambdaCallback
from keras.regularizers import L1L2
from sklearn.model_sel... | 59365c5050bfc914456d07a52ccbd6f0 | {
"intermediate": 0.40095052123069763,
"beginner": 0.293554425239563,
"expert": 0.3054950535297394
} |
11,334 | const Sidebar = () => {
return (
<div className="sidebar">
<div className="sidebarContainer">
<div className="sidebarContainer__menu">
<h3 className="sidebarContainer__title">Dashboard</h3>
<ul className="sidebarContainer__list">
<li className="sidebarContainer__listI... | 5f73fdc2508e8028e22c0da15f6acbcc | {
"intermediate": 0.35835638642311096,
"beginner": 0.39915207028388977,
"expert": 0.24249158799648285
} |
11,335 | Please correct this code from this part:
from sklearn.metrics import mean_squared_error
import math
trainScore = math.sqrt(mean_squared_error(trainY[0], trainPredict[:,0]))
print('Train Score: %.2f RMSE' % (trainScore))
testScore = math.sqrt(mean_squared_error(testY[0], testPredict[:,0]))
print('Test Score: %.2f RMSE'... | 1508cc4933c25d938c56fc332e70a617 | {
"intermediate": 0.41953906416893005,
"beginner": 0.38105329871177673,
"expert": 0.1994076669216156
} |
11,336 | const LeveragePage: NextPage = () => {
const [leverages, setLeverages] = useState<Array<Leverage>>([]);
const [filteredLeverages, setFilteredLeverages] = useState<Array<Leverage>>([]);
const [searchInputValue, setSearchInputValue] = useState("");
const [localChangedLeverage, setLocalChangedLeverage] = useStat... | 0eb02360a5d948611927b7b935f5b5d0 | {
"intermediate": 0.3125772476196289,
"beginner": 0.5769684910774231,
"expert": 0.11045430600643158
} |
11,337 | given this this array `[ {
"underdog": {
"line": 1.6,
"true_prob": null,
"direction": null,
"slip_selections": {
"over": {
"id": "226cfceb-d6cb-4c35-bc14-e7a16a583c33",
"choice": "higher",
... | a01bfe6e3b873bb16bde687046af1746 | {
"intermediate": 0.324043333530426,
"beginner": 0.4373980164527893,
"expert": 0.23855865001678467
} |
11,338 | I sued this code: import time
from binance.client import Client
from binance.enums import *
from binance.exceptions import BinanceAPIException
from binance.helpers import round_step_size
import pandas as pd
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
from decimal import Decimal
import r... | 1c6c86fdf9ea4242d6a837ae4fbd0b3b | {
"intermediate": 0.47572600841522217,
"beginner": 0.3873351812362671,
"expert": 0.13693876564502716
} |
11,339 | how to unit test a chart (System.Windows.Controls.DataVisualization.Charting.Chart chart) saved to a .png file? Can I create a temp chart with a random data? | 12456fe050099536cf6519c352719113 | {
"intermediate": 0.57755047082901,
"beginner": 0.1972118616104126,
"expert": 0.2252376824617386
} |
11,340 | # Сравнивает исходный код контракта токена
# Комментарии в коде в расчет не берутся
import re
import requests
API_KEY = "CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS"
BASE_URL = "https://api.bscscan.com/api"
def remove_comments(source_code):
# Remove single-line comments
source_code = re.sub(r"//.", "", source_code)
... | e639d84988ee0088694662d3e0b1b9fb | {
"intermediate": 0.2669708728790283,
"beginner": 0.4960957169532776,
"expert": 0.2369333803653717
} |
11,341 | Hi there | 0833bc157e440cdfbe26ae34cb46f01e | {
"intermediate": 0.32728445529937744,
"beginner": 0.24503648281097412,
"expert": 0.42767903208732605
} |
11,342 | given this input `[ {
"underdog": {
"line": 99.5,
"true_prob": null,
"direction": null,
"slip_selections": {
"over": {
"id": "bf1c47ce-c3da-468a-a013-92ca36c84aed",
"choice": "higher",
... | a061650ff85f0508ed288056bf40a041 | {
"intermediate": 0.3107140064239502,
"beginner": 0.4510822296142578,
"expert": 0.2382037192583084
} |
11,343 | 2d addition matrix in c++ | 12163f50e4fa9603644848493a34402e | {
"intermediate": 0.30872827768325806,
"beginner": 0.2576105296611786,
"expert": 0.43366119265556335
} |
11,344 | I used this code: import time
from binance.client import Client
from binance.enums import *
from binance.exceptions import BinanceAPIException
from binance.helpers import round_step_size
import pandas as pd
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
from decimal import Decimal
import r... | 2bb664dccc8465a6f7e634ca5746eb41 | {
"intermediate": 0.43290963768959045,
"beginner": 0.41109392046928406,
"expert": 0.15599650144577026
} |
11,345 | How can I check normality of feature & | fb2804485330e50e3edd708d48da798e | {
"intermediate": 0.3682347536087036,
"beginner": 0.2985529601573944,
"expert": 0.333212286233902
} |
11,346 | 0x83be71c2349705589a7ff587b4de35d9513fc55a5b91f43a6d78ea37709a3cc3 Swap Exact Token... 11 hrs 35 mins ago 0xf9fece7038e6846b0416880965a8b15b28cb2124 OUT PancakeSwap V2: ALONG 2 1,000,000,000,000,000,000
0x45d7facc7b5232be97752c92603e6f7a5843babad342592604ee46ec6170c3b2 Transfer 11 hrs 35 mins ago 0xf9fece7038e6846b041... | 6243ca24ee91373fb764258b8406217b | {
"intermediate": 0.3519155979156494,
"beginner": 0.42412781715393066,
"expert": 0.2239566296339035
} |
11,347 | Te voy a compartir tres códigos de programación en Python y debes mezclarlos para que se analicen videos y se identifiquen los objetos, tiempo del video, coordenadas y se exporte a un csv esa información.
La idea es que uses y descartes todo lo que sea necesario para cumplir con el objetivo anterior, todos los códigos ... | f5dc5fef95b63bf08d053e1fa09fc843 | {
"intermediate": 0.5009729862213135,
"beginner": 0.3266103267669678,
"expert": 0.17241673171520233
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.