problem
stringlengths
26
131k
labels
class label
2 classes
Mail script needs ran every hour, Cron not working. Help Plz, Open to Ideas? : Thank you for your time and help. Below is the fully functioning code. It works when I call it via the browser. However, I can't get my Cron job to run it. I greatly appreciate any help you have as I have tried coming up with any solution an...
0debug
How To Remove Options From Dropdown : I have 2 dropdown's. 1 is for user to pick 'time from', The 2nd is to pick 'time until'. In order to assure the user does not pick a time on the second dropdown that is b4 the 1st time. I want to remove from the second dropdown all times that are earlier then the time picked in the...
0debug
Linux sh Script for files older than : I have a backup of mysql databases and backup file is with time and date in name, like this daily_amavisd_2016-10-01_05h28m_Saturday.sql.gz daily_amavisd_2016-10-02_05h28m_Sunday.sql.gz daily_amavisd_2016-10-03_05h28m_Monday.sql.gz So I need a script to check if the oldest file...
0debug
My android app stop responding after the Splash Screen : i'm programming a new app which contain a splash screen i finished it and it was all good but after i opened android studio again to work on the navigation bar i tried to run the app to see the result but the application stop and crash after the display of the ...
0debug
add xml child in first index of an array using php : im stuck for hours to solve this problem. i have multiple array contains mathml(xml) element. for example my arraylist <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-html --> Array ( [0] => <mi>x</mi><...
0debug
Endless For Loop : <p>This might be a silly question, but i can't actually understand why this FOR loop is running infinitely. The code is given below:</p> <pre><code>for(int k=0;k&lt;size-1;k++){ for(int i=k+1;i&lt;size;i++){ for(int j=k+1;j&lt;size;j++){ if(k=0){ a[i][j]=((a[i...
0debug
University of south africa : Good day I am trying to write a that will prompt me to enter five integer numbers and store them in an array. The program should then add 5 to those elements divisible by 5. Then I want to display the modified array. A sample run: Enter an integer number: 10 Enter an integer nu...
0debug
static void disas_arm_insn(CPUARMState * env, DisasContext *s) { unsigned int cond, insn, val, op1, i, shift, rm, rs, rn, rd, sh; TCGv_i32 tmp; TCGv_i32 tmp2; TCGv_i32 tmp3; TCGv_i32 addr; TCGv_i64 tmp64; insn = arm_ldl_code(env, s->pc, s->bswap_code); s->pc += 4; ...
1threat
Text based game : <pre><code>"#TextBasedGame import random import time attackers=random.randint(0,100) val1=random.randint(0,1) health=100 bear=100 name=input("What is your name hero? ") print("Okay ",name," i need to teach you the basics of combat") time.sleep (1) print ("Bear spawns") if val1==0: print ("Bea...
0debug
static void dec_sr(DisasContext *dc) { if (dc->format == OP_FMT_RI) { LOG_DIS("sri r%d, r%d, %d\n", dc->r1, dc->r0, dc->imm5); } else { LOG_DIS("sr r%d, r%d, r%d\n", dc->r2, dc->r0, dc->r1); } if (!(dc->env->features & LM32_FEATURE_SHIFT)) { if (dc->format == OP_FMT_RI)...
1threat
Modify functions in R using body, formals and environment methods : <p><strong>function definition</strong></p> <pre><code>f &lt;- function(x) { x + x*x } </code></pre> <p>3 methods i.e. <code>body</code>, <code>formals</code> and <code>environment</code> can be used for modification</p> <p><strong>body</strong><...
0debug
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given : <p>I got this really weird problem that </p> <pre><code>Warning: mysql_fetch_row() expects parameter 1 to be resource, null given ... </code></pre> <p>however, I checked mysql_num_rows($result), and it is not 0.</p> <pre><code> echo '&l...
0debug
How to move line up and down in VS2015 : <p>I don't know if something has changed recently in Visual Studio 2015 but before I was able to press <code>ALT + UP ARROW KEY</code> or <code>ALT + DOWN ARROW KEY</code> to move lines in code up or down and now it does not do anything.</p> <p>I went into <code>Tools &gt; Opti...
0debug
get value of a checkbox in another fragment : I would like to get the value of my checkbox that is in my confiFragment and get that value in MainActivity . the configFragment is related to the confiActivity. I tried this method but i get a null ; can someone help me please? this is my fragment: public...
0debug
How to clear history in browser by using selenium webDriver? : <p>Actually I am using code as shown bellow but, I am getting error like.History.clear is not a function. Build info: version: '2.53.0', revision: '35ae25b', Can anyone help me out. What is the problem in this code?</p> <pre><code>JavascriptExecutor js=(Ja...
0debug
uint64_t float64_to_uint64 (float64 a STATUS_PARAM) { int64_t v; v = int64_to_float64(INT64_MIN STATUS_VAR); v = float64_to_int64((a + v) STATUS_VAR); return v - INT64_MIN; }
1threat
How can I insert date in my SQL Server 2012? : <p>The date that is receive is in the format 'Wed Jan 01 02:00:00 IST 2020'.</p> <p>If I use hibernate, it automatically converts this format into '2020-01-01 02:00:00' but for this case I have to use native query.</p> <p>Is it possible in SQL SERVER 2012 to save the dat...
0debug
take input until input positive number : <p>Take two integers p &amp; q ... Sum should be printed of p to next q numbers including p .. if q &lt;= 0 , then it will take the value of q again ...</p> <p>Input :::: 3 2 Output :::: 7 (p=3 &amp; q = 2 ..... So from 3 to next 2 numbers are 3 &amp; 4 as it will be included i...
0debug
static HTTPContext *find_rtp_session_with_url(const char *url, const char *session_id) { HTTPContext *rtp_c; char path1[1024]; const char *path; char buf[1024]; int s; rtp_c = find_rtp_session(session_id); if (!rtp_c) return ...
1threat
static int vhdx_create_new_region_table(BlockDriverState *bs, uint64_t image_size, uint32_t block_size, uint32_t sector_size, uint32_t log_size, ...
1threat
Parse error: syntax error, unexpected 'function_construct' (T_STRING), expecting variable (T_VARIABLE) on line 4 : <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php ...
0debug
how can we embed google maps in our website and add our own locations? : <p>I not only wish to add map to my site but also add local locations on my own to tke map like the site one <a href="http://1ropani.com/Map.aspx" rel="nofollow noreferrer">here</a>.</p>
0debug
Angular Material and Jasmine : " No provider for InjectionToken MdDialogData! " : <p>I have a component which is meant to be used in an Angular Material MdDialog :</p> <pre><code>@Component({ ... }) export class MyComponent { constructor(@Inject(MD_DIALOG_DATA) public data: any, public dialogRef: MdDialogRef&lt;...
0debug
how to write method for sequential search through array? : <p>I am writing a java method which runs through an array and if a value is present, then it returns the index of the value. It is not compiling, but I don't know what part of my code isn't comprehensive.</p> <pre><code>import java.util.*; import static java.l...
0debug
static void init_block_index(VC1Context *v) { MpegEncContext *s = &v->s; ff_init_block_index(s); if (v->field_mode && !(v->second_field ^ v->tff)) { s->dest[0] += s->current_picture_ptr->f.linesize[0]; s->dest[1] += s->current_picture_ptr->f.linesize[1]; s->dest[2] += s->curre...
1threat
FullCalendar JS modify day Names in mobile : <p>In desktop I want to have ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] days. And in mobile will change to ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'].</p>
0debug
Item is shifted way too much to the left, no clue how to change the position? : Thank you for helping me, so for some odd reason all my column 1 items are moved to the left of my screen, and so I cannot see it unless I add a String with a bunch of spaces, eg. "----- This works" whereas '4' this would not work. In th...
0debug
Showing/hiding unlimited number of divs based on time : I have this simple JavaScript yet: $("body").children("div").each( function( ) { $(this).hide(); }); The goal is: - hide every direct children divs (completed :) - show first direct children div - hide that first div, show secon...
0debug
static attribute_align_arg void *frame_worker_thread(void *arg) { PerThreadContext *p = arg; FrameThreadContext *fctx = p->parent; AVCodecContext *avctx = p->avctx; const AVCodec *codec = avctx->codec; pthread_mutex_lock(&p->mutex); while (1) { while (p->state == STATE_INPU...
1threat
static void gem_cleanup(NetClientState *nc) { GemState *s = qemu_get_nic_opaque(nc); DB_PRINT("\n"); s->nic = NULL; }
1threat
script bash to update web pages and to check if there's something different : <p>I need a bash script to refresh web pages and to check if it has changed since last update. How can I do? Using temporary files? Can someone post the code?</p>
0debug
how i use transaction in this code : i was trying to use this code without transaction but it gave me error so i want to use it with transaction, so how i can use ? my code is SqlConnection con= new SqlConnection("Data Source=.;Initial Catalog=Sample;Integrated Security=true;"); SqlCommand cmd; ...
0debug
static int l2tpv3_can_send(void *opaque) { NetL2TPV3State *s = opaque; return qemu_can_send_packet(&s->nc); }
1threat
Laravel Eloquent Lazy Eager Load Count : <p>I'm ideally looking for a function like</p> <pre><code>load('relationship') </code></pre> <p>but which loads a count in the same way</p> <pre><code>withCount('relationship') </code></pre> <p>works for eager loading.</p> <p>I'm thinking it is going to be called <code>load...
0debug
C# Read a string with a particular format : I have some strings like string text = "these all are strings, 000_00_0 and more strings are there I have here 649_17_8, and more with this format 975_63_7." So here I wanted to read only 000_00_0, 649_17_8, 975_64_7.... All the string with this format Please help...
0debug
change the currently being displayed string from an array : <p>I would like to change the current string displayed on the screen by pressing buttons. for example:</p> <p>I have an array of strings here:</p> <pre><code>std::string test[] = { "hey", "how", "are", "you" }; </code></pre> <p>then i have some code here to...
0debug
Blueprism- Extract data from a web page into a collection; : i am new to blue prism. I have a scenario where I am giving input (passengers details for travelling) to a travel portal and based on the input its generating a booking reference number,total cost etc. Now I want to read all the outputs into a collection but ...
0debug
MAX = 3000 def smartNumber(n): primes = [0] * MAX result = [] for i in range(2, MAX): if (primes[i] == 0): primes[i] = 1 j = i * 2 while (j < MAX): primes[j] -= 1 if ( (primes[j] + 3) == 0): result.append(j) j = j + i result.sort() return result[n - 1]
0debug
static void gen_hrfid(DisasContext *ctx) { #if defined(CONFIG_USER_ONLY) gen_inval_exception(ctx, POWERPC_EXCP_PRIV_OPC); #else if (unlikely(ctx->pr || !ctx->hv)) { gen_inval_exception(ctx, POWERPC_EXCP_PRIV_OPC); return; } gen_helper_hrfid(cpu_env); gen_sync_exceptio...
1threat
javaScript my array code runs with for loops, but nothing displays? : I don't understand why this runs but does not print anything. (I am new to coding altogether, so any advice is great.) import java.util.Scanner; import java.util.Random; public class ArrayDoubleValues{ public static void main...
0debug
static void virtio_net_set_status(struct VirtIODevice *vdev, uint8_t status) { VirtIONet *n = VIRTIO_NET(vdev); VirtIONetQueue *q; int i; uint8_t queue_status; virtio_net_vnet_endian_status(n, status); virtio_net_vhost_status(n, status); for (i = 0; i < n->max_queues; i++) { ...
1threat
static uint32_t nvdimm_rw_label_data_check(NVDIMMDevice *nvdimm, uint32_t offset, uint32_t length) { uint32_t ret = 3 ; if (offset + length < offset) { nvdimm_debug("offset %#x + length %#x is overflow.\n", offset, length); ...
1threat
How to remove Controller and method URL in codeignitor : This is my current URL http://www.example.com/agent/index/$id, and i want to change this http://www.example.com/demo_name(by agent name) Please suggest your answer.
0debug
static av_cold int flac_decode_init(AVCodecContext *avctx) { FLACContext *s = avctx->priv_data; s->avctx = avctx; avctx->sample_fmt = SAMPLE_FMT_S16; if (avctx->extradata_size > 4) { if (avctx->extradata_size == FLAC_STREAMINFO_SIZE) { ff_flac_parse_streaminfo(av...
1threat
How to multiply multiple column dataframe to another single column df in Python? : I'm trying to multiply two dataframes:(3868 rows x 758 columns) and (3868 rows x 1 column) Below codes give me error:operands could not be broadcast together with shapes (14961424,) (3868,) free_float = pd.DataFrame(free_float) ...
0debug
How to set reply action in below nougat version like whatsapp in android : Am trying to set reply action in push notification like whatsapp. How to show popup window like whatsapp for replying in push notification [I have to open a dialog like below image when click of reply ][1] [1]: https://i.stack.imgur.com...
0debug
What is the point in setting a slice's capacity? : <p>In Golang, we can use the builtin <code>make()</code> function to create a slice with a given initial length and capacity.</p> <p>Consider the following lines, the slice's length is set to 1, and its capacity 3:</p> <pre><code>func main() { var slice = make([]...
0debug
Using Vue.js in Golang's HTML templates : <p>I want to use Vue.js with the Golang's HTML template engine but as both use <code>{{ ... }}</code> for syntax, they conflict with each other...</p> <p>Does anyone has already did it somehow or have any suggestions on how to overlap this problem?</p> <p>Thanks in advance.</...
0debug
static int bdrv_snapshot_find(BlockDriverState *bs, QEMUSnapshotInfo *sn_info, const char *name) { QEMUSnapshotInfo *sn_tab, *sn; int nb_sns, i, ret; ret = -ENOENT; nb_sns = bdrv_snapshot_list(bs, &sn_tab); if (nb_sns < 0) return ret; for(i = 0; i...
1threat
MSSQL Stored procedure custom paging stored procedure : I have a stored procedure like following: USE [db_Test] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[zsp_GetUsersAdministratorPanel] ( @StartRowIndex int, @MaxRows int, @Order...
0debug
How do I format all files in a Visual Studio Code project? : <p>Is there a way to format all files in a project without formatting each one individually?</p>
0debug
static void search_for_ms(AACEncContext *s, ChannelElement *cpe) { int start = 0, i, w, w2, g, sid_sf_boost; float M[128], S[128]; float *L34 = s->scoefs, *R34 = s->scoefs + 128, *M34 = s->scoefs + 128*2, *S34 = s->scoefs + 128*3; const float lambda = s->lambda; const float mslambda = FFMIN(1....
1threat
convert List of Dicts into a 2 deep Nested Dict : <p>Ive been banging my head against a wall for some time with this now, so hoping somebody will be able to point me in the right direction</p> <p>I am writing a flask app and my query returns the following list of dictionaries (via cur.fetchall) ..</p> <pre><code>MyQu...
0debug
static int decode_extended_mips16_opc (CPUMIPSState *env, DisasContext *ctx, int *is_branch) { int extend = cpu_lduw_code(env, ctx->pc + 2); int op, rx, ry, funct, sa; int16_t imm, offset; ctx->opcode = (ctx->opcode << 16) | extend; op = (ctx->opcode >...
1threat
static void virt_acpi_build_update(void *build_opaque) { AcpiBuildState *build_state = build_opaque; AcpiBuildTables tables; if (!build_state || build_state->patched) { return; } build_state->patched = true; acpi_build_tables_init(&tables); virt_acpi_build(build_...
1threat
sql server integration services importing 2 tsv : <p>I have two .tsv files and I need to import them to sql server: one has the data (data.tsv) and the other is column_headers.tsv</p> <p>I need to import it to a table, the table must be created with column_headers.tsv columns and the data.tsv should be inserted to tha...
0debug
Why would you combine two 32 bit integers into a 64 bit integer? : <p>Recently I saw how a compiler combined two 32 bit integers which were values of properties of a class and stored them as a 64 bit integer. My question now is, why is this done? What advantages are there when combining integers?</p> <p>for example if...
0debug
Concatenate Column A depending on Value of Column B - SQL Server : <pre><code>I have a table that looks like the following COLUMN_A|| COLUMN_B || ====================== NAME1 || 1 || NAME2 || 1 || NAME3 || 1 || NAME4 || 2 || NAME5 || 2 || NAME6 || 3 || NAME7...
0debug
static int flashsv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) { int buf_size = avpkt->size; FlashSVContext *s = avctx->priv_data; int h_blocks, v_blocks, h_part, v_part, i, j; GetBitContext gb; if (buf_size =...
1threat
Find the n amount of highest values in an unsorted double array : Homework How would i code a program that will search a double array for the n amount of highest values. The n is determined by the user. For example a user inputs the number 3, the program is required to display the 3 highest values from the array. ...
0debug
Parse XML from Axios response, pushing to Vue data array : <p>In my Vue app, I get a XML file with Axios and use parseString to parse XML as JSON. I then need to pass the <code>result</code> to Vue data (this.events). My console log shows the parsed XML as Json, but I cannot push to Vue data inside this function.</p> ...
0debug
How do I create a list like the one below in Python 3.x? : I have a series on URL's that I need to replicate as follows. https://wipp.edmundsassoc.com/Wipp/?wippid=*1205* The 1205 is variable the final outputs need to look like "https://wipp.edmundsassoc.com/Wipp/?wippid=1205#taxpage1" ...............................
0debug
How to search this kind of pattern in regex : <p><strong>This is the sample text I want to get the regex of the Match specified string that regex will qualify the Not match conditions</strong></p> <blockquote> <p>1abc.def.ghi (Match)</p> <p>abc.111.ghi (Match)</p> <p>123.123.123.132.123.123 (Match)</p> ...
0debug
Unit testing a python function that depends on database : I am running tests on some functions. I have a function that uses database queries. So, I have gone through the blogs and docs that say we have to make an in memory or test database to use such functions. Below is my function, def already_exists(story_da...
0debug
void ff_dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) { const int high_bit_depth = avctx->bits_per_raw_sample > 8; c->prefetch = prefetch_ppc; if (!high_bit_depth) { switch (check_dcbzl_effect()) { case 32: c->clear_blocks = clear_blocks_dcbz32_ppc; ...
1threat
Help to using Switch case in c++? : How do I use switch case in this code ?? I have tried several times , But I really do not know how to make it without error . I don't know anywhere i put it ?? #include<iostream.h> int x,y; int sum(int a,int b) { int c; c = a+b; return (c); ...
0debug
Why can't I store an oauth refresh token in the browser? : <p>I want to store an oauth refresh token in the browser. The reason I want to store it there is so that the app can refresh the access token and let the user continue their session uninterrupted. I also want to eliminate the need for any kind of cache on the s...
0debug
Global extension function in kotlin : <p>Hey I want to make a class in kotlin that will hold all extension functions that I will use in a few places for example:</p> <pre><code>class DateUtils { //in this case I use jodatime fun Long.toDateTime() : DateTime = DateTime(this) fun String.toDateTime() : DateTi...
0debug
static int vmdk_open(BlockDriverState *bs, QDict *options, int flags, Error **errp) { char *buf; int ret; BDRVVmdkState *s = bs->opaque; uint32_t magic; buf = vmdk_read_desc(bs->file, 0, errp); if (!buf) { return -EINVAL; } magic = ldl_be_p(buf...
1threat
ngModel with a bind function not working in ng2 : <p>If I do in a template of a component something like:</p> <pre><code>&lt;input [(ngModel)]="myProperty"&gt;&lt;/input&gt; </code></pre> <p>then it works, but if I do it with a function in my component it does not:</p> <pre><code>&lt;input [(ngModel)]="getMyProperty...
0debug
static void cpu_handle_guest_debug(CPUState *env) { gdb_set_stop_cpu(env); qemu_system_debug_request(); #ifdef CONFIG_IOTHREAD env->stopped = 1; #endif }
1threat
static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) { ASFContext *asf = s->priv_data; ff_asf_guid g; ByteIOContext *pb = s->pb; AVStream *st; ASFStream *asf_st; int size, i; int64_t gsize; AVRational dar[128]; uint32_t bitrate[128]; memset(dar, 0, ...
1threat
How to @import .css file as a .scss file in sass? : <p>I am using gulp as a task runner which merge and minifying <code>scss</code> files for me. In this case if I try to import a regular <code>CSS</code> file, it will compile to a css <code>import</code> statement as below:</p> <pre class="lang-css prettyprint-ove...
0debug
MPAndroidChart - First and last bars not rendering correctly : <ol> <li><p>In the bar chart I am creating the first and last rows are consistently being cut in half (even if I add additional bars). This also causes the values above the bars to be out of place. I am inflating this within a fragment.</p></li> <li><p>The ...
0debug
"You are binding v-model directly to a v-for iteration alias" : <p>Just run into this error I hadn't encountered before: "You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider...
0debug
Gradle console - get more log output : <p>I am using Android studio. In the gradle console getting the below error message</p> <blockquote> <p>Compilation error. See log for more details</p> <ul> <li>Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log ou...
0debug
Why "this" is undefined inside a fat arrow function definition? : <p>First I tried this -</p> <pre><code>const profile = { name: 'Alex', getName: function(){ return this.name; } }; </code></pre> <p>Which works fine. Now I tried the same thing with fat arrow. In that case "this" is coming undefined.<...
0debug
Android Studio Help Java Error : Hi guys I have the following code and I have a Java error. Could someone please help me out? Thanks My activity_main.xml is: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0debug
gcloud app deploy, flag to automate prompting? : <p>Is it possible to do silent deployment when using <code>gcloud app deploy</code></p> <p>When I run the command <code>gcloud app deploy ./deployment/app.yaml --version v1</code> its always prompting for </p> <p><code>Do you want to continue (Y/n)? Y</code></p> <p>h...
0debug
Can someone help me find why there's no output I'm new to c? : #include <stdio.h> #include <string.h> #include <ctype.h> int main(void) { char str[50]; int count[26] = {0}; int x; int len; int max; printf("Enter your input: "); scanf("%s", str); ...
0debug
AVVDPAUContext *av_vdpau_alloc_context(void) { return av_mallocz(sizeof(AVVDPAUContext)); }
1threat
Optional JSX Props In a TSX/JSX Project : <p>I have a React project that I'm converting from JS to TS. An issue I'm running into is that TSX React is assuming that all properties defined in a functional component are required props.</p> <pre><code>// ComponentA.tsx class ComponentA extends React.Component&lt;any, any&...
0debug
Warning assignment from incompatible pointer type while assiging to another parameter : In my code i'm getting this warning while compiling. I tried to fix this my i'm unable to solve this issue. static uint8_t tx_data; int *recvdata2,*recvdata; recvdata= str2int(tx_data); //warning assignment ...
0debug
Odata service model for SAPUI5 App : I'm trying to build a Odata model. My last successful time was following the guide to import the transparent table and create an EntitySet and implement CRUD function into the generated classes via ABAP workbench. This time I wanna create model by importing the view (of some Mas...
0debug
React Router DOM not working correctly on Amplify Console AWS : <p>I have deployed react app on Amplify Console following their documentation. The site is deployed and running fine, I am able to navigate using links but when I try to land to any url directly I get redirected to my configured 404 page.</p> <p>Below is ...
0debug
static int net_vde_init(VLANState *vlan, const char *model, const char *name, const char *sock, int port, const char *group, int mode) { VDEState *s; char *init_group = strlen(group) ? (char *)group : NULL; char *init_sock = strlen(sock) ? (char *)sock :...
1threat
Why does this implementation of move corresponding work? vb.net : Since three is read only and depends on a non property (four). Three should be undefined. How does props, which does not set four, set three to the correct value? -------------------------------------------------- public sub main Dim x1 = N...
0debug
any one help me.. how to convert in codeigniter : SELECT sum(`quantity`) as 'Total Product Sales',product.i_name as 'Product Name' FROM `order_details` inner join orders on orders.order_id = order_details.order_id and orders.status like 'C' inner join product on product.p_id = order_details.product_id group b...
0debug
int ff_qsv_enc_close(AVCodecContext *avctx, QSVEncContext *q) { QSVFrame *cur; MFXVideoENCODE_Close(q->session); if (q->internal_session) MFXClose(q->internal_session); q->session = NULL; q->internal_session = NULL; cur = q->work_frames; while (cur) { q...
1threat
void kvm_s390_interrupt_internal(S390CPU *cpu, int type, uint32_t parm, uint64_t parm64, int vm) { CPUState *cs = CPU(cpu); struct kvm_s390_interrupt kvmint; int r; if (!cs->kvm_state) { return; } kvmint.type = type; kvmint.parm = parm; ...
1threat
apache cordova game development, is it valid? : <p>I've been developing a game using libgdx (Java), it's basically a super mario game, a few moving objects, some sound effects, could something like that be done with html5 and javascript?</p> <p>I tried searching the world wide web for some info, but didn't find a lot,...
0debug
Reactjs: How to open a multiple message box with reactjs : How to open a multiple message box with reactjs Am building a multiple chatbox like facebook. At the moment, User can call up a chatbox, can close it, minimize it etc. **Here is the issue.** when I click on different users for example three users,...
0debug
Why doesn`t operator<< work successfuly? : While compiling these code blocks, i am getting error like this below. What is my mistake in here? What should i do to fix? And while giving initial value to parameter like this "Os(std::cout)" what does it mean ? error: no match for 'operator<<' (operand types are...
0debug
Can developer lock other apps in iOS 10? : <p>Does Apple allow third party developer lock other app or setup passcode for other apps in iOS10?</p> <p>If so, what is the best library to do it?</p>
0debug
use of undeclared type UIViewController : <p>I have not changed anything major in this swift file, yet for some reason when I went to run my app I got a new error stating "Use of undeclared type UIViewController" in the first line of my swift file. I have tried cleaning and checking the targets, but am unable to figur...
0debug
Preg_replace for a specific iframe : <p>Writing a quick plugin to strip Amazon associate links out of emails and feed to not brake the terms ofservice. Worked it all out apart from the iframe.</p> <p>A typical iframe associate link looks like this</p> <pre><code> &lt;iframe style="width:120px;height:240px;" marginwid...
0debug
Flutter Layout Container Margin : <p>I have a problem with my Flutter Layout.</p> <p>I have a simple container with a Margin right and left of 20.0 Inside this container i have another container.</p> <p>But this container does not fit to the parent container only on the left side. I dont know why this happens.</p> <...
0debug
Negative number modulo in swift : <p>How does modulo of negative numbers work in swift ? When i did (-1 % 3) it is giving -1 but the remainder is 2. What is the catch in it?</p>
0debug
Single user login at ont time in angular web application : <p>I have an application where UI is build in angular and communicates with back end asp.net core web api. To manage Authentication web api generate a JWT token with an expire date. I have a requirement to not allow any new user login where there is already and...
0debug
Flutter internationalization - Dynamic strings : <p>I'm translating my app to spanish using the intl package. </p> <p>locales.dart</p> <pre><code>class AppLocale { ... String get folder =&gt; Intl.message("Folder", name: 'folder'); ... } </code></pre> <p>messages_es.dart</p> <pre><code>class MessageLookup extend...
0debug