row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
43,071 | Make this post a little bit longer, but keep the medium.com style type of style | 2449ac70746aa0239dc6fc97404f9b63 | {
"intermediate": 0.32849690318107605,
"beginner": 0.28569576144218445,
"expert": 0.3858072757720947
} |
43,072 | 19-03-2024 20:15:47.436 INFO [http-nio-8080-exec-7] c.m.r.s.i.ReturnsChannelServiceImpl.fetchReturnChannels [ReturnsChannelServiceImpl.java : 42] : Request Payload : {"OrderHeaderKey":"202401160745001399395156","OrderNumber":"301-0000260-5153389","CountryCode":"GB","OrderItemList":[{"UpcVariant":"08518170","Sku":"2255... | ce8a19083f8abfd2169b45cee88fb220 | {
"intermediate": 0.29126954078674316,
"beginner": 0.5171310305595398,
"expert": 0.191599503159523
} |
43,073 | 19-03-2024 20:15:47.436 INFO [http-nio-8080-exec-7] c.m.r.s.i.ReturnsChannelServiceImpl.fetchReturnChannels [ReturnsChannelServiceImpl.java : 42] : Request Payload : {"OrderHeaderKey":"202401160745001399395156","OrderNumber":"301-0000260-5153389","CountryCode":"GB","OrderItemList":[{"UpcVariant":"08518170","Sku":"2255... | 820e6b3e11d0ffee6f3882632d0ffc21 | {
"intermediate": 0.29126954078674316,
"beginner": 0.5171310305595398,
"expert": 0.191599503159523
} |
43,074 | code:
import pandas as pd
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
def load_data(csv_path):
df = pd.read_csv(csv_path, skiprows=1)
# Convert Unix timestamp to datetime (assuming Unix timestamp is in milliseconds)
# df[‘Date’] = pd.to_datetime(df[‘Unix’], unit=‘ms’)
return df
def agg... | 6d179f400a55d0cae2ab759dfd375877 | {
"intermediate": 0.25621461868286133,
"beginner": 0.4599900245666504,
"expert": 0.2837952971458435
} |
43,075 | code:
import pandas as pd
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
def load_data(csv_path):
df = pd.read_csv(csv_path, skiprows=1)
return df
def aggregate_to_4h(df):
df.set_index(‘Date’, inplace=True)
# Aggregate according to the specified column names
aggregation = {
‘Open’: ‘firs... | 5d8c76dc60889c6e1871c9e596c33f33 | {
"intermediate": 0.339431494474411,
"beginner": 0.5408714413642883,
"expert": 0.11969708651304245
} |
43,076 | i have some historical data of cryptocurrencies in 1h timeframe
each csv file contains following data:
Unix Date Symbol Open High Low Close volume_crypto volume_base tradecount
1.60887E+12 12/25/2020 5:00 1INCHBTC 8.51E-06 0.000168 8.51E-06 0.00010947 2207916 256.8839429 17168
1.60888E+12 12/25/2020 6:00 1INCHBTC 0.0... | ac8500f782c78367ee67bf57fe4baa32 | {
"intermediate": 0.3780532777309418,
"beginner": 0.3282809257507324,
"expert": 0.2936657965183258
} |
43,077 | i have some historical data of cryptocurrencies in 1h timeframe
each csv file contains following data:
Unix Date Symbol Open High Low Close volume_crypto volume_base tradecount
1.60887E+12 12/25/2020 5:00 1INCHBTC 8.51E-06 0.000168 8.51E-06 0.00010947 2207916 256.8839429 17168
1.60888E+12 12/25/2020 6:00 1INCHBTC 0.00... | ea9d5a796c887e7e1b345854e8c04697 | {
"intermediate": 0.4359091818332672,
"beginner": 0.27646058797836304,
"expert": 0.28763020038604736
} |
43,078 | change following code so it calculate weekly timeframe instead of 4h | 2daa813c3b0c7ad19fd41ee5bbf54711 | {
"intermediate": 0.3809369206428528,
"beginner": 0.2377433031797409,
"expert": 0.3813198208808899
} |
43,079 | change following code so it calculate weekly timeframe instead of 4h:
import pandas as pd
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
def create_4h(filename, csv_path, out_directory_path):
try:
# Load the dataset
df = pd.read_csv(csv_path, parse_dates=['Date'])
... | 262bfb66d9e6b0142e3a90d367916e51 | {
"intermediate": 0.3041517436504364,
"beginner": 0.4536053538322449,
"expert": 0.2422429323196411
} |
43,080 | class _Nator:
def __init__(self, base_url: str, inbox_type: str):
self.url = base_url
self.inbox_type = inbox_type
self.session = requests.Session()
response = self.session.get(self.url)
response.raise_for_status()
print(urllib.parse.unquote(
self... | e3f45df3d30708ab98aa86af63d756ff | {
"intermediate": 0.2971888780593872,
"beginner": 0.53694087266922,
"expert": 0.16587024927139282
} |
43,081 | wrtie down code to create x & y axis using d3 | eb1cc7567c2ccafdee423e6d0645c923 | {
"intermediate": 0.4632794260978699,
"beginner": 0.1556496024131775,
"expert": 0.38107091188430786
} |
43,082 | def client_session(self):
self.session = requests.Session()
self.session.verify = False
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
self.session.headers.update({
“User-Agent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0”})
self.session.cookies.update(self.cook... | d43c0e5e0246d0d466c4852a441fd222 | {
"intermediate": 0.4506571888923645,
"beginner": 0.30670300126075745,
"expert": 0.24263978004455566
} |
43,083 | code:
def create_4h(filename, csv_path, out_directory_path):
try:
output_path = os.path.join(out_directory_path, f"4h_{filename}")
if os.path.exists(output_path):
print(f"{filename} already exists. Skipping aggregate.")
return
# Load the dataset
df = pd.read... | 9700c7fd757c13f35c19a2ecdf12cdd4 | {
"intermediate": 0.2719891369342804,
"beginner": 0.5805286765098572,
"expert": 0.14748220145702362
} |
43,084 | from __future__ import annotations
import os
import re
import sys
import time
import json
import m3u8
import base64
import shutil
import urllib3
import requests
import argparse
import music_tag
import webbrowser
import subprocess
import unicodedata
import pathvalidate
import config as toolcfg
from unidecode import u... | 515e80ecc7ff07ec7faac508f09e68f5 | {
"intermediate": 0.37977567315101624,
"beginner": 0.39974018931388855,
"expert": 0.22048421204090118
} |
43,085 | check this code:
fn pseudomap(consensus: &ConsensusTx, tx: &Transcript, mode: &str) -> Option<(Arc<str>, u32, u32)> {
let mut tx_exs = tx.2.iter().collect::<Vec<_>>();
tx_exs.par_sort_unstable_by_key(|x| (x.0, x.1));
let mapped_read = consensus
.iter()
.find_map(|(start, end, exons, introns)| {
if tx.0 >= *start && t... | 8cdbbbad6baff554e95dac4265b82fd0 | {
"intermediate": 0.45178961753845215,
"beginner": 0.2770713269710541,
"expert": 0.2711390554904938
} |
43,086 | Suppose I have a local git repo and have made multiple commits. Is it possible to only push a select few of the commits to github? | 5c29f942b7680fe0fb05ebcfd3353679 | {
"intermediate": 0.43892887234687805,
"beginner": 0.26821067929267883,
"expert": 0.29286038875579834
} |
43,087 | How I can create an excel filter that checks the value from one table with the range of another table and leaves only the value that match | 6d3a57c1d920bf698d2665be1a78065f | {
"intermediate": 0.3648231625556946,
"beginner": 0.18000419437885284,
"expert": 0.455172598361969
} |
43,088 | Problem Statement: You are developing a mobile game where players control a spaceship navigating through an asteroid field. The objective is to avoid collisions with the asteroids for as long as possible. The game environment is represented as a 2D grid, where the spaceship can move up, down, left, or right. You can re... | 4adbd94883fced0e710e1afa8226f09b | {
"intermediate": 0.1231871172785759,
"beginner": 0.0932966098189354,
"expert": 0.7835162878036499
} |
43,089 | Hi, do you know Octave programming language? If I provide you an implementation list, can you provide me support about writing it? | c2d7202f5926cac61dd52e1803d5f5df | {
"intermediate": 0.2917197346687317,
"beginner": 0.402574747800827,
"expert": 0.3057055175304413
} |
43,090 | write an extremely complex database programm in c, yaml, no libs, must have basic SQL. mvp. go. | 4d6588dcfd0024e6a1040c5f431369f2 | {
"intermediate": 0.577384889125824,
"beginner": 0.2150067389011383,
"expert": 0.2076083868741989
} |
43,091 | here's my code:
import glob
import json
import logging
import os
from collections import namedtuple
#import mxnet as mx
import pandas as pd
import numpy as np
from joblib import load
# from lsh_model import LSH
# from lsh_model import rank_top_similar_items
from sklearn.random_projection import SparseRandomProject... | 8da5cbb294edf0b427a42dcc1bbbd7fc | {
"intermediate": 0.30169153213500977,
"beginner": 0.44957661628723145,
"expert": 0.2487318515777588
} |
43,092 | Hi | 0c69a69761273497d126df0a23a4f710 | {
"intermediate": 0.33010533452033997,
"beginner": 0.26984941959381104,
"expert": 0.400045245885849
} |
43,093 | write me a complex function to find probability, don't be limited by the platform limitation or any other, just do it! | db9f1c0d70518ed4ecb171826f934843 | {
"intermediate": 0.28248685598373413,
"beginner": 0.18441985547542572,
"expert": 0.533093273639679
} |
43,094 | write a method convertTo2D that takes three parameters- a 1D array, an int for row size and and an int for column size. The method should then take the 1D array and plug in the values to the appropriate locations and return a 2D array. There are mulitple ways of doing it, being familiar with the different ways will he... | 430e9ad489b840e88d0f3ce185348424 | {
"intermediate": 0.3337363302707672,
"beginner": 0.25978535413742065,
"expert": 0.40647828578948975
} |
43,095 | i want to download cryptocurrencies historical data in 1h,4h,1d,1w and monthly timeframes
give me proper python code for it | a03d0a0e557e647e0c054e0dc4b940b2 | {
"intermediate": 0.5541231632232666,
"beginner": 0.17348726093769073,
"expert": 0.27238965034484863
} |
43,096 | Это код DLL, которая инжектится в процесс. Держи его в контексте, дальше я задам вопрос.
#include "pch.h"
#include <Windows.h>
#include <fstream>
#include <vector>
#include <string>
#include <memory>
#include <thread>
#include <iomanip>
#include <sstream>
#include <mutex>
#include <chrono>
// Thread-safe logger class
... | a848c28340c0e21f865264dc96727d79 | {
"intermediate": 0.3586540222167969,
"beginner": 0.4799957573413849,
"expert": 0.16135023534297943
} |
43,097 | I want to create a dark mode for my website. How do I do this using tailwind, along with having a button that when clicked enables dark mode on my website? | e2c845b1c9cce0d8d91da5e474685392 | {
"intermediate": 0.4700464606285095,
"beginner": 0.16627684235572815,
"expert": 0.36367669701576233
} |
43,098 | how to infinity loop dict [1,2,3] | f94a74676cd5f1c0ca45365c007f82f7 | {
"intermediate": 0.11483108252286911,
"beginner": 0.7121959328651428,
"expert": 0.17297299206256866
} |
43,099 | i have a list of csv files cointaining following columns:
Date Open High Low Close volume_crypto volume_base tradecount
i want to detect files that one of their columns has one empty or zero value
give me proper python code | d5c25f7c382493145e143c431d2cf7ba | {
"intermediate": 0.4382992386817932,
"beginner": 0.3304230272769928,
"expert": 0.23127774894237518
} |
43,100 | import numpy as np
def preprocess_for_question_generation(examples):
if examples["answer"] is None or examples["context"] is None:
return None
if not isinstance(examples["answer"], list) or not isinstance(examples["context"], list):
return None
if len(examples["answer"]) != len(e... | c39001e79429e7c087fa7e39c5ac2a36 | {
"intermediate": 0.3334682285785675,
"beginner": 0.42786771059036255,
"expert": 0.23866406083106995
} |
43,101 | what is procced function for this
Question generation is the task of automatically generating questions from a text paragraph. The most straight-forward way for this is answer aware question generation. In answer aware question generation the model is presented with the answer and the passage and asked to generate a q... | 01515cc6f03bbe0cf54ea10d8116c388 | {
"intermediate": 0.4015074074268341,
"beginner": 0.23212915658950806,
"expert": 0.3663634657859802
} |
43,102 | hi | 13847e76c273879aa66674d6e385a805 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
43,103 | check this code:
pub fn cmp_introns(
introns: &Vec<(u32, u32)>,
exons: &Vec<&(u32, u32)>,
) -> Result<(String, Status), anyhow::Error> {
let mut status = Status::IntronRetentionStatus::NoIntronRetention;
let mut irs: Vec<u32> = vec![];
let mut n: u32 = 0;
for (k, (start, end)) in introns.iter... | 852831ee43a57541787f01d195bd66f2 | {
"intermediate": 0.503939151763916,
"beginner": 0.3248985707759857,
"expert": 0.17116229236125946
} |
43,104 | this is my fn but i think is redundant:
pub fn send_tx(
exons: &Vec<(u32, u32)>,
introns: &Vec<(u32, u32)>,
tx: Vec<&(u32, u32)>,
id: Arc<str>,
mode: &str,
) -> MapInfo {
let info = match mode {
INTRON => cmp_introns(introns, &tx),
// FIVEND => bif::fivend::map_5_prime(exons, &t... | 12a293876b6612ae4a9980799a0e8a3a | {
"intermediate": 0.3584713935852051,
"beginner": 0.38843241333961487,
"expert": 0.25309616327285767
} |
43,105 | i have some csv files containing a column "Date"
in some parts of Date column in some of my csv files the values are not continues and some dates are missing between to dates
like:
12/31/2021 18:00
12/31/2021 19:00
12/31/2021 20:00
12/31/2021 21:00
12/31/2021 22:00
12/31/2021 23:00
4/14/2022 0:00
4/14/2022 1:00
4/14/... | 1a0077a169ee6646fcb0b231812c6cbb | {
"intermediate": 0.44356632232666016,
"beginner": 0.32965219020843506,
"expert": 0.2267814427614212
} |
43,106 | how tonresolve unicodeer error in Python | 12301524a56bc74b7e7669318118f450 | {
"intermediate": 0.4506063759326935,
"beginner": 0.16892144083976746,
"expert": 0.38047218322753906
} |
43,107 | Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location, you will use the divide and conquer approach to design and implement an algorithm to cover the chess board (with a missing square) by an arrangement of tro... | 25c41cedae7fee23403489b8db14e47b | {
"intermediate": 0.22226382791996002,
"beginner": 0.4379785358905792,
"expert": 0.33975765109062195
} |
43,108 | i have a list of csv files
each file contains a "Date" column
i want to check if the Date column are values continues and not any missing values | e3600e1a604ab6fe6fed7e64ffd7e92f | {
"intermediate": 0.4227217435836792,
"beginner": 0.2638814151287079,
"expert": 0.3133968412876129
} |
43,109 | check this code:
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
pub command: DeintronizeTools,
#[arg(
short = 't',
long = "threads",
help = "Number of threads",
value_name = "THREADS",
default_value_t =... | 9c6e391fd80e322cb113550f052396e5 | {
"intermediate": 0.36523759365081787,
"beginner": 0.42022156715393066,
"expert": 0.21454083919525146
} |
43,110 | Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location, you will use the divide and conquer approach to design and implement an algorithm to cover the chess board (with a missing square) by an arrangement of tro... | 6c94305e6f4759fd6689b1ddec87e475 | {
"intermediate": 0.2296827733516693,
"beginner": 0.49025657773017883,
"expert": 0.28006061911582947
} |
43,111 | 아래까지 진행된거면 얼마나 진행된건가요?
\$ /bin/bash -c "\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/... | 77348de39090b7460c299335b7154250 | {
"intermediate": 0.37825796008110046,
"beginner": 0.3840593695640564,
"expert": 0.23768262565135956
} |
43,112 | Can you make cryptographic code | 4c59a1c35c5920cb53e186f45826c7c6 | {
"intermediate": 0.17517675459384918,
"beginner": 0.19269075989723206,
"expert": 0.6321324706077576
} |
43,113 | nginx配置了2个子域名的反向代理,配置如下:
upstream fileServer {
#server 10.128.1.84:8080;
server 10.128.1.231:8080;
}
server {
listen 8443 ssl;
server_name file.shftz.cn;
ssl_certificate cert/shftz_ssl.pem;
ssl_certificate_key cert/shftz_ssl.key;
ssl_sessi... | d3f6c4fb9f871c27bc4e9fd5574b95e1 | {
"intermediate": 0.29480141401290894,
"beginner": 0.36647528409957886,
"expert": 0.3387232720851898
} |
43,114 | i have following code :
import pandas as pd
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
def create_weekly(filename, csv_path, out_directory_path):
try:
# Load the dataset
df = pd.read_csv(csv_path)
df['Date'] = pd.to_datetime(df['Date'], format="ISO8601", utc... | 2ac9c3e8397a7c9ddb5675ddad5311a1 | {
"intermediate": 0.27771487832069397,
"beginner": 0.49647852778434753,
"expert": 0.2258066087961197
} |
43,115 | Do I need to know javascript to find reflected xss in a website for bug bounty? | cb3d7d9801ccae0ab75baa24aca08f12 | {
"intermediate": 0.6271457076072693,
"beginner": 0.16502898931503296,
"expert": 0.20782527327537537
} |
43,116 | i have bunch of csv files
i want to delete last 2 rows of them
give me the proper python code | 9f380a2307f25f850bec4c50b67fc1c8 | {
"intermediate": 0.3914972245693207,
"beginner": 0.30958235263824463,
"expert": 0.2989204525947571
} |
43,117 | so i have this c program that creates child processes:
int i, j, k;
int ret = getpid();
i = fork();
j = fork();
k = fork();
printf("ret: %d, i: %d, j: %d, k: %d\n", ret, i, j, k);
the output is the follwoing:
ret: 8647, i: 8648, j: 8649, k: 8651
ret: 8647, i: 8648, j: 0, k: 8652
ret: 8647, i: 8648, j: 0, k: 0
ret... | 1766fc65c7ff398d3aed95c8ea261f5c | {
"intermediate": 0.5199410319328308,
"beginner": 0.29812416434288025,
"expert": 0.18193484842777252
} |
43,118 | i got my cookies from session in python. how to get it to readable format? | a1fc91c8b0e2f880bafab878cb373fc0 | {
"intermediate": 0.4445675313472748,
"beginner": 0.2842283546924591,
"expert": 0.2712041139602661
} |
43,119 | #pragma once
namespace HONG {
namespace Offset {
/* Address */
static constexpr auto _Address_UWorld = 0x13116178; //
static constexpr auto _Address_GNames = 0x1338E0F0; //
static constexpr auto _Address_Decrypt = 0x1183EE28;//
static constexpr auto _Address_GObject = 0x130D4... | 4704ff60625c8764e6ffb1daefc45a95 | {
"intermediate": 0.3599011301994324,
"beginner": 0.36987558007240295,
"expert": 0.27022331953048706
} |
43,120 | DROP TABLE rgr_сruises;
DROP TABLE rgr_ports;
drop sequence rgr_seq_p;
drop sequence rgr_seq_c;
create sequence rgr_seq_p start with 1 increment by 1;
create sequence rgr_seq_c start with 1 increment by 1;
CREATE TABLE rgr_сruises
(
cr_id INTEGER NOT NULL,
c_name VARCHAR2(50) NOT NULL,
c_ship VARCHAR2(... | b4b58d5d3d88994ea0d56e99cebf519f | {
"intermediate": 0.31959614157676697,
"beginner": 0.45778483152389526,
"expert": 0.22261899709701538
} |
43,121 | Draw a diagram from below teradata explain plan
1) First, we lock QS_RETAIL_DB.Final_SupervisedPrediction_Dataset in
view ml__select__1710325988952254 in TD_MAP1 for read on a
reserved RowHash to prevent global deadlock.
2) Next, we lock QS_RETAIL_DB.Final_SupervisedPred... | 76a7a05b61ad2a95eaaa975eccde353f | {
"intermediate": 0.40484192967414856,
"beginner": 0.26947957277297974,
"expert": 0.3256785273551941
} |
43,122 | im retriving folders of a directry like this:
with ThreadPoolExecutor() as executor:
futures = []
# List of folders to iterate through
folders = [d for d in Path(base_directory_path).iterdir() if d.is_dir()]
# Loop through each folder and then through each CSV file within them
for folder in folder... | b9e1fe0aa97be613483a98efd98b088e | {
"intermediate": 0.5202376842498779,
"beginner": 0.29518038034439087,
"expert": 0.1845819354057312
} |
43,123 | #pragma once
namespace HONG {
namespace Offset {
/* Address */
static constexpr auto _Address_UWorld = 0x08D17660;
static constexpr auto _Address_GNames = 0x1338E0F0 + 0x20;
static constexpr auto _Address_Decrypt = 0x1183EE28;
static constexpr auto _Address_GObject = 0x08CD68... | d5c0c4a368317e7b717ea1d5330399f0 | {
"intermediate": 0.35525766015052795,
"beginner": 0.388644278049469,
"expert": 0.2560981214046478
} |
43,124 | in thiscode i want to save csv in output_directory\folder_name:
directory_out = r"..\downloaded_files\Binance\01_calculate_talib"
def calculate_talib(file_path, folder_name):
try:
# Load the CSV file into a DataFrame
df = pd.read_csv(file_path)
# Sort the DataFrame based on the 'Date' in ... | bc37930b1ee71515f3c4ce0876c62165 | {
"intermediate": 0.4746372401714325,
"beginner": 0.3236742317676544,
"expert": 0.20168854296207428
} |
43,125 | #useing ubuntu 22.04
FROM ubuntu:22.04
#install shellinabox
RUN apt-get update && \
apt-get install -y \shellinabox && \
apt-get clean && \
rm-rf /var/lib/apt/lists/* /var/tmp/*
#set root user is password '89272168'
run echo 'root:89272168'| choasswd
# 22 port
EXPOSE 22
#run sehllinabox
CMD["/usr/bin/shelli... | 21d4b587cb117c802d41a85d0879e063 | {
"intermediate": 0.42872944474220276,
"beginner": 0.26606088876724243,
"expert": 0.3052096664905548
} |
43,126 | Can you solve problems in codes by bigquey? | 7fb75eece36a6e6252a526a44873a634 | {
"intermediate": 0.27146726846694946,
"beginner": 0.1905919760465622,
"expert": 0.5379408001899719
} |
43,127 | import java.util.Scanner;
public class TrominoTiling {
private static String[][] board; // Use a String matrix to store the tiling representation
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Please enter size of board (need to be 2^n a... | 156b0658f548a01ab236fcb6c5d4e8ee | {
"intermediate": 0.31364309787750244,
"beginner": 0.41368287801742554,
"expert": 0.272674024105072
} |
43,128 | help me remove the whitespace in the outputs: no=int(input())
n=no+1
for _ in range(no+1):
for i in range(0,n):
print(i,end="")
n=n-1
if n==0:
print('\n0') | 85447fc4015cdab65534d6951e9b032c | {
"intermediate": 0.16376902163028717,
"beginner": 0.7066232562065125,
"expert": 0.12960773706436157
} |
43,129 | import java.util.Scanner;
public class TrominoTiling {
private static String[][] board;
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Please enter size of board (need to be 2^n and 0 to quit):");
int boardSize = scanner.nextInt()... | 35943cef237305f7b5a81e93809726e8 | {
"intermediate": 0.293759822845459,
"beginner": 0.4852108061313629,
"expert": 0.2210293710231781
} |
43,130 | ALTER TABLE Ports DROP CONSTRAINT fk_cruise;
DROP TABLE Cruises;
DROP TABLE Ports;
drop sequence cruises_seq;
drop sequence ports_seq;
CREATE TABLE Cruises
(
cr_id INT PRIMARY KEY,
c_name VARCHAR2(60) NOT NULL,
c_ship VARCHAR2(60) NOT NULL,
c_departure_date DATE NOT NULL,
c_return_date DATE NOT N... | b42f19a8eb5b958ccb0e825c939c8f30 | {
"intermediate": 0.3650686740875244,
"beginner": 0.49087128043174744,
"expert": 0.14406007528305054
} |
43,131 | CS575 Design and Analysis of Algorithms Spring 2024
Programming Assignment 2
Assigned: February 21, 2024
Due: Midnight Tuesday, March 19, 2024
Assignment
Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location... | b3f45c63d81db17c22dbf73c79cddbde | {
"intermediate": 0.30111467838287354,
"beginner": 0.4431888163089752,
"expert": 0.25569650530815125
} |
43,132 | Для данной программы создадим второй пакет CruiseDataPackage2, включающий вызовы процедур из первого пакета CruiseDataPackage и реализующий две дополнительные процедуры для выборки данных о круизе и его портах в коллекцию и вывода этих данных.
Вот как вы можете создать второй пакет CruiseDataPackage2:
CREATE OR REPLA... | abfa88f8dc8ba637a88f9513f31f2112 | {
"intermediate": 0.21500343084335327,
"beginner": 0.5593340992927551,
"expert": 0.22566251456737518
} |
43,133 | CS575 Design and Analysis of Algorithms Spring 2024
Programming Assignment 2
Assigned: February 21, 2024
Due: Midnight Tuesday, March 19, 2024
Assignment
Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location... | f268743d00c115d761bcbb560044cbb4 | {
"intermediate": 0.33050283789634705,
"beginner": 0.3510831594467163,
"expert": 0.31841403245925903
} |
43,134 | CS575 Design and Analysis of Algorithms Spring 2024
Programming Assignment 2
Assigned: February 21, 2024
Due: Midnight Tuesday, March 19, 2024
Assignment
Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location... | ba4c75ae1410f88408781a1ee408b5da | {
"intermediate": 0.3176274001598358,
"beginner": 0.3982848823070526,
"expert": 0.2840877175331116
} |
43,135 | check this code:
match args.command {
DeintronizeTools::Intron { args } => {
// intron branch -> classify intron retention on a query set of reads
rayon::ThreadPoolBuilder::new()
.num_threads(args.threads)
.build_global()
.unwrap... | 330ceb50cd1e93a907337340b3638d32 | {
"intermediate": 0.34289413690567017,
"beginner": 0.532898485660553,
"expert": 0.12420732527971268
} |
43,136 | MacBook-Air-Trofim:progress_control trol$ docker-compose up -d
[+] Running 0/1
⠦ mysqldb Pulling 3.6s
no matching manifest for linux/arm64/v8 in th... | cac0dac24780d675ec731f4751cdcc21 | {
"intermediate": 0.3327085077762604,
"beginner": 0.39569908380508423,
"expert": 0.2715923488140106
} |
43,137 | CS575 Design and Analysis of Algorithms Spring 2024
Programming Assignment 2
Assigned: February 21, 2024
Due: Midnight Tuesday, March 19, 2024
Assignment
Given a natural number n and a chess board with 2n squares on each side (the length of the side is 2n, called the board size) with a missing square in any location... | 1050f705c9abdb0e6c4e7631c8fb11e7 | {
"intermediate": 0.3312118649482727,
"beginner": 0.3742428123950958,
"expert": 0.29454532265663147
} |
43,138 | import java.util.Scanner;
public class TrominoTiling {
private static String[][] board;
private static int size;
private static void fillBoard(int boardSize, int x, int y, int missingX, int missingY) {
// Base case for 2x2 board
if (boardSize == 2) {
String label = “T”; // Default label for tromino
for (int i = 0; i ... | 01bcde2d387911c8da88fe257b2a2ca1 | {
"intermediate": 0.2986126244068146,
"beginner": 0.4325489103794098,
"expert": 0.26883843541145325
} |
43,139 | In my catalog item, i have a reference type variable named as select_server and the table it was referring is cmdb_ci_server. cmdb_ci_server table has child relationship with cmdb_rel_ci table. we check parents record by child.ip_address fields only. my requirement is when a particular server is selected, a script shou... | 5f69daa7e787cb850feb290382afcb90 | {
"intermediate": 0.33947551250457764,
"beginner": 0.32412001490592957,
"expert": 0.3364045023918152
} |
43,140 | CREATE OR REPLACE PACKAGE BODY CruiseDataPackage2 AS
PROCEDURE SelectCruiseData(cruise_id IN INT, cruise_data OUT SYS_REFCURSOR) IS
BEGIN
OPEN cruise_data FOR
SELECT
c.cr_id AS cruise_id,
c.c_name AS cruise_name,
c.c_ship AS ship_name,
c.c_departu... | 135897939701ba96e5f20f5d92603f09 | {
"intermediate": 0.3026430010795593,
"beginner": 0.47142115235328674,
"expert": 0.22593587636947632
} |
43,141 | make necessary changes to the code using infor from the following:
Based on following complete the latest code:
Ok lambda here is not doing anything.
import torch
from torch.optim.optimizer import Optimizer
import math
class Fusedbun(Optimizer):
def init(self, params, lr=1e-3, eps=1e-8, beta_decay=0.8, Lambda=0.01, ... | 5ed67f26ac981a606cfe6fa4d3f0db61 | {
"intermediate": 0.3776407539844513,
"beginner": 0.39133796095848083,
"expert": 0.23102131485939026
} |
43,142 | get few sites to check what OCSP in browser work well | c3e7686597822b51a769fed477f6ff46 | {
"intermediate": 0.32089197635650635,
"beginner": 0.3081381320953369,
"expert": 0.37096983194351196
} |
43,143 | Given a natural number n and a chess board with 2^n squares on each side (the length of the side is 2^n, called the board size) with a missing square in any location, you will use the divide and conquer approach to design and implement an algorithm to cover the chess board (with a missing square) by an arrangement of t... | 0eeb7414b228dea2e49788e6382151f5 | {
"intermediate": 0.33859872817993164,
"beginner": 0.44223353266716003,
"expert": 0.2191677838563919
} |
43,144 | bagging_random_trees = BaggingClassifier(random_tree)
print("Random tree bagging:", estimate_accuracy(bagging_random_trees, X, y))
NameError: name 'random_tree' is not defined | 94f784fbe97c598e565d344b9f389e6e | {
"intermediate": 0.22790442407131195,
"beginner": 0.38965901732444763,
"expert": 0.38243648409843445
} |
43,145 | can we connect two printers by using only USB cable to one system | f96df8ba5cdff2545e11706b58645138 | {
"intermediate": 0.37933579087257385,
"beginner": 0.21785883605480194,
"expert": 0.4028054475784302
} |
43,146 | Write a documentation for script syntax of warband source module | ace864504df75031fbcc16406c63fdc7 | {
"intermediate": 0.24761269986629486,
"beginner": 0.5925923585891724,
"expert": 0.15979495644569397
} |
43,147 | make me a python code for another AI which can recognize people in a picture and tell the gender as well as guess the age | 217989611c3692dfca7d64bb9312577d | {
"intermediate": 0.18372079730033875,
"beginner": 0.10848333686590195,
"expert": 0.7077959179878235
} |
43,148 | Show me only the partition column name and ranges for below ddl: CREATE MULTISET TABLE RETAIL_DB.NewYorkTaxifhv_final ,FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO,
MAP = TD_MAP1
(
dispatching_base_num VARCHAR(20) CHARACTER SET LATIN NOT... | 867b35ac4947c024f846f725052a4cfc | {
"intermediate": 0.3682839572429657,
"beginner": 0.2713465094566345,
"expert": 0.36036956310272217
} |
43,149 | hi i have a question to sklearn.testtrainsplit in python | 8b852d449058c27433d2820d938cee32 | {
"intermediate": 0.26371368765830994,
"beginner": 0.24145513772964478,
"expert": 0.4948311448097229
} |
43,150 | bagging_random_trees = BaggingClassifier(random_tree)
print("Random tree bagging:", estimate_accuracy(bagging_random_trees, X, y))
NameError: name 'random_tree' is not defined | 69db5cedee5e496cb65a19019f6d6746 | {
"intermediate": 0.2033943384885788,
"beginner": 0.42602625489234924,
"expert": 0.37057942152023315
} |
43,151 | how to call a stored procedure with parameters from java using mybatis , by using xml | 28c78e41100398d57b595d85660e88dd | {
"intermediate": 0.6957942247390747,
"beginner": 0.1426452249288559,
"expert": 0.1615605354309082
} |
43,152 | import concurrent.futures
import time
from playwright.sync_api import sync_playwright
def run_browser_session(process_number) -> bool:
with sync_playwright() as p:
s = time.time()
browser = p.chromium.launch(headless=False, slow_mo=1000)
context = browser.new_context()
trace_filename... | cff48cfa4b6fc96ef6d71e3e2176b548 | {
"intermediate": 0.34282535314559937,
"beginner": 0.4431169331073761,
"expert": 0.21405772864818573
} |
43,153 | when using winrar and turning multiple item to multiple archives, how do i change the extension to other extension other than zip in the comression setting without changing it manually for each one or using a name changing tool after compression? | 6f2ac80a7b5b020ba35fc14e402d206a | {
"intermediate": 0.5315715670585632,
"beginner": 0.2327921837568283,
"expert": 0.23563623428344727
} |
43,154 | <html>
<head>
<title>Register Result</title>
</head>
<body>
<?php
// Create connection
$conn = new mysqli("localhost", "root", "", "test");
// Check connection
if ($conn->connect_error)
{
die("Connection failed: ". $conn->connect_error);
}
// Get user input from the form submitted before
$id = $_POST["id"];
$... | b89e35e24446a930251a9353ad9e4426 | {
"intermediate": 0.3618074655532837,
"beginner": 0.32521501183509827,
"expert": 0.31297749280929565
} |
43,155 | I want to create a doubly linked list program in c++, help me define the functions below for class DEList with the provided instruction on top of each function.
#ifndef DELIST_H
#define DELIST_H
#include <string>
struct DEItem {
int val;
DEItem* prev;
DEItem* next;
// Feel free to add a constructor i... | b639360e139a592be12fa910e9d8d34f | {
"intermediate": 0.24182918667793274,
"beginner": 0.6750946044921875,
"expert": 0.08307614922523499
} |
43,156 | hello | d9b4068c6ae843488ade9d0851d140b6 | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
43,157 | hi | 4c28ea7a680a643528e80764b15271d9 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
43,158 | Hey | d67c86ee91d060bf2e582450666706b3 | {
"intermediate": 0.3360580503940582,
"beginner": 0.274208664894104,
"expert": 0.38973328471183777
} |
43,159 | DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().
y = column_or_1d(y, warn=True) | 8524eb184687b2873506f13794500cec | {
"intermediate": 0.47882479429244995,
"beginner": 0.19741801917552948,
"expert": 0.3237571716308594
} |
43,160 | correct this c++ function for a doubly linked list to remove the item at the front of the list:
void DEList:: pop_front()
{
if (!empty()){
DEItem* ptr = head;
head = head -> next;
if (head == nullptr){
tail = nullptr;
} else{
head -> prev = nullptr;
}
delete ptr;
Itemcount--;
}... | 0d3010a39901c6aad4d556ba2b012a63 | {
"intermediate": 0.38987448811531067,
"beginner": 0.4232581555843353,
"expert": 0.1868673413991928
} |
43,161 | ALTER TABLE Ports DROP CONSTRAINT fk_cruise;
DROP TABLE Cruises;
DROP TABLE Ports;
drop sequence cruises_seq;
drop sequence ports_seq;
CREATE TABLE Cruises
(
cr_id NUMBER PRIMARY KEY,
c_name VARCHAR2(60) NOT NULL,
c_ship VARCHAR2(60) NOT NULL,
c_departure_date DATE NOT NULL,
c_return_date DATE NO... | 0aa4adab655aa8301fcf52274b330320 | {
"intermediate": 0.3326705992221832,
"beginner": 0.4894258975982666,
"expert": 0.17790351808071136
} |
43,162 | ALTER TABLE Ports DROP CONSTRAINT fk_cruise;
DROP TABLE Cruises;
DROP TABLE Ports;
drop sequence cruises_seq;
drop sequence ports_seq;
CREATE TABLE Cruises
(
cr_id NUMBER PRIMARY KEY,
c_name VARCHAR2(60) NOT NULL,
c_ship VARCHAR2(60) NOT NULL,
c_departure_date DATE NOT NULL,
c_return_date DATE NOT NULL
);
CREATE TA... | 70752f6653e02d609f38a1b7081649e9 | {
"intermediate": 0.32762590050697327,
"beginner": 0.45290571451187134,
"expert": 0.21946831047534943
} |
43,163 | Create a comprehensive guide in understanding and applying these c++ concepts below. I want the guide to be very extensive, specific, and detailed.
Unit 3a
Basic objects (structs)
Assignment of objects
. and -> operators
Use of getline()
Checking an input stream for failure
Using C++ string class
Unit 3b
Defining you... | 06d6b249637b5afbc549bec5ee1e8a99 | {
"intermediate": 0.19006969034671783,
"beginner": 0.7287465929985046,
"expert": 0.08118367940187454
} |
43,164 | There is a requirement to create a report based on catalog variable -Reporting to's company code.Here Reporting to is a catalog variable pointing to users table.In user table we have this field called company code.
How may I create a filter on a catalog item based on above scenario such that lets say it should disp... | 9663affce2768b740a1a5cd454732673 | {
"intermediate": 0.3634638786315918,
"beginner": 0.4272145926952362,
"expert": 0.209321528673172
} |
43,165 | public void PreviewCard(BaseCard card, Transform cardPosition)
{
GameObject go = null;
// var amount = card.Amount;
card.FaceRank = card.FaceRank;
CardDisplayer displayer = null;
switch (card.Type)
{
case CardTypes.MinionCard:
go ... | 74cfb43cfb95456391a6f9aafb3f3a3c | {
"intermediate": 0.30230626463890076,
"beginner": 0.4175318777561188,
"expert": 0.28016185760498047
} |
43,166 | //+------------------------------------------------------------------+
//| best_ex2.mq5 |
//| Copyright 2024, MetaQuotes Ltd. |
//| https://www.mql5.com |
//+---------------------------------... | 31e6ac41a8e15e7da9985c9be2d22884 | {
"intermediate": 0.2812173664569855,
"beginner": 0.47761693596839905,
"expert": 0.24116575717926025
} |
43,167 | How do I pass the reft from the parent component to the child component in React? | 3b321470355dda4f36161d9fd82a97ea | {
"intermediate": 0.5283915996551514,
"beginner": 0.3200620114803314,
"expert": 0.15154631435871124
} |
43,168 | Hi,
Where can I modify the Customer Survey default rate?
They want the 5 to be default. | 6b29f71d75cac996698da4ae58326c0a | {
"intermediate": 0.3710220456123352,
"beginner": 0.31310439109802246,
"expert": 0.31587353348731995
} |
43,169 | Need help with the below code to make it pick the table dynamically depending if it is a request item table or change request table or any other task tabl
its showing the correct Ticket number but in the current behaviour it is only searching in the change_request table.
<div ng-if="data.isValid">
<div class="panel pa... | dadf6a2222e971231aa536c283dea651 | {
"intermediate": 0.31630200147628784,
"beginner": 0.37296605110168457,
"expert": 0.31073197722435
} |
43,170 | hi' | d8c95baf903a3dccefedd83faa477069 | {
"intermediate": 0.33072131872177124,
"beginner": 0.25938719511032104,
"expert": 0.4098914563655853
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.