row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
31,721 | Generate me a shooting game on Scratch | 5ae77a6ac2fd4e16eb02390b240357e0 | {
"intermediate": 0.32303953170776367,
"beginner": 0.4134816825389862,
"expert": 0.2634787857532501
} |
31,722 | give me the html, javascript and css for a date slider control for the years 1860 to 1900. The control progress in 5 year stages. The control should have 'play' and 'pause' controls to progress along the control. | ba28f3a9ecff6dea0028a7e0a307a74a | {
"intermediate": 0.5229098200798035,
"beginner": 0.18320995569229126,
"expert": 0.2938802242279053
} |
31,723 | Vx’ = 𝛽*w/m*pVx0/sqrt[𝑝𝑉𝑥₀^2 + (−𝑝𝑦₀𝑡 + 𝑝𝑉𝑦₀)^2],
Vy’ = 𝛽*w/m*pVy0/sqrt[𝑝𝑉𝑥₀^2 + (−𝑝𝑦₀𝑡 + 𝑝𝑉𝑦₀)^2]-gc
x’= Vx,
y’=Vy,
m’=-𝛽,
pm’= 𝛽*w/m*sqrt[𝑝𝑉𝑥₀^2 + (−𝑝𝑦₀𝑡 + 𝑝𝑉𝑦₀)^2],求解微分方程组,Matlab程序 | 5eda7b8a178d3e92ceaa0f46741e9bab | {
"intermediate": 0.3530195355415344,
"beginner": 0.2878546714782715,
"expert": 0.3591257929801941
} |
31,724 | I have this code:
print(client.get_account_trades(symbol=symbol))
And it returning me them : [{'symbol': 'BCHUSDT', 'id': 619335915, 'orderId': 24392236068, 'side': 'BUY', 'price': '231.51', 'qty': '0.108', 'realizedPnl': '0', 'marginAsset': 'USDT', 'quoteQty': '25.00308', 'commission': '0.01250154', 'commissionAsset... | 3b9973031303e921aed98bbbbdb9595f | {
"intermediate": 0.3552154004573822,
"beginner": 0.347830593585968,
"expert": 0.2969540059566498
} |
31,725 | Write a program that takes a protein sequence and returns a list of all tryptic peptides. Keep the initial order of pieces in protein sequence use function def trypsin(seq)
Hints:
Protein sequence is always a string over ['A','C','D','E','F','G','H','I','K','L','M','N','P','Q','R','S','T','V','W','Y'] alphabet
Trypsi... | 317da68928bc263e97d8063f511cc773 | {
"intermediate": 0.31462985277175903,
"beginner": 0.2764661908149719,
"expert": 0.40890398621559143
} |
31,726 | I have this code:
active_signal = None
buy_entry_price = None
sell_entry_price = None
import binance
def calculate_percentage_difference_buy(entry_price, exit_price):
result = exit_price - entry_price
price_result = entry_price / 100
final_result = result / price_result
result = final_result * 40
... | f6f6b8edd9a2da7c11115aa715678268 | {
"intermediate": 0.3281119763851166,
"beginner": 0.5426822900772095,
"expert": 0.12920574843883514
} |
31,727 | suivant cette fonction la variable d'état "currentWord" a été modifiée pour faire partie de la structure "Wor"d et du mapping "gameWord" : "mapping(uint256 => Word) public gameWord;". depuis 2 assert ne passe plus dans mon test "assert.isTrue(currentWord.length > 0, "Le mot avant l’appel de la fonction ne devrait pas ê... | 6acfbf04d581c1c1f76020722753d8e0 | {
"intermediate": 0.3746037781238556,
"beginner": 0.41774484515190125,
"expert": 0.20765140652656555
} |
31,728 | package gtanks.battles.tanks.weapons.frezee.effects;
import gtanks.battles.BattlefieldModel;
import gtanks.battles.tanks.Tank;
import gtanks.battles.tanks.weapons.effects.IEffect;
import gtanks.commands.Type;
import gtanks.json.JSONUtils;
public class FrezeeEffectModel implements IEffect {
private static final flo... | 951bca7bb2b130c5577ce00fbb769cc0 | {
"intermediate": 0.32473024725914,
"beginner": 0.38772767782211304,
"expert": 0.28754207491874695
} |
31,729 | File "/home/jdoodle.py", line 14
elif num == 2:
^
SyntaxError: invalid syntax | eb6ae96d4056e320407bf5ac5ba313fe | {
"intermediate": 0.2497384250164032,
"beginner": 0.5754473805427551,
"expert": 0.1748141050338745
} |
31,730 | import sys
from PyQt6.QtWidgets import QApplication, QWidget, QVBoxLayout, QLabel, QLineEdit, QPushButton, QComboBox, QRadioButton, QGroupBox
from PyQt6.QtCore import QThread, pyqtSignal
from pytube import YouTube
class Downloader(QThread):
finished = pyqtSignal()
def __init__(self, url, format, resolution, a... | aba31d78cceb82e5b25914b307f4dd1a | {
"intermediate": 0.29230251908302307,
"beginner": 0.6013793349266052,
"expert": 0.1063181534409523
} |
31,731 | go: module . listed in go.work file requires go >= 1.21, but go.work lists go 1.19; to update it:
go work use | 4c3ec93ef96faba87344bf2ee917be5d | {
"intermediate": 0.33973848819732666,
"beginner": 0.3386966586112976,
"expert": 0.32156485319137573
} |
31,732 | У меня есть файл, в котором содержатся столбцы в таком виде: a1 b1 c1 d1 … x1. Количество столбцов не фиксировано. Мне нужна функция, которая бы получала на вход номер столбца ‘n_col’ и некоторое число ‘val’. Функция должна искать в столбце с номером n_col число val, и если значение в столбце меньше, чем val, то удаляе... | 07bbcaa1e432ca4191bd546ebc40b7c9 | {
"intermediate": 0.27133727073669434,
"beginner": 0.4806753396987915,
"expert": 0.24798737466335297
} |
31,733 | can you give me PHP code (class) to handle mutiple objet repressent by the Computer class ? | 08638251142a95c990f081a1bce62179 | {
"intermediate": 0.2880619168281555,
"beginner": 0.5345537066459656,
"expert": 0.17738434672355652
} |
31,734 | can you give me PHP code (class) to handle mutiple objet repressent by the Computer class ? | 0d4b38e0239e61ab0f2742d72ed2f8f6 | {
"intermediate": 0.2880619168281555,
"beginner": 0.5345537066459656,
"expert": 0.17738434672355652
} |
31,735 | напиши метод интерполяции Лагранжа и Ньютона для определенного значения x по заданным массивам для полинома на языке с# | 2b67f9f0ba9c3d0e782a7098aa89b72f | {
"intermediate": 0.2757289707660675,
"beginner": 0.2776026725769043,
"expert": 0.4466683268547058
} |
31,736 | import random
print("Ask the Magic Python Ball a question:")
question = input()
print("")
print("Loading...")
num = random.randint(1,8)
if num == 1:
print("")
print("Magic Python Ball: Ask again later, I'm not gonna answer your stupid question.")
elif num == 2:
print("")
print("Magic Python Ball: I'm n... | 8cb748fddf04fa7005045404396dc8eb | {
"intermediate": 0.2877177298069,
"beginner": 0.4401271939277649,
"expert": 0.27215510606765747
} |
31,737 | Write a program in C plus plus language
- Design a data matrix containing books and users who have borrowed them for at least 20 entries and no more than 200 .
- The book matrix can include information such as book name, author, rating number, book Status (Available/loaned), dates
The borrowing and return of at least 2... | f2ff42694fb4ae5f467852ede5cd5414 | {
"intermediate": 0.3266570270061493,
"beginner": 0.26190298795700073,
"expert": 0.41144001483917236
} |
31,738 | how to highlight oil reserves in geo layers 3 | 1fbd6143d4c684bee02c4ef9cdfd835c | {
"intermediate": 0.30436578392982483,
"beginner": 0.2722868323326111,
"expert": 0.4233473837375641
} |
31,739 | jens lauterbach exams in java | 1fa5185e248c0d198100c58ef395a11a | {
"intermediate": 0.3591940402984619,
"beginner": 0.3117516338825226,
"expert": 0.3290543556213379
} |
31,740 | import sys
from PyQt6.QtWidgets import QApplication, QWidget, QVBoxLayout, QLabel, QLineEdit, QPushButton, QComboBox, QFileDialog, QMessageBox
from innertube import InnerTube
class YouTubeDownloader(QWidget):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
self.s... | 44c7b3a0425d254d4d532862cefa5c44 | {
"intermediate": 0.3376261591911316,
"beginner": 0.4510709047317505,
"expert": 0.21130292117595673
} |
31,741 | write the code for simple jQuery game engine component plugin. start with 5 components, A canvas, collision detector, gravity, player and a platform. put all the the components into a single file gameEngine.js. use classes and methods to create the components. comment the code and always display the full and complete... | 787b810c9a7daf7082e9973ec5349f74 | {
"intermediate": 0.4183053970336914,
"beginner": 0.35188689827919006,
"expert": 0.22980770468711853
} |
31,742 | write the code for simple jQuery game engine component plugin. start with 5 components, A canvas, collision detector, gravity, player and a platform. put all the the components into a single file gameEngine.js. use classes and methods to create the components. comment the code and always display the full and complete... | c67892cbf80a6fa8da3fa7451c1b461c | {
"intermediate": 0.3908931612968445,
"beginner": 0.35561156272888184,
"expert": 0.25349539518356323
} |
31,743 | jenkins PostBuildScript write current build log in file | ebdd14dbc6b5b806f43bf70740466460 | {
"intermediate": 0.33685749769210815,
"beginner": 0.30528298020362854,
"expert": 0.35785946249961853
} |
31,744 | jenkins freestyle project write to file current build log | 1a9320c7126b30de78a201606fd9eb3b | {
"intermediate": 0.4857518970966339,
"beginner": 0.20845794677734375,
"expert": 0.30579015612602234
} |
31,745 | Thread creation in Spring boot | 5937663fcdc3c65e2bc82e1fcb1845e4 | {
"intermediate": 0.4136609435081482,
"beginner": 0.2902325391769409,
"expert": 0.2961064875125885
} |
31,746 | python | b1a662de1094f83a59de455f12686426 | {
"intermediate": 0.32483333349227905,
"beginner": 0.3036218583583832,
"expert": 0.37154486775398254
} |
31,747 | I used this code:
latest_trade = client.get_account_trades(symbol=symbol)[-1]
print(latest_trade['orderId'])
def calculate_percentage_difference_buy(entry_price, exit_price):
result = exit_price - entry_price
price_result = entry_price / 100
final_result = result / price_result
result = final_resul... | 95d329386ccad725af9662610908c729 | {
"intermediate": 0.3709094822406769,
"beginner": 0.44209593534469604,
"expert": 0.18699461221694946
} |
31,748 | Please advise which dimensions need to be made divisible by 4/8 to fit on a grid better "<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="w... | dab39e1ab5fb34699721ebf8c3e57c8d | {
"intermediate": 0.37445664405822754,
"beginner": 0.40507641434669495,
"expert": 0.22046691179275513
} |
31,749 | could you get me a simple code for how you work for text generation | 2b2ea8d47a840a6cde4a13dea304739d | {
"intermediate": 0.4192950427532196,
"beginner": 0.18059979379177094,
"expert": 0.40010517835617065
} |
31,750 | code to extract the data from nested json file having n number of data | d2cfe1159b8d61e136798ed8f1804289 | {
"intermediate": 0.5568486452102661,
"beginner": 0.13295212388038635,
"expert": 0.31019917130470276
} |
31,751 | python function to extract values from nested json file | e1d852af493859e4468965ee9b9f971a | {
"intermediate": 0.49791091680526733,
"beginner": 0.26398590207099915,
"expert": 0.23810316622257233
} |
31,752 | is there a way to turn these separate javascript if statements into one statement: "if (value >= 1871){
map.addLayer(kensingtonline);
map.addLayer(aldgateline);
};
if (value >= 1875){
map.addLayer(mansionline);
};
if (value >= 1877){
map.addLayer(richmondline);
};
if (value >= 1878)... | d22a35277e503bc4ba3014eded5cb6c2 | {
"intermediate": 0.34879499673843384,
"beginner": 0.3174205422401428,
"expert": 0.33378446102142334
} |
31,753 | I saw in binance documentation that for cancel_order I need symbol orderId and origClientOrderId , but get_acount_trades returing me only this:
{'symbol': 'BCHUSDT', 'id': 619785813, 'orderId': 24398443258, 'side': 'SELL', 'price': '224.81', 'qty': '0.043', 'realizedPnl': '0.04429000', 'marginAsset': 'USDT', 'quoteQty... | 85ee5db90b861b85f1949677d910b744 | {
"intermediate": 0.5729823708534241,
"beginner": 0.2378702610731125,
"expert": 0.18914733827114105
} |
31,754 | help me fix so this generator works:
extends Node
var max_rooms = 10
var room_min_size = Vector2(5, 5)
var room_max_size = Vector2(10, 10)
var map_size = Vector2(100, 100)
var rooms = []
var room_scene: PackedScene = preload("res://Scenes/rooms/Room.tscn")
func _ready():
print("Preloaded room_scene is: ", room_scene... | 842daba62c69f58be37eccf8047b9022 | {
"intermediate": 0.3021034598350525,
"beginner": 0.36977195739746094,
"expert": 0.32812464237213135
} |
31,755 | help me create a script that generates game levels with a heat map for height building in godot 4 | 2a377d5cb4f6a24119197f847f3663d6 | {
"intermediate": 0.43832892179489136,
"beginner": 0.13160541653633118,
"expert": 0.43006566166877747
} |
31,756 | To integrate external knowledge sources and improve the meaningfulness of the generated sentences, you can use a technique called controlled text generation. In this approach, you can provide additional context or constraints by incorporating external knowledge sources.
Here’s an example of how you can modify the code... | 1e92301312080c4525dfaf2179a343ff | {
"intermediate": 0.26113447546958923,
"beginner": 0.3015747666358948,
"expert": 0.437290757894516
} |
31,757 | hey, i want to build an actual application which serves as a server for escape from tarkov, there is only one project right now, its SPT-AKI, i want to make a new version of it, but not in typescript, i want to use c# or something like that | 9243ff10689aece492ecdb3702faa40c | {
"intermediate": 0.3279944360256195,
"beginner": 0.4218062460422516,
"expert": 0.2501992881298065
} |
31,758 | write a C# script name "HealthPickup" where if the player collides with it (once it is instantiated) the player will get 1 health back | 91924169dcfb76c91a9ed07a9a805bea | {
"intermediate": 0.41505828499794006,
"beginner": 0.13825634121894836,
"expert": 0.4466853737831116
} |
31,759 | N_ITS = 1000
T = 5 # Seconds
dt = T/N_ITS
def test(rel_matrix):
state = np.zeros(N); state[0] = 1
for i in range(N_ITS):
state = state + rel_matrix @ state * dt
matrix=test(relationship)
csr_matrix = sparse.csr_matrix(matrix)
bsr_matrix = sparse.bsr_matrix(matrix)
print(f"Standard: {timeit.timeit(matr... | 58ca9bfd8d019811a81fc392669d0fc8 | {
"intermediate": 0.2811174988746643,
"beginner": 0.45991674065589905,
"expert": 0.25896579027175903
} |
31,760 | Practice the following exercises. The purpose of these exercises is to familiarize you with some of the most common ways
to use the sed utility. Take screenshots of each exercise with a (@) after it. Also, take screenshots of your commands as
well as the result of the commands.
1. Consider the original IoT file that yo... | 4f63582cfe4f4adf6b58dc0e6a5831d1 | {
"intermediate": 0.3296588957309723,
"beginner": 0.3403932452201843,
"expert": 0.3299478590488434
} |
31,761 | How can I configure ssh so users logging in with ssh Keys are checked towards ad if passwords have expired? Can I maybe use pam? | e67eeaab988831ff0a094c8558793e8c | {
"intermediate": 0.3936024606227875,
"beginner": 0.2796071171760559,
"expert": 0.32679039239883423
} |
31,762 | The following is processing code for creating a square from 40*40 smaller squares. Did I interpolate the u and v values correctly?
for (int i = 0; i < 40; i++) {
for (int j = 0; j < 40; j++) {
float start_x = -100;
float start_y = -100;
start_x = start_x + i * 5;
start_y = start_y + j * 5;
... | 62d395bc8e5d446508e6522f7a2c3ec0 | {
"intermediate": 0.4057135283946991,
"beginner": 0.27232179045677185,
"expert": 0.32196465134620667
} |
31,763 | css mix-blend-mode: overlay; in xaml | 49e8067790eb687a144503bfac3c16a4 | {
"intermediate": 0.3335927724838257,
"beginner": 0.3132413625717163,
"expert": 0.353165864944458
} |
31,764 | How to print lines with function names in it? | 54b92d01e03111bebab568114c0ce361 | {
"intermediate": 0.31423506140708923,
"beginner": 0.2933344542980194,
"expert": 0.3924305737018585
} |
31,765 | let's see the errors in this:
'<?xml version="1.0" encoding="UTF-8"?>\n<AddItemResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2023-11-21T22:30:46.537Z</Timestamp><Ack>Failure</Ack><Errors><ShortMessage>Return Policy input not applicable.</ShortMessage><LongMessage>The Return Policy field Refund in the inpu... | c7cb1e767105ce173e6472de24060928 | {
"intermediate": 0.3764972984790802,
"beginner": 0.3480643332004547,
"expert": 0.2754383683204651
} |
31,766 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Chest : MonoBehaviour
{
public float delayTime = 5f;
public GameObject knifePrefab;
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.CompareTag("Player"))
{
// Gen... | d3140a874faae3cb4f28391c9ac99e76 | {
"intermediate": 0.4631422162055969,
"beginner": 0.30637362599372864,
"expert": 0.2304842174053192
} |
31,767 | Strategies_results_df is a df. when column notional_multiplier != 100 then notional_multiplier then i want to take notional_multiplier * theta | 78fa9d0ac86f857664c0a5265568f7ca | {
"intermediate": 0.29219499230384827,
"beginner": 0.2180672585964203,
"expert": 0.48973777890205383
} |
31,768 | Can you explain charge parity violation like I am 5? | de758f2ed442755639a2ee3c9c9dac33 | {
"intermediate": 0.323438823223114,
"beginner": 0.25946691632270813,
"expert": 0.41709426045417786
} |
31,769 | hi there, can you recomend me a nice book for a 13 years | 3b8b3467c666bf275cfa8d5fb0758419 | {
"intermediate": 0.3504595458507538,
"beginner": 0.32206690311431885,
"expert": 0.32747355103492737
} |
31,770 | mix-blend-mode wpf xaml | c8740ceb7e85657098a8eebb3bc2cd6c | {
"intermediate": 0.349209725856781,
"beginner": 0.28990113735198975,
"expert": 0.3608890473842621
} |
31,771 | how to connect to shortcut | a7dad86ea80d2b5a755234644e9a7154 | {
"intermediate": 0.3938542604446411,
"beginner": 0.2487754374742508,
"expert": 0.3573702573776245
} |
31,772 | explain this ebay API response
'<?xml version="1.0" encoding="UTF-8"?>\n<AddItemResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2023-11-21T23:46:34.666Z</Timestamp><Ack>Failure</Ack><Errors><ShortMessage>Return Policy input not applicable.</ShortMessage><LongMessage>The Return Policy field Refund in the inp... | 0cac93642d3f33bca248615f97a81137 | {
"intermediate": 0.45974475145339966,
"beginner": 0.3700983226299286,
"expert": 0.17015697062015533
} |
31,773 | can I create a game_id column in the game_data that simply sets game id to the row number at 5 digits as a float? IE 00011 00002
# Column extraction
columns_to_extract = [
'id', 'scheduled', 'summary.home.id', 'summary.home.name',
'summary.away.id', 'summary.away.name', 'summary.home.po... | 19aa6584874c1572851c1c5198cd5ba7 | {
"intermediate": 0.42883196473121643,
"beginner": 0.2989528477191925,
"expert": 0.27221524715423584
} |
31,774 | hazme un footer acorte al header <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
<style>
ht... | 175739aa39f6d8e9707fa335770dcebf | {
"intermediate": 0.3708365857601166,
"beginner": 0.2755780518054962,
"expert": 0.3535853326320648
} |
31,775 | pymongo how to combine these document in different collection using aggregate document_a = { "project_id" : "ABC123", "20232211" : { "atc" : 1 }} document_b = { "project_id" : "ABC123", "20232211" : { "atc" : 2 }} into document_c = { "project_id" : "ABC123", "20232211" : { "atc" : 1, "atc_doc_b": 2 }} | 6d35da59b9a084d98266746613e9d051 | {
"intermediate": 0.5024809241294861,
"beginner": 0.15188908576965332,
"expert": 0.3456299602985382
} |
31,776 | Can you create python based webrtc server ? | 80cc17607c13a6748be823b4a52ba5ac | {
"intermediate": 0.3880785405635834,
"beginner": 0.14296676218509674,
"expert": 0.46895474195480347
} |
31,777 | html css code for "divide the section portion into two parts vertically and add content" | da31b80359c49479dc87cedfb4f4c795 | {
"intermediate": 0.4022015929222107,
"beginner": 0.2646068036556244,
"expert": 0.3331916034221649
} |
31,778 | write funcitons to fix my control issues import pygame
from auxiliar.helpers import Auxiliar
from auxiliar.constants import open_configs, screen_w, screen_h
from models.arrow import Arrow
class Player:
def __init__(self, x, y, speed_walk, speed_run, gravity, jump, stage_name) -> None:
self.walk_r = Auxili... | dee576c906436790cffb6fb1714020cf | {
"intermediate": 0.31158024072647095,
"beginner": 0.49681922793388367,
"expert": 0.19160056114196777
} |
31,779 | 修改我的代码,使其逻辑完整,我想模拟一个时间编码系统,每次在buffer里面存入inital个数据bit,然后开始模拟,当没有overflow 也没有underflow时,我认为全部信息(16或32位)传递完成 success,然后在每种参数下实验500次,统计成功的概率,overflow、underflow的概率。我在代码中 搞不清楚Arrival_ProcessServer_Process 应该怎么分别模拟这个过程,然后判断overflow、underflow,也不知道应该怎么和Sim_var、 Generator、Packet 类交互。我要实现的效果是: 一旦发生overflow、underflow,本次实验就结束,此时我要退... | 66d97343ff73717c2c5eda1a39700c9b | {
"intermediate": 0.3222254812717438,
"beginner": 0.41834768652915955,
"expert": 0.25942686200141907
} |
31,780 | import sys
from PyQt6.QtWidgets import (
QApplication, QMainWindow, QPushButton, QVBoxLayout, QWidget,
QLineEdit, QComboBox, QFileDialog, QMessageBox
)
from yt_dlp import YoutubeDL
from yt_dlp.utils import DownloadError
class YoutubeDownloader(QMainWindow):
def __init__(self):
super().__init__()
... | adc3135fad80832c1b13811f5bdcf176 | {
"intermediate": 0.3051282465457916,
"beginner": 0.4504588842391968,
"expert": 0.2444128692150116
} |
31,781 | debug this code
#include <iostream>
#include <cmath>
using namespace std;
unsigned int convertBinaryToDecimal(string n) {
unsigned int decimal = 0;
int power = 0;
int I = n.size() - 1;
while (I >= 0) {
if (n[I] == '1') {
decimal += 1u << power;
}
power++;
--... | 90f58dcda881350952b0ea9a3007b006 | {
"intermediate": 0.4404299259185791,
"beginner": 0.39509299397468567,
"expert": 0.16447709500789642
} |
31,782 | Path hdfsFilePath = new Path(HDFS_PATH+"pdm/sample/"+path);
if (!fileSystem.exists(hdfsFilePath)) {
return ResponseEntity.status(HttpStatus.NOT_FOUND).body(null);
}
try (FSDataInputStream inputStream = fileSystem.open(hdfsFilePath)) {
byte[] fileConte... | 4c9de456e787817daecdf5f18a903d50 | {
"intermediate": 0.45320311188697815,
"beginner": 0.2718227803707123,
"expert": 0.27497416734695435
} |
31,783 | 在c#语言中,用NEST 7.17.5的库替换以下代码,尽量少的修改
public SearchDescriptor<SparePartEntity> GetFullDescriptor(SearchRequest request)
{
var sd = new SearchDescriptor<SparePartEntity>().Skip(request.Skip).Take(request.Take);
var searchText = string.IsNullOrWhiteSpace(request.DynamicText) ? “*” : request.DynamicText.ToLower();
var escap... | 9b5ec70f4f699f3f9bb99753e53a8ad8 | {
"intermediate": 0.27607548236846924,
"beginner": 0.4353310763835907,
"expert": 0.2885933816432953
} |
31,784 | How do I query batch this:
{"operationName":"Login","variables":{"loginToken":"eyJxxxxxxxxxxxxxxxxxxxxxxxx","tfaCode":"111111"},"query":"mutation Login($loginToken: String!, $tfaCode: String!) {\n login(loginToken: $loginToken, tfaCode: $tfaCode) {\n accessToken\n refreshToken\n __typename\n }\n}"} | ec1d2bd9eab531a752c3d3072f8ee755 | {
"intermediate": 0.5832582712173462,
"beginner": 0.23310978710651398,
"expert": 0.18363192677497864
} |
31,785 | Let's say I don't want to implement a new algorithm from scratch. Instead, I want to start with the output from the Delaunay hull that I get from scipy. So, let's say I have the following points that would make a star:
points=[
Point(0, 5),
Point(1, 2),
Point(4, 2),
... | 893f51602cfd8d9c93360b57926d31ef | {
"intermediate": 0.29068151116371155,
"beginner": 0.13390707969665527,
"expert": 0.5754114389419556
} |
31,786 | The best books to learn Material UI | abd071fb72fbd8bdada3e63e095ac77b | {
"intermediate": 0.2236456722021103,
"beginner": 0.6031357049942017,
"expert": 0.17321866750717163
} |
31,787 | type 'a sequence = Cons of 'a * (unit -> 'a sequence)
let rec stirling n m =
match (n, m) with
| _, _ when m = 1 || n = m -> 1
| _, _ when m > n -> 0
| _, _ -> stirling (n - 1) (m - 1) + m * stirling (n - 1) m
;;
let hd (Cons (h, _)) = h;;
let tl... | 9d2d9864231acfd66ef0f6a2a543e2d4 | {
"intermediate": 0.3877880573272705,
"beginner": 0.33234766125679016,
"expert": 0.2798643112182617
} |
31,788 | is this "/lib/x86_64-linux-gnu/libnss_files-2.31.so" libc? | fb3eec0546898f4784fd5a6869248d0b | {
"intermediate": 0.5211933851242065,
"beginner": 0.23778757452964783,
"expert": 0.2410190850496292
} |
31,789 | Write me a windows shell script that I can run in command prompt that will rename all files within a directory by replacing specific existing text within the file name and replacing it with new text. For instance changing the file name from 'FileName_003.jpg' to 'FN_003.jpg' | be54941b93ebf1abf70bc8b647227473 | {
"intermediate": 0.3612160384654999,
"beginner": 0.22319526970386505,
"expert": 0.41558870673179626
} |
31,790 | i have an captcha image with 5 to 6 symbols (numbers), they have different color and overlap each other. write a python script that distinguishes them and saves each symbol as a unique image | ffe2c697707818a4934db68852de130c | {
"intermediate": 0.35729333758354187,
"beginner": 0.20416259765625,
"expert": 0.43854403495788574
} |
31,791 | hello | 565b57ac4a7c5ea809d715e4f575c8cd | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
31,792 | /usr/local/lib/python3.10/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
854 if ioargs.encoding and "b" not in ioargs.mode:
855 # Encoding
--> 856 handle = open(
857 handl... | 8b0a571d9e1e56a1ffe7a2994e6efa0e | {
"intermediate": 0.49755722284317017,
"beginner": 0.2331206053495407,
"expert": 0.26932212710380554
} |
31,793 | 用NEST 7.17.5的库替换NEST 1.4.3库的c#代码,旧代码如下
public SearchDescriptor<SparePartEntity> GetFullDescriptor(SearchRequest request)
{
var sd = new SearchDescriptor<SparePartEntity>().Skip(request.Skip).Take(request.Take);
var searchText = string.IsNullOrWhiteSpace(request.DynamicText) ? “*” : request.DynamicText.ToLower();
var e... | f7f98bf1941c7199f7b2e1ff8d31066a | {
"intermediate": 0.29827651381492615,
"beginner": 0.44264957308769226,
"expert": 0.2590738832950592
} |
31,794 | Как в visual studio code сделать что-бы на маке при command + [ вернулось в пердыдущий файл? | ccecae2100407ae2f4696e43177733e7 | {
"intermediate": 0.32588157057762146,
"beginner": 0.41500556468963623,
"expert": 0.25911280512809753
} |
31,795 | code a python fibonacci | 41fb4e66dec5513010e0b1420af389c2 | {
"intermediate": 0.30712080001831055,
"beginner": 0.2847119867801666,
"expert": 0.40816718339920044
} |
31,796 | @scxddd ➜ /workspaces/it314115_project (master) $ pip install docker-compose
Collecting docker-compose
Using cached docker_compose-1.29.2-py2.py3-none-any.whl (114 kB)
Collecting PyYAML<6,>=3.10 (from docker-compose)
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
Getting requir... | 940b2c59d95e90f61885170123961de0 | {
"intermediate": 0.3269020617008209,
"beginner": 0.3726580739021301,
"expert": 0.30043989419937134
} |
31,797 | Can you provide a test object that's suitable for 3D rendering, in the .obj file format? | 21ee1dd59a6a11962d942dcf7eb3ed4f | {
"intermediate": 0.5210671424865723,
"beginner": 0.2139013111591339,
"expert": 0.2650315761566162
} |
31,798 | how to unsort in std::map c++ | a2bd87ec4954bf251896b863080eafe6 | {
"intermediate": 0.28932783007621765,
"beginner": 0.2367958128452301,
"expert": 0.47387635707855225
} |
31,799 | 使用NEST 7.17.5库更新旧版本(NEST 1.4.3)的C#代码如下所示:
public async Task<SearchResult> Suggest(SearchRequest searchRequestModel)
{
var sparePartKey = “spareParts”;
var multiSearchResponse = _client.MultiSearch(msd =>
{
foreach (var filterType in searchRequestModel.Facets)
{
msd = msd.Search<MetadataEntity>(
filterType.ToString(),
... | 78b532b24f5f3bdb5f03d3bc4fcae516 | {
"intermediate": 0.36988985538482666,
"beginner": 0.3364163339138031,
"expert": 0.2936938405036926
} |
31,800 | import argparse
import matplotlib.pyplot as plt
from colorizers import *
from colorizers import extract_colors
save_prefix = 'saved'
# load colorizers
colorizer_eccv16 = eccv16(pretrained=True).eval()
colorizer_siggraph17 = siggraph17(pretrained=True).eval()
colorizer_eccv16.cuda()
colorizer_siggraph17.cuda()
# defa... | 3783a7a3f1452d51e269dec368f17944 | {
"intermediate": 0.3702021837234497,
"beginner": 0.4507797360420227,
"expert": 0.17901812493801117
} |
31,801 | i have an png file and xml file with labels and coordinates of that png file. write a python sript that extracts those labels by cuting off by coordinates and save each image in a folder | 88033ab65485270c5dd8e05d83ea0dd5 | {
"intermediate": 0.4964785575866699,
"beginner": 0.20086759328842163,
"expert": 0.30265384912490845
} |
31,802 | Можешь переписать код:
TOPIC_CFGS = {}
VACANCY_TOPICS = (
KafkaTopic.vacancy_view,
KafkaTopic.favorited_vacancy,
)
VACANCY_TOPIC_CFGS = {topic.name: make_event_from_row for topic in VACANCY_TOPICS}
TOPIC_CFGS.update(VACANCY_TOPIC_CFGS)
ATTEMPT_TOPICS = (
KafkaTopic.favorited_vacancy_attempt,
KafkaTopic.response_attem... | 809b7a4762eebaa5b3658c4f894f0712 | {
"intermediate": 0.3097042441368103,
"beginner": 0.33914482593536377,
"expert": 0.3511509597301483
} |
31,803 | sua loi sai #include<bits/stdc++.h>
using namespace std;
class matran {
private:
int a[100];
int n, m;
public:
friend istream& operator>>(istream& in, matran &b) {
cout << "Nhap so cot: ";
in >> b.n;
cout << "\nNhap so dong:";
in >> b.m;
// a.a = new matran[100];
for(int i=0; i<b.n; i++) {
... | c3e87d6c0becd2434330dc2339d685cf | {
"intermediate": 0.2878369092941284,
"beginner": 0.494111567735672,
"expert": 0.21805155277252197
} |
31,804 | basic template datagrid wpf | 68b41f94ce4ba59cd3fc0fb4b9a744d2 | {
"intermediate": 0.31975170969963074,
"beginner": 0.44042325019836426,
"expert": 0.23982511460781097
} |
31,805 | crop image by <xmin>9</xmin>
<ymin>36</ymin>
<xmax>37</xmax>
<ymax>95</ymax>
in python | 15c0ea647abe941bd7ce97061f41d890 | {
"intermediate": 0.3362591564655304,
"beginner": 0.38554611802101135,
"expert": 0.278194785118103
} |
31,806 | We got an error adding your GPG key. Please verify the input is a valid GPG key. | 5cf0b9fa048dd221c9d4671bdda8c71c | {
"intermediate": 0.3104003667831421,
"beginner": 0.23369325697422028,
"expert": 0.45590633153915405
} |
31,807 | corner detection with big noise numpy only. write code | 31fb54fe32c801ec350bd12455f96a1a | {
"intermediate": 0.3161065876483917,
"beginner": 0.1989079862833023,
"expert": 0.4849853515625
} |
31,808 | 使用NEST 7.17.5库更新旧版本(NEST 1.4.3)的C#代码如下所示:
public async Task<List<SearchResult>> SearchForFacetsCountDisplay(List<SearchRequest> searchRequestModels)
{
string[] filterNames = { "AssemblyGroup", "ElevatorManufacturer", "PartManufacturer", "ProductLine", "ComponentType", "Group", "Attribute", "... | ff76af527d0ed8e8430479fc9d4c77c0 | {
"intermediate": 0.3281320035457611,
"beginner": 0.3404230773448944,
"expert": 0.33144494891166687
} |
31,809 | 使用NEST 7.17.5库更新旧版本(NEST 1.4.3)的C#代码如下所示,双引号请不要用中文模式下的
public class SparePartEntity
{
private string _name;
public SparePartEntity()
{
RepkitEntities = new List<RepKitEntity>();
GroupNames = new List<string>();
AllGroupNames = new List<string>();
... | fc46e38926ba1aa4a026bde5d43b3813 | {
"intermediate": 0.3929620087146759,
"beginner": 0.49106258153915405,
"expert": 0.11597537994384766
} |
31,810 | <tbody class="table-sm" x-show="prices">
<tr>
<td x-text="16/fcy"></td>
<td x-text="(($wire.productsjs[$wire.product_id]+30)*0.324).toFixed(2)+'$'"></td>{{-- este = 0 --}}
... | 8bb7bdcbc5065f6c8537e72ab9e96b2d | {
"intermediate": 0.32309627532958984,
"beginner": 0.5004491209983826,
"expert": 0.1764545887708664
} |
31,811 | created slice user and session slice | c609b7d59fabe7bc6a1c1015996537a0 | {
"intermediate": 0.32693180441856384,
"beginner": 0.2825343608856201,
"expert": 0.3905338644981384
} |
31,812 | 使用NEST 7.17.5库更新旧版本(NEST 1.4.3)的C#代码如下所示,双引号请不要用中文模式下的
public class SparePartEntity
{
private string _name;
public SparePartEntity()
{
RepkitEntities = new List<RepKitEntity>();
GroupNames = new List<string>();
AllGroupNames = new List<string>();
Attributes = new List<AttributeEntity>();
ImageNames = new List<string>(... | 32836a487e8e07db8895a91eb2fbbaf2 | {
"intermediate": 0.2972877025604248,
"beginner": 0.48198777437210083,
"expert": 0.22072449326515198
} |
31,813 | can you correct this expression?: {"white_toddler_girl":#2}; + {"nigger_male":#1}; === standsBeside
{“white_toddler_girl”:2} + {“nigger_male”:1} === standsBeside
so, what it actually tells us?
The corrected expression represents a mathematical equation that adds the number of occurrences of a white toddler girl to t... | 40e72c85db35a6bdb71ea6275f3d4a63 | {
"intermediate": 0.27874308824539185,
"beginner": 0.40822699666023254,
"expert": 0.3130299150943756
} |
31,814 | [ElasticProperty(Index = FieldIndexOption.NotAnalyzed, IncludeInAll = true)]
public string Barcode { get; set; }
[ElasticProperty(Index = FieldIndexOption.NotAnalyzed)]
public DateTime? MarkedDeletedTimestamp { get; set; }
具体是什么意思呢 | a16027bbb0c149206083cf68bb3bcee5 | {
"intermediate": 0.4493817090988159,
"beginner": 0.30855199694633484,
"expert": 0.24206632375717163
} |
31,815 | 请使用NEST 7.17.5库来更新旧版本(NEST 1.4.3)的C#代码:
public class SparePartEntity
{
private string _name;
public SparePartEntity()
{
RepkitEntities = new List<RepKitEntity>();
GroupNames = new List<string>();
AllGroupNames = new List<string>();
Attribu... | 42fa2a509031ae44f18fb65487575114 | {
"intermediate": 0.4099065363407135,
"beginner": 0.44126269221305847,
"expert": 0.148830845952034
} |
31,816 | 请使用NEST 7.17.5库来更新旧版本(NEST 1.4.3)的C#代码:
private QueryContainerDescriptor<SparePartEntity> ApplyFilters(SearchRequest request, QueryContainerDescriptor<SparePartEntity> fqd)
{
return fqd.Filter(fd =>
{
var filters = new List<FilterContainer>();
var dimensionFilter = AddDimensions(request, fd);
if (dimensionFilter != nul... | d4040c6f81557bbe86119fd90f4dc0d5 | {
"intermediate": 0.35963645577430725,
"beginner": 0.3178383708000183,
"expert": 0.32252517342567444
} |
31,817 | cd ~/Applications/
if [ ! -d "The Sims 4 Packs" ]; then
echo "${RED}The Sims 4 is not installed! Please install it via Origin then try again${NC}"
what does this mean in simple terms? | 01fd9fc3948c019f84a8a2578d3c1683 | {
"intermediate": 0.39009585976600647,
"beginner": 0.3818635642528534,
"expert": 0.22804050147533417
} |
31,818 | Write code to detect line in opencv | 806fa394cbe4655446804a533d3e4d52 | {
"intermediate": 0.2814737558364868,
"beginner": 0.18174424767494202,
"expert": 0.5367819666862488
} |
31,819 | Need a code to create a react app | 60c034be121b38ca138cab4a7b5a5836 | {
"intermediate": 0.42472362518310547,
"beginner": 0.2812098264694214,
"expert": 0.29406651854515076
} |
31,820 | import { Link, Switch, Route, useHistory, useLocation } from "react-router-dom";
import styles from "./App.module.css";
export default function App() {
const history = useHistory();
const location = useLocation();
console.log(location);
const push = () => {
history.push("/blog");
// history.push("/blo... | 3fe1e666e2dd1526ea3c12f83d5244d0 | {
"intermediate": 0.33141228556632996,
"beginner": 0.557469367980957,
"expert": 0.11111832410097122
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.