row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
30,718
I have this comand to get order book : depth_data = client.depth(symbol=symbol) output looks like this : 'bids': [['237.66', '3.286'], ['237.65', '0.025'], ['237.63', '13.141'], ['237.62', '6.849'], ['237.61', '12.592'], ['237.60', '48.785'], ['237.59', '21.169'], ['237.58', '65.696'], ['237.57', '44.353'], ['237.56',...
38f22f54c542fbd178a2aed4a0f43fe8
{ "intermediate": 0.3433593213558197, "beginner": 0.4345093071460724, "expert": 0.2221314013004303 }
30,719
# Define the input array array = [[1], [2,3], [3], [2,4], [4], [1,4]] # Define the target set target = {1, 2, 3, 4} # Initialize an empty list to store the results results = [] # Loop through all possible combinations of array items from itertools import combinations for i in range(1, len(array) + 1): for combo in...
d6070273d7c44731d7f608925c872d80
{ "intermediate": 0.2944336235523224, "beginner": 0.2655481994152069, "expert": 0.4400181770324707 }
30,720
class BonusBox { constructor(id, bonus_id = null) { this.id = id; this.bonus_id = bonus_id; this.disappearing_time = 60000000; if (this.isRare()) this.disappearing_time = 30000; if (this.isSpecial()) this.disappearing_time = 10000000000; th...
c03dba28c83b6fd046bb3ad7a5013240
{ "intermediate": 0.3396104872226715, "beginner": 0.4646068811416626, "expert": 0.19578257203102112 }
30,721
# Define the input array array = [[1], [2,3], [3], [2,4], [4], [1,4]] # Define the target set target = {1, 2, 3, 4} # Initialize an empty list to store the results results = [] # Define a stack to store the combinations stack = [(0, [])] # Iterate through the stack until it is empty while stack: start, combo = ...
5b830d0d0d0bcc3349882f9badc78d02
{ "intermediate": 0.39364340901374817, "beginner": 0.1924566924571991, "expert": 0.41389989852905273 }
30,722
# Define the input dictionary dictionary = {'a': [1], 'b': [2, 3], 'c': [3], 'd': [2, 4], 'e': [4], 'f': [1, 4]} # Define the target set target = {1, 2, 3, 4} # Initialize an empty list to store the results results = [] # Initialize a variable to keep track of the minimum length of combinations found min_length = fl...
a17c7b9001e97ea54b42f9e7bfffb4d1
{ "intermediate": 0.3476741313934326, "beginner": 0.2935362160205841, "expert": 0.3587896525859833 }
30,723
def find_shortest_combinations(dictionary, target): results = [] min_length = float(‘inf’) stack = [(0, set(), [])] while stack: start, combo_set, combo = stack.pop() if combo_set == target: if len(combo) < min_length: results = [combo] min_l...
6ccaf2b5c90ed3e4b6b38da3ce12884f
{ "intermediate": 0.3551829159259796, "beginner": 0.2756154537200928, "expert": 0.3692016005516052 }
30,724
how can I open an image with PIL when all i have is the bytes of the image?
d3ecd8dff7451c977036acbad01306ed
{ "intermediate": 0.4257007837295532, "beginner": 0.1164301335811615, "expert": 0.45786911249160767 }
30,725
def find_shortest_combinations(dictionary, target): results = [] min_length = float(‘inf’) stack = [(0, set(), [])] while stack: start, combo_set, combo = stack.pop() if combo_set == target: if len(combo) < min_length: results = [combo] min_length = len(combo) elif len(combo) == min_length: results.append(combo) cont...
8c919b68839a8aa581746d7d4957f3f0
{ "intermediate": 0.3812621533870697, "beginner": 0.22466203570365906, "expert": 0.39407584071159363 }
30,726
Please provide the data in a matrix object (e.g., no data.frame object) 这是什么意思
d364126d46b3fbf7ceba376e757c26b4
{ "intermediate": 0.4299466609954834, "beginner": 0.21960914134979248, "expert": 0.3504441976547241 }
30,727
const { c, market_list, getType } = require("./server"); class GarageItem { static get(id, m = 1) { return new GarageItem(id, 0, m); } static fromJSON(data) { var item = new GarageItem(c(data.id), c(data.modificationID, 0), c(data.count, 0)); return item; } static getInfo...
14aa1fc08f87190fdd8e1b63668be946
{ "intermediate": 0.31071266531944275, "beginner": 0.4544334411621094, "expert": 0.23485387861728668 }
30,728
View(mydata) > p <- ncol(mydata) > mydata<-as.matrix(mydata) > fit_obj <- mgm(data = mydata, + type = rep('g', p), + level = rep(1, p), + lambdaSel = 'CV', + ruleReg = 'OR', + pbar = FALSE) Error in mgm(data = mydata, type = rep("g", p), level =...
3d55213730c8f126a5e8bdb72872710e
{ "intermediate": 0.2920495271682739, "beginner": 0.38079825043678284, "expert": 0.32715219259262085 }
30,729
const { c, market_list, getType } = require("./server"); class GarageItem { static get(id, m = 1) { return new GarageItem(id, 0, m); } static fromJSON(data) { var item = new GarageItem(c(data.id), c(data.modificationID, 0), c(data.count, 0)); return item; } static getInfo...
55373f724a2342a6de87873765492098
{ "intermediate": 0.31214746832847595, "beginner": 0.44890809059143066, "expert": 0.2389444261789322 }
30,730
dbparametercollection sqlite insert parameter values
d51c193e97a93ad2b3ee4b94cc37bb78
{ "intermediate": 0.3793148100376129, "beginner": 0.29220134019851685, "expert": 0.32848381996154785 }
30,731
for (var i in market_list) { if (market_list[i].discount !== 0) { market_list[i].price *= (100 - market_list[i].discount) / 100; market_list[i].next_price *= (100 - market_list[i].discount) / 100; } } if (sale !== 1) { for (var i in market_list) { if (isset(market_list[i].modification)) { ...
b1cb20aaa4b14c0d4ff2be4bfe8746dc
{ "intermediate": 0.3225756287574768, "beginner": 0.5674402117729187, "expert": 0.10998408496379852 }
30,732
I'm making a captcha solver, currently it doesnt do anything appart from scraping the images from the api semi manually. I wanna make this scraper an api and automate it. how can I do that? what is the best and fastest way in python?
f17893e5b8e5ba7c723f599e1156ece0
{ "intermediate": 0.6779086589813232, "beginner": 0.1235484778881073, "expert": 0.19854287803173065 }
30,733
const { c, market_list, getType } = require("./server"); class GarageItem { static get(id, m = 1) { return new GarageItem(id, 0, m); } static fromJSON(data) { var item = new GarageItem(c(data.id), c(data.modificationID, 0), c(data.count, 0)); return item; } static getInfo...
45ea7b760f313856a111ee73aebb1730
{ "intermediate": 0.269207239151001, "beginner": 0.48156172037124634, "expert": 0.24923108518123627 }
30,734
I am a scientist exploring user interactions with mobile phones. I am collecting a list of descriptors for photographs in user galleries. I need a list of strings with up to 5 words that describe common that cover common configurations and actions of people in photographs. For example: ["two men standing", "woman carr...
9ee1e4b45fa03f26c8e186fde9a073bb
{ "intermediate": 0.31552985310554504, "beginner": 0.30367690324783325, "expert": 0.38079318404197693 }
30,735
why do i see (m, ) as shape of array and not (m,1)?
087f52d7fa7ac34b0cf6ece1ba9abce3
{ "intermediate": 0.3593745231628418, "beginner": 0.35251349210739136, "expert": 0.28811195492744446 }
30,736
make python code to send thjis json data to 127.0.0.1/api/solve {"token": "18117969d7251bac4.0950712705"}
2d754585cc9223870c8f388218ffa6bc
{ "intermediate": 0.4190528392791748, "beginner": 0.2571331858634949, "expert": 0.32381391525268555 }
30,737
how can i make this retry in 0.5 seconds if it gets cloudflare ratelimited? def solve(token): payload = { 'token': token, 'sid': 'eu-west-1', 'render_type': 'canvas', 'lang': '', 'isAudioGame': False, 'analytics_tier': 40, 'apiBreakerVersion': 'green' } ...
5a076b94271d3e1b4d888e13864f302d
{ "intermediate": 0.42099228501319885, "beginner": 0.35554108023643494, "expert": 0.2234666347503662 }
30,738
// Decompiled by AS3 Sorcerer 6.78 // www.buraks.com/as3sorcerer //scpacker.server.models.bonus.ServerBonusModel package scpacker.server.models.bonus { import alternativa.tanks.model.bonus.BonusModel; import alternativa.service.IModelService; import alternativa.init.Main; import projects.tanks.client....
0567f927e2cf1169d75fd6f105d368c9
{ "intermediate": 0.3698389232158661, "beginner": 0.5037197470664978, "expert": 0.1264413297176361 }
30,739
make a pypeteer bot to go to octocaptcha.com, wait untill it gets a request to https://github-api.arkoselabs.com/fc/gfct/ gets sent from the browser, then from the data that the browser sends take the token value from the json and keep it as a var.
bb82421b27aad6d26e3ece2e0bec0402
{ "intermediate": 0.44059309363365173, "beginner": 0.24246080219745636, "expert": 0.3169460892677307 }
30,740
else if (data.args[0] == “show_news”) { parser = JSON.parse(data.args[1]); newsModel = Main.osgi.getService(INewsModel) as NewsModel; news = new Vector.<NewsItemServer>(); for each(news_item in parser) { news.push(new NewsItemServer(news_item.date,news_item.text,news_item.icon_id)); } newsModel.showNews(news); } переде...
736816064651639e33a4d4f13fc94611
{ "intermediate": 0.3374907970428467, "beginner": 0.44435280561447144, "expert": 0.21815639734268188 }
30,741
Hi! Can you teach me how to obsfuscate my Java Hello World using ProGuard?
6fd27e84f976d61dcc502195957d7b00
{ "intermediate": 0.5022940039634705, "beginner": 0.2906072437763214, "expert": 0.20709878206253052 }
30,742
Explain advanced C# ASP.NET concepts
de0bccffbe7138e51fceea84300f0f4e
{ "intermediate": 0.6419532895088196, "beginner": 0.29848456382751465, "expert": 0.059562161564826965 }
30,743
"Bitonic sorting" 1. Generate array A. The array size must not be a multiple of 16. 2. Implement sequential and parallel algorithms for bitonic sorting of array A. Set the number of blocks and threads yourself. Write the original and sorted arrays to a file. 3. Compare the execution time of parallel and sequential algo...
34b1788ce679b3c65792273328204377
{ "intermediate": 0.16145126521587372, "beginner": 0.11880364269018173, "expert": 0.7197450399398804 }
30,744
hi
772f46affa9e7660e38e4df0857f5031
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
30,745
struct Task: Identifiable { var text: String var id = UUID() } struct ContentView: View { @State var task = "" @State var tasks = [Task(text: self.task)] Cannot find 'self' in scope; did you mean to use it in a type or extension context?
b9215f5a29835aa6082b0060909bc18d
{ "intermediate": 0.46208900213241577, "beginner": 0.3701310157775879, "expert": 0.16777995228767395 }
30,746
make a sql statement that identifies all emails in a base using regex
8994385f411e234d291ade83493c6179
{ "intermediate": 0.4462466239929199, "beginner": 0.20143559575080872, "expert": 0.35231781005859375 }
30,747
const { market_list, shop_data } = require("./server"); const NewsItemServer = require("./NewsItemServer.js"); const newsArray = [ new NewsItemServer("2023-11-11", "Новость 1"), new NewsItemServer("2023-11-11", "Новость 2"), new NewsItemServer("2023-11-11", "Новость 3"), new NewsItem...
bb21d5951a2756a6430e1e058ee3d350
{ "intermediate": 0.3428213596343994, "beginner": 0.43095964193344116, "expert": 0.22621898353099823 }
30,748
if let index = tasks.firstIndex(of: item) { tasks.remove(at: index) } Referencing instance method 'firstIndex(of:)' on 'Collection' requires that 'Task' conform to 'Equatable'
9d12d0cce55930c2d9528c58522412c6
{ "intermediate": 0.40058431029319763, "beginner": 0.3462381958961487, "expert": 0.2531774938106537 }
30,749
import SwiftUI struct Task: Identifiable { var text: String var id = UUID() } struct ContentView: View { @State var task = "" @State var tasks: [Task] = [] func add() { if !task.isEmpty { tasks.append(Task(text: task)) task = "" } } var body: some ...
7385f39dd1569f4d789dc64be444ac35
{ "intermediate": 0.38579314947128296, "beginner": 0.26021528244018555, "expert": 0.3539915382862091 }
30,750
private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.layer == LayerMask.NameToLayer("Barrel")) { if (marioDeath != null) { Instantiate(marioDeath, transform.position, transform.rotation, null); } currentHeal...
46eabe20ca98b8312bba857c5df5af5f
{ "intermediate": 0.35105806589126587, "beginner": 0.35025152564048767, "expert": 0.2986903786659241 }
30,751
const { market_list, shop_data } = require("./server"); const NewsItemServer = require("./NewsItemServer.js"); const newsArray = [ new NewsItemServer("2023-11-11", "Новость 1"), new NewsItemServer("2023-11-11", "Новость 2"), new NewsItemServer("2023-11-11", "Новость 3"), new NewsItem...
6d89eb39907d16169f0e9583508677b7
{ "intermediate": 0.28850850462913513, "beginner": 0.4063577651977539, "expert": 0.30513373017311096 }
30,752
import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.Inventor...
940446c803351a64092273faafd38ed3
{ "intermediate": 0.3566626310348511, "beginner": 0.463386595249176, "expert": 0.1799507588148117 }
30,753
import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.Inventor...
4c2ed4f08225808dc2ca32e0a43d9712
{ "intermediate": 0.28867748379707336, "beginner": 0.5273539423942566, "expert": 0.18396858870983124 }
30,754
import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.Inventor...
3321b829ba36011bc9f0ae86e6910c73
{ "intermediate": 0.28867748379707336, "beginner": 0.5273539423942566, "expert": 0.18396858870983124 }
30,755
import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.Inventor...
1f38851e911ec94c8e243794a3db0a74
{ "intermediate": 0.28867748379707336, "beginner": 0.5273539423942566, "expert": 0.18396858870983124 }
30,756
const newsArray = [ new NewsItemServer("2023-11-11", "Новость 1"), new NewsItemServer("2023-11-11", "Новость 2"), new NewsItemServer("2023-11-11", "Новость 3"), new NewsItemServer("2023-11-11", "Новость 4"), new NewsItemServer("2023-11-11", "Новость 5") ]; const Area = require("./Area.js"), { ...
f2160fe99146189076047ca04db78c84
{ "intermediate": 0.27283549308776855, "beginner": 0.44217902421951294, "expert": 0.2849855124950409 }
30,757
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BarrelController : MonoBehaviour { private bool canPhase = true; private Rigidbody2D rb; public float speed = 1f; private void Awake() { rb = GetComponent<Rigidbody2D>(); } private void Upd...
4e2f100313f4eab1816df244fbd8e555
{ "intermediate": 0.41474097967147827, "beginner": 0.317890465259552, "expert": 0.2673685550689697 }
30,758
import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.Inventor...
e8b3b79b65bbdafa66ad4bd907a71ba1
{ "intermediate": 0.28867748379707336, "beginner": 0.5273539423942566, "expert": 0.18396858870983124 }
30,759
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>foleo...
6716d29f7be027fce6dbd0e6faada4a5
{ "intermediate": 0.32363399863243103, "beginner": 0.5443893074989319, "expert": 0.13197673857212067 }
30,760
Write a C++ program. Initialize a 2d array (3x10) when declaring as follows: {{1,2,3,4,5,1,2,3,4,5},{1,0,1,0,1,0,1,0,1,0},{5,4,3,2,1,5,4,3,2,1}}. Use a function to print it. Rows and columns are const values
5cf721e98eb9cd982eb72e469cf46c9b
{ "intermediate": 0.17672786116600037, "beginner": 0.6612570881843567, "expert": 0.16201506555080414 }
30,761
Write a class StringLength.java with a class method stringLength() that takes a String as parameter and returns the length of your string with the following return value: “Your string is <length of the String> characters long” (Hint: <length of the String> to be replaced with the actual length of the string). Use an in...
d9cce4b604d80ec2721bbe80662ccd2c
{ "intermediate": 0.3181852698326111, "beginner": 0.5166362524032593, "expert": 0.16517852246761322 }
30,762
const fs = require(‘file-system’); const convert = require(‘xml-js’), md5 = require(“md5-hex”); const { battle_items, maps, isset, search } = require(“./server”); class Map { constructor(map_id) { var found = true; for (var i in battle_items) { if (battle_items[i].id === map_id) found = battle_items[i]; } if (found ==...
5f7d3271a9727be81fb1d3124d7d5d26
{ "intermediate": 0.30967977643013, "beginner": 0.5348944067955017, "expert": 0.1554258167743683 }
30,763
Fix my C++ code. #include <iostream> const int ROWS = 3; const int COLS = 10; void printArray(const int* arr, int rows, int cols) { const int (a)[cols] = reinterpret_cast<const int ()[cols]>(arr); for (int i = 0; i < rows; i++) { for (int j = 0; j < cols; j++) { std::cout << a[i][j] << "...
5f764a02b0230ac5b6a8b346475992a6
{ "intermediate": 0.3235359191894531, "beginner": 0.48521605134010315, "expert": 0.1912480741739273 }
30,764
using puppeteer make a bot that in a loop goes to https://octocaptcha.com/, waits for an element with id FunCaptcha-Token, then gets the value. that value you split by a vertical bar "|" and save the first element.
2a0d7faa1099363339127c907ab5428f
{ "intermediate": 0.3715602159500122, "beginner": 0.25916609168052673, "expert": 0.36927369236946106 }
30,765
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MarioController : MonoBehaviour { public float moveSpeed = 5f; public float jumpForce = 5f; public float ladderClimbSpeed = 2f; public int maxHealth = 3; private int curren...
c157c6dfa17279782b70700ddc083d52
{ "intermediate": 0.27622413635253906, "beginner": 0.5579745769500732, "expert": 0.1658012419939041 }
30,766
import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; import java.util.List; public class ClanPlugin extends...
de9ed98703db40f55d82777d7a9b7176
{ "intermediate": 0.2992398738861084, "beginner": 0.5419837832450867, "expert": 0.15877629816532135 }
30,767
import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; import java.util.List; public class ClanPlugin extends...
f87840d620e3ec175a65749c7bb0a53f
{ "intermediate": 0.2992398738861084, "beginner": 0.5419837832450867, "expert": 0.15877629816532135 }
30,768
import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; import java.util.List; public class ClanPlugin extends...
c0fe7625f3537d652a0017a6b2e8668d
{ "intermediate": 0.2992398738861084, "beginner": 0.5419837832450867, "expert": 0.15877629816532135 }
30,769
package foleon.mmsoclans; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; import java.util.List; impo...
b7b83016f7432e36dfd733bcb6d401b0
{ "intermediate": 0.22131870687007904, "beginner": 0.5924615263938904, "expert": 0.18621979653835297 }
30,770
package foleon.mmsoclans; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; import java.util.List; impo...
8e5116f0d6213ddb5dc3d46765f69c38
{ "intermediate": 0.30792585015296936, "beginner": 0.46519413590431213, "expert": 0.2268800288438797 }
30,771
hi
ab1c2e67e489f568039164f1c40cefc7
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
30,772
Act as a web developer. Use javascript language to create an east Africa map with MGRS coordinates. The map should be in a shapefile file format.
79383266e8e45b17f0e31723b0db2c2a
{ "intermediate": 0.38489866256713867, "beginner": 0.2622855603694916, "expert": 0.35281580686569214 }
30,773
package alternativa.tanks.model.gift.server { public class GiftServerItem { public var id:String; public var rare:int; public var count:int; public function GiftServerItem(id:String, rare:int, count:int) { super(); this.id = id; this.rare = rare; this.count = count; } } } у меня есть приложение на as 3.0 вот кусок...
2bce5092bf4e4ebe3302c18ccde05a3c
{ "intermediate": 0.31870216131210327, "beginner": 0.5509406328201294, "expert": 0.13035723567008972 }
30,774
write a script for a FireBall game object where it follows the player (player is set to player layer)
b8726637d816cb1cf24bd580cae1b4b9
{ "intermediate": 0.35286951065063477, "beginner": 0.15421800315380096, "expert": 0.4929124712944031 }
30,775
write program on c++ which generates and prints composition of number using combinations without recursion with limit of summand quantity. Example1: n=3, k=2; compositions: {1,2}{2,1}. Example2: n=3, k=3; compositions: {1,1,1}. Example3: n=3, k=1; compositions: {3}.
09a8f9c2cae252148a76f2ffc0727efa
{ "intermediate": 0.5274251103401184, "beginner": 0.17998862266540527, "expert": 0.29258623719215393 }
30,776
I used this code : def signal_generator(df): if df is None or len(df) < 2: return '' signal = [] final_signal = [] # Retrieve depth data th = 0.35 depth_data = client.depth(symbol=symbol) bids = depth_data['bids'] buy_qty = sum(float(bid[1]) for bid in bids) bids =...
da07a1f2e9f45df2cb3362fae1cee04c
{ "intermediate": 0.3007917106151581, "beginner": 0.4843057692050934, "expert": 0.21490249037742615 }
30,777
const TeamBattle = require("./TeamBattle"), { isset, oppositeTeam, getTankByName } = require("./server"); const { Tank } = require("./Tank"); class DOMBattle extends TeamBattle { constructor(system, name, map_id, time, max_people, min_rank, max_rank, limit, bonuses = true, autobalance = true, friendlyFire = fa...
9469034b0e380980d5623cacbeb536cd
{ "intermediate": 0.3363422751426697, "beginner": 0.44106435775756836, "expert": 0.22259336709976196 }
30,778
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireBall : MonoBehaviour { public Transform player; public LayerMask platformLayer; public float speed = 5f; private Rigidbody2D rb2d; private new Collider2D collider; private bool grounded; private...
fa886f154f44b45b0bfba4d439a5cebf
{ "intermediate": 0.42639443278312683, "beginner": 0.2438284456729889, "expert": 0.3297771215438843 }
30,779
const TeamBattle = require("./TeamBattle"), { isset, oppositeTeam, getTankByName } = require("./server"); const { Tank } = require("./Tank"); class DOMBattle extends TeamBattle { constructor(system, name, map_id, time, max_people, min_rank, max_rank, limit, bonuses = true, autobalance = true, friendlyFire = false,...
bad7888913ba85babee905280a86748a
{ "intermediate": 0.30061110854148865, "beginner": 0.41679322719573975, "expert": 0.2825956344604492 }
30,780
Create a C# script for unity that makes it so the fireball layer is more important that the platform layer
4a377787d40ba5e508e6111f7c390a33
{ "intermediate": 0.3280499577522278, "beginner": 0.1981395035982132, "expert": 0.4738105237483978 }
30,781
python code using BiLSTM encoder and decoder rnn to translate English text to Arabic text using train, validate and test data from text files ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and evaluate the model using test data
c9a1ae11933970737af0e91078ddbe14
{ "intermediate": 0.3986051082611084, "beginner": 0.07826212048530579, "expert": 0.5231328010559082 }
30,782
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MarioController : MonoBehaviour { public float moveSpeed = 5f; public float jumpForce = 5f; public float ladderClimbSpeed = 2f; public int maxHealth = 3; private int curren...
afd959594bc918dfef179d5f82bc7dda
{ "intermediate": 0.3256596028804779, "beginner": 0.49874526262283325, "expert": 0.17559511959552765 }
30,783
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MarioController : MonoBehaviour { public float moveSpeed = 5f; public float jumpForce = 5f; public float ladderClimbSpeed = 2f; public int maxHealth = 3; private int curren...
6694b679a4f04c00fe9ff51f831ce4eb
{ "intermediate": 0.3256596028804779, "beginner": 0.49874526262283325, "expert": 0.17559511959552765 }
30,784
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MarioController : MonoBehaviour { public float moveSpeed = 5f; public float jumpForce = 5f; public float ladderClimbSpeed = 2f; public int maxHealth = 3; private int curren...
fa1a6a489d64a3957423340ad2b636e4
{ "intermediate": 0.3305259943008423, "beginner": 0.5186988711357117, "expert": 0.15077513456344604 }
30,785
Python code that uses a BiLSTM Encoder and Decoder RNN to translate English text to Arabic text. It splits the data into training, validation data from text files, tokenizes the sentences, converts them into numerical representations, pads or truncates the sentences to a fixed length, and evaluates the model using the ...
57886d733d09a47abc218351965bbf0d
{ "intermediate": 0.20562222599983215, "beginner": 0.06489387899637222, "expert": 0.7294839024543762 }
30,786
hi
f82b4568db198833556c9aa95b6602b7
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
30,787
Draw an orange cat.
3ed64e1cdb4366f01c5a69716a7a3a97
{ "intermediate": 0.3975259065628052, "beginner": 0.3908403813838959, "expert": 0.21163368225097656 }
30,788
groovy match Keelly.Chen == 作者 == Kelly.Chen ==
77ffe869479513dc04ca567829e9ee00
{ "intermediate": 0.3224087357521057, "beginner": 0.2953369617462158, "expert": 0.38225436210632324 }
30,789
convert this go program to python package websites package websites import ( "context" "encoding/json" "errors" "fmt" "io/ioutil" "net/http" "net/url" "time" "github.com/golang/time/rate" // Correct the import path ) type Nike struct { Authorization string limiter *rate.Limiter...
04952d42b37310f80aadcf5b6a29714c
{ "intermediate": 0.34528085589408875, "beginner": 0.4244340658187866, "expert": 0.23028509318828583 }
30,790
Why the following error? ERROR: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 160, in startup server = await loop.create_server( File "/usr/lib/python3.10/asyncio/base_events.py", line 1519, in create_server raise OSError(err.errno, 'error whil...
54aa0b435ebdfa6b8c7e4043c71d2028
{ "intermediate": 0.3252735733985901, "beginner": 0.4187793731689453, "expert": 0.255947083234787 }
30,791
#include<reg52.h> typedef unsigned char uchar; typedef unsigned int uint; //按键定义 sbit key_stop = P1 ^ 0; sbit key_star = P1 ^ 1; sbit key_fmq = P1 ^ 7; //0~9的十六进制数码 uchar code seg[10] = { 0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0x80, 0x90 }; // 0~9 //秒、分、时标志 uchar miao = 0, fen = 0, shi = 0; //秒、分、时高位低位 u...
0f27a418aba270b2ba6e6f249deb7ff7
{ "intermediate": 0.4141353964805603, "beginner": 0.4585115909576416, "expert": 0.12735296785831451 }
30,792
Why the following error in the code below? ERROR: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 160, in startup server = await loop.create_server( File "/usr/lib/python3.10/asyncio/base_events.py", line 1519, in create_server raise OSError(err....
5a3c5542e7386f300382be2090503093
{ "intermediate": 0.4181337356567383, "beginner": 0.3903929889202118, "expert": 0.19147330522537231 }
30,793
как в следующий код добавить отрисовку квадрата: override fun onSurfaceCreated(gl: GL10?, config: javax.microedition.khronos.egl.EGLConfig?) { val options = BitmapFactory.Options() options.inScaled = false val stream = c.resources.openRawResource(R.drawable.water1) val bitmap = BitmapFa...
4ec395ce149048a38c8e76d423127260
{ "intermediate": 0.30054551362991333, "beginner": 0.4202602207660675, "expert": 0.27919426560401917 }
30,794
How can I write a VBA code to disable all events in all the workbook sheets and also the code to enable all events
58c6ae2899b5dbed2c4a8250cbd8c225
{ "intermediate": 0.387021541595459, "beginner": 0.18359002470970154, "expert": 0.4293884038925171 }
30,795
jenkins robotframework test result template with tags
4c8b1b7f835012fb48e5b505d8ce0f4e
{ "intermediate": 0.3606518805027008, "beginner": 0.2553800344467163, "expert": 0.38396814465522766 }
30,796
Write a python function for the Bayesian Rating Estimate taking as parameters: p the observed probability of success, n the sample size of the observation, prior_p the prior probability, and prior_n the prior weight.
897dac9f243bc03ae5441467a9923980
{ "intermediate": 0.2200678437948227, "beginner": 0.15550217032432556, "expert": 0.6244299411773682 }
30,797
jenkins robotframework test result template with tags examples
4a9e8239e6adb8aab4891645ea2ba005
{ "intermediate": 0.3765410780906677, "beginner": 0.2989896535873413, "expert": 0.32446926832199097 }
30,798
Write a fully functional a python script, via Terminal on a Mac. The script monitors all Futures Trading Pairs (USDT Only) on Binance via Webhooks API and saves: 1) the top 10 Trading Pairs with the following conditions: Mark Price is above current Week's Opening Price. 2) and the top 10 trading pairs with the fo...
3db2b73301e7e356e145d10744dab27a
{ "intermediate": 0.5282464027404785, "beginner": 0.24059300124645233, "expert": 0.23116059601306915 }
30,799
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...
1f86379a69bb29cc46bc969c64107133
{ "intermediate": 0.3236824870109558, "beginner": 0.5912299752235413, "expert": 0.08508753031492233 }
30,800
<div id="nav"> <div id="nav-follow"> <div id="nav-l"> <a href="#">学生</a> <a href="#">教职工</a> <a href="#">未来学生</a> <a href="#">校友校董</a> <a href="#">招聘</a> </div> <div id="nav-r"> <...
c470df19fcaa5820316a1d2f82f3be4c
{ "intermediate": 0.3487818241119385, "beginner": 0.4840119779109955, "expert": 0.16720621287822723 }
30,801
package gtanks.users.garage; import gtanks.users.garage.enums.ItemType; import gtanks.users.garage.items.Item; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.pers...
58eb4f5b45fed03066618c4935e3dc12
{ "intermediate": 0.3744754493236542, "beginner": 0.45721152424812317, "expert": 0.16831305623054504 }
30,802
ackage gtanks.users.garage; import gtanks.users.garage.enums.ItemType; import gtanks.users.garage.items.Item; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persi...
85ae010ee0ac176eae8ed35e3e3a2ca5
{ "intermediate": 0.35364770889282227, "beginner": 0.44895875453948975, "expert": 0.19739355146884918 }
30,803
The n consecutive integers from 1 to n are written in a row. Design an algorithm that puts signs ”+” and ”–” in front of them so that the expression obtained is equal to 0 (e.g. 1 + 2 + 3 + 4 − 5 + 6 − 7 + 8 − 9 + 10 − 11 + 12 − 13 + 14 − 15 = 0) or, if the task is impossible to do, returns the message ”no solution.” Y...
eaf52ee7b6e4a595e0e2f2e6f134bca3
{ "intermediate": 0.15117612481117249, "beginner": 0.1270122230052948, "expert": 0.7218116521835327 }
30,804
I used this code: df = client.depth(symbol=symbol) def signal_generator(df): if df is None or len(df) < 2: return '' signal = [] final_signal = [] # Retrieve depth data th = 0.35 depth_data = client.depth(symbol=symbol) bids = depth_data['bids'] buy_qty = sum(float(b...
95f7e5ebd0d8b3abca56dd9baea6de2e
{ "intermediate": 0.2985473573207855, "beginner": 0.5268021821975708, "expert": 0.1746504008769989 }
30,805
Write a program that takes a list of two lists of the same length and prints a vector sum of these two lists. All the elements are integers. Example input: [ [1, 2, 3], [7, 8, 9] ] Corresponding output: [8, 10, 12]
ada3edbdab7ea4031fc0fcda9c51435a
{ "intermediate": 0.3449387550354004, "beginner": 0.2426178902387619, "expert": 0.4124433398246765 }
30,806
> mydata<-mydata1[, c("ISII1", "ISII2", "ISII3","ISII4","ISII5","ISII6","ISII7")] > > #根据自己的数据给每列值赋予名称 > myname<-c("LT","LE","ST","SE","PMS1","PMS2","PMS3","SIS1","SIS2","SIS3","PPC1", + "PPC2","PPC3","PPC4","PSSS1","PSSS2","PSSS3","CPSS1","CPSS2") > colnames(mydata)<-myname > mydata.frame<-myname > > #根据每列...
d5ae530529bc66bb5ab2febaccc314b6
{ "intermediate": 0.3539278209209442, "beginner": 0.44487088918685913, "expert": 0.20120126008987427 }
30,807
c++ how to search middle element in single linked list
81e90ba0331774a59ae8c29878ee47ea
{ "intermediate": 0.29399681091308594, "beginner": 0.1719372719526291, "expert": 0.534065842628479 }
30,808
I used your code: client = UMFutures(key = api_key, secret = api_secret) df = client.depth(symbol=symbol) def signal_generator(df): if df is None or len(df) < 2: return '' signal = [] final_signal = [] # Retrieve depth data th = 0.35 depth_data = client.depth(symbol=symbol) ...
efdbfb26f6bac4ae7e8bf8ea1d48bc00
{ "intermediate": 0.2917904257774353, "beginner": 0.45955008268356323, "expert": 0.24865947663784027 }
30,809
Hi, please be a senior software developer. Here is the task. The app aims to let the user record daily time sheet. However, now the request is to let the user to edit the whole month time entries they recorded. The previous algorithm is to divid the user inputed hours evenly for each day and then record them. For norma...
2864d04903f1d6a5c64c9c00468a368e
{ "intermediate": 0.280168741941452, "beginner": 0.22728390991687775, "expert": 0.49254733324050903 }
30,810
源代码如下:function varargout = Garbage_sorting(varargin) % GARBAGE_SORTING MATLAB code for Garbage_sorting.fig % GARBAGE_SORTING, by itself, creates a new GARBAGE_SORTING or raises the existing % singleton*. % % H = GARBAGE_SORTING returns the handle to a new GARBAGE_SORTING or the handle to % the exist...
a29bfa3cb615dc86a40f3c91a40b777b
{ "intermediate": 0.3572176694869995, "beginner": 0.39839914441108704, "expert": 0.24438318610191345 }
30,811
Hi, please be a senior software developer. Here is the task. The app aims to let the user record daily time sheet. However, now the request is to let the user to edit the whole month time entries they recorded. The previous algorithm is to divid the user inputed hours evenly for each day and then record them. For norma...
86e4ad45839cc005eefd8e1cc1e6d288
{ "intermediate": 0.279763400554657, "beginner": 0.2088395208120346, "expert": 0.5113970637321472 }
30,812
LogPlayLevel: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:) LogPlayLevel: Making .apk with Gradle... LogPlayLevel: To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.h...
c01267331f95a2ff7f62f5e05e42958c
{ "intermediate": 0.3671914041042328, "beginner": 0.3843908905982971, "expert": 0.2484176754951477 }
30,813
lets say theres x ammount of apples in a basket, each has a unique identifier. you are given apples completely randomly one after annother and you write down all the ids every time you get a new apple you haven't seen, then you put it back in the basket. you keep no apples but put hem all back in the basket for them to...
ca4ecdc1563e9bb3420df53ed93ae554
{ "intermediate": 0.3594104051589966, "beginner": 0.2114783525466919, "expert": 0.42911118268966675 }
30,814
CREATE TABLE `category` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', `parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '父级主键', `category_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '分类名称', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT...
93079508319ca73d6c2d3f93c7f83fde
{ "intermediate": 0.2024221271276474, "beginner": 0.5985426902770996, "expert": 0.19903519749641418 }
30,815
Give me simple five questions and answers in which do while loop is used in C++ for beginners
3d4fb6740800799ee4dd4422c349bb12
{ "intermediate": 0.148848757147789, "beginner": 0.7154315114021301, "expert": 0.13571973145008087 }
30,816
i have several hud elements in minetest game, how to align text right? table.insert(huds, user:hud_add({ hud_elem_type = "text", position = {x = 0.5, y = 0}, offset = {x = 0, y = 23 + (i - 1) * 18}, text = "Craft wood 1/10", --text or name, alignment = {x = 0, y = 1}, scale = {x = 100, y = 100}, number = color or 0xFF...
bbd9326549f758f2e19a440fe03006b4
{ "intermediate": 0.42172950506210327, "beginner": 0.32059288024902344, "expert": 0.2576775848865509 }
30,817
You are a professional and experienced developmental editor, adept in character creation and plotting. Review the provided character profiles and give me recommendations how to make them better, what details to include or remove as wasteful, how to deepen them and make more complex. <mainCharacters> <character name=...
ec6c4558b716ecfbe4cb028782459f67
{ "intermediate": 0.32456693053245544, "beginner": 0.3638724386692047, "expert": 0.31156060099601746 }