row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
16,978 | class BaseGlobal(APIView):
def sendResponse(self, message=None, data=None, status=None):
if status in ['post', 'delete', 'put']:
status_code = HTTPStatus.CREATED
else:
status_code = HTTPStatus.OK
response = {"success": True, "message": message}
if data is not None:
response["data"] = data
return Response(response, status=status_code)
def sendError(self, message, status_code=status.HTTP_400_BAD_REQUEST, data=None):
response = {"success": False, "message": message, "data": data}
return Response(response, status=status_code)
class BlogListCreate(BaseGlobal, generics.ListCreateAPIView):
queryset = Blog.objects.all()
serializer_class = BlogSerializers
permission_classes = [IsAuthenticatedOrPostOnly]
def get_queryset(self):
return Blog.objects.all()
def post(self, request, *args, **kwargs):
if self.permission_classes != [IsAuthenticatedOrPostOnly]:
return self.sendError(
message="Blog creation failed",
status=status.HTTP_400_BAD_REQUEST,
)
serializer = self.get_serializer(data=request.data)
if serializer.is_valid():
serializer.save(user=request.user)
return self.sendResponse(
message="Blog created successfully",
data={"blog": serializer.data},
status=status.HTTP_201_CREATED,
)
else:
return self.sendError(
message="Blog creation failed",
status=status.HTTP_400_BAD_REQUEST,
)اريد البوست مان ان يظهر في الاستيت عند عمليات البوست او ابديت او كريات او ديلي تاتي لستيت 201عندي عمليه الجد تاتي 200 | 6b7565563fe40d5b5c71d7295667d108 | {
"intermediate": 0.41404786705970764,
"beginner": 0.39895322918891907,
"expert": 0.1869988888502121
} |
16,979 | In an Excel spreadsheet, is there a way and how to add a button that moves the values of 5 cells in the page and add to a row in the end of the next page? | 5e8eae77c5f8aebf6b0f9eb4dc4d82a0 | {
"intermediate": 0.44619765877723694,
"beginner": 0.32070282101631165,
"expert": 0.23309949040412903
} |
16,980 | What is the Windows equivalent of mkdtemp? | 2cb3bceb770ef8a03dcb050e3cdc9795 | {
"intermediate": 0.4270176589488983,
"beginner": 0.35512492060661316,
"expert": 0.21785742044448853
} |
16,981 | In the range B3:B1000 most of the cells are empty.
B3 always has a value.
Some cells in the range have values.
The values in the range follow a repeating pattern.
The pattern is derived from a repeating series of values in this order; Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
If the value in B3 is Sunday, then the next value in the range will be Monday.
If the value in B3 is Thursday, then the next value in the range will be Friday.
I want a VBA code that will determine the value in B3, then pop up a message and state the next expected value in the message.
The code will then find the next cell that should contain the next expected value and when the non-empty cell is found, pop up a message and state the next expected value in the message.
The code must loop down the range looking for non-empty cells until it gets to B1000.
If the code finds a cell and the value in it is not the expected value, then the pop-up message must state error found and the loop should stop.
Please write a VBA code to do this. | c6a0e8764cb0c1312f6fbe88d8571410 | {
"intermediate": 0.47947511076927185,
"beginner": 0.19576556980609894,
"expert": 0.324759304523468
} |
16,982 | у меня есть такой файл MSBuild.Community.Tasks.dll и MSBuild.Community.Tasks.targets
как через cmd запустить решение | fd16c98e2f7810cf2507e88878afa79c | {
"intermediate": 0.42601343989372253,
"beginner": 0.3073526620864868,
"expert": 0.26663389801979065
} |
16,983 | Hello | bc060447f3dac0909e18c2860894300f | {
"intermediate": 0.3123404085636139,
"beginner": 0.2729349136352539,
"expert": 0.4147246778011322
} |
16,984 | use the following code "import React, { useLayoutEffect, useState } from 'react';
import { Image, Pressable, StyleSheet, Text } from 'react-native';
import Animated, {
useSharedValue,
withTiming,
useAnimatedStyle,
} from 'react-native-reanimated';
// Components
import { LocationIcon } from '../components';
// Images
const allLocationsIcon = require('@assets/home/header/allLocationsIcon.png');
type SimpleLocationItemProps = {
color: string;
label: string;
index: number;
onPress: (index: number) => void;
};
const SimpleLocationItem = ({
color,
label,
index,
onPress,
}: SimpleLocationItemProps) => {
const [isSeleted, setIsSelected] = useState(false);
useLayoutEffect(() => {});
const onItemPress = () => {
setIsSelected(!isSeleted);
onPress(index);
};
return (
<Pressable onPress={onItemPress}>
<Animated.View style={[styles.circleContainer]}>
<LocationIcon backgroundColor={color}>
<Text style={styles.character}>{label}</Text>
</LocationIcon>
</Animated.View>
</Pressable>
);
};
export default SimpleLocationItem;
const styles = StyleSheet.create({
circleContainer: {
width: 48,
height: 48,
opacity: 1,
},
character: {
color: 'white',
fontSize: 23,
fontWeight: '600',
},
});
" and modify it in a way that when the user taps the Pressable component, the Animated.View shows an animated orange border appear, is the user taps the control again the border disappears without animation | e8ddb585669abb2d61608069b4fc448d | {
"intermediate": 0.4233100414276123,
"beginner": 0.3309552073478699,
"expert": 0.24573472142219543
} |
16,985 | In the range B3:B1000 most of the cells are empty.
B3 always has a value.
Some cells in the range have values.
The values in the range follow a repeating pattern.
The pattern is derived from a repeating series of values in this order; Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
If the value in B3 is Sunday, then the next value in the range will be Monday.
If the value in B3 is Thursday, then the next value in the range will be Friday.
I want a VBA code that will determine the value in B3, then pop up a message and state the next expected value in the message.
The code will then find the next cell that should contain the next expected value and when the non-empty cell is found, pop up a message and state the next expected value in the message.
The code must loop down the range looking for non-empty cells until it gets to B1000.
If the code finds a cell and the value in it is not the expected value, then the pop-up message must state error found and the loop should stop.
The code below accurately determines what the value is in B3. It pops up a message stating the correct next expected value. But when the code finds the next non-empty value which in this instance contains the correct next expected value, it pops up the message Error Found which is incorrect.
Sub FindNextValue()
Dim rng As Range
Dim cell As Range
Dim currentValue As String
Dim nextValue As String
Dim pattern As Variant
Dim i As Integer
Dim errorFound As Boolean
’ Set the range where values are present
Set rng = Range(“B3:B1000”)
’ Define the repeating pattern
pattern = Array(“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”)
’ Get the value in B3
currentValue = Range(“B3”).Value
’ Find the index of the current value in the pattern
For i = LBound(pattern) To UBound(pattern)
If pattern(i) = currentValue Then
Exit For
End If
Next i
’ Determine the next expected value
If i = UBound(pattern) Then
nextValue = pattern(LBound(pattern))
Else
nextValue = pattern(i + 1)
End If
’ Display message with the next expected value
MsgBox "Next expected value: " & nextValue
’ Reset the error flag
errorFound = False
’ Find the next non-empty cell in the range
For Each cell In rng
If cell.Value <> “” Then
’ Check if the value matches the expected value
If cell.Value = nextValue Then
’ Determine the next expected value for the next iteration
If i = UBound(pattern) Then
i = LBound(pattern)
Else
i = i + 1
End If
nextValue = pattern(i)
’ Display message with the next expected value
MsgBox "Next expected value: " & nextValue
’ Clear contents of the current cell
cell.ClearContents
Exit For
Else
’ Set the error flag and exit the loop
errorFound = True
Exit For
End If
End If
Next cell
’ Display error message if value doesn’t match
If errorFound Then
MsgBox “Error found!”
End If
End Sub | ca8c0e8063e1461b84ff8d9fbaca56f1 | {
"intermediate": 0.3407592177391052,
"beginner": 0.45333465933799744,
"expert": 0.20590610802173615
} |
16,986 | In the code below, I do not want the value of any cell to be cleared. I only need a popup message to notify me if the value in the cell does not match the next expected value.
Sub FindNextValue()
Dim rng As Range
Dim cell As Range
Dim currentValue As String
Dim nextValue As String
Dim pattern As Variant
Dim i As Integer
Dim errorFound As Boolean
’ Set the range where values are present
Set rng = Range(“B3:B1000”)
’ Define the repeating pattern
pattern = Array(“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”)
’ Get the value in B3
currentValue = Range(“B3”).Value
’ Find the index of the current value in the pattern
For i = LBound(pattern) To UBound(pattern)
If pattern(i) = currentValue Then
Exit For
End If
Next i
’ Determine the next expected value
If i = UBound(pattern) Then
nextValue = pattern(LBound(pattern))
Else
nextValue = pattern(i + 1)
End If
’ Display message with the next expected value
MsgBox "Next expected value: " & nextValue
’ Reset the error flag
errorFound = False
’ Find the next non-empty cell in the range
For Each cell In rng
If cell.Value <> “” Then
’ Check if the value matches the expected value
If cell.Value <> nextValue Then
’ Set the error flag and exit the loop
errorFound = True
Exit For
End If
’ Clear contents of the current cell
cell.ClearContents
’ Determine the next expected value for the next iteration
i = (i + 1) Mod 7
nextValue = pattern(i)
’ Display message with the next expected value
MsgBox "Next expected value: " & nextValue
Exit For
End If
Next cell
’ Display error message if value doesn’t match
If errorFound Then
MsgBox “Error found!”
End If
End Sub | 22a2c496352a4ef488b9dfa9d45987b2 | {
"intermediate": 0.2929346263408661,
"beginner": 0.4083625078201294,
"expert": 0.2987028956413269
} |
16,987 | make a javascript fingerprinter using at least 10 diffrent methods | b2334d36acde8a0b1f69059618e6fef0 | {
"intermediate": 0.31870943307876587,
"beginner": 0.2463758885860443,
"expert": 0.43491464853286743
} |
16,988 | создать react pixi приложение которое из массива рендерит прямоугольники | e744ed2c11a0c919707290604778bfce | {
"intermediate": 0.2911437451839447,
"beginner": 0.41143208742141724,
"expert": 0.2974241077899933
} |
16,989 | как получить доступ к app из PixiComponent без FC | bab98b7bf48393f9e538bd1094fbff08 | {
"intermediate": 0.48371127247810364,
"beginner": 0.19323071837425232,
"expert": 0.32305800914764404
} |
16,990 | roblox scripting help | 307f357eb31ccbd04e06a41588e7810f | {
"intermediate": 0.16395053267478943,
"beginner": 0.7082484364509583,
"expert": 0.1278010904788971
} |
16,991 | Please write a VBA code to do the following: In the range B1:B1000, most of the cells are empty.
Find the non-empty cells in the range and pop up a message to state what the current value is in the cell.
Use the value in the cell to determine what the next value should be from this repeating array, "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" and pop up a message to state what the next expected value should be. | 8a3eb2f062e3a08a0f9c37a90bd25193 | {
"intermediate": 0.5332991480827332,
"beginner": 0.22686971724033356,
"expert": 0.23983119428157806
} |
16,992 | In the code below for the cell that triggers this condition;
If previousValue <> "" And previousValue <> currentValue Then
' Pop up an error message
MsgBox "Error: Current value does not match previous expected value!"
End If'
Can the cell be highlighted yellow.
Sub FindNonEmptyCells(ByRef previousValue As String)
Dim rng As Range
Dim cell As Range
Dim currentValue As String
Dim nextValue As String
' Set the range to search for non-empty cells
Set rng = Range("B1:B600")
' Loop through each cell in the range
For Each cell In rng
If Not IsEmpty(cell) Then
currentValue = cell.Value
' Pop up a message to state the current value
MsgBox "Current value: " & currentValue
' Determine the next value based on the repeating array
Select Case currentValue
Case "Monday"
nextValue = "Tuesday"
Case "Tuesday"
nextValue = "Wednesday"
Case "Wednesday"
nextValue = "Thursday"
Case "Thursday"
nextValue = "Friday"
Case "Friday"
nextValue = "Saturday"
Case "Saturday"
nextValue = "Sunday"
Case "Sunday"
nextValue = "Monday"
Case Else
nextValue = ""
End Select
' Check if the previous next value matches the current value
If previousValue <> "" And previousValue <> currentValue Then
' Pop up an error message
MsgBox "Error: Current value does not match previous expected value!"
End If
' Pop up a message to state the next expected value
MsgBox "Next expected value: " & nextValue
' Store the expected value to memory
previousValue = nextValue
End If
Next cell
End Sub | e8fd54d7521aa5f3cfd46bddd68a18ef | {
"intermediate": 0.23642314970493317,
"beginner": 0.5024867057800293,
"expert": 0.26109012961387634
} |
16,993 | Distribute 100 points to 12 points using gaussian distribution. | 75d6bf96c57cafa0eb56878eecc4ef14 | {
"intermediate": 0.3528072237968445,
"beginner": 0.2020951211452484,
"expert": 0.4450977146625519
} |
16,994 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Multiplayer Chat Server</title>
<style> | d0a486cb898d8030f18856d2bc8b6f52 | {
"intermediate": 0.2958991527557373,
"beginner": 0.36088794469833374,
"expert": 0.34321290254592896
} |
16,995 | I want a vba code that will count the number of cells in the range B3:B1000 that are highlighted yellow and write the number of the count to B2 | 611ee297a220f999abbfc2bce116072a | {
"intermediate": 0.5081971287727356,
"beginner": 0.10082819312810898,
"expert": 0.39097464084625244
} |
16,996 | is there a way for an http client to maintain an http connection while waiting for a long response | 69261eeafe2f53cdda4402e5f58f3ae5 | {
"intermediate": 0.3431370258331299,
"beginner": 0.22952477633953094,
"expert": 0.4273381233215332
} |
16,997 | get me below results
--'2023-01-08' -- null
--'2023-02-08' -- '2023-01-08'
--'2023-03-08' -- '2023-02-08'
--'2023-04-08' -- '2023-03-08' | 0de36f5d0ea86a14cafba01e7fcfe8cc | {
"intermediate": 0.28440871834754944,
"beginner": 0.3658653497695923,
"expert": 0.3497258722782135
} |
16,998 | I am browsing a website and there is some text that i want to copy but for some reason I am unable to highlight the text to copy it. Can you send me a javascript code to enter into my console to make it possible to select and copy the text? | 082a200d3d033f87b9dd9e121e327e6a | {
"intermediate": 0.48633047938346863,
"beginner": 0.1817639023065567,
"expert": 0.33190563321113586
} |
16,999 | Hi | 6c659b7b37624777840f3a2d060bb183 | {
"intermediate": 0.33010533452033997,
"beginner": 0.26984941959381104,
"expert": 0.400045245885849
} |
17,000 | in gta 5 does wearing a mask havve any effect on cops finding you? in a mission masks are required but does it even help escape cops or go unnoticed? | cf6d648cd39b9b80df39f572d9c1ced0 | {
"intermediate": 0.39987003803253174,
"beginner": 0.2572026252746582,
"expert": 0.34292736649513245
} |
17,001 | how to keep track of deletedItems in vue when identical tabs are opened and trying to edit a deletedItem onthe other | 9d7df6a2d6698dc9a834f467fdab4f86 | {
"intermediate": 0.4902963638305664,
"beginner": 0.1803499460220337,
"expert": 0.3293537199497223
} |
17,002 | how to resize image to desired size after selecting it using vba | 6adcea8aafb052d465b0fb83d6cd6a89 | {
"intermediate": 0.36574119329452515,
"beginner": 0.31753113865852356,
"expert": 0.31672757863998413
} |
17,003 | how to make a chrome extension to run in background when it is closed in javascript | 21f326333440f22ed9ea7df60fa87f2e | {
"intermediate": 0.5050162076950073,
"beginner": 0.27069562673568726,
"expert": 0.22428816556930542
} |
17,004 | you are a quantitative financial research. The task we will conduct today is to analyze risk(stdev)-reward(return) dynamics across S&P 500 sectors (industries) for 2022 and 2023. We'll also identify the best and worst performing sector for the two years. Write in python, step by step. In the first step, please read the csv file "prc_tut1.csv" into the notebook. | 7d0b932700ae44bb962a5a17c283898d | {
"intermediate": 0.3298993706703186,
"beginner": 0.32463371753692627,
"expert": 0.3454669117927551
} |
17,005 | Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state | d74a2fc3ed0e5b76f8521841b6bb8568 | {
"intermediate": 0.7070131897926331,
"beginner": 0.11020748317241669,
"expert": 0.18277940154075623
} |
17,006 | HI | 6e48f23f745e4a0e6e684391bd1815ef | {
"intermediate": 0.32988452911376953,
"beginner": 0.2611807882785797,
"expert": 0.40893468260765076
} |
17,007 | I want a vba code that does the following;
On the change event of a cell,
the word 'TS' is added to the left side of the text value on the same row of column J | 015de7c4cea031a3fdd883482305ffcf | {
"intermediate": 0.4635586142539978,
"beginner": 0.1607406586408615,
"expert": 0.3757007122039795
} |
17,008 | Who to create an e commerce website | 71f8b80f2306e4bb93bc7227bfec47a9 | {
"intermediate": 0.42449483275413513,
"beginner": 0.29964497685432434,
"expert": 0.27586016058921814
} |
17,009 | how to customize column in row if the column exceeded then 4 then column transfer to another row in php | 0c92ba67eacfb92d64653204c5d21abb | {
"intermediate": 0.4266800284385681,
"beginner": 0.17679573595523834,
"expert": 0.39652422070503235
} |
17,010 | Can you write a code for IDA* algorithm with python class declaration and with following graph and heuristic fucntions:
graph = {
'Bhubaneswar Airport': {'Lingraj Temple': 30, 'Udhayagiri &Kandhagiri': 48},
'Lingraj Temple': {'Bhubaneswar Airport': 30, 'Shanthi Stupa': 25, 'Udhayagiri &Kandhagiri': 28, 'Mukteshwar temple': 5},
'Shanthi Stupa': {'Lingraj Temple': 25, 'Tribal Museum': 50, 'Mukteshwar temple': 45},
'Tribal Museum': {'Shanthi Stupa': 50, 'Mukteshwar temple': 15},
'Udhayagiri &Kandhagiri': {'Lingraj Temple': 28, 'Mukteshwar temple': 22, 'Raja Rani temple': 18, 'Bhubaneswar Airport': 48},
'Raja Rani temple': {'Udhayagiri &Kandhagiri': 48, 'Mukteshwar temple': 20},
'Mukteshwar temple': {'Raja Rani temple': 20, 'Udhayagiri &Kandhagiri': 22, 'Lingraj Temple': 5, 'Tribal Museum': 15, 'Shanthi Stupa': 45}
}
coordinates = {
'Bhubaneswar Airport': (0, 0),
'Lingraj Temple': (10, 10),
'Shanthi Stupa': (20, 20),
'Tribal Museum': (30, 10),
'Udhayagiri &Kandhagiri': (40, 0),
'Raja Rani temple': (40, 20),
'Mukteshwar temple': (50, 10)
}
class Heuristic:
def __init__(self, coordinates):
self.coordinates = coordinates
def calculate(self, node1, node2):
"""Calculate the heuristic value (straight-line distance) between two nodes."""
# print('--'*50)
# print(f'node1 : {node1}')
# print(f'node2 : {node2}')
# print(f'coordinates are: \n{self.coordinates}')
# print(f'node2 val : \n{self.coordinates[node2]}')
# print('--'*50)
x1, y1 = self.coordinates[node1]
x2, y2 = self.coordinates[node2]
return math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)
Kindly write the code accordingly ? | 255aa3984ad7bed3d28b5fe72349d8ba | {
"intermediate": 0.15543770790100098,
"beginner": 0.1886300891637802,
"expert": 0.6559322476387024
} |
17,011 | Explain foo bar for beginner and give simple example | c77f91d37236ea416cf286abdbc39adf | {
"intermediate": 0.1716662496328354,
"beginner": 0.7174519896507263,
"expert": 0.11088181287050247
} |
17,012 | What is foobar, explain for beginner and give simple example | 44480a11d6415b58f496f6634b273c29 | {
"intermediate": 0.33620545268058777,
"beginner": 0.4167998135089874,
"expert": 0.2469947189092636
} |
17,013 | num=[1,2,3,4,5,6,7,8,9]
count1=0
count2=0
z=[]
w=[]
def lala():
for i in num:
if i%2==0:
z.append(i)
count1 +=1
if i%2!=0:
w.append(i)
count2 +=1
print(f"we have {count1} even , {count2} odd")
lala() | 24bcd399deb0d9200416be1550176543 | {
"intermediate": 0.3121051490306854,
"beginner": 0.49781349301338196,
"expert": 0.19008135795593262
} |
17,014 | Give me best depth algorithm please | 1261e2f2c52bf6d2b309ee6f485fc9e4 | {
"intermediate": 0.07045698165893555,
"beginner": 0.06062113866209984,
"expert": 0.8689218759536743
} |
17,015 | How to create an temperature converter into program | 472b35b83d9f58bb9094d06f4b606c8b | {
"intermediate": 0.19044609367847443,
"beginner": 0.13463647663593292,
"expert": 0.6749173998832703
} |
17,016 | How to create online code editor | 5464afe694c0a0e348d5b9c1f8300858 | {
"intermediate": 0.280585914850235,
"beginner": 0.4770679175853729,
"expert": 0.24234618246555328
} |
17,017 | function [kf,kc]=KF(rho_s,rho_w,theta_s,theta_w,d,ka,k)
V_a1=2*d/((rho_s-d)*(rho_w-d));
Vf=(d^2*pi/2)*((1/rho_s-d*sin(rho_s))*csc(rho_s)+(1/rho_w-d*sin(rho_w))*...
csc(rho_w)+(rho_s+rho_w)*pi*d/180);
V_a2=2*d/(theta_s*theta_w)-V_a1-Vf;
Vc=V_a1+Vf;
V=Vc+V_a2;
kc=(k-V_a2/V*ka)*V/Vc;
kf=(kc*(Vf/Vc))/(1-(kc*V_a1)/(Vc*ka));
end如果我知道其他参数,要对k取1到10,想画一个k与kf的关系图应该怎么做 | 5223e2ea0e5e72cafb86b813643d2519 | {
"intermediate": 0.24793626368045807,
"beginner": 0.4713295102119446,
"expert": 0.28073421120643616
} |
17,018 | I want a VBA code that will do the following;
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of July and August
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A3:C24 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of September and October
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A28:C49 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of November
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A53:C74 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of December and January
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A78:C99 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of Feburary
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A103:C124 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of March and April
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A128:C149 of the sheet 'Service Planner'
Read down column H3:H101 in the sheet 'Service Schedules'
for all dates that are within the month of May and June
Copy the values only of the row in column H, J and K in the sheet 'Service Schedules'
into next empty row of column A, B and C in the range A153:C174 of the sheet 'Service Planner'
then for all rows in the sheet 'Service Planner' within the range A3:C175
if the row is empty, change the row height to 1
and pop up the message "Service Planner Completed" | 7cd2d8eed2eba80168c641a04fcb3594 | {
"intermediate": 0.38599300384521484,
"beginner": 0.28242260217666626,
"expert": 0.3315843343734741
} |
17,019 | function [k]=K(rho_s,rho_w,theta_s,theta_w,d,ka,kf)
V_a1=2*d*(1/rho_s-d)*(1/rho_w-d);
Vf=(d^2*pi/2)*((1/rho_s-d*sin(rho_s))*csc(rho_s)+(1/rho_w-d*sin(rho_w))*...
csc(rho_w)+(rho_s+rho_w)*pi*d/180);
V_a2=2*d/(theta_s*theta_w)-V_a1-Vf;
Vc=V_a1+Vf;
V=Vc+V_a2;
kc=(kf*ka)/(V_a1*kf/Vc+Vf*ka/Vc);
k=Vc*kc/V+V_a2*ka/V;
end
ka = 0.0296;
kf = 0.0297;d为0.3到0.6;rho_w和rho_s都为10到26.656,theta_w和theta_w范围为0到90,请写一段matlab程序求解k的最小值,以及对应的参数值 | ca093e350ab612b5b9ea0cbbd64d7b4c | {
"intermediate": 0.26898306608200073,
"beginner": 0.4864330291748047,
"expert": 0.24458396434783936
} |
17,020 | can you give like 10 problems to solve in js but in beginner level | a70f98d31ee383beaa0d10b4aab6ab9c | {
"intermediate": 0.42938557267189026,
"beginner": 0.37488284707069397,
"expert": 0.19573155045509338
} |
17,021 | functional interface kotlin это что такое? | f3e5cb4ce7922f79eb38c4cd9a6b4aed | {
"intermediate": 0.5254325866699219,
"beginner": 0.26896706223487854,
"expert": 0.20560041069984436
} |
17,022 | how to use xcopy to update a folder files and remove the deleted files? | 04470ca96c5395dccd674a05b456a29e | {
"intermediate": 0.5176835060119629,
"beginner": 0.21903620660305023,
"expert": 0.2632802724838257
} |
17,023 | Сделай этот код наиболее соответствующим современным стандартам или просто укажи на то что нужно сделатьи приведи примерт готового кода , в сулчае если все хорошо так и скажи : class MainActivity : AppCompatActivity() {
lateinit var handler: Handler
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
handler = Handler()
var delay = 2000
var runnable : Runnable = Runnable {
for (i in 1..15){
Toast.makeText(this, "message - > $i", Toast.LENGTH_SHORT).show()
}
}
handler.postDelayed(runnable, delay.toLong())
}
} | 4a75cf1e328bcb6dd8fcfc2da77ef881 | {
"intermediate": 0.4006335735321045,
"beginner": 0.38932356238365173,
"expert": 0.2100428342819214
} |
17,024 | I want a VBA code that will do the following;
Read down column H3:H101 in the sheet 'Service Schedules'
Then for all dates within the month of July and August
Copy the values only of the row in column H:K in the sheet 'Service Schedules'
into next empty row of range A3:D24 in the sheet 'Service Planner' | 153b39fb77d70cc2a21ce2134e58ad8f | {
"intermediate": 0.47149792313575745,
"beginner": 0.24057431519031525,
"expert": 0.2879277765750885
} |
17,025 | In sheet 'Service Schedules'
column H has dates derived from an INDIRECT formula.
I want to find all dates with the month of July and August and for each match,
copy the row H:K from 'Service Schedules' to the sheet 'Service Planner' and into the next empty row in the range A3:D24.
Can you write a VBA code to do this. | bc0213709ed962a25c34358368a484f9 | {
"intermediate": 0.37910133600234985,
"beginner": 0.40205827355384827,
"expert": 0.21884037554264069
} |
17,026 | Can you make me a javascript bookmarklet that upon clicking will pull the cookie "connect.sid" and put it in a textbox for the user to copy? | 86f343a5a4de89dda67276cac1a7cc41 | {
"intermediate": 0.5056401491165161,
"beginner": 0.19813071191310883,
"expert": 0.29622912406921387
} |
17,027 | In Opengl 3.0+, I want a shader that allows modifying a known static subset of pixels of a texture, how can I accomplish that efficiently in GLSL? | 952f88abbfb017c2478ae62dc37447a2 | {
"intermediate": 0.5793258547782898,
"beginner": 0.16808976233005524,
"expert": 0.25258439779281616
} |
17,028 | Build a landing page with full name, phone number and gender with HTML, CSS Javascript | 76f4d558bba6543497f3eb3319e2d21e | {
"intermediate": 0.37214407324790955,
"beginner": 0.2696192264556885,
"expert": 0.358236700296402
} |
17,029 | Can you show a simple example where the possibility of having 8-bit format in a stencil texture (as opposed to simplly 1) is useful | 10a24a0ea58698cc9a1b34700e5ed9d3 | {
"intermediate": 0.43236300349235535,
"beginner": 0.12764491140842438,
"expert": 0.4399920403957367
} |
17,030 | I want a vba code that will search all the rows in range A3:E25.
If the row is empty, change the row height to 1 | d6e02c9877932ee166422aee69dfa5c1 | {
"intermediate": 0.4851633310317993,
"beginner": 0.1642656922340393,
"expert": 0.35057100653648376
} |
17,031 | In a c++ wxwidget application, I have this custom class:
#ifndef GRIDSTRINGTABLEGAMES_H
#define GRIDSTRINGTABLEGAMES_H
#include “Game.h”
#include “CompletionStatus.h”
#include <wx/grid.h>
#include <wx/arrstr.h>
class GridStringTableGames : public wxGridStringTable
{
public:
GridStringTableGames(int cols);
GridStringTableGames(const std::vector<Game>& g, int cols);
virtual ~GridStringTableGames();
int GetNumberRows() override;
int GetNumberCols() override;
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString& value) override;
wxString GetColLabelValue(int col) override;
std::vector<Game> GetGames();
void SetGames(std::vector<Game> games);
Game GetGame(int position);
void SetGame(int position, Game game);
private:
wxString GetCompletionStatusString(CompletionStatus status);
CompletionStatus GetCompletionStatusFromString(wxString status);
int GetIntFromString(wxString value);
std::vector<Game> games;
int columns;
};
#endif // GRIDSTRINGTABLEGAMES_H
#include “GridStringTableGames.h”
GridStringTableGames::GridStringTableGames(int cols) : GridStringTableGames(std::vector<Game>(), cols)
{
}
GridStringTableGames::GridStringTableGames(const std::vector<Game>& g, int cols) : games(g), columns(cols)
{
}
GridStringTableGames::~GridStringTableGames()
{
}
int GridStringTableGames::GetNumberRows()
{
return games.size();
}
int GridStringTableGames::GetNumberCols()
{
return columns;
}
wxString GridStringTableGames::GetValue(int row, int col)
{
switch (col)
{
case 0: return games[row].GetName();
case 1: return games[row].GetSystem();
case 2: return games[row].GetGenre();
case 3: return GetCompletionStatusString(games[row].GetCompletetionStatus());
case 4: return wxString(std::to_string(games[row].GetFinishYear()));
case 5: return wxString(std::to_string(games[row].GetStartYear()));
default: return “”;
}
}
void GridStringTableGames::SetValue(int row, int col, const wxString& value)
{
switch (col)
{
case 0: games[row].SetName(value); break;
case 1: games[row].SetSystem(value); break;
case 2: games[row].SetGenre(value); break;
case 3: games[row].SetCompletetionStatus(GetCompletionStatusFromString(value)); break;
case 4: games[row].SetFinishYear(GetIntFromString(value)); break;
case 5: games[row].SetStartYear(GetIntFromString(value)); break;
}
}
wxString GridStringTableGames::GetColLabelValue(int col)
{
switch (col)
{
case 0: return “Name”;
case 1: return “System”;
case 2: return “Genre”;
case 3: return “Completion Status”;
case 4: return “Finish Year”;
case 5: return “Start Year”;
default: return “”;
}
}
void GridStringTableGames::SetGames(std::vector<Game> g)
{
games = g;
}
std::vector<Game> GridStringTableGames::GetGames()
{
return games;
}
Game GridStringTableGames::GetGame(int position)
{
return games[position];
}
void GridStringTableGames::SetGame(int position, Game game)
{
games[position] = game;
}
wxString GridStringTableGames::GetCompletionStatusString(CompletionStatus status)
{
switch (status)
{
case CompletionStatus::Unplayed: return “Unplayed”;
case CompletionStatus::Playing: return “Playing”;
case CompletionStatus::Completed: return “Completed”;
case CompletionStatus::Played: return “Played”;
case CompletionStatus::OnHold: return “OnHold”;
case CompletionStatus::Dropped: return “Dropped”;
default: return “”;
}
}
CompletionStatus GridStringTableGames::GetCompletionStatusFromString(wxString status)
{
if (status == “Unplayed”)
{
return CompletionStatus::Unplayed;
}
else if (status == “Playing”)
{
return CompletionStatus::Playing;
}
else if (status == “Completed”)
{
return CompletionStatus::Completed;
}
else if (status == “Played”)
{
return CompletionStatus::Played;
}
else if (status == “OnHold”)
{
return CompletionStatus::OnHold;
}
else if (status == “Dropped”)
{
return CompletionStatus::Dropped;
}
else
{
return CompletionStatus::Unplayed;
}
}
int GridStringTableGames::GetIntFromString(wxString value)
{
long l = 0;
value.ToLong(&l);
return static_cast<int>(l);
}
and it is giving me an error in the frame, when assigning the table:
gridGames->SetTable(table, true);
the error it gives is Process terminated with status -1073740940 (0 minute(s), 1 second(s))
and debugging shows an error inside the OnPaint method:
void wxGrid::DrawRowLabel( wxDC& dc, int row )
{
if ( GetRowHeight(row) <= 0 || m_rowLabelWidth <= 0 )
return;
wxGridCellAttrProvider * const
attrProvider = m_table ? m_table->GetAttrProvider() : NULL;
// notice that an explicit static_cast is needed to avoid a compilation
// error with VC7.1 which, for some reason, tries to instantiate (abstract)
// wxGridRowHeaderRenderer class without it
const wxGridRowHeaderRenderer&
rend = attrProvider ? attrProvider->GetRowHeaderRenderer(row) : static_cast<const wxGridRowHeaderRenderer&>(gs_defaultHeaderRenderers.rowRenderer); <-- ERROR
…
}
The call stack is this:
#0 0x6cfd76cb wxGrid::DrawRowLabel(this=0x29b5230, dc=…, row=0) (…/…/src/generic/grid.cpp:6740)
#1 0x6cfd7632 wxGrid::DrawRowLabels(this=0x29b5230, dc=…, rows=…) (…/…/src/generic/grid.cpp:6724)
#2 0x6cfc7afd wxGridRowLabelWindow::OnPaint(this=0x29b5a50) (…/…/src/generic/grid.cpp:2002)
#3 0x698c3946 wxAppConsoleBase::HandleEvent (this=0x2993490, handler=0x29b5a50, func=(void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &) (…/…/src/common/appbase.cpp:657)
#4 0x698c39c7 wxAppConsoleBase::CallEventHandler(this=0x2993490, handler=0x29b5a50, functor=…, event=…) (…/…/src/common/appbase.cpp:669)
#5 0x6999a7d2 wxEvtHandler::ProcessEventIfMatchesId(entry=…, handler=0x29b5a50, event=…) (…/…/src/common/event.cpp:1425)
#6 0x69999655 wxEventHashTable::HandleEvent(this=0x6d4bb8c0 <wxGridRowLabelWindow::sm_eventHashTable>, event=…, self=0x29b5a50) (…/…/src/common/event.cpp:1033)
#7 0x6999ac8a wxEvtHandler::TryHereOnly(this=0x29b5a50, event=…) (…/…/src/common/event.cpp:1622)
I tried:
1. CompletionStatus is properly implemented and initialized, since it is an enum and I am using it as enum, nothing else to it.
2. I checked and the only thing that could be out of range is the vector, can you check the code I posted to find if there is a wrong access?
3. wxGrid is properly parented and that was done by wxFormBuilder already.
I debugged the code and found an strange address that get repeated through different runs:
In the code that gives an error:
void wxGrid::DrawRowLabel( wxDC& dc, int row )
{
if ( GetRowHeight(row) <= 0 || m_rowLabelWidth <= 0 )
return;
wxGridCellAttrProvider * const
attrProvider = m_table ? m_table->GetAttrProvider() : NULL;
// notice that an explicit static_cast is needed to avoid a compilation
// error with VC7.1 which, for some reason, tries to instantiate (abstract)
// wxGridRowHeaderRenderer class without it
const wxGridRowHeaderRenderer&
rend = attrProvider ? attrProvider->GetRowHeaderRenderer(row)
: static_cast<const wxGridRowHeaderRenderer&>
(gs_defaultHeaderRenderers.rowRenderer);
rend makes it to crash, but attrProvider has the value: 0xfeeefeeefeeefeee, and attrProvider -> GetRowHeaderRenderer(row) gives the error "cannot access memory address at 0xfeeefeeefeeefeee", could it be some problem here? | 75a62f6305df85fd9eeb7a772705d90b | {
"intermediate": 0.3820652663707733,
"beginner": 0.40339136123657227,
"expert": 0.21454337239265442
} |
17,032 | Give me Python code for an API service. | 594dabd7d525929533011f618577d1a1 | {
"intermediate": 0.8198928236961365,
"beginner": 0.09928343445062637,
"expert": 0.08082370460033417
} |
17,033 | I have this code:
In a c++ wxwidget application, I have this custom class:
#ifndef GRIDSTRINGTABLEGAMES_H
#define GRIDSTRINGTABLEGAMES_H
#include “Game.h”
#include “CompletionStatus.h”
#include <wx/grid.h>
#include <wx/arrstr.h>
class GridStringTableGames : public wxGridStringTable
{
public:
GridStringTableGames(int cols);
GridStringTableGames(const std::vector<Game>& g, int cols);
virtual ~GridStringTableGames();
int GetNumberRows() override;
int GetNumberCols() override;
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString& value) override;
wxString GetColLabelValue(int col) override;
std::vector<Game> GetGames();
void SetGames(std::vector<Game> games);
Game GetGame(int position);
void SetGame(int position, Game game);
private:
wxString GetCompletionStatusString(CompletionStatus status);
CompletionStatus GetCompletionStatusFromString(wxString status);
int GetIntFromString(wxString value);
std::vector<Game> games;
int columns;
};
#endif // GRIDSTRINGTABLEGAMES_H
#include “GridStringTableGames.h”
GridStringTableGames::GridStringTableGames(int cols) : GridStringTableGames(std::vector<Game>(), cols)
{
}
GridStringTableGames::GridStringTableGames(const std::vector<Game>& g, int cols) : games(g), columns(cols)
{
}
GridStringTableGames::~GridStringTableGames()
{
}
int GridStringTableGames::GetNumberRows()
{
return games.size();
}
int GridStringTableGames::GetNumberCols()
{
return columns;
}
wxString GridStringTableGames::GetValue(int row, int col)
{
switch (col)
{
case 0: return games[row].GetName();
case 1: return games[row].GetSystem();
case 2: return games[row].GetGenre();
case 3: return GetCompletionStatusString(games[row].GetCompletetionStatus());
case 4: return wxString(std::to_string(games[row].GetFinishYear()));
case 5: return wxString(std::to_string(games[row].GetStartYear()));
default: return “”;
}
}
void GridStringTableGames::SetValue(int row, int col, const wxString& value)
{
switch (col)
{
case 0: games[row].SetName(value); break;
case 1: games[row].SetSystem(value); break;
case 2: games[row].SetGenre(value); break;
case 3: games[row].SetCompletetionStatus(GetCompletionStatusFromString(value)); break;
case 4: games[row].SetFinishYear(GetIntFromString(value)); break;
case 5: games[row].SetStartYear(GetIntFromString(value)); break;
}
}
wxString GridStringTableGames::GetColLabelValue(int col)
{
switch (col)
{
case 0: return “Name”;
case 1: return “System”;
case 2: return “Genre”;
case 3: return “Completion Status”;
case 4: return “Finish Year”;
case 5: return “Start Year”;
default: return “”;
}
}
void GridStringTableGames::SetGames(std::vector<Game> g)
{
games = g;
}
std::vector<Game> GridStringTableGames::GetGames()
{
return games;
}
Game GridStringTableGames::GetGame(int position)
{
return games[position];
}
void GridStringTableGames::SetGame(int position, Game game)
{
games[position] = game;
}
wxString GridStringTableGames::GetCompletionStatusString(CompletionStatus status)
{
switch (status)
{
case CompletionStatus::Unplayed: return “Unplayed”;
case CompletionStatus::Playing: return “Playing”;
case CompletionStatus::Completed: return “Completed”;
case CompletionStatus::Played: return “Played”;
case CompletionStatus::OnHold: return “OnHold”;
case CompletionStatus::Dropped: return “Dropped”;
default: return “”;
}
}
CompletionStatus GridStringTableGames::GetCompletionStatusFromString(wxString status)
{
if (status == “Unplayed”)
{
return CompletionStatus::Unplayed;
}
else if (status == “Playing”)
{
return CompletionStatus::Playing;
}
else if (status == “Completed”)
{
return CompletionStatus::Completed;
}
else if (status == “Played”)
{
return CompletionStatus::Played;
}
else if (status == “OnHold”)
{
return CompletionStatus::OnHold;
}
else if (status == “Dropped”)
{
return CompletionStatus::Dropped;
}
else
{
return CompletionStatus::Unplayed;
}
}
int GridStringTableGames::GetIntFromString(wxString value)
{
long l = 0;
value.ToLong(&l);
return static_cast<int>(l);
}
// FRAME CODE
FrameMain::FrameMain(wxWindow* parent) : FrameMainView(parent)
{
SetIcon(wxIcon("res/icon.gif", wxBITMAP_TYPE_GIF));
GridStringTableGames* table = new GridStringTableGames(6);
Game game("Mario Bros.", "NES", "Platform", CompletionStatus::Completed, 2018, 0);
table->SetGame(0, game);
table->SetGame(1, Game("Sonic Adventures", "Genesis", "Platform", CompletionStatus::Playing, 0, 2020));
//...
//gridGames->SetTable(table, true); //change this
But I want to change it because SetTable is giving me errors, how can I connect this calss with my grid wxGrid* gridGames, and using SetCellValue to add games, instead of settable. | d2174dad8912a66def0feae7c57fddd8 | {
"intermediate": 0.4326813519001007,
"beginner": 0.40136784315109253,
"expert": 0.16595077514648438
} |
17,034 | What's wrong with this command?:
taskset --cpu-list 1 -p 123456 | 5fa2322aab792eec2392baf02d162acc | {
"intermediate": 0.31503984332084656,
"beginner": 0.38384807109832764,
"expert": 0.3011120855808258
} |
17,035 | What is billwerk | 24e2c1f0df4ebb1299f830ab572da017 | {
"intermediate": 0.34888505935668945,
"beginner": 0.21305806934833527,
"expert": 0.4380568563938141
} |
17,036 | I have this code in c++ wxwidgets 3.1.4:
#ifndef GAMES_H
#define GAMES_H
#include "Game.h"
#include "CompletionStatus.h"
#include <vector>
#include <string>
#include <wx/grid.h>
#include <wx/event.h>
class Games : public wxEvtHandler
{
public:
Games(int cols);
virtual ~Games();
int GetNumberRows() const { return games.size(); }
int GetNumberCols() const { return columns; }
wxString GetValue(int row, int col);
void SetValue(int row, int col, const wxString& value);
wxString GetColLabelValue(int col) const;
void AddGame(const Game& game);
void ModifyGame(int row, const Game& game);
void DeleteGame(int row);
private:
wxString GetCompletionStatusString(CompletionStatus status);
CompletionStatus GetCompletionStatusFromString(wxString status);
int GetIntFromString(wxString value);
std::vector<Game> games;
int columns;
};
#endif // GAMES_H
void Games::AddGame(const Game& game)
{
games.push_back(game);
wxGridEvent event(wxEVT_GRIDTABLE_NOTIFY_ROWS_APPENDED);
event.SetEventObject(this);
event.SetId(wxEVT_GRIDTABLE_NOTIFY_ROWS_APPENDED);
ProcessEvent(event);
}
and it giving me this error
src\Games.cpp|57|error: 'wxEVT_GRIDTABLE_NOTIFY_ROWS_APPENDED' was not declared in this scope| | f5facd505e1db24a234b98db000903dd | {
"intermediate": 0.464616060256958,
"beginner": 0.2570873200893402,
"expert": 0.27829664945602417
} |
17,037 | // ==UserScript==
// @name LINE踩點兌好康自動過任務腳本
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Line任務自動點擊腳本,當有「立即前往」按鈕時會自動點擊,若無則每五秒刷新網頁直到有按鈕出現。若「不符資格」按鈕可以點擊則會自動點擊。
// @author Your Name
// @match https://event.line.me/mission/detail?channelId=*
// @grant none
// ==/UserScript==
(function() {
'use strict';
const REFRESH_INTERVAL = 1000; // in milliseconds
const WAIT_TIME = 3000; // in milliseconds
const checkComplete = () => {
const complete = document.querySelector('.card__status-text--green');
if (complete && complete.textContent.trim() === '已完成') {
console.log('已完成任務,正在刷新網頁...,等待其他任務出現...');
location.reload();
return true;
}
return false;
};
const checkButton = () => {
const button = document.querySelector('.card__button-check');
if (button) {
button.click();
console.log('已點擊「立即前往」按鈕');
return true;
}
return false;
};
const checkDisabledButton = () => {
const disabledButton = document.querySelector('.card__button-redeem[disabled="disabled"]');
if (disabledButton) {
console.log('出現「不符資格」按鈕,正在刷新網頁...,等待可以領取獎勵...');
location.reload();
return true;
}
return false;
};
const refreshPage = () => {
setTimeout(() => location.reload(), REFRESH_INTERVAL);
};
const run = () => {
if (checkComplete()) return;
if (checkDisabledButton()) return; // 先檢查「不符資格」按鈕
if (checkButton()) return;
console.log('沒有找到按鈕,正在刷新網頁...');
refreshPage();
};
setTimeout(run, WAIT_TIME);
// 修正:增加監聽事件,當新的任務按鈕出現時自動點擊
const observer = new MutationObserver(() => {
if (checkButton()) observer.disconnect();
});
observer.observe(document.body, { childList: true, subtree: true });
})(); | feb716f2b5fbdbe51f083ec3d6886bda | {
"intermediate": 0.29061996936798096,
"beginner": 0.5099504590034485,
"expert": 0.1994294822216034
} |
17,038 | Netflix clone html css javascript | c60bcf222a474b49ed760f981b4b2a54 | {
"intermediate": 0.4395432770252228,
"beginner": 0.3137833774089813,
"expert": 0.2466733306646347
} |
17,039 | create table salesman_id ,name,city ,commission | f95cf4eb074c73175f971630133d4ce0 | {
"intermediate": 0.43839356303215027,
"beginner": 0.2554434537887573,
"expert": 0.3061629831790924
} |
17,040 | Hi can you help me with the following error in openssl? 44230000:error:0A000076:SSL routines:tls_choose_sigalg:no suitable signature algorithm:ssl\t1_lib.c:3231: | 2f797ecfc0db8f7d72cf63bf5bb29ba1 | {
"intermediate": 0.4575994312763214,
"beginner": 0.18693844974040985,
"expert": 0.3554621636867523
} |
17,041 | Is this the correct way of writing this code: Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Application.EnableEvents = False
Dim doubleClickedCell As Range
Set doubleClickedCell = Target.Cells(1)
''''If Target.CountLarge > 1 Then Exit Sub
''''If Target.Column = 4 Then ' Column D
''''PSJulAug Target
''''previousValue = doubleClickedCell.Value
''''doubleClickFlag = True
''''End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D3:D25")) Is Nothing Then ' Limit range to D3:D25
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSJulAug Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D28:D50")) Is Nothing Then ' Limit range to D28:D50
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSSepOct Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D53:D75")) Is Nothing Then ' Limit range to D53:D75
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSNov Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D78:D100")) Is Nothing Then ' Limit range to D78:D100
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSDecJan Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D103:D125")) Is Nothing Then ' Limit range to D103:D125
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSFeb Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D128:D150")) Is Nothing Then ' Limit range to D128:D150
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSMarApr Target
End If
End If
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("D153:D175")) Is Nothing Then ' Limit range to D153:D175
If Target.Column = 4 Then ' Column D
previousValue = doubleClickedCell.Value
doubleClickFlag = True
PSMayJun Target
End If
End If
Application.EnableEvents = True
End Sub | af7b52f72305a3018652c941ee63d70a | {
"intermediate": 0.48995476961135864,
"beginner": 0.29572227597236633,
"expert": 0.21432292461395264
} |
17,042 | how to reformat this c++ code: so that way the similar code is done once
case 4:
{
unsigned int year = game.GetFinishYear();
if (year > 0)
{
return wxString(std::to_string(year));
}
else
{
return wxString();
}
}
case 5:
{
unsigned int year = game.GetStartYear();
if (year > 0)
{
return wxString(std::to_string(year));
}
else
{
return wxString();
}
} | 48d33c73c46eb7360504c73b06426004 | {
"intermediate": 0.30770695209503174,
"beginner": 0.4755549728870392,
"expert": 0.21673806011676788
} |
17,043 | From the following tables write a SQL query to find the departments with the second lowest sanction amount. Return emp_fname and emp_lname. | d76e09c7e6d4579b9c7dd5397eaf63e4 | {
"intermediate": 0.3777349889278412,
"beginner": 0.3486729860305786,
"expert": 0.2735920250415802
} |
17,044 | in this code, the static variable is giving me a warning, how can I solve it:
static std::map<int, bool> sortDirection;
if (sortDirection.find(col) == sortDirection.end())
{
sortDirection[col] = true; // true = ascending, default sorting direction
}
else
{
sortDirection[col] = !sortDirection[col]; // reverse the sorting direction
}
// Sort content based on the column and the sorting direction
std::sort(rowData.begin(), rowData.end(), [col, &sortDirection](const std::vector<std::string>& a, const std::vector<std::string>& b)
{
if (sortDirection[col])
{
return a[col] < b[col];
}
else
{
return a[col] > b[col];
}
});
warning: capture of variable ‘sortDirection’ with non-automatic storage duration | 993be9a50d038db8b390dbe9331de2f2 | {
"intermediate": 0.34120428562164307,
"beginner": 0.5146961212158203,
"expert": 0.1440996378660202
} |
17,045 | batch file to rename folder with name of a file in it | 749ebf1428a9b612413aff350465c1df | {
"intermediate": 0.338503897190094,
"beginner": 0.2306690514087677,
"expert": 0.4308270514011383
} |
17,046 | write a pythone code that animate a car moving | 9a22272cf4830aabc1355c8d54fd125e | {
"intermediate": 0.17551779747009277,
"beginner": 0.13274240493774414,
"expert": 0.6917397975921631
} |
17,047 | What is the second largest number in this array ? {1,2,2} | dcdadbbfb58ceea62d818a487d4260c7 | {
"intermediate": 0.4045546054840088,
"beginner": 0.27397817373275757,
"expert": 0.32146719098091125
} |
17,048 | how to create an online code editor | e8d7bd62176abc1c3f6f91ee5396939c | {
"intermediate": 0.25494271516799927,
"beginner": 0.4779947102069855,
"expert": 0.26706260442733765
} |
17,050 | add tabu search to this td3 algorithm that for select action use tabu search mechansim. apply all changes and rewrite complete cod :
import copy
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.tensorboard import SummaryWriter
torch.cuda.set_device(0)
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
class Actor(nn.Module):
def __init__(self, state_dim, action_dim, net_width, maxaction, user_num):
super(Actor, self).__init__()
self.fc_t_sprend = nn.Linear(1, user_num)
self.fc_loc_sprend = nn.Linear(3, user_num)
self.l1 = nn.Linear(state_dim - 4 + user_num * 2, net_width)
self.l2 = nn.Linear(net_width, net_width)
self.l3 = nn.Linear(net_width, action_dim)
self.maxaction = maxaction
def forward(self, state):
t = self.fc_t_sprend(state[:, -1:])
loc = self.fc_loc_sprend(state[:, -4:-1])
a = torch.cat([t, loc, state[:, :-4]], 1)
a = torch.tanh(self.l1(a))
a = torch.tanh(self.l2(a))
a = torch.tanh(self.l3(a)) * self.maxaction
return a
class Q_Critic(nn.Module):
def __init__(self, state_dim, action_dim, net_width,user_num):
super(Q_Critic, self).__init__()
self.fc_t_sprend = nn.Linear(1, user_num)
self.fc_loc_sprend = nn.Linear(3, user_num)
self.l1 = nn.Linear(state_dim - 4 + user_num *2 +action_dim, net_width)
# Q1 architecture
self.l2 = nn.Linear(net_width, net_width)
self.l3 = nn.Linear(net_width, 3)
# Q2 architecture
self.fc_t_sprend2 = nn.Linear(1, user_num)
self.fc_loc_sprend2 = nn.Linear(3, user_num)
self.l4 = nn.Linear(state_dim - 4 + user_num *2 +action_dim, net_width)
self.l5 = nn.Linear(net_width, net_width)
self.l6 = nn.Linear(net_width, 3)
def forward(self, state, action):
t = self.fc_t_sprend(state[:, -1:])
loc = self.fc_loc_sprend(state[:, -4:-1])
sa = torch.cat([t, loc, state[:, :-4], action], 1)
q1 = F.relu(self.l1(sa))
q1 = F.relu(self.l2(q1))
q1 = self.l3(q1)
t2 = self.fc_t_sprend2(state[:, -1:])
loc2 = self.fc_loc_sprend2(state[:, -4:-1])
sa2 = torch.cat([t2, loc2, state[:, :-4], action], 1)
q2 = F.relu(self.l4(sa2))
q2 = F.relu(self.l5(q2))
q2 = self.l6(q2)
return q1, q2
def Q1(self, state, action):
t = self.fc_t_sprend(state[:, -1:])
loc = self.fc_loc_sprend(state[:, -4:-1])
sa = torch.cat([t, loc, state[:, :-4], action], 1)
q1 = F.relu(self.l1(sa))
q1 = F.relu(self.l2(q1))
q1 = self.l3(q1)
return q1
class TD3(object):
def __init__(
self,
env_with_Dead,
state_dim,
action_dim,
max_action,
user_num,
train_path,
gamma=0.99,
net_width=400,
a_lr=1e-4,
c_lr=1e-4,
Q_batchsize = 256
):
self.writer = SummaryWriter(train_path)
max_action = torch.tensor(max_action, dtype=torch.float32).to(device)
self.actor = Actor(state_dim, action_dim, net_width, max_action,user_num).to(device)
self.actor_optimizer = torch.optim.Adam(self.actor.parameters(), lr=a_lr)
self.actor_target = copy.deepcopy(self.actor)
self.q_critic = Q_Critic(state_dim, action_dim, net_width,user_num).to(device)
self.q_critic_optimizer = torch.optim.Adam(self.q_critic.parameters(), lr=c_lr)
self.q_critic_target = copy.deepcopy(self.q_critic)
self.env_with_Dead = env_with_Dead
self.action_dim = action_dim
self.max_action = max_action
self.gamma = gamma
self.policy_noise = 0.2*max_action
self.noise_clip = 0.5*max_action
self.tau = 0.005
self.Q_batchsize = Q_batchsize
self.delay_counter = -1
self.delay_freq = 1
self.q_iteration = 0
self.a_iteration = 0
def select_action(self, state):#only used when interact with the env
with torch.no_grad():
state = torch.FloatTensor(state.reshape(1, -1)).to(device)
a = self.actor(state)
return a.cpu().numpy().flatten()
def train(self,replay_buffer):
self.delay_counter += 1
with torch.no_grad():
s, a, r, s_prime, dead_mask = replay_buffer.sample(self.Q_batchsize)
noise = torch.max(-self.noise_clip, torch.min(torch.randn_like(a) * self.policy_noise, self.noise_clip))
smoothed_target_a = torch.max(-self.max_action,torch.min(
self.actor_target(s_prime) + noise, self.max_action))
# Compute the target Q value
target_Q1, target_Q2 = self.q_critic_target(s_prime, smoothed_target_a)
target_Q = torch.min(target_Q1, target_Q2)
'''DEAD OR NOT'''
if self.env_with_Dead:
target_Q = r + (1 - dead_mask) * self.gamma * target_Q # env with dead
else:
target_Q = r + self.gamma * target_Q # env without dead
# Get current Q estimates
current_Q1, current_Q2 = self.q_critic(s, a)
# Compute critic loss
q_loss = F.mse_loss(current_Q1, target_Q) + F.mse_loss(current_Q2, target_Q)
self.writer.add_scalar('q_loss', q_loss, self.q_iteration)
# Optimize the q_critic
self.q_critic_optimizer.zero_grad()
q_loss.backward()
self.q_critic_optimizer.step()
self.q_iteration += 1
if self.delay_counter == self.delay_freq:
# Update Actor
a_loss = -self.q_critic.Q1(s,self.actor(s)).mean()
self.writer.add_scalar('a_loss', a_loss, self.a_iteration)
self.actor_optimizer.zero_grad()
a_loss.backward()
self.actor_optimizer.step()
self.a_iteration += 1
# Update the frozen target models
for param, target_param in zip(self.q_critic.parameters(), self.q_critic_target.parameters()):
target_param.data.copy_(self.tau * param.data + (1 - self.tau) * target_param.data)
for param, target_param in zip(self.actor.parameters(), self.actor_target.parameters()):
target_param.data.copy_(self.tau * param.data + (1 - self.tau) * target_param.data)
self.delay_counter = -1
def save(self,episode,model_path):
torch.save(self.actor.state_dict(), model_path+"td3_actor{}.pth".format(episode))
torch.save(self.q_critic.state_dict(), model_path+"td3_q_critic{}.pth".format(episode))
def load(self,episode):
self.actor.load_state_dict(torch.load("td3_actor{}.pth".format(episode)))
self.q_critic.load_state_dict(torch.load("td3_q_critic{}.pth".format(episode))) | 99d1b3acced8d33947c201a93007f9f4 | {
"intermediate": 0.22343137860298157,
"beginner": 0.5105375647544861,
"expert": 0.26603108644485474
} |
17,051 | how will I write a conditional format the checks if a date is within the 22 day of July and the last day of August | 75350810219319c292a633fe9518f8a3 | {
"intermediate": 0.3864951729774475,
"beginner": 0.1790517419576645,
"expert": 0.43445301055908203
} |
17,052 | fix thisTool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
Module = require(191816425)
Grips = {
Normal = CFrame.new(0, -0.5, 0, 1, 0, 0, 0, 8.10044585e-005, -1, -0, 1, 8.10044585e-005),
Blow = CFrame.new(0.25, -0.5, 0.75, 0.737681091, -0, 0.675149262, 0, 1, 0, -0.675149202, 0, 0.73768115),
}
Animations = {
Blow = {Animation = Tool:WaitForChild("Blow"), FadeTime = 0.75, Weight = nil, Speed = 0.5, Duration = 1},
R15Blow = {Animation = Tool:WaitForChild("R15Blow"), FadeTime = 0.75, Weight = nil, Speed = 0.5, Duration = 1},
}
Sounds = {
BeginHorn = Handle:WaitForChild("BeginHorn"),
EndHorn = Handle:WaitForChild("EndHorn"),
}
ReloadTime = 15
MaxUsageDistance = 500
ToolEquipped = false
ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
ServerControl.Name = "ServerControl"
ServerControl.Parent = Tool
ClientControl = (Tool:FindFirstChild("ClientControl") or Instance.new("RemoteFunction"))
ClientControl.Name = "ClientControl"
ClientControl.Parent = Tool
Handle.Transparency = 0
Tool.Grip = Grips.Normal
Tool.Enabled = true
function Activated()
if not CheckIfAlive() then
return
end
local MouseData = InvokeClient("MouseData")
if not MouseData or not MouseData.Position or not MouseData.Target then
return
end
if (Torso.Position - MouseData.Position).Magnitude > MaxUsageDistance then
return
end
if not Tool.Enabled or not ToolEquipped then
return
end
Tool.Enabled = false
local CurrentlyEquipped = true
if ToolUnequipped then
ToolUnequipped:disconnect()
end
ToolUnequipped = Tool.Unequipped:connect(function()
CurrentlyEquipped = false
if ToolUnequipped then
ToolUnequipped:disconnect()
end
end)
local SoundLength = 3.5
local Duration = SoundLength
local Animation = Animations.Blow
if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
Animation = Animations.R15Blow
end
Tool.Grip = Grips.Blow
local Target = MouseData.Position
spawn(function()
InvokeClient("PlayAnimation", Animation)
end)
wait(1)
if CurrentlyEquipped and ToolEquipped and CheckIfAlive() then
Sounds.BeginHorn:Play()
wait(SoundLength)
if CurrentlyEquipped and ToolEquipped and CheckIfAlive() then
Sounds.EndHorn:Play()
if CurrentlyEquipped and ToolEquipped and CheckIfAlive() then
wait(SoundLength / 2)
spawn(function()
LightningFunctions.Strike({Key = "LightningHorn", Target = Target})
end)
wait(3)
spawn(function()
if Humanoid then
if Humanoid.RigType == Enum.HumanoidRigType.R6 then
InvokeClient("StopAnimation", {Animation = Animations.Blow.Animation, FadeTime = 0.5})
elseif Humanoid.RigType == Enum.HumanoidRigType.R15 then
InvokeClient("StopAnimation", {Animation = Animations.R15Blow.Animation, FadeTime = 0.5})
end
end
end)
Tool.Grip = Grips.Normal
end
end
end
wait(Animation.Duration)
wait(ReloadTime)
Tool.Enabled = true
end
function CheckIfAlive()
return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent) and true) or false)
end
function Equipped()
Character = Tool.Parent
Player = Players:GetPlayerFromCharacter(Character)
Humanoid = Character:FindFirstChild("Humanoid")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
Tool.Grip = Grips.Normal
if not CheckIfAlive() then
return
end
local LightningData = Module.GetTable({Key = "LightningStrike", Player = Player})
LightningFunctions = LightningData.GetData({Player = Player, Tool = Tool})
ToolEquipped = true
end
function Unequipped()
for i, v in pairs(Sounds) do
v:Stop()
end
Tool.Grip = Grips.Normal
ToolEquipped = false
end
function InvokeClient(Mode, Value)
local ClientReturn = nil
pcall(function()
ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
end)
return ClientReturn
end
function OnServerInvoke(player, Mode, Value)
if player ~= Player or not ToolEquipped or not CheckIfAlive() then
return
end
end
ServerControl.OnServerInvoke = OnServerInvoke
Tool.Activated:Connect(Activated)
Tool.Equipped:Connect(Equipped)
Tool.Unequipped:Connect(Unequipped) | 79954b873b53a7d7a7e974a77758d0da | {
"intermediate": 0.3287687599658966,
"beginner": 0.43702462315559387,
"expert": 0.23420657217502594
} |
17,054 | fs.readFileSync('./file.txt') or fs.readFileSync(__dirname+'/file.txt') in nodejs ,which one should i stick to,relative path or absolute past | b7fc42f9e388ef1dc8d59007bf460d37 | {
"intermediate": 0.48516759276390076,
"beginner": 0.26374995708465576,
"expert": 0.25108247995376587
} |
17,055 | create a c++ program to solve the queen problem | ed1e94d05366b37d4de2f82c70e210f5 | {
"intermediate": 0.21058127284049988,
"beginner": 0.2495402991771698,
"expert": 0.5398784279823303
} |
17,056 | I need a formula for excel conditional formatting for the following conditions.
Ignore all blank cells.
highlight cell If the month is not October
highlight cell if the month is October but the day is less that 19 or the day is greater than 27
Ignore the year | a4972d84ec8b6a7ee768b6d89bf26890 | {
"intermediate": 0.40252771973609924,
"beginner": 0.2513386607170105,
"expert": 0.3461335599422455
} |
17,057 | hi there i want to clone AdLinkFly script | c2f25f80ea9e15ebfff7e7f8173d1184 | {
"intermediate": 0.3645012676715851,
"beginner": 0.2376038283109665,
"expert": 0.39789485931396484
} |
17,058 | Please write an excel vba code that will return all row heights to 20 | 8b171603665c88d43737c7640bc25f6f | {
"intermediate": 0.3982906639575958,
"beginner": 0.217995285987854,
"expert": 0.38371407985687256
} |
17,059 | use session to save data nextjs | 692a5de46bfc2e2559bd92da5161ec6c | {
"intermediate": 0.5270277857780457,
"beginner": 0.21013057231903076,
"expert": 0.2628416419029236
} |
17,060 | find min and max in this binary code class Node1 {
int value;
Node1 left;
Node1 right;
public Node1(int value) {
this.value = value;
this.left = null;
this.right = null;
}
}
public class BinarySearchTree {
public Node1 insert(int value, Node1 current)
{
if(current==null)
{
Node1 node = new Node1(value);
return node;
}else {
if(value<current.value)
{
current.left=insert(value,current.left);
}else {
current.right=insert(value,current.right);
}
return current;
}
}
public static void preorder(Node1 current){
if(current == null) {
return;
}else {
System.out.println(current.value+" ");
preorder(current.left);
preorder(current.right);
}
}
public static void main(String[] args) {
BinarySearchTree var = new BinarySearchTree();
Node1 root = null;
root = var.insert(50, root);
root = var.insert(30, root);
root = var.insert(20, root);
root = var.insert(40, root);
root = var.insert(70, root);
root = var.insert(60, root);
root = var.insert(80, root);
var.preorder(root);
}
} | 94af5a22f5ad421fdc17ae600cfd42f4 | {
"intermediate": 0.28739234805107117,
"beginner": 0.4667894244194031,
"expert": 0.24581822752952576
} |
17,061 | 我利用下面的代码得到句法分析结果:
# Set up the StanfordCoreNLP object
from stanfordcorenlp import StanfordCoreNLP
nlp = StanfordCoreNLP(r'D:/Rpackage/stanford-corenlp-4.5.4', lang='en')
# Example sentence
sentence = "The quick brown fox jumps over the lazy dog."
# Get the parsed tree
parsed_tree = nlp.parse(sentence)
# Get the dependency tree
dependency_tree = nlp.dependency_parse(sentence)
# Print the trees
print(parsed_tree)
(ROOT
(S
(NP (DT The) (JJ quick) (JJ brown) (NN fox))
(VP (VBZ jumps)
(PP (IN over)
(NP (DT the) (JJ lazy) (NN dog))))
(. .)))
现在请你告诉我如何调用trgex,tregex下载后放在:D:\Rpackage\stanford-tregex-2020-11-17 | edf3110075c53686280adbeda7d088c7 | {
"intermediate": 0.40136685967445374,
"beginner": 0.23866045475006104,
"expert": 0.35997274518013
} |
17,062 | command linux delete file *.zip | 3c5027c1468d66b7bf2936998dcd8160 | {
"intermediate": 0.3840886056423187,
"beginner": 0.26034632325172424,
"expert": 0.35556501150131226
} |
17,063 | i have this code in razor page in blazor project :
@code {
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
await jsRuntime.InvokeVoidAsync("eval", @"
$(function() {
var audioElement = $('audio');
// Start playing the audio
audioElement.audioPlayer();
// Register event listener to stop audio on navigation
window.addEventListener('beforeunload', function () {
audioElement.audioPlayer('stop');
});
});
");
}
await base.OnAfterRenderAsync(firstRender);
}
protected override bool ShouldRender()
{
if (NavigationManager.Uri != null)
{
// Clean up resources when navigating away from the page
jsRuntime.InvokeVoidAsync("eval", @"
$(function() {
$('audio').audioPlayer('destroy');
});
");
}
return base.ShouldRender();
}
}
there are errors thrown whenever i navigate to other page | 89b7feed653ea52296f8b7a961265c26 | {
"intermediate": 0.4051937162876129,
"beginner": 0.29184481501579285,
"expert": 0.30296143889427185
} |
17,064 | How would you implement a randrange function in C, which is a function that returns a random integer within a range given by two integers a and b, assuming you have a rand function that gives you a random integer on the full range of possible integers? | 70cf3f369127f403348e0121e45f7647 | {
"intermediate": 0.3703356683254242,
"beginner": 0.1557418555021286,
"expert": 0.4739224910736084
} |
17,065 | почему мы в это строке не получает доступ к методам LinearLayoutManager ? sliderRecyclerView.layoutManager =
LinearLayoutManager(requireContext(), LinearLayoutManager.HORIZONTAL, false) | c17d357b5b2da0e69f4e06c2da4e6ee2 | {
"intermediate": 0.505162239074707,
"beginner": 0.33055469393730164,
"expert": 0.16428311169147491
} |
17,066 | Напиши пример кода для C# bot.SendInvoiceAsync | ce4cd705dcaef87f84e4b13e06072193 | {
"intermediate": 0.32383331656455994,
"beginner": 0.37481948733329773,
"expert": 0.30134716629981995
} |
17,067 | how can I build a gold detector device? | 7cddcab296bc1f9d70412e4ae920918e | {
"intermediate": 0.3013390600681305,
"beginner": 0.25881442427635193,
"expert": 0.4398465156555176
} |
17,068 | The sum of powers of 2 is equal to the next power of 2 minus 1, is there a similar formula for any positive integer (not just 2) and which is it? | d18a907b7158f3e2a0bef0e93eefeb1d | {
"intermediate": 0.3603532314300537,
"beginner": 0.2214941829442978,
"expert": 0.4181526005268097
} |
17,069 | qt btn click bind funcction | 2c86aa7deee631f697e5fddeb5af0e28 | {
"intermediate": 0.37855085730552673,
"beginner": 0.3608095645904541,
"expert": 0.26063957810401917
} |
17,070 | tell me how gold detector devices work, tell me how I can build my own circuit, write me an Arduino and raspberry pi code to read the data and find the gold | d0e42f33182fb5a4bed409aae3228121 | {
"intermediate": 0.6285030245780945,
"beginner": 0.14362168312072754,
"expert": 0.22787529230117798
} |
17,071 | I have a PRNG that generates signed integers, is the expected mean slightly positive (non-zero) due to the fact that unsigned integers have one more number in their possible range compared to the negative numbers, and do library implementers usually do something about this? | 8a4aa5f3184d9a7fa4faaea4b4f7fe62 | {
"intermediate": 0.18965034186840057,
"beginner": 0.04702897369861603,
"expert": 0.7633206248283386
} |
17,072 | I need a pause code for a octoprint controlled ender 3 printer that when I pause the print head moves out of the way for a filament change then when I resume print picks up where I left off. | 888654a7cfb9e34b2e9574de87a2971f | {
"intermediate": 0.4679153263568878,
"beginner": 0.16609027981758118,
"expert": 0.3659944236278534
} |
17,073 | Hi There | 58640b79a2dea465384144902aae3a25 | {
"intermediate": 0.3316761553287506,
"beginner": 0.266131728887558,
"expert": 0.402192085981369
} |
17,074 | write a python script that scrapes messages from a telegram chat using telebot api | e1d874b2323117d0ca2481c1dcd0e356 | {
"intermediate": 0.5442910194396973,
"beginner": 0.14874641597270966,
"expert": 0.3069625794887543
} |
17,075 | write a python script that getting lats 10 messages from a telegram chat using telebot library | b7f6f08af81f0533146da00491b6395d | {
"intermediate": 0.5397719144821167,
"beginner": 0.1341215968132019,
"expert": 0.326106458902359
} |
17,076 | write a python script that getting last 10 messages from a telegram chat | 8ca0fe88c9a0e43329bbfecc4ec70c9f | {
"intermediate": 0.3359588086605072,
"beginner": 0.20525218546390533,
"expert": 0.45878902077674866
} |
17,077 | is data analyst a good profession for job search internationally? | c22b6784365978feb5c851a673856c4e | {
"intermediate": 0.13031813502311707,
"beginner": 0.09436863660812378,
"expert": 0.7753131985664368
} |
17,078 | Create database Family ('fam_Fname' varchar('20'), 'Family_Lname' varchar ('20')); | ae335123d3ddba35092412cc4d4cf0e6 | {
"intermediate": 0.39114776253700256,
"beginner": 0.2588275074958801,
"expert": 0.3500247299671173
} |
17,079 | Create table Family_birthdate | 52a45eb9653b422caf0a64d345147de1 | {
"intermediate": 0.4365818202495575,
"beginner": 0.35602131485939026,
"expert": 0.20739686489105225
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.