row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
34,233 | напиши код майнкрафт спигот 1.12.2
сделай чтобы при вводе команды /upgrade если у игрока в руках кожаная куртка, то у нее повышаются все ее атрибуты на 5%, а перед названием предмета появляется зеленое “+1” сделай чтобы после повторного улучшения число менялось на +2, +3 и т.д до +15, скинь итоговый код плагина.
Чтобы ... | 5109550769cc457a51388ef7647349c3 | {
"intermediate": 0.26351186633110046,
"beginner": 0.5776492953300476,
"expert": 0.15883880853652954
} |
34,234 | Could not find a declaration file for module '@zegocloud/zego-uikit-prebuilt-call-rn'. '/Users/mac/Desktop/testProcare/ihealthRN/example/node_modules/@zegocloud/zego-uikit-prebuilt-call-rn/lib/commonjs/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/zegocloud__zego-uikit-prebuilt-call-rn` if it e... | ebca63f9d99358c825c618061dc27157 | {
"intermediate": 0.5110266804695129,
"beginner": 0.21921661496162415,
"expert": 0.2697566747665405
} |
34,235 | I'm running Nextcloud on a server, named myserver.com. The Apache server answers on port 8080.
I have a proxy in front. The external address to the Nextcloud server is https://mydomain.com. Now I need to change that address to https://mydomain.com/nc but I do not want to move the files on on the server myserver.com.
I... | ca57f3643e49712fd13669fdaf08b563 | {
"intermediate": 0.47154542803764343,
"beginner": 0.28603577613830566,
"expert": 0.2424188107252121
} |
34,236 | code a python cookie stealer that will send to discord webhook | 0ffe9121e436ee69514aa1767986007f | {
"intermediate": 0.3654928505420685,
"beginner": 0.1332983374595642,
"expert": 0.5012087821960449
} |
34,237 | in postgressql i got 5 databases
public."PL_MoliendaIBP"
public."PL_Quality"
public."PL_Commercial"
public."PL_Process"
public."PL_Restrictions"
there is a field called "runId" that all 5 have that I need update where the user = felipe and its runid is emtpy and also is the last row on that table (where the user is ... | d65e02355827eabc3a8b8e7142e0e600 | {
"intermediate": 0.45831549167633057,
"beginner": 0.22875066101551056,
"expert": 0.31293392181396484
} |
34,238 | code a full website for me, the theme is "Roblox Executor" | 50d82a829683bd3d352f7a335251f224 | {
"intermediate": 0.33604875206947327,
"beginner": 0.3364214301109314,
"expert": 0.3275298476219177
} |
34,239 | from c# i have a
DateTimeOffset today = DateTimeOffset.UtcNow.Date;
long unixTimestamp = today.ToUnixTimeSeconds();
i need to see that on postgres to check if other dates stores as integer are the same day, ignoring the timestamp | c4b27a2cd1e57ef7c8bb22cf5c0d6ac6 | {
"intermediate": 0.5293235182762146,
"beginner": 0.31039878726005554,
"expert": 0.16027773916721344
} |
34,240 | safetensors to pytorch_model.bin huggingface python cdoe | 53461597cf88b1db0e9bc5eab6e4d18f | {
"intermediate": 0.32590317726135254,
"beginner": 0.26253703236579895,
"expert": 0.4115598201751709
} |
34,241 | convert model.safetensors to pytorch_model.bin huggingface python code | 4f2b61c4f0bb069cd8bcaf2929cb8833 | {
"intermediate": 0.2963748574256897,
"beginner": 0.24551019072532654,
"expert": 0.458114892244339
} |
34,242 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI; //This line enables use of uGUI classes like Text.
public class ScoreCounter : MonoBehaviour
{
//[Header("Dynamic")]
public static int SCORE { get; set; }
private Text uiText;
private void Start()
... | 93ca5f5c8f7b53dd28c43e3ae4d4cb36 | {
"intermediate": 0.44672948122024536,
"beginner": 0.4095638692378998,
"expert": 0.14370664954185486
} |
34,243 | Use 2D dp array to solve leetcode 514 problem | 1a461f0114abd90f0de9d1965a2ed99e | {
"intermediate": 0.3706103563308716,
"beginner": 0.26642319560050964,
"expert": 0.3629664480686188
} |
34,244 | Using python and matplotlib, do the following:
generate random samples from population 1 using the following values for n and k:
(n, k) = (2, 10), (2, 100), (2, 1000)
(20, 100), (20, 1000)
(200, 100), (200, 1000)
These samples can be generated using the command “numpy.random.choice.”
Provide histograms showing mean v... | 4be2d3fd0d223e141ead59861847ec04 | {
"intermediate": 0.39604508876800537,
"beginner": 0.2730441987514496,
"expert": 0.33091071248054504
} |
34,245 | HI | 0c3cfb62d24ca51c5c82388150cd95c1 | {
"intermediate": 0.32988452911376953,
"beginner": 0.2611807882785797,
"expert": 0.40893468260765076
} |
34,246 | Using python and matplotlib, we will estimate population mean and standard deviation by using simple random
samples drawn from the population. The number of elements within each sample will be
represented by n (also known as the sample size) and the number of samples drawn from the
population will be represented by k.D... | 4a60f5826a6a7983d1197993a092c457 | {
"intermediate": 0.4241095185279846,
"beginner": 0.27702102065086365,
"expert": 0.29886946082115173
} |
34,247 | ssytem software that controls I/O devixes are called what | de1de419f1d7c2c31cda65726edcda10 | {
"intermediate": 0.35098767280578613,
"beginner": 0.25636643171310425,
"expert": 0.392645925283432
} |
34,248 | Here is my code so far:
import numpy as np
import matplotlib.pyplot as plt
#data = (3,6, 9, 12, 15)
#fig, simple_chart = plt.subplots()
#simple_chart.plot(data)
#plt.show()
#population 1
data1 = np.loadtxt('data1.txt')
#mean
population1mean = np.mean(data1)
print(population1mean)
#standard deviation
population1SD = n... | b753a10003de336034d462447b809bbe | {
"intermediate": 0.30030322074890137,
"beginner": 0.4148573875427246,
"expert": 0.2848394215106964
} |
34,249 | fix the error | a54684c8cbd5251d2d5e8487633eb120 | {
"intermediate": 0.40257349610328674,
"beginner": 0.2821619510650635,
"expert": 0.31526461243629456
} |
34,250 | Create table RequestAccepted (requester_id int not null, accepter_id int null, accept_date date null)
Truncate table RequestAccepted
insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('1', '2', '2016/06/03')
insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('1', '3',... | 8483846df516e0099b388d926608b571 | {
"intermediate": 0.25437673926353455,
"beginner": 0.38964882493019104,
"expert": 0.35597437620162964
} |
34,251 | this code:"import cv2
import torch
from yolov5 import YOLOv5
from threading import Thread
from queue import Queue
class VideoCaptureAsync:
def init(self, source=0):
self.cap = cv2.VideoCapture(source)
self.q = Queue(maxsize=1)
self.running = False
def start(self):
self.running ... | 11555ba249189d169ff070a4f3677042 | {
"intermediate": 0.3800565302371979,
"beginner": 0.36695659160614014,
"expert": 0.2529868483543396
} |
34,252 | 1. Read an image and convert it to grayscale
2. Create 6 Noisy images where :
* In the first three, you apply gaussian noise with different intensities.
* In the other three, you apply salt & pepper noise with different probabilities
3. Compare between the frequency domains of the original image and the six noisy image... | fd494c25cf06d97db8b2a9adc83792f1 | {
"intermediate": 0.3419136106967926,
"beginner": 0.3034255802631378,
"expert": 0.3546607792377472
} |
34,253 | If the Pokemon Eevee was a creature in a D&D homebrew, what would its statblock look like? | 5b57bbdf7e46ae623ef25e273bd75b7c | {
"intermediate": 0.36561834812164307,
"beginner": 0.3216569721698761,
"expert": 0.31272464990615845
} |
34,254 | do you know yolov8? | a94687c97a826699063ddf9124c2c6ec | {
"intermediate": 0.32846495509147644,
"beginner": 0.13792684674263,
"expert": 0.5336081981658936
} |
34,255 | system message: <Before responding, follow this step by step reflection process. With the hidden thought syntax consider how best to respond, possible responses, and correctness, then try to critique or falsify your thoughts, then consider defenses for your thoughts, to figure out what to say. (Repeat this process of t... | bcd282c5fcb6b59a729485ab8996f9c3 | {
"intermediate": 0.30574479699134827,
"beginner": 0.3266897201538086,
"expert": 0.3675655424594879
} |
34,256 | How do I add a video to my website? I don't need controls for the video tag at all. I just want an autoplaying, looping, muted video that plays on load. What I have so far: <video autoplay muted width="500px" height="500px" controls="controls"> | 3d6adedfa066babd365769ac5ab4ef83 | {
"intermediate": 0.4614335894584656,
"beginner": 0.26946303248405457,
"expert": 0.2691033184528351
} |
34,257 | Пожалуйста, добавь комментарии к коду scilab: function[y]=P(c,z)
y=z(2)-c(1)-c(2)*z(1)-c(3)*z(1)*2-c(4)*z(1)*3;
endfunction
x=[4 5 6 7 8 9 10 11 12]
y=[3.25259 4.01189 4.48352 4.79182 5.17888 5.49445 5.55752 5.80579 5.98981]
plot(x,y,'zx')
z=[x;y];
c=[0;0;0;0];
[a,err]=datafit(P,z,c)
t=[4:0.5:12]
p1=a(1)+a(2)*t+a(3).*t... | 9f892a7b02fdb25679d9e9793fc9d7a7 | {
"intermediate": 0.3351118564605713,
"beginner": 0.3795739710330963,
"expert": 0.2853141725063324
} |
34,258 | 请详细解释以下代码: def import_flink_config(self, request):
rst = {'code': 0, 'msg': '', 'data': {}}
config = str(request.get('config')).replace('"', '')
group_id = ''
servers = 'lichen'
others = request.get('group_id')
arr = others.split("|")
if str(arr[0]):
... | c7b4e5fb3497519a9cc04779f0cd06ae | {
"intermediate": 0.43420737981796265,
"beginner": 0.3549872040748596,
"expert": 0.21080532670021057
} |
34,259 | system message :<You are a helpful assistant. Answer the user carefully. You give well thought out answers. You **prioritise accuracy and precision** over speed. always assume that you may have missed something or made a mistake (don't contradict yourself or go over the top though). Don't be afraid to criticize and cor... | aa5ae5493cde071e20b8e5875f5d4afd | {
"intermediate": 0.435455858707428,
"beginner": 0.34943532943725586,
"expert": 0.21510884165763855
} |
34,260 | Make a simple C program solves "There is an integer array int a [ 10 ) = ( 1,2,3,4,5,6,7,8,9,10 ), programmed to store the
array in reverse order and output the result after reverse order" | f973cab061768a53da86420d038579d5 | {
"intermediate": 0.3616049587726593,
"beginner": 0.3173505663871765,
"expert": 0.3210444748401642
} |
34,261 | Организуй код для того чтобы допустим есть предмет Arcane Staff, он может быть уровнем от 3 до 8, и иметь Чары от 0 до 4 в зависимости от этого ему должна присваиваться картинка, которую мы будем использовать в listView. Например если Arcane Staff имеет 3 уровень и 0 зачарование, то ему присваивается картинка T3_MAIN_A... | ea20942e8d1f652653c7bbe440fb6224 | {
"intermediate": 0.3390497863292694,
"beginner": 0.4439530372619629,
"expert": 0.2169971764087677
} |
34,262 | Для того чтобы код отвечал требованиям, описанным в вашем задании, вам потребуется реализовать механизм, обновляющий картинку и имя предмета в зависимости от уровня и зачарования. Это можно сделать, добавив дополнительную логику в ваш класс Item и предусмотрев обработчики событий для ComboBox, который будет использоват... | 15d55fd7ea41b9dc2af148a5b61809a4 | {
"intermediate": 0.24946212768554688,
"beginner": 0.6051402688026428,
"expert": 0.14539754390716553
} |
34,263 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI; //This line enables use of uGUI classes like Text.
public class ScoreCounter : MonoBehaviour
{
//[Header("Dynamic")]
public static int SCORE { get; set; }
private Text uiText;
private void Start()
... | 2f77f81161cb5ca8c2c6dc927bac0cab | {
"intermediate": 0.4210793375968933,
"beginner": 0.4223511815071106,
"expert": 0.1565694659948349
} |
34,264 | Consider a situation in which you have to add two integers’ numbers. Write a C++
program to solve this situation using.
i. Function with no argument and no return value. (4marks)
ii. Function with no argument but return a valve | 7970f8bc20dfaa800fd6a9ea9a5ccfbf | {
"intermediate": 0.2557395100593567,
"beginner": 0.5054417848587036,
"expert": 0.2388186901807785
} |
34,265 | Для того чтобы код отвечал требованиям, описанным в вашем задании, вам потребуется реализовать механизм, обновляющий картинку и имя предмета в зависимости от уровня и зачарования. Это можно сделать, добавив дополнительную логику в ваш класс Item и предусмотрев обработчики событий для ComboBox, который будет использоват... | dd65acd750305447cc15d65827de59b5 | {
"intermediate": 0.24946212768554688,
"beginner": 0.6051402688026428,
"expert": 0.14539754390716553
} |
34,266 | i have 2 lists - A and B. how to exclude every element from list A that is on list B | b86cbee25bde85eadf8de84c8db669fb | {
"intermediate": 0.3634969890117645,
"beginner": 0.2465580701828003,
"expert": 0.38994497060775757
} |
34,267 | import sympy as sp
# Ввод количества ограничений
num_constraints = int(input("Введите количество ограничений: "))
# Ввод функции
function_expr = input("Введите функцию f(x): ")
function = sp.sympify(function_expr)
# Ввод исходных переменных
variables = sp.symbols('x:{}'.format(num_constraints))
# Инициализация множ... | 383667c46a6267c15721c0295157fabe | {
"intermediate": 0.3215147852897644,
"beginner": 0.4665110111236572,
"expert": 0.2119741439819336
} |
34,268 | what does this code snippet do in simple terms? :"import torch
model = torch.hub.load('ultralytics/yolov5', 'yolov5x6')
import supervision as sv
# extract video frame
generator = sv.get_video_frames_generator(MARKET_SQUARE_VIDEO_PATH)
iterator = iter(generator)
frame = next(iterator)
# detect
results = model(frame, ... | 8947cfd9fb7989c601362a5eeba31a1b | {
"intermediate": 0.5180542469024658,
"beginner": 0.1937645673751831,
"expert": 0.28818124532699585
} |
34,269 | import sympy as sp
# Ввод количества ограничений
num_constraints = int(input("Введите количество ограничений: "))
# Ввод функции
function_expr = input("Введите функцию f(x): ")
function = sp.sympify(function_expr)
# Ввод исходных переменных
variables = sp.symbols("x:{}".format(num_constraints))
# Инициализация множ... | 42cc2c24e53ec9545b8bf155f1a9107c | {
"intermediate": 0.2779001295566559,
"beginner": 0.5179391503334045,
"expert": 0.20416077971458435
} |
34,270 | You will be implementing a project in C++ as your final exam. The project is a text-based adventure game based on a storyline. You can define whatever storyline you want. The game will focus on a character overcoming obstacles to reach the final goal.
The game will have 3 levels. Each level should have 2 challenges. Th... | 07e272e9a6e62eae2f70e027a5b4003b | {
"intermediate": 0.30041277408599854,
"beginner": 0.41423892974853516,
"expert": 0.2853482961654663
} |
34,271 | # Define the polygon points (example coordinates, your use-case might be different)
polygon = np.array([
[30, 30],
[1620, 985],
[2160, 1920],
[1620, 2855],
[540, 2855],
[0, 1920]
])
please edit this polygon to create a small square at the center assume the resolution is 90... | c2bb51b9aa4161a9d855815f5d6600f3 | {
"intermediate": 0.4027632772922516,
"beginner": 0.28153517842292786,
"expert": 0.31570154428482056
} |
34,272 | "import cv2
import torch
import numpy as np
# Load YOLOv5 model
model = torch.hub.load('ultralytics/yolov5', 'yolov5n6')
# Your supervision library would be used here
import supervision as sv
# Define the polygon points (example coordinates, your use-case might be different)
polygon = np.array([
[30, 30],
... | 38517c9f186ba8d1aeaa6184ae0a9c76 | {
"intermediate": 0.3324478268623352,
"beginner": 0.49879586696624756,
"expert": 0.16875632107257843
} |
34,273 | "import numpy as np
import supervision as sv
# initiate polygon zone
polygon = np.array([
[540, 985],
[1620, 985],
[2160, 1920],
[1620, 2855],
[540, 2855],
[0, 1920]
])
video_info = sv.VideoInfo.from_video_path(MARKET_SQUARE_VIDEO_PATH)
zone = sv.PolygonZone(polygon=polygon, frame_resoluti... | 63164fc11e1cb80f90a0ac371e3b5fb0 | {
"intermediate": 0.5903251767158508,
"beginner": 0.12611834704875946,
"expert": 0.2835565209388733
} |
34,274 | from this code:
import numpy as np
import supervision as sv
# initiate polygon zone
polygon = np.array([
[540, 985],
[1620, 985],
[2160, 1920],
[1620, 2855],
[540, 2855],
[0, 1920]
])
video_info = sv.VideoInfo.from_video_path(MARKET_SQUARE_VIDEO_PATH)
zone = sv.PolygonZone(po... | 198916cf7b23b4c50ec6847d9773274c | {
"intermediate": 0.4563240110874176,
"beginner": 0.220830500125885,
"expert": 0.3228454887866974
} |
34,275 | how can i draw a small center square polygon and only run the inference inside meaning only objects inside are detected? | 7a5dfaa5bfeb41d3b6a5728701ded905 | {
"intermediate": 0.3059070110321045,
"beginner": 0.10211565345525742,
"expert": 0.5919773578643799
} |
34,276 | Read an image and convert it to grayscale
2. Create 3 Noisy images where you apply gaussian noise with different intensities. | 6f6da00b22ac4c7f3b7ba4c455eae0bf | {
"intermediate": 0.40155816078186035,
"beginner": 0.2228901982307434,
"expert": 0.37555161118507385
} |
34,277 | in
Connection.Query<Int64>
how to pass parameters | 57097a2eddf0fe0269f0b5e0cf275d1c | {
"intermediate": 0.4878823161125183,
"beginner": 0.23610453307628632,
"expert": 0.2760131061077118
} |
34,278 | import cv2
import torch
import numpy as np
# Load YOLOv5 model
model = torch.hub.load('ultralytics/yolov5', 'yolov5n6')
# Your supervision library would be used here
import supervision as sv
# Initialize the camera (0 for default camera, 1 for external cameras, and so on)
camera = cv2.VideoCapture(0)
# Define the B... | f6d6878f35bace47e7356184bf386900 | {
"intermediate": 0.5133667588233948,
"beginner": 0.33857282996177673,
"expert": 0.14806042611598969
} |
34,279 | here he was able to get info from the video source not a live camera source from the supervision library and was able to draw a polygon where the detection only happens inside the mask in this snippet:
"video_info = sv.VideoInfo.from_video_path(MARKET_SQUARE_VIDEO_PATH)
zone = sv.PolygonZone(polygon=polygon, frame_reso... | acc638380aa3e63ea07c1cded7002afa | {
"intermediate": 0.6777092814445496,
"beginner": 0.132911816239357,
"expert": 0.18937896192073822
} |
34,280 | i have an object detection code:"import cv2
import torch
import numpy as np
# Load YOLOv5 model
model = torch.hub.load('ultralytics/yolov5', 'yolov5n6')
# Your supervision library would be used here
import supervision as sv
# Initialize the camera (0 for default camera, 1 for external cameras, and so on)
camera = cv... | dbe4ef96125065e791b3518fd25ee639 | {
"intermediate": 0.4451865553855896,
"beginner": 0.2007451057434082,
"expert": 0.3540683388710022
} |
34,281 | Hey, write me FFMPEG Command to convert an MKV 1080p video into 100MB Mp4 video with Subtitles hard coded into video, Subtitles should be using arial bold font, size 12 (like FontName=Arial-Bold,FontSize=12'). For your information, video duration is around 24 minutes so do your calculations to set proper bitrate so tha... | 41137ac3352bf4e7889a2dcef7047668 | {
"intermediate": 0.5055814981460571,
"beginner": 0.2240530252456665,
"expert": 0.27036547660827637
} |
34,282 | write a flutter code for 3 cubes that can be horizontal arrangement. | ab4b210da7368d15ca7f948dfc475234 | {
"intermediate": 0.3165891468524933,
"beginner": 0.12540574371814728,
"expert": 0.5580050945281982
} |
34,283 | void write()
{
const char* path1 = "D:\\Бородин\\C++\\Alex_Project1\\Text1.txt";
const char* path2 = "D:\\Бородин\\C++\\Alex_Project1\\Text2.txt";
char buf[40];
int cnt= 0;
FILE* f1;
FILE* f2;
if (fopen_s(&f1, path1, "r"))
{
cout << "Error!File 1 couldn’t be opened.\n";
return;
}
if (fopen_s(&f2, path2, ... | 8ddccf1c3caa77dfbe307459d924fa24 | {
"intermediate": 0.300175279378891,
"beginner": 0.45826902985572815,
"expert": 0.24155572056770325
} |
34,284 | Preparation for releasing a PK/ADA dummy data generator version 1.0 in end of Dec. help check if this express with any syntax error and make it easily reading | 6809e212857b48c63ca823d9f3c43e01 | {
"intermediate": 0.23938974738121033,
"beginner": 0.4059745669364929,
"expert": 0.35463565587997437
} |
34,285 | 1. In React, In the parent component I have a component called FieldActions that renders a bunch of jsx elements, all with unique onClick function assigned to them.
2. I pass FieldActions as a prop called 'actions' inside of the child component called "TextField".
3. Inside the TextField By using destructuring assignme... | 2d15620c35f037bb1c6beaaf288b004b | {
"intermediate": 0.44376683235168457,
"beginner": 0.4086000323295593,
"expert": 0.14763320982456207
} |
34,286 | 4.8143616
3.96844226
3.73787744
6.61851869
3.33802002
2.30771291
2.92150326
2.12220328
1.58406171
4.20525538
7.25913226
5.72241673
3.54884478
7.02958027
2.07587204
6.53502533
9.85606185
3.90317726
3.93307251
2.55645356
6.33435514
14.35761328
3.42573896
5.16551037
3.70673138
8.82213589
1.58459331
10.35945893
8.18292159
... | ce39335a75923c3036296a3d32dc2095 | {
"intermediate": 0.278464138507843,
"beginner": 0.17304110527038574,
"expert": 0.5484947562217712
} |
34,287 | package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/kelseyhightower/envconfig"
)
type Config struct {
WundergroundAPIKey string `envconfig:"WUNDERGROUND_API_KEY"`
WundergroundStationID string `envconfig:"WUNDERGROUND_STATI... | ce05a77618475c696fb07f1d03351888 | {
"intermediate": 0.5706403255462646,
"beginner": 0.2941471338272095,
"expert": 0.1352125108242035
} |
34,288 | Hi can you optimize call of duty for my pc? Here are all the options you can change. Please just give me the settings without explanining or commenting:
My pc:
CPU: Ryzen 9 7950x 16 core 32 thread
GPU: Sapphire 11323-02-20G Pulse AMD Radeon RX 7900 XT Gaming Graphics Card with 20GB GDDR6, AMD RDNA 3 (vsync and frees... | c7ce2393e2d3bdf6081cf9b3703d3262 | {
"intermediate": 0.3370024561882019,
"beginner": 0.3162006735801697,
"expert": 0.3467969000339508
} |
34,289 | Download of 01.11.2023.xlsx was not completed.
---------------------------------------------------------------------------
ElementClickInterceptedException Traceback (most recent call last)
Cell In[11], line 19
16 next_date = min(end_of_month, end_date)
18 # Вызвать функцию download_file
--->... | 7787e357f13e5cdeadc1917ee1b9a515 | {
"intermediate": 0.32299861311912537,
"beginner": 0.46472758054733276,
"expert": 0.21227377653121948
} |
34,290 | print ("Moving to Location B...")
print ("Location B is Dirty.") if
Environment.locationCondition['B'] == 1 else print("Location B
is Clean.")
if Environment.locationCondition['B'] == 1:
Environment.locationCondition['B'] = 0;
Score += 1
print ("Location B has been Cleaned.")
print("Environment is Clean.")
elif vacuumL... | 5bc340c50c2d2e6d4529ac7c106f9da4 | {
"intermediate": 0.31779083609580994,
"beginner": 0.3253129720687866,
"expert": 0.35689616203308105
} |
34,291 | The file is renamed before it is downloaded. Fix that
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[10], line 19
16 next_date = min(end_of_month, end_date)
18 # Вызвать функцию download_... | cc472b2604cf3985a3b98851cc3663ad | {
"intermediate": 0.41161927580833435,
"beginner": 0.2776542901992798,
"expert": 0.3107264041900635
} |
34,292 | ---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[10], line 19
16 next_date = min(end_of_month, end_date)
18 # Вызвать функцию download_file
—> 19 download_file(current_date, next_date)
21 # Найти новую стартовую дату
22 current_date ... | 619870952f53e9668aca3502f9bfec37 | {
"intermediate": 0.37602949142456055,
"beginner": 0.37720656394958496,
"expert": 0.2467639446258545
} |
34,293 | ---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[10], line 19
16 next_date = min(end_of_month, end_date)
18 # Вызвать функцию download_file
—> 19 download_file(current_date, next_date)
21 # Найти новую стартовую дату
22 current_date ... | d811a2dde6172d9ae9cc2cb912747d6f | {
"intermediate": 0.37602949142456055,
"beginner": 0.37720656394958496,
"expert": 0.2467639446258545
} |
34,294 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MI 1000
#define MI2 1000
char dataFile [] = "dataofmotorbike.txt";
char a[MI][MI2];
int n;
FILE *fi, *fo;
void ReadData()
{
n=0;
int i;
fi = fopen(dataFile,"r");
if(fi == NULL)
{
printf("File %s not found!\n",dataFile);
... | 721a1eda373d3dd29b227bba166a87c8 | {
"intermediate": 0.3618066608905792,
"beginner": 0.5350208878517151,
"expert": 0.1031724289059639
} |
34,295 | i want you to write me a VBA code for a powerpoint presentation about the emotional intelligence.you need to fill in all text and images with your knowledge and dont include any place holders. ineed 7 slides. | 39dadac47c5783323540db13e49456bf | {
"intermediate": 0.24271048605442047,
"beginner": 0.48693105578422546,
"expert": 0.27035844326019287
} |
34,296 | Write 10 sentences that end with the word apple | cf639fe033960767b012e92f59b7866e | {
"intermediate": 0.38092049956321716,
"beginner": 0.3224899470806122,
"expert": 0.2965894639492035
} |
34,297 | apply plugin: "com.android.application"
import com.android.build.OutputFile
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
* and bundleReleaseJsAndAssets).
* These basically call `react-native bundle` with the correct arguments during the Android build
* cycle. By... | d4ed93bfceb748dee94a6c780aa0f5c9 | {
"intermediate": 0.34518060088157654,
"beginner": 0.3804989755153656,
"expert": 0.2743203938007355
} |
34,298 | * What went wrong: A problem occurred configuring project ':react-native-camera'. > Could not create an instance of type com.android.build.api.variant.impl.Librar... | 011f4d8702a9f33f4ccc77d1a98a3b49 | {
"intermediate": 0.39088526368141174,
"beginner": 0.3338168263435364,
"expert": 0.27529793977737427
} |
34,299 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 4d5742f3957e561cf976e59a15496819 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,300 | Этот метод должен отсылаться на метод который я отправлю далее, но он этого не делает, в чем причина. Пока ответь "Запомнил"
private void DisplayComboBoxOrTextBox(ListViewHitTestInfo hit)
{
int yOffset = 65; // Смещение по вертикали
// Индексы столбцов (могут быть другими - настроить под свою... | 73776f1b8fb3c95218d6a43bef65b979 | {
"intermediate": 0.3232055902481079,
"beginner": 0.5419570803642273,
"expert": 0.1348373144865036
} |
34,301 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 93963db0706c22d9b6e6c01155cbae6c | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,302 | const { market_list } = require("./server");
const GarageItem = require("./GarageItem"),
Area = require("./Area"),
{ turrets, hulls, paints, getType } = require("./server"),
InventoryItem = require("./InventoryItem");
class Garage extends Area {
static fromJSON(data) {
if (typeof (data.tank) !== "und... | 7b43070609750d107833aa666a24ac62 | {
"intermediate": 0.2909576892852783,
"beginner": 0.5029168725013733,
"expert": 0.20612549781799316
} |
34,303 | Open ms server express in command prompt | 6390a627c7af5c5ca87cbd7cd2341f19 | {
"intermediate": 0.4399774670600891,
"beginner": 0.24954891204833984,
"expert": 0.31047359108924866
} |
34,304 | How can I find the sector size of a drive on Debian? | a8f03193aa4108d6b93b594c0923b4c7 | {
"intermediate": 0.3822379410266876,
"beginner": 0.2139943540096283,
"expert": 0.4037677049636841
} |
34,305 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | c86501bbb3f426e40e74fe2d3575f672 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,306 | Optimize the following code:import cv2
import mediapipe as mp
import numpy as np
mp_face_mesh = mp.solutions.face_mesh
face_mesh = mp_face_mesh.FaceMesh(min_detection_confidence=0.5, min_tracking_confidence=0.5)
cap = cv2.VideoCapture(0)
prev_avg_x, prev_avg_y = 0, 0
while cap.isOpened():
success, image = cap.rea... | 1d72144fc53c4b50bc416eda5116b9b1 | {
"intermediate": 0.3450861871242523,
"beginner": 0.3411496877670288,
"expert": 0.31376418471336365
} |
34,307 | import random
# توليد القيم العشوائية للصف الأول
b_values = [1 for _ in range(10)] # تعيين قيمة افتراضية 1 للقيم b1, b2, …, b10
x = random.random()
c = random.random()
Q = random.random()
s = random.random()
d = random.random()
f = random.random()
g = random.random()
h = random.random()
j = random.random()
k = random.... | 350b480235246aab331191f0b02eb4c1 | {
"intermediate": 0.19288122653961182,
"beginner": 0.5647677779197693,
"expert": 0.2423509955406189
} |
34,308 | private static void parseAndInitItems(String json, ItemType typeItem) {
JSONParser parser = new JSONParser();
try {
Object obj = parser.parse(json);
JSONObject jparser = (JSONObject)obj;
JSONArray jarray = (JSONArray)jparser.get("items");
for(int i = 0; i < jarray.size... | 88809cddae6aaf53caa5c28a77923b01 | {
"intermediate": 0.2949311435222626,
"beginner": 0.5736604928970337,
"expert": 0.13140839338302612
} |
34,309 | И здесь К-ый максимум...
Бабушка Дуся вернулась с невероятного приключения к себе домой в деревню. За время ее отдыха, яблоня в огороде выросла и стала плодоносить. Из-за своей привязанности и любви к дереву, она внимательно следила за каждым появившимся яблоком и научилась на глаз определять его вес. Своим талантом он... | 82022a1b63124902b789a7ac0ced7f54 | {
"intermediate": 0.09506232291460037,
"beginner": 0.6891896724700928,
"expert": 0.21574802696704865
} |
34,310 | write a python code on leave application system that can be used in any platform | 94d2841a7b113289350e765985969bfb | {
"intermediate": 0.5261087417602539,
"beginner": 0.2036975473165512,
"expert": 0.2701936364173889
} |
34,312 | write for me a code to calculate median line of every type of triangle | 31d2758120c96f666fbc8f0d9515a3ff | {
"intermediate": 0.4224323332309723,
"beginner": 0.10618797689676285,
"expert": 0.47137969732284546
} |
34,313 | Write a Python class to simulate an ecosystem containing two types of creatures, bears
and fish. The ecosystem consists of a river, which is modeled as a relatively large list.
Each element of the list should be a Bear object, a Fish object, or None. In each time
step, based on a random process, each animal either atte... | 7617d9f2c6a097fa1522c081e1b41afc | {
"intermediate": 0.3458852469921112,
"beginner": 0.2859950661659241,
"expert": 0.3681197166442871
} |
34,314 | evaluate invers laplace {1/s^2 (s^2 +4)} by use of the convolution theorem | 273213c616abf05d3718231f49c289fe | {
"intermediate": 0.22057174146175385,
"beginner": 0.15053890645503998,
"expert": 0.6288893818855286
} |
34,315 | deign a calcultor having following functionalitics with switch case solution
1.arethmetic operation
2.can compare between numbers
3.can find percentages
4.can find power
5.can convert numbers into different numbers system (other number system to decimal) | 1c2feef4a176c6c3ca542bc248f0d118 | {
"intermediate": 0.2922517657279968,
"beginner": 0.227241650223732,
"expert": 0.4805065989494324
} |
34,316 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 6557a9b74e11a3ce81328d489a1a16c5 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,317 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 96d1996d39c3398dae47cebeb9020806 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,318 | clone(t={}){const r=t.loc||{};return e({loc:new Position("line"in r?r.line:this.loc.line,"column"in r?r.column:...<omitted>...)} could not be cloned. | 64833b9370c83431b4e7b62a21022dcd | {
"intermediate": 0.3366658091545105,
"beginner": 0.3435398042201996,
"expert": 0.3197943866252899
} |
34,319 | Return an ordered list of URLs of resources visited at a given time
a period of time. aggregate | e3a73575c352a4248b409de7d8be1971 | {
"intermediate": 0.4102884829044342,
"beginner": 0.22419433295726776,
"expert": 0.36551719903945923
} |
34,320 | give me a code snippet in python that waits for a message from telegram using telebot | a99b4790e1ddba8a55af647ad8665dc8 | {
"intermediate": 0.47364455461502075,
"beginner": 0.1445794403553009,
"expert": 0.38177597522735596
} |
34,321 | c++ how to keep a file created with std::tmpfile | f3cd3aacbe15755091665d3d09e9b997 | {
"intermediate": 0.44183549284935,
"beginner": 0.29667407274246216,
"expert": 0.2614904046058655
} |
34,322 | Linux kernel function : __setup() | ddbad5b11c3af3f78558684e68c100da | {
"intermediate": 0.29469752311706543,
"beginner": 0.4128325581550598,
"expert": 0.29246985912323
} |
34,323 | обьясни код построчно #include "F.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(int argc, char *argv[]) {
FILE *inFile;
time_t start = clock();
if (argc != 2){
printf("Invallid number of arguments\n");
return 0;
}
if ((inFile = aopen(argv[1], 2)) == NULL){ //Открытие файла н... | 56a599d886923ef2b59b2662ff84b338 | {
"intermediate": 0.26676836609840393,
"beginner": 0.5478603839874268,
"expert": 0.18537122011184692
} |
34,324 | Как получить Android Version Number в Bitbucket Pipelines и передать его в Python Script | 4e28327761c4b5163e93eef5b790c3f3 | {
"intermediate": 0.5700666904449463,
"beginner": 0.2560085952281952,
"expert": 0.17392469942569733
} |
34,325 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 82c303c3666b15670aac63b6c795aab7 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,326 | convert the following equation to c program: m^2=1/2(b^2+c^2)-1/4(a^2) | 1cb7c42ad386af2d83016d764eb0d1ea | {
"intermediate": 0.3181971311569214,
"beginner": 0.21465042233467102,
"expert": 0.46715253591537476
} |
34,327 | Представь, что ты программист Fast API. У меня есть метод получения всех должностей:
@router.get("/positions", response_model=List[CompanyUpdatePositionsInfo])
async def get_positions(
access_token: str = Depends(JWTBearer()),
db: AsyncSession = Depends(get_db_session)
) -> List[CompanyUpdatePositionsI... | 0e91417528fbf170e9d50b302556c11d | {
"intermediate": 0.5500373840332031,
"beginner": 0.32166436314582825,
"expert": 0.12829828262329102
} |
34,328 | How do i optimize this for maximum graphics? Please do not comment, just give me the actual config.
quickBuy = true
lockItemPickup = true
mapZoom = 40
importedCharacters = true
lockMapRotation = false
cameraShake = true
gore ... | 32dd52020f22ac786166c793117531d0 | {
"intermediate": 0.45281317830085754,
"beginner": 0.30682337284088135,
"expert": 0.24036343395709991
} |
34,329 | In this script, at his parents’ house, Dan agrees to let his younger cousin Jeannine (15, indie kid, bare feet) “hypnotize” him, expecting it to be five minutes of her embarrassing herself with cringey nonsense. In fact, Jeannine has been researching hypnosis in detail, and expertly and easily takes Dan deep into tranc... | ac8f116f231269ec61c8a9061be690fb | {
"intermediate": 0.2857564091682434,
"beginner": 0.3395746052265167,
"expert": 0.3746689558029175
} |
34,330 | package gtanks.users.garage;
import gtanks.battles.tanks.colormaps.Colormap;
import gtanks.battles.tanks.colormaps.ColormapsFactory;
import gtanks.system.localization.strings.LocalizedString;
import gtanks.system.localization.strings.StringsLocalizationBundle;
import gtanks.users.garage.enums.ItemType;
import gtanks.u... | 72656e21154a009bc40d8e2935388ed6 | {
"intermediate": 0.3236824870109558,
"beginner": 0.5912299752235413,
"expert": 0.08508753031492233
} |
34,331 | This is Grim Dawn that uses dx11. How do i optimize this for maximum graphics? Please do not comment, just give me the actual config.
quickBuy = true
lockItemPickup = true
mapZoom = 40
importedCharacters = true
lockMapRotation = false
cameraShake = true
gore = true
questwidgetopen = true
corpsePersistence = 0
blood = ... | 7e6825f99d7db1269df2419d981ada07 | {
"intermediate": 0.3753044307231903,
"beginner": 0.24732337892055511,
"expert": 0.37737226486206055
} |
34,332 | сделай так чтобы значение enchant можно было менять если значение level больше 4
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Albion... | 5a1f5479ae7b9d4edea6d337727260cf | {
"intermediate": 0.33611416816711426,
"beginner": 0.4609377086162567,
"expert": 0.20294810831546783
} |
34,333 | Представь, что ты программист Fast API. У меня есть метод получения должности по id:
@router.get("/get-position/{position_id}", response_model=CompanyUpdatePositionsInfo)
async def get_position_by_id(
position_id: int,
access_token: str = Depends(JWTBearer()),
db: AsyncSession = Depends(get_db_... | d5795f887f901455127fbc1af4e29aa8 | {
"intermediate": 0.6953657865524292,
"beginner": 0.2260909229516983,
"expert": 0.0785432904958725
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.