row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
7,327
Can you describe the algorithm for Georg Nees' computer artwork "Schotter"?
ebe7f78a1bba01982f7d3b754724ac8e
{ "intermediate": 0.07878094166517258, "beginner": 0.07239437848329544, "expert": 0.848824679851532 }
7,328
format as a code block a function isEven in Rust
ccfe36ba18ea1de325b5c7171383e07e
{ "intermediate": 0.15870265662670135, "beginner": 0.6983726024627686, "expert": 0.1429247409105301 }
7,329
isEven in Rust as web code block
a617b3cbe96814354cd2a8df50ab7ea0
{ "intermediate": 0.22441698610782623, "beginner": 0.4655352532863617, "expert": 0.31004777550697327 }
7,330
You are a software developer.
d58050c41bb0d0276fa96bbfd111b5e2
{ "intermediate": 0.36522355675697327, "beginner": 0.14749553799629211, "expert": 0.4872809052467346 }
7,331
in python, make a predictor for a 5x5 map that predicts where an ingame rust clan is gonna go based on their previes locations. The map is from A0 to U25, and you will get all the grids in a list named locations_of_clan. Make it say 3 location that are most likely
9313526531d1234a87383d7c4dee2ede
{ "intermediate": 0.2723948359489441, "beginner": 0.12725789844989777, "expert": 0.6003472208976746 }
7,332
write code snippet
f23973385a0f783f3b453b047d616ac2
{ "intermediate": 0.3426075279712677, "beginner": 0.29327526688575745, "expert": 0.36411720514297485 }
7,333
pub struct Bank { funds: f64, merchs: Vec<Box<dyn Merch>>, } impl Bank { pub fn new(funds: f64) -> Self { Self { funds, merchs: Vec::new(), } } pub fn set_funds(&mut self, new_funds: f64) { self.funds = new_funds; for merch in self.merchs.ite...
9eec7e9d69afd3637af11e5604be69c9
{ "intermediate": 0.42818593978881836, "beginner": 0.25104954838752747, "expert": 0.3207645118236542 }
7,334
write code snippet and format it with markdown as code
f6c8ec530a9bfbb6c4d509ea98348349
{ "intermediate": 0.3220769464969635, "beginner": 0.2812921404838562, "expert": 0.3966309130191803 }
7,335
image_rr = models.FileField(upload_to='media/', null=True, blank=True) ValueError at /company/api/rate_raview/ The 'image_rr' attribute has no file associated with it. provide a code
c12ea7c8809c7155f83c4e50fa7ffaeb
{ "intermediate": 0.3687586486339569, "beginner": 0.4552166759967804, "expert": 0.1760246753692627 }
7,336
In sheet Job Request cell A2 I select a company form a list. In the same sheet cell B2, I select an Issue Type from a list. In cell C2, I select a Location from a list. In cell D2, I manually enter Details of Request. What I would like is to write a VBA code that is triggered by chnage of value in cell B2. If the valu...
249cb9c9dcc42d9138a42564dfd7b6c0
{ "intermediate": 0.39298999309539795, "beginner": 0.2705134451389313, "expert": 0.336496502161026 }
7,337
How many binary truth functions are possible? Give a natural interpretation to each of them.
ce835d0ffa27b6e8ea502123cbd53dab
{ "intermediate": 0.22406911849975586, "beginner": 0.4449146091938019, "expert": 0.33101627230644226 }
7,338
Hi
0f3db3b973e6414796571f8abe7f7607
{ "intermediate": 0.33010533452033997, "beginner": 0.26984941959381104, "expert": 0.400045245885849 }
7,339
write rust trait Merch with getters pricetag and affordable
09d72034c2af51a3cb00c6bcfbad3b87
{ "intermediate": 0.3312963843345642, "beginner": 0.4427228569984436, "expert": 0.225980743765831 }
7,340
defauld reflector conf content
b2b739d2b55877e2a3126e36610e88b3
{ "intermediate": 0.3509839177131653, "beginner": 0.3411884009838104, "expert": 0.3078276515007019 }
7,341
In python use a machine learning module to predict where an ingame rust clan is gonna be next based on their previes locations. The map is from A0 to U25 and you have their past grids in a raw list you need to use: it looks like this; ['H3', 'H1', 'H5', 'H12']
6b3ca36cb5f9a22d384516e7d18fce02
{ "intermediate": 0.1414540708065033, "beginner": 0.05211099609732628, "expert": 0.8064349293708801 }
7,342
Напиши лексер на Java для языка с такими возможностями: Структура программы: <программа>::= program var <описание> begin <оператор> {; <оператор>} end. Синтаксис описания данных: <описание>::= <тип> <идентификатор> { , <идентификатор> } Синтаксис идентификаторов: <буква> <непустая последовательность букв> <цифра> Описа...
abac2988cac209ab6bc53c86f6018d89
{ "intermediate": 0.3255173861980438, "beginner": 0.46104276180267334, "expert": 0.21343982219696045 }
7,343
Property 'mockResolvedValueOnce' does not exist on type 'AxiosStatic'.
16d53b7668b710b14de3555a4b30ee57
{ "intermediate": 0.4522086977958679, "beginner": 0.256966769695282, "expert": 0.2908245623111725 }
7,344
precision and recall give me 0
334b29c6061306c27ca144c048a6dba7
{ "intermediate": 0.32386332750320435, "beginner": 0.3988719880580902, "expert": 0.2772647738456726 }
7,345
asd
7e8c0b52341b18091abb9e2c5111efe2
{ "intermediate": 0.3082326054573059, "beginner": 0.2983354330062866, "expert": 0.3934319019317627 }
7,346
what are similarities between composition and inheritance
b9aba18a13f7f94283654932909123ca
{ "intermediate": 0.41682299971580505, "beginner": 0.3726635277271271, "expert": 0.21051350235939026 }
7,347
suppose i use composition in dart. Class Composite has a lot of different components with their own methods. i need to hide them from public api and forward a lot of their method but its error prone. how to do it better
5a9623651bca8669067dc13e25890ebb
{ "intermediate": 0.5759605765342712, "beginner": 0.18221846222877502, "expert": 0.24182097613811493 }
7,348
import { useState, useEffect } from "react"; import axios from "axios"; const randomJokeApi = "https://api.chucknorris.io/jokes/random"; const JokePart = () => { const [joke, setJoke] = useState(); const randomJokeGenerator = async () => { try { const resp = await axios.get(randomJokeApi); setJoke(r...
2724d66ada69a11e508ebaa3c8b2b989
{ "intermediate": 0.40954068303108215, "beginner": 0.4668086767196655, "expert": 0.12365064024925232 }
7,349
import { useState, useEffect } from “react”; import axios from “axios”; const randomJokeApi = “https://api.chucknorris.io/jokes/random”; const JokePart = () => { const [joke, setJoke] = useState(); const randomJokeGenerator = async () => { try { const resp = await axios.get(randomJokeApi); setJoke(resp.data.value); } c...
8cfec03c79533cadb90f0afbf2f291c3
{ "intermediate": 0.4444601535797119, "beginner": 0.38545307517051697, "expert": 0.1700867861509323 }
7,350
lets do composition in dart. we have public api with classes E, U and no more. now there are components Merch with buy(), sMerch with buy() forwarded with some logic, and mMerch with buy() forwarded but without extra logic. We have composite classes U with component Singlemerch and forwarded buy() with some further lo...
dab574ae5447ab4589f233787a7c84e2
{ "intermediate": 0.6017852425575256, "beginner": 0.24100257456302643, "expert": 0.15721221268177032 }
7,351
import { render, screen, fireEvent, waitFor } from "@testing-library/react"; import axios, { AxiosStatic } from "axios"; import JokePart from "./index"; jest.mock("axios"); describe("JokePart", () => { test("should render a joke and update it on button click", async () => { const mockJoke = "Chuck Norris ...
431656bfe2cc49380fd5eae6474c2c0f
{ "intermediate": 0.7307653427124023, "beginner": 0.18575747311115265, "expert": 0.08347723633050919 }
7,352
lets do composition in dart without inheritance. we have public api with classes E, U and no more. now there are components Merch with buy(), firstMerch with component Merch with buy() forwarded with some logic, and secondMerch with component Merch with buy() forwarded but without extra logic. We have composite classes...
bf610c3ca743bac13e0bfb5b0080d5fe
{ "intermediate": 0.5946649312973022, "beginner": 0.22930993139743805, "expert": 0.1760251373052597 }
7,353
abstract class Purchasable { void buy(); int get priceTag; } class E implements Purchasable { final SecondMerch _secondMerch; E() : _secondMerch = SecondMerch(); @override void buy() { print("before E logic"); _secondMerch.buy(); print("after E logic"); } @override int get priceTag =>...
08fba8d5ab57d6e33fd1d2c7b0d8b57c
{ "intermediate": 0.22778043150901794, "beginner": 0.6521059274673462, "expert": 0.12011366337537766 }
7,354
asdsadsadsa
c1f0cdff7bc8fb7b573f57e2d4508ac2
{ "intermediate": 0.3074102997779846, "beginner": 0.3293098211288452, "expert": 0.36327987909317017 }
7,355
abstract class IMerch { void buy(); int get pricetag; } /// API E class E implements IMerch { final QuantityMerch _quantityMerch; E() : _quantityMerch = QuantityMerch(); @override void buy() { /* some E logic */ _quantityMerch.buy(); /* some E logic */ } @override int get pricetag => _...
3f898f83dc72b41a7157b1062f221d60
{ "intermediate": 0.5153478980064392, "beginner": 0.24475038051605225, "expert": 0.23990172147750854 }
7,356
#include <iostream> #include <vector> #include <cstdlib> #include <ctime> #include <bits/stdc++.h> using namespace std; vector<vector<char>> generateGrid(int n, int m) { vector<vector<char>> grid(n, vector<char>(m, '.')); int num_cells = n *m; int num_obstacles = num_cells / 4; int num_s_t = rand() % (num_cells - nu...
7a2df5418d000bd18f445d042fa34187
{ "intermediate": 0.340983122587204, "beginner": 0.41768190264701843, "expert": 0.2413349598646164 }
7,357
Give me a code that takes in a imput and searches that input inside google
1390d7cce4fe725c1d8b22e4ebc292ed
{ "intermediate": 0.415340781211853, "beginner": 0.11466088891029358, "expert": 0.4699983298778534 }
7,358
#include <iostream> #include <vector> #include <cstdlib> #include <ctime> #include <bits/stdc++.h> using namespace std; vector<vector<char>> generateGrid(int n, int m) { vector<vector<char>> grid(n, vector<char>(m, '.')); int num_cells = n *m; int num_obstacles = num_cells / 4; int num_s_t = rand() % (num_cells - nu...
35fb1e16eff0001bc15bc8786012d6f3
{ "intermediate": 0.340983122587204, "beginner": 0.41768190264701843, "expert": 0.2413349598646164 }
7,359
abstract class IMerch { void buy(); int get pricetag; } /// API E class E implements IMerch { final QuantityMerch _quantityMerch; E() : _quantityMerch = QuantityMerch(); @override void buy() { /* some E logic */ _quantityMerch.buy(); /* some E logic */ } @override int get pricetag => _...
2e5d3ec135e4fd848e9296b622de70c5
{ "intermediate": 0.498064249753952, "beginner": 0.3044174611568451, "expert": 0.19751833379268646 }
7,360
import { render, screen } from "@testing-library/react"; import Portfolios from "."; test("find link in document", () => { render(<Portfolios />); const netlifyLinkSecondProject = screen.getByRole("link"); expect(netlifyLinkSecondProject).toHaveAttribute( "href", "https://www.test.com/" ); }); what wron...
3006991fa05ee39044e80f99ac059dac
{ "intermediate": 0.5696291923522949, "beginner": 0.2462276816368103, "expert": 0.18414312601089478 }
7,361
#include <bits/stdc++.h> using namespace std; vector<vector<char>> generateGrid(int n, int m) { vector<vector<char>> grid(n, vector<char>(m, '.')); int num_cells = n *m; int s_row, s_col, t_row, t_col; do { // Choose a random cell for S s_row = rand() % n; s_col = rand() % m;...
fbbd6f78b1b8ad7d10b52638184de716
{ "intermediate": 0.4681985676288605, "beginner": 0.358354389667511, "expert": 0.17344702780246735 }
7,362
write me a blender python script that can produce a simple human female body by pressing a button in the tools hierachy under the category name "FastBody"
f01a48714ae17b2e2290e04e7ebd0b86
{ "intermediate": 0.33060967922210693, "beginner": 0.1190984845161438, "expert": 0.5502918362617493 }
7,363
abstract class IMerch { void buy(); int get pricetag; } /// API E class E implements IMerch { final QuantityMerch _quantityMerch; E() : _quantityMerch = QuantityMerch(); @override void buy() { /* some E logic */ _quantityMerch.buy(); /* some E logic */ } @override int get pricetag => _...
ab6dd835524c0ef7662e9d61a455d7df
{ "intermediate": 0.498064249753952, "beginner": 0.3044174611568451, "expert": 0.19751833379268646 }
7,364
write a blog post about kafka streams
45a3c1105e42fc2d0e77af05ca9b8293
{ "intermediate": 0.4781897962093353, "beginner": 0.24891871213912964, "expert": 0.2728915214538574 }
7,365
hello
5929f49bfbd7f3d1972fe0d0ebeab574
{ "intermediate": 0.32064199447631836, "beginner": 0.28176039457321167, "expert": 0.39759764075279236 }
7,366
should i always protect integers from overflow in functions that logically work with small numbers
4452d446443c3437a46b947b5c17ccdf
{ "intermediate": 0.32713422179222107, "beginner": 0.2557843029499054, "expert": 0.4170815050601959 }
7,367
i need a really small 8 bit value where minimal value is 0 and maximum value is 1; make best c++ typedef and write some documentation for it
cab65ba07906836b06c41ebfd4a6f2ca
{ "intermediate": 0.29572951793670654, "beginner": 0.23550227284431458, "expert": 0.4687681496143341 }
7,368
suppose i need to code value from 0 to 1 in only 8 bits. write c++ class
aab8d57b3ad534b06c581592bf598cba
{ "intermediate": 0.31337279081344604, "beginner": 0.37590834498405457, "expert": 0.310718834400177 }
7,369
suppose i need to code value from 0 to 1 in only 8 bits. write c++ class
0177a2cac022da5bf828f8ddc2b06d7d
{ "intermediate": 0.31337279081344604, "beginner": 0.37590834498405457, "expert": 0.310718834400177 }
7,370
suppose i need to code some decimal value from 0 to 1 (example 0.75) in only 8 bits. write c++ class
a62aad6eee6cd316a85310688cad558b
{ "intermediate": 0.32242098450660706, "beginner": 0.42727231979370117, "expert": 0.25030672550201416 }
7,371
import { useState } from "react"; import { scrollToRef } from "../Utils"; import { GiHamburgerMenu } from "react-icons/gi"; import { TiDelete } from "react-icons/ti"; import { RefProps } from "../Types"; const Navigation: React.FC<RefProps> = ({ aboutref, skillref, myworkref, blogref, contactref, }) => { co...
a40f4ea6771437cb312caa9a8706e866
{ "intermediate": 0.41228044033050537, "beginner": 0.4536648392677307, "expert": 0.13405469059944153 }
7,372
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) { d = 0; } else if (d > 1) { d = 1; } value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } private: uint8_t value; };
425ba37e71bc14411c1d2e8cf244f7ae
{ "intermediate": 0.18425697088241577, "beginner": 0.698882520198822, "expert": 0.11686047911643982 }
7,373
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) { d = 0; } else if (d > 1) { d = 1; } value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } private: uint8_t value; };
d8bffa63838fbe9c40c17320f1b5dc90
{ "intermediate": 0.18425697088241577, "beginner": 0.698882520198822, "expert": 0.11686047911643982 }
7,374
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) { d = 0; } else if (d > 1) { d = 1; } value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } private: uint8_t value; };
732c9eee5f15eb8e1432bf5e9f090c82
{ "intermediate": 0.18425697088241577, "beginner": 0.698882520198822, "expert": 0.11686047911643982 }
7,375
import { useState } from "react"; import { scrollToRef } from "../Utils"; import { GiHamburgerMenu } from "react-icons/gi"; import { TiDelete } from "react-icons/ti"; import { RefProps } from "../Types"; const Navigation: React.FC<RefProps> = ({ aboutref, skillref, myworkref, blogref, contactref, }) => { co...
0119522df16907ec521921c6e3a94395
{ "intermediate": 0.433977335691452, "beginner": 0.4100411832332611, "expert": 0.1559813767671585 }
7,376
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) d = 0; else if (d > 1) d = 1; value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } uint8_t operato...
da0a12e3116332f7f1dcd9510b2cfe61
{ "intermediate": 0.21243499219417572, "beginner": 0.6497889757156372, "expert": 0.1377759426832199 }
7,377
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) d = 0; else if (d > 1) d = 1; value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } uint8_t operato...
8c2b86f9fd6dfe53eb589c19271f18d9
{ "intermediate": 0.26468363404273987, "beginner": 0.5267218947410583, "expert": 0.20859448611736298 }
7,378
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) d = 0; else if (d > 1) d = 1; value = static_cast<uint8_t>(d * 255); } operator double() const { return static_cast<double>(value) / 255; } uint8_t operato...
4a8a6e00053d70a0b536dfa1614a59d5
{ "intermediate": 0.22015616297721863, "beginner": 0.66121506690979, "expert": 0.1186288520693779 }
7,379
class FractionalValue { public: FractionalValue() : value(0) {} FractionalValue(double d) { if (d < 0) d = 0; else if (d > 1) d = 1; value = static_cast<uint8_t>(d * 255); } uint8_t operator()() const { return value; } operator double() const { retur...
d3bc8b7ae1a615d9400e9c76230ac220
{ "intermediate": 0.2109905481338501, "beginner": 0.6443995833396912, "expert": 0.14460986852645874 }
7,380
flutter how to detect keyboard keys combination pressed?
06b2eeec66d54ae4c44baa6961025e49
{ "intermediate": 0.3232545852661133, "beginner": 0.1260070949792862, "expert": 0.5507383346557617 }
7,381
are you using chatgpt 4?
c589405c8217134a16fab6bebfac136a
{ "intermediate": 0.38950780034065247, "beginner": 0.1907920092344284, "expert": 0.41970017552375793 }
7,382
flutter. when i do DateTime.parse() time changes. how to prevent?
d9969ba424d397766fb9ee16ec754587
{ "intermediate": 0.47504445910453796, "beginner": 0.2836437523365021, "expert": 0.24131178855895996 }
7,383
python image processing color histogram feature
ecc9f42c9d00ff9b02acf2d82270fb05
{ "intermediate": 0.34168148040771484, "beginner": 0.18699777126312256, "expert": 0.471320778131485 }
7,384
what does it mean: people don't come to work to get paid, they come to work so the pay doesn't stop
2cede11807836a1d6cde71763520b030
{ "intermediate": 0.4823906421661377, "beginner": 0.3051493167877197, "expert": 0.2124600112438202 }
7,385
首先,旅行商问题可以转化为图论中的TSP问题,我们将城市之间的距离计算出来,构建完整图。 代码如下: import math # 城市坐标 coordinates = [(16.47, 96.1), (16.47, 94.44), (20.09, 92.54), (22.39, 93.37), (25.23, 97.24), (17.2, 96.29), (16.3, 97.38), (14.05, 98.12), (16.53, 97.38), (21.52, 95.59)] def dist(city1, city2): “”“计算两个城市之间的距离”“” return math.sqrt((city1[0] - cit...
4fd6cff64dc085b3b5d0751084d65cbf
{ "intermediate": 0.2956945598125458, "beginner": 0.48780909180641174, "expert": 0.21649640798568726 }
7,386
Linux find ,except 2 patterns,.TMP .1
f788e2ccf31e9b6862bfd8917c8a2023
{ "intermediate": 0.28127798438072205, "beginner": 0.34836485981941223, "expert": 0.3703571856021881 }
7,387
Flutter how to draw widget to know its size but user should not see it?
89597db87954fdc4dc321705c5c44187
{ "intermediate": 0.3831270635128021, "beginner": 0.13176171481609344, "expert": 0.4851112365722656 }
7,388
helo
abeb5a0bf95c021b0753363a7aa77905
{ "intermediate": 0.3348933756351471, "beginner": 0.24563074111938477, "expert": 0.41947582364082336 }
7,389
I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele...
56f718a1b7e295500a64d4b5464f9391
{ "intermediate": 0.37253791093826294, "beginner": 0.43056100606918335, "expert": 0.1969011276960373 }
7,390
highestWaitingrequestWaits cloudera
ebba4cbb545c700fde4c1609c1be95ef
{ "intermediate": 0.3870488107204437, "beginner": 0.30869874358177185, "expert": 0.3042525053024292 }
7,391
import math import random import matplotlib.pyplot as plt CITY_COORDS = [ (16.47, 96.1), (16.47, 94.44), (20.09, 92.54), (22.39, 93.37), (25.23, 97.24), (17.2, 96.29), (16.3, 97.38), (14.05, 98.12), (16.53, 97.38), (21.52, 95.59) ] POPULATION_SIZE = 1000 ELITISM = 0.1 MUTATION_...
ea4c3f5b3ca8f4a24574aa78968654d6
{ "intermediate": 0.35472729802131653, "beginner": 0.43134379386901855, "expert": 0.21392887830734253 }
7,392
how t o run django server
6191472e46126e5ff2e4c4a3bdf1707a
{ "intermediate": 0.616280198097229, "beginner": 0.2047702968120575, "expert": 0.1789495050907135 }
7,393
I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele...
b1426956315366e54d9135b482e26eaa
{ "intermediate": 0.37253791093826294, "beginner": 0.43056100606918335, "expert": 0.1969011276960373 }
7,394
Write abstract class merch in dart. It declares a getter pricetag and getter is affordable
81876b8a40df3d9b2f6876496a8656a0
{ "intermediate": 0.23391950130462646, "beginner": 0.5535451173782349, "expert": 0.21253542602062225 }
7,395
log in in blazor
ff5fd7a22665c98f3a36e0aaebededba
{ "intermediate": 0.345274418592453, "beginner": 0.2726961672306061, "expert": 0.3820294439792633 }
7,396
abstract class Merch { double get priceTag; bool _isAffordable; @nonVirtual //marking isAffordable method as @nonVirtual bool get isAffordable => _isAffordable; @nonVirtual void updateAffordable(Bank bank) { _isAffordable = bank.funds >= priceTag; } } class Bank { double funds; } class Shirt extends Merch { @overri...
14a7349d6f8488531ec20a1c67544475
{ "intermediate": 0.3103892207145691, "beginner": 0.43746864795684814, "expert": 0.25214216113090515 }
7,397
Ошибка при отправке запроса на покупку предмета import requests import time import steam.webauth as wa import steam.guard as sg import getpass CHECK_PERIOD = 60 ITEM_ID = 911210 MAX_PRICE = 0.05 login = 'gooselite' password = 'Mur172844165and2' steam_guard_code = input('Enter two-factor authentication code: ') session ...
b84a4e978b7e10a72a29df58acdcbf7d
{ "intermediate": 0.3708586096763611, "beginner": 0.4086337685585022, "expert": 0.22050759196281433 }
7,398
from pymavlink import mavutil import math import time from rich.console import Console from rich.text import Text from drone import Drone import sys cs = Console() INFO = Text("INFO") INFO.stylize("bold magenta") ACTION = Text("ACTION") ACTION.stylize("bold green") ABORT = Text("ABORT") ABORT.stylize("bold RED") ENTE...
ec6cacc6c854f6de2b02cb45907f3042
{ "intermediate": 0.2909993827342987, "beginner": 0.4682089686393738, "expert": 0.2407916635274887 }
7,399
flutter Positioned widget. how to change position via findAncestorWidgetOfExactType?
06b31d400b3dbdb754309119cdcf4f2a
{ "intermediate": 0.4205171465873718, "beginner": 0.17192904651165009, "expert": 0.4075537323951721 }
7,400
reduce the lerp fluctuation of entities a bit. you probably can make these entities to come from the right side and try to jump on platforms in derection to left. I'm not sure which simple logic you can add for this, but don't use any libraries or frameworks for neural network agents. also, try to add some main ground ...
7f09bcbf1631bfeb3eb8c3dd810fa986
{ "intermediate": 0.26050692796707153, "beginner": 0.43879055976867676, "expert": 0.3007025718688965 }
7,401
请利用遗传算法解决以下的旅行商问题: 一个旅行者需要到国内的10个城市旅行,各城市的坐标见下面。请设计一个合理的线路使旅行者所行的路程(坐标间距离,非球面距离)之和最小。注意:每个城市只能访问一次,且最后要回到原来出来的城市。 要求:输出适应度函数的进化曲线,展示线路的动态变化过程及最终的线路图。 城市编号 X坐标 Y坐标 1 16.47 96.1 2 16.47 94.44 3 20.09 92.54 4 22.39 93.37 5 25.23 97.24 6 17.2 96.29 7 16.3 97.38 8 14.05 98.12 9 16.53 97.38 10 21.52 95.59 实验语言不限给出代码
1ce299e3fee2d1b4b61e3cde2295d878
{ "intermediate": 0.36791178584098816, "beginner": 0.3282429873943329, "expert": 0.30384522676467896 }
7,402
Blazor file downloads
4b473fd605918258412ec9b01241b743
{ "intermediate": 0.3434579074382782, "beginner": 0.2517187297344208, "expert": 0.404823362827301 }
7,403
package main import ( "fmt" "math" "strconv" "strings" "unicode" ) // Define all token types type TokenType int const ( EOF TokenType = iota Number Plus Minus Multiply Divide Power Sqrt Root Sin Cos Tan Cot LeftParen RightParen Variable Comma ) // Token structure type Token struct { Type Tok...
efb7c45154fd5535a31d113336a4646f
{ "intermediate": 0.33117443323135376, "beginner": 0.510394275188446, "expert": 0.1584312468767166 }
7,404
reduce the lerp fluctuation of entities a bit. you probably can make these entities to come from the right side and try to jump on platforms in derection to left. I'm not sure which simple logic you can add for this, but don't use any libraries or frameworks for neural network agents. also, try to add some main ground ...
50470777a73f4d98979fe5843e9f03f3
{ "intermediate": 0.26050692796707153, "beginner": 0.43879055976867676, "expert": 0.3007025718688965 }
7,405
package main import ( "fmt" "math" "strconv" "strings" "unicode" ) // Define all token types type TokenType int const ( EOF TokenType = iota Number Plus Minus Multiply Divide Power Sqrt Root Sin Cos Tan Cot LeftParen RightParen Variable Comma ) // Token structure type Token struct { Type Tok...
077d7eb821aab714ba8b19b200c0259d
{ "intermediate": 0.32270193099975586, "beginner": 0.5206148624420166, "expert": 0.15668326616287231 }
7,406
How will I write a vba code to open this google sheet https://docs.google.com/spreadsheets/d/1PbhnvqdiCrZM2oumPARI-bZSnKSbkH1BoG9L__Z54sw/edit?resourcekey#gid=878161329
f29182a4349f9520a498d6bdabdba830
{ "intermediate": 0.39914315938949585, "beginner": 0.281717985868454, "expert": 0.31913885474205017 }
7,407
I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele...
72cc2a89883fa9f669d2449f36cc5c46
{ "intermediate": 0.41963455080986023, "beginner": 0.41251125931739807, "expert": 0.16785423457622528 }
7,408
there’s some random platforms got generated from right-to-left. I want to generate an addidition single ground platform at the bottom that should be constantly generated with some ability to make it dashed, as in Mario platformer game. but it generates the grnd platform but the random platform generation is lost? wtf?:...
cf65dcc1207af84bf6bb311c2168ac64
{ "intermediate": 0.34464699029922485, "beginner": 0.40602561831474304, "expert": 0.2493273913860321 }
7,409
The last line of this code starting data = Split, is higlited red in my VBA editor and appears that VBA does not like it. Can you make a suggestion: ' Get the data in columns A to J of the 'Current Jobs' sheet Set HTMLDoc = IE.Document Set IEInput = HTMLDoc.getElementsByClassName("kix-zoomdocumentplugin-mobile-view") ...
66099345970e5eb6849020952e744687
{ "intermediate": 0.5614942312240601, "beginner": 0.3193208873271942, "expert": 0.11918485909700394 }
7,410
there’s some random platforms got generated from right-to-left. I want to generate an addidition single ground platform at the bottom that should be constantly generated with some ability to make it dashed, as in Mario platformer game. but it generates the grnd platform but the random platform generation is lost? wtf?:...
73ae0fc3eb022282abaebab24fcf28d9
{ "intermediate": 0.34464699029922485, "beginner": 0.40602561831474304, "expert": 0.2493273913860321 }
7,411
java code for a mini db using a hashtable and serialization
44030215fd3ba8501297970962fa33f5
{ "intermediate": 0.5561791658401489, "beginner": 0.18432365357875824, "expert": 0.25949713587760925 }
7,412
I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele...
dcc080d2417a1ed54ec9d0739865498d
{ "intermediate": 0.41963455080986023, "beginner": 0.41251125931739807, "expert": 0.16785423457622528 }
7,413
can you add time based staking elements to the score of this smart contract? //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract LP_LEADERBOARD { mapping(address => mapping(address => uint256)) public userLockedBalances; mapping(uint256 => ...
3abec4c6272f8aa0896894043020cad3
{ "intermediate": 0.3369735777378082, "beginner": 0.4521358609199524, "expert": 0.21089059114456177 }
7,414
In the code provided, the browser and web page is not opening: Sub PremisesRequests() Dim url As String url = "https://docs.google.com/spreadsheets/d/1PbhnvqdiCrZM2oumPARI-bZSnKSbkH1BoG9L__Z54sw/edit?resourcekey#gid=878161329" CreateObject("Shell.Application").Open url Application.Wait (Now + TimeValue("0:00:05"...
9279ee5773c6db5e249da2e2044b95af
{ "intermediate": 0.49547263979911804, "beginner": 0.237186998128891, "expert": 0.26734039187431335 }
7,415
исправь код так, чтобы при вводе реферального кода проверлась наличие подписки на канал в телеграмм, а иначе выскакивала надпись с просьбой подписаться. """import os import sqlite3 from uuid import uuid4 from telegram import Update from telegram.ext import Updater, CommandHandler, CallbackContext, MessageHandler, Filt...
509d8ebde96b974eda24355083b0d8d1
{ "intermediate": 0.3260142207145691, "beginner": 0.39528927206993103, "expert": 0.2786964774131775 }
7,416
i'm trying to fetch comments but i got error comments.map is not a function [import React, { useEffect, useState } from "react"; import { useParams } from "react-router-dom"; import axios from "axios"; import "../style.scss"; function View() { const [video, setVideo] = useState(null); const [commentText, setCommen...
9332530ca68da9d8c99b63ad22e744c0
{ "intermediate": 0.4951130747795105, "beginner": 0.42625725269317627, "expert": 0.07862962782382965 }
7,417
<template> <div class="sidebar"> <el-menu :default-active="routePath" active-text-color="#20a0ff" background-color="#324157" class="sidebar-el-menu" router text-color="#bfcbd9" > <template v-for="item in items"> <template v-if="item.subs"> <el-submen...
886bb21cf8da85c0386d869c1323c166
{ "intermediate": 0.2976359724998474, "beginner": 0.5049983263015747, "expert": 0.19736571609973907 }
7,418
I want use JavaScript build a table ,It has editable functions, dynamically add row, remove row, each cell has its own configuration items and data
43dee24fd4dc868005ad8119cd650701
{ "intermediate": 0.7231472134590149, "beginner": 0.12216022610664368, "expert": 0.15469259023666382 }
7,419
I’m building a video game engine using C++ as the coding language and Vulkan for graphics. I am trying to set up a generic renderer using Vulkan that is flexible and will render objects based on a vector that is supplied to it. The renderer will also handle the creation of the window using GLFW and use GLM for all rele...
9d7e396642b400c3e25db87c620f33eb
{ "intermediate": 0.41963455080986023, "beginner": 0.41251125931739807, "expert": 0.16785423457622528 }
7,420
I’m working on an arduino project using a keypad 4x4, a lcd screen, 8 relays. A RTC 3232. It’s divided in several files .cpp/.h. The following code consist on a menu for relays managing. It’s called from the main loop by using a button calling mainMenu(). This code works but I want you optimise the menu (information on...
24e3fed3818ac645660496d191e0f01d
{ "intermediate": 0.33190181851387024, "beginner": 0.40994521975517273, "expert": 0.2581530213356018 }
7,421
I have a google sheet open in my Chrome browser on my PC. The goole sheet name is 'Current Jobs'. I also have an Excel workbook 'Premesis Requests' open on my PC. I want to write a vba code that will copy columns A to Columns J from the google sheet page 'Current Jobs' and then paste the column's to my Excel workbook '...
ea1b8a7f43047ba4d23919eef98b2576
{ "intermediate": 0.45657116174697876, "beginner": 0.2558099031448364, "expert": 0.2876189351081848 }
7,422
package main import ( “fmt” “math” “strconv” “strings” “unicode” ) // Define all token types type TokenType int const ( EOF TokenType = iota Number Plus Minus Multiply Divide Power Sqrt Root Sin Cos Tan Cot LeftParen RightParen Variable Comma ) // Token structure type Token struct { Type TokenType Value string } /...
c31ef846f3c429199fac4706bf9f22ce
{ "intermediate": 0.3245989978313446, "beginner": 0.48085060715675354, "expert": 0.19455043971538544 }
7,423
почему бот предлагает подписаться на канал, хотя пользователь уже и так подписан """import os import sqlite3 from uuid import uuid4 from telegram import Update from telegram.ext import Updater, CommandHandler, CallbackContext, MessageHandler, Filters # Используйте свой токен бота, переданного вам ботом @BotFather TEL...
f8f639d79536d603055b8b200228eedb
{ "intermediate": 0.3125632405281067, "beginner": 0.5293695330619812, "expert": 0.1580672711133957 }
7,424
你知道datagrep库吗
ae8ddaf10ba08e782889df68d24d6738
{ "intermediate": 0.29238900542259216, "beginner": 0.25845569372177124, "expert": 0.449155330657959 }
7,425
show me the code that using edge detection techniques to recognize the vehicle number plate
1089132429ecf179b66f0142842432ca
{ "intermediate": 0.229451522231102, "beginner": 0.03357953578233719, "expert": 0.736968994140625 }
7,426
package main import ( "fmt" "math" "strconv" "strings" "unicode" ) // Define all token types type TokenType int const ( EOF TokenType = iota Number Plus Minus Multiply Divide Power Sqrt Root Sin Cos Tan Cot LeftParen RightParen Variable Comma ) // Token structure type Token struct { Type Tok...
3a769d191e79dee73b16a50d036e20be
{ "intermediate": 0.3351188004016876, "beginner": 0.5080969929695129, "expert": 0.15678422152996063 }