row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
10,746 | how can i improve this block of code const dedicated = senders.filter((sender) => {
return sender.type === "dedicated";
});
const shared = senders.filter((sender) => {
return sender.type === "shared";
});
const dedicatedNumbers = dedicated.map((sender) => sender.value);
const sharedNumbers = share... | 9a44aec27a37eeb4c19a976d8fcb0e11 | {
"intermediate": 0.40716665983200073,
"beginner": 0.3654870390892029,
"expert": 0.2273463010787964
} |
10,747 | i need to use a stylesheet in wwwroot inside my index.cshtml viewpage, i tried this : "<link rel="stylesheet" href="../wwwroot/css/main.css">" | d0c2ff3113c0a3842af01cddb74c3877 | {
"intermediate": 0.35731154680252075,
"beginner": 0.27402475476264954,
"expert": 0.36866360902786255
} |
10,748 | import requests
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
def get_newly_created_contracts(start_block, end_block):
url = f'https://api.bscscan.com/api?module=account&action=txlistinternal&startblock={start_block}&endblock={end_block}&sort=asc&apikey={bscscan_api_key}'
try:
response = req... | 1ad2af7dabae9a8d1614e4659eb3fa04 | {
"intermediate": 0.4726332128047943,
"beginner": 0.3036368191242218,
"expert": 0.22372999787330627
} |
10,749 | return value instanceof this.expected ? Result.ok(value) : Result.err(new ExpectedValidationError("s.instance(V)", "Expected", value, this.expected)); | 49e82a1dda3e1b4364b3009c0b505bdc | {
"intermediate": 0.4413822293281555,
"beginner": 0.3542170822620392,
"expert": 0.2044006735086441
} |
10,750 | import asyncio
import aiohttp
bscscan_api_key = 'CXTB4IUT31N836G93ZI3YQBEWBQEGGH5QS'
# Create a semaphore with a limit of n
semaphore = asyncio.Semaphore(5)
async def get_internal_transactions(start_block, end_block, session):
async with semaphore:
url = f'https://api.bscscan.com/api?module=account&actio... | 99e343563dd6bee826ea2587ed66c681 | {
"intermediate": 0.3598223924636841,
"beginner": 0.3858520984649658,
"expert": 0.2543255686759949
} |
10,751 | fivem scripting
i'm working on a script and this is my config how would I make it so
drugMenu = {
['heroin'] = {
[5] = {label = '5x Heroin Bricks [$3,000,000]', price = 3000000, reward = 'drugbrick12', amount = 5},
[10] = {label = '10x Heroin Bricks [$5,750,000]', price = 5750000, r... | 0925ac8ddd157b035ed8064bff947c6a | {
"intermediate": 0.42062950134277344,
"beginner": 0.34576085209846497,
"expert": 0.2336096465587616
} |
10,752 | how to keyboard type with delay in puppeteer | a10cad24fa9184b973b500a15e2f9a07 | {
"intermediate": 0.30017417669296265,
"beginner": 0.26846843957901,
"expert": 0.43135738372802734
} |
10,753 | hi, i have X as a list of list of string and Y as a list of int. I would train a Graph Neural Network which creare a graph from every list in list X to classify the binary label Y. for example X[0] is a list of strings like this "D0 S3 C95 C97 D0 D0 C22 C27 C43 D0 D0 C24 C30 C52 D0 D0 C21 C7 C5 D0 D0 C42 S15 C6 D0 D0 C... | f72cf3b317d0c1bb0c9ecaa0b8a7374f | {
"intermediate": 0.0721803531050682,
"beginner": 0.048889100551605225,
"expert": 0.8789305090904236
} |
10,754 | Write a python code to create an ontology of public policy problems. | 8afb15169a2817564fe8054bd83a32e7 | {
"intermediate": 0.4248972535133362,
"beginner": 0.31505918502807617,
"expert": 0.26004353165626526
} |
10,755 | File "D:\ArjunShaChatGPTChatbotOwnData\app.py", line 1, in <module>
from gpt_index import SimpleDirectoryReader, GPTListIndex, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
ModuleNotFoundError: No module named 'gpt_index' | 8488052fa8909270fcca8c53ef07ad2b | {
"intermediate": 0.5546335577964783,
"beginner": 0.23136624693870544,
"expert": 0.2140001803636551
} |
10,756 | fivem scripting
i'm working on a script and this is my config how would I make it so
drugMenu = {
['heroin'] = {
[5] = {label = '5x Heroin Bricks [$3,000,000]', price = 3000000, reward = 'drugbrick12', amount = 5},
[10] = {label = '10x Heroin Bricks [$5,750,000]', price = 5750000, r... | f513f542107f9450b8f7372056744400 | {
"intermediate": 0.42062950134277344,
"beginner": 0.34576085209846497,
"expert": 0.2336096465587616
} |
10,757 | This is my code:
# Read in the pivot table as a pandas dataframe
df = pd.read_csv(f'pivot_{client_name}.csv', index_col=[0, 1], header=[0, 1])
# Pre-define the table cell properties
cell_text = df.values.astype(str)
cell_text = np.core.defchararray.add(cell_text, ' ')
# Create a figure and axis
... | bb5a010cdc2fd9a5120f674404c574ea | {
"intermediate": 0.5062198638916016,
"beginner": 0.3704708516597748,
"expert": 0.12330923229455948
} |
10,758 | how can i down resolution of video then save it to storage in react native expo | b496d3254157734a07eb7a62b4b2b433 | {
"intermediate": 0.5531255006790161,
"beginner": 0.10867872089147568,
"expert": 0.3381957709789276
} |
10,759 | LOG [TypeError: undefined is not a function]
cant load pics from firebase and i dont undestand why
import { Text, View, Image, Pressable } from ‘react-native’;
import { gStyle } from ‘…/styles/style’;
import React, {useState, useEffect} from ‘react’;
import { useNavigation } from ‘@react-navigation/native’;
import {fir... | 9fcd0aa9bc625e62a4baa26a42e6ed0f | {
"intermediate": 0.5419135689735413,
"beginner": 0.34941112995147705,
"expert": 0.1086752787232399
} |
10,760 | how do I get the call stack when catching an exception in c++ program | 401694bedacdb79ab5c730ac2662846e | {
"intermediate": 0.5812093615531921,
"beginner": 0.2258702963590622,
"expert": 0.19292037189006805
} |
10,761 | In python TASK ONE – Build a function that gets the required information from the user and stores it in your data structure of choice. This includes their: · First name · Middle name · Surname · Gender · Birth day · Birth month · Birth year TASK TWO – Introduce data validation to your TASK ONE function; the user should... | 98ff7987bf84036ef818d6c517f39cad | {
"intermediate": 0.47966718673706055,
"beginner": 0.24372737109661102,
"expert": 0.27660539746284485
} |
10,762 | РЕАЛИЗУЙ СОХРАНЕНИЕ УЗЛО ПРИ НАЖАТИИ НА СООТВЕТСТВУЮЩУЮ КНОПКУ package com.example.myapp_2.UI.view.activities;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import andr... | 558dcc7007f6deefec896d2639fb84da | {
"intermediate": 0.29571282863616943,
"beginner": 0.4215353727340698,
"expert": 0.28275182843208313
} |
10,763 | проблема в том, что при выборе роли, значение (роль) сбрасывается, кнопка сбрасывается и поиск при выбранной роли не происходит, но зато все еще можно искать по имени и жанру
app.js:
const express = require("express");
const fs = require("fs");
const session = require("express-session");
const fileUpload = require("ex... | 0e4778255e2cebedaedbbd84517b2fa8 | {
"intermediate": 0.32226479053497314,
"beginner": 0.5709809064865112,
"expert": 0.10675433278083801
} |
10,764 | In python TASK ONE – Build a function that gets the required information from the user and stores it in your data structure of choice. This includes their: · First name · Middle name · Surname · Gender · Birth day · Birth month · Birth year TASK TWO – Introduce data validation to your TASK ONE function; the user should... | 5ba1ab1d4ee3f649b514798224808697 | {
"intermediate": 0.47966718673706055,
"beginner": 0.24372737109661102,
"expert": 0.27660539746284485
} |
10,765 | 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 requests
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
# Get the current t... | dd207d99c65791d3745a463e83599a8d | {
"intermediate": 0.3322139382362366,
"beginner": 0.45794159173965454,
"expert": 0.20984448492527008
} |
10,766 | Hi, i need a CMD Script which Outputs the Name If the Default Network printer | 6b4a33028a9107073f1d87bcb4ceffc3 | {
"intermediate": 0.2437112033367157,
"beginner": 0.23546364903450012,
"expert": 0.5208250880241394
} |
10,767 | Смотри, у меня есть триггеры.
Мне нужно чтобы В МОМЕНТ когда один из этих триггеров срабатывал, у меня отправлялась полная информация об изменениях в этой базе в мой телеграм чат. Покажи полный код для этой реализации. В чат должно отправлять изменение каждого столбца, тоесть old и new чтобы я понимал что на какое знач... | dbf6491a2f78eb651f3aefc47a4d1bc7 | {
"intermediate": 0.3330117166042328,
"beginner": 0.46490585803985596,
"expert": 0.20208245515823364
} |
10,768 | How do I only include the last full month in my SQL query? | cd2c42a5a6c9a4719828457f060e20f0 | {
"intermediate": 0.3392474055290222,
"beginner": 0.3350083529949188,
"expert": 0.3257442116737366
} |
10,769 | it gives me error in reading this values: const logFormat = printf(({level,message,timestamp}) => {
return "${timestamp} ${level}: ${message}";
}) | fb76253b970bbdd6e089d7aaccd326ca | {
"intermediate": 0.2926819622516632,
"beginner": 0.5481100082397461,
"expert": 0.15920807421207428
} |
10,770 | Can you add StandardScaler to it and somehow connect it to the model, so models works on raw data and scales it? Something like pipeline, but adjusted to it.
import xgboost as xgb
import optuna
from sklearn.model_selection import cross_validate
from sklearn.metrics import roc_auc_score
def objective(trial):
max_... | 9beb522b31d589696b4f263e0d59c460 | {
"intermediate": 0.3350031077861786,
"beginner": 0.3752596378326416,
"expert": 0.28973719477653503
} |
10,771 | how can i resize video file on storage from 512*1024 to 256*512 then save it to file with react native expo | 0b2c7897fc6a0803cb282f54a3bc7552 | {
"intermediate": 0.4428654909133911,
"beginner": 0.17520414292812347,
"expert": 0.3819303512573242
} |
10,772 | При загрузке страницы поиска мне выдает сразу нескольких артистов, а при попытке выбора артиста или группы ничего не происходит, поиск выполнить невозможно, как будто бы сбрасывается, url при этом выглядит вот так: http://localhost:3000/search?query=&role=&role=Artist
app.js:
const express = require("express");
const ... | 60ec843beb2726ea4199cd539231fbb0 | {
"intermediate": 0.32597899436950684,
"beginner": 0.5364773273468018,
"expert": 0.1375436633825302
} |
10,773 | При загрузке страницы поиска мне выдает сразу нескольких артистов, а при попытке выбора артиста или группы ничего не происходит, поиск выполнить невозможно, как будто бы сбрасывается, url при этом выглядит вот так: http://localhost:3000/search?query=&role=&role=Artist
app.js:
const express = require("express");
const ... | 4ff4dffd056321fbc9ef2d1573822d4c | {
"intermediate": 0.32597899436950684,
"beginner": 0.5364773273468018,
"expert": 0.1375436633825302
} |
10,774 | In this script, the line if (!isRefError(eValue)) { creates an error. Can you please suggest an alternative that will parse correctly?
function processHyperlinks() {
var activeSheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var listSheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("List"... | 118da53ea7b49f95cfaa50d4e6b2d429 | {
"intermediate": 0.2916638255119324,
"beginner": 0.4769294261932373,
"expert": 0.2314068228006363
} |
10,775 | this is my code : df.shape(), but shows this error: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[13], line 1
----> 1 df.shape()
TypeError: 'tuple' object is not callable | f13e263e086ccd1e1860c2de1b8ab9be | {
"intermediate": 0.46308234333992004,
"beginner": 0.2375173419713974,
"expert": 0.2994002401828766
} |
10,776 | how to get Issues with full changelog using Jira REST API | 89dfd7b5a747fcd6cfcf20150900a3ce | {
"intermediate": 0.6849185228347778,
"beginner": 0.15040594339370728,
"expert": 0.16467560827732086
} |
10,777 | 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... | 8e93eacfec5e338894807716d9ebd51c | {
"intermediate": 0.4590522348880768,
"beginner": 0.37653568387031555,
"expert": 0.16441206634044647
} |
10,778 | 1) При переходе к странице поиска выдает сразу всех артистов
2) При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается, а url начинает множить: http://localhost:3000/search?query=&role=Artist&role=Artist%2C
3) При нажатии кнопки поиска при пустом поле url также начинает множить: http://localhost:30... | 3e98faa51ce0d17f61917d9f29aac3c9 | {
"intermediate": 0.3901045620441437,
"beginner": 0.47526970505714417,
"expert": 0.13462573289871216
} |
10,779 | При переходе к странице поиска выдает сразу всех имеющихся артистов, вообще всех
При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается
При поиске по имени или жанру возникает ошибка: ReferenceError: role is not defined
Логика должна быть такова: ты заходишь на страницу поиска, НЕ ВВОДЯ В ПОЛЕ ни ... | 02e3b6bbb52ec88a94fcb182e7cbd230 | {
"intermediate": 0.33111295104026794,
"beginner": 0.44798123836517334,
"expert": 0.2209058254957199
} |
10,780 | modifier onlyOwner1 {
require(owner == msg.sender, "You're not the owner!");
_;
}
modifier onlyOwner2() {
isOwner;
_;
}
function isOwner() internal view virtual {
require(owner() = msg.sender, "You're not the owner!")
}
Which among the following modifiers 'onlyOwner1()' and 'onlyOwner2()' is more ... | 5cab8a80dc9b0b4cf9734727248d1466 | {
"intermediate": 0.43532323837280273,
"beginner": 0.3421022891998291,
"expert": 0.22257450222969055
} |
10,781 | При переходе к странице поиска выдает сразу всех имеющихся артистов, вообще всех
При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается
При поиске по имени или жанру возникает ошибка: ReferenceError: role is not defined
Логика должна быть такова: ты заходишь на страницу поиска, НЕ ВВОДЯ В ПОЛЕ ни ... | 432c5f3760de405dd6886a55d4f29997 | {
"intermediate": 0.33111295104026794,
"beginner": 0.44798123836517334,
"expert": 0.2209058254957199
} |
10,782 | UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.E then
local currentTime = os.clock()
if currentTime - lastAnimationTime1 >= 25 / 60 then
AnimationEvent1:FireServer()
lastAnimationTime1 = currentTime
end
elseif input.KeyCode == Enum.KeyC... | 13c0d7a7ca16c7427fef3b1f1ac79c62 | {
"intermediate": 0.39490950107574463,
"beginner": 0.3228829801082611,
"expert": 0.28220754861831665
} |
10,783 | write python code to calculator factorial of a number | 0732c439b3dfb2e6020592e00446b65d | {
"intermediate": 0.39296627044677734,
"beginner": 0.30275753140449524,
"expert": 0.3042761981487274
} |
10,784 | contract Owner {
address public owner;
uint public contractBalance;
function becomeOwner() public payable {
require(msg.value > contractBalance, "Pay more than balance to become the owner!");
(bool sent, ) = owner.call{value: contractBalance}("");
require(sent, "Transaction failed"... | 9c767755590b122d2408a341421c6e82 | {
"intermediate": 0.34871384501457214,
"beginner": 0.4009050130844116,
"expert": 0.25038114190101624
} |
10,785 | 1.有push.cpp和push.h
push.cpp:
#include “Pusher.h”
#include <iostream>
#include “Common/config.h”
#include “appPublic.h”
#include “FifoMsg.h”
using namespace std;
using namespace mediakit;
using namespace toolkit;
enum AVCodeConst {
AV_CODER_NONE = 0,
AV_VIDEO_CODER_H264 = 1,
AV_VIDEO_CODER_HEVC = 2,
AV_AUDIO_CODER_AAC... | 0a48dccf18053ca97f553dcbb820ff70 | {
"intermediate": 0.4296950101852417,
"beginner": 0.4117417335510254,
"expert": 0.15856324136257172
} |
10,786 | При переходе к странице поиска выдает сразу всех имеющихся артистов, вообще всех
При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается
При поиске по имени или жанру возникает ошибка: ReferenceError: role is not defined
Логика должна быть такова: ты заходишь на страницу поиска, НЕ ВВОДЯ В ПОЛЕ ни ... | d667fbf09c1015254127501bd8e1df87 | {
"intermediate": 0.30043816566467285,
"beginner": 0.43342530727386475,
"expert": 0.26613649725914
} |
10,787 | Hello. In python using machine learning, I want you to create a predictor for a kahoot, the quiz mode, where the player has to chose between 4 answers. There is only one answer, and I want you to make an input statement for eachtime a prediction has been made. The user inputs the right answer is numbers; like the first... | 465dd8b1d93827869d8b17adc248a619 | {
"intermediate": 0.2405521273612976,
"beginner": 0.16342781484127045,
"expert": 0.5960200428962708
} |
10,788 | При переходе к странице поиска выдает сразу всех имеющихся артистов, вообще всех
При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается
При поиске по имени или жанру возникает ошибка: ReferenceError: role is not defined
Логика должна быть такова: ты заходишь на страницу поиска, НЕ ВВОДЯ В ПОЛЕ ни ... | a3f7efc51451a6f73d45ab66e3d448ea | {
"intermediate": 0.30043816566467285,
"beginner": 0.43342530727386475,
"expert": 0.26613649725914
} |
10,789 | Create a script for a Kahoot game that predicts the next round's answer. The game has 4 boxes, each represented by a number: 1, 2, 3, and 4. I want the script to predict the color of the next round based on the previous round's data. The colors are Red (1), Blue (2), Yellow (3), and Green (4). The script should ask for... | f104fc4955f24becf5d94b9d5e313852 | {
"intermediate": 0.2231801301240921,
"beginner": 0.08163375407457352,
"expert": 0.6951861381530762
} |
10,790 | При переходе к странице поиска выдает сразу всех имеющихся артистов, вообще всех
При попытке выбрать артиста или группа (критерии поиска) выбор сбрасывается
При поиске по имени или жанру возникает ошибка: ReferenceError: role is not defined
Логика должна быть такова: ты заходишь на страницу поиска, НЕ ВВОДЯ В ПОЛЕ ни ... | f9ba97d0759705fe4ca647d71e1d227b | {
"intermediate": 0.30043816566467285,
"beginner": 0.43342530727386475,
"expert": 0.26613649725914
} |
10,791 | Generate a modern CSS, with header, footer, and a few extra HTML things, for the wiki-based HTML's. | 4862e50e3e563f8190ec6d2c694e9e00 | {
"intermediate": 0.3365236222743988,
"beginner": 0.27383846044540405,
"expert": 0.3896379768848419
} |
10,792 | write python app using pyPDF2 which modifies existing pdf file by adding a new page at the end of the document and inserts a picture | a26e453732a8094598150bd2ad46e7d1 | {
"intermediate": 0.4892977476119995,
"beginner": 0.2053067535161972,
"expert": 0.30539554357528687
} |
10,793 | Here is a function that works, but I want to add further functionality to it. I want to add to the if (!isFound) { branch the following extra steps: If the newly created value in the E column sheet "List" has four or fewer characters, the script continue as it is now. However, if the newly created value in the E column... | d8a65cc60acb98cd1955ef3190408cdd | {
"intermediate": 0.35961997509002686,
"beginner": 0.3405335545539856,
"expert": 0.2998465299606323
} |
10,794 | write this code in C | 64a05eb4ca20446a8542191131aeec48 | {
"intermediate": 0.18730394542217255,
"beginner": 0.5402274131774902,
"expert": 0.27246859669685364
} |
10,795 | Correct the below code for prediting the stock market price using super tend as indicator:
Code:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense, LSTM, Dropout
... | a052162c04f4032847dd26f8c04f8eab | {
"intermediate": 0.4241010546684265,
"beginner": 0.35778939723968506,
"expert": 0.21810954809188843
} |
10,796 | Hi, I want to create a chatbot using GPT-4, how to do it? | 25f46b9538391155ce16740a8ae08dfe | {
"intermediate": 0.3155950605869293,
"beginner": 0.10059186816215515,
"expert": 0.5838130712509155
} |
10,797 | Overcome this error in the code:
Error:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
3801 ... | 2223bf29ea2313c8730489b6c1ed4cca | {
"intermediate": 0.42706891894340515,
"beginner": 0.36994051933288574,
"expert": 0.20299050211906433
} |
10,798 | #include <stdio.h>
#include <omp.h>
int main()
{
int i;
double step;
double x, pi, sum = 0.0;
int num_steps = 100000000;
step = 1.0 / (double) num_steps;
#pragma omp parallel for reduction(+:sum)
for (i = 0; i < num_steps; i++)
{
x = (i + 0.5) * step;
sum = sum + 4.0 / ... | b2d7d197f3204f14bfa5a98c49da0280 | {
"intermediate": 0.3394981026649475,
"beginner": 0.4058062434196472,
"expert": 0.2546956241130829
} |
10,799 | write opencv python app that alows the user to draw an area of interest on the current feed. when the area is defined the user clicks start and the program takes the current color in the area of interest as base for comparing.it should notify when there is a color change in the defined area | c5c8eedac7abbf7923418bd3dddf3657 | {
"intermediate": 0.35708585381507874,
"beginner": 0.1285201758146286,
"expert": 0.5143939256668091
} |
10,800 | Here is a function that works, but I want to add further functionality to it. I want to add to the if (!isFound) { branch the following extra steps: If the newly created value in the E column sheet "List" is an error, the script continue as it is now. However, if the newly created value in the E column sheet "List" is ... | 88016c8ba23607667530f8e17fe16b28 | {
"intermediate": 0.4200436472892761,
"beginner": 0.316161185503006,
"expert": 0.2637951672077179
} |
10,801 | aws serverless lambda project with python that made it so that you could sync the data between two different trello cards on two different boards. | 94bae2ab5294ca7d1d1ae2dde80ffd71 | {
"intermediate": 0.5953771471977234,
"beginner": 0.16021962463855743,
"expert": 0.2444031834602356
} |
10,802 | local animations = {
{cooldown = 25/60, event = AnimationEvent1},
{cooldown = 30/60, event = AnimationEvent2},
{cooldown = 20/60, event = AnimationEvent3},
– add more animations here as needed
}
local lastAnimationTimes = {}
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard ... | 1bb1ba4ffbe5827b7d5595783fef024a | {
"intermediate": 0.3647843301296234,
"beginner": 0.2636299133300781,
"expert": 0.37158575654029846
} |
10,803 | Почему после ввода id человека в Find user by id крашится программа.
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <stdexcept>
#include <set>
using namespace std;
// структура для хранения информации о пользователях
struct User {
int ... | 4cef0a0871888e377aa9859d7d91e338 | {
"intermediate": 0.3293613791465759,
"beginner": 0.5028054118156433,
"expert": 0.16783320903778076
} |
10,804 | 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 requests
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
# Get the current t... | 473cb8953b22bd5f53c058b0311fd5f1 | {
"intermediate": 0.3322139382362366,
"beginner": 0.45794159173965454,
"expert": 0.20984448492527008
} |
10,805 | The script listens for user input from the keyboard and loops through each animation in the animations table. If the key code matches the current animation index i, the script checks if the cooldown time has elapsed since the last time that animation was played. If so, it fires the corresponding server event and update... | 879d362a553048aaa9838a83b6f2ae21 | {
"intermediate": 0.4071163535118103,
"beginner": 0.2840273976325989,
"expert": 0.3088562488555908
} |
10,806 | Correct this code for prediction of upcoming 5 days (Give exact predicted value with plot):
Error:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-94-936b4947ed80> in <cell line: 5>()
8 predi... | d1bf6887590c87a6fdd83871b26d670f | {
"intermediate": 0.43535086512565613,
"beginner": 0.28919950127601624,
"expert": 0.27544963359832764
} |
10,807 | Correct this code for prediction of upcoming 5 days (Give exact predicted value with plot):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense, LSTM, Dropout
def... | a5aa13b3f99abb482e480cba2b0eb10a | {
"intermediate": 0.38792890310287476,
"beginner": 0.3884757459163666,
"expert": 0.22359538078308105
} |
10,808 | 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 requests
import json
import numpy as np
import pytz
import datetime as dt
import ccxt
# Get the current t... | b64e1a52fc97bdd4f5266c6d57e60060 | {
"intermediate": 0.3322139382362366,
"beginner": 0.45794159173965454,
"expert": 0.20984448492527008
} |
10,809 | I have this code and I want to be able run this with multiple users at the same time, so they files should’ve mixed in the server.
def referral(update, context):
if not is_allowed_user(update.message.from_user.id):
return
update.message.reply_text('Please enter the referral ID:')
return GET_REFID
... | 3a9615ac70ff294520e35f201c8a43d6 | {
"intermediate": 0.38087403774261475,
"beginner": 0.44228395819664,
"expert": 0.17684195935726166
} |
10,810 | To adjust the “AnimationEvent” script to work with the multiple animations and input script that we have created, you would need to modify it to accept a parameter that determines which animation to play.
Here’s an example of how you can modify the “AnimationEvent” script to work with the input script we created earli... | 709fb296eded6881124ac2f73e6b682b | {
"intermediate": 0.42298001050949097,
"beginner": 0.3184637427330017,
"expert": 0.25855621695518494
} |
10,811 | this is my code:df = df.to_excel('data/Ludovico Einaudi.xlsx', encoding='UTF-8', sheet_name='track', index_label='id')
df and its error: C:\Users\user\anaconda3\lib\site-packages\pandas\util\_decorators.py:211: FutureWarning: the 'encoding' keyword is deprecated and will be removed in a future version. Please take st... | a56c82385cff05564443b81787500202 | {
"intermediate": 0.395429790019989,
"beginner": 0.4756750762462616,
"expert": 0.12889517843723297
} |
10,812 | How to overcome this error in the code:
Error:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-118-8825bf5b363f> in <cell line: 4>()
11
12 new_row = np.concatenate((next_day_input[0, 1:,... | 38ba7e20d41b9c04f7c6d0eccc9368a9 | {
"intermediate": 0.4724857807159424,
"beginner": 0.33074653148651123,
"expert": 0.19676770269870758
} |
10,813 | Create a script for a Kahoot game that predicts the next round's answer. The game has 4 boxes, each represented by a number: 1, 2, 3, and 4. I want the script to predict the color of the next round based on the previous round's data. The colors are Red (1), Blue (2), Yellow (3), and Green (4). The script should ask for... | b2c7882248b546dc2a365ca807710381 | {
"intermediate": 0.24219182133674622,
"beginner": 0.1115756407380104,
"expert": 0.646232545375824
} |
10,814 | Please correct this code for prediction of next 5 days of stock market (You can also modify this code if it is incorrect):
Error:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-124-5bae83635272> in <c... | a39d676114085157c9eff506dada0905 | {
"intermediate": 0.5341731905937195,
"beginner": 0.27762922644615173,
"expert": 0.1881975680589676
} |
10,815 | Hi there | 5041b16c45ef009df7dae4345bfcb26a | {
"intermediate": 0.32728445529937744,
"beginner": 0.24503648281097412,
"expert": 0.42767903208732605
} |
10,816 | How to overcome this error in the code:
Error:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-126-5bae83635272> in <cell line: 3>()
1 # Define the number of days to predict and call the function... | 636c5834084d2b17ed5fbe72131544eb | {
"intermediate": 0.46370527148246765,
"beginner": 0.34145641326904297,
"expert": 0.19483830034732819
} |
10,817 | В этот код хочу добавить свой объект в формате gltf . как это сделать?
код:
setMesh() {
const geometry = new THREE.BufferGeometry();
const firstPos = this.getGeometryPosition(new THREE.SphereBufferGeometry(1, 32, 32).toNonIndexed());
const secPos = this.getGeometryPosition(new THREE.TorusBufferG... | 4d1a1eaceb10f3e4a5f74405fe01c158 | {
"intermediate": 0.259650856256485,
"beginner": 0.47092577815055847,
"expert": 0.26942336559295654
} |
10,818 | 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... | 008759b595903bb457f067d7e46dcf50 | {
"intermediate": 0.34912174940109253,
"beginner": 0.45758527517318726,
"expert": 0.19329296052455902
} |
10,819 | Please modify this code for making prediction of next 5 days (use this code as starting point you can modify any function or make any new function):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf
from sklearn.preprocessing import MinMaxScaler
from keras.models import Seque... | d690b9e790f739c31efa368d85eb506e | {
"intermediate": 0.3566884398460388,
"beginner": 0.35542383790016174,
"expert": 0.28788766264915466
} |
10,820 | Can you generate a python code that can make prediction of future exams scores and modify itself | 8942ba8c649840e061e2c751b6094852 | {
"intermediate": 0.29378512501716614,
"beginner": 0.1363748461008072,
"expert": 0.5698400139808655
} |
10,821 | I used your 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... | d3e828109f85b973bca3f32f4da3adac | {
"intermediate": 0.3864240050315857,
"beginner": 0.44241565465927124,
"expert": 0.17116032540798187
} |
10,822 | if ($datos["id_tipo_pregunta"] == 6) {
$opciones = pg_Exec("SELECT * FROM {$_SESSION['ESQUEMA_BD']}.opciones WHERE id_pregunta={$datos['id_pregunta']} ORDER BY orden_opcion");
echo "<table class='table table-striped'>";
echo "<tbody>";
$optionIndex = 1;
$order = array(); // Initialize the $order array
wh... | 20ed6fd957ce07c1c86146611c666484 | {
"intermediate": 0.36696934700012207,
"beginner": 0.4439511299133301,
"expert": 0.18907959759235382
} |
10,823 | const Navbar = () => {
return (
<div className=“navbar”>
<div className=“navBarWrapper”>
<div className=“navLeft”>left</div>
<div className=“navRight”>right</div>
</div>
</div>
);
};
export default Navbar;
correct names of classes with BEM standard | 776dc17e449a3ca222cec0b9ecb46ee6 | {
"intermediate": 0.28282904624938965,
"beginner": 0.47961097955703735,
"expert": 0.23756003379821777
} |
10,824 | how to name classes with BEM methodology? Give multiple nested example | b5ab7666bd4ecb3e963e0e43d09730ee | {
"intermediate": 0.1921994984149933,
"beginner": 0.34834304451942444,
"expert": 0.4594574272632599
} |
10,825 | Write a factorial in C in the style of John Carmack. | 2518161a5bf6b791b5acc4ae2322f547 | {
"intermediate": 0.2206958830356598,
"beginner": 0.24882617592811584,
"expert": 0.5304779410362244
} |
10,826 | I need you to write a code for Manage.cshtml to display a list of "products" table coming from applicationdbcontext. we need to have a searchbar at the top of the page, what it does is that it removes any unmatching items with every charachter you type until you have a match. all this has to be done without reloading t... | e8d2ab599d76aaec609dba89592fd30e | {
"intermediate": 0.4608340263366699,
"beginner": 0.21604444086551666,
"expert": 0.323121577501297
} |
10,827 | обьясни работу кода
обьясни работу кода
обьясни работу кода
var request = require('request');
var cheerio = require('cheerio');
var queryString = require('querystring');
var flatten = require('lodash.flatten');
var baseURL = 'http://images.google.com/search?';
var imageFileExtensions = ['.jpg', '.jpeg'... | 735af859a44b1949dab118824ebf8029 | {
"intermediate": 0.359440416097641,
"beginner": 0.5049818754196167,
"expert": 0.13557766377925873
} |
10,828 | hi, could you make a javascript code for my discord client that whenever someone pings me it automatically sends a message thats "hi"? | 67607941d345b350c57c00c75490b948 | {
"intermediate": 0.5286703109741211,
"beginner": 0.1820734292268753,
"expert": 0.2892562747001648
} |
10,829 | hi! could you make a code for my discord client console so whenever someone pings me i send a message in the same exact channel i was pinged in with the message "Hi"? the ping should just mention me, only me. | cfe2cadf35cb63ee38555426270a2444 | {
"intermediate": 0.4243728220462799,
"beginner": 0.21658684313297272,
"expert": 0.35904034972190857
} |
10,830 | could you make an amazon price monitor? | ee0070dd287588041b1f41514be12163 | {
"intermediate": 0.3114055097103119,
"beginner": 0.22203876078128815,
"expert": 0.46655574440956116
} |
10,831 | 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... | 87ee2bdc5a782f28d608b072aa680248 | {
"intermediate": 0.43474113941192627,
"beginner": 0.4049155116081238,
"expert": 0.16034337878227234
} |
10,832 | how to remove any outside css styiling in the my index.cshtml. in asp.net core mvc | 969de94ff7ef82af5990b24c0f58b923 | {
"intermediate": 0.379806786775589,
"beginner": 0.34373947978019714,
"expert": 0.2764537036418915
} |
10,833 | D ∙ Counting Pythagorean Triples
Time Limit: 2 seconds
Memory Limit: 128MB
A Pythagorean triple is a set of three positive integers, a, b and c, for which:
a² + b² = c²
A Pythagorean triple is a Primitive Pythagorean Triple (PPT) if a, b and c have no common factors.
Write a program which takes as input a positive inte... | 2154eca50f5f8f9a1eea3aaf1afd40a9 | {
"intermediate": 0.357577919960022,
"beginner": 0.30584442615509033,
"expert": 0.3365776240825653
} |
10,834 | TypeError: '<' not supported between instances of 'int' and 'Timestamp' | 3ca8899e428209f6c1948847175a5ee2 | {
"intermediate": 0.3469167947769165,
"beginner": 0.39974352717399597,
"expert": 0.2533397078514099
} |
10,835 | center contnet in span elemnt | b3ad1f674b6a6e8ac44ef42a718692c1 | {
"intermediate": 0.3418520390987396,
"beginner": 0.2716914713382721,
"expert": 0.3864564895629883
} |
10,836 | const Navbar = () => {
return (
<div className=“navbar”>
<div className=“container”>
<div className=“container__logo”>FABICO</div>
<div className=“container__iconsWrapper”>
<div className=“container__iconContainer”>
<NotificationsNone />
<span className=“container__iconBadge”>2</span>
</div>
<div className=“container__... | 0c49f560ff016044c548ef4f7b20b21d | {
"intermediate": 0.36202365159988403,
"beginner": 0.3368004560470581,
"expert": 0.301175981760025
} |
10,837 | Write a program to build a schedule for a small school. You will ultimately need to figure out:
A schedule for each student
A schedule for each teacher
A roster for each teacher’s sections
Whether or not we need to hire another teacher and what that teacher would need to teach
Scheduling Requirements:
Every full-time... | 655c17a57bb315e3507149183c983e56 | {
"intermediate": 0.23592643439769745,
"beginner": 0.5078862905502319,
"expert": 0.2561873197555542
} |
10,838 | Write a program to build a schedule for a small school. Make it as efficient as possible. You will ultimately need to figure out:
A schedule for each student
A schedule for each teacher
A roster for each teacher’s sections
Whether or not we need to hire another teacher and what that teacher would need to teach
Schedu... | 038e8923d06f1c4927634a86219eb79a | {
"intermediate": 0.2239246517419815,
"beginner": 0.5071447491645813,
"expert": 0.2689306139945984
} |
10,839 | rust struct generic field set default value is None | b42a7bb9c75c852ab46292f43af23e59 | {
"intermediate": 0.41124245524406433,
"beginner": 0.2517509162425995,
"expert": 0.3370066285133362
} |
10,840 | show me a picture of an anime style survivor of a zombie apocalypse that would fit a graphic novel style. she should be relativbly tall, quite thin, with short hair and makeshift armor | 274ab30e7883b1e556af7ef6dff90e40 | {
"intermediate": 0.3243086636066437,
"beginner": 0.2727149426937103,
"expert": 0.4029764235019684
} |
10,841 | ind all Pythagorean triples whose short sides are numbers smaller than 10. use
filter and comprehension. | 89e72ca3cc2c6b4d7b963835cb23809a | {
"intermediate": 0.35044169425964355,
"beginner": 0.43458205461502075,
"expert": 0.21497631072998047
} |
10,842 | write 30 arabic keywords for a service that delievers a fully built, functional house from nothing. include building, furnishing.. etc. and write the keywords with a comma seperating them. | 6c7637884dbf75b6179cdc8849e78b34 | {
"intermediate": 0.34202417731285095,
"beginner": 0.26463407278060913,
"expert": 0.3933417797088623
} |
10,843 | what means this novalid_date: Optional[datetime, None] = None | dabe8b3cdf7fe9257a4ebc69a47e9372 | {
"intermediate": 0.4006679654121399,
"beginner": 0.3270161747932434,
"expert": 0.2723158597946167
} |
10,844 | Текст <p><strong>Instrument:</strong> должен быть скрыт в профиле, если выбрана роль band. Однако, при регистрации в профиле текст Instrument: остается пустым, когда должно быть скрыто. p.s: пожалуйста, используй квадратные кавычки, иначе мой код не будет работать
register.ejs:
<!DOCTYPE html>
<html lang="en">
<head... | c2bb57bcd2342fec03f436bec3591553 | {
"intermediate": 0.3059071898460388,
"beginner": 0.48506054282188416,
"expert": 0.20903229713439941
} |
10,845 | Instrument: должен быть скрыт в профиле, если выбрана роль band. Однако, при регистрации в профиле текст Instrument: остается пустым, когда должно быть скрыто полностью. p.s: пожалуйста, используй квадратные кавычки, иначе мой код не будет работать
profile.ejs:
<!DOCTYPE html>
<html>
<head>
<title><%= musician.n... | c862a057a3d1ac2c1f8c3810a5b05d94 | {
"intermediate": 0.31517234444618225,
"beginner": 0.5269676446914673,
"expert": 0.15786007046699524
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.