text
stringlengths
70
452k
dataset
stringclasses
2 values
Accepting input through an array in Java I'm trying to have the user enter an array of numbers(=marks of students). Also, the user himself will decide the size of the array, ie, the number of students in class. Having accepted the marks of each student, i want to store them in an array, display the marks of all student...
common-pile/stackexchange_filtered
Rename "Very Low Quality" Flag as "Unsalvageably Bad" Current name and description of the flag: very low quality This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed. Change the name of the flag to: unsalvageably bad If yo...
common-pile/stackexchange_filtered
How can I simulate events like Series1DblClick or Chart1ClickSeries when programatically creating Charts and Series on the runtime? In a small Delphi program I create few TCharts and TBarSeries programmatically on the runtime but then I want to be able to click on a bar of the chart and fire, for example, a Chart1Click...
common-pile/stackexchange_filtered
Domain names ending with book I want to make a humorsite, not a social network, but a humorsite. But my domain name ends with book. Do you think Facebook would make a fuss about it? Why should they? Is the term "book" a common noun or a registered trademark? I assume you're asking because of the TeachBook lawsuit. Ov...
common-pile/stackexchange_filtered
firebase error when connection to android hello people i have just got an error when i connect my flutter project to firebase and i have latest version of android studio and flutterSDK this is the error C:\Users\Texas Electronics Lt\newsdkproject>flutter run Launching lib\main.dart on SO 03J in debug mode... FAILURE: B...
common-pile/stackexchange_filtered
Resize an Array inside an Array I have a VBA dictionary with key:value pairs. The key is an animal name and the value is an array of arrays that looks like this: [[kilos eaten], [kilos gained]]. I'm trying to resize the inner arrays so that I can add items to these arrays via a loop. The documentation indicates that "T...
common-pile/stackexchange_filtered
strings in hebrew in python for s60 I'm using python for S60. I want to use string in hebrew, to represent them on the GUI and to send them in SMS message. It seems that the PythonScriptShell don't accept such expressions, for example: u"ืื‘ื’ื“ื”" what can I do? thanks development of situation: I added the line: # -*- c...
common-pile/stackexchange_filtered
php profile username display on web url I am creating PHP profile username display on web URL script this script when i removed from username from web URL but not display error.php file Here is my code <?php if(isset($_GET['username'])){ echo""; }else { header("location:error.php"); } ?> you need a space after the c...
common-pile/stackexchange_filtered
How to align dt and dd side-by-side using flexbox with multiple dd underneath the other? I am trying to create a list consisting of key-value-pairs where the key is on the left and the values are on the right side one underneath the other. Authors John Doe Jane Doe Max Musterm...
common-pile/stackexchange_filtered
SQL where clause sub query can someone please explain to me why my isn't working right? select distinct campaignid from( select day, campaignid, campaignname, sum(campaign_impressions) as impressions, sum(installs) as installs, sum(revenue) as revenue from bi.mobile_united_net t where (campaignid in ( select TOP 14 dis...
common-pile/stackexchange_filtered
How to trigger 'submit' event before the 'blur' event is triggered? I have a form which has an error message as shown in the example below: http://codepen.io/anon/pen/dYWyEM?editors=101 Steps to reproduce the problem is as follows: After opening the codepen link, Focus in the input field Press submit button Since, b...
common-pile/stackexchange_filtered
Using SMS to register How to make SMS registration easier? Send SMS with any simple text ("reg") to the service number. Fill the registration form (while service generates and sends answer). Enter the number from SMS answer. Submit. Using cell phone or cell to cell money transfer image on the banner could visual...
common-pile/stackexchange_filtered
How to test non-$LATEST version of AWS Lambda? When I'm in AWS --> Lambda > Functions > myFunctionName, whenever I edit the Code and then run the Test (clicking on Test button to Left of Deploy), it is running the test on the old (deployed) version of the code. This happens whether or not I File > Save first. This is e...
common-pile/stackexchange_filtered
How to enable Emmet's tab key handler (HTML shortcuts) within JavaScript files? By default the tab key handler only works within JavaScript strings. I'd like to use it within JSX files which have a .JS file extension (and the tags do not occur within strings.) https://github.com/sergeche/emmet-sublime#tab-key-handler...
common-pile/stackexchange_filtered
How do I get a list of files that have been `required` in Ruby? This is purely an experiment, but I'm wondering if it's possible to get a list of the require'd gems at runtime via some kind of metaprogramming. For example, say I have: require 'rubygems' require 'sinatra' require 'nokogiri' # don't know what to do here...
common-pile/stackexchange_filtered
Open Source Map Composing Tool Are there any open source tools which can be used for map composing, preferably GUI based. I use Quantum GIS sparingly but I am interested to know if there are others. The tool must be able to read raster/vector layers in standard formats and allow exporting in various formats. Something ...
common-pile/stackexchange_filtered
A Brian, we're seeing inconsistent yield strength in the AZ91 matrix batches. Some hitting 203 MPa, others barely reaching 180. B The reinforcement distribution again? I noticed the hardness variance too - we had samples ranging from 65 to 79 HV on the same production run. A That's part of it, but I think we're de...
sci-datasets/scilogues
How do I accurately calculate the speed of a rotary encoder at a high sample rate? I'm aiming to control a motorized joint at a specific speed. To do this, I'm planning on attaching a rotary encoder to do this. I'll be controlling the motor with a PID controller. With this PID controller, I need to control the joints b...
common-pile/stackexchange_filtered
Kendo grid CRUD doesn't persist in the server side The create method sends "null" values, the delete method returns a 404 not found, and the put method only clears the edited field. (all methods are working in postman). I'm not sure how Kendo UI sends the to the API, but my create method waits for the parameters in the...
common-pile/stackexchange_filtered
Does Howard the Duck ever cross into Earth 616? One of the oft-forgotten (possibly intentionally forgotten) facts about Howard the Duck is that he is technically a Marvel Comics character. It was always my understanding that he was only a parallel universe character. His bio on Marvel's website, however is a bit unclea...
common-pile/stackexchange_filtered
A Livingston, the throughput on this community center's network dropped to 235 megabits per second yesterday. That's a seventy percent decrease from our baseline measurements. B That's significant degradation for what should be a stable connection. Did you check for packet loss during those measurements? A I ran ping...
sci-datasets/scilogues
Heroku: Permission denied (publickey). fatal: Could not read from remote repository when doing git push I've spent the day reviewing all the existing solutions suggested on Stackoverflow and elsewhere, and tried them without success, and I'm still stuck with this. The "heroku keys:add" solution doesn't work for me, so ...
common-pile/stackexchange_filtered
sva event scheduling with $display/uvm_error So I recall when an assertion triggers the data signals in the assertion are from just prior to the clock edge. I'd like to put a helpful error message in my assertion to let the user know what went wrong, but by the time $display() happens the data has already changed. As a...
common-pile/stackexchange_filtered
iPhone: add badge to icons internal to my app I am trying to add badges to the icons in my app. e.g. in the facebook app, in the home page the number of pending requests is shown on the requests icon. Can someone provide any links/ideas on how to do this? Thanks, V Lots of ways to do this. You can overlay a UILabel ...
common-pile/stackexchange_filtered
ProgressBar multiple displaying I have an AsyncTask linked to a refresh Button (when I click on my refresh button my AsyncTask is called). I have on my Layout a LinearLayout field for my ProgressBar : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" and...
common-pile/stackexchange_filtered
Why the restrictions on protocols with Self or associatedtype? While designing APIs, I run into this at every corner: Protocol can only be used as a generic constraint because it has Self or associatedType requirements What that means is that you basically can not use Self or associatedtype on protocol level if you e...
common-pile/stackexchange_filtered
How to Hide a division on form submit in PHP if the validations that are checked from the database side are correct? Im quite new to php development. In the application Im having a home.php page where the user needs to enter a security code and submit. If the entered security code is correct then the 2 divisions shoul...
common-pile/stackexchange_filtered
java load properties file path unicode See following code, in the main method: System.out.println(args[0]); String PROP = args[0]; System.out.println("C:/ๆต‹่ฏ•".equals(args[0])); I am running the program in Eclipse. When running the program, I added C:/ๆต‹่ฏ• into the program arguments. Here is the result: C:/?? false Why...
common-pile/stackexchange_filtered
How to redirect any route like "http://myweb.com/event/12" to my index.html using php? I am trying to deploy my project on my heroku. My problem is that if I directly reload any route from the browser like: http://mywebpage.com/event/12 I get "not found 404". I would like to do something so that by default I redirect...
common-pile/stackexchange_filtered
Coefficients of the wave function - a free particle in a box If we solve the time independent Schrรถdinger equation for a particle in a box of length $L$, we get: $$\psi_n\left(x\right)=A\sin\left(\frac{\pi n}{L}x\right)$$ I then see that we normalize $A$ such that: $$A=\sqrt{\frac{2}{L}}$$ so that the sum of the proba...
common-pile/stackexchange_filtered
Is it possible to create 3D face model using ARKit Is it possible to create 3D face model using true depth camera of iPhoneX and ARKit, has anyone tried? Let me know if possible, also if there are any other libraries to do it. I am trying to create 3D model of face and trying to place objects on it. did you find anyt...
common-pile/stackexchange_filtered
Symfony2 EasyAdmin exception in getting list view I have an entity Sessions where the PK is also the FK referencing a User table. In the EasyAdmin list view page for Sessions, I'm getting a Symfony runtime exception (Twig_Error_Runtime): An exception has been thrown during the rendering of a template ("Paginating an en...
common-pile/stackexchange_filtered
Script to put filenames from the working directory into a text file so commands can be run on them I want to make a script that puts filenames from the working directory (with a specific extension) in text file with some additional strings: For example, if I'm interested in files with extension i and files in my direct...
common-pile/stackexchange_filtered
Another solution for all MOS are in cutoff saturation region Here is a two stage amplfier with a beta multiplier bias(lab3),the schematic of lab3 is in the second picture. I simulate them when VDC is 1.8v and 1.98v for tt-corner and ff corner in 25 degree centigrade and 125 degree centigrade,the mos for the two stage a...
common-pile/stackexchange_filtered
Is there a succession plan for Stack Exchange sites if Stack Exchange goes bankrupt? I recently found that an Internet community I've been a part of for the past decade (run by a fairly well-known startup) was shut down. It seems that the public offering/community they maintained was not profitable. This made me consid...
common-pile/stackexchange_filtered
Brand new Xcode unit test target cannot run because "Launch session expired before checking in." I have added a brand new unit test target to my macOS app project in Xcode. It contains the default two files: (name of target).swift Info.plist However when I run my test suite, this brand new target breaks with the erro...
common-pile/stackexchange_filtered
C game with ncurses - closing window without exiting the program I'm writing a simple C hangman game, which is my first acquaintance with graphics in C. In the main function I've put a window menu, using "newwin", "mvwprintw" and "wrefresh". From this menu I'm calling another function for New Game, using new window fo...
common-pile/stackexchange_filtered
I want to create a source file that calls a function without having to create an object Suppose I want mergesort.cpp that implements mergesort. So in my .cpp file I have something like: int * mergesort(int * a, int lo, int hi) { //mergesort } and in the header mergesort.h, I would have: public static int mergesort(...
common-pile/stackexchange_filtered
UITableViewCell TopLeft and BottomLeft Corners not working I'm new to iOS development and trying to create a custom UITableViewCell that has a background which top-left and bottom-left corners I want to round, but it only works for the top-left corner. Here is my code (Swift 3): override func awakeFromNib() { super...
common-pile/stackexchange_filtered
K8s integrate EFK, status code 406 is thrown out I have 3 virtual machines (VirtualBox centos 7.4) on my win10. I try to configure EFK so that I could monitor logs. I have 1master + 2nodes, master also has kubelet. I follow the instructions made by this link. I did not change downloaded kubernetes/cluster/addons/fluen...
common-pile/stackexchange_filtered
How do I set a primitive private static final field in a class with private constructor using PowerMockito? I'm trying to set a private static final field in a class with private constructor for a JUnit test. When I boil the code down to its basics, I get the following: public class Foo { private static final boole...
common-pile/stackexchange_filtered
Can the information regarding atomic bonds be interpreted only from atom lines in a PDB file? The following are the first 14 atoms from the protein 1CRN: ATOM 1 N THR A 1 17.047 14.099 3.625 1.00 13.79 N ATOM 2 CA THR A 1 16.967 12.784 4.338 1.00 10.80 C ATOM...
common-pile/stackexchange_filtered
Need a help o create table structure sql? I have to create following table structure for a group. 1 member can join many groups 1 group can have only 1 owner member need to design these two tables member and group? i tried like MemberTable Mid(PK) Mname MAddress 1m aaa IND 2m bbb UK GroupTable Gid(...
common-pile/stackexchange_filtered
Why is DNS spoofing not working I wrote a python script to spoof DNS responses to all queries, using the Scapy library. The script is successful, meaning when I manually lookup an IP address I instead get the one that my script supplied. How come then, when going to websites that require a DNS query, do I get the corre...
common-pile/stackexchange_filtered
How can I retain Fragments and their data on both orientation change using BottomNavigationView After following a couple of Youtube tutorials (eg https://www.youtube.com/watch?v=tPV8xA7m-iw) I was able to build an Activity with a BottomNavigationView, that switches between three different fragments. I'm not sure if thi...
common-pile/stackexchange_filtered
insert to a dynamic 2d array in c im trying to insert a value to a dynamic 2d array of chars: theBoard->_board[row][col] = val; but on each assignment of a char to (row,col), it also puts it on (row-1,col+8). what could be the problem? here's the allocation of the array: if ((new = (BoardP) malloc(sizeof(struc...
common-pile/stackexchange_filtered
Interoperating Async/await, @MainActor and DispatchQueue.main.async Say I have this code: class Presenter { var viewToUpdate: UIView! func updateUI() { viewToUpdate.backgroundColor = .red } } class ShinyNewAsyncAwaitClass { func doAsyncAwaitThing() async { // make network call or s...
common-pile/stackexchange_filtered
How to efficient sort arrays by date with Python 3.6 I have a .csv input file that i am reading using Python 3.6.3, that has the following abbreviated outline Day,Month,Year,Debit(U.S. Dollars) 1,March,2016,487.00 1,March,2016,27.48 6,Februaray,2016,47.81 9,June,2017,218.55 I am reading in the data using the .csv modu...
common-pile/stackexchange_filtered
jump between frames As we all know one can jump between frames using e.g. hyperlinks. I don't want jump to the end, but include the frames fixed. They should not be additional. E.g. I have the topic cars and make an excursion about motors coming back to cars. When I added the intermediate "motor" part, I had the proble...
common-pile/stackexchange_filtered
Value at Risk (VAR), TVAR, ES for uniform distribution The following is a problem for Kaas et al. (2008) "Modern Actuarial Risk Theory". I am trying to understand my concepts for TVaR, VaR, and CTE Question: Give expressions from VaR, TVaR, and CTE in case S ~ Uniform[a,b] My solution so far: At confidence level $c$ Va...
common-pile/stackexchange_filtered
How can I use Python to download a video from a website? There's a really cool course on Kadenze on machine learning. Much like coursera-dl does, I would like to download all of the course videos so I can reference them later. For simplicity's sake, let's assume I've logged in and have access to the page with the video...
common-pile/stackexchange_filtered
Writing array to file code does not work (C++) UPDATE: If anyone is reading this and having a similar problem, it seems that the problem was where I converted a double to an int. Where I thought for example 54 was stored as 54.000..., it was actually stored as 53.99999... and when changing to int, it became 53. A work...
common-pile/stackexchange_filtered
Rails irregular Inflector errors with routing and tablename I need a Genus model, which should pluralize to genera. I'm using Rails 4.2.1 with Ruby 2.2.1 and SQLServer 2014. I added an Inflector in config/initializers/inflections.rb: ActiveSupport::Inflector.inflections(:en) do |inflect| inflect.irregular 'genus', 'g...
common-pile/stackexchange_filtered
Why my EF collection are not lazy? I'm using EF 4.1 Code first. I have a model of user and a model of setting. Each time the repository returns a user the Setting is also loaded. I've marked the Setting as virtual all my access modifiers are public LazyLoadingEnabled and ProxyCreationEnabled are enabled by default. Wha...
common-pile/stackexchange_filtered
styling an asp:checkbox in VB.NET I want to add some style to the checkbox itself using asp:checkbox in VB.NET. Now all CSS I have found only works with input and I am using asp:checkbox and asp:checkboxlists and want to be able to style those. Is it possible to do and do I do it thru CSS only or other methods. I wo...
common-pile/stackexchange_filtered
C#: Create Index For An Attribute In Embedded Document I have following document in my MongoDB database: { "_id":1, "user_name":"John Doe", "addresses":[ { "_id":null, "geolocation":null, "city":"Toronto" }, { "_id":null, "geolocation":null, ...
common-pile/stackexchange_filtered
How to iterate through a Java enum? I have an enum of string, as in this example. When my current element would be STRING_ONE, how can switch to the next Strings item in the enum with for instance the ++ operator? Something like: Strings myEnum = String.STRING_ONE; myEnum++ ; // to have STRING_TWO for instance ?...
common-pile/stackexchange_filtered
Port Audio causing Loud Buzzing 50% of Tests I am in the process of integrating port audio with an existing MacOSX application. Here is my code so far: static int coreAudioCallback( const void *inputBuffer, void *outputBuffer, unsigned long framesPerBuffer, cons...
common-pile/stackexchange_filtered
301 Redirects From Old WordPress Site to New WordPress Site with URL Structure Changes I just uploaded a redesigned and developed WP website and I was wondering how I would go about updating the old URL's with the new ones automatically. I am not sure if this has to be a manual process as I am still fairly new to WP. B...
common-pile/stackexchange_filtered
How to access a shared drive from the command prompt on OS X I have a shared drive called "music". It shows up in Finder without problems. How do I access this from the command prompt on aย Mac? I can't find it anywhere โ€“ is there a way to access it? Where is it physically located? Another partition? Another computer?...
common-pile/stackexchange_filtered
git getting changes of changes after a PR is (force) updated Been wanting to find a way to handle this situation. Or perhaps modify the way I work? Upstream repo creates a PR, with a commit "A". I port this commit A over to my repo (which is a non-trivial task) to assist with code-review etc. If some changes are requir...
common-pile/stackexchange_filtered
I cannot display a value in a label The "id" string in this function has a value but it is not displayed in the label. I have a break point there and I can clearly see such value. protected void RadTreeList1_ItemCommand(object sender, TreeListCommandEventArgs e) { string id = ""; if (e.CommandName == "Select") ...
common-pile/stackexchange_filtered
C# Why use a repository as a property? I am reading up upon the Repository usage. Sometimes I see that a repository is a property of an entity. I was wondering what the pro's and cons are. public interface IRepository<T> { T GetById(int id); void Update(T); } public class FooRepository : IRepository<Foo> { publi...
common-pile/stackexchange_filtered
Is synthetic division ever useful outside of a low-level algebra course? I am an economist, so I use various kinds of mathematics. My daughter is learning synthetic division in high school algebra. I have never come across it in my 30 years in economics. Does it have a use in higher mathematics? Is it worth teaching in...
common-pile/stackexchange_filtered
Windows 8 thinks there's another installation on my other HDD I have 2 drives, and SSD which is my boot disk and another drive for my data. Data drive only has data and only ever has had data, never has an OS been installed on it. I installed a new SSD (removed the old one as it died) and install Windows 8 again on my ...
common-pile/stackexchange_filtered
Sum of two table values per time and find minimum of sum result in SQL-Server I have two database. in database one I have a table (507.000 record for one day data) -- insert data from database_1 DROP TABLE IF EXISTS #AccountBalance; CREATE TABLE #AccountBalance ( AccountNumber VARCHAR(20),AccountBalance MONEY,TranTime ...
common-pile/stackexchange_filtered
winston logger not working in nodejs when logger is being exported to a new file it does not create a log, I have two files 1] abc.js let winston = require('winston');require('winston-logrotate'); var logger = new winston.Logger({ level: 'info', transports: [ new (winston.transports.File)({ filename: 'so...
common-pile/stackexchange_filtered
What's the best way to contribute to Stack Overflow if you don't have a ton of technical knowledge? So far I love what I see from Stack Overflow, and I find myself visiting quite often during my work day. My areas of expertise are J2EE and Spring Framework, and I'm starting to get a little frustrated because most of t...
common-pile/stackexchange_filtered
Cast a class object into an interface at constructor always returns NULL My class using an interface and require the information if an interface was used on object creation: The interface: class IServerSetup { public: virtual void ServerSetup () = 0; } The class: class MyServer : public MqC, public IServerSetup ...
common-pile/stackexchange_filtered
To extract private arguments details from procedure and function in Oracle I have a requirement where I need to retrieve arguments, their data type, mode (IN/OUT) of private function n procedure define in package similar like dba_argument table. Possibly also relevant if you're trying to get both public and private su...
common-pile/stackexchange_filtered
How to find best match with sklearn pipeline in Python I've got a Pipeline setup using a TfidfVectorizer and TruncatedSVD. I train the models with sklearn and calculate the distance between two vectors using the cosine similarity. Here's my code: def create_scikit_corpus(leaf_names=None): vectorizer = TfidfVectori...
common-pile/stackexchange_filtered
SQL Statement join where if one condition is not met, then do the other one Lets say I have two tables NAME_TABLE ID1 ID2 NAME A 1 JACK B 2 CRAIG C 3 RYAN D 4 LARRY JOB_TABLE ID1 ID2 JOB A 2 ENGINEER B 1 TEACHER E 3 ANALYST F 4 ARCHITECT I want to make a query that first checks compa...
common-pile/stackexchange_filtered
MongoDB print distance between two points When I am firing this query on MongoDB, I am getting all the places in the proximity of 500 miles to the specified co-ordinates. But I want to know the exact distance between the specified co-ordinates and the result location. db.new_stores.find({ "geometry": { $nearSphere: { $...
common-pile/stackexchange_filtered
jQuery: How can I valide input field during typing? My current code is like this and is click-based, not typing-based: $(document).ready(function() { $('#btn_send').on('click', function() { content_input_username = $('#input_username').val(); $.post('system/check_username.php', { 'content_input_u...
common-pile/stackexchange_filtered
I need this printed like shown in my desired example This is the current code i have: def render_histogram(values): rows = [] for value in values: rows.append((" "'\n'*(max(values)-value))+("*"'\n'* value)) return '\n'.join(rows) print(render_histogram([4, 5, 3, 8, 1])) Desired result: what ha...
common-pile/stackexchange_filtered
OpenGL 3+ BlackScreen - C++ I get a black screen after trying to get a simple triangle on OpenGL with the SDL2... I actually initialize the window with OpenGL and start GLEW with an object name as "EngineOpenGL" : http://pastebin.com/S4YDgY45 Then I start a scene which supposed to rendering the triangle : "SceneOpenGL"...
common-pile/stackexchange_filtered
C++ Constant preprocessor macros and templates So say I have the following very simple macro, along with a bit of code to output it: #define SIMPLEHASH(STRING) STRING[1] + STRING[2] + STRING[3] std::cout << SIMPLEHASH("Blah"); This outputs 309, and if you view the assembly you can see: 00131094 mov ecx,dword...
common-pile/stackexchange_filtered
ReCaptcha NoCaptcha shows always additional verification for Firefox Why Google ReCaptcha V2 always shows additional verification (pictures) in firefox after clicking "I'm not a robot"? It is really annoying for users. Especially that Google says, that NoCaptcha is more userfriendly. Is there any way to skip 2nd level ...
common-pile/stackexchange_filtered
Integrating Testing with Model Checking So with Model Checking you have a specification and the model checker automatically goes through your program's states and checks if it matches the specification. What I don't understand is where testing fits it. So typically it is described that if Model Checking finds an error,...
common-pile/stackexchange_filtered
"Content-Type:text/plain" forces to download the file If I call header('Content-Type:text/plain; charset=ISO-8859-15'); the browser will download the file instead of showing it. Using text/html works instead. (the downloaded file is processed anyway, it's not downloading the source code) I've tried to add header('Conte...
common-pile/stackexchange_filtered
Understanding encryption Keys I'm really embarrassed to ask this question but its the fact that I don't know anything about encryption. I always avoided it. I don't understand the concept of encryption keys (public key, private key, RSA key, DSA key, PGP Key, SSH key & what not) . I did encounter these in regular basis...
common-pile/stackexchange_filtered
The client's web application keeps throwing false positives with our current scanning approach. That's the classic SAST limitation right there. We're analyzing their source code without actually running it, so we're missing the context of how vulnerabilities manifest during execution. But if we switch to dynamic test...
sci-datasets/scilogues
Is there a way to add handlebars to html.vim? I'm working with handlebars right now and I'd like to get tags like: {{#component 'whatever'}} {{/component}} and {{#if}} {{else}} {{/if}} to increase the indent count. Unfortunately, it doesn't look like you can add handlebars with g:html_indent_tags or indentkeys. E...
common-pile/stackexchange_filtered
Custom color coding in Google Spreadsheet based on values I am looking to compare values in google spreadsheet and paint them based on value from 2 different sheets Example cell values are:data_sheet C3|0.536| D3|0.568| E3|0.527| F3|0.378| G3|0.498 |, and dev_sheet E3|0.4948240742| F3|0.7823240742| for each cell i...
common-pile/stackexchange_filtered
What are these long hexadecimal HTTP requests? I'm receiving long hexadecimal requests on my webserver, such as: /f588069cda088c9a0fc25509fc4ed8418fe47a447683243395e649753d2d4b87cce9c4b3cc16cb5f44068e6da475dbffa9689b9ad237b5c941bb9ad2aa6759f7e4e39ba3012202cdce328f7eccc7efa48642eec1870e15c39924bc3c790ba04c I've tried to...
common-pile/stackexchange_filtered
AWS lambda triggers on s3 object push but file is not present I have a AWS lambda function which invokes whenever there is a object push happens in s3 bucket and I've also added functionality which sends notification mail if there is any error in lambda function. For some data it works fine, meaning whenever there is a...
common-pile/stackexchange_filtered
BS4: removing <a> tags I'm using BeautifulSoup 4, I have below HTML: <tr> <td>London <a href="/company/mcrt/5" target="_blank">10 vol</a> 54 page</td> </tr> I'm trying to remove just the "a" tag and keep the text inside, like this: <tr> <td>London 10 vol 54 page</td> </tr> Is there any way to do it with bs4? Of ...
common-pile/stackexchange_filtered
Install new XCode recover previous SDK ( deprecated ) For each new release of Xcode, you lose the previous SDK. On Xcode 3.2.5 , iOS SDK is 4.2 , but you lose the previous SDK 3.x I understand Apple want to reduce the fragmentation. I tried an old trick. Install the new Xcode in a new folder "Xcode" . From the former X...
common-pile/stackexchange_filtered
SQL Modify_date resolution in milliseconds I noticed that the Modify_date on 275 object in my database always had a final milliseconds digit of either 0, 3 or 7. This looks like 0/3, 1/3 (rounded down) and 2/3 (rounded up). I wrote this query to check my entire database and it is true: with a as ( select name,type_desc...
common-pile/stackexchange_filtered
How to freeze use of key tab in tkinter python I am trying to make a simple application that scrambles keyboard letters while typing. I am using python along with tkinter. I have a text widget and i need to disable the key tab in my application. I tried it using following code. text.bind("<Tab>", no_op) Here no_op is ...
common-pile/stackexchange_filtered
how to automatcally scale the y-axis in a graph with plotly.net / F# I have a candlestick chart drawn like this Chart.Candlestick(candles |> Array.map (fun x -> x.Timestamp, StockData.create x.Open x.High x.Low x.Close)) I get: When zooming in, I would like the y-axis to automatically scale. Right now, a zoom loo...
common-pile/stackexchange_filtered
jQuery - Loading content into div, styles not applied? I'm trying to get this content loader to work and I've managed to get it to get new content, once the content is loaded it isn't styled correctly. Also the character "รฉ" becomes a questionmark. Doctype problem? As well as the h2 tag normally having Cufon applied to...
common-pile/stackexchange_filtered
modifying part of a list in place using list comprehensions in python I have a list that looks like test = ['A','B','C','D D','E E','F F'] I would like test to become the following (that is, the spaces removed) test = ['A', 'B', 'C', 'DD', 'EE', 'FF'] I used a list comprehension in Python to achieve this: >>> [re.su...
common-pile/stackexchange_filtered
Upload the same application from 2 different accounts I implemented an application and uploaded it on the app store on my account. I got the apple reviewers approval and the application is now live on the app store on my account. However, this application was freelancing and the client wants to create a new account by ...
common-pile/stackexchange_filtered
How do I take Win 7 off a dual boot mini I have an HP mini with dual boot Ubuntu 12.04 and Win 7. I am VERY green at Linux and would like to take the Win 7 off and have a Linux only mini. No CD drive so it would have to be done with a jump drive or a USB CD drive. How much RAM, HDD storage capacity, what HP Mini seri...
common-pile/stackexchange_filtered
Powers of small square matrices over the Laurent polynomial ring with integer coefficients I'm trying to calculate the powers of a 2 by 2 matrix with entries in $\mathbb{Z} \left[ t,t^{-1} \right]$. The matrix is \begin{bmatrix} 0 & 1 \\ 1 & t \end{bmatrix} I tought of writing my matrix in the following form $$ \begi...
common-pile/stackexchange_filtered
Pass string as single argument I am trying to get a project to pass a string as an argument to another project using Process If I have a string: string argString = "Test Argument" and I want to pass it as an argument to a second project that simply prints out the arguments that are passed to it, how do I pass that str...
common-pile/stackexchange_filtered
How to show an action button in Facebook interface (web) I'm looking for a way to put an action button or link associated with a FB post that will show up on any posts in someone's stream as they're reading their main page. What I was thinking is a little link after the text of the post or a button in the action menu o...
common-pile/stackexchange_filtered
Careers doesn't show education item if date is blank If you leave a blank date in the education field, it does not show up on the final CV. Some of us prefer not to list the exact details, and we should still be able to claim to be educated. This is fixed - before, we were requiring all three Degree/University/Time Fr...
common-pile/stackexchange_filtered
What is the maximum size of acceptable data in the mmap function in c? Let's suppose that there is a large file. The mmap function cannot handle it entirely. But we need to read as large parts of this file as possible. I found that this command in Unix allows us to find the mmap size: sysctl vm.max_map_coun...
common-pile/stackexchange_filtered