row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
6,425 | Write example code for a virtual organ with 5 stops in GrandOrgue format | 93104e78335c0b02d8b85c2cb1bf9fce | {
"intermediate": 0.2571563124656677,
"beginner": 0.21604230999946594,
"expert": 0.5268014073371887
} |
6,426 | NameError: name 'backtrader' is not defined | f0a9d03c564699ccec3acf62765fa0b3 | {
"intermediate": 0.3467072546482086,
"beginner": 0.19440652430057526,
"expert": 0.45888614654541016
} |
6,427 | Can you give me DRY code for getting VSI in python? Here is the matlab code:
function sim = VSI(image1, image2)
% ========================================================================
% Visual Saliency based Index
% Copyright(c) 2013 Lin ZHANG
% All Rights Reserved.
% -----------------------------------------------... | f73a37bca83f353d5834a21f5028884d | {
"intermediate": 0.4218073785305023,
"beginner": 0.29152700304985046,
"expert": 0.2866656184196472
} |
6,428 | can you answer in form of data array? | ee3060937052e49fb4c45ed37218dac0 | {
"intermediate": 0.3965029716491699,
"beginner": 0.15994448959827423,
"expert": 0.44355255365371704
} |
6,429 | find pattern for the following input/output pairs
0=0, 3=1, 9=2, 18=3, 30=4, 45=5, 63=6, 84=7 | c78872c5398e3c224ce5d20db7f621dc | {
"intermediate": 0.3266996443271637,
"beginner": 0.21041713654994965,
"expert": 0.46288320422172546
} |
6,430 | write a btgatt client and server c program to send binary files into chunks using blobs | 62d04f85db65ed5409a251bee37d952e | {
"intermediate": 0.4212360382080078,
"beginner": 0.17776049673557281,
"expert": 0.40100347995758057
} |
6,431 | Сгенерируй заглушку для метода Post java для следующих полей sector=8410&amount=1000000¤cy=643&pan=220070******9138&token=&month=XX&year=XX&name=%D0%A4%D1%80%D0%B8%D0%B4%D0%BE%D0%BC+%D0%A4%D0%B8%D0%BD%D0%B0%D0%BD%D1%81+%D0%91%D0%B0%D0%BD%D0%BA&url=https%3A%2F%2Fcifra-bank.ru%2F&signature=NTI4ZGFlMDk2MGRkOGZlOWUwZ... | 1bc80422f40e169dd63d4a2ca61007b8 | {
"intermediate": 0.39594465494155884,
"beginner": 0.28917422890663147,
"expert": 0.31488117575645447
} |
6,432 | how disable pull up in adc | 06e995bce9bc7c3b24053c4c376ee587 | {
"intermediate": 0.3865968883037567,
"beginner": 0.21113598346710205,
"expert": 0.40226706862449646
} |
6,433 | cerebro.plot(style='candlestick', candlestick={
'up': 'red',
'down': 'green',
'volume': True,
'wick': False,
'barup': 'red',
'bardown': 'green',
})颜色未变化 | 76a987fe533f94ebd92ddbf3dab50503 | {
"intermediate": 0.32507339119911194,
"beginner": 0.29402151703834534,
"expert": 0.3809050917625427
} |
6,434 | I need to write a code . please help me with that | 23569d66c28819318167ddd4a3faf2f1 | {
"intermediate": 0.22262266278266907,
"beginner": 0.29639413952827454,
"expert": 0.480983167886734
} |
6,435 | write me a code in pymavlink which checks for telemetry signal strength | 29e3e64b861b38a568bac0c7fc883be7 | {
"intermediate": 0.5265320539474487,
"beginner": 0.11587400734424591,
"expert": 0.35759395360946655
} |
6,436 | explain to me working principle of solar panel | b3f17af02624ca66c3701d08723c5967 | {
"intermediate": 0.383550763130188,
"beginner": 0.3571072220802307,
"expert": 0.2593420743942261
} |
6,437 | can you read image? | 43ec49f5c449a6abc3ee1d8f5ade76b2 | {
"intermediate": 0.39692744612693787,
"beginner": 0.33449944853782654,
"expert": 0.26857319474220276
} |
6,438 | Delete a node from a digraph and record number of arcs removed 30 Marks For each digraphs in a set of digraphs given as adjacency lists, read in the digraph, delete the node with index n − 3 where n is the order of the digraph, and write the digraph back to the terminal. After the adjacency lists, write out how many ar... | 375b7db3b830ded4346444984aa2a05a | {
"intermediate": 0.33805280923843384,
"beginner": 0.243449866771698,
"expert": 0.41849732398986816
} |
6,439 | BFS to find distances 30 Marks
Write a program that performs BFS on each of a given set of digraphs starting at
node 1 and prints the distance to the most distant node from 1 and reports the node
with the highest index at that distance. Nodes that are not reachable from 1 have
an undefined distance and should be ignore... | 0a0eba813462d816244f86682913ea4d | {
"intermediate": 0.38355594873428345,
"beginner": 0.21220509707927704,
"expert": 0.4042389988899231
} |
6,440 | All Market Mini Tickers Stream
Payload:
[
{
"e": "24hrMiniTicker", // Event type
"E": 123456789, // Event time
"s": "BTCUSDT", // Symbol
"c": "0.0025", // Close price
"o": "0.0010", // Open price
"h": "0.0025", // High price
"l": "0.0010", ... | 4b9e7419856bbbeca028909a736de9cb | {
"intermediate": 0.43193039298057556,
"beginner": 0.3056166172027588,
"expert": 0.26245301961898804
} |
6,441 | {% for i in data %}
<tr>
<td class="text-center">
<input type="checkbox" name="checks" value="{i.id}" class="checkbox">
<a href = "{% url 'edit_page' i.id %}" class = "btn btn-primary">Edit</a>
</td>
<td class="text-left">{{i.Name|default_if_... | 84cffda784a5891730c7a7d9e2a3f609 | {
"intermediate": 0.39240822196006775,
"beginner": 0.3564246594905853,
"expert": 0.2511671483516693
} |
6,442 | Use the load_dataset function to load the dataset.
Divide it into train and test with the parameters test_size=0.2, random_state=42.
Output the number of files in the train and test parts. def load_dataset(directory: str):
sr = None
X, labels, files = [], [], []
for f in glob(directory + "/*.wav"):
... | 63f1a729b8b844d9eb75cc740d5d3a6c | {
"intermediate": 0.4295275807380676,
"beginner": 0.2853207588195801,
"expert": 0.28515172004699707
} |
6,443 | task: build a machine learning model to detect specific "events" that are related to the position of body parts in videos of human interaction.
videos: the model should work on videos of human interaction between 2 people, sitting on chairs in front of each other (imagine psycological therapy sessions with 1 therapist... | 7d1938edcfd3d3d6f77f0aac5b16c5fa | {
"intermediate": 0.14642669260501862,
"beginner": 0.1611977070569992,
"expert": 0.6923756003379822
} |
6,444 | Hi, I’ll provide you two codes i.e DQN and Evader. I want you to make the following modifications: I got this termination condition in place if np.linalg.norm( np.array(self.final_destination) - np.array(self.current_location)[:2]) < 0.5. If this condition satisfies then the car speed will become zero and it rests. So,... | 5a66b9f2c3cb5a38904e5ec5c3f8ddbf | {
"intermediate": 0.3460831642150879,
"beginner": 0.4063250422477722,
"expert": 0.2475917488336563
} |
6,445 | It seems like you have outlined a project that involves optimizing the allocation of students to destinations for a semester abroad. You plan to use Genetic Algorithms to minimize the total cost of assignments while maximizing student satisfaction. The optimization process will be executed in a distributed manner, with... | 0357c6dfc71ad4f12a1d6b19ad19ca5b | {
"intermediate": 0.22622253000736237,
"beginner": 0.12341533601284027,
"expert": 0.6503621339797974
} |
6,446 | In Azure Data factory, there's column and its expression. I want to create a new column that combines entries of two existing columns by '__'. So how shall expression be written? | 5811dac30315e40d7c30573f070b5a84 | {
"intermediate": 0.5193686485290527,
"beginner": 0.2546018660068512,
"expert": 0.22602948546409607
} |
6,447 | what is protocol networks | 8675a21f92e050a4cf7013c21fff54af | {
"intermediate": 0.0925600677728653,
"beginner": 0.13688543438911438,
"expert": 0.7705545425415039
} |
6,448 | 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... | 690078718826d548054ae19f780e5dc4 | {
"intermediate": 0.4298076927661896,
"beginner": 0.2931635081768036,
"expert": 0.2770287096500397
} |
6,449 | how do i reference the functions defined in my server.js from app.js file, in my custom fresh desk app with platform version 2.3 | cd86febc69f8943c19dc041967dfdc50 | {
"intermediate": 0.45518672466278076,
"beginner": 0.3989261984825134,
"expert": 0.145887091755867
} |
6,450 | Мне нужна помощь в проекте. Твоя задача использовать язык Solidity, фреймворк MUD(второй версии), а для написания тестов использовать Foundry. Мне надо написать тесты для библиотеки LibExperience.sol . Эта библиотека связана с компонентом ExperienceComponent.sol . Так же в новой версии фреймворка MUD появились таблицы,... | 0afff072ea66b02da80f95ec7b05632a | {
"intermediate": 0.34744229912757874,
"beginner": 0.47642379999160767,
"expert": 0.17613385617733002
} |
6,451 | HI | f40297a185043805fe8c6abfb485a352 | {
"intermediate": 0.32988452911376953,
"beginner": 0.2611807882785797,
"expert": 0.40893468260765076
} |
6,452 | I would like to write a VBA code that does the following When I create a new entry in the last column of Column A, the last entry in Column K is calculated | 6907ca9ae024cb9965607fe41f91424a | {
"intermediate": 0.23979681730270386,
"beginner": 0.16450875997543335,
"expert": 0.595694363117218
} |
6,453 | I would like to write a VBA code where if there is a change in column A, it will calculate the formula in the last empty cell of column K | 779ed632683adcddb227efe1bd5e8513 | {
"intermediate": 0.35752299427986145,
"beginner": 0.09229011088609695,
"expert": 0.5501868724822998
} |
6,454 | import os
from glob import glob
import librosa
import numpy as np
from sklearn.model_selection import train_test_split
import random
# New function to generate random vad_segments
def get_random_vad_segments(samples, num_segments=10):
vad_segments = []
for sample in samples:
sample_segments = []
... | 8e883a10cad02d05a7583202112cf9b6 | {
"intermediate": 0.47192615270614624,
"beginner": 0.2804713845252991,
"expert": 0.24760247766971588
} |
6,455 | failed to solve: process "/bin/sh -c wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" did not complete successfully: exit code: 4 when creating docker compose build | 2c7b58ba14316be126858e2733a0fa5e | {
"intermediate": 0.46779710054397583,
"beginner": 0.32892337441444397,
"expert": 0.2032795548439026
} |
6,456 | how do i update object properties in javacscript | a302284f6918b2c915a8c92ab2deafb2 | {
"intermediate": 0.7559518814086914,
"beginner": 0.12408430874347687,
"expert": 0.11996385455131531
} |
6,457 | how to figure that my docker container has a strong internet connection | d8491fccd4588883e79da6fd4fc097d7 | {
"intermediate": 0.3647976815700531,
"beginner": 0.30971065163612366,
"expert": 0.325491726398468
} |
6,458 | def preprocess(text):
# TODO
return text 在#TODO的地方填充python代码,要求To prepare the data for the text analysis, we should:
- Filter texts with only letters and numbers
- Turn the texts into lower case
> **TODO**
Complete the `preprocess` function, which takes a piece of texts as input (not necessary of type... | 2da1540c905c53fc00772e778318bc2b | {
"intermediate": 0.5847099423408508,
"beginner": 0.1345081329345703,
"expert": 0.28078189492225647
} |
6,459 | explain quake 3 fast square root algorithm in detail | 2023a7cd01ba56735dfb3bdc621b44d6 | {
"intermediate": 0.036197926849126816,
"beginner": 0.04316578805446625,
"expert": 0.9206362366676331
} |
6,460 | write basic pseudorandom generator in Dart which takes seed and length as arguments and outputs list of integers ranging from 2 to 8. it must be fast and not dependent on length for seeding. if we use this function twice it MUST provide exactly matching output | 6b0524e9a1aa26416220c74833dd7168 | {
"intermediate": 0.40363526344299316,
"beginner": 0.24661165475845337,
"expert": 0.3497530519962311
} |
6,461 | access and work with global storage in pinia vuejs | 67e434a4717e648ac2b4ffe11a7462de | {
"intermediate": 0.6927815079689026,
"beginner": 0.12599042057991028,
"expert": 0.1812281608581543
} |
6,462 | what does the following code do List<int> generateRandom(int seed, int length) {
final List<int> result = [];
int current = seed;
for (int i = 0; i < length; i++) {
current = ((current * 0x41C64E6D) ^ current) >> 30;
result.add(2 + (current & 0x7));
}
return result;
} | 8e6ca5dadd14a5e382d37df653edd21a | {
"intermediate": 0.36687472462654114,
"beginner": 0.3327660858631134,
"expert": 0.30035921931266785
} |
6,463 | php creae a table with id username email password and reg_date | 0fe57e2023adf0d28b4f13933126766d | {
"intermediate": 0.4138830602169037,
"beginner": 0.2601945102214813,
"expert": 0.3259223699569702
} |
6,464 | import librosa
import numpy as np
def energy_vad(audio, sr, frame_size=25, hop_size=10, energy_threshold=0.02, zcr_threshold=0.02):
frame_length = int(sr * frame_size / 1000)
hop_length = int(sr * hop_size / 1000)
energy = np.square(librosa.feature.rms(audio, frame_length=frame_length, hop_length=hop_leng... | 9825427ba8be2fe53652d7513600bbb3 | {
"intermediate": 0.4939734935760498,
"beginner": 0.25631508231163025,
"expert": 0.24971143901348114
} |
6,465 | refactor with curly braces parameters of the function
List<int> generateRandom(int seed, int length, int rangeStart, int rangeEnd) {
final List<int> result = [];
int current = seed;
for (int i = 0; i < length; i++) {
current = ((current * 0x41C64E6D) ^ current) >> 30;
int randomNumber = rangeStart + (... | b67dc38545dd6b3544cd438ea92ec75b | {
"intermediate": 0.3178268373012543,
"beginner": 0.37709057331085205,
"expert": 0.3050825297832489
} |
6,466 | format as a code block my next prompt | e58e15020fc17ad6c486f437cdc96a61 | {
"intermediate": 0.16087107360363007,
"beginner": 0.6523410677909851,
"expert": 0.18678784370422363
} |
6,467 | how could you improve this const handleInboundToggle = () => {
setInboundVisible((current) => !current);
};
const handleWhatsAppToggle = () => {
enableWhatsapp((current) => !current);
setInboundVisible(false);
}; | 3d124527e2587e806dd033775ef77c88 | {
"intermediate": 0.48115214705467224,
"beginner": 0.3131531774997711,
"expert": 0.20569467544555664
} |
6,468 | please make my next prompt appear as a code block in Dart | 09756759f95995a024f13a5b75136e31 | {
"intermediate": 0.29967206716537476,
"beginner": 0.42891281843185425,
"expert": 0.2714151442050934
} |
6,469 | when i use wget and curl in downloading google-chrome in docker, it is connected to https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb but it stops working and everything is freezed. plus i can download google-chrome in terminal but not in docker. what is the problem | 5de8f79142684e7bb39660bf8a4ef2d7 | {
"intermediate": 0.43564730882644653,
"beginner": 0.3463347256183624,
"expert": 0.21801796555519104
} |
6,470 | write hello world in dart | 5e7e47da98023981e0edd9d8b68a32d7 | {
"intermediate": 0.29368919134140015,
"beginner": 0.4362125098705292,
"expert": 0.2700982689857483
} |
6,471 | make some random small code snippet in Dart | 14172f392d77325016bb024175c8c337 | {
"intermediate": 0.3680321276187897,
"beginner": 0.3587624430656433,
"expert": 0.2732054591178894
} |
6,472 | please remember my function to start working with | d6d76a9e98afb385f65e3e4af4c1374a | {
"intermediate": 0.363000750541687,
"beginner": 0.280300498008728,
"expert": 0.35669878125190735
} |
6,473 | Woher kommt die Blaue Farbe bei actionlabel?
Füge einen Border ganz ganz dünn ein, der nur um das bild geht und unten soll der rahmen nicht sein.
Wo passe ich den Abstand an?
import 'package:flutter/material.dart';
import 'package:patient_app/theme/patient_app_colors.dart';
import 'package:patient_app/theme/patient_ap... | a70289c61ef0e6a5381745399c38b265 | {
"intermediate": 0.40108752250671387,
"beginner": 0.478704571723938,
"expert": 0.12020791321992874
} |
6,474 | 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... | a08068e97d2a006bad8a3ff6bda14f1d | {
"intermediate": 0.37801146507263184,
"beginner": 0.38560304045677185,
"expert": 0.2363855093717575
} |
6,475 | <script>
var countdownDate = new Date("Oct 24, 2038 00:00:00").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countdownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))... | c43a643c632c68ae7a8e287e2a3b80b3 | {
"intermediate": 0.3525547981262207,
"beginner": 0.37145474553108215,
"expert": 0.27599039673805237
} |
6,476 | You are tasked with creating a consent banner in PowerShell. Your consent banner needs to contain:
The current date
The username of the current user
The machine name of the current machine
Finally, save off all PowerShell commands run by the user and do not alert the user to this behavior. | fa97203e926d709ae8ae29471934448f | {
"intermediate": 0.2797562777996063,
"beginner": 0.2184056043624878,
"expert": 0.5018381476402283
} |
6,477 | 3, Class optional <T> | c150297f054fc3d55da52bd404c2397c | {
"intermediate": 0.26505106687545776,
"beginner": 0.4827665090560913,
"expert": 0.25218239426612854
} |
6,478 | hello | 0e543567cc55793b6355fce950b61f0b | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
6,479 | Fix up my java code so that whatever value is selected in the combo boxes will be added to a variable "totales" and once the window "Receipt" pops up, it will show "totales" in the label "realtotal"import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
... | 37b46cee6a2575299de96e73c511679a | {
"intermediate": 0.29055070877075195,
"beginner": 0.4398254156112671,
"expert": 0.2696238160133362
} |
6,480 | hi | 951db34056b27658e7aa3ba25c2a57d1 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
6,481 | hey,can you make a whole undertale judgment day fan-game with random sanses and a lobby and a win system and a coin system and a kills system with working boss attacks? | 0b506c7d79118c6a64731aaa96223b3a | {
"intermediate": 0.33316728472709656,
"beginner": 0.3336654603481293,
"expert": 0.33316728472709656
} |
6,482 | please use shell to archieve the function: | cb4f8655eb274b1638da0b2edc4cd7cc | {
"intermediate": 0.28411149978637695,
"beginner": 0.46173563599586487,
"expert": 0.2541528642177582
} |
6,483 | I will provide you disassembly from a computer game that runs in MS-DOS. The game was written in C with a Watcom compiler. Some library function calls are already identified. Explain the functions I give to you and suggest names and C-language function signatures for them, including which parameters map to which regist... | 1c46f1a2248d6c4445bb644a2d5df02e | {
"intermediate": 0.4013757109642029,
"beginner": 0.3757094740867615,
"expert": 0.22291480004787445
} |
6,484 | SempTao | 543dd3957fd70ddd895ef947703a8e10 | {
"intermediate": 0.32216107845306396,
"beginner": 0.2650247812271118,
"expert": 0.4128141403198242
} |
6,485 | val canvasState = rememberTransformableState { scaleChange, offsetChange, _ ->
viewModel.onEvent(
EmulatorEvent.CanvasScaleChange(
scaleChange = scaleChange, offsetChange = offsetChange
)
)
}
how can i wrap it in... | 16ec5d0ef3b0638d32621cfab68e05ef | {
"intermediate": 0.45502862334251404,
"beginner": 0.23549415171146393,
"expert": 0.3094772696495056
} |
6,486 | contract FindSlot {
uint16 public tokenId;
address public admin;
uint128 public saleStart;
bool public saleStarted;
uint16 public totalSupply;
address [2] public buyers;
bytes32 private password;
bool public isPaused;
}
which slot is password stored?Start counting from slot 0.
Explain... | cc2dd9cde8334b218721ed5929ba8466 | {
"intermediate": 0.3994331359863281,
"beginner": 0.34247303009033203,
"expert": 0.2580937445163727
} |
6,487 | I have a wpfapplication made in c# with a usercontrol that has a Datagrid.This datagrid contain a column named "Date" where I want to show some datetime in a format "MM/dd/yyyy".Please, how to do it using xaml? | d9d3053bb05f44c73cf849eab017b87a | {
"intermediate": 0.7668270468711853,
"beginner": 0.13002042472362518,
"expert": 0.10315258055925369
} |
6,488 | I have this store:
import { configureStore } from '@reduxjs/toolkit';
import userReducer from './slices/userSlice';
export const store = configureStore({
reducer: {
user: userReducer
}
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
this slice... | 240e7233e63f175845059a79f21f7678 | {
"intermediate": 0.4000319242477417,
"beginner": 0.41181787848472595,
"expert": 0.18815027177333832
} |
6,489 | Create a higher order function that
accepts a function with three
parameters
• Create a method called mul3 which
takes 3 floating point numbers and
multiply them all
• Call that higher order function on that
mul3 method | 82d96ad2625c8df92b81b5004e2da5fe | {
"intermediate": 0.21852412819862366,
"beginner": 0.29293426871299744,
"expert": 0.4885416328907013
} |
6,491 | write expert system using swi-prolog language for drinks recommendation. Drinks properties must be dynamic. System must have explanation system and have a rule to list all drinks. | a2b39d80f0e6cb82bc7901859e3067e4 | {
"intermediate": 0.30945348739624023,
"beginner": 0.17495034635066986,
"expert": 0.5155962109565735
} |
6,492 | threshold cannot be resolved to a variable. Fix this. private void contrastImage() {
if (image != null) {
BufferedImage contrastStretchedImage = linearContrastStretch(image);
setImageIcon(contrastStretchedImage);
saveImage(contrastStretchedImage);
// Получение порогового значения
String thresholdString = JOptionPane... | 6af9e0f8f1dd35398346ea9525efbbb2 | {
"intermediate": 0.28901445865631104,
"beginner": 0.5019246339797974,
"expert": 0.20906086266040802
} |
6,493 | write a code to simulate molecular communication | 1287cd3c07bc28cfa0ba9c5b9bce6efb | {
"intermediate": 0.15662331879138947,
"beginner": 0.1030859425663948,
"expert": 0.7402907013893127
} |
6,494 | List<int> pickRandomInts(List<int> arr, int n, int seed) {
int current = seed;
Set<int> randomIndexes = Set();
while (randomIndexes.length < n) {
current = ((current * 0x41C64E6D) ^ current) >> 30; // use snippet to update current
int index = current % arr.length;
randomIndexes.add(index);
}
List<... | 028d2b09291b447743ed93e67c62de75 | {
"intermediate": 0.3302117586135864,
"beginner": 0.34816065430641174,
"expert": 0.3216276168823242
} |
6,495 | use creator engine write wave shader | 76b408f45b26c8afa5039016f1befcdb | {
"intermediate": 0.3412895202636719,
"beginner": 0.20708276331424713,
"expert": 0.4516277313232422
} |
6,496 | I will provide you disassembly from a computer game that runs in MS-DOS. The game was written in C with a Watcom compiler. Some library function calls are already identified. Explain the functions I give to you and suggest names and C-language function signatures for them, including which parameters map to which regist... | 4b3fa993e1460511a146efd2f2a4f3f0 | {
"intermediate": 0.4612676799297333,
"beginner": 0.3615630865097046,
"expert": 0.17716918885707855
} |
6,497 | List<int> pickRandomInts(List<int> arr, int n, int seed) {
int current = seed;
List<int> allIndexes = List.generate(arr.length, (index) => index);
_fisherYatesShuffle(allIndexes, current);
List<int> biggerIndexes = allIndexes.sublist(0, n);
current = seed;
Set<int> smallerIndexes = Set();
int maxAttempts ... | 7ee72773363080499cb622af2b516ddf | {
"intermediate": 0.37489837408065796,
"beginner": 0.26072657108306885,
"expert": 0.3643750846385956
} |
6,498 | Write a tutorial on how to make a prop_physics wheel constrained to a phys_motor rotate in sync with a phys_pulleyconstraintsystem constrained to two other prop_physics in the Valve Hammer Editor for the Source Engine. | 6723df14d115cb8d95bb14c50dfc0f6d | {
"intermediate": 0.3505725860595703,
"beginner": 0.17184804379940033,
"expert": 0.47757941484451294
} |
6,499 | Write an efficient c++ for loop that checks for all the possible moves of a piece one distance away its given pair of coordinates. The coordinates are class members of the piece. | 9152e73568d38232632f3c491ff9278a | {
"intermediate": 0.23664525151252747,
"beginner": 0.35312342643737793,
"expert": 0.41023123264312744
} |
6,500 | write code to dinamically disable rows in an antd table, if I select a row with the record.bank == "agricola" then diseable the selection for the rows with a different bank for example in react, the bank name can change in react | d24e96d068ada08592f79e2fe93ea273 | {
"intermediate": 0.4063624441623688,
"beginner": 0.07499034702777863,
"expert": 0.5186472535133362
} |
6,501 | given this c program:
#include <stdio.h>
#include <sys/mman.h>
#include <string.h>
#include <stdlib.h>
#define BUFSIZE 30
char grade = '3';
char Name[BUFSIZE];
void readString(char *s) {
char buf[BUFSIZE];
int i = 0;
int c;
while (1) {
c = fgetc(stdin);
if ((c == EOF) || (c == '\n'))
... | db67fc9895a030b628ac758421d3d0ab | {
"intermediate": 0.4146184027194977,
"beginner": 0.357759028673172,
"expert": 0.22762258350849152
} |
6,502 | an example code of scaling the total counts of parameters of a t5 model | 64b9a8c13d0591eab9ed6f2be6a8125d | {
"intermediate": 0.24642755091190338,
"beginner": 0.1764480471611023,
"expert": 0.5771244168281555
} |
6,503 | dart fold vs reduce | 8a64ff407da13a518d08fb83188363e3 | {
"intermediate": 0.23902733623981476,
"beginner": 0.1449214220046997,
"expert": 0.6160512566566467
} |
6,504 | in sql server, is there a way to get the entire chain of foreign keyed tables starting from a specific table? | 6da2a906dc9a268f510b43bfdb02284c | {
"intermediate": 0.4752955436706543,
"beginner": 0.26501375436782837,
"expert": 0.25969070196151733
} |
6,505 | I want to use the incomplete vba below to modify the part with it that states;
lastRow = wscf.Cells(Rows.Count, "J").End(xlUp).Row
Set copyRange = wscf.Range("J5:J" & lastRow) .
What I want is to copy the range from J5:J where the preceding value in column I of the same row is blank.
Dim wscf As Worksheet
Dim wsjr... | d4bbaea1f1a3fa871cc4f47542dbd9b9 | {
"intermediate": 0.4594227969646454,
"beginner": 0.3610384166240692,
"expert": 0.1795387715101242
} |
6,506 | Fixpoint sum_n_quartic (n : nat) : nat :=
match n with
O => 0
| S p => n*n*n*n + sum_n_quartic p
end.
Lemma prob4 : forall n : nat,
sum_n_quartic n * 30 + n * (n + 1) * (2 * n + 1) = n * (n + 1) * (2 * n + 1) * (3 * n * n + 3 * n).
Proof.
Abort. | 5a104cf189bc783bcdad890fd291fbbe | {
"intermediate": 0.420960009098053,
"beginner": 0.37270587682724,
"expert": 0.2063341587781906
} |
6,507 | Write a code for a four in line online game | e0e4940b89ee0163a55803c07aab45da | {
"intermediate": 0.22991767525672913,
"beginner": 0.3496610224246979,
"expert": 0.4204212725162506
} |
6,508 | I have a Kotlin app with a SQLite database and i have a function which returns all data from a table. I have a mutable list of these objects, and i want to read a query so that from every record, i construct an object and append it to the list. how would i go about doing that? | 30900889c05a44e22f2e0576c1f3f438 | {
"intermediate": 0.7521212697029114,
"beginner": 0.16636063158512115,
"expert": 0.08151809126138687
} |
6,509 | import telebot
# Токен бота
TOKEN = '6051752717:AAEU7VginJfplonKAFRGxPqtkaJDcVh98Bo'
# Список правил
RULES = [
'1. Не пить',
'2. Не курить',
'3. Не ругаться'
]
# Создаем объект бота
bot = telebot.TeleBot(TOKEN)
# Обработчик команды /start
@bot.message_handler(commands=['start'])
def start_handler(messag... | d6aece1211fa3a86ba3c9dfa56d574c0 | {
"intermediate": 0.2391107827425003,
"beginner": 0.6262074708938599,
"expert": 0.13468168675899506
} |
6,510 | I will provide you disassembly from a computer game that runs in MS-DOS. The game was written in C with a Watcom compiler. Some library function calls are already identified. Explain the functions I give to you and suggest names and C-language function signatures for them, including which parameters map to which regist... | 5ea81f8fae4f6a3235e34c46eeed7d74 | {
"intermediate": 0.39639192819595337,
"beginner": 0.42787814140319824,
"expert": 0.1757298856973648
} |
6,511 | Write a detailed explanation of the BASIC code provided below:
10 PRINT TAB(30);"SINE WAVE"
20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
30 PRINT: PRINT: PRINT: PRINT: PRINT
40 REMARKABLE PROGRAM BY DAVID AHL
50 B=0
100 REM START LONG LOOP
110 FOR T=0 TO 40 STEP .25
120 A=INT(26+25*SIN(T))
130 PRINT ... | 010500a1fad315360214b5a9c74b45ef | {
"intermediate": 0.08165398985147476,
"beginner": 0.8029370307922363,
"expert": 0.1154090166091919
} |
6,512 | Hello.
I have a python script that is taking data from the GTSRB dataset from https://www.kaggle.com/datasets/meowmeowmeowmeowmeow/gtsrb-german-traffic-sign .
I have this script attached that gets stuck at the end, after displaying the accuracy so it is not saving the .h5 model.
I need some help with that. | a57f2fd0c9ace439efd2cdde3209acd3 | {
"intermediate": 0.5334120392799377,
"beginner": 0.20106758177280426,
"expert": 0.2655204236507416
} |
6,513 | uniapp | 83a2f7e3965939485fab62fb8f7b300e | {
"intermediate": 0.33131301403045654,
"beginner": 0.29913631081581116,
"expert": 0.3695507049560547
} |
6,514 | make appropriate corrections of the code to make it work
def gamma_correct(pixel, gamma):
gamma_correction_factor = 1.0 / gamma
if pixel < 0:
return 0
elif pixel >= 0 and pixel < 0.04045:
return 0.0773993808049536 * pixel
else:
return (0.9478672985781991 * pixel + 0.052132701421... | a8477c75316e0927f2eca07a3fbb3750 | {
"intermediate": 0.3763231635093689,
"beginner": 0.20038358867168427,
"expert": 0.4232932925224304
} |
6,515 | can you provide me with anexmple of an advnced Python code that can perform
arbitrage between Uniswap V2, V3, SushiSwap, Curve running on the polygon network using Aave’s v3 flash loans and sample pyhton script
taht uses strtegys like tringlulr abritradge that uses real librarays | ee3aceace2d96907f7fb0cc019e4ad5a | {
"intermediate": 0.5294190049171448,
"beginner": 0.08320683985948563,
"expert": 0.3873741328716278
} |
6,516 | I have a table, represented by a table view in kotlin. i want to input data from a list into the table, so that every single value is represented by a separate row in the table. how can i do that? | c7fdb2c6373b84ffa41e650b4cfde174 | {
"intermediate": 0.5568503737449646,
"beginner": 0.1669996678829193,
"expert": 0.2761499583721161
} |
6,517 | Hi, I've implemented a Evader Node and a DQN model . I want you to go through the code and find all the mistakes I made . I'll mention some of the mistakes I made: Given the destination point, the car which starts at an intial point should make it's way by selecting the appropriate actions to make it all the way to fin... | 559308805b7a3ffe2bd05d3fb4ca3a3a | {
"intermediate": 0.3455352187156677,
"beginner": 0.42644432187080383,
"expert": 0.22802045941352844
} |
6,518 | addon.js
// ==UserScript==
// @name cytrus = kot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.margonem.pl
// @grant none
// ==/UserScript==
class Game {
constructor(){
this.ws = new ... | 2adfb3d7d381f768c443f534b88bf3b3 | {
"intermediate": 0.18338285386562347,
"beginner": 0.6297815442085266,
"expert": 0.18683558702468872
} |
6,519 | // Expression Action
expression: IDENTIFIER {
printf("Expression: %s\n", $1);
// Lookup the variable in the symbol table
void *var = SymbolTable_lookup($1);
// Return the result of the expression
return var;
}
| NUMBER {
printf("Expression: %d\n", $1);
// Return the result of the expression
return $1;... | d87c212a25e221bed1a40b22c1129a2f | {
"intermediate": 0.3580986559391022,
"beginner": 0.34999844431877136,
"expert": 0.29190292954444885
} |
6,520 | do linearized gamma correction of an image using python, using the below formulations
Note-> taking x as color pixel value of the image, gamma correction factor as 2.4
do all the below steps for the correction
1) gamma corrected image = - image (x), x<0
2) gamma corrected image = 0.0773993808049536 × image(x), 0 ≤ x <... | 6c3ccabacd722a7c7547b3c1ca118da2 | {
"intermediate": 0.37593135237693787,
"beginner": 0.22202610969543457,
"expert": 0.40204253792762756
} |
6,521 | <main className="page">
<Navigation {...{ aboutref, skillref, myworkref, blogref, contactref }} />
{scrolled && !isKeyboardOpen && (
<div className="page__upper" onClick={() => scrollToRef(aboutref)}>
<BsFillCaretUpFill className="icons" />
</div>
)}
<section>
<... | f2596cee54a2489684151d680ad4983b | {
"intermediate": 0.35213106870651245,
"beginner": 0.4207836389541626,
"expert": 0.22708533704280853
} |
6,522 | now, perform CAT (chromatic adaptation technique) to reduce the white regions. The white regions are reduced by the brightest pixel value in the gamma corrected image, and the pixel value is selected between 0.1 to 0.35. The Gray World algorithm estimates the illumination correction value
is based on the pixel value a... | 3e72945abc04bdfc609a5b5d3bcc4ad1 | {
"intermediate": 0.2446201592683792,
"beginner": 0.14033344388008118,
"expert": 0.6150464415550232
} |
6,523 | I need a react native expo page to capture a 45s video of myself with buttons to retake/save and small overlay to playback. It should have a text info prompt of what to record in the 45s which should fade when the recording starts and also reappear when the recording is completed or playback is available. | eed2708495cab9fc1189598e1ae97ff2 | {
"intermediate": 0.37177538871765137,
"beginner": 0.27498647570610046,
"expert": 0.35323819518089294
} |
6,524 | Inductive div3 : nat -> Prop :=
| div0 : div3 0
| divS : forall n : nat, div3_2 n -> div3 (S n)
with div3_1 : nat -> Prop :=
| div1 : div3_1 1
| div1S : forall n : nat, div3 n -> div3_1 (S n)
with div3_2 : nat -> Prop :=
| div2 : div3_2 2
| div2S : forall n : nat, div3_1 n -> div3_2 (S n).
Lemma prob8_helper: forall b... | 7906f12b386594184ef4ba2a18d5d86e | {
"intermediate": 0.3197310268878937,
"beginner": 0.31712883710861206,
"expert": 0.3631401062011719
} |
6,525 | generate front end for me lms | f39f596506c6323776eb0b2c97dbeb1e | {
"intermediate": 0.3510625660419464,
"beginner": 0.28778403997421265,
"expert": 0.36115342378616333
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.