date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/15
1,352
5,119
<issue_start>username_0: I have a Activity indicator to inform user wait to login in webservice, but just show a circle rouding, I want set a text together like "Login, Wait..." ``` @IBOutlet weak var waitView: UIActivityIndicatorView! override func viewDidLoad() { super.viewDidLoad() self.waitView.startAnima...
2018/03/15
1,529
5,778
<issue_start>username_0: Looking to return each occurrence (product) found in `name` where `name` is comma separated, e.g. `[woo_products_by_name name="shoe,shirt"]` If I do not `explode` `name` then nothing is returned as only `shoe,shirt` is seen. If `explode` is used then the query is not selective and it appears th...
2018/03/15
1,680
3,986
<issue_start>username_0: I'm trying to parse a list of dates so say I have the following data: ``` 2012-02-19 10:06:29.287 2012-02-19 10:06:29.900 2014-01-21 15:21:11.114 2015-04-22 01:11:50.233 2015-04-22 01:11:55.921 2015-04-22 01:12:12.144 2017-12-18 12:01:01.762 ``` I want to then be left with the following list...
2018/03/15
1,940
5,489
<issue_start>username_0: I'm importing some OSM data from [Trimble](https://data.trimble.com/market/provider/OpenStreetMap.html) into a PostGIS database to process it as part of a Django app. This works fine for points and lines but I'm struggling with the polygons. The import appears to work fine: ``` shp2pgsql -d -...
2018/03/15
706
2,489
<issue_start>username_0: I have a Javascript function that looks like this: ``` sendData: function(event) { ///my code//// }, ``` I need to call this function somewhere in my page in an setInterval function. So i tried this: ``` function myTimeoutFunction() { sendData(); } myTimeoutFunction(); setInterv...
2018/03/15
818
2,839
<issue_start>username_0: I am very new to jenkins, but I have searched for an answer for this a couple of days now. I run jenkins on localhost:8080. I have written a program in Java which uses gradle to deploy to Google App Engine cloud. Now I wanted to use Jenkins to build my program in GIT. Building the program with ...
2018/03/15
372
1,147
<issue_start>username_0: Below is example code: ``` List1 = [['a'], ['b'], ['c']] range_value = len(List1) * 2 for x in range(0, range_value): if x == 0 or x == 1: for y in List1[1]: print y if x == 2 or x == 3: for y in List1[2] if x == 4 or x == 5: for y in List1[2] ``` T...
2018/03/15
2,413
8,438
<issue_start>username_0: In angular 5 I am getting the images for hotelgallery from mongodb through my service. So basically the data what I am getting is like this ``` { fieldname: "hotelgallery", originalname: "e.jpg", encoding: "7bit", mimetype: "image/jpeg", destination: "./public/", encoding : "7b...
2018/03/15
1,104
3,841
<issue_start>username_0: I'm attempting to learn Typescript and thought I should also make my webpack config in `.ts`. This is my `webpack.config.ts`: ``` import * as webpack from 'webpack'; import * as path from 'path'; const config: webpack.Configuration = { entry: path.resolve('src/main.ts'), module: { ...
2018/03/15
808
3,022
<issue_start>username_0: I have a number of microservices which needs a retry mechanism if connection with database fails. This retry mechanism has to be triggered when SQLException and HibernateException occurs. Passing a proper interceptor in @**Retryable** will work but this has to be incorporated in all the microse...
2018/03/15
894
3,259
<issue_start>username_0: Disclaimer: I am not a tech guy, and my chosen profession is law. I know just enough to help my company create forms that can be filled out by using macros in Word. I have gotten as far as completing the code and have it all working properly. However, I have realized that not all `TextBox`es ...
2018/03/15
754
2,709
<issue_start>username_0: Is it possible to create a custom assert based on a boolean value? Something like this: ``` setUp(scn.inject(rampUsers(7) over (1 minutes))).protocols(httpProtocol). assertions( assert(/*method that returns boolean value*/), /*other assertions*/ ) ``` Thanks!<issue_comment>username_1: Try...
2018/03/15
483
1,981
<issue_start>username_0: I've already install pandas from either the terminal and add `pandas` in pycharm project interpreter. However, every time I run a program which uses `pandas` it keeps reminding me there's an error. ``` RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa Trace...
2018/03/15
454
1,968
<issue_start>username_0: I am using SharePoint Search API and referring link [SharePoint Search REST API overview](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overview). I want to use property operators. Please refer 'Property operators that are supported in property ...
2018/03/15
1,302
3,581
<issue_start>username_0: Hi I am trying to calculate the average of previous 4 Tuesdays. I have daily sales data and I am trying to calculate what the average for previous 4 weeks were for the same weekday. Attached is a snapshot of how my dataset looks like ![Sample view of the dataset](https://i.stack.imgur.com/kVE...
2018/03/15
1,283
5,309
<issue_start>username_0: I'm creating an application which's architecture is *based* on [Uncle Bob's Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) concepts and [DDD](https://dddcommunity.org/book/evans_2003/). Note that it is *BASED* on DDD, so I gave myself the freed...
2018/03/15
730
2,537
<issue_start>username_0: I want to merge/combine 2 arrays based on the same key/value pair. To be more clear, what I'm searching for is kind of a join function known in MySQL. The first array should be "joined" by the second one, based on the ID, which is the key/value pair 'name'. How can I do this? **1. ARRAY** `...
2018/03/15
489
1,598
<issue_start>username_0: I'm trying to use flex to align buttons on the same line : the button "Back" should be at the left and the button "Continue" at the right (end of the line). ```css .footer { display: flex; } .back { align-content: flex-start; } .continue { align-content: flex-end; } ``` ...
2018/03/15
596
1,979
<issue_start>username_0: I'm trying to figure out how to add text boxes after hitting the "submit" button. I've tried everything I know, but I can't seem to get an outcome. I also want to make the max number of text boxes 25. Here's some of the HTML: ``` Calculated Test Scores ====================== ##### # of...
2018/03/15
1,564
6,440
<issue_start>username_0: ### What I want I want my library to work with a range of versions of a NuGet package with breaking changes in API between the changes. I haven't investigated it further, but this path looks promising: * Reference all versions of the library with different APIs by specifying [extern namespace...
2018/03/15
968
4,024
<issue_start>username_0: I have searched all over and no solution works. Here is how I am inserting data: ``` string value = db.StringGet("test"); string cleaned = value.Replace("u'", "'").Replace("\"", ""); var jsonDoc = Newtonsoft.Json.JsonConvert.SerializeObject(cleaned); Dictionary dict = Newtonsoft.Json.JsonConve...
2018/03/15
298
1,060
<issue_start>username_0: I want to call a function, if a key was released, because I program a little Jump'n'Run and for that I have to know that, because if I use a "normal" handler which is called if a key is pressed, it don't works, because the handler is not called often enough. I don't want to use jquery or som...
2018/03/15
2,117
6,890
<issue_start>username_0: i'm trying to add an Image to the first column of every row on a treeview, but no matter what I do, always end up with the name of the object "pyimage1" showed instead of the actual image. [As this image shows](https://i.stack.imgur.com/VrFYu.png) The code that i'm using is something like this...
2018/03/15
660
2,131
<issue_start>username_0: I tried to get the latest version of CMake, as OpenSUSE is stuck to 3.5.2. ``` version=3.10 build=2 mkdir ~/temp cd ~/temp wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz tar -xzvf cmake-$version.$build.tar.gz cd cmake-$version.$build/ ./bootstrap make -j3 sudo make install...
2018/03/15
1,135
3,756
<issue_start>username_0: How to use two regular expression variable values with match count -1 in ForEach controller. JMeter version: 3.1 Scenario: Questions List page>Each question has unique ID> Need to click each question on the list page and the HTTP request takes two parameters - QuestionID and Title For this s...
2018/03/15
890
2,638
<issue_start>username_0: For the purpose of protecting research subjects from being identifiable in data sets, I'm interested in anonymizing vectors in R. However, I also want to be able to refer to the output when writing up the research (e.g. "subject [random id] showed ..."). I've found that I can use the anonymizer...
2018/03/15
809
2,293
<issue_start>username_0: I am trying to use the JawsDB Maria with spring boot application on Heroku. I always got the error when trying to create the connection, not only the program but also the sql browser. The error as below: > > User '-----' has exceeded the 'max\_user\_connections' resource (current value: 10...
2018/03/15
1,084
3,913
<issue_start>username_0: Have a look at the following that demonstrates my issue with Visual Studio 2017 compiler ``` public interface IFoo { string Key { get; set; } } public class Foo : IFoo { public string Key { get; set; } } class Program { static void Main(string[] args) { PrintFoo(new F...
2018/03/15
515
1,806
<issue_start>username_0: Below is my requirement in the picture ![Sample Data](https://i.stack.imgur.com/0NRSR.png) The 1st table is at least granularity.The avg is calculated by `Date + Place`.So the avg is `565 = (2865/5)`. Coming to the second table.The avg for place 702 is 114 which is right and for 704 it is 86...
2018/03/15
1,001
3,008
<issue_start>username_0: **Question: How can I create a while loop that lists unique names and a count of how many times that name is listed in database?** *I will never know what names will be listed in database at any given time so I cannot hard code this.* Database: --------- ``` | id | name | age ...
2018/03/15
952
3,027
<issue_start>username_0: I'm Vincent, a French student. For a school project, my group and I are looking to make a 360 app on iOS. The idea is that the user will use the app with a cardboard, and live a 360 experience. Noone in my group never did this, so here I am, to get so good advices on which techs should we use t...
2018/03/15
291
913
<issue_start>username_0: all! I am having a problem with selecting the s separately from each other. I want to style the first differently than the second . It would be much easier (and wouldn't need to be asked here) to assign a class/id to those s but I cannot do that because I am using a WordPress theme. ``` `...
2018/03/15
493
1,989
<issue_start>username_0: I want to use Array.find instead of $.each so it stops looping once it has found the result, but I cannot figure out the correct syntax to return the zipcode. ``` navigator.geolocation.getCurrentPosition(function (position) { var geocoder = new google.maps.Geocoder(); v...
2018/03/15
805
3,014
<issue_start>username_0: It seems that there is a bug in the O-O support in **PowerShell**. When instantiating an object of a class with a constructor that accepts a **List< T >** and **this is the only parameter**, PowerShell cannot find a proper constructor. Code sample: ``` class MyClass { MyClass( #[...
2018/03/15
377
1,655
<issue_start>username_0: I am planning on learning HP Exstream. What are the prerequisite for learning HP Exstream. What language is it in. Please share any materials.<issue_comment>username_1: You will need to pay for the courses just like everyone else. There is little to nothing online. If you contact the vendor,...
2018/03/15
1,234
4,614
<issue_start>username_0: I've got a `public static List DoggieList;` `DoggieList` is appended to and written to by multiple processes throughout my application. We run into this exception pretty frequently: > > Collection was modified; enumeration operation may not execute > > > Assuming there are multiple cla...
2018/03/15
700
2,782
<issue_start>username_0: As in title. I have a String `shoppingListId` which holds current clicked in `RecyclerView` documentID and I wonder how to delete this selected document ID. I tried the following one but it doesn't works because of Incompatible types: ``` FirebaseFirestore docRef = FirebaseFirestore.getInstan...
2018/03/15
695
2,467
<issue_start>username_0: For example: insert 1 5 88 99 7 in a set if 1,5,88,99,7 is given as an input and then pressed Enter. My code: ``` #include using namespace std; set num; set ::iterator i; int main() { int a; while(a=getchar()) { if(a!='\n') { if(a!=',') num.insert(a); } else break; } for(i=num.b...
2018/03/15
749
2,828
<issue_start>username_0: So I wrote a Fibonacci sequence function like this: ``` CREATE OR REPLACE FUNCTION fibonacci (lastN INTEGER) RETURNS int AS $$ BEGIN WITH RECURSIVE t(a, b) AS ( VALUES(0,1) UNION ALL SELECT GREATEST(a, b), a + b AS a from t WHERE b < $1 ) SELECT a FROM t; END; $$ LANGU...
2018/03/15
6,449
23,710
<issue_start>username_0: I don't understand how `LayoutBuilder` is used to get the height of a widget. I need to display the list of Widgets and get their height, so I can compute some special scroll effects. I am developing a package and other developers provide a widget (I don't control them). I read that LayoutBuil...
2018/03/15
845
3,036
<issue_start>username_0: It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript. I saw it in this video: <https://www.youtube.com/watch?v=ZCSIK3lFfwM&...
2018/03/15
784
3,150
<issue_start>username_0: I wrote some code to get data from Firebase, but it shows some errors. I will explain the errors below and attach a picture. ![enter image description here](https://i.stack.imgur.com/unqs6.png) **First error when I put the mouse on it, message show:** 'onStart()' in 'com.abdullrahman.eng.myap...
2018/03/15
988
3,591
<issue_start>username_0: I'm trying to manipulate views inside a dialog, but the only way I can retrieve the views is in the Java old fashioned way, like this: ``` class MyDialog: DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { val alert = AlertDialog.Builder(...
2018/03/15
815
2,703
<issue_start>username_0: I've this HTML / Javascript code .... ``` Title var city= "Torino"; $.ajax({ url: "http://www.mysite1.org/cesarefortelegram/Telegram/OpenProntoSoccorso/API/getProntoSoccorsoDetailsByMunicipality.php?", method: "GET", crossDomain: true, data: {municipality: city, distance:0} }) .done...
2018/03/15
826
3,013
<issue_start>username_0: How can I know if a class is annotated with `javax.persistence.Entity`? **Person (Entity)** ``` @Entity @Table(name = "t_person") public class Person { ... } ``` **PersonManager** ``` @Stateless public class PersonManager { @PersistenceContext protected EntityManager em; publ...
2018/03/15
313
1,305
<issue_start>username_0: I am writing a function that when clicking on an image, it will add an event listener to another image. When creating the event listener, myFunction() is being called right away and not waiting for the click on #firstStep ``` function firstImageClick(){ //add event listener document....
2018/03/15
1,176
4,995
<issue_start>username_0: I have a generic repository architecture that looks like this: **Repository** ``` public interface IRepository where T: class { IList Get(Func where); } public abstract class Repository : IRepository where T: class { private readonly DbSet \_entity; protected Repository(ApplicationDbCont...
2018/03/15
435
1,477
<issue_start>username_0: My code (simplified): HTML: ``` Title Title ===== ``` JS: ``` const container = document.querySelector('#container'); for (i = 0; i < 16; i++) { for (let x = 0; x < 16; x++) { const cellSize = 512 / 16; const cell = document.createElement('div'); cell.style....
2018/03/15
410
1,438
<issue_start>username_0: So I want to know if there is a possible way to add a box where it says my previous calculations. For example, if I put 4+4=8 then there would be a box where it says that... previous calculation was 4+4=8 Here is my code, but I don't know how to add the box to this code. ``` Kalkulaator f...
2018/03/15
882
2,842
<issue_start>username_0: I have a bash `while read line` block reading from a text file specified by `$filename`: ``` IFS='' while read -r line do ... done < $filename ``` Instead of reading the whole file each time, I would like to supply different inputs in the redirect depending on the arguments supplied to t...
2018/03/15
344
1,270
<issue_start>username_0: Hi I'm trying to execute a function if the dropdown-menu of bootstrap is closed. Surely I can just add the function call if the menu dropdown-toggle is click. But my concern is what if the user didn't click the dropdown-toggle but instead clicked outside or on other element. The dropdown-menu c...
2018/03/15
645
2,023
<issue_start>username_0: I have a php script that sends emails using PHPMailer see below: ``` $mail = new PHPMailer(true); try { $debug = NULL; $mail->Debugoutput = function($str, $level) { $GLOBALS['debug'] .= "$level: $str\n"; }; $mail->isSMTP(); $mail->Host = 'xxxxxxx'; $mail->SMTPDe...
2018/03/15
569
1,763
<issue_start>username_0: I am attempting to change the asl of a file (100KB.file) I have within IBM COS: bucket: 'devtest1.ctl-internal.nasv.cos' and am receiving the following message: > > An error occurred (AccessDenied) when calling the PutObjectAcl > operation: Access Denied > > > It seems like my AWS creden...
2018/03/15
5,520
17,261
<issue_start>username_0: I am beginner in Spring boot programming. But I am still creating a software application which is based on shopping cart web, being developed with Spring boot. But suddenly, I got an error again and again which returns null and null point exception inside in save function(Repository). I don't ...
2018/03/15
543
2,340
<issue_start>username_0: I have an angular x(2 4 5) app, and i must make a post redirect to a bank page, so the user can pay something. So, I want to create a form on the fly in my DOM and post it. Can't find the best way. It's easy to loop and create a form, but not easy to directly post it after drawing it. thanks...
2018/03/15
812
3,265
<issue_start>username_0: I am currently learning Swift and can not continue. I create a dice game. If the "if query" is true, the program should pause briefly before a new query is possible. ``` @IBAction func guess(_ sender: Any) { let diceRoll = arc4random_uniform(5) let fingerErgebnis = diceRoll + 1 let...
2018/03/15
1,839
5,561
<issue_start>username_0: So I want to print Jäger bomb and maçã in yellow where the rest of the line is standard white. The code I have is: ``` SETLOCAL EnableDelayedExpansion for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do ( set "DEL=%%a" ) call :colorEcho 0e "Jäge...
2018/03/15
3,898
15,191
<issue_start>username_0: I am trying out Flutter and I am trying to change the colour of the `BottomNavigationBar` on the app but all I could achieve was change the colour of the `BottomNavigationItem` (icon and text). Here is where i declare my `BottomNavigationBar`: ``` class _BottomNavigationState extends State{ ...
2018/03/15
385
1,396
<issue_start>username_0: I want to make a site using django which include forms, but i am not able to find a way to include **form-control** classes in fields. Is there any way to do so? When i try to install Django-widget-tweaks ``` Could not find a version that satisfies the requirement django-widjet-tweaks (from ve...
2018/03/15
302
1,142
<issue_start>username_0: I am new to xamarin uitest, can any one please help me out how to verify the element is enabled or disabled with an example. Thanks in advance.<issue_comment>username_1: I didn't really understand your question, but if what you're asking for is how to check if a toggle button is enabled, then y...
2018/03/15
382
1,378
<issue_start>username_0: I realize that this is improper syntax, but why is JavaScript ignoring the first number and giving a response instead of breaking? ``` let myArray = [1,2,3,4] myArray[0,1] // 2 myArray[1,3] // 4 myArray[3,0] // 1 ```<issue_comment>username_1: It's not improper syntax. That's just the comma...
2018/03/15
1,216
4,632
<issue_start>username_0: [This question](https://stackoverflow.com/questions/328525/how-can-i-set-default-values-in-activerecord) appears to be the most voted/relevant question on Stack Overflow about setting default values on models. Despite the numerous ways explored, none of them cover this issue. Note that this is...
2018/03/15
1,006
4,033
<issue_start>username_0: Given following xml snippet ``` <!-- some more content --!> ``` removing namespace attributes with VTD-XML works well with following snippet: ``` private String removeNamespaces( String xml ) { try { VTDGen generator = new VTDGen(); generator.setDoc( xml.getBytes()...
2018/03/15
2,161
6,491
<issue_start>username_0: ``` bool isPalindromeIterative(const char *s1){ int len=strlen(s1)-1; if(len>0) if(s1[0]==s1[len]){ len-=2; isPalindromeIterative(s1+1); } else return false; return true; } ``` I am writing about Palindrome. And when I run it, it appears warning like th...
2018/03/15
739
2,795
<issue_start>username_0: My scenario is simple I have a simple Azure Function with B2C authentication on it and I'm writing unit tests but I found an issue, I'm not able to authenticate to the azure functions programmatically. I'm able to access through the browser and even I can grab the token and put it into the un...
2018/03/15
1,184
4,995
<issue_start>username_0: I am looking at a code that I have to work on. And basically I have to add a validation to a listener of a button. The code has already multiple validations. They are kind of set in a cascade. The listener of the buttons calls an asyncCallBack method that if everything is ok, on the onsuccess ...
2018/03/15
741
2,830
<issue_start>username_0: I have a website <http://demoqa.com/registration/> I have been trying to verify that when a user clicks on and then clicks off a required field such as username or phone number that the error "required field" appears when no data has been entered. Does anyone have any idea how to verify this?...
2018/03/15
538
1,979
<issue_start>username_0: I am using the Embed Widget on a Team Foundation Server 2017 dashboard to show an SSRS report. In particular, I would just like to either show the chart or the chart and the title. I do not want all of the navigation information to be visible. Is there a way for me to remove the navigation area...
2018/03/15
244
738
<issue_start>username_0: I am using a Markov chain. When the chain arrives at a particular state, two files (a .png and an .mp3) need to open. `s` is the current state of the chain, an integer from 1-59. I can't seem to find how to open the file with the same number as 's'. I'm sure it has something to do with `%st...
2018/03/15
2,189
6,934
<issue_start>username_0: I have a shapfile of school districts in Texas and am trying to use `ggplot2` to highlight 10 in particular. I've tinkered with it and gotten everything set up, but when I spot checked it I realized the 10 districts highlighted are not in fact the ones I want to be highlighted. The shapefile ...
2018/03/15
3,253
5,747
<issue_start>username_0: I need to add duration value for only continuous column's data. Suppose Execute data coming 3 times in this table and each time it is coming 3 times, 2 times and 1 times. So I want to add duration column's data 3 times as per continuous of state column. What I need here that execute will show ...
2018/03/15
418
1,477
<issue_start>username_0: I want to manipulate my text in python. I will use this text to embed as JavaScript data. I need the text in my text file to display exactly as follows. It should have the format I mention below, not only when it prints. I have text: `""text""` and I want: `\"text\"` ``` with open('phase2...
2018/03/15
473
1,974
<issue_start>username_0: Almost all of the buttons in my angular 4 app have asynchronous operations associated with them. I'm currently adding a loading spinner to each button manually whenever the button is clicked, and removing it when the operation concludes. I've realized too late that I could have saved myself a ...
2018/03/15
415
1,360
<issue_start>username_0: I want to insert `Employee Id` but every time the `Window` appears. > > Enter Parameter Value Ad001 > > > Ad001 is the value of `me.mstrEMpID`. This is my procedure: ```vb Dim db Dim tmpempid As String tmpempid = (Me.mstrEmpID) sqlqry1 = "INSERT INTO Timesheet ([StrEMPId]) VALUES ( TmpE...
2018/03/15
865
2,271
<issue_start>username_0: I have a table that looks like the following: ``` col1 | col2 | col3 | col4 A | 1 | 2 | 4 A | 2 | 5 | 3 A | 5 | 1 | 6 B | 3 | 1 | 2 B | 4 | 4 | 4 ``` I have another table where the records are unique and looks like the following: ``` col1 | col2...
2018/03/15
1,543
5,685
<issue_start>username_0: I'm beginner in java programing and I encounter a problem. My aim is to relate slider, which give me number of figure's vertices, with simultaneously creating JFieldText fields of coordinates as it is on picture:[![enter image description here](https://i.stack.imgur.com/BqTY8.png)](https://i.st...
2018/03/15
1,932
6,156
<issue_start>username_0: <p>I have used the following <a href="https://regexr.com/" rel="nofollow noreferrer">tool</a> to build a valid <a href="https://en.wikipedia.org/wiki/Regular_expression" rel="nofollow noreferrer">regex</a> for mentions and hashtags. I have managed to match what I want in the inserted text, but ...
2018/03/15
881
3,460
<issue_start>username_0: I have two users: teachers and students, each of them has different attributes. For example: student has one class, teacher has many classes, etc. I would like to inherit OctoberCMS Users plugin, and add two controllers with these additional attributes (one for students and another for teach...
2018/03/15
1,262
4,255
<issue_start>username_0: This seems to be a simple question, and I have looked at another thread and it seems I am doing the same thing, however without results. This is my code to iteratively insert into a binary search tree, along with the structure and how to create a new node: ``` typedef struct node { int da...
2018/03/15
258
828
<issue_start>username_0: Does anyone know the current numbers for Calendar EventColors <https://developers.google.com/apps-script/reference/calendar/event-color> Seems deprecated. My calendar shows 12 colors to choose from.[![Color Swatch](https://i.stack.imgur.com/hftsg.png)](https://i.stack.imgur.com/hftsg.png)<issu...
2018/03/15
886
3,592
<issue_start>username_0: I've done some research here and I understand that in Access nested joins cause issues. I believe that is the issue in the first example. ``` SELECT Recipe_Classes.RecipeClassDescription, Recipes.RecipeTitle, Recipes.Preparation, Ingredients.IngredientName, Recipe_Ingredients.RecipeSeqNo, ...
2018/03/15
780
2,952
<issue_start>username_0: I am recieving an attribute error code -´which states that my tuple object has no attribute "size". > > AttributeError: 'tuple' object has no attribute 'size' > > > This is my code: <https://pastebin.com/uCE5Uy1M> and this is the part of where I recieve the error: ``` for x in range(0,...
2018/03/15
2,292
4,158
<issue_start>username_0: I have a large data set, a sample is given below: ``` df <- data.frame(stringsAsFactors=FALSE, Date = c("2015-10-26", "2015-10-26", "2015-10-26", "2015-10-26", "2015-10-27", "2015-10-27", "2015-10-27"), Ticker = c("ANZ", "CBA", "NAB",...
2018/03/15
1,347
4,764
<issue_start>username_0: Array of objects where the hierarchy objects is stored in hierarchy property. nesting of objects are done based on this hierarchy ``` [ { "hierarchy" : ["obj1"], "prop1":"value" }, { "hierarchy" : ["obj1","obj2"], "prop2":"value", "prop3":"value" },...
2018/03/15
1,365
4,137
<issue_start>username_0: I've made a code that prints a 10x10 grid of O's. I wanted to make all the sides show "X" instead, so I used some if statements. The first 2 works fine but the third one makes everything in the grid "X" and I don't know why. ``` size = 10 def main(): setupBoard(size) printBoard() def s...
2018/03/15
1,025
3,515
<issue_start>username_0: So, I was optimizing a query I carried over from SQL, and I ran into a bit of a performance issue when compared to how it used to work in sql. Basically, my php script is sending between 2 and 5 sets of two (numeric) values. These have to be compare against id and doc from my collection's e...
2018/03/15
260
942
<issue_start>username_0: Using Google Sheets, is there a way to create charts for only certain rows? I have created some reports, but when the source list is sorted differently the report breaks because of using the data source as `'SourceTab'!A2:X2`. In the source tab I have about 60+ rows, but only want to report ...
2018/03/15
1,298
3,877
<issue_start>username_0: As a JS novice I am trying to store all values of an object inside separate divs. (per div the name of the chord and an image). I get all values logged to the console, but when I store it inside a div I only get the final outcome of the loop, being the last value. In other words: I cant seem t...
2018/03/15
823
3,156
<issue_start>username_0: I am using Angular 5 and I seem to not be able to get data from ActivatedRoute using methods stated in other answers to my question. app.routes.ts ``` export const AppRoutes = [ { path : '', component: HomeView, pathMatch: 'full', data: {key: 'home', label: 'Home'}...
2018/03/15
1,282
4,333
<issue_start>username_0: I have almost finished developing my login system and there is one more thing that I'm not sure about. So many debates I found on should the internet about counting invalid logins and locking users account. My system stores user names and passwords (that are salted and hashed) in database. If u...
2018/03/15
824
3,260
<issue_start>username_0: I am currently translating a C# Selenium framework to Java. In that framework I have a property that returns the current WebDriverWait; `private WebDriverWait elementFindTimings;` `.` `.` `.` `public TimeSpan FindTimeout { get { return elementFindTimings.Timeout; } }` I have trans...
2018/03/15
409
1,261
<issue_start>username_0: Trying to translate linux cmd to python script Linux cmds: ``` chmod 777 file1 file1/tmp file2 file2/tmp file3 file3/tmp ``` I know of `os.chmod(file, 0777)` but I'm not sure how to use it for the above line.<issue_comment>username_1: `os.chmod` takes a single filename as argument, so you ...
2018/03/15
672
2,524
<issue_start>username_0: I'm trying to restore a database from a bak file. I found some code on how to do it grammatically but I'm not sure what I'm doing wrong. I'm getting an error: Error: Restore failed for Server 'www.freegamedata.com'. I assume because i'm remotely connected? I'm not sure. The bak file is not on...
2018/03/15
952
2,812
<issue_start>username_0: I'm going through freeCodeCamp and am having trouble with their "Return Largest Numbers in Arrays" problem. The issue seems to be with my code for finding every fourth element in the second "for" loop. It looks like it's including the commas from the array "decArray". Any ideas on how to fix th...
2018/03/15
1,374
4,829
<issue_start>username_0: AngularDart has a class called `AppView`, i.e. `abstract class AppView {}`. One (at least) of these are generated for every class annotated with `@Component`: ``` // file.dart @Component(...) class DashboardComponent {} // file.template.dart (Generated) class ViewDashboardComponent extends A...
2018/03/15
1,008
3,364
<issue_start>username_0: I'm try to write a username field validator and one of the reqs is that the field must contain at least 2 numbers (more is ok, just no less). I thought I could do something like this, and the regex splits on the first number, but never on the second. ``` String[] arr = string.split("[0-9][...
2018/03/15
883
3,066
<issue_start>username_0: So i read out lines out of a file and then read out the lines via stringstream. I found the Issue that because of the format of the line rarely 2 seperate parts are written together and get read together as one string. I tryed to fix that situation by putting the wrong read value back on the ...
2018/03/15
730
2,367
<issue_start>username_0: I have some components that look like this. ``` import { QLayout } from 'quasar' import { Input } from 'vedana' export default { name: 'index', components: { QLayout, Input }, data () { return { something: '' } } } </code></pre> <p>this v-input component looks like this:</p> <pre...
2018/03/15
1,200
4,103
<issue_start>username_0: I'm trying to change the opacity of my `ion-backdrop` from `0.08` to `0.33`. I've tried: ``` ion-backdrop { opacity: 0.33 !important; } ``` and setting `$popover-ios-background: rgba(0, 0, 0, 0.33);`. Setting the value on `ion-backdrop` does work but since it's important, it doesn't ani...
2018/03/15
2,593
7,681
<issue_start>username_0: I've got an Athena table where some fields have a fairly complex nested format. The backing records in S3 are JSON. Along these lines (but we have several more levels of nesting): ``` CREATE EXTERNAL TABLE IF NOT EXISTS test ( timestamp double, stats array>, dets array, header:struct>>, ...