text
stringlengths
70
452k
dataset
stringclasses
2 values
Is there a way to rewind music using rate property in Swift? I'm fast forwarding my AVAudioPlayer by setting the rate value. However I can't figure out how to rewind. I'm making a DJ app, where the music's play rate changes upon spinning the turntable, causing the music to fast forward and rewind (while still hearing t...
common-pile/stackexchange_filtered
Empty Postbacks on ASP.NET pages We are having a problem that seems to only be a problem when accessing our websites from internal intranet machines. When logged into the domain, and accessing our websites, postbacks are not working. Basically the page behaves as if it were refreshed and nothing was changed. When lo...
common-pile/stackexchange_filtered
Secure MySQL-Server completely (disable ability to reset root-password) is there a way to secure a mysql-server so no one can reset a password via --init-file-startup? there should only be a: "root" user (password not known to anyone else than person a) "system" user (no password, full access to one database restrict...
common-pile/stackexchange_filtered
jsPDF Plugin NOT working I found JavaScript plugin jsPDF which convert HTML to PDF file document. I find it very useful but at a certain point in time the plugin fails with an error in console: jspdf.js:8009 Uncaught TypeError: Cannot read property '1' of undefined at Renderer.renderParagraph (jspdf.js:8009) at Render...
common-pile/stackexchange_filtered
Any history on Viscount bicycles? I managed to pick this Viscount bicycle up from my local scrapyard along with a 1987 women’s BSA bicycle. Both of these bicycles work. The Viscount has a sticker on it saying triple champion 1981 so I presume that is the year the bicycle was made. Does anyone have any information about...
common-pile/stackexchange_filtered
C-style for loops in REBOL I attempted to write a C-style for-loop in REBOL: for [i: 0] [i < 10] [i: i + 1] [ print i ] This syntax doesn't appear to be correct, though: *** ERROR ** Script error: for does not allow block! for its 'word argument ** Where: try do either either either -apply- ** Near: try load/all j...
common-pile/stackexchange_filtered
MySQL Connector, Streaming Resultsets and Batch Fetching I was browsing through the MySQL Connector (5.1.24) source code and I noticed something unusual in the method StatementImpl#createStreamingResultSet The javadoc says We only stream result sets when they are forward-only, read-only, and the fetch size has been se...
common-pile/stackexchange_filtered
Database not updating with loop I have to distribute customers to different employees based on percentages inputted by the user. For example, I have 10 customers that belong to salesman3 and I input 50% for salesman1 and 50% for salesman2. That means 5 of those customers go to salesman1 and the other 5 to salesman2. I ...
common-pile/stackexchange_filtered
Is it possible to change jQRangeSlider size after constructor initialized? I am using the jQRangeSlider library. I do not see any documentation about this. I am trying to change the size of the slider after the constructor has already been run. <div id="dateSlider"></div> <script> $("#dateSlider").dateRangeSlider(...
common-pile/stackexchange_filtered
Understanding Java FixedThreadPool I am trying to understand how Java FixedThreadPool works in practice, but the docs do not answer my question. Assume a simple scenario like: ExecutorService ES= Executors.newFixedThreadPool(3); List<Future> FL; for(int i=1;i<=200;i++){ FL.add(ES.submit(new Task())); } ES.shutdown(...
common-pile/stackexchange_filtered
Divergence of Yamabe soliton In the article Ma, Li; Cheng, Liang, Properties of complete non-compact Yamabe solitons, Ann. Global Anal. Geom. 40, No. 3, 379-387 (2011). ZBL1225.53038. at page 382, there is a calculation. It says that if take divergence of both sides of the equation $$\nabla^2f=Rg,$$ where $\nabla^2$ i...
common-pile/stackexchange_filtered
Is it possible to build SQL where clause from C# function predicate? I am trying to build sql where clause from a function predicate. What I am trying to achieve looks like following: public IEnumerable<TDbEntity> Query(Func<TDbEntity, bool> predicate) { // TODO: to build whereCondText from predicate var whereCondTex...
common-pile/stackexchange_filtered
Special process for calculating parameters in Google Data Studio I want to do a linear regression in Data Studio. I don't know if there is something already existing (I've looked ans it doesn't seem like there is). What I want is not plotting a linear Regression in a graph but to obtain the Linear regression's coeffici...
common-pile/stackexchange_filtered
Game inventory database foreign key just going through the process of setting up a database for a game im building. It has 3 tables: user_table user_id - PK username password email level location user_inventory user_inventory_id - PK user_id - FK game_item_id - FK quantity game_items game_item_id - PK item_name now in ...
common-pile/stackexchange_filtered
Can I change my address in AdSense so the pin is mailed to my home country? I'm currently living in Ireland and I gave this address to AdSense. I had crossed the revenue threshold and they have mailed me the pin last week. But, now only I came to know that,since I'm on spouse visa, j can't work or engage in any busines...
common-pile/stackexchange_filtered
MPMoviePlayerViewController not working I have been roaming the internet for a solution I really don't know what am I doing wrong. I have been with this problem a few days now. I save the video at the following path that should be accessible to the application (Right?) //NSDocumentDirectory doesn't work either. NSArray...
common-pile/stackexchange_filtered
Easy way to automatically generate short file name I have a very old car radio that can play music from USB fash drives when they are formatted in FAT16 or FAT32, but it sorts files by the short 8.3 file name, not by the long file name. I want to play audiobooks that are divided into multiple files, but Windows sometim...
common-pile/stackexchange_filtered
flutter setJavaScriptEnabled setWebChromeClient how to enable flutter_webview_plugin 0.1.5 to enable javascript and process javascript came from webpage ? here is the code in android mWebView = (WebView) findViewById(R.id.activity_main_webview); WebSettings webSettings = mWebView.getSettings(); webSettings....
common-pile/stackexchange_filtered
How to create a Pyspark window function of Column-dependent size I am obtaining an unexpected error when trying to cumulate a value over a column-dependent number of previous rows using a window-function in pyspark. A Minimal Working Example (MWE) to reproduce the error I am experiencing is the following: from pyspark....
common-pile/stackexchange_filtered
When my overloaded function can be called with const decoration? In the below code, I have two begin() functions. When is the second (const) version called? The reason I ask is because the STL vector has similar features, but it can be called correctly. I expect the line abc.begin(); will call the const version of the ...
common-pile/stackexchange_filtered
How to convert numbers into generic type? This is how I would like to be able to write my code. MethodB is just a dummy here, all we care about is that it's returning type T. public static class ClassA<T> where T: struct, INumber<T> { public static T MethodA( T[][] matrix, T[] vector) { T result = T.Zer...
common-pile/stackexchange_filtered
Sankey bar graphs in R I'd like to make this type of plot in R. There's more detail on the SAS macros to produce this example here: http://www.pharmasug.org/proceedings/2015/DV/PharmaSUG-2015-DV07.pdf Does anyone have any thoughts on how I should go about doing this in R? NOTE: I know how to make standard sankey diag...
common-pile/stackexchange_filtered
Error Photofilmstrip After installing a version of ubuntu 22.04, Phtofilmstrip no longer works. I have installed version photofilmstrip_3.7.0-1_all.deb and the program starts normally. However, as soon as I add some photo .jpg I get the error message: Traceback (most recent call last): File "/usr/lib/python3/dist-pac...
common-pile/stackexchange_filtered
Creating a new SVN repository from an existing branch I have a branch in one of my SVN repositories that I would like to copy into the trunk of a new repository I just created. Preferably I would like to retain all of the history from this branch. I thought about checking out the branch, disconnecting it from SVN, and ...
common-pile/stackexchange_filtered
how to delete a row with auto increment as primary key in netbeans I am a newbie to java and I am using netbeans I want to delete a row from my database (mysql) by clicking on the row in a table during run time and click button delete but I used auto increment for the primary key of the row I do not know how to specif...
common-pile/stackexchange_filtered
Splitting field of x^3-2 as a simple extension Is there any elegant way to show that $\mathbb Q(\sqrt[3]{2}, w)=\mathbb Q(\sqrt[3]{2}+w)$, where $w=e^{i\frac{2\pi}{3}}$. I was thinking to show that $ 9+9 x+3 x^3+6 x^4+3 x^5+x^6$ is the minimal polynomial of $\sqrt[3]{2}+w$, but checking irreducibility seems a bit tedio...
common-pile/stackexchange_filtered
HTC Android Crash Report Fragment OnCreate In the following crash report I am seeing something weird. This happened on an HTC One running 4.3, I do not have access to these phones to debug, but it looks like it is creating my SettingFragment (extends PreferenceFragment) during my PenelopeMainActivity (extends Activity)...
common-pile/stackexchange_filtered
Pass NSString value to another ViewController in Objective C I am trying to pass NSString value to another ViewController. But I get null instead of the value. Here is my code. FirstViewController.m: NSString cellID = @"66"; SecondViewController *apiViewController = [[SecondViewController alloc] init]; ...
common-pile/stackexchange_filtered
Java beginners GUI Radio Buttons I have been working on learning Java and I am having trouble with this program. It is suppose to just be two radio buttons(male/female) then show a message dialog about which you chose but I keep getting an error. Here is my code: import java.awt.*; import java.awt.event.*; import javax...
common-pile/stackexchange_filtered
when to use array as validateTrigger in antd form? in antd Form component there is validateTrigger property that can get a string or array of strings as value.when and why we should use array of strings? antd form api In validateTrigger property you can add string like validateTrigger="onBlur" or array of string with ...
common-pile/stackexchange_filtered
Changing storage bus type I created a VM on Fusion for OpenStack — it's a whole thing, not fun at all — which failed to boot once on OpenStack. OpenStack seems like a pretty rudimentary hypervisor/platform — I think — and I knew the bus type was the issue when I noticed in the original VM that it was set to NVMe. I con...
common-pile/stackexchange_filtered
How do I compute the cartesian product of n sequences in F#? I was given a puzzle as a present. It consists of 4 cubes, arranged side by side. The faces of each cube are one of four colours. To solve the puzzle, the cubes must be orientated so that all four cubes' tops are different, all their fronts are different, all...
common-pile/stackexchange_filtered
Do you need an ESC to run this brushless DC motor with Arduino Uno? This is the motor: https://www.aliexpress.com/item/Wholesale-JGA25-2418-8-5-1977-rpm-Electric-Motors-Brushless-Motor-High-Torque-Speed-Controlled-DC/32360228129.html I'm hooking it up to the arduino as described and giving the PWM outputpin analogWrite...
common-pile/stackexchange_filtered
Java - Create a BufferedImage clone which has no reference to the original I'm working for a swing project and I have to display the same image multiple times, by changing pixels color every time. For example : the first image must be displayed in blue and the second one must be displayed in orange, but the problem is ...
common-pile/stackexchange_filtered
Repeat Group Footers in another section I have a crystal report that shows credit card batches. It's data source contains a bunch of credit card transactions that each have a batch number and card type. The report groups these first by batch number, then by card type. At the end of each card type group, it shows the to...
common-pile/stackexchange_filtered
App crashes when remote js debugging is turned on When remote js debugging is turned on my app crashes and close immediately with note "Unfortunately APP has stopped". To note, the app works perfectly when debugging is switched off. I had tried to change RN and React version to prev or next versions, but no success. P...
common-pile/stackexchange_filtered
how to get .mobileprovision to build phonegap iphone app at windows? I'm using windows 8 to building applications with phonegap, every thing is good except building apple application at: https://build.phonegap.com this appears: phonegap build "no key selected" how to get the key or .mobileprovision file? You have to c...
common-pile/stackexchange_filtered
Bind a datagrid one object per cell I would like to bind some objects to a datagrid in WPF. I would VERY MUCH like to avoid DataTable! Consider the following code: public ObservableCollection<ObservableCollection<DataPoint>> GridItems { get; set; } public class DataPoint : INotifyPropertyChanged { public float Val...
common-pile/stackexchange_filtered
How to disable babel block indentation? Is it possible to disable the indentation of new babel source blocks? I played with electric-indent-local-mode and org-src-preserve-indentation without success. Current output: * aa ** bb #+begin_src shell #+end_src Expected output: * aa ** bb #+begin_src shell #+end_src...
common-pile/stackexchange_filtered
Ext combobox select after store reload doesn't work properly Here is my combobox configuration { xtype : 'combo', fieldLabel : 'Select Field', displayField : 'field_name', valueField : 'field_id', id : 'fields_combo_id', store: new Ext.data.JsonStore({ proxy : new Ext.data.HttpProxy({ur...
common-pile/stackexchange_filtered
JQM horizontal height auto-adjust (listview and buttons) I'm using: jquery-1.8.2 and jquery-mobile-1.2.0 (generated with all options checked) Targeted devices are iPhone 4/4s/5 and iPad. The current data-role="listview": Test link The current code: <...
common-pile/stackexchange_filtered
Musicplayer with onebutton I am new to android. I'm trying to create a music player which will play specific MP3 with one button(play/pause).I want button's background change between two image when click Welcome to Stack Overflow. Please read Stack Overflow: How to ask and Jon Skeet's Question Checklist to find out ho...
common-pile/stackexchange_filtered
Is it possible to combine two linear regression models (same structure, different data)? Let's say I have x, y, both are 1d vector and 1000 elements long. If I have trained two linear regression models on two halves of the data separately (e.g., model A for the first half, model B for the second half), is it possible t...
common-pile/stackexchange_filtered
Nonlinear system: need some advice. I need to solve this nonlinear system of equations. Coefficients a,b,c,d are given. Since it is a system of 4 eq. and 4 unknowns $x_{i}$ it should have a solution but unfortunately there are the squares... Is there any way to solve this in relatively elegant way? I tried but only get...
common-pile/stackexchange_filtered
Is Multiple Comparison Correction necessary for multiple ANCOVA tests I'm working on fMRI data comparing brain activation from ten different brain areas across three groups after controlling for covariates such as age, sex, disease severity. I built an ANCOVA model with post hoc analysis with Bonferroni corrections inc...
common-pile/stackexchange_filtered
How to make custom function for jQuery selector How does one go about making a custom function to append to the jQuery selector? Something that would look like: $('.my_class').my_function(); You want to add the function to jQuery.fn (which is a reference to the jQuery object prototype). For more details check out: ht...
common-pile/stackexchange_filtered
how to pass multiple activities by swiping with finger? I am doing a kids apps,here i want to pass multiple pages(activities) by swiping with finger,because its user friendly especially for kids.So i tried with horizontal page controller ,but here i am able to pass only views like textview,imageview,...Here each view c...
common-pile/stackexchange_filtered
R.layout.main couldn't be resolved I am building an application and I added a new activity to generate a view. I compiled it. My application can not find anything that is on the format R.id.xxx or R.layout.xxx, I've tried also cleaning my project, closing Eclipse and opening Eclipse again, but nothing. The most strange...
common-pile/stackexchange_filtered
Copying text to clipboard isn't working for multiple records In the image above is what i'm trying to do....i need the ip copied to clipboard when the user clicks the button but everytime i click any of the buttons assosciated with each ip, only the 1st IP gets copied whereas i want to copy the ip that is next to t...
common-pile/stackexchange_filtered
How to use shortcuts on onscreen keyboard of an iPad? I have an iPad(iPadOS 17.1) and sadly keyboard commands are usually only available with an external keyboard, and neither is an external keyboard, nor the use of the often unpractical and slow context-menu aka the "apple-workflow" for many of my use-cases an accepta...
common-pile/stackexchange_filtered
Lightswitch global query breaking app I'm trying out Lightswitch for the first time, and I'm finding some of the 'built-in' features aren't as easy to implement as the videos show. The most notable being global queries, because everyone I create is causing a specific error that I cannot find a cause for. I've stripped ...
common-pile/stackexchange_filtered
System.ArgumentNullException : 'La valeur ne peut pas être null. Nom du paramètre : part I have a problem with the code and more specifically with this line: Dim htmlX As XElement = HtmlConverter.ConvertToHtml(wDoc:=doc, htmlConverterSettings:=settings) Every time I get the error: System.ArgumentNullException: La val...
common-pile/stackexchange_filtered
Swiperight and swipeleft gestures for slideshow from w3school I have a problem with jquery swiperight and swipeleft gestures. I have two slideshows, first one is Bootstrap Carousel and second one is inspiration from w3school. (codepen) I found good solution for Bootstrap somewhere on this page. Here is the code. It wor...
common-pile/stackexchange_filtered
Automating samba copy at share level with batch script I'm copying files to an unreliable samba share using Robocopy The script below appears to work but I can't test it fully at this stage. I really have two questions: Can't replicate at share level in robocopy I've found that robocopy must have at least \\host\share...
common-pile/stackexchange_filtered
Why doesn't npm install correctly build dependency from a fork of a package on npm? I have a project that uses an older version of react-bootstrap in my package.json I had "react-boostrap": "^0.13.3" And there is a bug in there that is causing an issue, the fix for it is very simple so I forked the repo, rolled back t...
common-pile/stackexchange_filtered
What`s the meaning of WebClient.setThrowExceptionOnFailingStatusCode? I am trying to use HtmlUnit to analyze html page. Here is the code String url="http://<IP_ADDRESS> URL link=new URL(url); WebClient wc=new WebClient(); WebRequest request=new WebRequest(link); request.setCharset("UTF-8"); re...
common-pile/stackexchange_filtered
How to I unlock Death Wish? I downloaded the Hat in Time DLC recently, but I do not have access to the Death Wish mode. I have beaten all of the boss battles except for the Conductor, but I did battle DJ Grooves. What must I do to unlock Death Wish? The wiki said that I must beat all of the bosses to unlock Deat...
common-pile/stackexchange_filtered
Kernel build <IP_ADDRESS> decreases battery life (16.04 LTS) My battery life was fine when I installed 16.04 LTS (clean install) on my Lenovo z51-70, but after a regular software update or build to kernel, from <IP_ADDRESS> to <IP_ADDRESS>, it has almost halved (1.50 hours compared to 3 hours standby time). Now I know ...
common-pile/stackexchange_filtered
Will Catalina stream movies (etc) to a 3rd Generation Apple TV box? I have one of the older, 3rd generation Apple TV boxes, (the sort that came with a clicky remote, not a swipey one). I regularly use it to watch movies and TV shows served up by a Mac currently running High Sierra (I think… might be Mojave), via iTunes...
common-pile/stackexchange_filtered
undefined method `model_name' for NilClass:Class when using jQuery to load partials I have a dashboard_controller where I'm attempting to allow a user to submit three forms for other controllers. I'm using jQuery to load the forms into a div when I click a link. The jQuery works fine and I can view the forms depending ...
common-pile/stackexchange_filtered
Find irreducible representations of a reducible representation of $S_4$ Consider the complete graph $K_4$ with $4$ vertices, and choose some orientation for the edges. The symmetric group $S_4$ acts on the vertices and thereby also induces an action on the (oriented) edges. Since there are $6$ edges, I can say that th...
common-pile/stackexchange_filtered
jQuery DatePicker minDate not working in Internet Explorer and Safari I thought I had jQuery's Datepicker working fine, but then the client noticed that it's not working correctly in IE and Safari (5 or 6). Doh. According to the Datepicker documentation you should: "Set the beginning and end dates as actual dates (ne...
common-pile/stackexchange_filtered
Memory mapped IO - how is it done? I've read about the difference between port mapped IO and memory mapped IO, but I can't figure out how memory mapped Io is implemented in modern operating systems (windows or linux) What I know is that a part of the physical memory is reserved to communicate with the hardware and ther...
common-pile/stackexchange_filtered
Are foreign traders subject to UK consumer law if they advertise services to UK residents? I am in several WhatsApp groups for offer holders for UK universities. There is an essay writing group which repeatedly sends messages advertising their services despite the messages being clearly unwanted by everyone in the grou...
common-pile/stackexchange_filtered
Python - tempfile.TemporaryFile cannot be read; why? The official documentation for TemporaryFile reads: The mode parameter defaults to 'w+b' so that the file created can be read and written without being closed. Yet, the below code does not work as expected: import tempfile def play_with_fd(): with tempfile...
common-pile/stackexchange_filtered
Metric spaces: patching uniform continuity from subsets Let $(X, d)$ be a metric space, and $A$, $B$ be closed subsets of $X$ (not necessarily disjoint) with $A \cup B = X$. Suppose I have a function $f : X \to Y$, for $(Y, d')$ some other metric space, and I know that $f \mid_{A}$ and $f \mid_{B}$ are both uniformly c...
common-pile/stackexchange_filtered
How do i get the count of products in my db? UPDATE: I am trying to achieve something like this id name 1 TShirts (245 in stock) 2 TShirts ( 170 in stock) 3 Trousers ( 400 in stock) I have a hierachy of categories to the product listing.  How do I get the count of each product in my code below something like th...
common-pile/stackexchange_filtered
angularjs function failing because of extra $$hashKey I have the below HTML: <li ng-click="toggleBeep(beep)" ng-class-odd="'gradient-two'" ng-class-even="'gradient-three'" ng-repeat="beep in beeps"> <span>{{beep.name}}</span> <label class="bold" ng-show="isSelected(beep)">se...
common-pile/stackexchange_filtered
What is the meaning of jQuery enclosure in Javascript libraries? I see a lot of third party javascript codes that are enclosed with jQuery like this: $(function() { // ... javascript code }); What is the purpose of enclosing with jQuery? This is different from $(document).ready(function() { /* ... */ }); right? T...
common-pile/stackexchange_filtered
things to learn for partitioning a graph? I am going to do a project that needs to partition a graph(most time it's a tree) to several balanced child partitions. Each node will have a weight. Since I didn't learn much about this before and never touched this area in my ten years programming age. Could somebody point m...
common-pile/stackexchange_filtered
Rails Factories association fail I've been fighting with this all day. The problem is the same with Fabrication or FactoryGirl so I guess it has to do with Active Record or Rails. Let's take the following code: # app/models/category.rb class Category < ActiveRecord::Base before_validation :set_order # Associations...
common-pile/stackexchange_filtered
Is there a general formula the solutions of a polynomial equation of the form $Ax^n + Bx^{n-1} + C = 0$? Is there a general formula for the solutions of a polynomial equation of the form $$Ax^n + Bx^{n-1} + C = 0,$$ where $A$, $B$, $C$, and $n$ are constants? A general formula for the solutions of that polynomial? Is ...
common-pile/stackexchange_filtered
nginx - permalinks with .php in url not working I'm moving a site from an Apache server to a nginx server. A lot of the pages have a .php extension at the end of the permalink. Trying to view those pages results in a nginx 404 Not Found. However those pages worked fine on Apache. Here is the server block config for the...
common-pile/stackexchange_filtered
Enable class constructor in some enumerated template cases For performance reasons, I'm using a templated class with an enum instead of relay on inheritance (It is not an option). At this point I have something like: typedef enum { A, B, C, D } QueueType; template <QueueType T> class Queue { Queue(int a){...} // o...
common-pile/stackexchange_filtered
R Plotly - Assign the color of a marker by its size I am using plotly to create an interactive pie chart for a shiny app. The underlying data is comparable to sales data. Each observation corresponds to a sale of a product. The pie chart then sums up the sales by product category. I am looking for a way to assign color...
common-pile/stackexchange_filtered
How to time a jQuery game with php I'm creating a jQuery game where the player has to complete a task in the quickest time possible. I display a timer so the user knows how long they are taking to complete the task. I've been reading up on cheating/hacking and it seems the only way to prevent it is to keep the importan...
common-pile/stackexchange_filtered
How can I add a satisfying objective and/or win condition to a game with respawns? I am looking to add an objective to my game. https://www.youtube.com/watch?v=O3uxaxy5_tc The above video is the most recent video I've made of gameplay in my game. As you can see, the game has got: Opponents to fight (in the video NPC ...
common-pile/stackexchange_filtered
Remove duplicates in python dictionary I have a list of dictionaries in python and I would like to override old value with duplicate value. Please let me know how can I do. {'message': [{'name': 'raghav', 'id': 10}, {'name': 'raghav', 'id': 11}]} Output should be: {'message': [ {'name': 'raghav', 'id': 11}]} So, wha...
common-pile/stackexchange_filtered
Are accepts considered for the epic badge Possible Duplicate: List of all badges with full descriptions Are accepts considered towards the 200 daily reputation that a user should get in a day that counts for the Epic or Legendary badge? That is if I have a day where I have 205 reputation but 30 of them are from acce...
common-pile/stackexchange_filtered
I can't fix the number after the comma in C# It's my first time with C#. I got a problem and don't how to solve I hope you help me out. Thank you in advance This is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProgrammingAssignme...
common-pile/stackexchange_filtered
Filter special characters, count them, and rewrite on another csv I am trying to see if there are special characters in csv. This file consist of one column with about 180,000 rows. Since my file contains Korean, English, and Chinese, I added 가-힣``A-Z``0-9 but I do not know what I should to not filter Chinese letters. ...
common-pile/stackexchange_filtered
What is the purpose of carry-in in full adder? If carry in equals carry out of previous adder, then I have question In 5th row carry out is 0 then why is carry-in equal to 1 in next adder? This is not for the next adder. It is for the same adder. It has 3 inputs and two outputs. So yes, carry out of one adder is goin...
common-pile/stackexchange_filtered
how to preview my php table without having other symbol at the end of the word Currently i 'm able to show my content in php table but the content of table contain a lot of or symbol how could i remove those unnecessary, is there any better way? enter image description heresymbol <?php // This file I have named i...
common-pile/stackexchange_filtered
Writing simple upstart script I'm trying to write a simple upstart script for my ubuntu server, which starts vnc4server. But it does not work. Here's the script: # vnc-server.conf start on runlevel [2345] stop on runlevel [016] script su skerit -c 'vnc4server :0 -geometry 1024x768' end script post-stop scri...
common-pile/stackexchange_filtered
Changing Dynamic TextField to Movie ClipSymbol Alright guys so this is probably easier than i am making it out to be but basically i have a Dynamic TextField on the Stage with an instance name of "livesText" which gets updated whenever the player losses or gains a life. But since other graphic problems are emerging i w...
common-pile/stackexchange_filtered
Filament 3 - Dynamic fields based on a select option with Tabs My problem is as follows On the create page, when I select a product type on the "Default TAB" tab, the form associated with that product type should load on the "Data TAB" tab. This works on the create page, the data is entered insert the database. However...
common-pile/stackexchange_filtered
If Ramayana is much older than Mahabharata, then why don't we find any character in Mahabharata discussing Lord Rama or worshipping him? Parashurama, Lord Hanuman, Jambhavan and Lord Shiva appears in both(Ramayana and Mahabharata) What has been mentioned about Lord Rama in the Mahabharata? In the Vana Parva of Mahabha...
common-pile/stackexchange_filtered
Can I search all my registers to paste a value Let's say I'm restructuring some text including a line that contains the text "log". After a bit more editing, I want to paste the log line, but its now in some far-off register. Is there a way to search all registers for the first that contains the term "log" and paste it...
common-pile/stackexchange_filtered
After `script` command gives a file, in vim I use `:set isprint=1-225` to remove non-printable characters yet can't save the file in this format When in vim I execute this command :set isprint=1-225 all the non printable characters are condensed/removed. Now how can I save this file or convert the format of this file s...
common-pile/stackexchange_filtered
Find a boolean circuit with prolog The problem is the following : considering three inputs A,B,C, find a boolean circuit with AND,OR and NOT gates such that the output is not(A), not(B), not(C) using at most 2 NOT gates. I would like to find the circuit with prolog. My idea is to compute a predicate "accessible" that t...
common-pile/stackexchange_filtered
Cronjob is working, but my Script wont load in cron My cron is working(Cron.log below) and my script is working too. But Cron wont load the script every 2 Minutes. Cron.log: Apr 3 01:02:01 Debian-78-wheezy-64-minimal /USR/SBIN/CRON[11777]: (mc) CMD (mc /home/mctw2/crash-script) Apr 3 01:04:01 Debian-78-wheezy-64-mini...
common-pile/stackexchange_filtered
Unable to upload iOS update after adding Flurry Analytics? Error: Your app can’t contain standalone executables or libraries In my Swift iOS application I've just added Flurry Analytics by creating a briding-header.h and importing Flurry.h. I then added SystemConfiguration.framework, CFNetwork.framework, and Security.f...
common-pile/stackexchange_filtered
Deserlize BSON into objects in client from WebAPI I have a web API that is currently returning a BSON response from a POST. Normally I have the WebAPI returning JSON and I just do this in the client to deserialize it into my C# object or objects. var result = await GetApiClient().PostAsJsonAsync("api/Test/GetImages", ...
common-pile/stackexchange_filtered
Logging from mappers into one location I would like to know what mappers are doing at the given moment. From my understanding all of them are writing StdOut to a local log file. It's not practical to tail multiple log files on many servers. I would like to make all mappers write into one place instead (like a specific ...
common-pile/stackexchange_filtered
how to fill big holes in blender I have big holes in the mesh of human skull. I want to topologically fill holes. Like in the picture you can see holes. I can close them with face>fill option but not grid fill. It gives the error of that "select two edges loop or a single closed edge loop which two edge loops can be c...
common-pile/stackexchange_filtered
Spring security redirects https pages to login I have an application secured with spring security. To tell the story on short: Many requests to unsecured resources (like images or other assets) were done on https (some of the requests from another applications). Spring security was setup like this: <security:intercep...
common-pile/stackexchange_filtered
Aspect Oriented Programming for Google App Engine (Java) What are some good aspect oriented programming libraries/frameworks that will run on google app engine (Java version)? Does Guice count? I've only used it for Dependency Injection, but this page makes a convincing case for using it for AOP too. It seems to be...
common-pile/stackexchange_filtered
How to fix: Avoid non-readonly static fields I am using NDepend and in the following code, it detects this code smell. But if I add readonly, then it wont compile. namespace todo { using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Linq.Expres...
common-pile/stackexchange_filtered
A way to change image urls in post to cdn image url? due to some reason my hosting company isn't able to fix if i use w3 total cache or w3 super cache for caching my site's sql usage keeps on peaking.... and on high spikes servers gets laggy and down sometimes. For that i have to use hyper cache plugin for cache as it...
common-pile/stackexchange_filtered
Symfony process control I'm beginner in Symfony, I wanna know if there is any way to control the process of my functions ( I mean to stop it or to run it.. at any time I want) I found this case using the Symfony process library : use Symfony\Component\Process\Process; $process = new Process('#command'); $process->sta...
common-pile/stackexchange_filtered