row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
40,959 | What is example of yaml? | 50cc89e5329c145b267ae84105a5752d | {
"intermediate": 0.2972811460494995,
"beginner": 0.4592927396297455,
"expert": 0.24342605471611023
} |
40,960 | В Visual Prolog 7.5 заданы факты вида parent (a,b): a - родитель для b, и факты вида man(c): с - мужчина.
Используя эти предикаты, определить:
a) отношение grand_nephew(X,Y): X является внучатым племянником для Y (т.е. X - внук сестры или брата Y).
б) отношение has cousin Kim(X): у человека X есть двоюродный брат или с... | 8cdbc3c4dab2ccaedbc72528a9b2d7fe | {
"intermediate": 0.223744198679924,
"beginner": 0.6278908848762512,
"expert": 0.14836488664150238
} |
40,961 | how to get the application name from the text in python if the text is like ATS (Keystrokes) Features Tracker - Google Sheets - High memory usage - 989 MB - Brave - Profile 1 | 2de953ee50836d70b1f27ede9cef503f | {
"intermediate": 0.48068150877952576,
"beginner": 0.16891899704933167,
"expert": 0.35039952397346497
} |
40,962 | I have a macro enabled word document that contains data within a table.
The word document layout is set to minimal margin spaces, orientation portrait and size A4.
This layout is critical for the printing of the document.
The doucment also has a VBA code that pastes the table in an email client.
Unfortunately, when th... | 1001f4874c9f91782c495887876b297d | {
"intermediate": 0.4775773882865906,
"beginner": 0.2949061989784241,
"expert": 0.22751636803150177
} |
40,963 | В Visual Prolog 7.5 заданы факты вида parent (a,b): a - родитель для b, и факты вида man©: с - мужчина.
Используя эти предикаты, определить:
a) отношение grand_nephew(X,Y): X является внучатым племянником для Y (т.е. X - внук сестры или брата Y).
б) отношение has cousin Kim(X): у человека X есть двоюродный брат или сес... | 1013a27069157f50e9487cd8d683ed90 | {
"intermediate": 0.3432740867137909,
"beginner": 0.4836038053035736,
"expert": 0.17312213778495789
} |
40,964 | {
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"source": [
... | 9d70adcb6b85e6fb8ede667b8aa219ab | {
"intermediate": 0.3493768870830536,
"beginner": 0.2688944339752197,
"expert": 0.3817286193370819
} |
40,965 | opptimise ce code google colab ipynb en évitant les répition de fonction par exemple et en faisant que ce sois le plus clair possible a lire voici le code :
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display... | ef61ec603740460f6bfe74fc8fb3a7ef | {
"intermediate": 0.3861789405345917,
"beginner": 0.27531397342681885,
"expert": 0.3385070562362671
} |
40,966 | create me a simple react app. I want to deploy it on vercel. it should be stateless and display user information from fetching the fastify api. the app should have a button which should allow the user to signin using their google account. I want to use firebase auth for that. Show me complete code as well as complete s... | c0a021ae094ae14493dbf5f9ed70ba13 | {
"intermediate": 0.5830607414245605,
"beginner": 0.21189472079277039,
"expert": 0.20504452288150787
} |
40,967 | In a macro enabled word document, is there a VBA code that can auto fit the cell row to the cell content | 876fdb2d5ed3f90a04922d7ebdfd2eab | {
"intermediate": 0.3050267994403839,
"beginner": 0.4698343873023987,
"expert": 0.225138857960701
} |
40,968 | I need you to check and verify the below reward calculation function "calculate_reward(self, saturation_value, performance_metrics)" based on the below requirement, whether the given code satisfies the requirement or not in its computation steps. I implemeted this function with in my reinforcement learning approach.
I... | 98a66543536a149abc225a920042a799 | {
"intermediate": 0.29169270396232605,
"beginner": 0.41272619366645813,
"expert": 0.29558107256889343
} |
40,969 | hi | a56d4d0cea105c5c9d0c30505ce5b311 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
40,970 | write tests for rust code | b868e2d8fb6e048b5e0a1ee60c994ae6 | {
"intermediate": 0.2978852391242981,
"beginner": 0.3528819680213928,
"expert": 0.34923282265663147
} |
40,971 | Почему YARA правило не компилируется import "hash"
rule footprint_hash
{
strings:
$sha_256_x64 = "61C0810A23580CF492A6BA4F7654566108331E7A4134C968C2D6A05261B2D8A1"
condition:
hash.sha256(0,filesize) == $sha_256_x64
} | b5d943737636f1f79f866b2cdd393a27 | {
"intermediate": 0.43057262897491455,
"beginner": 0.3010638654232025,
"expert": 0.2683635354042053
} |
40,972 | Почему данное яро правило не работает import "hash"
rule hash_checkers
{
condition:
hash.sha256(0,filesize) == "61C0810A23580CF492A6BA4F7654566108331E7A4134C968C2D6A05261B2D8A1" or
hash.sha256(0,filesize) =="94795FD89366E01BD6CE6471FF27C3782E2E16377A848426CF0B2E6BAEE9449B"
} | a82a1586d9f6f428c2d77061f59ce5d8 | {
"intermediate": 0.4036903381347656,
"beginner": 0.2905857563018799,
"expert": 0.3057239055633545
} |
40,973 | hi | f2c5d3821dcf0b6a7be6f9577490a830 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
40,974 | 帮我把奖励改为未来20日(最大有利波动-最大不利波动)/(最大不利波动),同时注意把20作为类的默认参数,同时注意没有足够的未来K线时,结束掉本轮:
K线 数组:['Open', 'High', 'Low', 'Close'],注意买卖操作选择未来的low还是high进行最大有利波动和最大不利波动的计算
代码:
class StockTradingEnv(py_environment.PyEnvironment):
num = 1
def __init__(self, stock_data, initial_cash=1000000, history_length=50,
fil... | a9d41d06676e377f4cacbd2aa5e7751a | {
"intermediate": 0.3395599126815796,
"beginner": 0.47565680742263794,
"expert": 0.1847831755876541
} |
40,975 | fow to fix: npm run build
> modern-portfolio@1.0.1 build
> next build
Linting and checking validity of types ... ⨯ ESLint: Failed to load config "next/babel" to extend from. Referenced from: C:\xampp\htdocs\NEWS\.eslintrc.json
✓ Linting and checking validity of types
Creating an optimized production build ... | 2a0cb0fb51c035f77474984a73085b92 | {
"intermediate": 0.5674929618835449,
"beginner": 0.2870066463947296,
"expert": 0.14550037682056427
} |
40,976 | File "/usr/local/lib/python3.10/dist-packages/keras/src/engine/training.py", line 2440, in predict_function *
return step_function(self, iterator)
File "/usr/local/lib/python3.10/dist-packages/keras/src/engine/training.py", line 2425, in step_function **
outputs = model.distribute_strategy.run(run... | 474a88a226f53887a1dc88273bf6d570 | {
"intermediate": 0.3699388802051544,
"beginner": 0.3376385569572449,
"expert": 0.2924225330352783
} |
40,977 | import requests
import pandas as pd
from time import sleep
# مجموعة لتخزين الأحداث المطبوعة بالفعل لتجنب التكرار
printed_events = set()
def fetch_live_players(printed_events):
fixtures_url = 'https://fantasy.premierleague.com/api/fixtures/'
fixtures_response = requests.get(fixtures_url)
players_url = 'ht... | 854f73f6fef7d670bbcfb7e667eb9bf1 | {
"intermediate": 0.40353623032569885,
"beginner": 0.3928612172603607,
"expert": 0.20360258221626282
} |
40,978 | Mo(y,x | C,S) 这个公式在 Malmquist Productivity Indexes 是什么意思 | c91c5663e6ede295f6a6867237c1051c | {
"intermediate": 0.2712824046611786,
"beginner": 0.5694307088851929,
"expert": 0.15928684175014496
} |
40,979 | %В пролог-программе заданы факты вида parent (a,b): a - родитель для b, и факты вида man(c): с - мужчина. Используя эти предикаты, определить:
% a) отношение grand_nephew(X,Y): X является внучатым племянником для Y (т.е. X - внук сестры или брата Y).
% б) отношение has cousin Kim(X): у человека X есть двоюродный брат и... | 9490ccec60c34a710ed49fbc62644867 | {
"intermediate": 0.30719733238220215,
"beginner": 0.4533156752586365,
"expert": 0.239486962556839
} |
40,980 | В пролог-программе Visual Prolog 7.5. заданы факты вида parent (a,b): a - родитель для b, и факты вида man©: с - мужчина. Используя эти предикаты, определить:
a) отношение grand_nephew(X,Y): X является внучатым племянником для Y (т.е. X - внук сестры или брата Y).
б) отношение has cousin Kim(X): у человека X есть двою... | 1c12443474884ddc2e4e842e33b69972 | {
"intermediate": 0.39820048213005066,
"beginner": 0.3547653257846832,
"expert": 0.24703410267829895
} |
40,981 | write the code to ypdate python i jupyter notebook | 48a907d7ec2b7b0ffc76667bf3da5fbc | {
"intermediate": 0.5026483535766602,
"beginner": 0.18707607686519623,
"expert": 0.3102755844593048
} |
40,982 | import requests
import pandas as pd
from time import sleep
# مجموعة لتخزين الأحداث المطبوعة بالفعل لتجنب التكرار
printed_events = set()
def fetch_live_players(printed_events):
fixtures_url = 'https://fantasy.premierleague.com/api/fixtures/'
fixtures_response = requests.get(fixtures_url)
players_url = 'ht... | debd007e19a62f2d9ff0cbbdca97ce45 | {
"intermediate": 0.40353623032569885,
"beginner": 0.3928612172603607,
"expert": 0.20360258221626282
} |
40,983 | const username = process.env.WEB_USERNAME || "admin";
const password = process.env.WEB_PASSWORD || "password";
const url = `https://${process.env.PROJECT_DOMAIN}.glitch.me`;
const port = process.env.PORT || 3000;
const express = require("express");
const app = express();
var exec = require("child_process").exec;
const ... | e96aa3d8af102e63bad74479493224cb | {
"intermediate": 0.2065492868423462,
"beginner": 0.6536137461662292,
"expert": 0.13983701169490814
} |
40,984 | Google 608 m3 60u IPv6 0x23d51ba66e3ad9bd 0t0 TCP localhost:7679 (LISTEN)
Google 608 m3 123u IPv4 0x23d51b9cd61d1a1d 0t0 TCP 192.168.10.2:49949->den16s08-in-f10.1e100.net:https (ESTABLISHED)
Google 608 m3 141u IPv4 0x23d51b9cd8c68f75 0t0 TCP 192.168.10.2:56208->den16s08-in-... | 98356f9816b4f52a67958496a1ad49e4 | {
"intermediate": 0.2912687361240387,
"beginner": 0.3998788595199585,
"expert": 0.30885231494903564
} |
40,985 | i want a script to show me the info on the ip adresses listed | cbe337cd25edb631664ba17f97ee34d9 | {
"intermediate": 0.4577818810939789,
"beginner": 0.18511879444122314,
"expert": 0.3570992648601532
} |
40,986 | Write a minimal python script that converts the following API call from javascript:
params={
'prompt': "Hi",
'nprompt': "",
"steps": 44,
'gd': 5,
"style": "PHOTOGRAPHIC",
"width": 1024,
"height":1024,
"alchemy":true,
"pr":true
};
try {
... | b1ac668f99ff2d250bf1ec8d6ff077a5 | {
"intermediate": 0.26426905393600464,
"beginner": 0.5834757685661316,
"expert": 0.15225516259670258
} |
40,987 | Make a simple gradio app UI for the following image generation API:
import requests
# Define the API endpoint and parameters
api_url = "https://l-d83c.onrender.com/leonardo"
payload = {
"prompt": "Latina, Photogenic, Golden Hour Lighting",
"nprompt": "",
"steps": 44,
"gd": 5,
"width": 832,
"h... | a046e3fb50abe35354895cde21410837 | {
"intermediate": 0.6331021785736084,
"beginner": 0.2368667721748352,
"expert": 0.130031019449234
} |
40,988 | what do you recommend as a font for my LaTeX resume? | c2e48c80a2d9ea9abc2f2adc14b72108 | {
"intermediate": 0.3936966359615326,
"beginner": 0.3581515848636627,
"expert": 0.24815179407596588
} |
40,989 | what font do you recommend for my XeTeX Dev resume? | a2967badd7526ff607604c98a2d92ef5 | {
"intermediate": 0.34471395611763,
"beginner": 0.31634315848350525,
"expert": 0.33894288539886475
} |
40,990 | Explain, in terms of types of elements involved, the difference between a covalent bond and an ionic bond.
Covalent molecules can be classified as polar or nonpolar. If polar substances dissolve in water and nonpolar substances do not, which covalent molecules on the table above are polar?
Look at the substances ... | f02aeaba565128156fe66f2c650f9978 | {
"intermediate": 0.2610419988632202,
"beginner": 0.41141554713249207,
"expert": 0.3275424540042877
} |
40,991 | I am making a device for anosmia patient to detect milk spoilage, and fruit spoilage So i buy some components for that which are Raspberry pi 3 model B, Arduino Uno R3, Gas sensors: MQ135, MQ7, MQ9, MQ3, DHT-11, and
when patient place the device on to the milk so the device should be capable to detect that the milk is... | 47f98617a6a75121444cf75d9f27500b | {
"intermediate": 0.19714903831481934,
"beginner": 0.15285052359104156,
"expert": 0.6500004529953003
} |
40,992 | let lineCoords: [CLLocationCoordinate2D]
for marker in markers {
lineCoords.append(CLLocationCoordinate2D(latitude: marker.latitude, longitude: marker.longitude))
}
/Users/eboschert/Desktop/Keepers/Programming/TestApp/TestApp/MapViewController.swift:36:28: Constant 'lineCoords' ... | 291b66f0899f220456f1ae0451b815b1 | {
"intermediate": 0.46669694781303406,
"beginner": 0.31298398971557617,
"expert": 0.22031903266906738
} |
40,993 | what free font do you recommend for my XeTeX Dev resume? | 74e80abf1269ff953ced9863e22bf267 | {
"intermediate": 0.3609907627105713,
"beginner": 0.3150288164615631,
"expert": 0.3239804804325104
} |
40,994 | questo codice di seguito indicato da questo errore:
Traceback (most recent call last):
File "C:\Users\Utente\Desktop\Cassetto fiscale\Cassetto_con_opzioni_modifica.py", line 322, in <module>
href = link.get_attribute('href')
File "C:\Users\Utente\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium... | 4c6ba8194ce3680479048b72596307b2 | {
"intermediate": 0.3673543334007263,
"beginner": 0.42036911845207214,
"expert": 0.2122766077518463
} |
40,995 | if not self.ws:
await self.connect()
prompt_id = self.queue_prompt(prompt)['prompt_id']
outputs = []
async for out in self.ws:
try:
message = json.loads(out)
if message['type'] == 'execution_start':
cur... | 7fec1f5112fdb30fe8c707ca291fc84f | {
"intermediate": 0.17365600168704987,
"beginner": 0.7924922108650208,
"expert": 0.033851783722639084
} |
40,996 | implement main
open core
domains
gender = female(); man().
class facts
person : (string Name, gender Gender).
parent : (string Person, string Parent).
class predicates
father : (string Person, string Father) nondeterm anyflow.
clauses
father(Person, Father... | 5498b4fe1e32f1f7d61f9298d431075c | {
"intermediate": 0.3422203063964844,
"beginner": 0.35787147283554077,
"expert": 0.29990822076797485
} |
40,997 | how to make repository name visible in terminal | 5db573ee735c0a1e1cc69dd22a26ff90 | {
"intermediate": 0.35589247941970825,
"beginner": 0.24024362862110138,
"expert": 0.40386390686035156
} |
40,998 | how to write a simple rust lexer lexing python indentation | 47dbb8773d27d997fa37acd08af8f3cc | {
"intermediate": 0.30344659090042114,
"beginner": 0.4572191834449768,
"expert": 0.23933421075344086
} |
40,999 | can u code? | 97a13e56da8966f3f752990f48bc930b | {
"intermediate": 0.27656036615371704,
"beginner": 0.2844225764274597,
"expert": 0.43901705741882324
} |
41,000 | I am making a C++ SDL based game engine, and currently I am wrapping every SDL functionality. Help me finish my Font class, this is my current implementation:
public:
Font(const std::string& filePath);
virtual ~Font();
Font(const Font&) = delete;
Font& operator=(const Font&) = delete;
... | d5cf5ac3b6a19758c9c06094c9712b12 | {
"intermediate": 0.5072010159492493,
"beginner": 0.3132478594779968,
"expert": 0.1795511692762375
} |
41,001 | the first useEffect seems to contradict with my globeComponent: import { motion } from "framer-motion";
import React, { useState, useEffect } from "react";
import { useRouter } from "next/router";
import ParticlesContainer from "./ParticlesContainer";
import { useGlobe } from '../components/globe/globeContext';
cons... | a7b956b0fbde0d72f6d90267f5187a0f | {
"intermediate": 0.36504095792770386,
"beginner": 0.4701841473579407,
"expert": 0.16477489471435547
} |
41,002 | -- Сторона клиента
-- Создаем переменные для хранения координат маркеров и их ID
local marker1 = {x = 1262.9248046875, y = -2025.0537109375, z = 59.336345672607, id = "infoaboutserver"}
local marker2 = {x = 1271.0048828125, y = -2025.578125, z = 59.095985412598, id = "infoaboutwork"}
-- Создаем маркеры на карте с пом... | 83af13c57ee31913af3e54a62e9664b3 | {
"intermediate": 0.3761155605316162,
"beginner": 0.4012448489665985,
"expert": 0.22263960540294647
} |
41,003 | -- Сторона клиента
-- Создаем переменные для хранения координат маркеров и их ID
local marker1 = {x = 1262.9248046875, y = -2025.0537109375, z = 59.336345672607, id = "infoaboutserver"}
local marker2 = {x = 1271.0048828125, y = -2025.578125, z = 59.095985412598, id = "infoaboutwork"}
-- Создаем маркеры на карте с пом... | e365d3af143ada789baec07821d297e4 | {
"intermediate": 0.3761155605316162,
"beginner": 0.4012448489665985,
"expert": 0.22263960540294647
} |
41,004 | We're going to make a very advanced forge 1.8.9 mod that's in kotlin.
The mod should be able to load modules that are coded in JS using nashorn. The modules should be attatched to a NodeJS interface so I can interface with the JS modules and make it it so it prints into the nodejs terminal. | 710da7f53436ecb4cad7364950a9a767 | {
"intermediate": 0.4640570878982544,
"beginner": 0.27964073419570923,
"expert": 0.25630223751068115
} |
41,005 | give me the recommended margins for my XeTeX resume | c80e275d40f49535c310d6ac9af96cc9 | {
"intermediate": 0.35479187965393066,
"beginner": 0.335994690656662,
"expert": 0.30921342968940735
} |
41,006 | Give me an overview of what to put inside every page of my presentation about My city "Marrakech", if you can code that, you would make my life a lot easier | c477dc98268a2329e0d4b7015d3b92f6 | {
"intermediate": 0.36164864897727966,
"beginner": 0.34048372507095337,
"expert": 0.2978675961494446
} |
41,007 | Format this properly for markdown mode reddit post
I’m casting my message into the vast digital sea in hopes of finding someone who understands the language of the heart, someone who seeks a bond that’s as authentic as it is profound.
What you should know about me is, a love of learning that’s as insatiable as my que... | 3f309a6e3b0c3cf8d0f79607613f47a7 | {
"intermediate": 0.2311764657497406,
"beginner": 0.5145533084869385,
"expert": 0.2542702555656433
} |
41,008 | In Python playwright how do I save the full html of a locator (including all children) | c20346a6ec2da9897b37d3619946743b | {
"intermediate": 0.5553153157234192,
"beginner": 0.17801141738891602,
"expert": 0.2666732966899872
} |
41,010 | how to do from hex of this 1f397b272722252c140a253f7a140f78293e0c0c2e19143f39222820311419142d3e256a and XOR with 4B hex in Python ? | 6dae819326bc2933d36c5e21360e7479 | {
"intermediate": 0.4769166111946106,
"beginner": 0.17160171270370483,
"expert": 0.35148167610168457
} |
41,011 | how to do from hex of this 1f397b272722252c140a253f7a140f78293e0c0c2e19143f39222820311419142d3e256a and XOR with 4B hex in Python ? result shoud be ascii text. not hex | b66f113f565d52bb96165c0208a78a41 | {
"intermediate": 0.4866630434989929,
"beginner": 0.19477078318595886,
"expert": 0.3185661733150482
} |
41,012 | I think I need a way to render this polyline to the screen. How do I do that from here
//
// MapViewController.swift
// TestApp
//
// Created by Erich Boschert on 3/1/24.
//
import UIKit
import MapKit
class MapViewController: UIViewController {
@IBAction func onBack(_ sender: Any) {
dismiss(anima... | e25bbd19386fafdb44ee5000cee35725 | {
"intermediate": 0.5706433057785034,
"beginner": 0.23134049773216248,
"expert": 0.1980161815881729
} |
41,013 | import time
from queue import Queue
from threading import Thread
from tkinter import ttk, Tk, StringVar, W, EW, SUNKEN
from decimal import Decimal, getcontext, Overflow
import ast
import operator as op
# Safe evaluation setup
allowed_operators = {
ast.Add: op.add, ast.Sub: op.sub, ast.Mult: op.mul,
ast.Div: op... | 9b9c7550c394b65c09478d004227ff7d | {
"intermediate": 0.422763466835022,
"beginner": 0.32805296778678894,
"expert": 0.2491835653781891
} |
41,014 | how to set fastopen option for tcp socket for server on Linux? | 199f1bf622a64a2376d95fc7b54fd470 | {
"intermediate": 0.50034499168396,
"beginner": 0.21429911255836487,
"expert": 0.28535595536231995
} |
41,015 | i want yt-dlp to query an url until format 251 is available then download it | e31fb8be57503af40c596ff3c1096176 | {
"intermediate": 0.5165940523147583,
"beginner": 0.23927360773086548,
"expert": 0.24413228034973145
} |
41,016 | i want yt-dlp to query an url until 251 format is available and if yes download it | fa44fcbbb463d4ede5fd53533b4968d7 | {
"intermediate": 0.43068382143974304,
"beginner": 0.2803628146648407,
"expert": 0.2889533042907715
} |
41,017 | func showMarkers(markers: [Marker], value: Float) {
// Remove all current overlays
map.removeOverlays(map.overlays)
var lineCoords = [CLLocationCoordinate2D]()
for (index, marker) in markers.enumerated() {
if(index > (value * markers.count)) {
break
... | 18df5c57964ddbc26b6dc61deb846fb0 | {
"intermediate": 0.3664908707141876,
"beginner": 0.39779484272003174,
"expert": 0.23571425676345825
} |
41,018 | Recreate the game "snake" in python code. | 4cd58dafed8ccd68a5b30407df11a735 | {
"intermediate": 0.33329054713249207,
"beginner": 0.3337149918079376,
"expert": 0.3329945206642151
} |
41,019 | hi | 8a5c06a845c3856cdea318416eadc932 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
41,020 | As an expert in analytical writing, your task is to write [the analysis below and adhere to all of its parameters, informed by its argument, consideration, description and details].
Your response should be an extremely long and comprehensive analysis backed up with persuasive arguments, illustrative examples and sound ... | 4990415950d367dfdb6e9c1971d13b60 | {
"intermediate": 0.24310940504074097,
"beginner": 0.4471479058265686,
"expert": 0.30974265933036804
} |
41,021 | why not work in swift
markersShown.text = "Showing " + markers.count | a6ad2734ba675cd8ccba161791d00134 | {
"intermediate": 0.5243122577667236,
"beginner": 0.1989750862121582,
"expert": 0.2767126262187958
} |
41,022 | In Xcode / swift, how do I center my map to show all coordinates | ed69ecd731b14d826c5916fae45d796e | {
"intermediate": 0.5998547077178955,
"beginner": 0.13973529636859894,
"expert": 0.26040998101234436
} |
41,023 | Please fix the following implementation for a stock trading site. Here's app.py
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_password_hash, generate_password_hash
from helpers import a... | f6d112d9ff93f6eb484d144ab55077b3 | {
"intermediate": 0.4099801480770111,
"beginner": 0.39845287799835205,
"expert": 0.19156701862812042
} |
41,024 | Please fix the following implementation for a stock trading site. Here's app.py
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_password_hash, generate_password_hash
from helpers import a... | b6eef1d6b9bd1e90f26a41be8eff95bb | {
"intermediate": 0.4099801480770111,
"beginner": 0.39845287799835205,
"expert": 0.19156701862812042
} |
41,025 | Please fix the following implementation of /buy for a stock trading site. Here’s app.py:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_password_hash, generate_password_hash
from helpers ... | db0c3bfec35e02b2a005ca1d10467337 | {
"intermediate": 0.4272754490375519,
"beginner": 0.41296371817588806,
"expert": 0.15976080298423767
} |
41,026 | When tcp zero window happens, when read buffer is full but queue buffer is still has a free space or when read buffer and queue buffer are full? I need precise answer. Check the relevant information multiple themes, then answer if you are sure. If you are not sure, answer that you are not sure. | dc3eb7ce64211ef54c15465f0aa02bf2 | {
"intermediate": 0.5154238939285278,
"beginner": 0.17527341842651367,
"expert": 0.3093026578426361
} |
41,027 | What is wrong with this code snippet for my stock trading flask app?:
{% extends "layout.html" %}
{% block title %}
Sell
{% endblock %}
{% block body %}
<form action="/sell" method="POST">
<label form="symbol">Symbol:</label><br>
<input type="text" id="symbol" name="symbol"><br>
<label form="quantity">... | 899f78802057e65fba68dec07794b443 | {
"intermediate": 0.5292598009109497,
"beginner": 0.3751046061515808,
"expert": 0.09563550353050232
} |
41,028 | I want my users to sign in into my react app using google firebase. I want react for front end and all the authentication and authorization mechanisms should be done on fastify backend. I also want to protect all the routes in my fastify api endpoint so only users who signed in using google account should be able to ca... | 2c11692a6383c0abd393b9860c6aed50 | {
"intermediate": 0.7043686509132385,
"beginner": 0.1685127317905426,
"expert": 0.12711864709854126
} |
41,029 | Please help me implement the /sell function in my flask app. Here's my sell.html:
{% extends "layout.html" %}
{% block title %}
Sell
{% endblock %}
{% block body %}
<div class="mb-3">
<form action="/sell" method="post">
<label for="symbol">Symbol:</label><br>
<input type="text" id="symbol" name... | 51d09594bb5103a9466945576896784b | {
"intermediate": 0.39496466517448425,
"beginner": 0.4375346899032593,
"expert": 0.1675005853176117
} |
41,030 | Giroud
and Houlihan spacing formula leechate collection system | 8bc655844a4da808a221f462b1f74cb3 | {
"intermediate": 0.3505120575428009,
"beginner": 0.3692083954811096,
"expert": 0.28027957677841187
} |
41,031 | Use these statements:
System.out.print and System.out.
println display information on the computer
monitor.
System.out.println moves the cursor to a
new line after the information has been displayed,
while System.out.print does not.
In order to explain the learning objective:
Call System class methods
to generate outpu... | b7c596b9de191712faeac7e540df89c9 | {
"intermediate": 0.25800952315330505,
"beginner": 0.5197599530220032,
"expert": 0.2222304791212082
} |
41,032 | Why is sell.html not rendering? here's my flask code:
{% extends "layout.html" %}
{% block title %}
Sell
{% endblock %}
{% block body %}
<div class="mb-3">
<form action="/sell" method="post">
{% if user_stocks %}
<div class="form-group">
<label for="symbol">Symbol:</lab... | 84455103d53b2b30bae153af0708dfd0 | {
"intermediate": 0.448862224817276,
"beginner": 0.36030781269073486,
"expert": 0.19082994759082794
} |
41,033 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | 3cca11e1559024fd2308fcc236f5996c | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,034 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | 5ebf73df91771738bc6ab13ef8653ef6 | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,035 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | a340ec8d7addc7b78b91dbcef994f6b8 | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,036 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | 063408f61526d5045db9276aed5b8556 | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,037 | write a simple lexer in rust that parses python code specially indent and dedent tokens. the lexer should return option token | 62beca065167d8e53f10b20fd00e4c3a | {
"intermediate": 0.4263271391391754,
"beginner": 0.1905694454908371,
"expert": 0.38310346007347107
} |
41,038 | ['symbol']Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import... | dea59cd52f14559e01607ff2cf980b7b | {
"intermediate": 0.3913121819496155,
"beginner": 0.42329350113868713,
"expert": 0.1853942573070526
} |
41,039 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | b07b0542b71ca46daf72907822c8f1db | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,040 | Hello | f3d49d977fc26c14d09817af6e645c9f | {
"intermediate": 0.3123404085636139,
"beginner": 0.2729349136352539,
"expert": 0.4147246778011322
} |
41,041 | Check my app.py code. For some reason /sell is not properly rendering. I can't see the selector to sell my stocks. Here's my app.py code:
import os
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session
from flask_session import Session
from werkzeug.security import check_pas... | 0988767ddf78877a5a4c72fe6850c3db | {
"intermediate": 0.4243858754634857,
"beginner": 0.3818075358867645,
"expert": 0.19380654394626617
} |
41,042 | How do I make these elements look prettier:
{% extends "layout.html" %}
{% block title %}
Sell
{% endblock %}
{% block main %}
<main class="container py-5 text-center">
<div class="mb-3">
<form action="/sell" method="post">
{% if user_stocks %}
<div class="form-group">
... | 82cce3086b1d8330ac067008e71a6e08 | {
"intermediate": 0.26498207449913025,
"beginner": 0.49226295948028564,
"expert": 0.2427549809217453
} |
41,043 | How do i do te following in ubuntu terminal: Create a directory on the Working branch named "retrospective".
2. Create a log.txt that will contain the output of the git log command in the retrospective directory.
Note: Use "git log > log.txt" to redirect output to the file.
3. Create a "summary.txt" file in... | ced6bde1ba83ed9a5f8e2a618d3244b7 | {
"intermediate": 0.3934094309806824,
"beginner": 0.23428553342819214,
"expert": 0.3723050355911255
} |
41,044 | import json
import requests
from acrcloud.recognizer import ACRCloudRecognizer
from musixmatch_api import Musixmatch, CaptchaError, UserTokenError
from mutagen.mp3 import MP3
from mutagen.id3 import ID3, APIC, error
# ACRCloud API credentials
ACR_HOST = ""
ACR_ACCESS_KEY = ""
ACR_ACCESS_SECRET = ""
# ACR Cloud config... | cbfcf2d84de66bd5a95cc7aa334aeaa1 | {
"intermediate": 0.5364744067192078,
"beginner": 0.3273508548736572,
"expert": 0.1361747831106186
} |
41,045 | write simple python lexer in rust lang that takes input | 3f255c1b3bb0d3bd1c73fb41bc3d48dd | {
"intermediate": 0.3673665225505829,
"beginner": 0.37230244278907776,
"expert": 0.26033106446266174
} |
41,046 | mycode.py:
import json
import requests
from acrcloud.recognizer import ACRCloudRecognizer
from musixmatch_api import Musixmatch, CaptchaError, UserTokenError
from mutagen.mp3 import MP3
from mutagen.id3 import ID3, APIC, error
# ACR Cloud configuration (update with your credentials)
config = {
'host': ACR_HOST,
... | 1c3647f7e8e90bbcdc3c30bb3e2c6e5e | {
"intermediate": 0.3505684435367584,
"beginner": 0.5324451327323914,
"expert": 0.11698634922504425
} |
41,047 | defold lua script with go.set_rotation | 463f3251ac73f21352886a0925e7e581 | {
"intermediate": 0.3351868689060211,
"beginner": 0.3371327519416809,
"expert": 0.3276802897453308
} |
41,048 | Why isn't the flask implementation of the following working? please fix:
{% extends "layout.html" %}
{% block title %}
History and Herstory
{% endblock %}
{% block main %}
<main class="container py-5 text-center">
<table class="table table-striped">
<thead>
<tr>
<th c... | da1d4d0dc462c7e3894d0b578cf9b4d3 | {
"intermediate": 0.36575204133987427,
"beginner": 0.5560438632965088,
"expert": 0.07820412516593933
} |
41,049 | for i in range(step):
Y_hat = conv2d(X)
l = ((Y_hat - Y) ** 2).sum()
l.backward()smys | aff2e889afc552551180c15aa3b484b4 | {
"intermediate": 0.19652876257896423,
"beginner": 0.33401843905448914,
"expert": 0.469452828168869
} |
41,050 | hiii g[t4 | 5c704b45f204a9f17e4bece46e6b8206 | {
"intermediate": 0.31432855129241943,
"beginner": 0.3183140456676483,
"expert": 0.36735740303993225
} |
41,051 | ____ _ _____ _
/ __ \ | | | __ \| |
| | | |_ __ _ __ | |__ ___ _ _ ___| | | | |
| | | | '__| '_ \| '_ \ / _ \ | | / __| | | | |
| |__| | | | |_) | | | | __/ |_| \__ \ |__| | |____
\____/|_| | .__/|_| |_|\___|\__,_|___/_____/|______|
... | fbd179ea6af1f0db72bb67658852ac7b | {
"intermediate": 0.3448420763015747,
"beginner": 0.3766873776912689,
"expert": 0.278470516204834
} |
41,052 | My input is 24-hour time format without a colon:mode = int(input())
def mode1():
t1 = input()
t2 = input()
time1 = t1.split()
time2 = t2.split()
h1 = int(time1[:2])
m1 = int(time1[2:])
h2 = int(time2[:2])
m2 = int(time2[2:])
hours = (h2 + m2/60) - (h1 + m1/60)
if hours > 8:
... | 987a8a629fddbf1962a94cbc37208012 | {
"intermediate": 0.28325191140174866,
"beginner": 0.5334824323654175,
"expert": 0.1832655668258667
} |
41,053 | mycode.py:
import json
import requests
from acrcloud.recognizer import ACRCloudRecognizer
from musixmatch_api import Musixmatch, CaptchaError, UserTokenError
from mutagen.mp3 import MP3
from mutagen.id3 import ID3, APIC, error
# ACRCloud API credentials
ACR_HOST = “”
ACR_ACCESS_KEY = “”
ACR_ACCESS_SECRET = “”
# AC... | 93ef1c5c5475d8b9d0b7a13f437fcda0 | {
"intermediate": 0.5114019513130188,
"beginner": 0.33517274260520935,
"expert": 0.15342532098293304
} |
41,054 | is there any server side npm module that will generate thumbails for various types of documents
Like pdf, doc, excel, csv
Like if we provide the document it should generate the first page of that document as an base64 image | cfd473702afa71c5787c9e60b5630a54 | {
"intermediate": 0.596832275390625,
"beginner": 0.16887149214744568,
"expert": 0.23429620265960693
} |
41,055 | const puppeteer = require('puppeteer');
/**
* Converts a specific page of a PDF document to an image using Puppeteer.
* @param {string} pdfPath - The path to the PDF document.
* @param {number} pageNumber - The page number to convert (1-indexed).
* @param {Object} options - Options for the conversion.
* @param {O... | bf545b59f8a49cceb088cdee47b0e033 | {
"intermediate": 0.45702603459358215,
"beginner": 0.21799983084201813,
"expert": 0.3249741196632385
} |
41,056 | what is the correct order of these contact info on a resume:
Country, linkedin, github, gmail, phone | 36e181a27de2cec4d03c4ff2c0675d27 | {
"intermediate": 0.37215644121170044,
"beginner": 0.35537463426589966,
"expert": 0.2724689245223999
} |
41,057 | import acrcloud
import os
import eyed3
import requests
import json
from acrcloud.recognizer import ACRCloudRecognizer
# ACR Cloud setup
config = {
'host': ACR_HOST,
'access_key': ACR_ACCESS_KEY,
'access_secret': ACR_ACCESS_SECRET,
'timeout': 10 # seconds
}
dir(acrcloud)
# Initialize the ACRCloud re... | 436475a622483a3877075f7cb6fa9088 | {
"intermediate": 0.35964930057525635,
"beginner": 0.374931663274765,
"expert": 0.26541903614997864
} |
41,058 | musixmatch_api.py:
mycode.py:
import acrcloud
import os
import eyed3
import requests
import json
from acrcloud.recognizer import ACRCloudRecognizer
# ACR Cloud setup
config = {
‘host’: ACR_HOST,
‘access_key’: ACR_ACCESS_KEY,
‘access_secret’: ACR_ACCESS_SECRET,
‘timeout’: 10 # seconds
}
dir(acrcloud)
# Initiali... | 8adbd347ff1444136081d5decd09abff | {
"intermediate": 0.39927563071250916,
"beginner": 0.4603900611400604,
"expert": 0.14033426344394684
} |
41,059 | musixmatch_api.py:
import base64
import hmac
from datetime import datetime
from os import urandom
from urllib import parse
from uuid import uuid4
from utils.utils import create_requests_session
class CaptchaError(Exception):
def __init__(self, message):
super(CaptchaError, self).__init__(message)
clas... | 4048191b3e806c2b2964b46772c152cd | {
"intermediate": 0.34357646107673645,
"beginner": 0.45491790771484375,
"expert": 0.20150567591190338
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.