row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
31,119 | get element actualheight xaml wpf | 0f68d981b85d82e654081887160a1cd8 | {
"intermediate": 0.38232141733169556,
"beginner": 0.28355759382247925,
"expert": 0.3341209292411804
} |
31,120 | in go what is gopls? | dfd6e2134a6038107fba2209ddf5ca34 | {
"intermediate": 0.2841626703739166,
"beginner": 0.22216349840164185,
"expert": 0.49367380142211914
} |
31,121 | separator thickness wpf | e36f8127d746b55a6befab3b4c1c028f | {
"intermediate": 0.4109569787979126,
"beginner": 0.2816771864891052,
"expert": 0.30736589431762695
} |
31,122 | help me write a pinescript strategy that using "standard deviation of spread ditterence on Z-score to long & short
Step 1: Get the spread ( asset price
VWAP)
Step 2: Input value for "Rolling Window", default value "250"
Step 2: Form a Z-score indicator with
MAD as the mean. non-overlav.
Step 4: Buy Sell strategy logic ... | ac57612a609de438b9dd6ad6b86ea49b | {
"intermediate": 0.3497386574745178,
"beginner": 0.25174680352211,
"expert": 0.39851459860801697
} |
31,123 | help me write a pinescript strategy that using "standard deviation of spread ditterence on Z-score to long & short
Step 1: Get the spread ( asset price
VWAP)
Step 2: Input value for "Rolling Window", default value "250"
Step 2: Form a Z-score indicator with
MAD as the mean. non-overlav.
Step 4: Buy Sell strategy logic ... | 730639aa172275d134cfb30067661ae2 | {
"intermediate": 0.3497386574745178,
"beginner": 0.25174680352211,
"expert": 0.39851459860801697
} |
31,124 | columns = ['E', 'F', 'I', 'J', 'M', 'N', 'Q', 'R', 'T', 'X', 'AB', 'AF'] # 需要写入数据的列标识列表
for i in range(values_min_P1.shape[0]):
row_idx = i + 9
for col_idx, column in enumerate(columns):
# 构建当前列单元格标识
cell = column + str(row_idx)
# 获取值
value = values_m... | 4444edf831362092c53a4879bf737d2d | {
"intermediate": 0.33720123767852783,
"beginner": 0.37328630685806274,
"expert": 0.28951242566108704
} |
31,125 | write a python script that takes files from a folder and removes spaces from their names. | f72ef4fb368f4c85b6f9267a17acad80 | {
"intermediate": 0.3621077835559845,
"beginner": 0.2188282608985901,
"expert": 0.4190639853477478
} |
31,126 | write a C# script for a 2d game that allows the character to move up, down, left and right | 4b4d0301147b1c7618e6b6b267b9ab1c | {
"intermediate": 0.3794018626213074,
"beginner": 0.2954784631729126,
"expert": 0.32511964440345764
} |
31,127 | from typing import TextIO
def get_game_dict(game_data: TextIO) -> dict[str, list[int]]:
"""Return a dictionary containing the team name and a list of points
earned in each game for each team in the open file game_data.
>>> input_file = open('sample_games.txt')
>>> get_game_dict(input_file)
{'Toront... | 069378d600bf3f6547b8d2da45d0b25b | {
"intermediate": 0.45601651072502136,
"beginner": 0.2897624373435974,
"expert": 0.25422099232673645
} |
31,128 | This project will have 3 phases:
In step one, you will design a solution to a given problem.
In step two, you will watch an assessment tutorial video (found in the next tab).
In step three, you will do a self-assessment of your solution.
PROBLEM:
Design a World Program with Compound Data. You can be as creative as yo... | 9a2b4fe3807c7cac483591f1868e5417 | {
"intermediate": 0.31790968775749207,
"beginner": 0.37191662192344666,
"expert": 0.3101736605167389
} |
31,129 | Требуется разработать на языке С++, без использования сторонних
библиотек и фреймворков следующую библиотеку:Библиотека, реализующая калькулятор простого арифметического
выражения с использованием обратной польской записи. Имеется
возможность преобразовать арифметическое выражение в инфиксной
форме в префиксную/постфик... | 826de482b3698ceee7fa537ae17b48b2 | {
"intermediate": 0.16541075706481934,
"beginner": 0.6917998790740967,
"expert": 0.14278939366340637
} |
31,130 | <template>
<div class="home-page" v-loading="isShowLoading" ondragstart="return false" >
<template v-if="isShowSwiper">
<Swiper
direction="vertical"
class="home-swiper"
:resistanceRatio="0"
:modules="swiperModules"
@slideChange="onOuterSlideChange"
@swiper="on... | 3e482351d457e2b54b3b2402c072e3bb | {
"intermediate": 0.3041445016860962,
"beginner": 0.4535675644874573,
"expert": 0.24228797852993011
} |
31,131 | <Swiper
direction="vertical"
class="home-swiper"
:resistanceRatio="0"
:modules="swiperModules"
@slideChange="onOuterSlideChange"
@swiper="onOuterSwiper"
v-if="widgetList[0]?.length"
>
<template v-for="(widgetItem, index) in widgetList" :key="index">
... | f8bb2db442c33868d8d53ddf080ea144 | {
"intermediate": 0.3611043095588684,
"beginner": 0.522490918636322,
"expert": 0.11640477925539017
} |
31,132 | Are you aware of the 3n + 1 problem? | 7a36889da93b49557037343b413452f9 | {
"intermediate": 0.2591420114040375,
"beginner": 0.40133172273635864,
"expert": 0.3395262360572815
} |
31,133 | What is the error in my C++ code below:
#include <iostream>
#include <climits>
using namespace std;
int start = 0;
int steps = 0;
int maximum = 0;
int odds = 0;
int evens = 0;
// Recursive function to calculate 3n+1
int collatz(int n){
//Check for int overflow
cout << "->(" << n << ") ";
//If n = 1
if(n == 1){
... | 4efefdd88df102c837253ddbffe71aa7 | {
"intermediate": 0.08517074584960938,
"beginner": 0.8386968374252319,
"expert": 0.07613242417573929
} |
31,134 | Please show me how to implement no flux boundary of concentration in Lattice boltzmann method | b0ca4bd2f117e088ff0996854045fc25 | {
"intermediate": 0.12551262974739075,
"beginner": 0.08783949166536331,
"expert": 0.7866478562355042
} |
31,135 | 检查这段代码——def getConn():
conn = pymysql.connect(host="127.0.0.1",port=3306,user="root",password="1527648qw",database="")
return conn
def isLogin():
if currentUser.getUid()=="-1"
print("user not login system,pls login first") | 44a26395f394e82534ec5598c2ebf4ec | {
"intermediate": 0.27547597885131836,
"beginner": 0.5728312730789185,
"expert": 0.15169279277324677
} |
31,136 | Write a python script to perform the following steps:
1) Get access to internal system https://10.10.117.203/prod/ru/reports/finance_client_status using credentials.
2) Select the filters provided in page. How can I help you with identifying them?
3) For each date from start to end select date in calendar present in pa... | 4d4eb31ea726ca3f02d359d613e9fac0 | {
"intermediate": 0.5141388177871704,
"beginner": 0.23674558103084564,
"expert": 0.24911558628082275
} |
31,137 | Design a simple World Program with Compound Data. (in Racket programming language) | 3131eb9d171be9dd4d2fc460c03d7c44 | {
"intermediate": 0.32603955268859863,
"beginner": 0.2926746606826782,
"expert": 0.38128578662872314
} |
31,138 | a snake game using modern ui tkkbootstrape python code | 8b01c8f755cb4fa41941c0c0d6c62c3c | {
"intermediate": 0.3759578764438629,
"beginner": 0.3280459940433502,
"expert": 0.29599615931510925
} |
31,139 | My code below skips integer parameters when I run it, can you show me how to stop skipping parameters? I think the error is in the else loop of the main function:
#include <iostream>
#include <climits>
using namespace std;
// Recursive function to calculate 3n+1
int collatz(int n, int &steps, int &maximum, int &odds, ... | 3f648a70dec8ad4fb6d329e817db772f | {
"intermediate": 0.20674991607666016,
"beginner": 0.46427789330482483,
"expert": 0.328972190618515
} |
31,140 | How can Large Language Models be used to do Causal inference and Causal Discovery? Also how to assemble Causal Diagrams? | 63ab7ff5d7222d79a9f7214c9292d659 | {
"intermediate": 0.2507281005382538,
"beginner": 0.1253782957792282,
"expert": 0.6238935589790344
} |
31,141 | find all errors in this JS code: if (payments === null) {
console.error("null payments");
} else {
payments.getPurchases().then(purchases => {
if (purchases.some(purchase => purchase.productID === '1')) {
gameInstance.SendMessage('Yandex Games', 'GiveInApp', '1');}
if (purchases.some(purchase => purchase.prod... | d90d2ac44a3fb5f49349c3a7fc9a8145 | {
"intermediate": 0.31564462184906006,
"beginner": 0.3779005706310272,
"expert": 0.3064548671245575
} |
31,142 | help me setup so this works correctly so I can check the background process:
x, y, w, h = 100, 100, 200, 200
threshold = 400
# Paths to template images
window_template_path = "shot2Target.png"
dot_template_path = "dottemplate.png"
# Load template images
window_template = cv2.imread(window_template_path, 0)
dot_tem... | e87a0df1692eeb965f42fe4c671ffc34 | {
"intermediate": 0.39120492339134216,
"beginner": 0.26849180459976196,
"expert": 0.34030333161354065
} |
31,143 | find errors in this JS code: function buy_inapp(inapp_id) {
payments.purchase({ id: inapp_id }).then(purchase => {
if (inapp_id == "5" || inapp_id == "10" || inapp_id == "30" || inapp_id == "50") {payments.consumePurchase(purchase.purchaseToken); }
JsToDef.send("successful", inapp_id);
}}).catch(err =>... | 92c53aecc8faea71f5ceb2efcc338578 | {
"intermediate": 0.42202210426330566,
"beginner": 0.39099109172821045,
"expert": 0.18698683381080627
} |
31,144 | I would like to add to an existing VBA code a condition as described below.
If the workbook 'Schedules' is open, then unlock the sheet 'Notes' in the workbook 'Schedules' using the password 'edit'
Can you please suggest. | 6c5bc3618ef0fdf7410b6c5d2c3d63f6 | {
"intermediate": 0.43673795461654663,
"beginner": 0.22943688929080963,
"expert": 0.3338252007961273
} |
31,145 | if there are several subjects in a data, E1301001, E1301002, E1301003, E1301004, E1301005, how to calculate how many subjects are included in using R | d2ca00f43ff466b7cb3a92a2ad47098d | {
"intermediate": 0.3724302351474762,
"beginner": 0.209694966673851,
"expert": 0.417874813079834
} |
31,146 | 请将以下docker-compose.yaml转换为k8s:
apiVersion: app.sealos.io/v1
kind: Instance
metadata:
name: chatgpt-next-web-psfofcgv
labels:
cloud.sealos.io/deploy-on-sealos: chatgpt-next-web-psfofcgv
spec:
gitRepo: https://github.com/Yidadaa/ChatGPT-Next-Web
templateType: inline
title: chatgpt-next-web
url: https://gi... | 5427cf90d4acdf461027ef43f7ec5ffa | {
"intermediate": 0.3183455467224121,
"beginner": 0.519085705280304,
"expert": 0.16256874799728394
} |
31,147 | 根据需求修改代码——基本能掌握开发方面的术语,理解需求。
设计功能模块设计图和数据库模块实现,形成一份开发的文档,包括:
1. 用户管理
2. 图书管理
3. 购物车管理
4. 结账管理
5. 图书推荐和销售情况统计
1. 用户管理
1)管理员用户,数据库后台直接插入
2)普通用户注册:接受用户注册信息保存到数据库
3)用户登录:用户输入用户名和密码,数据库校验,通过则记录当前登录用户,否则报错提示
4)用户登出:清空当前系统运行用户信息,并将登出时间等信息更新到用户登录表
5)用户行为分析:统计当日、当周、当月分别有多少用户登录系统,哪些用户登录次数最多等。
2. 图书管理
1)图书录入(针对管理员用户):支持两种模式:逐个录入和... | 4999fe047266937371ad78df33b44b74 | {
"intermediate": 0.24381117522716522,
"beginner": 0.5885965824127197,
"expert": 0.16759222745895386
} |
31,148 | Develop the following queries using MongoDB fetch tools:
1) Return an ordered list of resource URLs. | 189be2995cea6aa53b7dc958d8fdb08e | {
"intermediate": 0.565994918346405,
"beginner": 0.22175133228302002,
"expert": 0.21225371956825256
} |
31,149 | List the three IP addresses that sent the most requests in mongodb | 5e359e1d75958783118284227de1e5ff | {
"intermediate": 0.37487637996673584,
"beginner": 0.2560243010520935,
"expert": 0.36909934878349304
} |
31,150 | Define a class ExchangePoint which should be responsible for converting between different currencies; GBP,
EUR and USD. The class should accept in the init method the conversion rates and should also have three
functions; get gbp, get eur, and get usd. All three functions should accept three arguments (‘gbp’, ‘eur’, ‘u... | d6908fe30e0e92ca2932b2327dd6c82c | {
"intermediate": 0.24625708162784576,
"beginner": 0.5691429972648621,
"expert": 0.1845998913049698
} |
31,151 | df['DeliveryDate'] = pd.to_datetime(df['DeliveryDate'])
today = datetime.now()
start_date = datetime(today.year + int(today.month/12), (today.month%12) + 1, 1)
end_date = datetime(today.year + int((today.month + 3)/12), ((today.month+3)%12) + 1, 1)
df_months = df[(df['DeliveryDate'] >= start_date) & (df['DeliveryDate'... | d315c0ee56ffff3166176dac49e0b37b | {
"intermediate": 0.38853979110717773,
"beginner": 0.28359851241111755,
"expert": 0.3278616666793823
} |
31,152 | #include <iostream>
#include <math.h>
#include <cstring>
using namespace std;
struct movie
{
char name[20];
char director[15];
char genre[15];
double rate;
int price_watch;
};
struct streaming_service {
const int catalog_size;
movie catalog[catalog_size];
};
void ShowResults(mov... | 9879ed0bd19fa95a34c6ca94bb4335ce | {
"intermediate": 0.34745264053344727,
"beginner": 0.33597543835639954,
"expert": 0.3165718615055084
} |
31,153 | {"module": "radar_toolbox", "module_structure": "radar_toolbox\\conf/capture_conf.json;radar_toolbox\\conf/profile_vs1642_exp.cfg;radar_toolbox\\conf/raw_bin_to_numpy.json;radar_toolbox\\TI_data/sensor_com.py;", "module_files_already_generated_doc": [{"file": "radar_toolbox\\fmcw_utils.md", "doc": "# radar_toolbox/fmcw... | a2fdf42e0ad0be2f6a734526bebf98a0 | {
"intermediate": 0.3353692293167114,
"beginner": 0.39771151542663574,
"expert": 0.26691925525665283
} |
31,154 | make it print everytime the frame has been the same as before for 1.5 seconds | bf9ae33d0248dbe88e971f99681dd168 | {
"intermediate": 0.35299229621887207,
"beginner": 0.21586647629737854,
"expert": 0.4311412572860718
} |
31,155 | df['DeliveryDate'] = pd.to_datetime(df['DeliveryDate'])
today = datetime.now()
start_date = datetime(today.year + int(today.month/12), (today.month%12) + 1, 1)
end_date = datetime(today.year + int((today.month + 3)/12), ((today.month+3)%12) + 1, 1)
df_months = df[(df['DeliveryDate'] >= start_date) & (df['DeliveryDate'... | 47d218df6d1fbecbde503948b10d2d51 | {
"intermediate": 0.46352237462997437,
"beginner": 0.25176528096199036,
"expert": 0.28471237421035767
} |
31,156 | #include <iostream>
#include <math.h>
#include <cstring>
using namespace std;
struct movie
{
char name[20];
char director[15];
char genre[15];
double rate;
int price_watch;
};
struct streaming {
movie* catalog;
int size;
};
void ShowResults(streaming stream, char* request )
{
for... | 54a4994510788f0b1334a67d97c09470 | {
"intermediate": 0.3858548402786255,
"beginner": 0.37948092818260193,
"expert": 0.23466426134109497
} |
31,157 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | 9b28036e271b5e43557ca0807624cfce | {
"intermediate": 0.3972564935684204,
"beginner": 0.3664591312408447,
"expert": 0.23628439009189606
} |
31,158 | python code using BiLSTM encoder and decoder rnn to translate English text to Arabic text by splitting example data into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to evaluate and example translation... | 446c1ba511814b087900a7f0b0e51708 | {
"intermediate": 0.40019652247428894,
"beginner": 0.11380255967378616,
"expert": 0.4860009253025055
} |
31,159 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | bafb26bae6778a0060eb960d797b2135 | {
"intermediate": 0.3972564935684204,
"beginner": 0.3664591312408447,
"expert": 0.23628439009189606
} |
31,160 | What is MongoDB? | 6abb8a38ce5702e1cb014ecc1408ae77 | {
"intermediate": 0.5232462286949158,
"beginner": 0.25498318672180176,
"expert": 0.22177059948444366
} |
31,161 | #include <iostream>
#include <math.h>
#include <cstring>
using namespace std;
struct movie
{
char name[20];
char director[15];
char genre[15];
double rate;
int price_watch;
};
struct streaming {
movie* movies;
int size;
};
void ShowResults_Name(streaming stream, char* request )
{
... | 8628da554bb33c6723e41612c63e6270 | {
"intermediate": 0.27549391984939575,
"beginner": 0.5374174118041992,
"expert": 0.18708869814872742
} |
31,162 | #include <iostream> #include <math.h> #include <cstring> using namespace std; struct movie { char name[20]; char director[15]; char genre[15]; double rate; int price_watch; }; struct streaming { movie* movies; int size; }; void ShowResults_Name(streaming stream, char* request ) { for (int i = 0; i < stream.size; i++) {... | d33a9d849be5b90b8661b49e2e5fdef3 | {
"intermediate": 0.38163772225379944,
"beginner": 0.4028191864490509,
"expert": 0.21554313600063324
} |
31,163 | y = (x+3/sqrt(x-5)) make it c++ table from x -5 to x 10 | 991aae450c019576fd0e35ad7db7a7eb | {
"intermediate": 0.3209778666496277,
"beginner": 0.31025516986846924,
"expert": 0.3687669336795807
} |
31,164 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | 36b050eb26d36ec300f298356a634f6d | {
"intermediate": 0.30595943331718445,
"beginner": 0.4961298406124115,
"expert": 0.19791077077388763
} |
31,165 | for machine laerning in python, what is the minimum row for performing linear regression model? | 61fcce6cc8971a8daa150fa5376bbc0d | {
"intermediate": 0.19560357928276062,
"beginner": 0.0510309673845768,
"expert": 0.7533654570579529
} |
31,166 | There is a collection of photos to place into an empty photo albun one at a time by order of importance. Each time a photo is inserte all subsequent photos are shifted toward the right by one position Given the id's of the photos and the positions where each should t placed, find out the sequence of the photos in the a... | dcba49ed8e80a9b0bb75172c562a4ac9 | {
"intermediate": 0.2527165710926056,
"beginner": 0.3273290991783142,
"expert": 0.4199543297290802
} |
31,167 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | 25f0253b09ddd0833bbb1624fa93b2b1 | {
"intermediate": 0.2968914806842804,
"beginner": 0.5576466917991638,
"expert": 0.1454618275165558
} |
31,168 | This program has an error! We are trying to change "black" to "blue" in the rainbow list. Let's debug it!
RULE: .index() returns the index (position) of a value in a list.
Click Run and read the error message.
Change the value in the parentheses of .index() to get the index of the color "black".
Click Run to see i... | c52e463b43c12f4e89b6384efc6d5509 | {
"intermediate": 0.5597108006477356,
"beginner": 0.17589448392391205,
"expert": 0.2643946707248688
} |
31,169 | You are a senior python programmer with an extensive and deep knowledge of the Python language.
Create a python program that complieas with the following requirements:
1) Inspects all open instaces of chrome webbrowser and prints the urls in all the tabs each instance contains.
2) There might be several open inst... | 8e07ae2b0fae9f39c57f20a04d47778e | {
"intermediate": 0.36981359124183655,
"beginner": 0.212409108877182,
"expert": 0.41777729988098145
} |
31,170 | этот код можно усовершенствовать чтобы он работал быстрее?
import os
import sys
def dp(content):
content = content.replace(" ", "")
return content
def dp2(content):
content = content.replace("'", "")
return content
def dp3(content):
content = content.replace("+", "")
return content
folder_path = 'numbers'... | 4472b7e58051ba30840231a5bb19210e | {
"intermediate": 0.2058292031288147,
"beginner": 0.634349524974823,
"expert": 0.15982124209403992
} |
31,171 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | 2ada1e950b4a617b4315b4d6e2cb41fb | {
"intermediate": 0.26516255736351013,
"beginner": 0.535163402557373,
"expert": 0.19967399537563324
} |
31,172 | make it print something everytime the frame has been the same for 1.5 seconds, so it's gonna be a frame with some numbers on it and I wanna run a ocr aslong as the video has stayed the same for 1.5 sec:
# Convert template to grayscale
template_gray = cv2.cvtColor(template_image, cv2.COLOR_BGR2GRAY)
dot_template_gray =... | 729ad332d5f17b57bf410994857bae5a | {
"intermediate": 0.31859153509140015,
"beginner": 0.44396087527275085,
"expert": 0.23744763433933258
} |
31,173 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | 9079ad7125f2b346548cdb0c44ff2c3c | {
"intermediate": 0.531252920627594,
"beginner": 0.3211512267589569,
"expert": 0.14759576320648193
} |
31,174 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | 289035ecd8af6cfe8bbdb2ed20e68de0 | {
"intermediate": 0.26516255736351013,
"beginner": 0.535163402557373,
"expert": 0.19967399537563324
} |
31,175 | Can you draw a basic triangle and present it to the screen in OneAPI, CUDA and ROCm? | cde5ee6b0f889364f840f647ef53c419 | {
"intermediate": 0.6623708605766296,
"beginner": 0.12695525586605072,
"expert": 0.21067392826080322
} |
31,176 | этот код можно усовершенствовать чтобы он работал быстрее?
import os
import sys
def dp(content):
content = content.replace(" ", "")
return content
def dp2(content):
content = content.replace("'", "")
return content
def dp3(content):
content = content.replace("+", "")
return content
folder_path = 'numbers'... | cfec404c63e25493491b4503a45a763a | {
"intermediate": 0.2058292031288147,
"beginner": 0.634349524974823,
"expert": 0.15982124209403992
} |
31,177 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | c3909b693498a3dbcd3a597b91a97108 | {
"intermediate": 0.26516255736351013,
"beginner": 0.535163402557373,
"expert": 0.19967399537563324
} |
31,178 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | caf935eda525b7c1603c0f9bd6c9d319 | {
"intermediate": 0.531252920627594,
"beginner": 0.3211512267589569,
"expert": 0.14759576320648193
} |
31,179 | Instructions:
The project focuses on the use of FMCW radar.
It is used for data collection, point detection, tracking and other functions.
The project is broken down into several modules.
The aim of this division is to decouple as much as possible the functionalities present in each module, and make the development of ... | f15b8b9e9ddb39c92e2510a45564582a | {
"intermediate": 0.280784010887146,
"beginner": 0.49608689546585083,
"expert": 0.2231290638446808
} |
31,180 | schematic figure of a neural network that has two layers: an input layer with 128 neurons and an output layer with 1 neuron | ff4aca2dc468a961535f7846ce87d513 | {
"intermediate": 0.15813696384429932,
"beginner": 0.127715066075325,
"expert": 0.7141479849815369
} |
31,181 | For a STM32C030 microcontroller, write a tinygo program to flash a led at 1 Hz. | bd903ecca9daac31b6f5ddecd1d6f976 | {
"intermediate": 0.3441179394721985,
"beginner": 0.2713339924812317,
"expert": 0.38454803824424744
} |
31,182 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
#include <algorithm>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_D... | 9a498ef8d665a9e96b6c553806984895 | {
"intermediate": 0.33054298162460327,
"beginner": 0.4386005103588104,
"expert": 0.23085658252239227
} |
31,183 | In bash, I need writing a script to generate a texture of random numbers; the first 2 octets are the width, the 3rd and 4th octets are the height, and the rest are an array of octets which is divisible by 3 representing color. Utilize /dev/random or /dev/urandom since they're faster than $RANDOM. | 3638943920e077dde4268df89be7898b | {
"intermediate": 0.4433314800262451,
"beginner": 0.19178828597068787,
"expert": 0.3648802936077118
} |
31,184 | In bash, I need a script to generate a texture of random numbers; the first 2 octets are the width, the 3rd and 4th octets are the height, and the rest are an array of octets which is divisible by 3 representing color. Utilize /dev/random or /dev/urandom since they’re faster than $RANDOM. | 18900715dd2dfc20097925b3fa7cf36d | {
"intermediate": 0.46501055359840393,
"beginner": 0.18396054208278656,
"expert": 0.3510288894176483
} |
31,185 | Please use R to solve the following problem. “DHSI.csv” from the data folder on canvas. The file contains daily data of Hang Seng Index from 1987-01-02 to 2023-09-29. Extract the daily close price of DHSI and name the series as “HSI”. Compute log returns of“HSI” and name the series as “DHSILR”.Draw histograms of DHSIL... | ebdb8b874643aca7537fff8de752cf2e | {
"intermediate": 0.534598171710968,
"beginner": 0.14911812543869019,
"expert": 0.3162837028503418
} |
31,186 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
#include <algorithm>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_D... | 96c8e5d1f7df2641cb614b3dcaea22fa | {
"intermediate": 0.27545231580734253,
"beginner": 0.5272324681282043,
"expert": 0.1973152458667755
} |
31,187 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | 788e3b864bec9beb9b71161e60406e41 | {
"intermediate": 0.26516255736351013,
"beginner": 0.535163402557373,
"expert": 0.19967399537563324
} |
31,188 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | ee72fe544117adfc6aa0e2776c807fec | {
"intermediate": 0.26516255736351013,
"beginner": 0.535163402557373,
"expert": 0.19967399537563324
} |
31,189 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | b3abab3184c7905c1a79c6710928ee75 | {
"intermediate": 0.2885934114456177,
"beginner": 0.5267934203147888,
"expert": 0.18461327254772186
} |
31,190 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | b4658e02ba5768181c84cccab145cf31 | {
"intermediate": 0.2885934114456177,
"beginner": 0.5267934203147888,
"expert": 0.18461327254772186
} |
31,191 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | 64e3c616015b187d7d2c5cad59eb7842 | {
"intermediate": 0.26423731446266174,
"beginner": 0.5363492965698242,
"expert": 0.19941338896751404
} |
31,192 | #include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <random>
// Размеры окна
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
// Размеры барабанов
const int DRUM_WIDTH = 100;
const int DRUM_HEIGHT = 100;
// Общее количество барабанов
const int NUM_DRUMS = 5;
// Количес... | ba9da85482cf3905f302c30fdef32fc5 | {
"intermediate": 0.2830542325973511,
"beginner": 0.5300540924072266,
"expert": 0.1868916153907776
} |
31,193 | public void run() {
try {
if (this.player == null) {
return;
}
if (this.player.tank == null) {
return;
}
if (this.player.battle == null) {
return;
}
this.preparedPosition = SpawnM... | 62f90d71d4305705a03f24b703175f24 | {
"intermediate": 0.32148003578186035,
"beginner": 0.46575528383255005,
"expert": 0.2127646952867508
} |
31,194 | package gtanks.battles.timer.schedulers.runtime;
import gtanks.StringUtils;
import gtanks.battles.BattlefieldPlayerController;
import gtanks.battles.managers.SpawnManager;
import gtanks.battles.tanks.math.Vector3;
import gtanks.commands.Type;
import gtanks.json.JSONUtils;
import gtanks.logger.remote.RemoteDatabaseLogg... | 64e941ed4b56392b61d67cab354b4eb7 | {
"intermediate": 0.33010512590408325,
"beginner": 0.5338963270187378,
"expert": 0.13599857687950134
} |
31,195 | How do i Calculate dVarA and dVarB in al?
section .data
EXIT_SUCCESS equ 0
SYS_exit equ 60
dVarA db 0xa5
dVarB db 0xb3
bResult db 0
section .text
global _start
_start:
mov al, byte [dVarA]
add al, byte [dVarB]
mov byte [bResult], al
last:
mov rax, SYS_exit
mov rdi, EXIT_SUCCESS
syscall | 31e25d5d183f4533c8e8f882230307ac | {
"intermediate": 0.302497535943985,
"beginner": 0.30160728096961975,
"expert": 0.39589518308639526
} |
31,196 | I want to divs to be side by side, and have a gap between them, if the screen size is like the size of the table the divs should wrap if not they need to be side by side. Inside those divs there should be a barchart from recharts, they need to be responsive. the max height of the divs are 322px, but the with should be... | 651e315c2a7d5f2a031205c062f60260 | {
"intermediate": 0.5919510126113892,
"beginner": 0.188913956284523,
"expert": 0.2191350907087326
} |
31,197 | I want to divs to be side by side, and have a gap between them, if the screen size is like the size of the table the divs should wrap if not they need to be side by side. Inside those divs there should be a barchart from recharts, they need to be responsive. the max height of the divs are 322px, but the with should be... | 583de5826c7374d15b1f16847e15b9c3 | {
"intermediate": 0.4612261950969696,
"beginner": 0.20089101791381836,
"expert": 0.33788278698921204
} |
31,198 | public void executeCommand(Command cmd) {
try {
String _name = null;
switch($SWITCH_TABLE$gtanks$commands$Type()[cmd.type.ordinal()]) {
case 3:
if (cmd.args[0].equals("try_mount_item")) {
if (this.localUser.getGarage().mountItem(cmd.args[1])) {
... | d0304ad63828d388a1acd5cbd85d014b | {
"intermediate": 0.31641116738319397,
"beginner": 0.47294872999191284,
"expert": 0.21064014732837677
} |
31,199 | implement a table insite of this wrapper
wrappedText.forEach((line) => {
let posY = margin + defaultYJump * iterations++;
if (posY > pageHeight - margin) {
pdfDoc.addPage();
iterations = 1;
posY = margin + defaultYJump * iterations++;
}
pdfDoc.text(15... | 3ba0f7ae597628324fbbdc57623b0c31 | {
"intermediate": 0.3927824795246124,
"beginner": 0.2958262860774994,
"expert": 0.3113912343978882
} |
31,200 | ¿Cómo formatear los campos de fecha start_date y end_date para que tengan el formato format('d-m-Y') en este query de laravel?
$vacations = Vacation::select('id', 'start_date', 'end_date', 'total_days', 'status', 'supervisor_reviewer_id', 'human_resources_reviewer_id')
->with('superviso... | 363ad7d36332c36a07f809e1cc76367c | {
"intermediate": 0.37757694721221924,
"beginner": 0.3823126554489136,
"expert": 0.2401103526353836
} |
31,202 | write a VBA code for a presentation powerpoint about kant's philosophy ( in arabic )using at least 20 slides | 3fbb4d2ec359f2b851b1877933077471 | {
"intermediate": 0.31808850169181824,
"beginner": 0.42063915729522705,
"expert": 0.2612723410129547
} |
31,203 | int main(int argc, char *argv[]) {
uint8_t *pBuffer = malloc(sizeof(uint8_t) * 2);
FILE *pFile = fopen(TEX_FILENAME, "rb");
fread(pBuffer, sizeof(uint8_t) * 2, 1, pFile);
printf("[%d, %d]\n", pBuffer[0], pBuffer[1]);
if (!realloc(pBuffer, sizeof(uint8_t) * 2 + sizeof(uint8_t) * pBuffer[0] * pBuffer[1])) {
return... | ff624c44cfcdfe9870a2a0eedee3522a | {
"intermediate": 0.3239760994911194,
"beginner": 0.45489200949668884,
"expert": 0.22113193571567535
} |
31,204 | when using CSS Modules i have a component that is a select from antd , I want to add the following css called style to that .ant-select-selector, but im unable to do it,
the style is
profitOptimizerCascader{
color: #279989;
font-size: 24px;
font-weight: bold;
margin-right: 20px;
display: flex;
a... | 96da22f07fa85b15cea87d324d5b6ff9 | {
"intermediate": 0.2892029285430908,
"beginner": 0.39614009857177734,
"expert": 0.31465694308280945
} |
31,205 | how to append to existing excel using python | 1d25d2e780c1e776fb9a4c956ad35876 | {
"intermediate": 0.3502238690853119,
"beginner": 0.2864491939544678,
"expert": 0.3633269667625427
} |
31,206 | Write a C program to generate a texture where each pixel is randomly colored. Store a 16-bit unsigned int at the very start representing the width, and another representing the height. Then an 8-bit integer representing the number of channels. After that comes the list of pixel colors, each pixel's color channel is an ... | 0e2e3e5bccf2d545344275a0d0d54c90 | {
"intermediate": 0.44367143511772156,
"beginner": 0.16902124881744385,
"expert": 0.387307345867157
} |
31,207 | si la variable $this->start_date_filter tiene un valor distinto de null, entonces agregar la condicion de que ese valor tiene que ser mayor o igual al campo "start_date" del query de laravel
$vacations = Vacation::select('id', 'start_date', 'end_date', 'total_days', 'status', 'supervisor_reviewer_id', 'human_resources... | 970259dd4f4e5c5798baba7210f0ca77 | {
"intermediate": 0.2422938048839569,
"beginner": 0.57591712474823,
"expert": 0.18178904056549072
} |
31,208 | si la variable $this->start_date_filter tiene un valor distinto de null, entonces agregar la condicion de que ese valor tiene que ser mayor o igual al campo "start_date" del query de laravel
$vacations = Vacation::select('id', 'start_date', 'end_date', 'total_days', 'status', 'supervisor_reviewer_id', 'human_resources... | d0dd7285a6ed2a82c7fe14610ea33b2c | {
"intermediate": 0.2422938048839569,
"beginner": 0.57591712474823,
"expert": 0.18178904056549072
} |
31,209 | public Item buyItem(String id, int count, int nul) {
id = id.substring(0, id.length() - 3);
Item temp = (Item)GarageItemsLoader.items.get(id);
if (temp.specialItem) {
return null;
} else {
Item item = temp.clone();
if (!this.items.contains(this.getItemById(id))) {
... | 6ed17dfba9b011df92a40132927ee4d2 | {
"intermediate": 0.345655620098114,
"beginner": 0.3522818386554718,
"expert": 0.3020625710487366
} |
31,210 | set up a quick platformer for me, here is the start:
import React from "react";
function GameMain(){
const gameOver = false;
function mainLoop(){
while(!gameOver){
}
}
return(
<div></div>
)
}
export default GameMain
private Vector3 GetIn... | 9aa1cb3e8a47273831fe8edf6d35d2e6 | {
"intermediate": 0.4074542820453644,
"beginner": 0.41732102632522583,
"expert": 0.1752246618270874
} |
31,211 | Schreibe ein C++ Programm, das eine positive ganze Zahl z ¨uber eine
Kommandozeilen-Eingabe (cin) ¨ubergeben bekommt und die
Bin¨ardarstellung dieser Zahl auf der Kommandozeile ausgibt. Die Anzahl
der Bits n, die ben¨otigt werden um die Zahl z darzustellen kann mit
n =
log(z + 1)
log(2)
,
berechnet werden. Die Klam... | 8294688febc382eb6d689a098aa9a0cc | {
"intermediate": 0.4028872847557068,
"beginner": 0.27975383400917053,
"expert": 0.3173588812351227
} |
31,212 | In a q-btn-toggle, how do I have different colored buttons for each option? | eeb847e87ed689c95c4c3fb3966699e9 | {
"intermediate": 0.49684205651283264,
"beginner": 0.19009056687355042,
"expert": 0.31306737661361694
} |
31,213 | How to put a paragraph before \makelettertitle in Latex | 45ad70e8785cc2c313226b5851848c28 | {
"intermediate": 0.313345342874527,
"beginner": 0.28088220953941345,
"expert": 0.4057723879814148
} |
31,214 | how do I fix this error:
error: invalid method declaration; return type required
public static Image (String filename)
from this code:
public static Image (String filename)
{
MyroImage.loadImage("apcshelicopter.jpg");
} | ca7687fb27ba3344f32a9724e85ee13d | {
"intermediate": 0.5470021367073059,
"beginner": 0.31282007694244385,
"expert": 0.1401776820421219
} |
31,215 | Write a C++ Program to print the letter K using stars.
Note:
1) Using nested For Loop
2) The number of lines is given by user.
3) Using one Outer loop to print your letter | a7476b08884cab12eafb59977eea5e41 | {
"intermediate": 0.24581018090248108,
"beginner": 0.5523070096969604,
"expert": 0.20188279449939728
} |
31,216 | the character is stuck in the air:
import React, { useState, useEffect, useRef } from "react";
// Constants for gravity and jumping
const GRAVITY = 0.5;
const JUMP_STRENGTH = -10; // Negative because the Y axis is downward
const Platform = ({ width, height, top, left }) => {
const style = {
position: "absolute... | 6d2c9690fae033bb4206aa440e5bd864 | {
"intermediate": 0.35806789994239807,
"beginner": 0.4292200207710266,
"expert": 0.21271200478076935
} |
31,217 | I'm using virt-manager (in Debian). Where is the xml file that I want to edit for a certain VM I have? | bd397502dd01e3cd16d83749b0b6e8b7 | {
"intermediate": 0.6712606549263,
"beginner": 0.14056962728500366,
"expert": 0.18816980719566345
} |
31,218 | how to consider proximity of words in query string in whoosh searching | 7a53e208a86dd345f4b5786f79c71e1b | {
"intermediate": 0.21312855184078217,
"beginner": 0.18370914459228516,
"expert": 0.6031622886657715
} |
31,219 | Two source programs master.c and slave.c and the header file myShm.h
The master process and its child processes executing the slave executable communicate through a
shared memory segment. When master executes, it first outputs a message to identify itself, then requests to create a
shared memory segment of a certain n... | 8b86a5a98e5322fceb1428ffff174593 | {
"intermediate": 0.3156270980834961,
"beginner": 0.2874997556209564,
"expert": 0.3968731760978699
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.