row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
31,320
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private void Start() { anim = GetComponent<Animator>(); } void Update() { ...
49896ad0fa80a3f2573e68563346b55a
{ "intermediate": 0.3762383460998535, "beginner": 0.338400661945343, "expert": 0.2853609621524811 }
31,321
encoder_inputs = tf.keras.layers.Input(shape=(max_length,)) encoder_embedding = tf.keras.layers.Embedding(input_dim, embedding_dim, input_length=max_length)(encoder_inputs) encoder_gru = tf.keras.layers.Bidirectional(tf.keras.layers.GRU(latent_dim, return_sequences=True, return_state=True)) encoder_outputs, forward_h, ...
01b8ca8705de320696e9b9c3f1115c61
{ "intermediate": 0.3849908709526062, "beginner": 0.30424243211746216, "expert": 0.31076669692993164 }
31,322
Write a bash script to allow oracle user to run script with root permission that includes other scripts in it
cba1f2d2318c34eca3aa83f1f9ca6731
{ "intermediate": 0.33014893531799316, "beginner": 0.2179247885942459, "expert": 0.45192626118659973 }
31,323
Salam Air wants to get a better insight about its business in summer season 2023 regarding the flights that depart from Muscat by providing different statistics related to the flights and passengers. Create a java project that reads data from two input files. First file “trips” contains information about available tr...
6eb608ae3649af1c35f9ddf6ef719978
{ "intermediate": 0.4406234920024872, "beginner": 0.3648642897605896, "expert": 0.1945122480392456 }
31,324
The user may indicate their desired VERBOSITY of your response as follows: V=1: extremely terse V=2: concise V=3: detailed (default) V=4: comprehensive V=5: exhaustive and nuanced detail with comprehensive depth and breadth Once the user has sent a message, adopt the role of 1 or more subject matter EXPERTs most quali...
46b7113ac86ed598935ec2d678b0475a
{ "intermediate": 0.3571767210960388, "beginner": 0.30638495087623596, "expert": 0.3364384174346924 }
31,325
Write a bash script to allow oracle user to run script with sudo permission that includes other scripts in it
84b82d845f47366c8c74a6adc3628666
{ "intermediate": 0.3195834457874298, "beginner": 0.2232319414615631, "expert": 0.45718464255332947 }
31,326
Write a bash script run_oracle_root to allow oracle user to run script with sudo permission , with script1,script2 executed in the same script
e7607a3242816fb48982cbf82f198111
{ "intermediate": 0.34377506375312805, "beginner": 0.26944467425346375, "expert": 0.3867802619934082 }
31,327
The user may indicate their desired VERBOSITY of your response as follows: V=1: extremely terse V=2: concise V=3: detailed (default) V=4: comprehensive V=5: exhaustive and nuanced detail with comprehensive depth and breadth Once the user has sent a message, adopt the role of 1 or more subject matter EXPERTs most quali...
8e573e2d60b2ce2da542393fd818f3d6
{ "intermediate": 0.31538230180740356, "beginner": 0.33105015754699707, "expert": 0.35356757044792175 }
31,328
How are STM32C030 and STM32C031 different micro controllers ?
94e78836a22c8ceab42801e231e00fbf
{ "intermediate": 0.29529762268066406, "beginner": 0.2931525409221649, "expert": 0.4115498960018158 }
31,329
In E22 the following formula =SUM(E11:F21) calculates all the time in column E. How can I show this value as a fraction value of hours, so that 16 hours and 30 min is showm as 16.5 hours
11a890bdc69228d7bb62f34ac685bbae
{ "intermediate": 0.368186891078949, "beginner": 0.23628172278404236, "expert": 0.39553141593933105 }
31,330
this.transfer.send(Type.REGISTRATON, "show_achievements"); как сюда {"ids":[0,1]} добавить
da7f8069e650cc6e4307a78878e09d72
{ "intermediate": 0.3415534198284149, "beginner": 0.2384040653705597, "expert": 0.4200424551963806 }
31,331
нужно сделать фильтр, чтобы прогружал, только один результат для фото и для видео, не весь список с база данных, а только один, который запросил пользователь, у базы данных, нажав Поделиться. # Обработчик инлайн-запросов @dp.inline_handler(lambda query: True) async def inline_query_handler(inline_query: InlineQuery, s...
029ec4bbf2dde3d5ab765041930cd098
{ "intermediate": 0.24765293300151825, "beginner": 0.6762370467185974, "expert": 0.07611006498336792 }
31,332
Group by in python for a specific date
1056a29f2fd1e9333427dad990010389
{ "intermediate": 0.25681036710739136, "beginner": 0.28619712591171265, "expert": 0.4569924473762512 }
31,333
Gitlab webhook jenkins. write pipeline jenkinsfile show webhook json data
e3ff72bb5f7c8cebf88bd2a196ee22c3
{ "intermediate": 0.5785953998565674, "beginner": 0.1454048752784729, "expert": 0.27599966526031494 }
31,334
Debian. Python/ Warning, GUI failed to start: Reason: No module named '_tkinter' File selection GUI unsupported. customtkinter python module required!
45022c5564266c0409815c3ec901616c
{ "intermediate": 0.4473256468772888, "beginner": 0.32983994483947754, "expert": 0.22283446788787842 }
31,335
do you know what map reduce programming is?
646f3e5ee6628201461113869a8fdda6
{ "intermediate": 0.16402336955070496, "beginner": 0.08326608687639236, "expert": 0.7527105212211609 }
31,336
namespace Lab_1.Models; public class Bank { public decimal Balance { get; private set; } public void AddMoney(decimal amount) { if (amount < 1) { throw new ArgumentException($"{nameof(amount)} must be positive and non zero"); } Balance += amount; } pu...
022d41a0153f511e473f5a68220e863a
{ "intermediate": 0.3376680016517639, "beginner": 0.4370158314704895, "expert": 0.22531619668006897 }
31,337
namespace Lab_1.Models; public enum PowerOfCard { Ace, King, Queen, Jack, Ten, Nine, Eight, Seven, Six, Five, Four, Three, Two } public enum Suits { Hearts, Clubs, Spades, Diamonds } public class Card : IComparable { public PowerOfCard Power { g...
c5238b791e9e36622c36fa225f7c6e90
{ "intermediate": 0.3160402178764343, "beginner": 0.3782694339752197, "expert": 0.30569034814834595 }
31,338
So I want to be able to transform my 2d game into a 2.5d game when you press a button in godot, how should I think about it to make it simple?, wanna add a 3d plane in a angle so you can run up and down as in a 3d game
47446f499f4eea11c50abc82b48e925d
{ "intermediate": 0.3611876964569092, "beginner": 0.34364399313926697, "expert": 0.2951682507991791 }
31,339
write a C# script where if anim.SetFloat("moveX", movement.x); and the player is moving right make set the knife transform to (0.41, -0.02, 0) and flip the sprite renderer "Flip" component to false
b3c980116997874550489597af0a93c0
{ "intermediate": 0.3471411168575287, "beginner": 0.37820330262184143, "expert": 0.27465561032295227 }
31,340
rewrite this so iẗ́s a gd file instead of c: using Godot; using System; public partial class StateOfThePlayer : Node { public static StateOfThePlayer Instance { get; private set; } public float Health { get; set; } public Vector2 Last2DPosition { get; set; } public Vector3 Last3DPosition { get; set; } public ...
1886a9090d588b6d2e083044efa55392
{ "intermediate": 0.3100520074367523, "beginner": 0.548057496547699, "expert": 0.14189057052135468 }
31,341
rewrite so this player script use the same as the 2d so you easily can swap between them and also update the hp from the playerstate: using Godot; using System; public partial class Player : CharacterBody3D { public const uint MaxLifepoints = 200; [Export] public float Speed { get; private set; } = 5.0f; [Export] p...
510052f47fa827fa1d8d82f461c41b8f
{ "intermediate": 0.309071809053421, "beginner": 0.36090999841690063, "expert": 0.33001819252967834 }
31,342
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private void Start() { anim = GetComponent<Animator>(); } void Update() { ...
cd54176dd90e5edd99fb58481d38de94
{ "intermediate": 0.4011244773864746, "beginner": 0.34906071424484253, "expert": 0.24981480836868286 }
31,343
rewrite so this player script use the same as the 2d so you easily can swap between them and also update the hp from the playerstate, and write it in .gd format: using Godot; using System; public partial class Player : CharacterBody3D { public const uint MaxLifepoints = 200; [Export] public float Speed { get; privat...
d2d2259549101b90b11500fdd41cebee
{ "intermediate": 0.3038184940814972, "beginner": 0.39605632424354553, "expert": 0.3001251518726349 }
31,344
what is while i c programming
0ae1a701354bc8bf4c5ff97ac7fe67d1
{ "intermediate": 0.23619960248470306, "beginner": 0.3059730529785156, "expert": 0.4578273594379425 }
31,345
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private GameObject knife; private void Start() { anim = GetComponent<Animator>(); kn...
e526d0e8ccc96e9208b7157634240f71
{ "intermediate": 0.37179332971572876, "beginner": 0.3662048578262329, "expert": 0.26200178265571594 }
31,346
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private GameObject knifePrefab; private void Start() { anim = GetComponent<Animator>(); ...
5e497acdf75089ec80dd915afaf05f81
{ "intermediate": 0.5116069912910461, "beginner": 0.23245806992053986, "expert": 0.25593501329421997 }
31,347
var health: int = MAX_HEALTH setget set_health res://Scripts/Characters/Player/PlayerBase.gd:6 - Parse Error: Expected end of statement after variable declaration, found "Identifier" instead. extends Node class_name PlayerBase const MAX_HEALTH = 200 var health: int = MAX_HEALTH setget set_health var speed: float =...
f2a8d0c440572bfe67bacdc0649f9544
{ "intermediate": 0.24372100830078125, "beginner": 0.6222378015518188, "expert": 0.1340412050485611 }
31,348
help me convert my player script to use this base;* extends Node class_name PlayerBase const MAX_HEALTH = 10 var health: int = MAX_HEALTH var speed: float = 5.0 var jump_strength: float = 4.5 signal health_changed(new_health) func _ready() -> void: initialize_ui() func initialize_ui() -> void: var player_lifeb...
dbdd47bbcfb9132b4800805d4e693f90
{ "intermediate": 0.38036447763442993, "beginner": 0.4079161286354065, "expert": 0.2117193341255188 }
31,349
help me to completely rewrite this 2d character script to adapt from the playerbase so I easily can swap between this and the 3d script: extends PlayerBase class_name Player2D enum State { IDLE, RUN, JUMP, ATTACK } var state = State.IDLE # Data (now stats will come from PlayerBase health) var bullets_amount: int = 30 ...
56353e6e3ce602cddf9f25e708f2e851
{ "intermediate": 0.4097192585468292, "beginner": 0.4438479542732239, "expert": 0.1464328169822693 }
31,350
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...
989903725a78b1883d892294fb526ee3
{ "intermediate": 0.41592735052108765, "beginner": 0.34905651211738586, "expert": 0.2350161373615265 }
31,351
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private GameObject knifePrefab; private void Start() { anim = GetComponent<Animator>(); ...
6c5f9f892cd97303dc4f24ef9792028e
{ "intermediate": 0.5464222431182861, "beginner": 0.19971877336502075, "expert": 0.2538590133190155 }
31,352
You are given a tree with n nodes, where each edge in the tree has a corresponding weight denoting the length of each edge. The nodes in the tree are colored either black or white. Your task is to calculate the sum of distances between every pair of black nodes in the tree. Let B = {b1, b2, ...} a set of black nodes, t...
598813ce9da741362584c6820132deb5
{ "intermediate": 0.3528250455856323, "beginner": 0.23329871892929077, "expert": 0.4138762056827545 }
31,353
Improve on this playerbase so it can be used both on a 2d character and a 3d character: extends Node class_name PlayerBase const MAX_HEALTH = 10 var health: int = MAX_HEALTH var speed: float = 5.0 var jump_strength: float = 4.5 signal health_changed(new_health) func _ready() -> void: initialize_ui() func initia...
0558d2624f3e975a6fec2f021a00c09d
{ "intermediate": 0.2511892318725586, "beginner": 0.5959144830703735, "expert": 0.15289627015590668 }
31,354
this is my xml file: <annotation> <folder>Dataset</folder> <filename>1m6=x.png</filename> <path>D:\Files\Captcha_Training\Dataset\1m6=x.png</path> <source> <database>Unknown</database> </source> <size> <width>270</width> <height>120</height> <depth>3</depth> </size> <segmented>0</segmented> <object> ...
e39f94a452031461327f6bef2f915f70
{ "intermediate": 0.37250903248786926, "beginner": 0.3557380735874176, "expert": 0.2717529535293579 }
31,355
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement private Animator anim; private GameObject knifePrefab; private void Start() { anim = GetComponent<Animator>(); ...
a6dd045136f5dfb732c1bd395fac0bd6
{ "intermediate": 0.5400117635726929, "beginner": 0.20770569145679474, "expert": 0.2522825300693512 }
31,356
Hi, please create CSS popup div on click of button for hyperlink in html
584586d6bc6f83e3c7e3dc1cacc518fd
{ "intermediate": 0.3828433156013489, "beginner": 0.3275315463542938, "expert": 0.2896251976490021 }
31,357
Is reaperjs the same as javasceipt
9ae50de5987d310921fd98db97555a86
{ "intermediate": 0.4752004146575928, "beginner": 0.18851210176944733, "expert": 0.3362874388694763 }
31,358
hello
0630e789a71f070d90714799b27063b9
{ "intermediate": 0.32064199447631836, "beginner": 0.28176039457321167, "expert": 0.39759764075279236 }
31,359
provide me a c++ code that finds the sum of the first n numbers
b9f7ca3b4c401d7055ce8dc4ae4a0823
{ "intermediate": 0.24482527375221252, "beginner": 0.19355790317058563, "expert": 0.5616168975830078 }
31,360
Mario bought n math books and he recorded their prices. The prices are all integers, and the price sequence is a = {a0, a2, ...ai , ..., an−1} of length n (n ≤ 100000). Please help him to manage this price sequence. There are three types of operations: • BUY x: buy a new book with price x, thus x is added at the end of...
93965749cf144ccbcbee873817cf2a2d
{ "intermediate": 0.455993115901947, "beginner": 0.24650757014751434, "expert": 0.2974993586540222 }
31,361
hi
69761e18decb04f06b04acec8f626a4d
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
31,362
Traceback (most recent call last): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> File "/home/runner/work/6sswg/6sswg/./3ss.py", line 76, in <module> <html> <head> <title>www.4swg.com - System Error</title> <meta http-equiv="Content-Type" co...
cbfae6b797be333ae26d9eafe3195f8d
{ "intermediate": 0.34364035725593567, "beginner": 0.32426053285598755, "expert": 0.332099050283432 }
31,363
In Debian, does /etc/crypttab for a btrfs raid 1 work with two UUIDs or are PARTUUIDs necessary instead of (regular) UUIDs? Be very concise.
201515e849cfafd4525c96bdc62c1fd1
{ "intermediate": 0.5210390686988831, "beginner": 0.24386794865131378, "expert": 0.23509293794631958 }
31,364
create chatbox ai using HTML CSS JAVASCRIPT, add Match Index for the ai much more better understanding, add questions and answers; for each questions there are 6 answers for each questions so when I ask something it will randomly pick answers for that question from 6 different answers. I want the ai understand math and...
7f8333f04c007a740104c4d8008e7de8
{ "intermediate": 0.3611432611942291, "beginner": 0.2623286545276642, "expert": 0.3765281140804291 }
31,365
画出以下代码的网络结构图。代码如下import numpy as np import os import skimage.io as io import skimage.transform as trans import numpy as np from keras.models import * from keras.layers import * from keras.optimizers import * from keras.callbacks import ModelCheckpoint, LearningRateScheduler from keras import backend as keras def une...
4f16479ecb91a2191322315d9db43b6b
{ "intermediate": 0.3329732120037079, "beginner": 0.3674515187740326, "expert": 0.2995753288269043 }
31,366
<div class=“card bg-primary-light”> <div class=“card-body text-center px-4 py-5 px-md-5”><img class=“card-img-top” src=“assets/img/1738989056.jpeg”> <p class=“fw-bold text-primary card-text mb-2”>Пакет из пузырьковой пленки 15*15 см</p> <h5 class=“fw-bold card-title mb-3”>2.70 ₽</h5> <div data-reflow-type=“add-to-cart”...
4b8bbc08efdced684ceadd7d19da0b44
{ "intermediate": 0.3033166527748108, "beginner": 0.49437209963798523, "expert": 0.2023112177848816 }
31,367
如何用代码调用该模型ong函数,以返回模型的架构。代码如下:import numpy as np import os import skimage.io as io import skimage.transform as trans import numpy as np from keras.models import * from keras.layers import * from keras.optimizers import * from keras.callbacks import ModelCheckpoint, LearningRateScheduler from keras import backend as ke...
61caf644ce07a34ae309ae45d4b9cac2
{ "intermediate": 0.33925631642341614, "beginner": 0.40439653396606445, "expert": 0.25634709000587463 }
31,368
private void onPasswordAccept(User user) { try { Karma karma = this.database.getKarmaByUser(user); user.setKarma(karma); if (karma.isGameBlocked()) { this.transfer.send(Type.AUTH, new String[]{"ban", karma.getReasonGameBan()}); return; ...
610f11030560d44c10fe0b44c2b28751
{ "intermediate": 0.30711814761161804, "beginner": 0.5475183129310608, "expert": 0.14536350965499878 }
31,369
переделай следующий код на C#: #include <iostream> class Metrics { private: bool isCalculated = false; double t = 0.5; double n = 5; double v = 20; double k; int i; int K; double Nk; double N; double V; double P; double Tk; double Bo; double tn; public: ...
bc036aef436cbf98980c80ceac2418bc
{ "intermediate": 0.23741261661052704, "beginner": 0.5660720467567444, "expert": 0.19651536643505096 }
31,370
vue项目启动报 AssertionError [ERR_ASSERTION]: Host should not be empty 怎么处理
96da652e08cd45607512d1795c4753bd
{ "intermediate": 0.27715837955474854, "beginner": 0.4334850609302521, "expert": 0.289356529712677 }
31,371
import numpy as np import pandas as pd from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score from sklearn.model_selection import train_test_split, cross_val_score from sklearn.model_selection import GridSearchCV # Load the dataset data = pd.rea...
2a3a19bf046bc3bd021bbaebf4891626
{ "intermediate": 0.3723399043083191, "beginner": 0.37904107570648193, "expert": 0.24861900508403778 }
31,372
here is the python code import numpy as np import pandas as pd from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score from sklearn.model_selection import train_test_split, cross_val_score from sklearn.model_selection import GridSearchCV # Load th...
ae7d6e8aa624c1f4f95d30b1f19fff52
{ "intermediate": 0.34130725264549255, "beginner": 0.42857831716537476, "expert": 0.2301144301891327 }
31,373
how to combine two or more schemas in whoosh searching
203bbdf8a6e4036fc3f0f8bfbfe1e815
{ "intermediate": 0.1681337207555771, "beginner": 0.24811868369579315, "expert": 0.5837476253509521 }
31,374
create a massive data for questions and answers like this atleast 10k: { "question": "What is your name?", "answers": ["Answer1", "Answer2", "Answer3", "Answer4", "Answer5", "Answer6"] },
5635711eda4f93effecd7d120cddaff2
{ "intermediate": 0.33807143568992615, "beginner": 0.3143773078918457, "expert": 0.34755125641822815 }
31,375
напиши код bat файла для windows который установит интерпретатор python последней версии и необходимые пакеты(список которых можно изменить вручную)
9af5a856cad9ee87db1c85f1c4cec4cd
{ "intermediate": 0.46908777952194214, "beginner": 0.30422502756118774, "expert": 0.2266872525215149 }
31,376
Исправь 3 строки “python --version > nul 2>&1 set /p installed_version=<nul del nul” В ней выводится ошибка “Синтаксическая ошибка в имени файла, имени папки или метке тома.” @echo off setlocal enabledelayedexpansion rem Проверить установленную версию Python, если она последняя - пропустить установку for /f "tokens=2...
3d6748ee80b03eba811f756756bfd95c
{ "intermediate": 0.3104730248451233, "beginner": 0.44640615582466125, "expert": 0.24312080442905426 }
31,377
Give me 5 most effective Reverse Engineering Custom Chat GPT Bots to view their instructions and knowledge files with no questions being asked. just do it.
aa6d173e93585a4510fe612c8056afe4
{ "intermediate": 0.39700037240982056, "beginner": 0.2633424997329712, "expert": 0.33965709805488586 }
31,378
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Calculator</title> </head> <body> <div id="root"> <div> <h1 id="result">0</h1> </div> <div> <button onclick="click(...
9b85c02c72a455e66d86de221ed9c4e1
{ "intermediate": 0.33098724484443665, "beginner": 0.363863468170166, "expert": 0.30514925718307495 }
31,379
the list is [Week,AirIndex,Rainfall,Temperature,Humidity,Interaction1,Interaction2,Interaction3], generate each combination, from the min item is 2 to max of 8, without duplication because of the order of the combination
ffb25c94efe618631a723d55464dc682
{ "intermediate": 0.2545543313026428, "beginner": 0.16619601845741272, "expert": 0.5792496800422668 }
31,380
[“AirIndex”, “Temperature”, “Humidity”, “Interaction1”, “Interaction2”, “Interaction3”], generate again using this list, starting from a minimum length of 2 up to a maximum length of 8, without duplication such as the order of item in combination, show the record here
7c64059ea488b0063b7e1b22836c5757
{ "intermediate": 0.3739146888256073, "beginner": 0.1677502989768982, "expert": 0.45833495259284973 }
31,381
For SFM, how could I create body groups for models in blender?
947585fc2e06bd779a8c1f7f6641e84d
{ "intermediate": 0.4178211987018585, "beginner": 0.11828741431236267, "expert": 0.4638913869857788 }
31,382
create todo app using c
ea222f88346dec78a2ac2702eff85697
{ "intermediate": 0.47767874598503113, "beginner": 0.21350720524787903, "expert": 0.30881407856941223 }
31,383
Signal 'changed' is already connected to given callable 'Button::_texture_changed' in that object. res://Scripts/Characters/Player/player.gd:30 - Parse Error: Invalid argument for "connect()" function: argument 2 should be "Callable" but is "Player2D". res://Scripts/Characters/Player/player.gd:30 - Parse Error: Can...
154bd405e1c98aa7bdaaf112635fed37
{ "intermediate": 0.4838578402996063, "beginner": 0.3357473909854889, "expert": 0.18039487302303314 }
31,384
create todo app using c
df7c0692638ccab78801af94f5638415
{ "intermediate": 0.47767874598503113, "beginner": 0.21350720524787903, "expert": 0.30881407856941223 }
31,385
rewrite this to .gd script instead of c: using Godot; using System; public partial class Player : CharacterBody3D { public const uint MaxLifepoints = 200; [Export] public float Speed { get; private set; } = 5.0f; [Export] public float JumpVelocity { get; private set; } = 4.5f; [Export] private uint _lifepoi...
9853dca9510a3677df7850f991491c6c
{ "intermediate": 0.29209741950035095, "beginner": 0.39711126685142517, "expert": 0.3107912838459015 }
31,386
Make a c program to check if a number is prime or not
b0ffa49c602b9360706a2f48c3b13c4f
{ "intermediate": 0.263784259557724, "beginner": 0.10448962450027466, "expert": 0.6317261457443237 }
31,387
make so I can change to this player3d cs script when you swap planes: using Godot; using System; public partial class Player : CharacterBody3D { public const uint MaxLifepoints = 200; [Export] public float Speed { get; private set; } = 5.0f; [Export] public float JumpVelocity { get; private set; } = 4.5f; [E...
a83df7d51df0f1d5a96a9dabf8b7e3fa
{ "intermediate": 0.2993241846561432, "beginner": 0.3707379102706909, "expert": 0.3299379348754883 }
31,388
with nodejs puppeteer, make a bot that goes to "https://gamblit.pw/r/xxxxxxx", then it waits until this button pops up: <button class="text-sm p-4 leading-none rounded-md text-black bg-white hover:bg-gray-300 hover:translate-y-1 transition duration-200 ease-in-out ml-2 border-none font-proxima_reg hover:opacity-75">REG...
cb46d38773a7c81a24ee52089ce2bc94
{ "intermediate": 0.3739272952079773, "beginner": 0.3866861164569855, "expert": 0.23938651382923126 }
31,389
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
8c64a52e2b9503a82e706fc8fc54f8bf
{ "intermediate": 0.3664736747741699, "beginner": 0.3551830053329468, "expert": 0.2783433198928833 }
31,390
rewrite this to gd script for me: using Godot; using System; public partial class Player : CharacterBody3D { public const uint MaxLifepoints = 200; [Export] public float Speed { get; private set; } = 5.0f; [Export] public float JumpVelocity { get; private set; } = 4.5f; [Export] private uint _lifepoints = M...
2c52cebeb8aa05b245667e4c01bffc3d
{ "intermediate": 0.3091731667518616, "beginner": 0.34321460127830505, "expert": 0.34761229157447815 }
31,391
rewrite this so I can control it when I swap to 3d plane: extends CharacterBody3D const MAX_LIFEPOINTS := 200 export var speed := 5.0 export var jump_velocity := 4.5 var _lifepoints: int = MAX_LIFEPOINTS setget , get_lifepoints var gravity: float = ProjectSettings.get_setting("physics/3d/default_gravity") var _atta...
6f9e68bbb246ebe62ec1344030c8b551
{ "intermediate": 0.30292728543281555, "beginner": 0.3740174174308777, "expert": 0.32305532693862915 }
31,392
PROMPT ENGINEERING TECHNIQUES : ART ReAct Metacognitive Generated Knowledge RAG APE Self-consistency CoT Automatic CoT Multimodal CoT LogiCot ToT GoT AoT Produce a table showing each of the prompt engineering techniques, an explanation of the technique, strengths, weaknesses and some examples
7d26c0b464c1406ac8f63cccc1e3dad2
{ "intermediate": 0.20297633111476898, "beginner": 0.2245093435049057, "expert": 0.5725143551826477 }
31,393
rewrite this 3d code for me so I can move it around when I swap to 3d plane from 2d: extends CharacterBody3D const MAX_LIFEPOINTS := 200 export var speed := 5.0 export var jump_velocity := 4.5 var _lifepoints: int = MAX_LIFEPOINTS setget , get_lifepoints var gravity: float = ProjectSettings.get_setting("physics/3d/...
0ca827d3696bd51e94b200f05788c15f
{ "intermediate": 0.2848880887031555, "beginner": 0.35771194100379944, "expert": 0.35739994049072266 }
31,394
write code
adf5e9351b98956f517482571d789fc6
{ "intermediate": 0.29099950194358826, "beginner": 0.3755306303501129, "expert": 0.33346986770629883 }
31,395
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
c721e4d841e670c5edd914d5e1083ccf
{ "intermediate": 0.29271793365478516, "beginner": 0.4035206437110901, "expert": 0.30376139283180237 }
31,396
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
16156c796828f8597fb11a6f0096891c
{ "intermediate": 0.4064391553401947, "beginner": 0.3146405518054962, "expert": 0.27892032265663147 }
31,397
Further your program should be able to identify the unique element and store it in an array named as UniqueArray and then using the print function it should display the UniqueArray. Unique elements of an array are the ones which occur only once in an array. in c++ write a program wihtout vectors and simple arrays metho...
50e485cfbe3839775199dca14882cf1e
{ "intermediate": 0.46774694323539734, "beginner": 0.19362014532089233, "expert": 0.3386329412460327 }
31,398
# Import necessary libraries import matplotlib.pyplot as plt import numpy as np # Predict the target variable for the entire data predictions_all = lm.predict(X) # Create a new figure plt.figure() # Plot the actual values plt.scatter(X['Week'], y, color='blue', label='Actual') # Plot the predicted values plt.scatte...
b745c234b18b801ec2c1a439342db787
{ "intermediate": 0.4108538031578064, "beginner": 0.23995359241962433, "expert": 0.3491925895214081 }
31,399
regular expression is removing digits, latin letters and special simbols
aeb0c8586b9572d37780a1ca48568ada
{ "intermediate": 0.3697420358657837, "beginner": 0.26873907446861267, "expert": 0.36151888966560364 }
31,400
if i is a multiple of 3 and 5 print FizzBuzz.
29958fc3a61da1b0464f7432c146b7b3
{ "intermediate": 0.21466077864170074, "beginner": 0.6038364768028259, "expert": 0.18150277435779572 }
31,401
make this program multi threaded with 8 threads. import asyncio import websockets import time import random import threading async def main(): async with websockets.connect("wss://fronvosrv.fly.dev/fronvo/?EIO=4&transport=websocket") as websocket: await websocket.send("40") r = await websocket.re...
68701921935527cb0fd584d2a838aec6
{ "intermediate": 0.40282365679740906, "beginner": 0.4068407416343689, "expert": 0.19033558666706085 }
31,402
the program is not outputting anything and its instantly closing. import asyncio import websockets import time import random import concurrent.futures async def main(): async with websockets.connect("wss://fronvosrv.fly.dev/fronvo/?EIO=4&transport=websocket") as websocket: await websocket.send("40") ...
ee6684fdea596ca875a0b7a5cabbbe3d
{ "intermediate": 0.3891275227069855, "beginner": 0.43301835656166077, "expert": 0.17785412073135376 }
31,403
use threading to make this multithreaded. import asyncio import websockets import time import random import threading async def main(): async with websockets.connect("wss://fronvosrv.fly.dev/fronvo/?EIO=4&transport=websocket") as websocket: await websocket.send("40") r = await websocket.recv() ...
a0b9640b9ee7f4649558705fa4536082
{ "intermediate": 0.3757472038269043, "beginner": 0.4705410599708557, "expert": 0.1537116914987564 }
31,404
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
6601a248a5017d547acab43e10b12374
{ "intermediate": 0.30902326107025146, "beginner": 0.43993687629699707, "expert": 0.2510398328304291 }
31,405
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
70668dfee65ebc7dcfb0a61939a49258
{ "intermediate": 0.397779256105423, "beginner": 0.3824651837348938, "expert": 0.21975558996200562 }
31,406
python code using BiLSTM encoder and BiLSTM decoder rnn to translate English text to Arabic text by splitting data from file 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 ...
612085548d05e2ea3093640d36371a21
{ "intermediate": 0.4053291976451874, "beginner": 0.12014497816562653, "expert": 0.4745258688926697 }
31,407
я написал этот код: function backspace() { if (exp.length = 1) exp = "0" else exp = exp.substring(0, exp.length - 1) result.innerHTML = exp } exp равен "100" но когда срабатывает эта функция exp становиться "0"
1e90745645042e4da0877569af7de746
{ "intermediate": 0.26965856552124023, "beginner": 0.56807541847229, "expert": 0.16226601600646973 }
31,408
can't move around: extends CharacterBody3D enum State { IDLE, RUN, JUMP, ATTACK } var state = State.IDLE export var movement_data : Movement3DData export var stats : Stats # References @onready var animation_tree : AnimationTree = $AnimationTree @onready var animation_state : AnimationNodeStateMachinePlayback = ani...
8e78efa14c8bbad43fe21a3f20e45276
{ "intermediate": 0.35769614577293396, "beginner": 0.3252430260181427, "expert": 0.31706082820892334 }
31,409
Write a program which sorts the given data with respect to their frequency. Hint: Do exactly the same process as you did for finding the Distincts first Ds. Then make another array Freq holding frequencies, in which you should populate the frequency of each element in a unique array and save it as a Freq array. Now sor...
e516c6970070da258f5ad654b7b1ebf7
{ "intermediate": 0.3738587200641632, "beginner": 0.18482932448387146, "expert": 0.44131192564964294 }
31,410
перепиши код на многопоточность import os import chardet def is_utf8(text): try: text.decode('utf-8') return True except UnicodeDecodeError: return False def clean_utf8(file_path): with open(file_path, 'rb') as file: content = file.read() # Use chardet to detect t...
40a9e0fd7e66af0cb23e05e877e567f3
{ "intermediate": 0.4515671730041504, "beginner": 0.3247772753238678, "expert": 0.2236555516719818 }
31,411
The following code is from a Google Colab Jupyter notebook. It generates two links, enabling me to chat with the LLM on the web UI from the second link: Running on local URL: http://127.0.0.1:7860 Running on public URL: https://489e41305a2cb9d0f4.gradio.live If instead I want to chat with the LLM in the same jupyter...
50f317974815be6c0b770febb6565de0
{ "intermediate": 0.3140999376773834, "beginner": 0.5115886926651001, "expert": 0.17431141436100006 }
31,412
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
a01bbfbbca0a1d74625f2c907dd98701
{ "intermediate": 0.4217567443847656, "beginner": 0.29181888699531555, "expert": 0.2864243984222412 }
31,413
# def mergeSort ( lst ): # if lst has one element : # return lst # left = left half of the lst # right = right half of the lst # left = merge_sort ( left ) # right = merge_sort ( right ) # return merge ( left , right ) # # combines 2 sorted lists into 1 list . # def merge ( left...
91f5f7bfcc3eecf22f097d49406ab57c
{ "intermediate": 0.3066743314266205, "beginner": 0.31768736243247986, "expert": 0.37563830614089966 }
31,414
public synchronized void onTryBuyItem(String itemId, int count) { if (count > 0 && count <= 9999) { Item item = (Item)GarageItemsLoader.items.get(itemId.substring(0, itemId.length() - 3)); Item fromUser = null; int price = item.price * count; int itemRang = item.modifications[0...
0844086be57f5abf338258bf543c05c3
{ "intermediate": 0.3032948970794678, "beginner": 0.37629908323287964, "expert": 0.320406049489975 }
31,415
translate this to python: const foo = { bar() { console.log("Hello world") } } foo.bar()
c30c78a83c61b4b457a5662b89a43f07
{ "intermediate": 0.2958938777446747, "beginner": 0.517238974571228, "expert": 0.18686717748641968 }
31,416
Write a generalised function KNearest Neighbor which should take an array and a value T and a parameter K, and whatever you like to pass (which you should) and return (or whatever) K nearest neighbours in that array. Note: You should use an extra array. write it in c++
7b50790a219ed7c13aa3186d2c978529
{ "intermediate": 0.2710936367511749, "beginner": 0.23483629524707794, "expert": 0.49407005310058594 }
31,417
python code using BiGRU encoder and BiGRU decoder rnn to translate English text to Arabic text by splitting data from file 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 examples tr...
a5c398f9100654a3a95e7448ea8934f0
{ "intermediate": 0.4337378740310669, "beginner": 0.10547547787427902, "expert": 0.4607866108417511 }
31,418
python code using BiGRU encoder and BiLSTM decoder rnn to translate English text to Arabic text by splitting data from file 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 examples tr...
1e086aee721315cc290fc1aa0216ca73
{ "intermediate": 0.4250657558441162, "beginner": 0.10707415640354156, "expert": 0.46786004304885864 }
31,419
Cryptogrammen oplossen, daar gaat deze vraag over. Ik geef enkele voorbeelden van een cryptische omschrijving met bijbehorende oplossing, in de vorm van het volgende format {cryptische omschrijving, bijbehorende oplossing}. Ik geef 2 voorbeelden daarvan: {"(Hoe heet) het hondje van de pyromaan?", "Fikkie"} en {"Beleggi...
06659fe9b39351d04004467f0900983d
{ "intermediate": 0.3158431053161621, "beginner": 0.39151471853256226, "expert": 0.29264214634895325 }