row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
31,019
c++ program fisrt 20 numbers in fibonacci sequence
282a845c6b06f3da0e3103e543e33e5c
{ "intermediate": 0.33634158968925476, "beginner": 0.355001837015152, "expert": 0.3086565434932709 }
31,020
Can you make an ae script about an interesting effect for me to use
529a825e6d4d0463fc4d9004a5445aef
{ "intermediate": 0.3017341196537018, "beginner": 0.24799831211566925, "expert": 0.4502675533294678 }
31,021
python script send adaptive card user to user in ms teams use graph api
d64a177b21be8d4bf5711212b2909d08
{ "intermediate": 0.5123288631439209, "beginner": 0.13556692004203796, "expert": 0.35210418701171875 }
31,022
этот код правильный? import os file_path = 'base.txt' output_dir = 'base/' chunk_size = 100000 with open(file_path, 'r', encoding='utf-8') as input_file: chunk_count = 0 output_file = None for line in input_file: if chunk_count % chunk_size == 0: if output_file: output_file.close() output_file_pa...
d589f6ab82e945c62065f8b843f92d58
{ "intermediate": 0.4678705930709839, "beginner": 0.313815176486969, "expert": 0.21831421554088593 }
31,023
NameError: name 'concatenate' is not defined
dec8ece638a3c8eea41d05ec24f7e3cc
{ "intermediate": 0.402149498462677, "beginner": 0.19529327750205994, "expert": 0.4025571942329407 }
31,024
python code using BiLSTM encoder and decoder rnn to translate English text to Arabic text by splitting example data into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to evaluate
34dbf6e4adbab8e9974cdaf741992ad2
{ "intermediate": 0.42980825901031494, "beginner": 0.11859078705310822, "expert": 0.45160093903541565 }
31,025
how to override this——import java.util.concurrent.TimeUnit;
773cf0a44bafb03db8a2cb4480cf3940
{ "intermediate": 0.5138100981712341, "beginner": 0.24658262729644775, "expert": 0.2396072894334793 }
31,026
怎么引用import java.util.concurrent.TimeUnit;
c0445e41ed7c5fe3f0893b1216d68e2e
{ "intermediate": 0.37923121452331543, "beginner": 0.31773027777671814, "expert": 0.30303847789764404 }
31,027
Не могу добавить текст в сам слайдер, как сделать это. Напиши код. <div class=" swiper mySwiper"> <div class="swiper-wrapper"> <div class="swiper-slide"> <img src="./img/banner_1.jpg" /> </div> <div class="swiper-slide"> <img src="./img/banner_2.jpg" /> </div> <div cl...
28ed18c11e4755893609b107e3080630
{ "intermediate": 0.38692352175712585, "beginner": 0.33938127756118774, "expert": 0.2736952304840088 }
31,028
怎么去override——import java.util.concurrent.TimeUnit;
ba6de783c8e4715a966ab51eef8c356f
{ "intermediate": 0.4047107696533203, "beginner": 0.3020036220550537, "expert": 0.293285608291626 }
31,029
INSERT INTO `fanpin`.`fan_category_product_goods` (`id`, `category_id`, `product_id`, `goods_specs`, `original_price`, `sales_price`, `type`, `integral`, `freight`, `inventory`, `status`, `create_time`, `create_by`, `update_by`, `update_time`, `attribute_name`, `attribute_value`) VALUES (135874794, '1723709945486000129...
864af9167fbee5624590a82f690c5081
{ "intermediate": 0.2916710376739502, "beginner": 0.3922523856163025, "expert": 0.3160765767097473 }
31,030
아래는 controller 코드야. 코드 해석하고 기억해놔. package egovframework.hbz.web; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enumeration; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sprin...
90423704e9d5b08393712d11d07302f3
{ "intermediate": 0.3196740448474884, "beginner": 0.3873768150806427, "expert": 0.2929491698741913 }
31,031
how send message to defold gui script from js?
319118ee6d9a2aaddac2210b0b383d01
{ "intermediate": 0.5756504535675049, "beginner": 0.2101651430130005, "expert": 0.21418441832065582 }
31,032
Write a python program that prints the results of addition of two polynomials. For instance, the first polynomials x^2+5x, , which can be expressed as [0, 5, 1]; the second polynomials -x^3-2x^2+3, can be presented as [3, 0, -2, -1]. The addition of two polynomials can be printed as [3, 5, -1, -1].
01527d247183c97f65db5c821fbf2bf1
{ "intermediate": 0.4062117636203766, "beginner": 0.30670177936553955, "expert": 0.28708645701408386 }
31,033
finde missing ) in this code: function buy_consume(inapp_id) { ysdk.getPayments({ }).then(_payments => { _payments.purchase({ id: inapp_id }).then(purchase => { _payments.consumePurchase(purchase.purchaseToken); return inapp_id; }).catch(err => { })}}
26ff355718e1b558cf858aab93b2b2cd
{ "intermediate": 0.32001906633377075, "beginner": 0.4842056930065155, "expert": 0.19577527046203613 }
31,034
make 2 function type one without return and one with return and one without return function c language
90d57f3f6e2b2892359e99c84f3827f8
{ "intermediate": 0.22930960357189178, "beginner": 0.5360746383666992, "expert": 0.23461569845676422 }
31,035
Write a c language average function one without passing argument and return and one with passing argument and return
3b57b68717b0920292e8adbd4d0220a2
{ "intermediate": 0.21803578734397888, "beginner": 0.5137436389923096, "expert": 0.26822057366371155 }
31,036
Are you familiar with the DeepFashion2 dataset?
5bdb359a2e10e85cd2febc94f73d4ca0
{ "intermediate": 0.1969989538192749, "beginner": 0.17668765783309937, "expert": 0.6263133883476257 }
31,037
У меня есть функция, которая решает уравнение: A (матрица) * x (вектор) = B (вектор) с помощью LU-разложения. Можно ли переписать мою функцию, используя Eigen::FullPivLU? Вот мой код: /* Calculate matrix equation: _A_matrix * result_Vector = _B_Vector with LU method */ Eigen::VectorXd solveLinearSystemWithLU...
9f0418d6422a8c5710f0b027e398a3e4
{ "intermediate": 0.31796854734420776, "beginner": 0.3478696942329407, "expert": 0.33416175842285156 }
31,038
У меня есть функция, которая решает уравнение: A (матрица) * x (вектор) = B (вектор) с помощью LU-разложения. Можно ли переписать мою функцию, используя Eigen::FullPivLU? Я имею ввиду решить уравнение не через Eigen::SparseLU, а через Eigen::FullPivLU? Вот мой код: / Calculate matrix equation: _A_matrix * result_Vector...
05694e6ceb46388b2a5984feb1fbe72a
{ "intermediate": 0.37399354577064514, "beginner": 0.2946088910102844, "expert": 0.33139750361442566 }
31,039
jest 单元测试 awsRum.recordEvent('buttonEvent', { buttonName: 'Search-Search', user_interaction: { interaction_1: 'click' }, visit_count: 1 });
a3e399a3684a376049509a9e2cb81ac4
{ "intermediate": 0.42640766501426697, "beginner": 0.28584790229797363, "expert": 0.2877444326877594 }
31,040
The CSRF token is missing. Error in Flask app. How to resolve?
be1046a7e5bcfac93b66b0eaab22ad14
{ "intermediate": 0.7161301374435425, "beginner": 0.13146188855171204, "expert": 0.1524079591035843 }
31,041
I want to program a ATmega 32A to turn on 3 DIP white color led and I want to turn on this led’s based on value of a 10K potentiometer ( this will act as a bar graph to indicate the value led one turn on in 100 ohm, LED2 turn on in 341 ohm and LED3 in 680 ohm) what the code to compile on atmega32 and how install this
851f04607f6be09121c746cb371c0360
{ "intermediate": 0.4723964035511017, "beginner": 0.14789767563343048, "expert": 0.37970590591430664 }
31,042
В цикле for ошибка, сам AccountBalanceResponse содержит в себе final Object response, а я пытаюсь привести его к List, как быть? public boolean checkBalance(Long partnerId, BigDecimal returnAmount, String accountNumber) { AccountBalanceRequest balanceRequest = new AccountBalanceRequest(); balanceReque...
8c68a1cf523ac9d97c8f1a980260579d
{ "intermediate": 0.3650769889354706, "beginner": 0.5166699886322021, "expert": 0.11825302988290787 }
31,043
python3 code to implement 2D convolution layer
ca44a72b4954835989089a5b8241038e
{ "intermediate": 0.2623160183429718, "beginner": 0.11311258375644684, "expert": 0.6245714426040649 }
31,044
Напиши функцию, которая бы вывела в файл (result.txt) std::map<CoordinatesInfo, size_t>. CoordinatesInfo - структура из int x и int y
daef02c2efc67e3882f5a85ad01a7271
{ "intermediate": 0.3346056640148163, "beginner": 0.33562955260276794, "expert": 0.32976484298706055 }
31,045
notifyicon.showballontip have it show notification until user clicks it
f1f9c4058dac7a056e83cc7794a4fe13
{ "intermediate": 0.38136574625968933, "beginner": 0.21380573511123657, "expert": 0.4048285484313965 }
31,046
What is in /etc/crypttab? Block devices? Be very concise.
a6d3834303cb59aa6239e49aa8f32f3f
{ "intermediate": 0.3878422677516937, "beginner": 0.3219650983810425, "expert": 0.2901926040649414 }
31,047
How can I make a second volume group in LVM be automatically loaded on bootup (of a Debian system)?
84241a31015c19a1e3a1ed0acf2fc59e
{ "intermediate": 0.47244834899902344, "beginner": 0.18105454742908478, "expert": 0.3464970886707306 }
31,048
I think I need vgchange -a y to be run upon Debian's bootup because I have another drive in fstab not mounting.
4323c32754644a28723af85ad7ada8e7
{ "intermediate": 0.44533002376556396, "beginner": 0.24394208192825317, "expert": 0.31072789430618286 }
31,049
make this code correct =Query(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1_iO4G62IHBhLXvmQKo4nIaANxOVTdahNNAJLy2tGOeI/edit#gid=813582014","Temple Trip!A:b"),"where Col2>=date '"&TEXT(If(15>Day(Today()),DATE(Year(Today()),Month(Today()),15),DATE(Year(today()),MONTH(TODAY())+1,1)),"yyyy-MM-dd")&"' and Col2<date ...
90ff59c37d88a1d8bc722243d7a49bca
{ "intermediate": 0.36493659019470215, "beginner": 0.3881595730781555, "expert": 0.24690388143062592 }
31,050
sub_n <-trt%>% + group_by(Subject_ID)%>% + summarise(n=n_distinct(Subject_ID)) Error in rep(seq_len(nrow(out)), cols$size) : 'times'参数不对 how to fix it
e10eb8317043e8d5bcc151faf7fe015b
{ "intermediate": 0.20322076976299286, "beginner": 0.520438551902771, "expert": 0.27634066343307495 }
31,051
How to create a http client in C#
55e0f8bd715146282b6bb27a140a5027
{ "intermediate": 0.43831947445869446, "beginner": 0.3354310691356659, "expert": 0.22624950110912323 }
31,052
bonjour, dans le contrat principal, j'ai des fonctions internal que j'ai dû dupliquer en fonction public pour les tester. j'ai créé un contrat pour les tests qui permet d'extraire ces fonctions public du contrat principal. question,1 ) ai je besoin de l'interface 2 ) est ce que le contrat est correct ? "// Fonctions i...
91000e27ea7de40d2942635c50439477
{ "intermediate": 0.37873414158821106, "beginner": 0.44836169481277466, "expert": 0.17290419340133667 }
31,053
generate console menu using c# with options
29ab2e96e310d668dd809c2e92d82beb
{ "intermediate": 0.4325987994670868, "beginner": 0.3010097146034241, "expert": 0.26639148592948914 }
31,054
i am a developer. what is the criteria for calling my api a microservice?
06da8240d9efebb8810bd021fc981adc
{ "intermediate": 0.770578920841217, "beginner": 0.13853423297405243, "expert": 0.09088686853647232 }
31,055
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-1: malformed \N character escape search_string = ["\N"]
8149e743795c6f9660a4c0440c7ed83f
{ "intermediate": 0.2760717570781708, "beginner": 0.4159491956233978, "expert": 0.30797913670539856 }
31,056
est ce correct ? "// Fonctions internes du contrat principal exposées comme publiques pour les tests // SPDX-License-Identifier: MIT import "./Penduel.sol"; pragma solidity 0.8.17; interface TestHelper2 { function getFulfillRandomWords(uint256 _requestId, uint256[] memory randomWords) external; function get...
8e2ce82526054bbee1e1210c41e51236
{ "intermediate": 0.40875157713890076, "beginner": 0.3865950405597687, "expert": 0.20465338230133057 }
31,057
in visual basic code how do you search for a keyword in a csv file
b0560c15ddd1954707b9a85836472535
{ "intermediate": 0.26858067512512207, "beginner": 0.40918654203414917, "expert": 0.32223275303840637 }
31,058
How do I use the cut command to get the second token that's delimited by a double quotation mark?
9062b1c2bdd3e93315d8dabef7b1741f
{ "intermediate": 0.38004377484321594, "beginner": 0.3219298720359802, "expert": 0.2980263829231262 }
31,059
python code using BiLSTM encoder and decoder rnn to translate English text to Arabic text by splitting example data into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to evaluate and example prediction ...
35cab490e027c92e3ca9951c4a9daec0
{ "intermediate": 0.39724865555763245, "beginner": 0.0989353135228157, "expert": 0.5038160681724548 }
31,060
onData(socket, args) { if (this.tank === null || !this.hasPlayer(this.tank.name)) return; var tank = this.tank; if (args.length === 1) { if (args[0] === "get_garage_data") { this.updateMarket(); setTimeout(() => { this.initMarket(socket); this.initMountedItems(socket); }, 1500); }...
7c312cf711c282a0b6b9f7191e90c74a
{ "intermediate": 0.3405924439430237, "beginner": 0.5150299072265625, "expert": 0.14437760412693024 }
31,061
whats wrong Game.belongsTo called with something that's not a subclass of Sequelize.Model
26db8240ee6e179bc50808b7f22d9507
{ "intermediate": 0.275360643863678, "beginner": 0.5840516090393066, "expert": 0.14058779180049896 }
31,062
how to validate a telerik grid in blazor
d3d62d19ecdc3901b78190c84698f22e
{ "intermediate": 0.35757988691329956, "beginner": 0.11214914172887802, "expert": 0.5302709341049194 }
31,063
import operator import random class Process: def __init__(self, name, arrive_time, serve_time,): self.name = name self.arrive_time = arrive_time self.serve_time = serve_time self.left_serve_time = serve_time self.finish_time = 0 self.cycling_time = 0 flag = 1 class ...
47d03c891b57b6434926b875d5c73523
{ "intermediate": 0.30218759179115295, "beginner": 0.5877736210823059, "expert": 0.11003877222537994 }
31,064
I have this code below for a Atmega32a, 3 withe led, 3 pin 10K potentiometer, but when I turn the 10K potentiometer just two LED in PC0 and PC1 turn on and off and LED3 not working, what could be a problem and please provide me with solution #define F_CPU 1000000 #include <avr/io.h> #include <util/delay.h> #define ADC...
9ed4aa3c91844b261c9eb821ef77f8a6
{ "intermediate": 0.45837509632110596, "beginner": 0.3207904100418091, "expert": 0.22083455324172974 }
31,065
@bp.route("/text_from_string/", methods=["GET", "POST"]) @check_user_logined_mailed('is_loginted') def printed_text(): form = query_from_string() if request.method == "POST": query_s = request.form.get("query_s") parameters = dict(read_text_from_string=query_s) return redirect('/zadachi/...
27d42bfac0be4066afb2bdc17c96e026
{ "intermediate": 0.2908025085926056, "beginner": 0.5227611660957336, "expert": 0.18643634021282196 }
31,066
我在matlab运行这段程序function [average_energy, average_magnetization, heat_capacity, magnetic_susceptibility] = metropolis_ising(N, temperature, steps) spins = sign(rand(N,N)-0.5); energy = zeros(1,steps); magnetization = zeros(1,steps); for step = 1:steps for k = 1:(NN) % 随机选择格点 i = randi([1, N]); ...
e16336e15e66175bca339ad028b8ed27
{ "intermediate": 0.26465359330177307, "beginner": 0.5582194328308105, "expert": 0.177126944065094 }
31,067
Привет. Вот мой код System.out.println("Введите строку на русском"); var b = new java.util.Scanner(System.in, "UTF-8").nextLine(); FileUtils.serializeA(b, "test.set"); var a = (String) FileUtils.deserializeA("test.set"); System.out.println("\"" + a + "\""); Вот что я вижу в консоли Введи...
081f0d0b9bdfc78dfb41a29f81ff36a7
{ "intermediate": 0.5333237648010254, "beginner": 0.33236899971961975, "expert": 0.13430726528167725 }
31,068
what would be the easiest way to create transitions animation for the different states? can you suggest a transition animation to fade from different game states? function loadStates() require ('game/states/SplashScreen') require ('game/states/firststart') require ('game/states/tetris') require ('game/states/benchm...
318b6759e7d21927865979d216487d50
{ "intermediate": 0.3984946608543396, "beginner": 0.33381932973861694, "expert": 0.2676859498023987 }
31,069
Write a program that gets input from user until user enters -1, and display the output.Use for loop.
c6b666c01e205e66e487958a9634b529
{ "intermediate": 0.2635240852832794, "beginner": 0.44856134057044983, "expert": 0.287914514541626 }
31,070
Write a program that gets input from the user until user enters -1, and display the output. Use for loop. in C++.
573fe482c32f849905c809f2abb5311e
{ "intermediate": 0.2960037887096405, "beginner": 0.45903801918029785, "expert": 0.24495822191238403 }
31,071
I am creating a FastAPI python app with SQLAlchemy, and am currently running into an error, this is the log:
26f5c95b3a3123fbb7f0a707611dec4e
{ "intermediate": 0.8406571745872498, "beginner": 0.06836922466754913, "expert": 0.09097352623939514 }
31,072
hi
950dc14a5a893f424ffb0ff2d0bdcb8b
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
31,073
python code using BiLSTM encoder and decoder rnn to translate English text to Arabic text by splitting example data into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to evaluate and example prediction ...
ef26e651bf6f37f91b252feb5396633f
{ "intermediate": 0.39724865555763245, "beginner": 0.0989353135228157, "expert": 0.5038160681724548 }
31,074
Can I edit fstab via an (initramfs) prompt? If so, how? Be very concise.
18b09375e2d9f74f0cbcd60477d952bb
{ "intermediate": 0.48799896240234375, "beginner": 0.2101738601922989, "expert": 0.30182716250419617 }
31,075
I am working on a FastAPI python application with SQLAlchemy, and I am getting the following error:
dceaa33103704ff43db969be6cdb3374
{ "intermediate": 0.7318924069404602, "beginner": 0.1231839507818222, "expert": 0.14492367208003998 }
31,076
database/sql получить список всех orders golang
2d5812f527fd2c8721b55fed1b1d7727
{ "intermediate": 0.46343734860420227, "beginner": 0.30028972029685974, "expert": 0.236272931098938 }
31,077
while(!znaki.empty() && znaki.top() != '(') { postfix += znaki.top(); znaki.pop(); } Describe what do this code on C++
7367dc775d46bd1c863a85c7a10403bc
{ "intermediate": 0.3329267203807831, "beginner": 0.49998989701271057, "expert": 0.16708339750766754 }
31,078
I'm trying to get two LUKS devices to be unlocked before their btrfs raid 1 filesystems are attempted to be mounted individually because they should be mounted together. When I try to boot Debian, I get BTRFS error (device dm-1): devid 2 uuid wtv is missing and then blabla failed to read the system array: -2 and stuff ...
fb4f2b3a1e2dcd2da8fb9ba9d60c8f82
{ "intermediate": 0.45867103338241577, "beginner": 0.2678431570529938, "expert": 0.27348577976226807 }
31,079
How can I make crypttab unlock both luks containers before either filesystem is mounted?: The guide below is simplified in a way that preparing the boot partition is not covered. Software based btrfs RAID1 requires two devices, which conceptually don’t even need to be on different disks. But for obvious reasons, it’s ...
7824f6a2ea87880179afbd09fa44a1b9
{ "intermediate": 0.40428829193115234, "beginner": 0.4098820984363556, "expert": 0.18582956492900848 }
31,080
Исправь программу так, чтобы она выводила фрактальное изображение крестика из звёздочек в c++:#include <iostream> #include <vector> #include <math.h> using namespace std; char frakt(vector<vector <char>>& vec, vector <vector<char>> &change,int &c,int &k) { k += 1; if (k == 1) { k += 1; } vecto...
0ad0b4bcb74dcf170133179443f5d54b
{ "intermediate": 0.24824057519435883, "beginner": 0.5681151151657104, "expert": 0.18364426493644714 }
31,081
write java code that looks for an exclamation point and then records in it a int value
77a5eaa6e997235d37940dbf3f43ec4a
{ "intermediate": 0.3745770752429962, "beginner": 0.30843740701675415, "expert": 0.31698548793792725 }
31,082
How do I pass the passphrase via /etc/crypttab?
a363e2ece34fc88e27c270d66383f350
{ "intermediate": 0.3727399706840515, "beginner": 0.2417628914117813, "expert": 0.38549715280532837 }
31,083
How does one update grub in the (initramfs) prompt?
0a6316b533337968f000cffb815e00a4
{ "intermediate": 0.42448607087135315, "beginner": 0.18459874391555786, "expert": 0.3909151554107666 }
31,084
understand and execute commands for a custom programming language. Define the following commands: Run_3DS: This command should be interpreted as ‘Run 3D scene’. spawn_Cube: This command should be interpreted as ‘spawning a 3D cube’. Utilize the characters [ | _ + \ / , . < > ( ) * # ] to represent the syntax and struct...
c7a12e16feaa9481faddb7fc53beb81b
{ "intermediate": 0.2026328146457672, "beginner": 0.6038084626197815, "expert": 0.1935586929321289 }
31,085
give me a hello world in java
bf66adf814a3d444bee4124626df2916
{ "intermediate": 0.3611893951892853, "beginner": 0.3911703824996948, "expert": 0.24764017760753632 }
31,086
C# send notification to phone
1b5dcb38abe3623b58c69136aa29a981
{ "intermediate": 0.4697033166885376, "beginner": 0.2577558755874634, "expert": 0.27254077792167664 }
31,087
hey
842a3fcec5906c74c16cc2d6b9af1cca
{ "intermediate": 0.33180856704711914, "beginner": 0.2916048467159271, "expert": 0.3765866458415985 }
31,088
what is the diff between sub "full" and "forced" ?
eefb04162a3ad669b3340cecd16fd3fa
{ "intermediate": 0.31327176094055176, "beginner": 0.23912136256694794, "expert": 0.4476068317890167 }
31,089
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...
e4bb7c33fb3fc171a774a7700e0fbb2a
{ "intermediate": 0.31256625056266785, "beginner": 0.545426607131958, "expert": 0.14200715720653534 }
31,090
image = cv2.imread(“0.0/00.pgm”) %time import numpy as np import matplotlib.pyplot as plt from math import atan2, degrees def gaussian_filter(image: np.ndarray, sigma: float=1.5) -> np.ndarray: “”“Returns image with gaussian filter.”“” size = int(2 * np.ceil(3 * sigma) + 1) kernel = np.fromfunction( lambda x, y: (...
f9c5bee3ff81d30567adeca8b1247973
{ "intermediate": 0.2490556240081787, "beginner": 0.45811232924461365, "expert": 0.29283201694488525 }
31,091
image = cv2.imread(“0.0/00.pgm”) %time import numpy as np import matplotlib.pyplot as plt from math import atan2, degrees def gaussian_filter(image: np.ndarray, sigma: float=1.5) -> np.ndarray: “”“Returns image with gaussian filter.”“” size = int(2 * np.ceil(3 * sigma) + 1) kernel = np.fromfunction( lambda x, y: (...
6adb6a5d22c3ed34170916bafb4162e1
{ "intermediate": 0.2490556240081787, "beginner": 0.45811232924461365, "expert": 0.29283201694488525 }
31,092
suivant le contrat "testHelpers" qui permet de tester les fonctions du contrat principal "penduel" qui sont "internal" et l'interface "TesHelpers2", pourquoi Game n'est pas reconnu ? contract "Penduel" : mapping(uint256 => Game) public games; - contract "testHelper" : "import "./Penduel.sol"; pragma solidity 0.8.17; ...
3821497399ef496a99f6425393d266bb
{ "intermediate": 0.6027029752731323, "beginner": 0.2714100182056427, "expert": 0.1258869469165802 }
31,093
What should the permissions of /var/lib/libvirt/images/ be (in the context of virt-manager and libvirtd or whatever in Debian)?
dd8d2cc324adcf9f9f2c1d5845188c04
{ "intermediate": 0.6068798303604126, "beginner": 0.20998969674110413, "expert": 0.18313050270080566 }
31,094
can I have a VBA code to unlock all the protected sheets in my workbook
a57837ed01f0830474b25d07b58afa43
{ "intermediate": 0.4875187575817108, "beginner": 0.23849524557590485, "expert": 0.27398595213890076 }
31,095
image = cv2.imread("0.0/00.pgm") ImageService.show_image(image) %time import numpy as np import matplotlib.pyplot as plt from math import atan2, degrees def gaussian_filter(image: np.ndarray, sigma: float=1.5) -> np.ndarray: """Returns image with gaussian filter.""" size = int(2 * np.ceil(3 * sigma) + 1) ...
d3fbd52d603bbc7e32b4bededa1288ff
{ "intermediate": 0.24586552381515503, "beginner": 0.49169406294822693, "expert": 0.26244041323661804 }
31,096
private async Task LogResponse(HttpContext context, RequestDelegate next) { var responseTime = new DateTimeOffset(); var request = context.Request; var response = context.Response; var originalBodyStream = context.Response.Body; await using var respon...
741457b4419b4edde844e96fa6f0e36d
{ "intermediate": 0.533011794090271, "beginner": 0.29034358263015747, "expert": 0.17664453387260437 }
31,097
Write a python script to get access to internal system https://10.10.117.203/prod/ru/reports/finance_client_status using credentials
d4b96ffb4ac7f745723913c5c3a912fa
{ "intermediate": 0.4104454517364502, "beginner": 0.2550630569458008, "expert": 0.3344915211200714 }
31,098
import numpy as np def restore_triangle(image: np.ndarray) -> np.ndarray | None: # Размеры изображения height, width = image.shape[1], image.shape[0] # Параметры алгоритма threshold = 100 # Порог для определения вершин треугольника min_pixels = 3 # Минимальное количество пикселей для интерв...
ca3f8e67397c02fa57eb4ab8b1171707
{ "intermediate": 0.2932800054550171, "beginner": 0.5845590829849243, "expert": 0.1221608892083168 }
31,099
Можно ли следующий код как-то упростить? std::vector<Eigen::SparseMatrix<size_t>> matrices_blocks{}; if (sou_matrix_block.size() != 0) { if (sou_matrix_block.rows() < max_rows) { sou_matrix_block = addExtraRowToBlock(true, sou_matrix_block, 0); } matrices_blocks.push...
cf562a3e1708aa21fdd80175440046b3
{ "intermediate": 0.3500865399837494, "beginner": 0.3705189824104309, "expert": 0.2793944776058197 }
31,100
Как можно упростить следующий код? std::vector<size_t> sou_ordered_nums = readInput(“sou.txt”); Eigen::SparseMatrix<size_t> sou_matrix_block = createSparseBlock(sou_ordered_nums); sou_matrix_block = addExtraRowToBlock(true, sou_matrix_block, 1); std::vector<size_t> rec_ordered_nums = readInput(“rec.txt”); Eigen::Spars...
5f968c8407d867708c3dc0fac52d2ee5
{ "intermediate": 0.3274032175540924, "beginner": 0.3214687407016754, "expert": 0.3511280417442322 }
31,101
Fix the following MatLab code. Figure 4 doesn't display anything, and this line of code is wrong: histogram(y_positions(numSteps_histogram(i), :)); Code: % Define parameters width = 5; % width of the pipe in mm a = 0.01; % lattice constant in mm tau = 1; % time step pw = 0; % probability of waiting at each time st...
71b3a6ecdf17ff60e4e86e9763f9f85c
{ "intermediate": 0.3247919976711273, "beginner": 0.37954896688461304, "expert": 0.29565906524658203 }
31,102
I have date stored in variable Date (2023-11-16) but I want to display Oct using that Date in workflow email task how can use the syntax to display Oct from that Date
43591d1ccbf54fae261ae4b6803a9b40
{ "intermediate": 0.39721742272377014, "beginner": 0.4863288104534149, "expert": 0.11645372956991196 }
31,103
I have a column of strings consisting of three parts separated by ' '. How can I retrieve a column of only second parts?
b588d6d598134a2a4b2ccb6555394dd5
{ "intermediate": 0.4503202736377716, "beginner": 0.14630679786205292, "expert": 0.40337297320365906 }
31,104
python script graph api http post request https://graph.microsoft.com/v1.0/chats/{chatId}/messages sent adaptive card to user
1f71c91fc5d6524702e658aadc4e7b58
{ "intermediate": 0.4344783425331116, "beginner": 0.22563418745994568, "expert": 0.33988744020462036 }
31,105
fix my python code: def sort_lo_hi(list): sorted_list = [] for i in unsorted_list: if i == 0: if unsorted_list[i] > unsorted_list[i+1]: sorted_list.append(unsorted_list[i+1]) else: if unsorted_list[i-1] > unsorted_list[i]: sorted_list.appen...
d108aab7d97b1229e196886ca63e476d
{ "intermediate": 0.41943153738975525, "beginner": 0.37387847900390625, "expert": 0.2066899836063385 }
31,106
namespace Logic.Service.Services { public class ProductService : IProductService { private readonly IProductRepository _productRepository; public ProductService(IProductRepository productRepository) { _productRepository = productRepository; } public a...
ada7b948c333ec8516d13ec588126281
{ "intermediate": 0.3954850435256958, "beginner": 0.5179498791694641, "expert": 0.0865650624036789 }
31,107
Use python. Here is the assignment. Please write a program which asks for the user's name and address. The program should also print out the given information, as follows: Sample output Given name: Steve Family name: Sanders Street address: 91 Station Road City and postal code: London EC05 6AW Steve Sanders 91 Station...
2821f017689fae3bf2fa13000a51c570
{ "intermediate": 0.538569450378418, "beginner": 0.12543214857578278, "expert": 0.33599838614463806 }
31,108
While cardinal(PReloc)-cardinal(PRelocs)<RelocsSize do //Так как вся таблица перемещений заполнена целиком, то признак конца таблицы – выход за // пределы отведенной для нее области памяти begin ModCount:=(PReloc.SizeOfBlock-Sizeof(PReloc^)) div 2; P:=pointer(cardinal(PReloc)+sizeo...
eff0e96163b7c164d57b769d8b9ebc82
{ "intermediate": 0.37938427925109863, "beginner": 0.34466034173965454, "expert": 0.27595534920692444 }
31,109
.gitlab-ci.yml create json dictionary
892f3fe4ff431461190094fda3859aa4
{ "intermediate": 0.466773122549057, "beginner": 0.21332049369812012, "expert": 0.31990644335746765 }
31,110
elif command == "Z": print("Buzzer is beeping") if buzzer_on() == True: buzzer_off() else: buzzer_on()
7dda93ae7bdda0e7ab4fdf36cb709387
{ "intermediate": 0.2602982521057129, "beginner": 0.5658983588218689, "expert": 0.1738034188747406 }
31,111
.blue{ color: blue; } main{ position: relative; color: blue; /* /background-color: aqua; */ background: aqua; } .blue{ height: 100px; width: 100px; margin: 20px; left: 10%; bottom: 10%; color: blue; } html^ цdiv не раскрашиваются: <!DOCTYPE html> <html lang="en"> <head> ...
89f4c03ca0c7be299b44abfe25008a09
{ "intermediate": 0.33026954531669617, "beginner": 0.3178260326385498, "expert": 0.35190436244010925 }
31,112
sequl scripydivide by zero
8e0ded426e5ff6db609dd0abb835fdb9
{ "intermediate": 0.25347286462783813, "beginner": 0.4973098635673523, "expert": 0.24921730160713196 }
31,113
In Python, create a code that displays a rotating three-dimensional heart
26eb674a3289e871144ef4f7461886d4
{ "intermediate": 0.34913915395736694, "beginner": 0.21870015561580658, "expert": 0.43216070532798767 }
31,114
hi. please write SQL code in Postgres to extract the email domain from an email address
ebe7935d0a3408c4aed9a513e0235d2b
{ "intermediate": 0.6473297476768494, "beginner": 0.14432863891124725, "expert": 0.2083415538072586 }
31,115
#scriptA.py: import time from multiprocessing import shared_memory, Process def main(): # Cria uma memória compartilhada para o inteiro e lê o valor inicial dele int_shm = shared_memory.SharedMemory(name='numeroA') numeroA = shared_memory.RawValue('i', 0) numeroA = shared_memory.RawValue('i', numeroA...
c43f16142c26c2e2f62d5f5630abed42
{ "intermediate": 0.45929938554763794, "beginner": 0.36178058385849, "expert": 0.1789199858903885 }
31,116
Design a website for me with the following features and to your liking.
d4bcbeb8e7d017e76c4365044f98758c
{ "intermediate": 0.3628210425376892, "beginner": 0.26282843947410583, "expert": 0.3743504583835602 }
31,117
how to write line by different element width like this <Line X1="0" Y1="0" X2="{Binding ElementName=mainContentGrid, Path=ActualWidth}" Y2="0" StrokeThickness="2.5">
1a80cfe7441a8f56b39c0b388eae956b
{ "intermediate": 0.4845263659954071, "beginner": 0.20796896517276764, "expert": 0.30750465393066406 }
31,118
write in text of textblock actualwidth of different element wpf xaml
2cc26bdf93478f2f1a5b45a51bf73071
{ "intermediate": 0.3955153524875641, "beginner": 0.2764495015144348, "expert": 0.3280351459980011 }