text
stringlengths
4.4k
422k
metadata
stringlengths
39
6.04k
\section{Mạng Nơ-ron} % \subsubsection{Đơn vị Nơ-ron cơ bản} % Tương tự như thuật toán tiến hóa, mạng Nơ-ron hay còn gọi là mạng Nơ-ron nhân tạo cũng là một ý tưởng được lấy cảm hứng từ mạng Nơ-ron thần kinh của con người. Trong đó, Nơ-ron thần kinh là một đơn vị cơ bản cấu tạo hệ thống thần kinh quan trọng nhấ...
[{"idx": "126977", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-16760.jsonl"}, {"idx": "1833907", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-16760.jsonl"}]
The immediate and long term effects of slashing wounds in microgravity Question: What would be the specific long term and short term outcomes of slashing wounds in microgravity? The scenario is that a normal adult is slashed with a knife in a microgravity environment. Assume standard atmospheric pressure and normal at...
[{"idx": "The_immediate_and_long_term_effects_of_slashing_wounds_in_microgravity", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-10672.jsonl"}, {"idx": "https://serverfault.com/questions/151230", "domain": "stack_exchange", "domain2": "", "header_fo...
### Here is some exercises for multiplication, subtraction, addition, division fundamental math study guide: 666 + 294 = 960 ### 229 / 298 = 0.77 ### 1180 / 1012 = 1.17 ### 1645 - 1969 = -324 ### 680 / 714 = 0.95 ### 1429 * -52 = -74308 ### 865 * 1816 = 1570840 ### 1905 * 1147 = 2185035 ### 1631 * 1696 = 27...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
Proxy Authentication with JDK 11 HttpClient Question: I'm trying to use JDK 11 HttpClient to make requests through a corporate proxy which requires authentication by login and password. According to JDK's intro, I'm building an instance of client by means of: <code>HttpClient httpClient = HttpClient.newBuilder() ...
[{"idx": "Proxy_Authentication_with_JDK_11_HttpClient", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-2219.jsonl"}, {"idx": "Python_running_significantly_faster_than_C++?_Something_seems_wrong_here", "domain": "stack_exchange", "domain2": "stackexch...
# # KF EM RTS Nomoto # + # %load_ext autoreload # %autoreload 2 import pandas as pd import numpy as np from src.extended_kalman_filter import extended_kalman_filter, simulate, rts_smoother import src.extended_kalman_filter as ekf from src.visualization.plot import plot import src.visualization.book_format as book_...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-468.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-468.jsonl"}]
Running Script through image in Locked gSheet Question: Trying to run a script triggered by an image inserted in a protected sheet. The sheet is shared by several users. oOly the author is enabled to edit; all other users are locked out via <code>setDomainEdit(false)</code>, except for range ('a1:b3'). when a user c...
[{"idx": "Running_Script_through_image_in_Locked_gSheet", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-22617.jsonl"}, {"idx": "How_can_bring_these_functions_under_the_integral?", "domain": "stack_exchange", "domain2": "stackexchange", "header_foote...
import Response from './response'; import util from 'util'; import { ServerError, NotFoundError, ClientError, ParserError, UnknownError, NetworkError, AuthenticationError } from './errors'; /** * Listen to changes in the HTTP request and build Response/ResponseError * objects accordingly. * * @...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14812.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14812.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
How do "family" deductibles work on US health insurance policies? Question: In the past, I have had individual health insurance. If I had a $1000 deductible, that meant that I had to pay the first $1000 of my health expenditures each year. Next year, I expect to have a family health insurance policy. Suppose that I ...
[{"idx": "How_do_\"family\"_deductibles_work_on_US_health_insurance_policies?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-16751.jsonl"}, {"idx": "NPE_on_safe_called_variable_in_kotlin._What_is_the_reason_behind_it_and_How_it_can_be_solved?", "do...
Temperature Changes in a Venturi Tube Question: If we have a gas (like air) moving through the narrow throat of a Venturi Tube, do we get a lower temperature to go with the lower pressure at that throat? Here's what I've worked out: For Venturi tube problems with use the equation of continuity, $A_1 v_1=A_2 v_2$ and t...
[{"idx": "Temperature_Changes_in_a_Venturi_Tube", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-23022.jsonl"}, {"idx": "Format_number_in_android_EditText_on_realtime_editing_#,###", "domain": "stack_exchange", "domain2": "stackexchange", "header_foo...
polynomials: evaluate composed ------------------------------ Situation: Suppose 4*v = 2*d - 16, 2*d - 5*v - 23 = -2*d. Let a(n) = -3 - 1 - 1 - d + n. What is a(0)? Solution: -7 Situation: Let x(d) = -d + 3*d - 4*d. Let f be x(-2). Let s(p) be the third derivative of p**4/24 + p**3/6 + 88*p**2. Give s(f). Solution: 5 S...
[{"idx": "txt360/polynomials__evaluate_composed_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-0.jsonl"}, {"idx": "txt360/arithmetic__simplify_surd_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-0.jsonl"}]
Redmine: How to move wiki pages to another project's wiki? Question: I have several wiki pages in a subproject B of my parent project A. Now I want to move them from B's wiki to A's wiki. How can I do this without copy-and-pasting all pages? The guys at the Redmine forum suggest to edit the SQL database directly; ther...
[{"idx": "Redmine:_How_to_move_wiki_pages_to_another_project's_wiki?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-14475.jsonl"}, {"idx": "Refresh_the_datagrid_in_endedit_event_using_windows_application", "domain": "stack_exchange", "domain2": "st...
*/ package volumebinding import ( "context" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/kubernetes/pkg/controller/volume/scheduling" framework "k8s.io/kubernetes/pkg/scheduler/framework/v1alpha1" schedulernodeinfo "k8s.io/kubernetes/pkg/scheduler/nodeinfo" ) // VolumeBinding is a plugin ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13289.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13289.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
Q: SQLSTATE[42000] Exceptions on reindex I updated my MAMP site from EE 1.14.1.0 to EE 1.14.2.0. After updating, I also applied the new patch for PHP 7. The site also has all of the required SUPEES. When I try and do a reindexall command inside of terminal, I get the following error an all indexes except for Product At...
[{"idx": "https://magento.stackexchange.com/questions/248623", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-28223.jsonl"}, {"idx": "https://magento.stackexchange.com/questions/160240", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en"...
### Description: prework* load basic dependencies* load data* check data ### Code: ``` pd.read_csv) # Input data files are available in the read-only "../input/" directory import os # You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a vers...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-6540.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-6540.jsonl"}]
comparison: pair composed ------------------------- Conundrum: Suppose 1 = 3*y - 2. Let g be y*(0 + 1 + 0). Are 2 and g unequal? Therefore: True Conundrum: Let t(m) = 3*m - 6. Let r be t(3). Suppose 0 = 8*z - r*z. Which is smaller: z or -1/49? Therefore: -1/49 Conundrum: Suppose 792*g - 787*g - 70 = 0. Which is smaller...
[{"idx": "txt360/comparison__pair_composed_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}, {"idx": "txt360/calculus__differentiate_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}]
json not reaching the remote server Question: I am trying to run an application on remote server when i try to register a user it return this. The same application is working fine on establishing a server on my Laptop. I want to know if I am missing any dependency on LINUX to recieve JSON on my server end. org.json.J...
[{"idx": "json_not_reaching_the_remote_server", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-22730.jsonl"}, {"idx": "Automating_Passphrase_in_a_Bash_Script_(steghide,_gpg,_etc.)", "domain": "stack_exchange", "domain2": "stackexchange", "header_foot...
#!/usr/bin/env python3 def multM(m1,m2): n1=len(m1) n2=len(m2) m3=[[0 for i in range(n1)] for j in range(n1)] for k in range(n1): for i in range(n1): res=0 res+=m1[i][j]*m2[j][k] print(res) m3[k][i]=res return m3 def genId(l,coef=1): ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15078.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15078.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
let myLibrary = []; let objectArray = []; let newBook; let allBooks = JSON.parse(localStorage.getItem("allBooks")); let targetedObj; class Book { constructor(title, author, pages, language, date, status) { this.title = title; this.author = author; this.pages = pages; this.language = language; this...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14942.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14942.jsonl"}]
Q: Custom Master Page deployed at site collection level using visual studios in SharePoint 2013 I have created and deployed a custom master page using visual studio'. Deployed and i can see the master page under _catalog/masterpage folder in sharepoint designer under the root site collection. But in the sub-site it is ...
[{"idx": "https://sharepoint.stackexchange.com/questions/171736", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-5139.jsonl"}, {"idx": "https://serverfault.com/questions/1110356", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "sour...
Optimizing a query, not sure where to start. Written by someone else Question: All of the Left outer joins can't be good. The execution plan on the batch says this query cost 81% of the overall batch. Is there any other way to write the left outer joins without so much query cost! They are performing much of the sa...
[{"idx": "Optimizing_a_query,_not_sure_where_to_start._Written_by_someone_else", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-8336.jsonl"}, {"idx": "printing_a_square_with_diagonals", "domain": "stack_exchange", "domain2": "stackexchange", "header_...
How to get values inside values using php DOM? Question: How can i get values inside <![CDATA[values]] > using php DOM. This is few code from my xml. <code> <Destinations> <Destination> <![CDATA[Aghia Paraskevi, Skiatos, Greece]]> <CountryCode>GR</CountryCode> </Destinati...
[{"idx": "How_to_get_values_inside_values_using_php_DOM?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-26757.jsonl"}, {"idx": "type/class___repr___formatter_for_Python_objects", "domain": "stack_exchange", "domain2": "stackexchange", "header_foote...
How can I get keyboard shortcuts for certain characters listed in character map that don't have an ALT equivalent listed? Question: Does anyone know how to get a complete listing of character map equivalents? For example, look in Windows character map under Arial for ¼ . It says you can type ALT+0188 . But some things...
[{"idx": "How_can_I_get_keyboard_shortcuts_for_certain_characters_listed_in_character_map_that_don't_have_an_ALT_equivalent_listed?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-1520.jsonl"}, {"idx": "How_to_menu_on_one_line_and_always_in_center?"...
PHP move_uploaded_file() error? Question: I using following code and it is successfully uploading files on my local machine. It is showing "Successfully uploaded" on my local machine. <code>// Upload file $moved = move_uploaded_file($_FILES["file"]["tmp_name"], "images/" . "myFile.txt" ); if( $moved ) { echo "Succe...
[{"idx": "PHP_move_uploaded_file()_error?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-23197.jsonl"}, {"idx": "Not_update_Table_after_saving_or_updating_Core_data_-_Swift", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": ...
```rust use std::cell::RefCell; use std::rc::Rc; #[aoc_generator(day7)] pub fn gen(input: &str) -> HashMap<String, Vec<(usize, String)>> { let words: Vec<_> = line.split(' ').collect(); let source = words[..2].join(" "); if words[4] == "no" { rules.insert(source, vec![]); ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13749.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13749.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
import { Component, Types, TagComponent } from 'ecsy'; import { Scene } from '@babylonjs/core/scene'; import { AssetContainer } from '@babylonjs/core/assetContainer'; // [IDX] class Room extends Component<any> { // [IDX] //"This can be used to add/remove all objects in a scene without the need to exit WebVR" ass...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18651.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18651.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
*/ import { Directive, Input } from '@angular/core'; import { FormControl } from '@angular/forms'; import { NG_VALIDATORS } from '@angular/forms'; import { forwardRef } from '@angular/core'; @Directive({ selector: '[jhiMin][ngModel]', providers: [ { provide: NG_VALIDATORS, useExisting: forwardRef(() =>...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-1465.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-1465.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
polynomials: collect -------------------- Issue: Collect the terms in 36*q + 2*q**2 - 2*q**2 - 29*q**3 + 20*q**3 - q - q**2. Answer: -9*q**3 - q**2 + 35*q Issue: Collect the terms in -131*z**2 - 6*z**3 + 131*z**2. Answer: -6*z**3 Issue: Collect the terms in 13*i - 10*i - 32*i. Answer: -29*i Issue: Collect the terms in ...
[{"idx": "txt360/polynomials__collect_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-7.jsonl"}, {"idx": "txt360/polynomials__collect_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-7.jsonl"}]
comparison: pair ---------------- Given: Is -3295267 less than -3295368? Outcome: False Given: Are 11/26 and 1 non-equal? Outcome: True Given: Which is smaller: 133 or 134? Outcome: 133 Given: Which is bigger: 3 or 8? Outcome: 8 Given: Which is smaller: 54827672 or -0.12? Outcome: -0.12 Given: Which is smaller: -7309 o...
[{"idx": "txt360/comparison__pair_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-3.jsonl"}, {"idx": "txt360/arithmetic__mixed_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-3.jsonl"}]
#! /bin/sh #set -x #----------------------------------------------------------------------------- # Run grok on # * wildfly log # * activemq log # * logstash log # * flume log # #----------------------------------------------------------------------------- #----------------------------------------------------------...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-17517.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-17517.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
import React from 'react'; import {useI18n} from 'locale'; import {Text, Box} from 'components'; import {ExposureStatusType, useExposureStatus} from 'services/ExposureNotificationService'; import {getUploadDaysLeft} from 'shared/date-fns'; import {pluralizeKey} from 'shared/pluralization'; import {useStorage} from 'ser...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2749.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2749.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
### Please examine the set of addition, multiplication, division, subtraction math exercises: -9 - 966 = -975 ### 1456 * 75 = 109200 ### 335 - 1606 = -1271 ### 284 / 374 = 0.76 ### -292 / -626 = 0.47 ### 1587 - 5 = 1582 ### 1929 + 1301 = 3230 ### 1221 - 1450 = -229 ### -625 / 1083 = -0.58 ### 1631 - 924 = ...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
How append live search results from ajax call in Google style? Question: I have a Ajax live search function that successfully returns the values it needs to return. But I simply need to list the results like Google or Youtube, which I can't figure out how to do it(this is my first time making a live search function). ...
[{"idx": "How_append_live_search_results_from_ajax_call_in_Google_style?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-25674.jsonl"}, {"idx": "add_filter_function_concatenate_string_and_locate_template_function", "domain": "stack_exchange", "domai...
How to formalize/organize a massive amount of eventHandler in jQuery? Question: I am new to JavaScript and can't figure out how to code a massive amount of eventHandler, like <code>mouseover</code>/<code>mouseout</code>. Imagine I have to type of elements on a page. Each element should trigger a specific event. Do I h...
[{"idx": "How_to_formalize/organize_a_massive_amount_of_eventHandler_in_jQuery?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-11701.jsonl"}, {"idx": "Android_DynamoDB_mapper.save_crash", "domain": "stack_exchange", "domain2": "stackexchange", "hea...
Question about a degree 6 Galois extension $K(\omega) : \mathbb{Q}$ Question: Let $K : \mathbb{Q}$ be a finite Galois extension with Galois group $\mathbb{Z}/3$ Let $K(\omega) : \mathbb{Q}$ be a Galois extension with Galois group $G \cong \mathbb{Z}/6 \cong \mathbb{Z}/3 \times \mathbb{Z}/2$, where $\omega $ is the st...
[{"idx": "Question_about_a_degree_6_Galois_extension_$K(\\omega)_:_\\mathbb{Q}$", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-22155.jsonl"}, {"idx": "Error_with_Spring_AppRoleAuthentication_-_URI_is_not_absolute", "domain": "stack_exchange", "doma...
Wrong client id value calling UIData.getClientId in an action method fired from UIColumn Question: This is my the escenario: A h:dataTable with a HtmlDataTable object binding in the backed bean. Calling a getClientId for the HtmlDataTable in an action method fired by a command button inside of a h:column is give me t...
[{"idx": "Wrong_client_id_value_calling_UIData.getClientId_in_an_action_method_fired_from_UIColumn", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-2457.jsonl"}, {"idx": "Wrap_and_unwrap_keys_with_WebCrypto_API", "domain": "stack_exchange", "domain2"...
Oracle - use regular expression to format capturing groups Question: I'm looking to use REGEXP_REPLACE (or equivalent functions) to format my strings to be fixed length outputs. For example. My input is always 3 sets of random strings, delimited by commas. I want the output to have a fixed length of 10 characters (fil...
[{"idx": "Oracle_-_use_regular_expression_to_format_capturing_groups", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-27147.jsonl"}, {"idx": "ms-access_built_in_function_Month(number)", "domain": "stack_exchange", "domain2": "stackexchange", "header_...
Form popup box button action link Question: I have a PHP form and its action link is another PHP page which adds the data the user has entered into a database. The other PHP page is looking for this: <code>if (isset($_POST['submit'])) { </code> Previously I was having trouble displaying a popup before sending the PHP ...
[{"idx": "Form_popup_box_button_action_link", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-19550.jsonl"}, {"idx": "Do_spins_have_spatial_directions?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "sourc...
*/ import Then from 'core/then'; import Response from 'core/request/response'; import RequestContext from 'core/request/context'; import { StatusCodes } from 'core/status-codes'; export type RequestMethods = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'CONNECT' | 'OPTIONS' | 'TRACE'; export type ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18196.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18196.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
*/ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "ds_common.h" #include "common/_error.h" #include "common/list.h" #include "common/oscap_acquire.h" #include "source/oscap_source_priv.h" #include "source/public/oscap_source.h" #include <libxml/tree.h> xmlDoc *ds_doc_from_foreign_node(xmlNode *node, xmlDo...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13171.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-13171.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
how to link Qt with a visual studio c++ application project? Question: I have Qt 5.12.0 in a folder. I need to create a dll and/or a bin project that can connect with a QML program. My problem is that the vs project can't find the Qt files I need. <code>#include <QGuiApplication> </code> does not work. This topic is...
[{"idx": "how_to_link_Qt_with_a_visual_studio_c++_application_project?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-25586.jsonl"}, {"idx": "Is_there_a_way_to_find_space_element(ASCII:_32)_between_strings_in_C", "domain": "stack_exchange", "domain...
Converting UnitVolume.metricCups to a fraction in swift 4 Question: Is it possible to convert the format that comes out of <code>converted(to: UnitVolume.metricCups)</code> into a fraction so the answer is read just like you would from say a cookbook etc. Example after the conversion is complete I get an answer of <c...
[{"idx": "Converting_UnitVolume.metricCups_to_a_fraction_in_swift_4", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-16441.jsonl"}, {"idx": "Not_placing_waitFor_statement_before_findBy_cause_test_to_fail_-_React_Testing_Library", "domain": "stack_exc...
Q: Send sleep command to usb disk mounted as /home (Fedora 20) from shutdown script I have a usb sata2 drive connected to usb that is mounted as /home. When I turn off the computer/laptop the disk makes some high pitch sound as if the disks were still spinning and heads were not parked when the power goes off. This sou...
[{"idx": "https://unix.stackexchange.com/questions/187810", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-11182.jsonl"}, {"idx": "https://wordpress.stackexchange.com/questions/295037", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en",...
how to animate google maps api circle? Question: I have build a pulse animation in <code>CSS3</code>I would like to implement in to marker in google maps api unfortunately it is not possible direct insert in to the map. Is there any option to the <code>CSS3</code> animation or Is it possible to make google map circle ...
[{"idx": "how_to_animate_google_maps_api_circle?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-8778.jsonl"}, {"idx": "probability_of_sequence_of_random_variables", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang"...
import React, { useState } from 'react'; import { View, Text, KeyboardAvoidingView, TextInput } from 'react-native'; import styles from './styles'; import { RectButton } from 'react-native-gesture-handler'; import { useNavigation } from '@react-navigation/native'; import { valuesAreNotEmpty } from '../../utils/valuesAr...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5821.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5821.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
import sys import time from SymmetricAlgorithms import SymmetricAlgorithms from ASymmetricAlgorithms import ASymmetricAlgorithms ### Error Handling ### class ArgsError(Exception): ## Errors/Exceptions in script calls ## pass class FileError(Exception): ## Errors/Exceptions in file IO ## pass class Ciphe...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10103.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10103.jsonl"}]
Q: Install sharepoint 2010 with existing databases I have a SP2010 server farm but need to reinstall sp as I never set a sql alias. If I do this, how do I restore the original farm/central admin and admin content db's? I have the above DB's, web app db's, and user profile db's. Also, I installed sharepoint 2010 sp1 + j...
[{"idx": "https://sharepoint.stackexchange.com/questions/37066", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-5129.jsonl"}, {"idx": "https://serverfault.com/questions/1076652", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "sourc...
Using React Hooks for Data Provider and Data Context Question: I am currently reworking my <code>DataProvider</code>, updating it from a class component to a functional component with React Hooks. I believe my issue is in the way I am setting up my context consumer but I haven't found a good way to test this. DataProv...
[{"idx": "Using_React_Hooks_for_Data_Provider_and_Data_Context", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-27953.jsonl"}, {"idx": "https://askubuntu.com/questions/688422", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "...
;;; Commentary: ;; WYSIWYG, html mime composition using org-mode ;; ;; For mail composed using the orgstruct-mode minor mode, this ;; provides a function for converting all or part of your mail buffer ;; to embedded html as exported by org-mode. Call `org-mime-htmlize' ;; in a message buffer to convert either the act...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-17921.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-17921.jsonl"}]
### Think deeply about this set of division, addition, subtraction, multiplication math exercises: -98 / 172 = -0.57 ### 274 * 878 = 240572 ### 54 - 26 = 28 ### 1836 / 1187 = 1.55 ### 271 / -133 = -2.04 ### 1847 * 572 = 1056484 ### -13 - 714 = -727 ### 543 + 1141 = 1684 ### 196 / 150 = 1.31 ### -16 * 482 = ...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
algebra: linear 2d composed --------------------------- Q-: Let k(l) = -5*l**2 + 6*l - 1. Let h be k(1). Let z be -2 + (-3 - -5) - h. Solve -5*u - 20 = z, t - u - 5 = 3 for t. Result: 4 Q-: Let o(a) = -a**3 + 9*a**2 - 16*a + 21. Let t be o(13). Let f = t + 870. Solve 4*c + 3*l + f = 0, l = 5*c + 3*l for c. Result: 2 Q-...
[{"idx": "txt360/algebra__linear_2d_composed_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-9.jsonl"}, {"idx": "txt360/numbers__place_value_composed_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-9.jsonl"}]
""" import logging import socketio from datetime import datetime import mediapipe as mp import cv2 import requests class MojoPerceptionAPI: """ This class is a MojoPerception API client. See README for a procedure to generate api_key. """ def __init__(self, api_key, expiration=360): """ ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-11827.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-11827.jsonl"}]
import { DocPatch } from 'sengi-interfaces' import { ensureHeaderJsonAcceptType, ensureDocTypeFromSingularOrPluralName, ensureHeaderRequestId, ensureHeaderReqVersion, ensureHeaderApiKey, ensureHeaderUser } from '../requestValidation' import { applyErrorToHttpResponse, applyResultToHttpResponse } from '../responseGenera...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18700.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-18700.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
// class for serializing (matlab format) to a file // & read (binary format) from a mmaped file. #ifndef __SERIALIZE_H__ #define __SERIALIZE_H__ #include <string> #include <vector> #include <array> using namespace std; class Serialize { public: string m_name; int m_lastBackup; //index+1 of last record saved to back...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4521.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4521.jsonl"}]
#include <stdarg.h> int sum1(int x, ...) { va_list ap; va_start(ap, x); for (;;) { int y = va_arg(ap, int); if (y == 0) return x; x += y; } } int sum2(int x, ...) { va_list ap; va_start(ap, x); for (;;) { double y = va_arg(ap, double); x += y; int z = va_arg(ap, int); ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-19419.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-19419.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
Using non-anonymous function inside jQuery's 'filter()` Question: Im using jQuerys <code>filter()</code> inside of a <code>for loop</code> and i want to refactor my code to not use an anonymous function, for performance reasons. What i currently have: <code>function filterSegments() { var myVar = 5; for (var i=0; ...
[{"idx": "Using_non-anonymous_function_inside_jQuery's_'filter()`", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-11040.jsonl"}, {"idx": "SQL_Query_-_put_multiple_condition_on_one_product", "domain": "stack_exchange", "domain2": "stackexchange", "he...
polynomials: collect -------------------- Let: Collect the terms in -2368*x**3 - 2372*x**3 + 4733*x**3. Ans: -7*x**3 Let: Collect the terms in -5581*z - 581*z**2 + 2743*z + 2838*z. Ans: -581*z**2 Let: Collect the terms in 8547*u + 2894*u + 1140*u + 6143*u. Ans: 18724*u Let: Collect the terms in 57282*c**3 + 7*c**2 - 13...
[{"idx": "txt360/polynomials__collect_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-11.jsonl"}, {"idx": "txt360/comparison__sort_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-11.jsonl"}]
What ammo does a launcher-type regimental favored weapon come with? Question: In Only War, two classes, the Weapons Specialist and the Heavy Gunner, can start the game equipped with Launcher-type weapons. The errata has clarified that class equipment comes with three 'clips'. What does that mean for Launchers, however...
[{"idx": "What_ammo_does_a_launcher-type_regimental_favored_weapon_come_with?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-20168.jsonl"}, {"idx": "Flag_Non-Unique_Rows_(After_the_First_Instance)", "domain": "stack_exchange", "domain2": "stackexch...
### Study this set of multiplication, division, addition, subtraction math exercises: 597 * 988 = 589836 ### 959 * 2205 = 2114595 ### 1790 * 1713 = 3066270 ### 269 + 2130 = 2399 ### 819 * 1785 = 1461915 ### 220 * 1160 = 255200 ### 88 * 1020 = 89760 ### 765 * 338 = 258570 ### 1385 - 1597 = -212 ### -286 / 78...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
#### File: scripts/hmem_experiments/kernel_parameters.py ```python import logging import subprocess NUMA_BALANCING_FILE = '/proc/sys/kernel/numa_balancing' TOPTIER_BALANCING_FILE = '/proc/sys/vm/toptier_scale_factor' NUMA_BALANCING_HOT_THRESHOLD = '/proc/sys/kernel/numa_balancing_hot_threshold_ms' NUMA_BALANCING_RATE...
[{"idx": "wacuuu/workload-collocation-agent", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-8970.jsonl"}, {"idx": "wahuneke/django-stripe-payments", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-8970.jsonl"}]
from pytest import mark from dcspy import utils @mark.parametrize('online_tag, result', [('1.1.1', (True, '1.1.1', 'github.com', '09 August 2021', True)), ('3.2.1', (False, '3.2.1', 'github.com', '09 August 2021', True))]) def test_check_ver_is_possible(online_tag, result): ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-11339.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-11339.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
#!/usr/bin/env perl use strict; use warnings; use OpenStack::MetaAPI (); use Test2::Bundle::Extended; use Test2::Tools::Explain; use Test2::Plugin::NoWarnings; use FindBin; use lib "$FindBin::Bin/lib"; use Test::OpenStack::MetaAPI qw{:all}; use Test::OpenStack::MetaAPI::Auth qw{:all}; use JSON; mock_lwp_useragen...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10737.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10737.jsonl"}]
What is better? Many articles in one publication or many publications with one article each one? Question: I have a large database with several transactional replication publications. Each publication has 15-20 articles. Some subscriptions are push, so each time a new article is added to the publication, a new large...
[{"idx": "What_is_better?_Many_articles_in_one_publication_or_many_publications_with_one_article_each_one?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-20916.jsonl"}, {"idx": "How_to_add_second_texture_uniform_in_Kick.js_shader_editor", "domain":...
import { DateTime, DateTimeOptions } from 'luxon'; import { errorIssue, WeatherStatusType, WindDirection } from 'tidy-shared'; import { APIConfigurationContext } from '../all/context'; import { FetchResponse, getJSON } from '../util/fetch'; import { createServerLog, serverLog } from '../util/log'; import { RunFlags } f...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-3212.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-3212.jsonl"}]
measurement: conversion ----------------------- Scenario: How many milliseconds are there in 32121.79 weeks? Gives: 19427258592000 Scenario: How many hours are there in 1090.7922 minutes? Gives: 18.17987 Scenario: What is 104.0007 minutes in milliseconds? Gives: 6240042 Scenario: What is 13/4 of a litre in millilitres?...
[{"idx": "txt360/measurement__conversion_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}, {"idx": "txt360/numbers__gcd_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}]
React functional app with Unhandled Rejection (RangeError): Maximum call stack size exceeded Question: I am writing my first form using reactjs using a functional app. I was able to make the form working and set some simple validations. I prepared a function that will handle the submit form to backend. However, when I...
[{"idx": "React_functional_app_with_Unhandled_Rejection_(RangeError):_Maximum_call_stack_size_exceeded", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-562.jsonl"}, {"idx": "doctrine_is_fetching_bigints_as_string_-_how_to_prevent_this", "domain": "st...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "solve_types.h" #include "status.h" #define isf(name) strcmp(fname, name) == 0 double function(char *fname, double arg, Status_t *status) { if (isf("sin")) return sin(arg); if (isf("cos")) return cos(arg); if (isf("abs...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4574.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4574.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
Laravel Forms - Fill a Multiple Select Input to View Question: I have a tricky situation here. I have an Edit form where I can fill the existing values when I'm editing an index. (I pass a Model Object in the controller). It works for every input field, but I need to fill a certain Multiple Select field which I don't ...
[{"idx": "Laravel_Forms_-_Fill_a_Multiple_Select_Input_to_View", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-2648.jsonl"}, {"idx": "Android_-_Extract_text_from_SMS", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lan...
Q: Using "With" outside a function on its parameters I am making complex 3d graphics, and to clear up functions, I want to use With to remove a repeated action. This action occurs many times through many functions, so I want the With outside all of them, so I only declare it once. Except Mathematica doesn't seem to lik...
[{"idx": "https://mathematica.stackexchange.com/questions/54677", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-28058.jsonl"}, {"idx": "https://english.stackexchange.com/questions/16356", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "e...
JPQL statement not working with Quotations Question: I'm trying to print a list (of only 1 item) but my JPQL statement isn't working due to quotations. I've tried every combination possible it seems but none will work. If anyone has any suggestions or different approaches I'd appreciate it. Note: I found a somewhat si...
[{"idx": "JPQL_statement_not_working_with_Quotations", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-1666.jsonl"}, {"idx": "Tsql_all_ids_and_values_in_one_row", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en...
Q: How to un-append 600 pictures from a now single file? Just copied about 600 pictures into a folder that didn't exist, expecting Windows to create the folder: copy *.jpg C:\2jpg Now I have a single file containing all the pictures. How can I separate this file back into individual pictures? I've tried a lot of d...
[{"idx": "https://superuser.com/questions/859138", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-7635.jsonl"}, {"idx": "https://tex.stackexchange.com/questions/106892", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stac...
comparison: sort ---------------- Inquiry: Sort 1, 3, -53 in descending order. Explanation: 3, 1, -53 Inquiry: Sort 0, 5, 32 in decreasing order. Explanation: 32, 5, 0 Inquiry: Put -3130, -0.01, 7/3, 7 in increasing order. Explanation: -3130, -0.01, 7/3, 7 Inquiry: Sort -3/4, 0.21, 13.3, -6, -28, 5 in descending order....
[{"idx": "txt360/comparison__sort_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}, {"idx": "txt360/numbers__gcd_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-14.jsonl"}]
#!/usr/bin/env python import os import re import urlparse from cookbot.items import AllrecipesRecipe, Ingredient class AllrecipesSpider(CrawlSpider): name = 'allrecipes' allowed_domains = ['allrecipes.com'] download_delay = 1 start_urls = [ # International Recipes ' [IDX] ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-7586.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-7586.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
Can a list passed to a function be modofied by another thread in Java? Question: <code>Integer getElement( List<Integer> list ) { int i = Random.getInt( list.size() ); return list.get( i ); } </code> The question: while this function has been called from a thread, IS there a way the list passed to this functi...
[{"idx": "Can_a_list_passed_to_a_function_be_modofied_by_another_thread_in_Java?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-19608.jsonl"}, {"idx": "Can_my_moral_obligations_conflict_with_yours?", "domain": "stack_exchange", "domain2": "stackexc...
import UserLocationService from '@/structures/userlocation.service'; import store from '@/store'; import ETA from '@/structures/eta'; // SocketManager wraps a WebSocket in order to provide guarantees about // reliability, reconnections, retries, etc. class SocketManager { private ws: WebSocket | null = null; p...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5954.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5954.jsonl"}]
""" db.py Functions that interact with the database. """ from osmhm import connect def add_watched_user(username, reason=None, author=None, authorid=None, email=None): """ Add user to watched user list for tracking. Inputs ------ username : str Username to track reason : str, optiona...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15359.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15359.jsonl"}]
# # Pracitcal Deep Learning # # We have arrived.. the moment you've all been waiting for # # Today we begin our study of deep learning techniques # # We will, for the most part, have a practical focus while studying these topics # # We will be using tensorflow 2.0 and primarly working with the `tensorflow.keras` to bui...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10350.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10350.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
... Version 1.3.1 Modified 1/10/2015 Defines objects of class Spec_Module Created on Thu Oct 01 11:41:45 2015 @author: <NAME> """ import pydicom as dcm import numpy as np import os as os import csv as csv from fpdf import FPDF import datetime import PyPDF2 from pathlib import Path import shutil import sys #par...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15196.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-15196.jsonl"}]
### Please examine the set of division, multiplication, subtraction, addition math exercises: 1638 * 1244 = 2037672 ### 593 + 835 = 1428 ### 662 * 1828 = 1210136 ### -67 / 1302 = -0.05 ### 2108 * 1883 = 3969364 ### -722 / -581 = 1.24 ### 986 * 1754 = 1729444 ### 1758 - 657 = 1101 ### 968 - 1834 = -866 ### -...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
### Study this set of subtraction, division, multiplication, addition math exercises: 1035 + 151 = 1186 ### 518 * 1850 = 958300 ### 1281 / 827 = 1.55 ### 1506 - 1945 = -439 ### 660 * 1157 = 763620 ### 330 / -831 = -0.4 ### -97 + 1819 = 1722 ### 2040 * 1610 = 3284400 ### 842 - 1837 = -995 ### -40 + 1246 = 1...
[{"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}, {"source": "ontocord-synthetic-math"}]
Shuffling an array with a function in VBA Question: I'm using a very old version of VBA that can't return arrays. I copied most of this from another post and modified it. <code>x = Array(679, 680, 683, 781, 790, 792, 800, 801, 809, 818, 822, 871, 897, 911, 913, 924, 927, 929, 930, 934, 936, 946, 951, 952, 956, 970, 97...
[{"idx": "Shuffling_an_array_with_a_function_in_VBA", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-12791.jsonl"}, {"idx": "strikethrough_for_text_in_the_drop_down_list", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "...
#! /usr/bin/env python ''' Class that creates an integration containing multiple frames and shows a source that is moving relative to the detector. Arguments: ---------- stamp -- 2D stamp image containing target xframes -- list of x-coordinate pixel position of target in each frame yframes -- list of y-coo...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-6931.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-6931.jsonl"}]
polynomials: collect -------------------- Q: Collect the terms in -1144 - 1405 - 1160 - v + 4139. A: -v + 430 Q: Collect the terms in -2161299519*u**3 + 4322599049*u**3 - 2161299525*u**3. A: 5*u**3 Q: Collect the terms in 38*t**3 + 18*t**3 + 0*t**3. A: 56*t**3 Q: Collect the terms in -158*u + 877 + 5451 + 433. A: -158*...
[{"idx": "txt360/polynomials__collect_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-11.jsonl"}, {"idx": "txt360/numbers__list_prime_factors_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-11.jsonl"}]
#!/usr/bin/env python3 import numpy as np from conban_spanet.dataset_driver import DatasetDriver from .utils import test_oracle from bite_selection_package.config import spanet_config as config N_FEATURES = 2048 if config.n_features==None else config.n_features class Environment(object): def __i...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-9845.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-9845.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
Q: What is the derivative of $x^n$? If $n$ is an integer I can evaluate the limit in the "difference quotient" to see that the derivative of $x^n$ is $nx^{n-1}$. If $n=p/q$ is rational then I can write x as a $q$th root of $x^p$ and since $p$ is an integer I can evaluate the limit in the difference quotient. But what ...
[{"idx": "https://math.stackexchange.com/questions/1808332", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-9989.jsonl"}, {"idx": "https://math.stackexchange.com/questions/3182891", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "so...
How to get customer ID in Collection _initSelect method in magento2? Question: I want customerId in <code>_initselect</code> method. How can I achieve this ? <code>protected function _initSelect() { parent::_initSelect(); $this->getSelect()->joinLeft( ['cp1' => $this->getTable('2checkout_ins')], ...
[{"idx": "How_to_get_customer_ID_in_Collection__initSelect_method_in_magento2?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-13475.jsonl"}, {"idx": "overriding_get_fields_in_ModelAdmin_return_this_fiels_on_all_model", "domain": "stack_exchange", "...
TOPLEVEL ?= ctc_core MODULE ?= test_$(TOPLEVEL) # SRC_PATH = ./$(TOPLEVEL) SRC_PATH = .. SRC = $(SRC_PATH)/src/$(TOPLEVEL).v # SRC += ../tinyfpga_bx_usbserial/usb/*.v VERILOG_SOURCES = $(SRC) # If WAVES is define then add waves.v to the compile list to set $dumpvars and # $dumpfile. Also define the vcd filename if ...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4259.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-4259.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
Set MouseListener to JLabel inside JTable Question: I have one JTable which contains some columns with String and two columns for Edit and Delete. I have added ImageIcon on JLabel, and set that label in JTable for all rows. Now I want to set MouseListener for that JLabel(as there is no way to set MouseListener for Ima...
[{"idx": "Set_MouseListener_to_JLabel_inside_JTable", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-48.jsonl"}, {"idx": "collision_object_outside_mesh_o_cloth_sim_when_rendering", "domain": "stack_exchange", "domain2": "stackexchange", "header_foote...
Box doesn't center css layout Question: I don't get the loginfield centered... I'm using bootstrap 3. DEMO Here is my css: <code>@charset "utf-8"; html{ width:100%; overflow:hidden; background: rgb(125, 126, 125); background: -moz-linear-gradient(top, rgba(125, 126, 125, 1) 0%, rgba(14, 14, 14, 1) 100%...
[{"idx": "Box_doesn't_center_css_layout", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-1774.jsonl"}, {"idx": "Relaxing_unescaped_HTML_filtering_inside__tags?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en...
declare let global: any, describe: any, it: any, expect: any; import * as md5 from "md5"; import {DynaCache} from "../src"; class Fetch { private cache = new DynaCache({cacheLimit: 3000000}); private expireTimeout: string = '30m'; public fetch(url: string, query: any = {}, params: {}, onReceive: (data: str...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5876.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-5876.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2":...
numbers: div remainder ---------------------- Challenge: Calculate the remainder when 3958 is divided by 153. Solution: 133 Challenge: What is the remainder when 6718061 is divided by 46652? Solution: 173 Challenge: What is the remainder when 17110 is divided by 7? Solution: 2 Challenge: What is the remainder when 47 i...
[{"idx": "txt360/numbers__div_remainder_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-13.jsonl"}, {"idx": "txt360/comparison__kth_biggest_train", "domain": "math", "domain2": "", "header_footer": "", "lang": "en", "source": "math-13.jsonl"}]
from pprint import pformat import json import logging import socket import six import ssl import sys try: import configparser except: if sys.version_info[0] < 3: #fix more python 3 incompatibilities input = raw_input class Password(object): ''' Get Roomba blid and password - only V2 firmware su...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10983.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-10983.jsonl"}]
\documentclass[parskip=full,11pt,openany]{scrreprt} \usepackage{inconsolata} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{microtype} \usepackage{csquotes} \MakeOuterQuote{"} \usepackage{graphicx} \usepackage{float} \usepackage{bm} \usepackage{amssymb} \usepackage{...
[{"idx": "366372", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2071.jsonl"}, {"idx": "3191737", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2071.jsonl"}]
;; (in-package :adams) ;; Properties implemented as property lists (defun properties (&rest keys-and-values) (apply #'list keys-and-values)) (defmacro properties* (&rest vars) (when (and (consp (first vars)) (endp (rest vars))) (setq vars (first vars))) (let ((properties)) (loop (...
[{"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14535.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-14535.jsonl"}, {"idx": "starcoderdata", "domain": "software", "domain2...
--- title: .NET bellek ayırma ve yaşam süresi verilerini toplama | Microsoft Docs ms.custom: '' ms.date: 11/15/2016 ms.prod: visual-studio-dev14 ms.reviewer: '' ms.suite: '' ms.technology: - vs-ide-debug ms.tgt_pltfrm: '' ms.topic: article helpviewer_keywords: caps.latest.revision: 23 author: mikejo5000 ms.author: m...
[{"idx": "19899780", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2060.jsonl"}, {"idx": "4154881", "domain": "software", "domain2": "", "header_footer": "", "lang": "en", "source": "software-2060.jsonl"}]
Can someone help me solve this limits question? Question: $$\begin{align}\lim x → ∞\end{align}$$ $$\begin{align} f(x) = {\frac{2^{x+1}+{3^{x+1}}}{2^x + 3^x}} \\ \end{align}$$ I tried using L Hopitable but that gives the same expression. Also tried using substitution but I didn't get anywhere. Help would be appreciated...
[{"idx": "Can_someone_help_me_solve_this_limits_question?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-7340.jsonl"}, {"idx": "https://superuser.com/questions/965600", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "...
Q: How do I share dependencies between Android modules I have an Android application module (app) and an Android library module (library). Both app and library contain these same dependencies: dependencies { } However when I try to add that block to the project build.gradle, it complains about not knowing the "com...
[{"idx": "https://stackoverflow.com/questions/31841259", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-6858.jsonl"}, {"idx": "https://stats.stackexchange.com/questions/142091", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source...
Convert automatically into a centralized bean for multiple domain objects Question: I am creating a project which will respond to collect multiple bean object, save it to the database and return the status of the transaction. There can be multiple objects that can be sent from the client. For each object, they are hav...
[{"idx": "Convert_automatically_into_a_centralized_bean_for_multiple_domain_objects", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-18181.jsonl"}, {"idx": "Dibujar_din\u00e1micamente_una_imagen_en_canvas_por_medio_de_una_URL", "domain": "stack_excha...
Q: Which of the two should I choose when I meant one particular situation, understanding the subject is plural (1) [ Members of an organization / Members of the organization ] may arbitrarily interpret what is not mentioned in the code of conduct, namely the silence, so long as they do not violate the written code of c...
[{"idx": "https://ell.stackexchange.com/questions/157459", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "stack_exchange-28081.jsonl"}, {"idx": "https://mathoverflow.net/questions/409354", "domain": "stack_exchange", "domain2": "", "header_footer": "", "lang": "en", "source": "...
com.sun.jndi.ldap.LdapAttribute objectGUID wrong encoding Question: I'm trying to do a LDAP Search to an AD using Groovy, retrieving the following attributes: 'sn', 'givenName', 'sAMAccountName', 'memberOf', 'objectGUID'. Everything is displayed fine, except the objectGUID. <code>Code for LDAP Search: </code> <code>i...
[{"idx": "com.sun.jndi.ldap.LdapAttribute_objectGUID_wrong_encoding", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-12434.jsonl"}, {"idx": "ListView_Windows_8,_Can_we_change_Swipe_left/Right_behavior_to_Swipe_Up/Down", "domain": "stack_exchange", "d...
How heavy should ink coverage be for a custom CMYK rich black? Question: In recent jobs, I have skewed away from pre-mixed rich black formulas in favour of making a black that fits dominant colours in the publication. For example, in a publication with a dominant full magenta colour scheme, I used a pure magenta rich ...
[{"idx": "How_heavy_should_ink_coverage_be_for_a_custom_CMYK_rich_black?", "domain": "stack_exchange", "domain2": "stackexchange", "header_footer": "", "lang": "en", "source": "stack_exchange-15479.jsonl"}, {"idx": "nginx_ssl_config,_server_certificate_does_not_match_the_url", "domain": "stack_exchange", "domain2": "st...