row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
22,505
The problem is that the password in your connection string contains the 'at' symbol, @. This is interpreted as marking the end of the password and the beginning of the hostname. The quick solution is to replace the first @ symbol with %40. The connection string is a kind of URI and %40 is the URI encoding of @ (it will be converted into the correct symbol when the password is processed). In general you can encode any string in a URI-safe manner as follows, working in Python: import urllib.parse encoded = urllib.parse.quote_plus(unencoded)
e8e7cfb5fe11891049e3931e1e7ddbfa
{ "intermediate": 0.40690481662750244, "beginner": 0.2157227247953415, "expert": 0.3773724138736725 }
22,506
Write a python program that watches the file ~/question.txt every second, and if it has changed since the last check, run the shell command "cat ~/question.txt".
aca13221c6ad832ed291d3eda3a6e7ae
{ "intermediate": 0.4000428318977356, "beginner": 0.281412273645401, "expert": 0.3185448944568634 }
22,507
Example of setTime methods
680ff466fe70f8a664b555c3b6f2c85b
{ "intermediate": 0.3413507342338562, "beginner": 0.26485469937324524, "expert": 0.39379453659057617 }
22,508
using bootstrap5 and react.js, I wanna make an text area with 20 rows and 30 columns. but cols and rows attribute is not working
7add95cb8454565444d2d1650211320e
{ "intermediate": 0.6074712872505188, "beginner": 0.18184027075767517, "expert": 0.21068839728832245 }
22,509
i have an api call to https://api.mcstatus.io/v2/status/java/Galacticraft.us with response: {"online":true,"host":"Galacticraft.us","port":25565,"ip_address":"73.105.120.149","eula_blocked":false,"retrieved_at":1698232676786,"expires_at":1698232736786,"version":{"name_raw":"Purpur 1.20.2","name_clean":"Purpur 1.20.2","name_html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003ePurpur 1.20.2\u003c/span\u003e\u003c/span\u003e","protocol":764},"players":{"online":2,"max":100,"list":[{"uuid":"0241f14c-724b-4aeb-b918-8fe7692d37e0","name_raw":"Thabael","name_clean":"Thabael","name_html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003eThabael\u003c/span\u003e\u003c/span\u003e"},{"uuid":"c9f676f6-ea29-4038-90b0-de9e15c0f00e","name_raw":"x1HANDED_BILLS","name_clean":"x1HANDED_BILLS","name_html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003ex1HANDED_BILLS\u003c/span\u003e\u003c/span\u003e"}]},"motd":{"raw":"§\u0000","clean":"","html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003e\u003c/span\u003e\u003c/span\u003e"},"icon":null,"mods":[],"software":"Purpur on 1.20.2-R0.1-SNAPSHOT","plugins":[{"name":"ViaVersion","version":"4.8.1"},{"name":"LuckPerms","version":"5.4.102"},{"name":"Vault","version":"1.7.3-b131"},{"name":"FastAsyncWorldEdit","version":"2.8.2-SNAPSHOT-593,0566bd3"},{"name":"Essentials","version":"2.21.0-dev+18-fdf1875"},{"name":"WorldGuard","version":"7.0.9+5934e49"},{"name":"PlaceholderAPI","version":"2.11.4"},{"name":"EssentialsSpawn","version":"2.21.0-dev+18-fdf1875"},{"name":"RoseStacker","version":"1.5.14"},{"name":"IridiumSkyblock","version":"4.0.7"},{"name":"DecentHolograms","version":"2.8.4"},{"name":"Votifier","version":"2.7.3"},{"name":"Multiverse-Core","version":"4.3.1-b861"},{"name":"AureliumSkills","version":"Beta"},{"name":"CoreProtect","version":"22.2"},{"name":"InvSeePlusPlus","version":"0.24.1"},{"name":"floodgate","version":"2.2.2-SNAPSHOT"},{"name":"VotingPlugin","version":"6.14.1"},{"name":"spark","version":"1.10.55"},{"name":"XVaults","version":"1.1.0"},{"name":"WorldGuardExtraFlags","version":"4.2.2"},{"name":"WorldEditSelectionVisualizer","version":"2.1.5"},{"name":"VoidTeleport","version":"2.4.2"},{"name":"ViaRewind","version":"3.0.0"},{"name":"VeinMiner","version":"2.1.1"},{"name":"TreeFeller","version":"1.22.1"},{"name":"TheMultiWorldMoney","version":"2.3.8"},{"name":"TerraformGenerator","version":"11.1.1"},{"name":"TabList","version":"5.7.4"},{"name":"StayPut","version":"2.0.0"},{"name":"SepareWorldItems","version":"1.2.20"},{"name":"PlugManX","version":"2.3.5"},{"name":"PerWorldHomes","version":"2.3"},{"name":"PerWorldCommands","version":"1.2.0"},{"name":"ParticleHats","version":"4.4.1"},{"name":"OnePlayerSleep","version":"1.0-SNAPSHOT"},{"name":"NoEndermanGrief","version":"1.14_1.0.7"},{"name":"LPC","version":"3.6.0"},{"name":"InvSeePlusPlus_Give","version":"0.24.1"},{"name":"InvSeePlusPlus_Clear","version":"0.24.1"},{"name":"HPWP","version":"1.7.3"},{"name":"Geyser-Spigot","version":"2.2.0-SNAPSHOT"},{"name":"ExplosionRegeneration","version":"1.4.9"},{"name":"EssentialsChat","version":"2.21.0-dev+18-fdf1875"},{"name":"DropXP","version":"1.3.1"},{"name":"DeluxeMenus","version":"1.13.7-Release"},{"name":"CraftBook","version":"3.10.9,4793-1ce0146"},{"name":"CommandTimer","version":"8.4.0"},{"name":"CommandPanels","version":"3.19.1.5"},{"name":"ClearLag","version":"3.2.2"},{"name":"Chunky","version":"1.3.92"},{"name":"BlueSlimeCore","version":"2.9.3.371"},{"name":"BedrockPlayerManager","version":"1.4"},{"name":"BanItem","version":"3.5"}],"srv_record":{"host":"galacticraft.us","port":25565}} make a python bot that sends a webhook every time there is a player joining and leaving the server, you see name_raw field in list of players, make use of that
c397bb400647e1dae486bcebf15de045
{ "intermediate": 0.41157257556915283, "beginner": 0.3908438980579376, "expert": 0.19758351147174835 }
22,510
get players list from this, it's empty at the moment. python code {"online":true,"host":"147.135.125.35","port":25565,"ip_address":"147.135.125.35","eula_blocked":false,"retrieved_at":1698232437295,"expires_at":1698232497295,"version":{"name_raw":"Paper 1.20.1","name_clean":"Paper 1.20.1","name_html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003ePaper 1.20.1\u003c/span\u003e\u003c/span\u003e","protocol":763},"players":{"online":0,"max":100,"list":[]},"motd":{"raw":"§\u0000AmV10z","clean":"AmV10z","html":"\u003cspan\u003e\u003cspan style=\"color: #ffffff;\"\u003eAmV10z\u003c/span\u003e\u003c/span\u003e"},"icon":null,"mods":[],"software":"Paper on 1.20.1-R0.1-SNAPSHOT","plugins":[{"name":"squaremap","version":"1.1.16"},{"name":"StreamMC","version":"1.0"},{"name":"voicechat","version":"2.4.24"},{"name":"squaremarker","version":"1.0.4"},{"name":"BlueMap","version":"3.16"},{"name":"LuckPerms","version":"5.4.98"}],"srv_record":null} request is from https://api.mcstatus.io/v2/status/java/147.135.125.35
729c6b1a0edf653aa43f371bcb2f46f0
{ "intermediate": 0.41269516944885254, "beginner": 0.34780120849609375, "expert": 0.23950360715389252 }
22,511
ng-deep use
a3949682c2a67c9ac2a9729d91616550
{ "intermediate": 0.2555258572101593, "beginner": 0.18297164142131805, "expert": 0.5615025758743286 }
22,512
Columns B, C, D, E, F, contain values and blank spaces. Some of the cells in the columns B, C, D, E, F, have a background colour. I want to caputre values into column H, all the cells in columns B, C, D, E, F, that contain values and do not have a background colour. Is there a way to do this.
399b302e5e22c6756da89c1ba2041483
{ "intermediate": 0.4066683053970337, "beginner": 0.232982337474823, "expert": 0.3603493273258209 }
22,513
{ "online": true, "host": "Galacticraft.us", "port": 25565, "ip_address": "73.105.120.149", "eula_blocked": false, "retrieved_at": 1698232676786, "expires_at": 1698232736786, "version": { "name_raw": "Purpur 1.20.2", "name_clean": "Purpur 1.20.2", "name_html": "<span><span style=\"color: #ffffff;\">Purpur 1.20.2</span></span>", "protocol": 764 }, "players": { "online": 2, "max": 100, "list": [ { "uuid": "0241f14c-724b-4aeb-b918-8fe7692d37e0", "name_raw": "Thabael", "name_clean": "Thabael", "name_html": "<span><span style=\"color: #ffffff;\">Thabael</span></span>" }, { "uuid": "c9f676f6-ea29-4038-90b0-de9e15c0f00e", "name_raw": "x1HANDED_BILLS", "name_clean": "x1HANDED_BILLS", "name_html": "<span><span style=\"color: #ffffff;\">x1HANDED_BILLS</span></span>" } ] }, "motd": { "raw": "§\u0000", "clean": "", "html": "<span><span style=\"color: #ffffff;\"></span></span>" }, "icon": null, "mods": [], "software": "Purpur on 1.20.2-R0.1-SNAPSHOT", "plugins": [ { "name": "ViaVersion", "version": "4.8.1" }, { "name": "LuckPerms", "version": "5.4.102" }, { "name": "Vault", "version": "1.7.3-b131" }, { "name": "FastAsyncWorldEdit", "version": "2.8.2-SNAPSHOT-593,0566bd3" }, { "name": "Essentials", "version": "2.21.0-dev+18-fdf1875" }, { "name": "WorldGuard", "version": "7.0.9+5934e49" }, { "name": "PlaceholderAPI", "version": "2.11.4" }, { "name": "EssentialsSpawn", "version": "2.21.0-dev+18-fdf1875" }, { "name": "RoseStacker", "version": "1.5.14" }, { "name": "IridiumSkyblock", "version": "4.0.7" }, { "name": "DecentHolograms", "version": "2.8.4" }, { "name": "Votifier", "version": "2.7.3" }, { "name": "Multiverse-Core", "version": "4.3.1-b861" }, { "name": "AureliumSkills", "version": "Beta" }, { "name": "CoreProtect", "version": "22.2" }, { "name": "InvSeePlusPlus", "version": "0.24.1" }, { "name": "floodgate", "version": "2.2.2-SNAPSHOT" }, { "name": "VotingPlugin", "version": "6.14.1" }, { "name": "spark", "version": "1.10.55" }, { "name": "XVaults", "version": "1.1.0" }, { "name": "WorldGuardExtraFlags", "version": "4.2.2" }, { "name": "WorldEditSelectionVisualizer", "version": "2.1.5" }, { "name": "VoidTeleport", "version": "2.4.2" }, { "name": "ViaRewind", "version": "3.0.0" }, { "name": "VeinMiner", "version": "2.1.1" }, { "name": "TreeFeller", "version": "1.22.1" }, { "name": "TheMultiWorldMoney", "version": "2.3.8" }, { "name": "TerraformGenerator", "version": "11.1.1" }, { "name": "TabList", "version": "5.7.4" }, { "name": "StayPut", "version": "2.0.0" }, { "name": "SepareWorldItems", "version": "1.2.20" }, { "name": "PlugManX", "version": "2.3.5" }, { "name": "PerWorldHomes", "version": "2.3" }, { "name": "PerWorldCommands", "version": "1.2.0" }, { "name": "ParticleHats", "version": "4.4.1" }, { "name": "OnePlayerSleep", "version": "1.0-SNAPSHOT" }, { "name": "NoEndermanGrief", "version": "1.14_1.0.7" }, { "name": "LPC", "version": "3.6.0" }, { "name": "InvSeePlusPlus_Give", "version": "0.24.1" }, { "name": "InvSeePlusPlus_Clear", "version": "0.24.1" }, { "name": "HPWP", "version": "1.7.3" }, { "name": "Geyser-Spigot", "version": "2.2.0-SNAPSHOT" }, { "name": "ExplosionRegeneration", "version": "1.4.9" }, { "name": "EssentialsChat", "version": "2.21.0-dev+18-fdf1875" }, { "name": "DropXP", "version": "1.3.1" }, { "name": "DeluxeMenus", "version": "1.13.7-Release" }, { "name": "CraftBook", "version": "3.10.9,4793-1ce0146" }, { "name": "CommandTimer", "version": "8.4.0" }, { "name": "CommandPanels", "version": "3.19.1.5" }, { "name": "ClearLag", "version": "3.2.2" }, { "name": "Chunky", "version": "1.3.92" }, { "name": "BlueSlimeCore", "version": "2.9.3.371" }, { "name": "BedrockPlayerManager", "version": "1.4" }, { "name": "BanItem", "version": "3.5" } ], "srv_record": { "host": "galacticraft.us", "port": 25565 } } i want to get name_clean of every online player
736ccf70a7e64e3ae628d26ce4fe8bd3
{ "intermediate": 0.3740219473838806, "beginner": 0.45038700103759766, "expert": 0.17559103667736053 }
22,514
How to enable server side SSL authentication in Apache Zeppelin
f5b84a429455a456ce589e5c20754159
{ "intermediate": 0.4212400019168854, "beginner": 0.22829540073871613, "expert": 0.3504646122455597 }
22,515
How to convert pkcs8 certificate file to JKS for configuration in Apache Zeppelin
20233e831e889f9f6e6158392aa3cf50
{ "intermediate": 0.5352878570556641, "beginner": 0.22142933309078217, "expert": 0.2432827204465866 }
22,516
How to use .csr .pem .pkcs8 certificate files in Apache Zeppelin to configure server side SSL authentication
f7d06a98ce7d0fd5f2d6548a068bd048
{ "intermediate": 0.40808120369911194, "beginner": 0.2610933780670166, "expert": 0.33082544803619385 }
22,517
How would you start learning C++?
1ba1d2c71c8e79587844c6c8d0e342d0
{ "intermediate": 0.36643755435943604, "beginner": 0.464707612991333, "expert": 0.16885481774806976 }
22,518
Act as defold programmer. You need to change the rotation for collision shape via code. How you will do this?
897ededfc07796b96c6a6ab9a61b7962
{ "intermediate": 0.32266369462013245, "beginner": 0.2522587478160858, "expert": 0.42507752776145935 }
22,519
for i in range(17, 31): нужно в torch model создать model.layers[17] = variables[17]
3368a21af6327a3800893ddf68545403
{ "intermediate": 0.21355079114437103, "beginner": 0.4452783465385437, "expert": 0.34117087721824646 }
22,520
Can you tell me what is the age of Tony stark?
4a05d4ea46314ed3c4720bf4e6124f0e
{ "intermediate": 0.3620474636554718, "beginner": 0.2840976119041443, "expert": 0.3538549542427063 }
22,521
i want color red in that paragraph hi mory use html css js
8a18f870289c8073f50313eaa014f14e
{ "intermediate": 0.373984694480896, "beginner": 0.372163861989975, "expert": 0.25385144352912903 }
22,522
исправь код #include <iostream> #include <cmath> #include <string> int main() { char op; double num1, num2; std::cout << "Введите оператор (+, -, *, /, ^, корень): "; std::cin >> op; if (op == '+' || op == '-' || op == '*' || op == '/' || op == '^' || op == "корень") { std::cout << "Введите два числа: "; std::cin >> num1 >> num2; if (op == "корень") { if (num1 >= 0) { std::cout << "Квадратный корень: " << sqrt(num1) << std::endl; } else { std::cout << "Ошибка: невозможно извлечь корень из отрицательного числа." << std::endl; } } else { switch (op) { case '+': std::cout << "Результат: " << num1 + num2 << std::endl; break; case '-': std::cout << "Результат: " << num1 - num2 << std::endl; break; case '*': std::cout << "Результат: " << num1 * num2 << std::endl; break; case '/': if (num2 != 0) { std::cout << "Результат: " << num1 / num2 << std::endl; } else { std::cout << "Ошибка: деление на ноль." << std::endl; } break; case '^': std::cout << "Результат: " << pow(num1, num2) << std::endl; break; default: std::cout << "Ошибка: Недопустимый оператор." << std::endl; break; } } } else { std::cout << "Ошибка: Недопустимый оператор." << std::endl; } return 0; }
2257bedf8744a5000f211421f5d95036
{ "intermediate": 0.29288700222969055, "beginner": 0.522050678730011, "expert": 0.18506231904029846 }
22,523
write the video playback code in c# visual studio
9ec7c9e12c9882c5759edc8829142958
{ "intermediate": 0.41201192140579224, "beginner": 0.26063576340675354, "expert": 0.32735225558280945 }
22,524
write the video playback code in c# visual studio
48eaff09f36a740192616b33410cac05
{ "intermediate": 0.41201192140579224, "beginner": 0.26063576340675354, "expert": 0.32735225558280945 }
22,525
Есть код на Python: fig, ax = plt.subplots() ax.minorticks_on() ax.yaxis.grid(True, "major") # линии сетки для основных делений оси Y # plt.yticks(stepy, size=7) ax.xaxis.grid(True, "major", color="red") # линии сетки для основных делений оси X # plt.xticks(stepx, size=5) ax.yaxis.grid(True, "minor", linestyle=':') # линии сетки для основных делений оси Y ax.xaxis.grid(True, "minor", linestyle=':') # линии сетки для основных делений оси X # Добавляем подписи осям ax.set_xlabel('Время', bbox={'boxstyle': 'rarrow', # вид области 'pad': 0.1, # отступы вокруг текста 'facecolor': 'white', # цвет области 'edgecolor': 'red', # цвет крайней линии 'linewidth': 2}) # ширина крайней линии ax.set_ylabel('Абсолютное значение амплитуды', fontsize=7, bbox={'boxstyle': 'rarrow', # вид области 'pad': 0.1, # отступы вокруг текста 'facecolor': 'white', # цвет области 'edgecolor': 'red', # цвет крайней линии 'linewidth': 2}) # ширина крайней линии ax.tick_params(axis='x', labelsize=4) ax.tick_params(axis='y', labelsize=8) ax.plot_date(dates, amplitude_absolute, fmt='-', marker='.', color=(0, 0.25, 0.75)) plt.show() Как сделать так, чтобы по оси дата на сетке отображалась в виде Месяц-День Час:Минута
114a36eeb4ac9912f57ae2d50e9d31c9
{ "intermediate": 0.31628236174583435, "beginner": 0.5707680583000183, "expert": 0.11294955760240555 }
22,526
using UnityEditor; using UnityEngine; using UnityEngine.Serialization; using Random = UnityEngine.Random; namespace SR.Item { public class SRProjectileLauncher : MonoBehaviour { [SerializeField] private UnityEngine.Transform launchPoint; [SerializeField] private UnityEngine.Transform targetSphere; [SerializeField] private SRTrajectoryPredictor srTrajectoryPredictor; [SerializeField] private LayerMask physLayerMask; [SerializeField] private float torqueForce = -14f; [SerializeField] private float smallA = -0.04f; [SerializeField] private float bigA = -0.01f; [SerializeField] private float lerpSpeed = 4f; [SerializeField] private float currentA = -0.04f; [SerializeField] private float currentTorque; public Rigidbody RigidBody => rigidBody; private Rigidbody rigidBody; private CapsuleCollider capsuleCollider; private int indexLineAfterWhichObstacle; private bool isAim; private float throwMaxRange; private Vector3 cameraPosition; private Vector3 cameraLookDirection; private float timeBeforeTheExplosion; private void Awake() { if (targetSphere != null) { targetSphere.gameObject.SetActive(false); } currentA = smallA; PhysController(false); } public void PhysController(bool phisEnabled) { rigidBody = GetComponent<Rigidbody>(); rigidBody.useGravity = phisEnabled; rigidBody.isKinematic = !phisEnabled; capsuleCollider = GetComponent<CapsuleCollider>(); capsuleCollider.isTrigger = !phisEnabled; } private void LateUpdate() { if (!isAim) { if (srTrajectoryPredictor == null) { return; } if (srTrajectoryPredictor.enabled) { srTrajectoryPredictor.enabled = false; } if (targetSphere.gameObject.activeSelf) { targetSphere.gameObject.SetActive(false); } return; } float distanceBetweenCameraAndGrenade = Vector3.Distance(cameraPosition, launchPoint.position); Vector3 shootPosition = cameraPosition + cameraLookDirection * distanceBetweenCameraAndGrenade; if (Raycast(shootPosition, cameraLookDirection, out var hit)) { float distanceBetweenShootPositionAndHitPoint = Vector3.Distance(shootPosition, hit.point); if (distanceBetweenShootPositionAndHitPoint > throwMaxRange) { Vector3 direction = hit.point - shootPosition; direction.Normalize(); Vector3 calcPointOnEdgeOfCircle = shootPosition + direction * throwMaxRange; Vector3 obstacle = CheckObstacles(); targetSphere.transform.position = obstacle != Vector3.zero ? obstacle : calcPointOnEdgeOfCircle; RenderLaunch(launchPoint.position, calcPointOnEdgeOfCircle); srTrajectoryPredictor.enabled = true; targetSphere.gameObject.SetActive(true); return; } Vector3 obstacle2 = CheckObstacles(); targetSphere.transform.position = obstacle2 != Vector3.zero ? obstacle2 : hit.point; RenderLaunch(launchPoint.position, hit.point); srTrajectoryPredictor.enabled = true; targetSphere.gameObject.SetActive(true); } else { srTrajectoryPredictor.enabled = false; targetSphere.gameObject.SetActive(false); } } private Vector3 CheckObstacles() { if (srTrajectoryPredictor.PositionCount > 0) { float radius = capsuleCollider.radius; for (int i = 0; i < srTrajectoryPredictor.Positions.Length - 1; i++) { //last iteration in loop if (i >= srTrajectoryPredictor.Positions.Length - 2) { break; } Vector3 startPoint = srTrajectoryPredictor.Positions[i]; Vector3 endPoint = srTrajectoryPredictor.Positions[i + 1]; Vector3 direction = endPoint - startPoint; float distance = direction.magnitude; if (UnityEngine.Physics.SphereCast(startPoint, radius, direction, out var hit, distance, physLayerMask)) { indexLineAfterWhichObstacle = i + 1; return hit.point; } } } indexLineAfterWhichObstacle = 0; return Vector3.zero; } private bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hit) { return UnityEngine.Physics.Raycast(origin, direction, out hit, Mathf.Infinity, physLayerMask); } private void RenderLaunch(Vector3 origin, Vector3 target) { Vector3 velocity = SRProjectile.VelocityByA(origin, target, currentA); srTrajectoryPredictor.Render(origin, velocity, target, indexLineAfterWhichObstacle); } } } Это код на C# для unity. Попробуй код в методе LateUpdate() сделать более лучшим, красивым.
ddbd65b84db32fdacda2d18726b1bcf2
{ "intermediate": 0.2517404854297638, "beginner": 0.5021135807037354, "expert": 0.24614596366882324 }
22,527
how to play mov webm format video in c# WPF
5df986c954db8124dd632f503f35ea50
{ "intermediate": 0.4957624673843384, "beginner": 0.2635709047317505, "expert": 0.24066658318042755 }
22,528
i keep getting a “NaN” output in my script. what’s the issue function convert() { var degF = document.getElementById(“fValue”); var degC = (degF-32)(5/9); document.getElementById(“cValue”).textContent = degC; }
e4034210b4886e72513967c485a57b0c
{ "intermediate": 0.33914780616760254, "beginner": 0.460554301738739, "expert": 0.20029787719249725 }
22,529
func unmarshalJson(data []byte, v any) { err := json.Unmarshal(data, v) if err != nil { log.Fatalln("Error unmarshaling jaon.") } } issue with this code
d6665ddb396f7218e3aaca5664f18020
{ "intermediate": 0.4712422788143158, "beginner": 0.22616884112358093, "expert": 0.3025888502597809 }
22,530
How to configure server side SSL authentication in Apache Zeppelin using pem and pkcs8 certificate files
c2d2e76c12578cbd2a9c055c332ab81e
{ "intermediate": 0.41224434971809387, "beginner": 0.29516980051994324, "expert": 0.2925858497619629 }
22,531
Escalation matrix for Infosec team (security admin) to developer about VAPT Points closure
cb295af99a7550688b520da150559af1
{ "intermediate": 0.2913791239261627, "beginner": 0.37942203879356384, "expert": 0.32919877767562866 }
22,532
hi
4b8d895dbb78fad47d145f5178da216a
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
22,533
hi, can you write code of alarm using c# lang?
f4d17157bbf688abfe69986915f81b35
{ "intermediate": 0.3404768705368042, "beginner": 0.46150144934654236, "expert": 0.19802168011665344 }
22,534
Hi chat gpt
657d9366edd87a4405610267f55abd81
{ "intermediate": 0.3047315776348114, "beginner": 0.25274261832237244, "expert": 0.4425257742404938 }
22,535
how to use a python variable in a SQL query with temp tables included while avoiding a SQL injection
fd402b3f821b848a931f5c6dec189311
{ "intermediate": 0.37019801139831543, "beginner": 0.4621773660182953, "expert": 0.16762469708919525 }
22,536
act as a react native developer and improve this useEffect: "useEffect(() => { const getOrientationUnlock = async () => { if (orientation.landscape) { if (isIOS) { await ScreenOrientation.lockAsync( ScreenOrientation.OrientationLock.LANDSCAPE ); } else { await ScreenOrientation.lockAsync( ScreenOrientation.OrientationLock.DEFAULT ); } } else { getOrientationLock(); } }; const getOrientationLock = async () => { if (isIOS) { await ScreenOrientation.lockAsync( ScreenOrientation.OrientationLock.PORTRAIT_UP ); } else { await ScreenOrientation.lockAsync( ScreenOrientation.OrientationLock.DEFAULT ); } }; getOrientationUnlock(); return () => { getOrientationLock(); return; }; }, [orientation.landscape]);"
0d27b2d052d5836408417d5008c1b1b5
{ "intermediate": 0.5294596552848816, "beginner": 0.246779203414917, "expert": 0.22376114130020142 }
22,537
<!DOCTYPE html> <html lang="lv"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Skolas vēsture</title> <!-- CSS only --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous"> <!-- JavaScript Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script> <!-- Noformejums --> <link rel="stylesheet" href="stils.css"> </head> <body> <div class="container-fluid"> <div class="row row-header"> <div class="col-12 header"> <ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link" href="index.html">Sākums</a> </li> <li class="nav-item dropdown"></li> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Info par skolu</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="skolas_video.html">Video par skolu</a></li> <li><a class="dropdown-item" href="gada_gramata.html">Gada grāmata</a></li> <li><a class="dropdown-item" href="atminustasts.html">Atmiņu stāsts</a></li> <li><a class="dropdown-item" href="absolventi.html">Absolventi</a></li> <li><a class="dropdown-item" href="vesture.html">Skolas vēsture</a></li> <li><a class="dropdown-item" href="simbolika.html">Skolas simbolika</a></li> <!--himna, karogs un žetons--> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Uzņemšana</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="uzkartiba.html">Uzņemšanas kārtība</a></li> <li><a class="dropdown-item" href="uz7.html">Uzņemšana 7.kl 2023</a></li> <li><a class="dropdown-item" href="uz10.html">Uzņemšna 10.kl. 2023</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Ziņas</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Notikumi</a></li> <li><a class="dropdown-item" href="#">Labais darbs</a></li> <li><a class="dropdown-item" href="#">Latvijas skolas soma</a></li> <li><a class="dropdown-item" href="#">Kalendārs</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Skola</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="dokumenti.html">Dokumenti</a></li> <li><a class="dropdown-item" href="metdarbs.html">Metodiskais darbs</a></li> <li><a class="dropdown-item" href="gimpadome.html">Ģimnāzijas padome</a></li> <li><a class="dropdown-item" href="parlaments.html">Parlaments</a></li> <li><a class="dropdown-item" href="biblioteka.html">Bibliotēka</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Mācības</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="macorganizacija.html">Organizācija</a></li> <li><a class="dropdown-item" href="macprogrammas.html">Programmas</a></li> <li><a class="dropdown-item" href="macsasniegumi.html">Sasniegumi</a></li> <li><a class="dropdown-item" href="macprojdarbs.html">Projektu darbs</a></li> <li><a class="dropdown-item" href="datorcentrs.html">Datorcentrs</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Audzināšana</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Audzināšanas darba dokumenti</a></li> <li><a class="dropdown-item" href="#">Audzinātāju pienākumi un dokumentācija</a></li> <li><a class="dropdown-item" href="#">Video kolāžas</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Ārpusstundu darbs</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Interešu izglītiba</a></li> <li><a class="dropdown-item" href="#">Projekti</a></li> <li><a class="dropdown-item" href="#">Žetonu vakari</a></li> <li><a class="dropdown-item" href="#">Konkursi</a></li> </ul> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Karjera</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Pedagogs karjeras konsultants</a></li> <li><a class="dropdown-item" href="#">Karjeras izglītība</a></li> <li><a class="dropdown-item" href="#">Karjeras izglītības programma</a></li> <li><a class="dropdown-item" href="#">Karjeras izglītības organizēšana</a></li> <li><a class="dropdown-item" href="#">Par karjeru</a></li> <li><a class="dropdown-item" href="nodvietnes.html">Noderīgas vietnes</a></li> <li><a class="dropdown-item" href="#">Karjeras nedēļa</a></li> </ul> </li> <li class="nav-item"> <a class="nav-link" href="#">Mirkļi</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">ZNMO</a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Kontaktinformācija</a></li> <li><a class="dropdown-item" href="#">Norises kārtība</a></li> </ul> </li> </ul> </div> <div class="row row-master"> <div class="col-2 gutter"></div> <div class="col-8 masterhead"> <br> <p class="virsraksts">Skolas vēsture</p> <br><br> <div class="rinda"> <div class="column"> <p><img src="/Users/macbook/Downloads/majaslapa prog/SKOLAVEC.jpeg" alt="veca skola" class="vestures_bilde"></p> <p><img src="/Users/macbook/Downloads/majaslapa prog/SKOLAVE2.jpeg" alt="veca skola bet ar jaunu korpusu" class="vestures_bilde"></p> <p><img src="/Users/macbook/Downloads/majaslapa prog/skola111.jpg" alt="tagad jau nedaudz jaunaka skola" class="vestures_bilde"></p> <p><img src="/Users/macbook/Downloads/majaslapa prog/Jaunaskola.jpg" alt="nu tagad jau ir skola pirms renovacijas" class="vestures_bilde"></p> <p><img src="/Users/macbook/Downloads/majaslapa prog/jvg_renoveta.jpeg" alt="tagadeja skola" class="vestures_bilde"></p> </div> <div class="column"> <ul class="vesture"> <li>1919. gada 6. oktobrī - skola dibināta kā pirmā reāltipa mācību iestāde apriņķī.</li> <li>1922./23. m.g. - pie vidusskolas atvērta komercnodaļa.</li> <li>1927./28. m.g. - komercnodaļa pārorganizēta par komercskolu.</li> <li>1932. - 1939. gadā un 1941. - 1944. gadā - šī mācību iestāde ir Jēkabpils Valsts ģimnāzija.</li> <li>1948. gadā - vidusskola pilnībā atdalās no komercskolas.</li> <li>1950./51. m.g. - skola iegūst Jēkabpils 1. vidusskolas nosaukumu, pievienota Krasta skolas ēka.</li> <li>1966. gadā - uzcelta pirmā piebūve.</li> <li>1979. gadā - uzcelta otrā piebūve.</li> <li>1982. gadā - nodots sporta korpuss.</li> <li>1990. gadā - atjaunots 1939. gada Jēkabpils Valsts ģimnāzijas un Jēkabpils Valsts komercsskolas karogs ar uzrakstu “Mūsu darbs un zinašanas - Tēvzemei”.</li> <li>1993. gada jūnijā - Jēkabpils 1. vidusskola akredetācijas rezultātā kļūst par Jēkabpils ģimnāziju.</li> <li>1994. gada septembrī - nodibināta Jēkabpils sākumskola, no ģimnāzijas pakāpeniski atdalās sākumskolas klases.</li> <li>Savas pastāvēšanas 75 gados skolai ir bijis 71 izlaidums, skolu beiguši vairak nekā 3000 audzēkņu.</li> <li>1996. gada septembrī - ģimnāzija iegūst Valsts ģimnāzijas statusu.</li> <li>2002. gada vasara - skolas renovācija.</li> <li>2007.gadā - atklāta jauna piebūve.</li> <li>2019.gadā skola nosvinēja 100 gadus.</li> <li>2020.gadā uzsākta skolas renovācija.</li> <li>2023.gada janvārī tika atklāts renovētais 3.korpuss.</li> <li>2023.gada 11.augustā atklāta atjaunotā Jēkabpils Valsts ģimnāzija.</li> </ul> </div> </div> </div> </div> </body> </html>
36eff2093a75e36e7e8bda5f77482c4a
{ "intermediate": 0.4194246530532837, "beginner": 0.43032053112983704, "expert": 0.15025483071804047 }
22,538
how works callbacks in Lua 5.1?
140ae327c80978dfc8c92b2089ed093b
{ "intermediate": 0.561992883682251, "beginner": 0.26266106963157654, "expert": 0.17534609138965607 }
22,539
how to achieve set two datasets together in R
771b8c40fb2b8c9bf83c31e73ad10027
{ "intermediate": 0.24830137193202972, "beginner": 0.12035704404115677, "expert": 0.6313415765762329 }
22,540
Graph XY¯¯¯¯¯¯¯¯ with endpoints X(5,−2) and Y(3,−3) and its image after a reflection in the x -axis and then a rotation of 270° about the origin
b4de0d342c216ee88c4423fc425c9651
{ "intermediate": 0.3602745234966278, "beginner": 0.39580532908439636, "expert": 0.24392017722129822 }
22,541
how do i know which .pub file in .ssh is used when up streaming to github?
91c0cc220763b48b2a5bdb77e236f7be
{ "intermediate": 0.5553697347640991, "beginner": 0.19415992498397827, "expert": 0.2504703104496002 }
22,542
crop a small subimage from one image, find its match in another image
7afc5fd22f15458b6631a550f6fb5539
{ "intermediate": 0.27668672800064087, "beginner": 0.15387016534805298, "expert": 0.5694430470466614 }
22,543
The United States and Chile have both grown at about 2 percent per year for the last 40 years. By the principle of transition dynamics, what does this imply? Group of answer choices Both countries are at their steady states. Both countries are above their steady states. Both countries are below their steady states. It implies nothing, because transition dynamics only tells us how an economy moves over time.
ea9311082488414b59b080dc7c047ea1
{ "intermediate": 0.3880934715270996, "beginner": 0.4341711401939392, "expert": 0.17773543298244476 }
22,544
Can you write the Openscad code for an 8-sided polygon ?
ee1282fdad5ac7f6fe17dfe4fa2cc297
{ "intermediate": 0.42236337065696716, "beginner": 0.1655927449464798, "expert": 0.41204386949539185 }
22,545
Write c++ cover that gives fun facts about the planets around earth where you select a planet and it tells you the information
6e5dc9d31e0ac353a0248a86190d1dc8
{ "intermediate": 0.2913706600666046, "beginner": 0.39290037751197815, "expert": 0.31572893261909485 }
22,546
if ( x == 0 ) : newstr = txt[1:] ^ NameError: name 'x' is not defined
876722ecb0d934874688842ea65b4570
{ "intermediate": 0.35412710905075073, "beginner": 0.42994871735572815, "expert": 0.2159241884946823 }
22,547
what is wrong with this code function printFirstWord(str) { let firstWord = ''; for (let i = 0; i < str.length; i += 1) { firstWord += str[i]; continue; } if (str[i] === " ") { break; } console.log(firstWord); }
4180871d3aed4709d669982c42374bd8
{ "intermediate": 0.16631737351417542, "beginner": 0.7283656597137451, "expert": 0.10531695187091827 }
22,548
Explain how this code makes calculations step by step function getDaysToCollectMoney(target, salary) { let money = 0; for (let day = 1; day <= 14; day++) { // суббота или воскресенье if (day === 6 || day === 7 || day === 13 || day === 14) { continue; } money += salary; if (money >= target) { // если нужное количество денег накоплено то возвращаем номер текущего дня // при этом и цикл и функция прерывают свою работу return day; } } } console.log(getDaysToCollectMoney(30000, 5000)); // выведет 8
79f98ee5032195418adfe0ef0218bf9d
{ "intermediate": 0.5802631974220276, "beginner": 0.17890509963035583, "expert": 0.24083170294761658 }
22,549
UnboundLocalError: cannot access local variable 'newstr' where it is not associated with a value ЧТо за ошибка
ca036fa6e1898695f47bc10f6cad9be5
{ "intermediate": 0.3439161479473114, "beginner": 0.4403405487537384, "expert": 0.2157432585954666 }
22,550
Making diagrams using MATLAB
1be6533d20d5b139e2d8e28f3d724291
{ "intermediate": 0.4170171022415161, "beginner": 0.22971495985984802, "expert": 0.35326793789863586 }
22,551
import os import pandas as pd import re import sqlite3 def load_csv_to_sqlite3(csv_dir, sqlite_file): mo_list = pd.read_csv('MO LIST.csv') prefixs = mo_list['MO NAME'].tolist() prefix_pattern = '[_- ]' df_list = [] for prefix in prefixs: # 获取匹配的文件名 pattern = re.compile(f"{prefix}{prefix_pattern}.*\.csv") csv_files = [f for f in os.listdir(csv_dir) if pattern.match(f)] for csv_file in csv_files: df = pd.read_csv(os.path.join(csv_dir, csv_file)) df_list.append(df) df = pd.concat(df_list) df.to_sql('stock_data', sqlite3.connect(sqlite_file), if_exists='replace') print('CSV files loaded to SQLite3 successfully!') # 将合并后的 DataFrame 保存为 CSV 文件 output_file = os.path.join(csv_dir, 'erged_data.csv') df.to_csv(output_file, index=False) print(f'Merged data saved to {output_file} successfully!') return df if __name__ == '__main__': csv_dir = 'data' sqlite_file = 'stock_data.db' df = load_csv_to_sqlite3(csv_dir, sqlite_file) help me fix upper code error
f3a168c9660aa327773bcddcd991b960
{ "intermediate": 0.4858939051628113, "beginner": 0.2978006601333618, "expert": 0.2163054645061493 }
22,552
peux tu me montrer les test unitaires de cette fonction ? "function withdraw(uint256 _gameId, uint256 _amount) public payable { address currentPlayerLocal = msg.sender; require(currentPlayerLocal == games[_gameId].player1 || currentPlayerLocal == games[_gameId].player2, "You re not a player"); require(!games[_gameId].player1HasWithdrawn || !games[_gameId].player2HasWithdrawn, "withdrawn balance"); uint256 balance = playerBalances[_gameId][currentPlayerLocal].balance; require(balance >= _amount, "Insufficient balance"); require(games[_gameId].winner == currentPlayerLocal, "You are not the winner"); playerBalances[_gameId][currentPlayerLocal].balance -= _amount; (bool success, ) = payable(currentPlayerLocal).call{value: _amount}(""); require(success, "The withdrawal failed"); if (currentPlayerLocal == games[_gameId].player1) { games[_gameId].player1HasWithdrawn = true; } else { games[_gameId].player2HasWithdrawn = true; } emit Withdraw(_gameId); }"
961dc06e05eba96e060d59361e3991c0
{ "intermediate": 0.4369041621685028, "beginner": 0.41644471883773804, "expert": 0.14665107429027557 }
22,553
hi, who are you?
4ace1fcfb73a323feb6a903f0bacd8d9
{ "intermediate": 0.4261423647403717, "beginner": 0.2703638970851898, "expert": 0.30349376797676086 }
22,554
Write a Dart function to parse this type of string '2023-10-19' to DateTime
6776fc5df6318743e7e3a4f7a2a44035
{ "intermediate": 0.4970383942127228, "beginner": 0.3021402955055237, "expert": 0.20082134008407593 }
22,556
hello
a75fdece1abf8978559c813332ddb695
{ "intermediate": 0.32064199447631836, "beginner": 0.28176039457321167, "expert": 0.39759764075279236 }
22,557
FindWindow Find all window handles that have same caption and class
e955483aec4c745ec12f6bfe93a6a479
{ "intermediate": 0.3974686563014984, "beginner": 0.2661032974720001, "expert": 0.33642804622650146 }
22,558
fix this error: sudo apt install -y libpcap-dev [sudo] password for unknown: Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libpcap0.8-dev : Depends: libpcap0.8 (= 1.10.0-2) but 1.10.3-1~bpo11+1 is to be installed
b969947500a92425511a63d60525bb59
{ "intermediate": 0.350240021944046, "beginner": 0.3273869752883911, "expert": 0.32237303256988525 }
22,560
C# FindWindow Find all window handles that have same caption and class
679401f148228e384da230665bcee709
{ "intermediate": 0.4916917681694031, "beginner": 0.2428906410932541, "expert": 0.26541751623153687 }
22,561
warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
f6a9856aaf64a9e9580ca07afd406a57
{ "intermediate": 0.4277765154838562, "beginner": 0.22190044820308685, "expert": 0.35032305121421814 }
22,562
sub_trt0<-sub_trt%>% group_by(Subject_ID,Analyte) %>% filter(n_distinct(Dose_Amount)>1) %>% mutate(group_id=n_distinct(Analyte))%>% ungroup()%>% mutate(trt=paste0(Analyte,Dose_Amount),trtpn0=group_id) how to fix this code to get the group_id is based on the unique Analyte's number if there are 3 unique Analyte, the group corresponding each unique Analyte will be as 1,2,3
8d143d2ca2c329a294c13d630ad0de65
{ "intermediate": 0.41523054242134094, "beginner": 0.32374706864356995, "expert": 0.2610223889350891 }
22,563
order by mean lemurs_df1 <- lemurs_df %>% group_by(common_name) %>% summarise(mean = mean(age_at_death_y)) %>% mutate(mean = round(mean, 1)) ggplot(lemurs_df1, aes(y = fct_rev(fct_reorder(common_name, mean)), x = mean)) + geom_point(lemurs_df, mapping = aes(x = age_at_death_y, y = common_name, color = sex)) + geom_point(data = lemurs_df1, aes(x = mean, y = common_name), size = 6, color = "#5c4d7d") + ylab("Lemur Species") + xlab("Mean Age at Death") + ggtitle("Mean Age at Death for Lemur Species")+ geom_text(aes(label=mean),size=2, color="white") + coord_cartesian(expand=F, clip="off") + labs(x="Lifespan (in years)", y="Lemur species", title="Lemur lifespan by taxonomy")
3d2c62b5f43179b54d267c1c8c492aad
{ "intermediate": 0.2955179512500763, "beginner": 0.2857697308063507, "expert": 0.418712317943573 }
22,564
Use python to visualize the process of performing BFS (Breadth First Search) on the graph, where the BFS process is computed using CSR (Compressed Sparse Row) format SpMV (Sparse matrix-vector multiplication). The code should meet the following requirements: 1. Create your own graph file (directed acyclic graph), which should be different from the example file. 2. Read the file with python code and visualize the BFS process. The format of graph file The first row of three values, m, n, nnz are the number of nodes and edges of the graph, and the next nnz rows have two values each for the initial node and the target node.
2016696cbb13d2a0ecacf03201485e36
{ "intermediate": 0.47394317388534546, "beginner": 0.15976673364639282, "expert": 0.36629006266593933 }
22,565
remove id of AcDbObjectIdArray then reset length of that array object arx c++
c118ae20df28f12e0237a385ddb21743
{ "intermediate": 0.5200983285903931, "beginner": 0.2111736238002777, "expert": 0.2687280774116516 }
22,566
can you create 1 simple game?
485e0b83789856b13d03044a4eec84b5
{ "intermediate": 0.3458240032196045, "beginner": 0.3898262679576874, "expert": 0.26434966921806335 }
22,567
Extract common factors‘-z(L4-L3-U2m+x(L3+βQ)+y(L3+1)-xy(1+L3)+my(U2-U1))-(z-1)(L4-L3+y-U2m+x(L3+βQ)+y(L3+1)-xy(1+L3)+my(U2-U1))’
68feb0200bb7e83989c69f3fea994106
{ "intermediate": 0.333890438079834, "beginner": 0.33938705921173096, "expert": 0.32672247290611267 }
22,568
how to make it run chart with dot
1a277953ea53479cc3b9c0a641d1dca5
{ "intermediate": 0.3416277766227722, "beginner": 0.2626201808452606, "expert": 0.39575204253196716 }
22,569
Can you write me some python 3 code that filters rows of a CSV file and sends them to a new CSV file based on a whether a key term is within a row?
df9c3c96d9e7b22a387572b2e241b431
{ "intermediate": 0.5975220799446106, "beginner": 0.05659851059317589, "expert": 0.34587937593460083 }
22,570
Why I cannot get value of xData. Here is the code: AcDbObjectIdArray CCheckShape::excludeDisableSym(AcDbObjectIdArray aryBlkRefIds) { AcDbObjectIdArray aryNewBlkRefIds; for (int i = 0; i < aryBlkRefIds.length(); i++) { AcDbEntityPtr pEntity(aryBlkRefIds.at(i)); if (pEntity.isOpen() == false) { continue; } // issue #50 // 無効化されている形状ならスキップ resbuf* pXdt = NULL; pXdt=pEntity->xData("ALFADenkiCircuitCancel_DspBlkRecName"); if (!pXdt) pXdt = pEntity->xData("ALFADenkiCircuitCancel_Dsp")); if (pXdt) { acutRelRb(pXdt); continue; } else aryNewBlkRefIds.append(aryBlkRefIds[i]); } return aryNewBlkRefIds; }
d28b1a987f8361e1194f9a839ca3a289
{ "intermediate": 0.4537689983844757, "beginner": 0.2634882926940918, "expert": 0.2827426791191101 }
22,571
I want match record from two tables by skipping records which is start with capital M in SQL
bc13585c2898718ef5e923a62b9df2f9
{ "intermediate": 0.42152300477027893, "beginner": 0.3169482946395874, "expert": 0.2615286707878113 }
22,572
Write me a python 3 script that splits data into 2 csv files based on whether they have key terms in that row
9854c8ad8f827bd4cc9b1527a0b74065
{ "intermediate": 0.5799888372421265, "beginner": 0.09089215099811554, "expert": 0.3291189968585968 }
22,573
write me some python 3 code that appends all rows with a variable string in them to another csv file.
25c48b488af13e746afde996fa8b6263
{ "intermediate": 0.38072773814201355, "beginner": 0.3598904311656952, "expert": 0.25938186049461365 }
22,574
How to create jks keystore with .pem certificate file using java keytool
2d623cdd7a0d3fcff471a1f0d7a0462d
{ "intermediate": 0.45436733961105347, "beginner": 0.26579350233078003, "expert": 0.27983909845352173 }
22,575
write a code in micropython for the esp32 to interface am IR sensor with appropriate pin number for the esp32
64a5f1c3b32437ac743294654e8f567e
{ "intermediate": 0.5080651640892029, "beginner": 0.0895247831940651, "expert": 0.402410089969635 }
22,576
как пользоваться browser.mock()?
e91acc21a9e24d35a7ccebbdcfdd5eaf
{ "intermediate": 0.2828918695449829, "beginner": 0.35575398802757263, "expert": 0.36135411262512207 }
22,577
How to describe the code that only needs to use the first eight equilibrium points‘for j=1:length(answ.x) disp(['第' num2str(j) '个均衡点:']); %均衡点 A1(j,:) disp(['第' num2str(j) '个均衡点代入雅可比矩阵之后的矩阵:']); %代入每个均衡点,用subs函数求解特征值 %eig函数取对角线 x1=A1(j,1); y1=A1(j,2); z1=A1(j,3); B = subs(A,[x,y,z],[x1,y1,z1]) disp(['第’nun2str(j) 个均衡点代入后对应拒阵的特征值:']); [V,R]= eig(B); B1=R(1,1) B2=R(2,2) B3=R(3,3) xz=[xz;B1,B2,B3];’
eacf7857ceaca5cb3638b09a1b51e4e4
{ "intermediate": 0.23922941088676453, "beginner": 0.4201553761959076, "expert": 0.3406152129173279 }
22,578
In python make a basic nsfw image detector. Sure, here's a basic pornography moderator made in
969778120fcb6c3a557018a149ed7367
{ "intermediate": 0.3458785116672516, "beginner": 0.20153756439685822, "expert": 0.452583909034729 }
22,579
groups: cannot find name for group ID 10001 I have no name!@identity-provider-666799989-pbkq4:/$ curl -X POST 'http://localhost:8080/auth/realms/cloud-common/protocol/openid-connect/token ' --header 'Accept: */*' --header 'Content-Type:application/x-www-form-urlencoded' --data-urlencode 'grant_type=client_credentials' --data-urle ncode 'client_id=nrm_admin_qa_only_do_not_use_in_applications' --data-urlencode 'client_secret=KdYzZ4LMzRLaCJ42D8W24qJ0fGMsOlkL' bash: curl: command not found I have no name!@identity-provider-666799989-pbkq4:/$
d9a917d433ece4e81948d587506aaec2
{ "intermediate": 0.4017537236213684, "beginner": 0.31931665539741516, "expert": 0.27892959117889404 }
22,580
Write a calculator program in c++ language
47f60f481862f321bb0867733cc76ee8
{ "intermediate": 0.36321547627449036, "beginner": 0.36443817615509033, "expert": 0.2723463475704193 }
22,581
what does this code do let i = 1; while (Math.pow(i, 2) < 100) { console.log(i); i++; }
553899d78c424c0217d84ff17ff64967
{ "intermediate": 0.23331333696842194, "beginner": 0.6044689416885376, "expert": 0.16221772134304047 }
22,582
curl -X POST 'http://identity-provider-666799989-pbkq4:8080/auth/realms/cloud-common/protocol/openid-connect/token' --header 'Accept: */*' --header 'Content-Type:application/x-www-form-urlencoded' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'client_id=nrm_admin_qa_only_do_not_use_in_applications' --data-urlencode 'client_secret=KdYzZ4LMzRLaCJ42D8W24qJ0fGMsOlkL' Другой способ отправить запрос
bf91092d337e42a04cca579d4a6a6d7d
{ "intermediate": 0.33966732025146484, "beginner": 0.275398850440979, "expert": 0.38493385910987854 }
22,583
Design a problem to check if the length of a string is less than 5. (using intermediate student with lambda drracket
0f0af647a26b3ff6410505f1529a5234
{ "intermediate": 0.4473520815372467, "beginner": 0.18272016942501068, "expert": 0.3699277639389038 }
22,584
how to use jumbotron in bootstrap?
5518a5e59a3d3794ffe6d58c645bed18
{ "intermediate": 0.435224324464798, "beginner": 0.1311589777469635, "expert": 0.4336167573928833 }
22,585
Could not extract response. no suitable HttpMessageConverter found
7e87eb464730f046f5d8ad9246a04d36
{ "intermediate": 0.5054020881652832, "beginner": 0.24721822142601013, "expert": 0.24737972021102905 }
22,586
dota 2 аддон. разрабатывается способность на lua. В коде к модификатору необходимо сделать так, чтобы при атаке героя врага на врага случайно накладывался один из представленных эффектов. Однако данный код приводит к тому, что используются все эффекты сразу и по несколько раз. Что необходимо изменить? function sveta_konkurs_debuff:CheckState() local chance = RandomInt(1,5) local state = {[MODIFIER_STATE_NOT_ON_MINIMAP] = true,} if chance == 1 then print(chance .. "Руты") state = {[MODIFIER_STATE_ROOTED] = true,} return state elseif chance == 2 then print(chance .. "Дизарм") state = {[MODIFIER_STATE_DISARMED] = true,} return state elseif chance == 3 then print(chance .. "Сайленс") state = {[MODIFIER_STATE_SILENCED] = true,} return state elseif chance == 4 then print(chance .. "Стан") state = {[MODIFIER_STATE_STUNNED] = true,} return state elseif chance == 5 then print(chance .. "Найтмэр") state = {[MODIFIER_STATE_NIGHTMARED] = true,} --эффект не работает return state end return state end
b56a37249e714f52df31491f455f1f36
{ "intermediate": 0.3085877299308777, "beginner": 0.5279822945594788, "expert": 0.16342993080615997 }
22,587
What is most popular and easy to use C libary to work with graphic files compatible with linux. Please exclude MagicWand library. Library should be under MIT or LGPL licence
8032ae6c0e530f95fcf9d8a6ce904a86
{ "intermediate": 0.5607525110244751, "beginner": 0.27783268690109253, "expert": 0.1614147573709488 }
22,588
browser.mock ECONNREFUSED
857470d617b99600456838b6860a0563
{ "intermediate": 0.2851564288139343, "beginner": 0.42930087447166443, "expert": 0.28554263710975647 }
22,589
dota 2 аддон. Способность написана на lua. Способность пассивная, срабатывает в момент завершения атаки по вражескому герою (onattacklanded). В этот момент случайным образом выбирается один из 4 эффектов ([MODIFIER_STATE_ROOTED],[MODIFIER_STATE_DISARMED],[MODIFIER_STATE_STUNNED] и применяется к врагу как модификатор. Напиши код для файла модификатора на lua.
97d8385a952ff73edde84d9f7764cbca
{ "intermediate": 0.34580758213996887, "beginner": 0.32979831099510193, "expert": 0.3243940770626068 }
22,590
Explain in a clear language as detailed as possible with examples what is the use of modifiers of functions virtual, final and override in C++.
2a969983a2138a836a65a749b16059da
{ "intermediate": 0.3094289004802704, "beginner": 0.4719063639640808, "expert": 0.21866475045681 }
22,591
hey
acc0c744af0d7e35ca8c09c79404b656
{ "intermediate": 0.33180856704711914, "beginner": 0.2916048467159271, "expert": 0.3765866458415985 }
22,592
Given this ruby code and the constraints in the comments, add a test for the constraints? def test_axis_tilt_daylength_effect # Polar night, lenght < 1 h # - North Pole: start 24. Sep, end on 22. Dec, Winter Solistice. # - South Pole: start 22. Mar, end 20. Jun, Summer Solistice of N. hemisphere. # Polar day, lenght > 23 h # - North Pole 21.3 - 23.9 # - South 21.9. - 21.3. # Equatorial day varies <5 minutes _res = axis_tilt_daylength_effect( -90 + rand*180, rand * 365 ) _res.class == Float && _res >= 0 && _res <= 2 end
8a29c1c6310dc1c26fcdf9dfeca1b2e0
{ "intermediate": 0.4420238733291626, "beginner": 0.321881502866745, "expert": 0.2360946536064148 }
22,593
Given the ruby code below, please refactor this test method to test axis_tilt_daylength_effect method for latitudes at 5 degree intervals, and test for only the days defined in the constraints? def test_axis_tilt_daylength_effect constraints = [ [:polar_night, -90, 90, [ { hemisphere: :north_pole, start: 268, end: 356 }, # September 24 - December 22 { hemisphere: :south_pole, start: 80, end: 170 } # March 22 - June 20 ]], [:polar_day, -90, 90, [ { hemisphere: :north_pole, start: 81, end: 264 }, # March 21 - September 20 { hemisphere: :south_pole, start: 81, end: 264 } # March 21 - September 20 ]], [:equatorial_day, -90, 90, [ { hemisphere: :equator, start: 0, end: 364, variation: 0.083 } # Full year with variation < 5 minutes ]] ] latitudes = [-90, -45, 0, 45, 90] # Predefined latitudes for testing yeardays = [0, 91, 182, 273] # Predefined yeardays for testing latitudes.each do |latitude| yeardays.each do |yearday| result = axis_tilt_daylength_effect(latitude, yearday) assert_includes(-1…1, result) constraints.each do |condition, tilt_min, tilt_max, ranges| next unless latitude.between?(tilt_min, tilt_max) ranges.each do |range| if yearday.between?(range[:start], range[:end]) case condition when :polar_night # Polar night: length < 1h assert_operator(result, :<, 1) when :polar_day # Polar day: length > 23h assert_operator(result, :>, 1) when :equatorial_day # Equatorial day varies < 5 minutes assert_in_delta(result, 1, range[:variation]) end end end end end end end
3e86795141b8087c467d901bbe055321
{ "intermediate": 0.3933667838573456, "beginner": 0.2935202121734619, "expert": 0.3131130039691925 }
22,594
How can I mock a function called inside another function using MagicMock, in pytest?
aaa9f3b85bf86a704dfe2933535e8281
{ "intermediate": 0.49944743514060974, "beginner": 0.30448219180107117, "expert": 0.1960703581571579 }
22,595
write excel formula based on below instructions.
3ead5041648d659a30313eda6e15e630
{ "intermediate": 0.3652033507823944, "beginner": 0.23386329412460327, "expert": 0.4009333550930023 }
22,596
what are the state-of-the-art demand forecasting methods?
046d216abc62f0e2f6d2b335134b2e4e
{ "intermediate": 0.25178924202919006, "beginner": 0.21767732501029968, "expert": 0.5305334329605103 }
22,597
can you give me a PHP code to generate a colour gradient wth n step beetween 2 color ?
385163a32bf7d4ae75157f9309934c08
{ "intermediate": 0.5838226079940796, "beginner": 0.12521283328533173, "expert": 0.29096460342407227 }
22,598
can you give me a PHP code to generate a colour gradient wth n step beetween 2 color ?
d39588e643a2d30e3cb7567512354704
{ "intermediate": 0.5838226079940796, "beginner": 0.12521283328533173, "expert": 0.29096460342407227 }
22,599
can you give me a PHP code to generate a colour gradient wth n step beetween 2 color ?
c3f0de57add475bd6da51f40f6cfe96a
{ "intermediate": 0.5838226079940796, "beginner": 0.12521283328533173, "expert": 0.29096460342407227 }
22,600
I used code bellow to register settings class for my plugin, how can i get variables from this settings in runtime ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>("Settings"); if (SettingsModule != nullptr) { SettingsModule->RegisterSettings("Project", "Plugins", "ReadyGamesNetwork", LOCTEXT("ReadyGamesNetworkSettingsName", "ReadyGamesNetwork"), LOCTEXT("ReadyGamesNetworkSettingsDescription", "Project settings for ReadyGamesNetwork plugin"), GetMutableDefault<UReadyGamesNetworkSettings>() ); }
40acf127cb5b562fdac26821be9a5292
{ "intermediate": 0.2693352997303009, "beginner": 0.6857877373695374, "expert": 0.044877003878355026 }
22,601
find the issue why instead of put ProjectId variable it puts it name in line: <data android:scheme="$S(ProjectId)" /> <init> <setStringFromProperty result="ProjectId" ini="Game" section="/Script/ReadyGamesNetwork.ReadyGamesNetworkSettings" property="ProjectId" default=""/> <log text="$S(ProjectId)"/> <log text="ReadyGamesNetwork SDK Android Initialization"/> </init> <androidManifestUpdates> <loopElements tag="activity"> <setStringFromAttribute result="activityName" tag="$" name="android:name"/> <setBoolIsEqual result="bGameActivityUE4" arg1="$S(activityName)" arg2="com.epicgames.ue4.GameActivity"/> <setBoolIsEqual result="bGameActivityUE5" arg1="$S(activityName)" arg2="com.epicgames.unreal.GameActivity"/> <setBoolOr result="bGameActivity" arg1="$B(bGameActivityUE4)" arg2="$B(bGameActivityUE5)"/> <if condition="bGameActivity"> <true> <addElements tag="$"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="$S(ProjectId)" /> </intent-filter> </addElements> </true> </if> </loopElements> </androidManifestUpdates>
9deabb7ec11014267cd6c405e60ccaee
{ "intermediate": 0.19049593806266785, "beginner": 0.6896646618843079, "expert": 0.11983941495418549 }
22,602
act as unreal engine developer. i working on your plugin and you need to put some changes in android manifest, to do this i decided use UPL. how you will put additional android manifest attribute with your variable in it
b41c2c8fa7beb875f1dcb0d2d094cbd5
{ "intermediate": 0.33198535442352295, "beginner": 0.3944105803966522, "expert": 0.2736040949821472 }
22,603
when you try to add this element, instead of ProjectId variable value, unreal put ProjectId literal, where the issue? android:scheme=“$S(ProjectId)”
1ccae17c0a0072c37c2c8c6cbc9df938
{ "intermediate": 0.4541876018047333, "beginner": 0.4337894320487976, "expert": 0.11202295869588852 }
22,604
[<Experiment: artifact_location='file:///app/TI_Recommendation_Engine/active/Data/mlruns/447809803181871543', creation_time=1698331095368, experiment_id='447809803181871543', last_update_time=1698331095368, lifecycle_stage='active', name='test_glp', tags={}>] how do i pull out name
45aa946b0ed30fc669dbd4d57989203a
{ "intermediate": 0.29270443320274353, "beginner": 0.33559250831604004, "expert": 0.37170305848121643 }
22,605
Take a grey scale image. Shift it to the x and y axis by an amount 2.5 and 3.0 respectively. Find its subpixel level phase shifts in both axis
377be91a371981250d5c519b7a78c2d9
{ "intermediate": 0.38993221521377563, "beginner": 0.2313552051782608, "expert": 0.37871256470680237 }
22,606
data_transpose <-sub_trt0 %>% melt(. id=c("Subject_ID","Analyte")) how to fix this code
b3715f2c5d0f670ba558e441d6937525
{ "intermediate": 0.46274349093437195, "beginner": 0.25956034660339355, "expert": 0.2776961326599121 }