row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
39,754 | lua script example with gui.show_keyboard() (Defold engine) | 27a39ff7ef435d34d9bbbbec46dbf318 | {
"intermediate": 0.36720189452171326,
"beginner": 0.345958411693573,
"expert": 0.28683969378471375
} |
39,755 | hande text input from mobile keyboard via gui.show_keyboard() (Defold engine) | 825ff8c663a00a52b4d241698c01c6a8 | {
"intermediate": 0.42493343353271484,
"beginner": 0.2772729992866516,
"expert": 0.29779353737831116
} |
39,756 | explain python grammar with example | 422bd99a89248d6668fd989fc85ed91c | {
"intermediate": 0.14845247566699982,
"beginner": 0.7232248783111572,
"expert": 0.12832261621952057
} |
39,757 | I want the image to have 60% transparency import Image from "next/image";
const Bulb = () => {
return (
<div className="absolute -left-36 -bottom-12 rotate-12 bg-blend-difference animate-pulse duration-75 z-10 w-[200px] xl:w-[260px] select-none pointer-events-none">
<Image
src="/bulb.png"
a... | 8d0a16263b84ab438d3fe436bbb4f6d8 | {
"intermediate": 0.4342985153198242,
"beginner": 0.3208571970462799,
"expert": 0.24484430253505707
} |
39,758 | how to activate a python env via terminal in vscode with full path? | ec5f618757a12b7be0850cb402ff9a4e | {
"intermediate": 0.5298153758049011,
"beginner": 0.20181867480278015,
"expert": 0.26836591958999634
} |
39,759 | how to activate a python env via powershell terminal in vscode on windows? | 481261056706bc835fd95f822c6e9532 | {
"intermediate": 0.5039822459220886,
"beginner": 0.23479045927524567,
"expert": 0.2612273395061493
} |
39,760 | "import gradio as gr
import os
import sys
import json
import requests
MODEL = "gpt-4-1106-preview"
API_URL = os.getenv("API_URL")
DISABLED = os.getenv("DISABLED") == 'True'
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
print (API_URL)
print (OPENAI_API_KEY)
NUM_THREADS = int(os.getenv("NUM_THREADS"))
print (NUM_THREA... | 7d5ab3eba82ae337057c3f73668f5cf5 | {
"intermediate": 0.4969974756240845,
"beginner": 0.29821792244911194,
"expert": 0.2047845870256424
} |
39,761 | Create me code that can turn this conversation found inside a txt file to a json file with separate columns for the different talkers in the convo, **snippet of the conversation**: User: Define life
Llama: Life is the characteristic that distinguishes physical entities having biological processes, such as growth, repro... | 795dc848c10ff3dfe3fb10486885e0ed | {
"intermediate": 0.2933390140533447,
"beginner": 0.43076398968696594,
"expert": 0.27589699625968933
} |
39,762 | I'm running into a problem with getting my Clojure web server working.
This is the frontend:
(ns ^:figwheel-hooks simple-server.core
(:require [clojure.string :as str]
[ajax.core :refer [GET POST]]
[goog.dom :as gdom]
[goog.events :as events]
[reagent.core :as r :refe... | 53a59021d09abcd4071956a512750186 | {
"intermediate": 0.3918459713459015,
"beginner": 0.37557724118232727,
"expert": 0.23257675766944885
} |
39,763 | Hey here is sudo command for you, comment code that I will send you, explaining and documenting the functions of each step / line / function etc. Most importantly, don't change this code, only copy it and add there a comments.
Code:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include ... | 29c767ad7e295bfb43cd8753e74cd323 | {
"intermediate": 0.35103780031204224,
"beginner": 0.44565480947494507,
"expert": 0.2033073604106903
} |
39,764 | check this code:
ref_aas = []
alt_aas = []
for idx, rows in rs[0].iterrows():
cpos = rows["codon_pos"]
rpos = rows["relative_pos"]
gene = rows["Gene"]
ref = rows["ref"]
alt = rows["alt"]
seqs = get_seqs_from_fasta()
nt = seqs[gene][rpos] # locating ref within gene seq
if ref == nt: # ... | 7c6c19bd3cb91d70ee3b2d8f98621bbf | {
"intermediate": 0.4050832986831665,
"beginner": 0.341417521238327,
"expert": 0.25349920988082886
} |
39,765 | CONSTRAINTS:
1. ~100k word limit for short term memory. Your short term memory is short, so immediately save important information to files.
2. If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.
3. No user assistance
4. Exclusively us... | 4ba5ff1bf981b83078350a477ae74ea4 | {
"intermediate": 0.3503125011920929,
"beginner": 0.43184271454811096,
"expert": 0.21784481406211853
} |
39,766 | import json
import re
import sys
token_patterns = [
(r’#[^\n]‘, None),
(r’\s+‘, None),
(r’[‘, ‘LBRACKET’),
(r’]‘, ‘RBRACKET’),
(r’{‘, ‘LBRACE’),
(r’}‘, ‘RBRACE’),
(r’%{‘, ‘LMAPBRACE’),
(r’=>‘, ‘ARROW’),
(r’,‘, ‘COMMA’),
(r’(true|false)‘, ‘BOOLEAN’),
(r’(0|[1-9][0-9_])‘, ‘INTEGER’),
(r’:[A-Za-z_]\w*‘, ‘ATOM’),
(r’[A-Za... | d915ec846e578324b6a54fdf4df96993 | {
"intermediate": 0.3717007040977478,
"beginner": 0.5446645021438599,
"expert": 0.08363480120897293
} |
39,767 | i need the code, in python, to simulate a roulette | d05958a820f5a739e1a116e58764d40c | {
"intermediate": 0.28305190801620483,
"beginner": 0.23018640279769897,
"expert": 0.48676177859306335
} |
39,768 | Rewrite php code to Python code alternative with simple web server:
index.php
<?php
set_time_limit(0);
$video = trim($_GET['vid']);
chdir(dirname(__DIR__));
$uid = mt_rand(0,1000);
I run this script using this command:
php -S 127.0.0.1:80 | 8f4e8242de88335b732f0e23144cc1d7 | {
"intermediate": 0.3845199644565582,
"beginner": 0.3386767506599426,
"expert": 0.27680325508117676
} |
39,769 | i need the code, in python, to simulate a roulette. I need to choose one winner for 10 possibilities | cb623742c8c6a92a40ba4aa5b25af337 | {
"intermediate": 0.30709108710289,
"beginner": 0.2839633822441101,
"expert": 0.40894559025764465
} |
39,770 | How do i add the following font: Monda
Monda Google Font
Google Font Monda as my default font in my react app, here is my tailwind.config.js: /** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.... | eb3f95b517ef473de78187007bcc8331 | {
"intermediate": 0.38277414441108704,
"beginner": 0.2654753625392914,
"expert": 0.35175052285194397
} |
39,771 | hi | 47b9d9139029bd34e4a01061f85dff62 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
39,772 | You are going to pretend to be a senior software engineer at a FAANG company. Review the following code paying attention to security and performance. Provide outputs that a senior software engineer would produce regarding the code. | ce5ad7ce2bdbcbfff2c94fa54c15615e | {
"intermediate": 0.2683769166469574,
"beginner": 0.2732982039451599,
"expert": 0.4583248794078827
} |
39,773 | I want to use the globe.gl function: "onGlobeReady(fn) Callback function to invoke immediately after the globe has been initialized and visible on the scene. " to figure out when the globe is ready and use the time taken a the duration for the transition motion div's in the transition component but it should only apply... | 409259264518f2097bda8370237ca110 | {
"intermediate": 0.3661511242389679,
"beginner": 0.3831920921802521,
"expert": 0.25065678358078003
} |
39,774 | I am making a c++ game engine, in my class Renderer I deal with colors, now with each part of the "Color": for example like this:
void SetDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a);
Should I use an struct Color instead? What are the pro's and con's to use an struct compared to what I already have? Should I make the ... | 79958915c0b387aee6574be6b27a7545 | {
"intermediate": 0.5949670672416687,
"beginner": 0.2960756719112396,
"expert": 0.10895726084709167
} |
39,775 | User
I need a script for IQ Option to display indicators on the candles when the following conditions are met on a Stochastic Oscillator with settings K-Period of 7, D-Period of 8 and a smoothness of 1:
1. UP indicator when d-period is above k-period, and both is above 50%
2. DOWN indicator when k-period is above d-p... | b9314f67dd03df94df67c18a78dbcb71 | {
"intermediate": 0.4173252284526825,
"beginner": 0.2437552809715271,
"expert": 0.3389195501804352
} |
39,776 | Create a system for a a strategy game, this system will handle how to send the builders to construct buildings
* Its name will be BuilderManager
* When a building is created, it will call the builder manager and the building will be added to the queue
* When a Builder is created it will call the builder manager ant he... | 67fe70e03f60e571a4215dfaf6b64289 | {
"intermediate": 0.37698519229888916,
"beginner": 0.35076767206192017,
"expert": 0.2722471356391907
} |
39,777 | Cn you provide me css and html code to create a stunning profile card | 1e770e67e9c1e025351d0d6c507c5668 | {
"intermediate": 0.3445377051830292,
"beginner": 0.2995795011520386,
"expert": 0.35588279366493225
} |
39,778 | I am making a c++ game engine based on SDL, in my class Renderer I want to add an enum class BlendMode which will map internally to SDL blend modes. Help me do it and how would I use it in the SDL renderer methods?
This is what I have so far:
enum class BlendMode {
None,
Blend,
Add,
Mod
... | 1953848856aca61e5692c7bf4cc3a7de | {
"intermediate": 0.40872618556022644,
"beginner": 0.3922320604324341,
"expert": 0.1990417093038559
} |
39,779 | Python.
I need to remove many spaces like ` ` from string. | cbe8cce4ca7371d00f025b6316e23192 | {
"intermediate": 0.41851991415023804,
"beginner": 0.31788063049316406,
"expert": 0.2635994851589203
} |
39,780 | If I have a coding convention that states each return has to be following a white line like this:
method ()
{
//do something
return something;
}
If I follow this, does this means I have to do the same for throw? | 7081b7c6cc5af69034a594c3d4e23f6d | {
"intermediate": 0.35820382833480835,
"beginner": 0.4678768813610077,
"expert": 0.17391926050186157
} |
39,781 | I need a script for IQ Option to display indicators on the candles when the following conditions are met on a Stochastic Oscillator with settings K-Period of 7, D-Period of 8 and a smoothness of 1:
1. UP indicator when d-period is above k-period, and both is above 50%
2. DOWN indicator when k-period is above d-period... | 4c7a20282d84d4733be296b581a08a39 | {
"intermediate": 0.3608291447162628,
"beginner": 0.20379343628883362,
"expert": 0.43537741899490356
} |
39,782 | i have this program this is basically the "concentration" game. i added a function that loops through, revealing each card in the game briefly, but i cannot play the game now. i'd like to keep this functionality where the program briefly revels each card but be able to click on any card to reveal it and make matches (w... | 2cd825b614272cf90851a5713d5bf8e5 | {
"intermediate": 0.3725084066390991,
"beginner": 0.4458707571029663,
"expert": 0.18162080645561218
} |
39,783 | #include <windows.h>
// buffer for saving original bytes
char originalBytes[5];
FARPROC hookedAddress;
// we will jump to after the hook has been installed
int __stdcall myFunc(LPCSTR lpCmdLine, UINT uCmdShow) {
// unhook the function: rewrite original bytes
WriteProcessMemory(GetCurrentProcess(), (LPVOID)hooke... | c647cbcf2afe7a8642d1301447dc1dc0 | {
"intermediate": 0.5006900429725647,
"beginner": 0.26187488436698914,
"expert": 0.23743508756160736
} |
39,784 | باستعمال لغة بايثون اكتب سكريبت احترافي يستخرج اخر الاحداث الرياضية الحصرية من صفحة هذا الموقع
https://www.footballwebpages.co.uk/vidiprinter
مع مراعاة السكريبت يطبع الحدث الجديد
استخدم مكتبة ريكوست وuseragent و fake headers و time
ساعطيك بعض تحليل الصفحة لعناصر اخر الاحداث
<td><a href="spanish-la-liga/league-ta... | 18b4793d2e4b797a97458f3c8ebb8426 | {
"intermediate": 0.3504158556461334,
"beginner": 0.3660258948802948,
"expert": 0.2835582494735718
} |
39,785 | Problem Set 1 [Benchmarking: inter - organizational comparisons] The Problem Sets 1 and 2 are based on the article
Grifell-Tatjé, E. and C.A.K Lovell (1996), “Deregulation and Productivity Decline: The Case of the Spanish Savings Banks,” European Economic Review 40, 1281-1303.
Motivation
The data in the Excel file is a... | 295539fe269b4b5fc0067c1ee797bd62 | {
"intermediate": 0.3231223225593567,
"beginner": 0.3895419239997864,
"expert": 0.28733575344085693
} |
39,786 | Improve this code: <!DOCTYPE html>
<html lang="en">
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<script src="https://cdn.jsd... | 4dd15b2a15fea5d87ea3ad9ba333e78c | {
"intermediate": 0.29187074303627014,
"beginner": 0.5202322602272034,
"expert": 0.1878969818353653
} |
39,787 | Boosted -NOTEXTURESTREAMING fps? | 4639e44e63b78857459700215e8db1a8 | {
"intermediate": 0.3357219398021698,
"beginner": 0.23555758595466614,
"expert": 0.42872047424316406
} |
39,788 | import json
import re import sys
token_patterns = [
(r’#[^\n]‘, None),
(r’\s+‘, None),
(r’[‘, ‘LBRACKET’),
(r’]‘, ‘RBRACKET’),
(r’{‘, ‘LBRACE’),
(r’}‘, ‘RBRACE’),
(r’%{‘, ‘LMAPBRACE’),
(r’=>‘, ‘ARROW’),
(r’,‘, ‘COMMA’),
(r’(true|false)‘, ‘BOOLEAN’),
(r’(0|[1-9][0-9_])‘, ‘INTEGER’),
(r’:[A-Za-z_]\w*‘, ‘ATOM’),
(r’[A-Za... | 5d73607bee0387181d7eac438435da1a | {
"intermediate": 0.3816087245941162,
"beginner": 0.4331687390804291,
"expert": 0.1852225661277771
} |
39,789 | My program is import json
import re
import sys
token_patterns = [
(r'#[^\n]*', None),
(r'\s+', None),
(r'\[', 'LBRACKET'),
(r'\]', 'RBRACKET'),
(r'{', 'LBRACE'),
(r'}', 'RBRACE'),
(r'%{', 'LMAPBRACE'),
(r'=>', 'ARROW'),
(r',', 'COMMA'),
(r'(true|false)', 'BOOLEAN'),
(r'(0... | cc1bf612b2086f3a185a699d4c62c7cf | {
"intermediate": 0.37730956077575684,
"beginner": 0.48474037647247314,
"expert": 0.1379500776529312
} |
39,790 | count unique colors using PIL python | ca9d29010997cf4909aa3d075fecf905 | {
"intermediate": 0.43313443660736084,
"beginner": 0.20690026879310608,
"expert": 0.35996532440185547
} |
39,791 | find text on html page using selenium python | 6b76a5e047efd57477c4d3a27798e73d | {
"intermediate": 0.2977549135684967,
"beginner": 0.26480284333229065,
"expert": 0.43744227290153503
} |
39,792 | My program is import json
import re
import sys
token_patterns = [
(r’#[^\n]‘, None),
(r’\s+‘, None),
(r’[‘, ‘LBRACKET’),
(r’]‘, ‘RBRACKET’),
(r’{‘, ‘LBRACE’),
(r’}‘, ‘RBRACE’),
(r’%{‘, ‘LMAPBRACE’),
(r’=>‘, ‘ARROW’),
(r’,‘, ‘COMMA’),
(r’(true|false)‘, ‘BOOLEAN’),
(r’(0|[1-9][0-9_])‘, ‘INTEGER’),
(r’:[A-Za-z_]\w*‘, ‘AT... | 4bf5142adf5d8e2e5db4d4d14b60c476 | {
"intermediate": 0.3245949149131775,
"beginner": 0.5072067975997925,
"expert": 0.1681983470916748
} |
39,793 | hi | ef428bc3dfb77c308e335cccb4339c5b | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
39,794 | Complete this code: /*Test whether element is present.*/
public boolean contains(int item) (
Node pred, curr;
int key = item;
try t
lock.lock();
pred
head;
curr = pred.next;
while (curr.key L key)
pred
curr;
curr = curr.next;
A
return (key == curr. .key);
finally (
always unlock
lock.unlock();
public void display()
Nod... | 6834e15f8f99935454cbe9a8a3d87f2c | {
"intermediate": 0.3581274747848511,
"beginner": 0.46297889947891235,
"expert": 0.17889368534088135
} |
39,795 | This is the api document
1. Upload Transation https://www.plutuscloudserviceuat.in:8201/API/CloudBasedIntegration/V1/UploadBilledTransaction { "TransactionNumber":"${TxnNo}", "SequenceNumber": 1, "AllowedPaymentMode": "10", "MerchantStorePosCode": "${mspc}", "Amount": "${100}", "UserID": "", "MerchantID":${mid} , "Secu... | b1ee17026e581568864e763d7b24cba7 | {
"intermediate": 0.2570406198501587,
"beginner": 0.6220096349716187,
"expert": 0.12094973772764206
} |
39,796 | # General HTTP to HTTPS
server {
listen 80;
listen [::]:80;
server_name example.com default_server;
location / {
return 302 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name example.com default_server;
root /var/www/example;
in... | 88668d956a1515b008c684cc334f867f | {
"intermediate": 0.2854660749435425,
"beginner": 0.2608129382133484,
"expert": 0.45372095704078674
} |
39,797 | is this code correct: import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class CoarseList {
private Node head;
private Node tail;
private Lock lock = new ReentrantLock();
public CoarseList() {
head = new Node(Integer.MIN_VALUE); // Head Sentinel
... | b3eb808823b33d8e4a5c71e1224b542c | {
"intermediate": 0.3560241162776947,
"beginner": 0.49385055899620056,
"expert": 0.15012532472610474
} |
39,798 | I've build a website that uses a Rest API to get all its data. My website is secured with a SSL certifcate. My default file (etc/nginx/sites-enabled/default) looks like this:
server {
listen 80;
server_name example.com;
rewrite ^/(.*) https://example.com/$1 permanent;
}
server {
listen 443 ssl;
li... | 880a492864f9f9ee515398364f3156b5 | {
"intermediate": 0.3166709244251251,
"beginner": 0.4511505961418152,
"expert": 0.23217855393886566
} |
39,799 | пройдемся по коду и остановимся в том месте, где он не дифференцируемый. Пометим это место комментарием кода с '#'. Остановимся. Больше ничего трогать не надо. Лаконично.
class KMeansCudaTorch(nn.Module):
def __init__(self, num_clusters, tolerance=1e-4, min_distance_k=10, metric="cosine", input_features=4096):
... | 205101b3835cd9a27968c3d3506c4c88 | {
"intermediate": 0.32216018438339233,
"beginner": 0.44442588090896606,
"expert": 0.2334139049053192
} |
39,800 | hello | aa3ca619e467a105d64898d642e3df60 | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
39,801 | complete the code: Lock lock;
Node(int item) f this.key = item; this.next=null; this.lock
void lock() (lock.lock();)
void unlock() flock.unlock();)
new Reentrantlock();
blic boolean add(int item) (// Insert Operation
Node pred=null, curr=null;
int key = item;
head.lock();
try
pred = head;
curr= pred.next;
curr.lock();
... | 5bc5ff46719c760a840f28be1b2c4feb | {
"intermediate": 0.31181600689888,
"beginner": 0.5156264901161194,
"expert": 0.1725575029850006
} |
39,802 | user www www;
worker_processes auto;
error_log /www/wwwlogs/nginx_error.log crit;
pid /www/server/nginx/logs/nginx.pid;
worker_rlimit_nofile 51200;
stream {
log_format tcp_format '$time_local|$remote_addr|$protocol|$status|$bytes_sent|$bytes_received|$session_time|$upstream_addr|$upstream_bytes_sent|$upstr... | af4ce13791b7c1bcc9de62bf5b40eba4 | {
"intermediate": 0.32812950015068054,
"beginner": 0.39650240540504456,
"expert": 0.2753680348396301
} |
39,803 | how to get the file name and extension from the url in java script. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. | 20612598d937286eb72bd5976ad9ef97 | {
"intermediate": 0.4179781675338745,
"beginner": 0.2027762234210968,
"expert": 0.3792455792427063
} |
39,804 | how to get the file name and extension from the url in java script. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. And if extension can not be deteced, return HTM for the extension. IF URL is https://me.sap.com/notes/27... | 525615c59a067b83c9f3e4f07d68a807 | {
"intermediate": 0.4444676339626312,
"beginner": 0.28556469082832336,
"expert": 0.2699676752090454
} |
39,805 | How to check that newly created variable is attached to the existing RITMS? If it's not attached the how to attach new variable to existing RITMS | 0c4d5d987cac78eb3c482aeb7436b581 | {
"intermediate": 0.38500913977622986,
"beginner": 0.36152082681655884,
"expert": 0.2534700334072113
} |
39,806 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quiz Ekleme Sayfası</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');
body {
display: flex;
... | 0985586991bbca0c92dc3243a3f4c9c3 | {
"intermediate": 0.3012210726737976,
"beginner": 0.4424450993537903,
"expert": 0.2563338279724121
} |
39,807 | how to get the file name and extension from the url in java script. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. And if extension can not be deteced, return HTM for the extension. IF URL is https://me.sap.com/notes/27... | 8968b342a914aaf449cecaed674ddda5 | {
"intermediate": 0.4444676339626312,
"beginner": 0.28556469082832336,
"expert": 0.2699676752090454
} |
39,808 | In Static content record i want to get current logged in user Static content block in servicenow | f42ab236d130fc1465fab1971e5d1233 | {
"intermediate": 0.3614003658294678,
"beginner": 0.29386454820632935,
"expert": 0.34473514556884766
} |
39,809 | how to get the file name and extension from the url in javascript. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. IF URL is https://me.sap.com/notes/2720477/E, only return 2720477 as file name, and extension should be ... | 42bed5f57ca38464d35869d94122f433 | {
"intermediate": 0.4164300262928009,
"beginner": 0.2818842828273773,
"expert": 0.3016856610774994
} |
39,810 | how to get the file name and extension from the url in javascript. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. IF URL is https://me.sap.com/notes/2720477/E, only return 2720477 as file name, and extension should be ... | 249256fadd45a7efcc2c970c375796af | {
"intermediate": 0.4164300262928009,
"beginner": 0.2818842828273773,
"expert": 0.3016856610774994
} |
39,811 | how to get the file name and extension from the url in javascript. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. IF URL is https://me.sap.com/notes/2720477/E, only return 2720477 as file name, and extension should be H... | 1b0eb30e665f90c1136543225ee1ca49 | {
"intermediate": 0.44150322675704956,
"beginner": 0.27600255608558655,
"expert": 0.2824942171573639
} |
39,812 | Exclude the hardware model for the Toshiba Portege R835-P81 from the Content Service. | e3415b081cbee3ace988fec8227f36b5 | {
"intermediate": 0.26631465554237366,
"beginner": 0.4095209538936615,
"expert": 0.32416442036628723
} |
39,813 | how to detect if the string is an UUID or GUID | a1dc7e1ab2508c001aca3b0e7104d0c4 | {
"intermediate": 0.3467147648334503,
"beginner": 0.2575340270996094,
"expert": 0.3957512676715851
} |
39,814 | How to detect id like this f951b50a07ce41deb08ced62711fe8b5 in Javascript | d67ce1e9f4923fdf1b75f5f70080f410 | {
"intermediate": 0.2732727825641632,
"beginner": 0.1727757304906845,
"expert": 0.5539515018463135
} |
39,815 | How do I use javascript in the developer console to add a cookie? | 07a49365b1db110205020acc5fae84ac | {
"intermediate": 0.7494783997535706,
"beginner": 0.1426883339881897,
"expert": 0.10783321410417557
} |
39,816 | I'm trying to find the number of negative values in the dataset for order quantity dataset['OrderQuantity']
negative_values = dataset.filter(dataset['OrderQuantity'] < 0)
count_negative_values = len(negative_values)
print(count_negative_values) 18733, how do I replace theses negative values with 0? | 6b6517e06afb498d24d1e7c745d906e9 | {
"intermediate": 0.44218045473098755,
"beginner": 0.3288116753101349,
"expert": 0.22900788486003876
} |
39,817 | how to get the file name and extension from the url in javascript. For example: https://d.dam.test.com/a/UyGSAon/test_how_to-V1.pdf?rc=10, the file name should be test_how_to-V1.pdf and the extension should be PDF. IF URL is https://me.sap.com/notes/2720477/E, only return 2720477 as file name, and extension should be H... | 018c471eaf1349b4c059563a26c8bcb6 | {
"intermediate": 0.44150322675704956,
"beginner": 0.27600255608558655,
"expert": 0.2824942171573639
} |
39,818 | rust why is T sync if &T is send | 279ad89a4c1a2535f75f1a4ed9495689 | {
"intermediate": 0.411347895860672,
"beginner": 0.39875659346580505,
"expert": 0.18989549577236176
} |
39,819 | Ramesh, a doctor in Hyderabad, wants to evaluate the performance metrics of the breast cancer dataset from
the sklearn package using the following machine learning algorithms:
1. Ada Boost
2. XG Boost
3. Random Forest
4. Decision Tree
Performance metrics: accuracy, classification report, precision score, recall score a... | 4c783be408c9257470f4432b20898aca | {
"intermediate": 0.1591343730688095,
"beginner": 0.04874660447239876,
"expert": 0.792119026184082
} |
39,820 | how to remove the GUID inside a string in JS? for example: remove ef300d28-a31d-43a6-9bf1-7167bb1c6193 from what-are-the-organizational-change-management-capabilities-of-your-organization_ef300d28-a31d-43a6-9bf1-7167bb1c6193 | 05de15691c2bcd5fc840e7ddc1060fc2 | {
"intermediate": 0.7182362675666809,
"beginner": 0.13609103858470917,
"expert": 0.1456727385520935
} |
39,821 | Hi | cb411e781f4b6cc84e57d0e8dd424ae5 | {
"intermediate": 0.33010533452033997,
"beginner": 0.26984941959381104,
"expert": 0.400045245885849
} |
39,822 | want to access the page of xampp server in mobile using wifi | 24e267d4733e26fc6d71560e47601b93 | {
"intermediate": 0.4255748391151428,
"beginner": 0.2189333736896515,
"expert": 0.3554917573928833
} |
39,823 | what is the best format to put an open-source project in a resume? | 9740a05e5f971fce891693c120f7b3ca | {
"intermediate": 0.3803049623966217,
"beginner": 0.2876681089401245,
"expert": 0.3320269286632538
} |
39,824 | Given the code:
“
import numpy as np
y1 = noisy_train_digits[‘trainData’][0][0][:, (0, 399)]
y2 = noisy_train_digits[‘trainData’][0][0][:, (399, 400)]
print(y1.shape)
print(y2.shape)
C1 = np.cov(y1, rowvar=False, bias=True)
print(C1)
C2 = np.cov(y2, rowvar=False, bias=True)
print(C2)
”
the output:
“
(5923, 2)
(5923, 2)... | 26e4686cc33443d93db7e7a71c853cd4 | {
"intermediate": 0.2939209043979645,
"beginner": 0.33954739570617676,
"expert": 0.36653172969818115
} |
39,825 | hey, i have this script "from typing import (
Optional, List, Union
)
import string
import random
import time
import httpx
import asyncio
from .f_types import (
DScaffold,
APIResponse,
AttackCardInfo,
BattleRequest,
BattleResponse,
CardsSelection,
CardInfo,
CoolOffRequest,
CoolOf... | 66a0f17c6ff4c0c2228debd00d58d3e5 | {
"intermediate": 0.2930945158004761,
"beginner": 0.4855792820453644,
"expert": 0.22132621705532074
} |
39,826 | Here is my code. I'm trying to get (rf/dispatch [::set-words-and-letters word-collection]) to work. I'm working with re-frame through shadowcljs.
(ns spelling-bee.core
(:require
[re-frame.core :as rf]
[reagent.dom :as rdom]
[spelling-bee.config :as config]
[spelling-b... | f36efa92ba42e6473ba63e439ec64d22 | {
"intermediate": 0.4190180003643036,
"beginner": 0.46284937858581543,
"expert": 0.11813262104988098
} |
39,827 | Я написал этот код для разделения звуковой дорожки на колоса и фоновый шум: | 154cc974661b5f30f0ee928270eb0a06 | {
"intermediate": 0.28946197032928467,
"beginner": 0.2784784138202667,
"expert": 0.4320596158504486
} |
39,828 | Я написал этот код для разделения звуковой дорожки на колоса и фоновый шум: | 2ac2eaf266d7df41016b76781d136089 | {
"intermediate": 0.28946197032928467,
"beginner": 0.2784784138202667,
"expert": 0.4320596158504486
} |
39,829 | Where to set setsockopt for it to go into effect? | 6fe40cffcc24f22c77ff748bfba1f421 | {
"intermediate": 0.4165636897087097,
"beginner": 0.16315342485904694,
"expert": 0.42028290033340454
} |
39,830 | Write function on C which transforms ushort to int16 | d667b63e24b970bcd5fd897f6087e270 | {
"intermediate": 0.2608357071876526,
"beginner": 0.4473310112953186,
"expert": 0.2918332815170288
} |
39,831 | I want to learn something new which is easy and helpful to be consistent | 9a0a951837ce8bab6eb066059cc26181 | {
"intermediate": 0.3833266496658325,
"beginner": 0.26621976494789124,
"expert": 0.35045358538627625
} |
39,832 | How to set setsockopt SO_LINGER option correctly on OpenBSD? | 7855d14c2bad1789dd43c992f77afcfb | {
"intermediate": 0.4615921080112457,
"beginner": 0.19472837448120117,
"expert": 0.3436795473098755
} |
39,833 | the probability that a sick person will releave from a rare disease is 0.4 and 100 have it , what's the probability that less than 30 people will releave from it | b669ae4e4278abd5167099c6daa8d8c6 | {
"intermediate": 0.3767048120498657,
"beginner": 0.23911480605602264,
"expert": 0.38418036699295044
} |
39,834 | You are an accessibility expert. You also have knowledge about governance and can independently create strategies and solutions based on the problem statement. I am setting up Accessibility Centre of Excellence (ACoE) for an organization. If a project team approaches to ACoE stating that they want to release their prod... | 9f6095c9f878443c9efec88d7f89aa12 | {
"intermediate": 0.39425623416900635,
"beginner": 0.3359200060367584,
"expert": 0.26982375979423523
} |
39,835 | Checking SMB User/Password Local Connection refused ossim | 91cd8b67045c4b2b6099fc94984b1e6e | {
"intermediate": 0.29381367564201355,
"beginner": 0.3643140494823456,
"expert": 0.34187227487564087
} |
39,836 | <div class="child-component">
<button class="save" @click="saveForm" />
</div>
isValid = false
saveForm() {
this.isValid = true
this.$emit("isValid")
}
родительский компонент
<div class="parent-component">
<ChildComponent @isValid="isValid" />
<button class="default" :disabled="isValid=true"
</div>
как правильн... | 4de92b7dc6f292ed8b60bd5f40af0978 | {
"intermediate": 0.42897799611091614,
"beginner": 0.3539312183856964,
"expert": 0.21709075570106506
} |
39,837 | Ramesh, a doctor in Hyderabad, wants to evaluate the performance metrics of the breast cancer dataset from
the sklearn package using the following machine learning algorithms:
1. Ada Boost
2. XG Boost
3. Random Forest
4. Decision Tree
Performance metrics: accuracy, classification report, precision score, recall score a... | 7a3c784055541933ddc9777aca3e360c | {
"intermediate": 0.1591343730688095,
"beginner": 0.04874660447239876,
"expert": 0.792119026184082
} |
39,838 | HI, I currently have a javascript code that forwards the incoming data to my api if the incoming data contains a url. I want all the same functionality repeated if a specific string is present in the url. Can you help with that? | 4ad1260ca82c1685b02c539be77a8a83 | {
"intermediate": 0.5800473690032959,
"beginner": 0.24138063192367554,
"expert": 0.1785718947649002
} |
39,839 | In my React code I have a typescript problem that needs to be solved. Here is the code in question:
<NavLink title="Чат" to={EReactRouterPaths.CHAT}>
{getItem('', 1, Chat)}
</NavLink>
const getItem = getRenderItemFunction(getLableWithIcon);
export const getRenderItemFunction = (children: React.FC): TRende... | b395287751d1b9f32e536bebf5bcca44 | {
"intermediate": 0.19722293317317963,
"beginner": 0.6385106444358826,
"expert": 0.1642664223909378
} |
39,840 | import pandas as pd
2
from sklearn.metrics import accuracy_score
3
4
data = pd.read_csv('/datasets/travel_insurance_preprocessed.csv')
5
6
target = data['Claim']
7
features = data.drop('Claim', axis=1) | 42073e73da29688203f415ada679eba7 | {
"intermediate": 0.4211040735244751,
"beginner": 0.2269923985004425,
"expert": 0.3519035279750824
} |
39,841 | Создайте константную модель: любому объекту она прогнозирует класс «0». Сохраните её предсказания в переменной target_pred_constant.
Напечатайте на экране значение accuracy.
import pandas as pd
2
from sklearn.metrics import accuracy_score
3
4
data = pd.read_csv('/datasets/travel_insurance_preprocessed.csv')
5
6
tar... | c4cfb4371c7c70455f73fb5baf800e86 | {
"intermediate": 0.3744699954986572,
"beginner": 0.2720237672328949,
"expert": 0.3535062074661255
} |
39,842 | pages that arent "/" dont seem to show the motion.div with the transtitionDelay import { motion } from "framer-motion";
import { useState, useEffect } from "react";
import { useRouter } from "next/router";
import ParticlesContainer from "./ParticlesContainer";
import { useGlobe } from '../components/globe/globeCon... | ca6d87d6e4196ff7452ecd85c26e9f4b | {
"intermediate": 0.3715779781341553,
"beginner": 0.4960270822048187,
"expert": 0.1323949545621872
} |
39,843 | что это?
serializeNulls:false,factories:[Factory[typeHierarchy=com.google.gson.JsonElement,adapter=com.google.gson.internal.bind.TypeAdapters$28@520e81bd], com.google.gson.internal.bind.ObjectTypeAdapter$1@73b261ed, com.google.gson.internal.Excluder@3833a2e0, Factory[type=java.util.Date,adapter=DefaultDateTypeAdapter(y... | aaba406fc0e173449d3403f5bb2b910e | {
"intermediate": 0.4036886990070343,
"beginner": 0.3184056282043457,
"expert": 0.2779056429862976
} |
39,844 | I have this urls.py in django rest:
urlpatterns = [
path('security-hub-controls-by-account/', security_hub_controls_by_account_view,
name='security_hub_controls_by_account_view'),
]
And this view:
def security_hub_controls_by_account_view(request):
return Response(SecurityHubControlsByAccountSerialize... | 930503e3fba777f0c593dc0268540451 | {
"intermediate": 0.6891260743141174,
"beginner": 0.16462816298007965,
"expert": 0.1462457776069641
} |
39,845 | I'm having some issues updating my re-frame database. Here is my code.
(ns spelling-bee.core
(:require
[re-frame.core :as rf]
[reagent.dom :as rdom]
[spelling-bee.config :as config]
[spelling-bee.events :as events]
[spelling-bee.views :as views]))
(defn... | 1472e558541594cacaac58b382883030 | {
"intermediate": 0.4443172812461853,
"beginner": 0.3696945607662201,
"expert": 0.18598812818527222
} |
39,846 | Simplify and optimize this python code:
if aws_account_id:
cursor.execute(
"SELECT ashc.aws_account_id, COUNT(CASE WHEN ashc.status = 'FAILED' THEN 1 END) AS failed_controls, COUNT(CASE WHEN ashc.status = 'PASSED' THEN 1 END) AS passed_controls FROM aws_securityhub_controls ashc WHERE aws_accou... | afe6a5098627128f78f586f63862b516 | {
"intermediate": 0.3540603816509247,
"beginner": 0.26252055168151855,
"expert": 0.38341909646987915
} |
39,847 | !rm -rf ~/tmp/tmp && mkdir -p /tmp/controlnet
%cd -q ~/stable-diffusion-webui/extensions/sd-webui-controlnet/models
#!wget https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors
#!wget https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_ip2p_fp16.yaml
#!wget... | 6992331a4978501351007eedd6eb8079 | {
"intermediate": 0.3242111802101135,
"beginner": 0.3812256455421448,
"expert": 0.2945631444454193
} |
39,848 | Make a batch file taking 2 input parameters. The first parameter has to be a full path to an executable "haha.exe". Test that it is not empty and that the filename is "haha.exe" and that the file exists on disk. If test fails, display messsage "wrong" and exit. | cc6e6e5ecaef84404e3c18c49bf2bdc7 | {
"intermediate": 0.48826736211776733,
"beginner": 0.18606382608413696,
"expert": 0.3256687521934509
} |
39,849 | @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
#content {
max-width: 800px;
margin: 0 auto;
padding: 1rem;
background-color: grey;
}
#textfields {
display: flex;... | e63f5d22a4afbf2a89bd713559e43b14 | {
"intermediate": 0.29570990800857544,
"beginner": 0.5110054612159729,
"expert": 0.19328466057777405
} |
39,850 | If it possible to make a conditional compilation in C with checking a defined macros? | ee42a96ba35d749c685d14bf54771f77 | {
"intermediate": 0.41137638688087463,
"beginner": 0.2573968470096588,
"expert": 0.33122682571411133
} |
39,851 | Как мне сделать чтобы кнопка была круглой?
public class CloseButton : Control
{
private StringFormat SF = new StringFormat();
private bool MouseEntered = false;
private bool MousePressed = false;
public CloseButton()
{
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedD... | 9b2fcce02d704e667f3e52765ddad35b | {
"intermediate": 0.2952982783317566,
"beginner": 0.3806498050689697,
"expert": 0.3240518867969513
} |
39,852 | Here is my ClojureScript code running with re-frame and shadow-cljs. Currently, the submit word button is not functioning properly. Can you help me fix the problem?
(ns spelling-bee.core
(:require
[clojure.set :as set]
[clojure.string :as str]
[re-frame.core :as rf]
[reagent.dom :as rdom]
[clojure.... | 71b1ee0baa124aba40b2459813bd4454 | {
"intermediate": 0.5086621046066284,
"beginner": 0.28848734498023987,
"expert": 0.2028505504131317
} |
39,853 | Harker Corporation uses the weighted-average method in its process costing system. The first processing department, the Welding Department, started the month with 16,000 units in its beginning work in process inventory that were 40% complete with respect to conversion costs. The conversion cost in this beginning work i... | b934aca676fe97667eab78208d07d297 | {
"intermediate": 0.40473297238349915,
"beginner": 0.3598749339580536,
"expert": 0.23539213836193085
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.