row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
22,102
is it possible in my active workbook to open a worksheet in a new window
fd164209fabce308c6670c11f03d0f2a
{ "intermediate": 0.4575650990009308, "beginner": 0.21510079503059387, "expert": 0.32733410596847534 }
22,103
fatal: destination path 'facefusion' already exists and is not an empty directory. [Errno 2] No such file or directory: '/content/facefusion' /kaggle/working python: can't open file '/kaggle/working/install.py': [Errno 2] No such file or directory
ebda149577fd73f869be93b8d58292f9
{ "intermediate": 0.5675811767578125, "beginner": 0.16362622380256653, "expert": 0.26879259943962097 }
22,104
Flask and msearcj
b888078856cbb4e75cd199d32a9e71f7
{ "intermediate": 0.48579612374305725, "beginner": 0.18680842220783234, "expert": 0.3273954689502716 }
22,105
Whoosh analyzers example code
b74dadf77088421f31b514929b7aeb40
{ "intermediate": 0.14982718229293823, "beginner": 0.43700626492500305, "expert": 0.4131665527820587 }
22,106
write a program for calculator in python
56a52893c8a6a713ac5e3a14ae3faabc
{ "intermediate": 0.39886096119880676, "beginner": 0.326130211353302, "expert": 0.27500876784324646 }
22,107
I have been asked to add the frequently used dimensions of my layout code into a resources file. If I post my code could you help me find these frequently used dimensions? Personally I don't think anything warrants being added to resources by I'm probably wrong
75d73e0e54c29d3c958e5ec519125b43
{ "intermediate": 0.4512283504009247, "beginner": 0.2663831412792206, "expert": 0.28238850831985474 }
22,108
"Macintosh HD" is missing from disk utilty on mac os mountain lion, the disk is called "Intenal Drive". How can i rename this or fix it so the OS can be reinstalled?
129aae814bc509a9cde25b8f8ae6c125
{ "intermediate": 0.37318867444992065, "beginner": 0.3265100419521332, "expert": 0.3003012537956238 }
22,109
VkResult createImageViews(VkDevice device, uint32_t imageCount, const VkImage *pImages, VkFormat format, VkImageView **ppImageViews) { VkImageViewCreateInfo imageViewCreateInfo = {0}; /* Why size_t? */ size_t i; VkResult createImageViewResult; imageViewCreateInfo.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; imageViewCreateInfo.viewType = VK_IMAGE_VIEW_TYPE_2D; imageViewCreateInfo.format = format; imageViewCreateInfo.components.r = VK_COMPONENT_SWIZZLE_IDENTITY; imageViewCreateInfo.components.g = VK_COMPONENT_SWIZZLE_IDENTITY; imageViewCreateInfo.components.b = VK_COMPONENT_SWIZZLE_IDENTITY; imageViewCreateInfo.components.a = VK_COMPONENT_SWIZZLE_IDENTITY; imageViewCreateInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; imageViewCreateInfo.subresourceRange.baseMipLevel = 0; imageViewCreateInfo.subresourceRange.levelCount = 1; imageViewCreateInfo.subresourceRange.baseArrayLayer = 0; imageViewCreateInfo.subresourceRange.layerCount = 1; *ppImageViews = malloc(sizeof(VkImageView) * imageCount); for (i = 0; i < imageCount; ++i) { imageViewCreateInfo.image = pImages[i]; createImageViewResult = vkCreateImageView(device, &imageViewCreateInfo, NULL, ppImageViews[i]); if (createImageViewResult != VK_SUCCESS) { return createImageViewResult; } } return VK_SUCCESS; } This Vulkan code crashes on vkCreateImageView, why?
2a896a3e55228574199c668795dc6df9
{ "intermediate": 0.46944987773895264, "beginner": 0.2938222885131836, "expert": 0.23672784864902496 }
22,110
from surprise import Dataset from surprise import KNNBasic from surprise import accuracy from surprise.model_selection import train_test_split # Загружаем датасет data = Dataset.load_builtin('ml-100k') # Разбиваем данные на обучающую и тестовую выборки trainset, testset = train_test_split(data, test_size=0.25) # Используем алгоритм KNN algo = KNNBasic() # Обучаем модель на обучающих данных algo.fit(trainset) # Получаем прогнозы рекомендаций для тестовой выборки predictions = algo.test(testset) # Оцениваем производительность модели accuracy.rmse(predictions) accuracy.mae(predictions) создай аналогичную модель с GridSearchCV с разными гиперпараметрами в том числе с разными методами типа SVD++, NMF,KNN, KNNWithMeans и т.д.
59f5f5b5f98737f5159915b968859092
{ "intermediate": 0.3714263439178467, "beginner": 0.24856683611869812, "expert": 0.3800067901611328 }
22,111
what is wrong with this code: const str = ' Не хочу учить JavaScript '; const newStr = str.trim().toUpperCase.slice(3); console.log(newStr)
71065f5038c2f2b92e4c6700b07dbb32
{ "intermediate": 0.2642850875854492, "beginner": 0.6183434724807739, "expert": 0.11737149208784103 }
22,112
sim_options = { "name": ["msd", "cosine"], "min_support": [3, 4, 5,6,7,8], "user_based": [False, True], } param_grid = {"sim_options": sim_options, "n_epochs": [5, 10,15,20], "lr_all": [0.002, 0.005], "reg_all": [0.2, 0.4, 0.6,0.8] } gs = GridSearchCV(KNNWithMeans, param_grid, measures=["rmse", "mae"], cv=3) gs.fit(data) print(gs.best_score["rmse"]) print(gs.best_params["rmse"]) Как сюда добавить KNNBasic,SVD
587e15932d392e62552eb0f756b41533
{ "intermediate": 0.2852414548397064, "beginner": 0.2561429440975189, "expert": 0.45861557126045227 }
22,113
C# getmodulehandle of external module
159d0b0172ff962dbebfedf056a7493d
{ "intermediate": 0.47607678174972534, "beginner": 0.24681277573108673, "expert": 0.2771104872226715 }
22,114
calculate a and b's product without using the operator * in c#
8ec882a9e1bc74fc92a49ea816bc3904
{ "intermediate": 0.4130610227584839, "beginner": 0.22207091748714447, "expert": 0.36486801505088806 }
22,115
var path = ObtenerPathConBase(_apiUsuariosHelper.ConfiguracionPath().Replace("{0}",nombre).Replace("{1}", string.IsNullOrWhiteSpace(converter)? nameof(string) : converter));
c5e861f4b111527477ebb3e5d118e439
{ "intermediate": 0.5062364935874939, "beginner": 0.2906306982040405, "expert": 0.20313280820846558 }
22,116
What topics could I discuss in an English class? They have to lead somewhat casual conversations about culture (mostly popular culture) and philosophy
943bc7361b92d521e55520fe0d135dc5
{ "intermediate": 0.34834426641464233, "beginner": 0.3431091904640198, "expert": 0.3085465431213379 }
22,117
Добавь в начало кода фильт по подкатегориям и дате публикации (за неделю, месяц, год) с кнопкой "найти" не затранивая исходный код. <?php /* Template Name: Reports Category Template Template Post Type: category */ ?> <?php if ( in_category( array(456, 2, 3, 4, 5, 6, 7) ) ) { ?> <?php get_header(); ?> <div id="fby-main-wrap" class="left relative"> <div class="fby-main-boxed-wrap"> <div class="fby-main-out relative"> <div class="fby-main-in"> <div id="fby-main-content-wrap" class="left relative"> <?php $fby_featured_cat = get_option('fby_featured_cat'); if ($fby_featured_cat == "true") { if ( $paged < 2 ) { ?> <div id="fby-feat-home-wrap" class="left relative"> <section id="fby-feat2-wrap" class="left relative"> <?php $category_description = category_description(); if ( $category_description ) { echo '<div class="category-description">' . $category_description . '</div>'; } ?> </section> </div> <?php } } ?> <div id="fby-content-body-auto"> <div id="fby-content-body-wrap" class="home-t33 left relative"> <div class="fby-content-side-out relative"> <div class="fby-content-side-in"> <div id="fby-home-body" class="home-t34 left relative"> <section class="fby-main-blog-wrap left relative"> <ul class="fby-main-blog-story left relative infinite-content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <li class="infinite-post"> <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?> <div class="fby-main-blog-out relative"> <a href="<?php the_permalink(); ?>" rel="bookmark"> <div class="fby-main-blog-img left relative"> <div class="placeholder220"> <?php the_post_thumbnail('drts_thumbnail', array( 'class' => 'fby-mob-img' )); ?> </div> </div> </a> <div class="fby-main-blog-in"> <div class="fby-main-blog-text left relative"> <a href="<?php the_permalink(); ?>" rel="bookmark"> <h2><?php the_title(); ?></h2> </a> <div class="fby-feat1-info"> <span class="fby-blog-date"><i class="fa icon-clock"></i><span class="fby-blog-time"><?php the_time(get_option('date_format')); ?></span></span> </div> <p><?php echo wp_trim_words( get_the_excerpt(), 16, '...' ); ?></p> </div> </div> </div> <?php } else { ?> <div class="fby-main-blog-text left relative fby-blog-text-only"> <a href="<?php the_permalink(); ?>" rel="bookmark"> <h2><?php the_title(); ?></h2> </a> <div class="fby-feat1-info"> <span class="fby-blog-date"><i class="fa icon-clock"></i><span class="fby-blog-time"><?php the_time(get_option('date_format')); ?></span></span> </div> <p><?php echo wp_trim_words( get_the_excerpt(), 16, '...' ); ?></p> </div> <?php } ?> </li> <?php endwhile; endif; ?> </ul> <?php if( !is_paged() ){ ?> <?php $fby_infinite_scroll = get_option('fby_infinite_scroll'); if ($fby_infinite_scroll == "true") { if (isset($fby_infinite_scroll)) { ?> <div class="load-more-button-holder"><button class="fby-inf-more-but"><?php esc_html_e( 'Показать больше', 'fishingby' ); ?></button></div> <div class="page-load-status"> <div class="loader-ellips infinite-scroll-request"> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> </div> <p class="infinite-scroll-last">Нет больше страниц для загрузки</p> <p class="infinite-scroll-error">Нет больше страниц для загрузки</p> </div> <?php } } ?> <?php } ?> <div class="fby-nav-links"> <?php if (function_exists("pagination")) { pagination($wp_query->max_num_pages); } ?> </div> </section> </div> </div> <?php get_sidebar(); ?> </div> </div> </div> <?php get_footer(); ?> <?php } ?>
70a7fb96cca216022e4de1f9d2bdc707
{ "intermediate": 0.3127978444099426, "beginner": 0.5778636932373047, "expert": 0.1093384325504303 }
22,118
what transitions define the scale of time in the long and short time regimes of physics
bce48f3a5d81ae3f0e6463743aab1569
{ "intermediate": 0.43559882044792175, "beginner": 0.33068612217903137, "expert": 0.2337150275707245 }
22,119
Создать функцию compareStrings(str1, str2), которая принимает две строки и возвращает строку с большей длиной. Если строки равны по длине, функция возвращает строку "Строки равны по длине".
bc3927233860df8e391a7aebfe4defd2
{ "intermediate": 0.3611036241054535, "beginner": 0.40566521883010864, "expert": 0.23323114216327667 }
22,120
Provide me multiple examples of Overload copy = assignment operator along with the big three.
d26db1115b6567f3477e1a46a689113f
{ "intermediate": 0.30905482172966003, "beginner": 0.22665494680404663, "expert": 0.4642902612686157 }
22,121
how to make java read pkl file
c64a4459af94f036c40cbb83d700dd57
{ "intermediate": 0.49857649207115173, "beginner": 0.19001641869544983, "expert": 0.3114071190357208 }
22,122
Provide an example interaction with a Btrfs filesystem scrub that shows data corruption.
0178a9fc87063527d5f8754848fbeaaa
{ "intermediate": 0.6559543013572693, "beginner": 0.13508214056491852, "expert": 0.20896358788013458 }
22,123
linux check is /usr/web/project exit, if not exit , to creat the path . show me bash script
689d322034913e301a90fd167268a5a4
{ "intermediate": 0.42543137073516846, "beginner": 0.3554399609565735, "expert": 0.21912868320941925 }
22,124
hii
63da2473734a04733c69066a271e23d1
{ "intermediate": 0.3416314125061035, "beginner": 0.27302300930023193, "expert": 0.38534557819366455 }
22,125
how can I modify the code if I do not want to aggregate the metrix of ecent_count SELECT event_date, event_name, COUNT(*) AS event_count, COUNT(DISTINCT(user_id)) AS users, count(DISTINCT(session_id)) AS sesions FROM (SELECT event_date,event_name, user_id, CONCAT(ga_session_id, user_id) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, event_date, user_pseudo_id as user_id, event_timestamp FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230401' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230401' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) WHERE session_id IN ( SELECT DISTINCT(CONCAT(ga_session_id, user_id)) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, user_pseudo_id as user_id, event_timestamp, platform FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230401' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230401' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) GROUP BY event_name, event_date
296bf0941e8d155afcb5f38d68a22959
{ "intermediate": 0.16852222383022308, "beginner": 0.6655000448226929, "expert": 0.16597774624824524 }
22,126
Pattern attribute value \^[а-яА-ЯёЁ\s-]+$\ is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /\^[а-яА-ЯёЁ\s-]+$\/v: Invalid character class/ <input onInput={handleValidationFio} pattern="\^[а-яА-ЯёЁ\s-]+$\" name="fio" type="text" className="form-control" id="fio" required /> const handleValidationFio = (e)=>{ const element = e.target if(element.validity.valid){ console.log(1) element.setCustomValidity("Только кириллические буквы, дефис и пробелы"); } }
1687d4e5b283d0d4569924742417600b
{ "intermediate": 0.35015687346458435, "beginner": 0.41966214776039124, "expert": 0.23018093407154083 }
22,127
private void mergeNodes(VrmAssetGraphicalTreeDto existingNode, VrmAssetGraphicalTreeDto newNode) { List existingChildren = existingNode.getChildren(); List newChildren = newNode.getChildren(); // 处理删除节点 existingChildren.removeIf(child -> !hasMatchingChild(newChildren, child)); existingNode.setChildren(existingChildren); // 处理新增/更新节点 for (VrmAssetGraphicalTreeDto newChild : newChildren) { updateOrAddChild(existingNode, newChild); } } private void updateOrAddChild(VrmAssetGraphicalTreeDto existingNode, VrmAssetGraphicalTreeDto newNode) { VrmAssetGraphicalTreeDto matchingChild = findMatchingChild(existingNode.getChildren(), newNode); if (matchingChild != null) { // 有匹配节点,更新节点数据 updateNode(matchingChild, newNode); } else { // 无匹配节点,添加新节点 existingNode.addChild(newNode); } } private void updateNode(VrmAssetGraphicalTreeDto existingNode, VrmAssetGraphicalTreeDto newNode) { // 更新节点属性 existingNode.setName(newNode.getName()); // 处理新增/更新子节点 List existingChildren = existingNode.getChildren(); List newChildren = newNode.getChildren(); for (VrmAssetGraphicalTreeDto newChild : newChildren) { VrmAssetGraphicalTreeDto matchingChild = findMatchingChild(existingChildren, newChild); if (matchingChild != null) { // 有匹配节点,更新节点数据 updateNode(matchingChild, newChild); } else { // 无匹配节点,添加新节点 existingNode.addChild(newChild); } } } private boolean hasMatchingChild(List children, VrmAssetGraphicalTreeDto child) { // 根据id和reqAssetId匹配 return findMatchingChild(children, child) != null; } /** * 找相关匹配 * * @param children * @param childToFind * @return */ private VrmAssetGraphicalTreeDto findMatchingChild(List children, VrmAssetGraphicalTreeDto childToFind) { for (VrmAssetGraphicalTreeDto child : children) { if (child.getId().equals(childToFind.getId()) && child.getReqAssetId().equals(childToFind.getReqAssetId())) { // 已存在的节点不覆盖 return child; } // 递归查找匹配的子节点 VrmAssetGraphicalTreeDto matchingChild = findMatchingChild(child.getChildren(), childToFind); if (matchingChild != null) { return matchingChild; } } return null; } VrmAssetGraphicalTreeDto(id=7104508457453093117, name=技术支撑层, reqAssetId=7104508457453093116, iid=7104508457453093114, reqAssetType=365, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093157, name=研发管理, reqAssetId=7104508457453093156, iid=7104508457453093154, reqAssetType=366, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093237, name=BAMS, reqAssetId=7104508457453093236, iid=7104508457453093232, reqAssetType=367, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093254, name=需求结构化工具, reqAssetId=7104508457453093253, iid=7104508457453093249, reqAssetType=81, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093285, name=系统管理, reqAssetId=7104508457453093284, iid=7104508457453093280, reqAssetType=387, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093310, name=用户管理, reqAssetId=7104508457453093309, iid=7104508457453093305, reqAssetType=525, relation=false, children=[VrmAssetGraphicalTreeDto(id=7110683507352928511, name=用户接口, reqAssetId=7110683507352928510, iid=7110683507352928508, reqAssetType=388, relation=true, children=[]), VrmAssetGraphicalTreeDto(id=7110683507352928517, name=外部接口, reqAssetId=7110683507352928516, iid=7110683507352928514, reqAssetType=388, relation=true, children=[])])])])])])])这个数据为existingNode节点的,VrmAssetGraphicalTreeDto(id=7104508457453093117, name=技术支撑层, reqAssetId=7104508457453093116, iid=7104508457453093114, reqAssetType=365, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093157, name=研发管理, reqAssetId=7104508457453093156, iid=7104508457453093154, reqAssetType=366, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093237, name=BAMS, reqAssetId=7104508457453093236, iid=7104508457453093232, reqAssetType=367, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093254, name=需求结构化工具, reqAssetId=7104508457453093253, iid=7104508457453093249, reqAssetType=81, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093285, name=系统管理, reqAssetId=7104508457453093284, iid=7104508457453093280, reqAssetType=387, relation=false, children=[VrmAssetGraphicalTreeDto(id=7104508457453093310, name=用户管理, reqAssetId=7104508457453093309, iid=7104508457453093305, reqAssetType=525, relation=true, children=[])])])])])])这个数据为newNode节点的,前提,不改变现有逻辑的前提下,合并节点的时候 需要注意newNode节点的relation属性为true合并的时候需要保留,优化一下代码,提供完整示例,中文回答
05ae1782cee819497a38edeab9ab22de
{ "intermediate": 0.3311896324157715, "beginner": 0.5028864145278931, "expert": 0.16592389345169067 }
22,128
how can I modify the code if I want to separate the results based on different event counts SELECT event_date, event_name, COUNT(event_name) AS event_count, SPLIT (COLLECT user_id) AS user_id, count(DISTINCT(session_id)) AS sesions FROM (SELECT event_date,event_name, user_id, content_id,CONCAT(ga_session_id, user_id) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_id" ) AS content_id, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, event_date, user_pseudo_id as user_id, event_timestamp FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230928' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230928' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) WHERE session_id IN ( SELECT DISTINCT(CONCAT(ga_session_id, user_id)) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_id" ) AS content_id, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, user_pseudo_id as user_id, event_timestamp, platform FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230928' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230928' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) GROUP BY event_name, event_date ORDER by event_date
3a011b166ca7d9c9344e9f6ee8ed5f99
{ "intermediate": 0.2274179905653, "beginner": 0.5431900024414062, "expert": 0.22939200699329376 }
22,129
how can I get the results if based on different event counts SELECT event_date, event_name, COUNT(*) AS event_count, COUNT(DISTINCT(user_id)) AS users, count(DISTINCT(session_id)) AS sesions FROM (SELECT event_date,event_name, user_id, CONCAT(ga_session_id, user_id) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, event_date, user_pseudo_id as user_id, event_timestamp FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230928' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230928' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) WHERE session_id IN ( SELECT DISTINCT(CONCAT(ga_session_id, user_id)) AS session_id FROM ( SELECT (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "screen_name" ) AS screen_name, (SELECT value.string_value FROM UNNEST(event_params) WHERE key = "content_type" ) AS content_type, (SELECT value.int_value FROM UNNEST(event_params) WHERE key = "ga_session_id" ) AS ga_session_id, event_name, user_pseudo_id as user_id, event_timestamp, platform FROM `u-lifestyle-dba71.analytics_210657749.events_*` WHERE event_name in ('sv') AND (_TABLE_SUFFIX BETWEEN '20230928' AND '20230930' OR _TABLE_SUFFIX = 'intraday_20230928' OR _TABLE_SUFFIX = 'intraday_20230930') ) WHERE screen_name = "detail" AND content_type = "article" ) GROUP BY event_name, event_date
0cd5b43dcb2bf67bfb6fa871bfdce327
{ "intermediate": 0.19519641995429993, "beginner": 0.38917720317840576, "expert": 0.4156263768672943 }
22,130
Create a plot in R for, Are there age category differences for male or female who have died, and how has the death distribution changed among the different taxons?*
2876c179938e97e3c833b57029d30fe0
{ "intermediate": 0.3447192311286926, "beginner": 0.11435464024543762, "expert": 0.5409260988235474 }
22,131
How to get bitmap image from image resource string using BitmapFactory in android studio
8461a61c6b69541d9b80c6aa68390943
{ "intermediate": 0.642991840839386, "beginner": 0.1389762908220291, "expert": 0.21803192794322968 }
22,132
.addStringOption(option => ^ SyntaxError: Unexpected token '.' at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1178:20) at Module._compile (node:internal/modules/cjs/loader:1220:27) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (D:\Йорарисс\index.js:17:19) at Module._compile (node:internal/modules/cjs/loader:1256:14) Node.js v18.17.1 Process finished with exit code 1 вот ошибка вот код const { ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder, EmbedBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('action') .setDescription('Взаимодействовать с участником') .addUserOption(option => option .setName('member') .setDescription('пользователь для взаимодействия') .setRequired(true)), .addStringOption(option => option .setName('reason') .setDescription('Причина') .setRequired(false) ), async execute(interaction) { const target = interaction.options.getMember('member'); const reason = 'Причина'; // Замените на вашу логику для получения причины const ban = new ButtonBuilder() .setCustomId('ban') .setLabel('Выдать бан') .setStyle(ButtonStyle.Danger); const mute = new ButtonBuilder() .setCustomId('mute') .setLabel('Выдать мут') .setStyle(ButtonStyle.Secondary); const kick = new ButtonBuilder() .setCustomId('kick') .setLabel('Кикнуть с сервера') .setStyle(ButtonStyle.Secondary); const row = new ActionRowBuilder() .addComponents(ban, mute, kick); await interaction.reply({ embeds: [ new EmbedBuilder() .setColor(Blue) .setAuthor({ name: `Действие с ${target.displayName}`, iconURL: interaction.member.displayAvatarURL({ dynamic: true }), url: 'https://discord.js.org' }) ], components: [row], }); const collector = interaction.channel.createMessageComponentCollector({ time: 10000 }); // Установите нужное время для коллектора collector.on('collect', async (i) => { if (i.customId === 'ban') { await target.ban({ reason: reason }); await interaction.followUp(`Пользователь ${target} был забанен по причине: ${reason}`); } }); }, }; const collector = interaction.channel.createMessageComponentCollector({ time: 10000 }); // Установите нужное время для коллектора collector.on('collect', async (i) => { if (i.customId === 'kick') { await member.kick(); await interaction.followUp(`Пользователь ${target} был кикнут по причине: ${reason}`); } }); }, };
2eefd2b813ff9b8fb9cb9fe809c064d1
{ "intermediate": 0.37363189458847046, "beginner": 0.4791448414325714, "expert": 0.14722315967082977 }
22,133
How to build steering wheel that detect grip force
ebe6ae9f6d853ab5ebee49f319e90d44
{ "intermediate": 0.17613552510738373, "beginner": 0.21422520279884338, "expert": 0.6096392273902893 }
22,134
how to use .pem and .key certificate files in Apache Zeppelin
e642c93c043befcf6b1aaf5de3c5551e
{ "intermediate": 0.42399266362190247, "beginner": 0.32476454973220825, "expert": 0.2512427270412445 }
22,135
I have many service.ts in my angular, and have this variable //baseUrl = 'https://localhost:78/api/', how all service use this variable based on 1 file, so i wont edit all baseUrl for each service
30c440ba9ce15d8112f663228926cc0c
{ "intermediate": 0.38180288672447205, "beginner": 0.4394546449184418, "expert": 0.1787424087524414 }
22,136
I have many data want to insert to mysql, but there are password_hash and password_salt, how I insret through sql?
f66bcf81bfedd4c3b73565feb4b8b9e2
{ "intermediate": 0.5653350949287415, "beginner": 0.22301419079303741, "expert": 0.21165072917938232 }
22,137
как нарисовать линии в override func draw(_ rect: CGRect) { }
c4e3f0af05998142010da5998b65caa4
{ "intermediate": 0.3024967312812805, "beginner": 0.4589374363422394, "expert": 0.23856575787067413 }
22,138
If mobile applications work in a sandbox environment and devices implements Full Disk Encryption, why we need to use additional encryption to protect data inside Preferences, Databases or File?
ee3838d2afe5b98bd0ce7ba8f104eefd
{ "intermediate": 0.5433503985404968, "beginner": 0.22242379188537598, "expert": 0.2342258095741272 }
22,139
error: '*(const ot_eth_ctrl_config **)&test_eth_config->ot_eth_ap_ctrl_config' is a pointer; did you mean to use '->'? 58 | test_eth_config->ot_eth_ap_ctrl_config->ot_eth_p_dal_ctrl_config->ot_eth_dal_p_gmac_ctrl_config->gmac_ctrl_config->gmac_p_ctrl_state = OT_NULL;
ea0d7f132fe49c7ee1bb36234fc51109
{ "intermediate": 0.3877394199371338, "beginner": 0.41363584995269775, "expert": 0.19862468540668488 }
22,140
How to migrate from http to https for Apache Zeppelin login on a server using SSL certificates obtained inside an organization
5f8d2360f705bff471da45b10694b592
{ "intermediate": 0.48623281717300415, "beginner": 0.21723078191280365, "expert": 0.29653632640838623 }
22,141
How to enable client server authentication in Apache Zeppelin using SSL certificates
92b71eb3cadd3ba90c5680361220e886
{ "intermediate": 0.48561716079711914, "beginner": 0.24276353418827057, "expert": 0.2716192901134491 }
22,143
check mistake #include<bits/stdc++.h> #include<vector> using namespace std; int XX[8]={2,1,-1,-2,-2,-1,1,2}; int YY[8]={1,2,2,1,-1,-2,-2,-1}; void Dequy(vector<vector<bool>>&chess,int x,int y,int k,int n) { if(k == 0) return ; for(int i=0;i<8;i++){ int tx=x+XX[i]; int ty=y+YY[i]; if(tx>=0 && tx<n && ty>=0 && ty<n){ chess[tx][ty]=true; Dequy(chess,tx,ty,k-1,n); } } } int dem(int n,int k, int x,int y){ vector<vector<bool>>chess(n,vector<bool>(n,false)); chess[x][y]=true; Dequy(chess,x,y,k,n); int dem=0; for(int i=0;i<n;i++); for(int j=0;j<n;j++); if(chess[i][j]==true)dem++; return dem; } int main(){ int t; cin>>t; while(t--){ int n,k,x,y; cin>>n>>k>>x>>y; cout<<dem(n,k,x-1,y-1)<<endl; } }
18e4937fa0193679f8e514c871ef765b
{ "intermediate": 0.27316832542419434, "beginner": 0.531355619430542, "expert": 0.19547607004642487 }
22,144
df <- trt %>% arrange(Dose_Amount) %>% group_by(Dose_Amount) %>% mutate( group = cumsum( Dose_Amount != lag(Dose_Amount, default = first(Dose_Amount))) ) %>% ungroup() how to fix this code when Dose_Amount's value changed then group will be group+1 if dose <- (5,5,10,10,15,15,20) then
7715f886d2863b274b6ce7752e3feaff
{ "intermediate": 0.3275432884693146, "beginner": 0.3976525664329529, "expert": 0.27480411529541016 }
22,145
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } } how to fix this code to calculate the interval based on the same subject's same drug
4ce26fc01db98faef8b323397c9f08b0
{ "intermediate": 0.3977522552013397, "beginner": 0.3442024886608124, "expert": 0.2580452859401703 }
22,146
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } } # calculate median interval between same subjects if (is.null(intervals)) { median_interval_same <- 999 } else { median_interval_same <- median(intervals) } if analyte stands for drug group, how to improve above code to achieve when calculate the intervals are based on the same subject and the same analyte
0576d736a956f1ac2cfbb84909c9985b
{ "intermediate": 0.38030099868774414, "beginner": 0.22487565875053406, "expert": 0.3948233127593994 }
22,147
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } } how to fix this when add logic to calculate the intervals based on same subject for the same drug
20bd6269bf07b17a9ca7bd5ccc3d3103
{ "intermediate": 0.3745950758457184, "beginner": 0.3055199682712555, "expert": 0.3198849856853485 }
22,148
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } how to fix this code
70e900bcc4c37d6031e9ebf2335486ae
{ "intermediate": 0.4217311441898346, "beginner": 0.33870694041252136, "expert": 0.23956193029880524 }
22,149
how to select linux rt patch
0ee2e22edb0a6483a52ef61d6b09541b
{ "intermediate": 0.3196984529495239, "beginner": 0.25960132479667664, "expert": 0.42070022225379944 }
22,150
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } how to fix this code
5a1be92ac830cb2c6ff581ebb8cf972c
{ "intermediate": 0.4217311441898346, "beginner": 0.33870694041252136, "expert": 0.23956193029880524 }
22,151
please define a macro for me which like add_custom_command in cmake.
a420826b178ad42267d8098306841744
{ "intermediate": 0.4626365005970001, "beginner": 0.2490634322166443, "expert": 0.2883000373840332 }
22,152
intervals <- c() # initialize an empty vector to store the intervals for (i in 1:(length(trt$Subject_ID)-1)) { if (trt$Subject_ID[i] == trt$Subject_ID[i+1]) { interval <- difftime(trt$datetime[i+1], trt$datetime[i], units = "hours") intervals <- c(intervals, interval) } how to fix this code
7ce07e307f68142776957b0bcb8c5775
{ "intermediate": 0.43908071517944336, "beginner": 0.31484904885292053, "expert": 0.24607016146183014 }
22,153
please define a macro like add_custom_command in cmake .
2bbbb18710cef82761ff6fd945d98ee5
{ "intermediate": 0.514878511428833, "beginner": 0.18683239817619324, "expert": 0.29828909039497375 }
22,154
can you help me write a code to calculate the interval between the same subject
aab83807889c73dfd45b8be6d51744af
{ "intermediate": 0.2923678457736969, "beginner": 0.17886343598365784, "expert": 0.5287687182426453 }
22,155
this.selectedDataSource$ .pipe( switchMap((dataSource) => { return this.getDataSourceCached$(dataSource); }), catchError((error) => { this._mtToastsService.error(error); return of(null); }) ) .subscribe((cachedDataSource) => { this.dsUpdateAndCached.next(cachedDataSource); }); 当getDataSourceCached$抛出异常时,selectedDataSource$后续发出的值就收不到了,如何才能收到
da92c723cfa35bce50435b196f0cd4dd
{ "intermediate": 0.3479708135128021, "beginner": 0.33769524097442627, "expert": 0.3143339157104492 }
22,156
I have a question regarding github pages and jekyll. Can you assist me?
de2a01d38f85da64b796f3e8eecb1910
{ "intermediate": 0.5213755369186401, "beginner": 0.27346065640449524, "expert": 0.20516376197338104 }
22,157
string = '{\\frac{88}{99}}^23232' pattern = r'{\\frac{(\d+)}{(\d+)}}^(d+)' replacement = r'(\\frac{\1}{\2})^\3' new_string = re.sub(pattern, replacement, string) print(new_string) Данный код прекрасно работает, если string = '{\\frac{88}{99}}^23232'. Однако в случае с заменой string = 'Вычислите: ${\\frac{5}{10}}^3 \\left(6+\\frac{1}{5}\\right)$' замены не происходит
4fe3dc776fc60b400dfb658134c020ec
{ "intermediate": 0.31925076246261597, "beginner": 0.41557279229164124, "expert": 0.2651764452457428 }
22,158
Вычеслить это на python a=|sin|3x^3+5y^2+15z|/√(12x^3+6y^2-z)^2+3.14)
82a2b39d03d3509eec6a441a244fa0d5
{ "intermediate": 0.23312929272651672, "beginner": 0.3644504249095917, "expert": 0.402420312166214 }
22,159
code source windev sur le scan du qr code
d59396496693252eef5322e6eaad13b5
{ "intermediate": 0.27430227398872375, "beginner": 0.26788079738616943, "expert": 0.4578169286251068 }
22,160
flask sqlalchemy how to remove all oblects togethet
88465e44e29c838ac7b1cc4a60032fd5
{ "intermediate": 0.4898082911968231, "beginner": 0.1933479756116867, "expert": 0.3168436884880066 }
22,161
please define a macro like add_custom_command in cmake .
cb816eeb23784f505a5dcc2b3472eb71
{ "intermediate": 0.514878511428833, "beginner": 0.18683239817619324, "expert": 0.29828909039497375 }
22,162
Как сделать чтобы лог сохранялся в директории где находится скрипт? #!/bin/bash RED_COLOR="\e[31m" GREEN_COLOR="\e[32m" NO_COLOR="\e[0m" DIRECTORY="/home/kligann/fail2ban" OUTPUT_FILE="output-$(date +'%Y-%m-%d_%H:%M:%S').log" cd "$DIRECTORY" systemctl status fail2ban.service { # Проверяем существует ли fail2ban.log. if [ -f /home/kligann/fail2ban/fail2ban.log ]; then echo -e "${GREEN_COLOR}Файл журнала fail2ban${NO_COLOR}" tail /home/kligann/fail2ban/fail2ban.log else echo -e "${RED_COLOR}Файл журнала fail2ban не найден${NO_COLOR}" exit 1 fi # Получаем статус сервиса fail2ban sshd echo -e "${GREEN_COLOR}Получение статуса fail2ban для sshd${NO_COLOR}" fail2ban-client status sshd || { echo -e "${RED_COLOR}Ошибка при получении статуса fail2ban для sshd${NO_COLOR}"; exit 1; } # Перенаправление вывода скрипта в файл. } | tee "$OUTPUT_FILE"
5c53be36bcd5fe55888be3756acf1bb7
{ "intermediate": 0.3297334313392639, "beginner": 0.5425082445144653, "expert": 0.12775835394859314 }
22,163
in cmake , how to define a function which can be called with multiple arguments and the arguments has the same name.
f191cd8685a458588f91db4696a84c81
{ "intermediate": 0.3913227617740631, "beginner": 0.33364614844322205, "expert": 0.2750311493873596 }
22,164
in cmake , how to define a function which can be called with multiple keyvalue arguments. and the arguments has same name.
be841c049c74bc15001e762c989eef70
{ "intermediate": 0.4215368628501892, "beginner": 0.2521851658821106, "expert": 0.3262779414653778 }
22,165
in cmake , how to define a function which can be called with multiple keyvalue arguments. and the arguments has same name like add_custom_command can be called like add_custom_command( command xx command yy)
7f31aa9b6a59320e922b76fe51414ad0
{ "intermediate": 0.403802752494812, "beginner": 0.33739811182022095, "expert": 0.25879913568496704 }
22,166
in cmake , how to define a function which can be called with multiple keyvalue arguments. and the arguments has same name like add_custom_command can be called like add_custom_command( command xx command yy).
282b53e9fd6f282b6b3d2e237bfabcd5
{ "intermediate": 0.40650033950805664, "beginner": 0.32629984617233276, "expert": 0.267199844121933 }
22,167
Hi could you tell me what's wrong in following react code: //import React from 'react' import * as React from 'react'; import { useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; import { IMinimalSalary } from '../../../types/global.typing.js'; import { Button, CircularProgress } from "@mui/material"; import { Add } from "@mui/icons-material"; import { GridColDef} from '@mui/x-data-grid/models' import AddIcon from '@mui/icons-material/Add'; import EditIcon from '@mui/icons-material/Edit'; import DeleteIcon from '@mui/icons-material/DeleteOutlined'; import SaveIcon from '@mui/icons-material/Save'; import CancelIcon from '@mui/icons-material/Close'; import httpModule from "../../../helpers/http.module"; import { GridRowModes, DataGrid, GridToolbarContainer, GridActionsCellItem, GridRowEditStopReasons, } from '@mui/x-data-grid'; import { randomCreatedDate, randomTraderName, randomId, randomArrayItem, } from '@mui/x-data-grid-generator'; const MinimalSalaryList = () => { const [Consumption, setConsumption] = useState<IMinimalSalary[]>([]); const [loading, setLoading] = useState<boolean>(false); const redirect = useNavigate(); const initialRows = [ { id: "10", nazwa: "10", wartosc: "10", createdAt: "10" }, { id: "10", nazwa: "10", wartosc: "10", createdAt: "10" } ]; const [rows, setRows] = React.useState(initialRows); const [rowModesModel, setRowModesModel] = React.useState({}); const column: GridColDef[] = [ { field: "id", headerName: "ID", width: 100 }, { field: "nazwa", headerName: "Nazwa", width: 200, editable: true }, { field: "wartosc", headerName: "Wartosc", width: 150, editable: false }, { field: "actions", type: "actions", headerName: "Actions", width: 100, cellClassName: "actions", getActions: ({ id }) => { const isInEditMode = rowModesModel[id]?.mode === GridRowModes.Edit; if (isInEditMode) { return [ <GridActionsCellItem icon={<SaveIcon />} label="Save" sx={{ color: 'primary.main', }} onClick={handleSaveClick(Number(id))} />, <GridActionsCellItem icon={<CancelIcon />} label="Cancel" className="textPrimary" onClick={handleCancelClick(Number(id))} color="inherit" />, ]; } return [ <GridActionsCellItem icon={<EditIcon />} label="Edit" className="textPrimary" onClick={handleEditClick(Number(id))} color="inherit" />, <GridActionsCellItem icon={<DeleteIcon />} label="Delete" onClick={handleDeleteClick(Number(id))} color="inherit" />, ]; } } ]; useEffect(() => { setLoading(true); httpModule .get<IMinimalSalary[]>("/PodstawaWymiaru/Get") .then((response) => { setConsumption(response.data); console.log(response.data); setLoading(false); }) .catch((error) => { alert("Error"); console.log(error); setLoading(false); }); }, []); const handleRowEditStop = (params:any, event:any) => { if (params.reason === GridRowEditStopReasons.rowFocusOut) { event.defaultMuiPrevented = true; } }; const handleEditClick = (id:number) => () => { setRowModesModel({ ...rowModesModel, [id]: { mode: GridRowModes.Edit } }); }; const handleSaveClick = (id:number) => () => { setRowModesModel({ ...rowModesModel, [id]: { mode: GridRowModes.View } }); }; const handleDeleteClick = (id:number) => () => { setRows(rows.filter((row:any) => row.id !== id)); }; const handleCancelClick = (id:number) => () => { setRowModesModel({ ...rowModesModel, [id]: { mode: GridRowModes.View, ignoreModifications: true }, }); const editedRow = rows.find((row:IMinimalSalary) => row.id === id); if (editedRow.isNew) { setRows(rows.filter((row) => row.id !== id)); } }; const processRowUpdate = (newRow:any) => { const updatedRow = { ...newRow, isNew: false }; setRows(rows.map((row) => (row.id === newRow.id ? updatedRow : row))); return updatedRow; }; const handleRowModesModelChange = (newRowModesModel:any) => { setRowModesModel(newRowModesModel); }; return ( <div className="content comapnies"> <div className="heading"> <h2>Pensja minimalna</h2> <Button variant="outlined" onClick={() => redirect("/MiminalPension/add")}> <Add /> </Button> </div> <DataGrid editMode='row' rows={Consumption} columns={column} getRowId={(row) => row.id} rowHeight={50} /> </div> ) } export default MinimalSalaryList
8167ae0699d5b1271b8b0e04a4b2ae33
{ "intermediate": 0.4478423595428467, "beginner": 0.428206205368042, "expert": 0.1239514872431755 }
22,168
create a display using pygame
90d0d0d8a15f2f48d8615198f93c3ddf
{ "intermediate": 0.44260600209236145, "beginner": 0.25192990899086, "expert": 0.30546408891677856 }
22,169
#include<stdio.h> #include<stdlib.h> #include<math.h> typedef struct BstNode { int data; struct BstNode* lchild,*rchild; }BstNode; BstNode *root=NULL; BstNode* GetNewNode(int data){ BstNode* newNode=(BstNode*)malloc(sizeof(BstNode)); newNode->data=data; newNode->lchild=newNode->rchild=NULL; return newNode; } BstNode* Insert(BstNode* root,int data){ if(root==NULL) root=GetNewNode(data); else if(root->data>=data) Insert(root->lchild,data); else if(root->data<=data) Insert(root->rchild,data); return root; } int max(int a,int b){ if (a>b) return a; else return b; } int FindHeight(BstNode* root){ if(root==NULL) return -1; return max(FindHeight(root->lchild),FindHeight(root->rchild))+1; } typedef struct QNode { BstNode* data; struct QNode* next; }QNode; //队列 typedef struct { QNode* front; QNode* rear; int n;//用来记录队列长度 }BiTQueue; //队列入队操作 void Push(BiTQueue* Q, BstNode* T) { QNode* node =(QNode*)malloc(sizeof(QNode)); node->data = T; node->next = NULL; Q->rear->next = node; Q->rear = node; Q->n++; } //队列出队操作 BstNode* Pop(BiTQueue* Q) { BstNode* T = Q->front->next->data; if (Q->front->next == Q->rear) Q->rear = Q->front; Q->front->next = Q->front->next->next; Q->n--; return T; } BiTQueue* InitQueue(){ BiTQueue* newqueue=(BiTQueue*)malloc(sizeof(BiTQueue)); newqueue->front=newqueue->rear=NULL; return newqueue; } //层序遍历函数 void LeveOrderTraverse(BstNode* T,int level) { if (T == NULL) return; BiTQueue* Q = InitQueue();//初始化队列 BstNode* p = NULL; Push(Q, T);//将根结点入队 while (Q->n > 0) { //只取n个队列元素 for (int i = Q->n; i > 0; i--) { p = Pop(Q);//出队 if (i>=pow(2,i)&&i<=pow(2,i+1)) { printf("%d,", p->data);//打印结点值 } if (p->lchild != NULL) Push(Q, p->lchild);//左子树入队 if (p->rchild != NULL) Push(Q, p->rchild);//右子树入队 } printf("\n"); } } int main() { int cnt,level,a; scanf("%d",&cnt); for (int i = 0; i < cnt; i++) { scanf("%d",&a); Insert(root,a); getchar(); } scanf("%d",&level); LeveOrderTraverse(root,level); return 0; }
f145f1de14163d651a1e12681432bbe5
{ "intermediate": 0.3660520613193512, "beginner": 0.48339447379112244, "expert": 0.15055353939533234 }
22,170
What language is beong spoken in Iran?
1bea7fc6394e003b6abcc4cb86ad1b5c
{ "intermediate": 0.38077250123023987, "beginner": 0.3280506730079651, "expert": 0.29117679595947266 }
22,171
Write a code to generate random path that has a start and finish in pygame
6b64b732cbf78de21ea9069eb57d594a
{ "intermediate": 0.33446651697158813, "beginner": 0.1712522655725479, "expert": 0.49428126215934753 }
22,172
Ошибка в Visual Studio Code undefined reference to `ws2812_control_init()' в main.cpp подключена #include "ws2812_control.h" в ней объявлена esp_err_t ws2812_write_leds(struct led_state new_state);
38a0006ff9417712cefc21a877ea7b55
{ "intermediate": 0.3338380455970764, "beginner": 0.4114907681941986, "expert": 0.254671186208725 }
22,173
rules for determining integrable vs non-integrable systems
432e204789470ba540cc5c0cdc4eb2b3
{ "intermediate": 0.3532554805278778, "beginner": 0.27876153588294983, "expert": 0.36798295378685 }
22,174
In R plot the age category for male or female with the year they died , and the year of death among the different taxons?*
af305fb94cb68bd20c38634da861b371
{ "intermediate": 0.3052460849285126, "beginner": 0.18488238751888275, "expert": 0.5098715424537659 }
22,175
hi
b6d8b421936c32f45e89c0a11af3ad52
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
22,176
how to use msearch whoosh backend to ignore ends of words
cfea6a1ff00fe8b131815dea9a43af7e
{ "intermediate": 0.3386959433555603, "beginner": 0.09099136292934418, "expert": 0.5703126788139343 }
22,177
Can we diversify types of noise? I want both Gaussian noise, Poisson noise and some other kind of noise too, might be with dropout? I want it to randomly choose between different types of noise and dropout every time during training class GaussianNoise(nn.Module): def __init__(self, sigma=0.1, is_relative_detach=True): super().__init__() self.sigma = sigma self.is_relative_detach = is_relative_detach self.noise = torch.tensor(0).to(device) def forward(self, x): if self.training and self.sigma != 0: scale = self.sigma * x.detach().float() if self.is_relative_detach else self.sigma * x.float() sampled_noise = self.noise.repeat(*x.size()).float().normal_() * scale x = x + sampled_noise return x
19086fc4f98fc74bbf052852610edd9b
{ "intermediate": 0.21706832945346832, "beginner": 0.2119625061750412, "expert": 0.5709691643714905 }
22,178
Do you know about nlohmann json c++ library?
c51e7b1f3d3d8dfea6aec9d169e9f0ef
{ "intermediate": 0.6627325415611267, "beginner": 0.10900035500526428, "expert": 0.22826716303825378 }
22,179
C# FindPattern that returns memory address
f19f1cc275e7134005b133820ee1182b
{ "intermediate": 0.5313704013824463, "beginner": 0.21550676226615906, "expert": 0.25312283635139465 }
22,180
I want you to write me VBA code for a PowerPoint presentation about the latest trends of Italian wine and gastronomical products import in Poland. You are to fill in all the text your own knowledge, no placeholders. I need 7 slides, including and expanding the following 7 topics: (1) Poland as a gastronomical market; (2) Economical expansion of Poland; (3) Italian gastronomical most favorite products in Poland; (4) Italian wines most favorite in Poland; (5) general expanded price ranges for Italian wines in Poland; (6) types of businesses related to the wine industry in Poland; (7) taxation on Italian wine import into Poland.
7eb5835b41b5f167d432dde67f75e59b
{ "intermediate": 0.3255802094936371, "beginner": 0.4437921941280365, "expert": 0.23062758147716522 }
22,181
Make it so that when performing an attack when pressing the Control key. Switching to other animations (other than falling) should not be possible until the strike/attack animation is completed. using System.Collections; using System.Collections.Generic; using UnityEditor.Experimental.GraphView; using UnityEngine; [RequireComponent(typeof(CharacterController))] [RequireComponent(typeof(Animator))] public class ThirdPersonMovement : MonoBehaviour { [SerializeField] private Transform _camera; [SerializeField] private MovementCharacter _characteristics; private float _vertical, _horizontal, _run; private readonly string STR_VERTICAL = "Vertical"; private readonly string STR_HORIZONTAL = "Horizontal"; private readonly string STR_RUN = "Run"; private readonly string STR_JUMP = "Jump"; private readonly string STR_ATTACK = "Attack"; private const float DISTANCE_OFFFSET_CAMERA = 5f; private CharacterController _controller; private Animator _animator; private Vector3 _direction; private Quaternion _look; private Vector3 TargerRotate => _camera.forward * DISTANCE_OFFFSET_CAMERA; private bool Idle => _horizontal == 0.0f && _vertical == 0.0f; private void Start() { _controller = GetComponent<CharacterController>(); _animator = GetComponent<Animator>(); Cursor.visible = _characteristics.VisibleCursor; } private void Update() { Movement(); Rotate(); } private void Movement() { if(_controller.isGrounded) { _horizontal = Input.GetAxis(STR_HORIZONTAL); _vertical = Input.GetAxis(STR_VERTICAL); _run = Input.GetAxis(STR_RUN); _direction = transform.TransformDirection(_horizontal, 0, _vertical).normalized; PlayAnimation(); Jump(); Attack(); } _direction.y -= _characteristics.Gravity * Time.deltaTime; float speed = _run * _characteristics.RunSpeed + _characteristics.MovementSpeed; Vector3 dir = _direction * speed * Time.deltaTime; dir.y = _direction.y; _controller.Move(dir); } private void Attack() { if (Input.GetKeyDown(KeyCode.LeftControl)) { _animator.Play("Attack"); // Trigger the attack animation } } private void Jump() { if(Input.GetButtonDown(STR_JUMP)) { _animator.SetTrigger(STR_JUMP); _direction.y += _characteristics.JumpForce; } } private void Rotate() { if(Idle) return; Vector3 target = TargerRotate; target.y = 0; _look = Quaternion.LookRotation(target); float speed = _characteristics.AngularSpeed * Time.deltaTime; transform.rotation = Quaternion.RotateTowards(transform.rotation, _look, speed); } private void PlayAnimation() { float horizontal = _run * _horizontal + _horizontal; float vertical = _run * _vertical + _vertical; _animator.SetFloat(STR_VERTICAL, vertical); _animator.SetFloat(STR_HORIZONTAL, horizontal); } } /* Pog Изначальная задумка с копированием метода Jump и изменением анимации на атаку не сработало, поэтому было принято решение воспользоваться, советами из интеренета и маленько подмшаманить код - итог анимация срабатывает. https://forum.unity.com/threads/unity-error-cs1503-cannot-convert-unity-engine-keycode-to-string-please-help-me.1124857/ https://docs.unity3d.com/ScriptReference/Input.GetKeyDown.html */
0cb44130e864e5d9bd7f13702d18b504
{ "intermediate": 0.29332205653190613, "beginner": 0.4758162796497345, "expert": 0.23086170852184296 }
22,182
rails 5.1.7 напиши пример кода где из формы в erb файле делается post запрос к контроллеру и в контроллер передается поле с json, которое потом в контроллере преобразуется в хэш
232e00c2184185edd49607f6afa3cfab
{ "intermediate": 0.5764933228492737, "beginner": 0.19876477122306824, "expert": 0.22474190592765808 }
22,183
// 查单群ID public $checkChatId = -1001698218494; public function webhook(Request $request){ $updates = $request->all(); Log::info($updates); // 解析最新的消息 if (!empty($updates)) { $latestUpdate = end($updates); $message = $latestUpdate; if(($message && isset($message['chat']) && $message['chat']['id'] == $this->checkChatId) || $message && isset($message['message']) && $message['message']['chat']['id']== $this->checkChatId){ $this->checkBillChat($updates); } } } /** * 查单群响应 */ function checkBillChat($updates){ if(isset($updates['message'])){ $message = $updates['message']; } // 判断是否被 @ 了 if(isset($message) && isset($message['chat']) && isset($message['text']) && $message['chat']['id'] == $this->checkChatId){ return $this->checkOrder($message['text'],$message['message_id']); } if (isset($message['text']) && strpos($message['text'], '@') !== false) { if(preg_match('/(?<=验证码)\d{6}/', $message['text'], $matches)){ return $this->checkVfCode($matches); } // if(preg_match('/(?<=查单).*\S/', $message['text'], $matches)){ // return $this->checkOrder($matches,$message['message_id']); // } if(preg_match('/获取群组id/', $message['text'], $matches)){ if(!$matches) return; sendTgMsg('当前群组id:'.$message['chat']['id'],$message['chat']['id']); } }else if(isset($message['text'])){ sendTgMsg('有人在访问机器人,他说:'.$message['text']); } if (isset($updates['callback_query'])) { $callback_query = $updates['callback_query']; $callbackData = $updates['callback_query']['data']; $callbackDataSplit = explode("#", $callbackData); if($callbackDataSplit[0] === 'balance'){ $this->checkPhoneBalance($callbackDataSplit[1], $callback_query['message']['message_id']); return; }else if($callbackDataSplit[0] === 'callBill'){ $callInfo = $this->callbackOrder($callbackDataSplit[1], $callback_query['message']['message_id']); $status = $callInfo?2:1; $conditions = [ 'business_order'=>$callbackDataSplit[1] ]; $data = [ 'business_order'=>$callbackDataSplit[1], 'status_order'=>$status, 'created_at'=>date("Y-m-d H:i:s",time()), 'remark'=>'商户已回调', ]; $this->creadRecord($conditions, $data); return; }else if($callbackDataSplit[0] === 'callCard'){ $flag = DB::table('telegram_phone_bd') ->where('business_order', $callbackDataSplit[1]) ->where('status_card', 2) ->first(); if($flag){ sendTgMsg('该订单已回调卡单',$this->checkChatId, '',$callback_query['message']['message_id']); return; } $callInfo = $this->callbackCard($callbackDataSplit[1],$callbackDataSplit[2], $callback_query['message']['message_id']); $callInfo = json_decode($callInfo); $conditions = [ 'business_order'=>$callbackDataSplit[1] ]; // 回调成功的 if($callInfo->status === '2'){ $data = [ 'business_order'=>$callbackDataSplit[1], 'status_card'=>$callInfo->status, 'is_split_bill'=>$callInfo->is_split, 'remark'=>$callInfo->resultString, 'hf_orderid_split'=>$callInfo->hf_orderid_split, 'hf_orderid'=>$callInfo->hf_orderid, 'phone'=>$callbackDataSplit[2], 'created_at'=>date("Y-m-d H:i:s",time()) ]; }else{ $data = [ 'business_order'=>$callbackDataSplit[1], 'status_card'=>$callInfo->status, 'remark'=>$callInfo->resultString, 'created_at'=>date("Y-m-d H:i:s",time()) ]; } $this->creadRecord($conditions, $data); return; }else if($callbackDataSplit[0] === 'userOverTime'){ $conditions = [ 'business_order'=>$callbackDataSplit[1] ]; $data = [ 'business_order'=>$callbackDataSplit[1], 'status_order'=>1, 'remark'=>'超时或修改支付', 'created_at'=>date("Y-m-d H:i:s",time()) ]; $this->creadRecord($conditions, $data); $message = $callbackDataSplit[1]."\r\n已确认超时"; sendTgMsg($message,$this->checkChatId, '',$callback_query['message']['message_id']); return; // }else if($callbackDataSplit[0] === 'noCardCall'){ // $conditions = [ // 'business_order'=>$callbackDataSplit[1] // ]; // $data = [ // 'business_order'=>$callbackDataSplit[1], // 'status_card'=>1, // 'remark'=>'无卡单回调', // 'created_at'=>date("Y-m-d H:i:s",time()) // ]; // $this->creadRecord($conditions, $data); // $message = $callbackDataSplit[1]."\r\n已确认无卡单回调"; // sendTgMsg($message,$this->checkChatId, '',$callback_query['message']['message_id']); // return; }else if($callbackDataSplit[0] === 'selfFinish'){ $conditions = [ 'business_order'=>$callbackDataSplit[1] ]; $data = [ 'business_order'=>$callbackDataSplit[1], 'status_card'=>2, 'remark'=>'已在后台处理', 'created_at'=>date("Y-m-d H:i:s",time()) ]; $this->creadRecord($conditions, $data); $message = $callbackDataSplit[1]."\r\n已确认卡单回调"; sendTgMsg($message,$this->checkChatId, '',$callback_query['message']['message_id']); return; } } } 你能优化我的代码吗?
fe4ceab443691e99025baf19dc4f8b13
{ "intermediate": 0.3668285310268402, "beginner": 0.43507689237594604, "expert": 0.19809453189373016 }
22,184
acer@LAPTOP-TA0QKCOO MINGW64 /c/rest_api1 $ node server.js Start server at port 3000. acer@LAPTOP-TA0QKCOO MINGW64 /c/rest_api1 $ npm install express --save up to date, audited 65 packages in 1s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities acer@LAPTOP-TA0QKCOO MINGW64 /c/rest_api1 $ node server.js Start server at port 3000.
a108664229e1991a110ed70051ae4242
{ "intermediate": 0.44950661063194275, "beginner": 0.28627437353134155, "expert": 0.2642190158367157 }
22,185
So I'm using unreal engine 5. I have a PlayerCharacter C++ Class called NovaPlayerCharacter. Inside my header file, I have added this: public: ANovaPlayerCharacter(); UPROPERTY(BlueprintReadWrite, Category = "Interaction") FName InteractionTraceStartSocket; UPROPERTY(BlueprintReadWrite, Category = "Interaction") float InteractionRange; Inside the .cpp file I have added these default values: InteractionTraceStartSocket = FName("Head"); InteractionRange = 280.f; Everything works fine, however in my child blueprint, those variables aren't showing up in the class defaults. When I change the lines to: UPROPERTY(BlueprintReadWrite, VisibleAnywhere, Category = "Interaction") FName InteractionTraceStartSocket; UPROPERTY(BlueprintReadWrite, VisibleAnywhere, Category = "Interaction") float InteractionRange; for example, the variables show up in the Class Default settings inside the child blueprint
a356689a52492cad211f14382a52f645
{ "intermediate": 0.18628515303134918, "beginner": 0.7485215663909912, "expert": 0.06519334018230438 }
22,186
измени макрос, если в книге 'mybase.xlsm" в столбце "A" есть повторяющиеся значения, то значения которые есть напротив в столбце "B" подставляются в виде выпадающего списка в столбце "F" - Sub MacroMain() On Error Resume Next Application.ScreenUpdating = False Application.Calculation = xlCalculationManual Dim i As Long, thisWB As Workbook Set thisWB = ActiveWorkbook Set baseWB = Workbooks("myBase.xlsm") If Err.Number <> 0 Then MsgBox "Откройте Базу и попробуйте еще раз!", vbInformation, Environ("USERNAME") On Error GoTo 0 Exit Sub End If UserForm1.Show vbModeless UserForm1.Repaint lLastRow1 = ActiveWorkbook.ActiveSheet.Cells(Rows.Count, 2).End(xlUp).Row lLastRow2 = Workbooks("myBase.xlsm").Sheets("База").Cells(Rows.Count, 2).End(xlUp).Row rng1 = ActiveWorkbook.ActiveSheet.Range("B9:B" & lLastRow1) rng2 = Workbooks("myBase.xlsm").Sheets("База").Range("A1:B" & lLastRow2) For n = 1 To UBound(rng1) For k = 1 To UBound(rng2) If rng1(n, 1) = rng2(k, 1) Then ActiveWorkbook.ActiveSheet.Range("F" & n + 8) = rng2(k, 2) GoTo qqq End If Next qqq: Next n UserForm1.Hide Unload UserForm1 Application.ScreenUpdating = True Application.Calculation = xlCalculationAutomatic End Sub
f5a21498c9b31b89e4757ce5113cb716
{ "intermediate": 0.4342440962791443, "beginner": 0.321871817111969, "expert": 0.24388405680656433 }
22,187
what's docker exit code 136 means
fff8fb283fdaee444fdc404266ccfda4
{ "intermediate": 0.407294899225235, "beginner": 0.27360835671424866, "expert": 0.31909677386283875 }
22,188
Make it so that while the attack animation is not over, others could not start using UnityEditor.Experimental.GraphView; using UnityEngine; [RequireComponent(typeof(CharacterController))] [RequireComponent(typeof(Animator))] public class ThirdPersonMovement : MonoBehaviour { [SerializeField] private Transform _camera; [SerializeField] private MovementCharacter _characteristics; private float _vertical, _horizontal, _run; private readonly string STR_VERTICAL = "Vertical"; private readonly string STR_HORIZONTAL = "Horizontal"; private readonly string STR_RUN = "Run"; private readonly string STR_JUMP = "Jump"; private readonly string STR_ATTACK = "Attack"; private const float DISTANCE_OFFFSET_CAMERA = 5f; private CharacterController _controller; private Animator _animator; private Vector3 _direction; private Quaternion _look; private Vector3 TargerRotate => _camera.forward * DISTANCE_OFFFSET_CAMERA; private bool Idle => _horizontal == 0.0f && _vertical == 0.0f; private void Start() { _controller = GetComponent<CharacterController>(); _animator = GetComponent<Animator>(); Cursor.visible = _characteristics.VisibleCursor; } private void Update() { Movement(); Rotate(); } private void Movement() { if(_controller.isGrounded) { _horizontal = Input.GetAxis(STR_HORIZONTAL); _vertical = Input.GetAxis(STR_VERTICAL); _run = Input.GetAxis(STR_RUN); _direction = transform.TransformDirection(_horizontal, 0, _vertical).normalized; PlayAnimation(); Jump(); Attack(); } _direction.y -= _characteristics.Gravity * Time.deltaTime; float speed = _run * _characteristics.RunSpeed + _characteristics.MovementSpeed; Vector3 dir = _direction * speed * Time.deltaTime; dir.y = _direction.y; _controller.Move(dir); } private void Attack() { if(Input.GetButtonDown(STR_ATTACK)) { _animator.SetTrigger(STR_ATTACK); } } private void Jump() { if(Input.GetButtonDown(STR_JUMP)) { _animator.SetTrigger(STR_JUMP); _direction.y += _characteristics.JumpForce; } } private void Rotate() { if(Idle) return; Vector3 target = TargerRotate; target.y = 0; _look = Quaternion.LookRotation(target); float speed = _characteristics.AngularSpeed * Time.deltaTime; transform.rotation = Quaternion.RotateTowards(transform.rotation, _look, speed); } private void PlayAnimation() { float horizontal = _run * _horizontal + _horizontal; float vertical = _run * _vertical + _vertical; _animator.SetFloat(STR_VERTICAL, vertical); _animator.SetFloat(STR_HORIZONTAL, horizontal); } }
57ef2e41ce6fd10f8737026ce8e265e1
{ "intermediate": 0.3234444558620453, "beginner": 0.46832308173179626, "expert": 0.20823243260383606 }
22,189
write the game code in c# as simple but interesting as possible
b4e8f994fbc0b110cde65fe13edfe2e1
{ "intermediate": 0.32984665036201477, "beginner": 0.42823508381843567, "expert": 0.24191822111606598 }
22,190
write the game code in c# the idea is the following, it should be a simple card game where each card has its own characteristics
cb2c8b33a214e1ef50fc12b5435bfeff
{ "intermediate": 0.476453572511673, "beginner": 0.25677838921546936, "expert": 0.26676806807518005 }
22,191
make a C program that has two functions, 1 to print the machineguid and annother to change it to a random one. Sure, here is a program written in C to
85d1886ad182085a0f771c2c988ebd2b
{ "intermediate": 0.21155400574207306, "beginner": 0.3861786425113678, "expert": 0.4022674262523651 }
22,192
Can you add method for poisson noise? class NoiseType(enum.Enum): GAUSSIAN = 0 DROPOUT = 1 DIRECT = 2 POISSON = 3 class RandomNoise(nn.Module): def __init__(self, sigma=0.1, dropout_rate=0.5, is_relative_detach=True): super().__init__() self.sigma = sigma self.dropout_rate = dropout_rate self.is_relative_detach = is_relative_detach def forward(self, x): noise_type = NoiseType(torch.randint(0, 4, (1,)).item()) x = self.apply_noise(x, noise_type) return x def apply_noise(self, x, noise_type): if self.training: if noise_type == NoiseType.GAUSSIAN: return self.apply_gaussian_noise(x) elif noise_type == NoiseType.DROPOUT: return self.apply_dropout_noise(x) elif noise_type == NoiseType.POISSON: return self.apply_poisson_noise(x) elif noise_type == NoiseType.DIRECT: return x return x def apply_gaussian_noise(self, x): if self.sigma != 0: scale = self.sigma * x.detach().float() if self.is_relative_detach else self.sigma * x.float() sampled_noise = torch.randn_like(x) * scale return x + sampled_noise else: return x def apply_dropout_noise(self, x): return nn.functional.dropout(x, self.dropout_rate, training=self.training)
46921923176356561e382c5c1585f448
{ "intermediate": 0.2860157787799835, "beginner": 0.2922804355621338, "expert": 0.4217038154602051 }
22,193
dataset = get_preprocessed_dataset(tokenizer, samsum_dataset, split='train') надо еще eval_dataset
fb31c29b1890fb6f2bbe69e6c1169bc3
{ "intermediate": 0.434022456407547, "beginner": 0.17354218661785126, "expert": 0.39243534207344055 }
22,194
Hello
0699003621ae138f1c5c4eee223d2f44
{ "intermediate": 0.3123404085636139, "beginner": 0.2729349136352539, "expert": 0.4147246778011322 }
22,195
readprocessmemory try to read byte if it's not accessible skip byte and try next byte
8c7808aa75c38d8a6724192788924582
{ "intermediate": 0.4373827874660492, "beginner": 0.12801389396190643, "expert": 0.4346033036708832 }
22,196
I have a VBA event that checks a worksheet wscf for empty values in column I and then it presents the value in column J to another worksheet wsjr in column D. I would like to add to the condition as following; If the value in column I of wscf is empty present the value in column J If the value in column I of wscf is empty and the value in column B is 'Service' present the value in column J only if the date value in column H is less than todays date + 40 Please can you write this condition for me for the VBA event below Sub OutstandingJobs() Application.EnableEvents = False Application.ScreenUpdating = False Dim wscf As Worksheet Dim wsjr As Worksheet Dim lastRow As Long Dim copyRange As Range Dim i As Long ActiveSheet.Range("D9:D14").ClearContents Application.Wait (Now + TimeValue("0:00:01")) ActiveSheet.Range("I2").formula = ActiveSheet.Range("I2").formula Application.Wait (Now + TimeValue("0:00:01")) ActiveSheet.Range("H3").formula = ActiveSheet.Range("H3").formula If ActiveSheet.Range("I2") = "" Or 0 Then Application.ScreenUpdating = True Application.EnableEvents = True Exit Sub End If Application.EnableEvents = False Application.ScreenUpdating = False Set wscf = Sheets(Range("I2").Value) Set wsjr = Sheets("Job Request") lastRow = wscf.Cells(Rows.count, "J").End(xlUp).Row For i = 5 To lastRow If wscf.Cells(i, "I") = "" Then If copyRange Is Nothing Then Set copyRange = wscf.Range("J" & i) Application.ScreenUpdating = True Application.EnableEvents = True Else Set copyRange = Union(copyRange, wscf.Range("J" & i)) Application.ScreenUpdating = True Application.EnableEvents = True End If End If Next i If Not copyRange Is Nothing Then wsjr.Range("D9").Resize(copyRange.Rows.count, 1).Value = copyRange.Value End If Application.ScreenUpdating = True Application.EnableEvents = True Call FixedRates End Sub
63ac1ec1f8008928c41fdaef80e43ce5
{ "intermediate": 0.43485966324806213, "beginner": 0.3284802734851837, "expert": 0.23666010797023773 }
22,197
make a .sh script to compile my C program using gcc to diffrent architectures. here;s the base command: gcc ./bot/main.c -o ./output/bot.bin replace the bin with the architecture and "bot" with a string you can change in the script.
0a21a2fc3e047b5c02ba188544477f53
{ "intermediate": 0.400345116853714, "beginner": 0.2187238484621048, "expert": 0.3809310495853424 }
22,198
make a .sh script to compile my C program using gcc to diffrent architectures. here;s the base command: gcc ./bot/main.c -o ./output/bot.bin replace the bin with the architecture and “bot” with a string you can change in the script. Sure! Here’s an
790cfc838287b63e56d3c3c4d67727a8
{ "intermediate": 0.4293135702610016, "beginner": 0.1737695187330246, "expert": 0.39691686630249023 }
22,199
hi
1fd15373e719330f6c08404f28639fbd
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
22,200
make a .sh script to compile my C program using gcc to diffrent architectures. here;s the base command: gcc ./bot/main.c -o ./output/custom.bin replace the “custom" with names from this list: L1='jackmymipsel' #mipsel L2='jackmymips' #mips L3='jackmysh4' #sh4 L4='jackmyx86' #x86_64 L5='jackmyarmv6' #armv6l L6='jackmyi686' #i686 L7='jackmypowerpc' #powerpc L8='jackmyi586' #i586 L9='jackmym86k' #m86k L10='jackmysparc' #sparc
83be6408de96e651f806b01ac9193376
{ "intermediate": 0.39480799436569214, "beginner": 0.21118813753128052, "expert": 0.39400389790534973 }
22,201
make a .sh script to compile my C program using gcc to diffrent architectures. here;s the base command: gcc ./bot/main.c -o ./output/custom.bin replace the “custom" with names from this list: L1='jackmymipsel' #mipsel L2='jackmymips' #mips L3='jackmysh4' #sh4 L4='jackmyx86' #x86_64 L5='jackmyarmv6' #armv6l L6='jackmyi686' #i686 L7='jackmypowerpc' #powerpc L8='jackmyi586' #i586 L9='jackmym86k' #m86k L10='jackmysparc' #sparc
cd6faf11b022de9b10d606876670c9e4
{ "intermediate": 0.39480799436569214, "beginner": 0.21118813753128052, "expert": 0.39400389790534973 }
22,202
statistically which website are the most visited?
1a39e9e40ae25a8781fd894ffcd16084
{ "intermediate": 0.3885418474674225, "beginner": 0.3822600543498993, "expert": 0.22919809818267822 }