Data dodania Pytanie
2017-12-08 23:12 Javascript and the Django 'static' template tag »
I've got a wee site set up to play some sounds a list of which are passed forward by my view. I'm going to go straight into the code: var sounds = "{...
(1) odpowiedzi
2017-12-08 23:12 Bug or feature parsing with map function an array from string to integer on Javascript »
I want it to parse to integers a String's array that had the id's from a selected html element, so I use this code: var x = ["1", "2","3","4","5"]; v...
(0) odpowiedzi
2017-12-08 22:12 rails - display partial in another controllers view »
I'm not sure why i can't get my index action to pass to my view. Basically i have a controller called "jobs" with a partial called "recent jobs" and ...
(1) odpowiedzi
2017-12-08 22:12 Getting Cognito Credentials on Android »
I need to authenticate a user using AWS's Cognito in Android and get a token to use on my future requests. Some information is provided to me by the b...
(1) odpowiedzi
2017-12-08 22:12 What are AllowedDataTypes on RemoteInput? »
There's a new function called setAllowDataType on RemoteInput.Builder in API 26. What is this used for? I tried the following: val remoteInput = Remo...
(1) odpowiedzi
2017-12-08 22:12 Having an issue with Wordpress save_post »
I am having an issue where when I save a post under a custom post type I created, tb_template, The below code runs fine except rather than creating a ...
(1) odpowiedzi
2017-12-08 21:12 How to animate multi form process with ajax jquery and php? »
Through PHP the steps are counted and added in a session to avoid returning to the beginning in case of updating or refreshing the page, the value is ...
(1) odpowiedzi
2017-12-08 21:12 in operator, float("NaN") and np.nan »
I used to believe that in operator in Python checks the presence of element in some collection using equality checking ==, so element in some_list is ...
(2) odpowiedzi
2017-12-08 21:12 Create a .NET app that works on any .NET version if only basic requirements »
I'm using VS2017 on Windows 10 to work on a C# project. It is a really small console app that does nothing but require administrator privileges and t...
(1) odpowiedzi
2017-12-08 21:12 How to return both an "id" and "text" »
I am using AutoComplete to search by name. I'm able to output the names, but after submitting the form, I would like to pass the emp_id value, not the...
(1) odpowiedzi
2017-12-08 21:12 Chrome loading scripts out of order »
I have simple MVC test application with _Layout and noticed that loading order of scripts is wrong in chrome. See pictures. In Layout.cshtml RenderB...
(0) odpowiedzi
2017-12-08 21:12 Sinatra - values disappearing between route and view »
I am using jquery / ajax to pass into a route two variables (from a slider), min and max. At this point I just want the values and while I can see th...
(0) odpowiedzi
2017-12-08 20:12 Globalize accessors on subset of available locales »
By design, some classes will deal with only a subset of available languages. the globalize-accessors gem is quite useful, however, the rendering requ...
(1) odpowiedzi
2017-12-08 20:12 aesEncrypt produces different results »
I'm trying to encrypt a string in Swift 3, and my encryption is giving different output every time. Why is that? (I have tried similar encryption in p...
(2) odpowiedzi
2017-12-08 20:12 Why would removeAllObservers() not work in deinit? »
As everyone knows when using the awesomeness that is Firebase in iOS, whenever you have observations in a view controller,, var o: DatabaseReference...
(1) odpowiedzi
2017-12-08 20:12 Java's FilterOutputStream adds a performance penalty »
I have a piece of code that's splitting an output stream to two destinations. They're both going to a file, but the second destination will go throu...
(1) odpowiedzi
2017-12-08 20:12 Is there a intersection function for vectors? »
Very often one finds statements that lists have a performance disadvantage compared to vectors because of consing and additional gc steps and some fun...
(1) odpowiedzi
2017-12-08 20:12 Overwriting soft delete table column for a model »
I'm using laravel 5.4. I have a model that points to a database table that has the following attributes. id integer name varchar location ...
(1) odpowiedzi
2017-12-08 19:12 Django: Moving data from SQLite to PostgreSQL »
I've recently inherited a production codebase for a webapp written using Django. Up until now, the database the project has been using has been the d...
(2) odpowiedzi
2017-12-08 19:12 Rails Render Index with URL Parameters »
At my work, we are in the middle of breaking up our Rails monolith. We are currently serving our react app through the asset pipeline. I am implementi...
(3) odpowiedzi
2017-12-08 19:12 EJS For Loop Unexpected Identifier »
I have an array of javascript objects that I have gotten from mongodb/mongoose. I have sent to them to my "profile.ejs" front end and want to loop thr...
(1) odpowiedzi
2017-12-08 19:12 Datatables adding rows »
I'm trying to dynamically ad rows to a blank datatable. However, it instead of the text displaying on the screen it's coming back as [object Object] i...
(1) odpowiedzi
2017-12-08 18:12 PostgreSQL IGNORE NULLS in window functions »
On the left panel data without IGNORE NULLS. On the right panel data with IGNORE NULLS. So I need to get right variant in PostgreSQL Need to emula...
(2) odpowiedzi
2017-12-08 18:12 Sorting by Date using Jquery & HTML »
I'm trying to sort some a data by date. the data is actually saved in HTML under a div --> span. However, I've made the following function but for so...
(1) odpowiedzi
2017-12-08 18:12 How to put JSON data into a HTML div? »
Here is my problem: I want to put JSON data that I catch with an Ajax call in an HTML div. function showEspece(espece, categorie, object) { $...
(5) odpowiedzi
2017-12-08 18:12 RSPEC throws NameError: uninitialized constant error for shared module after Rails 5 upgrade »
I recently upgraded to Rails 5 and am encountering an error on development that is (what I expect, anyway) related to loading a shared module. The er...
(1) odpowiedzi
2017-12-08 18:12 Async Concurrent Queue with max concurrency »
I'm running across a bug with a custom asynchronous queue that calls 10 async functions at a time. I'm initiating the queue with 50 jobs, once first ...
(1) odpowiedzi
2017-12-08 18:12 .Net Core 2 Logout() in _loginpartial.cshtml as link? »
inside the _loginpartial.cshtml which was created by default with dotnet new razor -au Individual: @using Microsoft.AspNetCore.Identity @using Lifejo...
(0) odpowiedzi
2017-12-08 18:12 Redux-Form v7 Field component typescript errors »
Here's my code where I'm using the Field component: interface EditProfileFormProps extends FormProps { defaults: object; submit: ...
(1) odpowiedzi
2017-12-08 18:12 Is there a way to elegantly "swap" rows in all foreign key and many to many fields in django? »
I have a class let's call it Entity it's a container for a label and a type and then I have many other models like Store, Purchase... And they have a ...
(2) odpowiedzi
2017-12-08 18:12 How to use inputs for key value hash attributes in rails view? »
I have Schedule model with jsonb(hash) fields. create_table :schedules do |t| t.jsonb :monday t.jsonb :tuesday t.jsonb :wednesday t.timestam...
(1) odpowiedzi
2017-12-08 17:12 Rails- Gem chartkick - Remove axis values from bar_graph »
I have added a bar_chart using gem chartkick in my rails application and don't want to show axis labels and values. Want to show colored lines only. M...
(0) odpowiedzi
2017-12-08 17:12 Grepping Ruby hash for regex not working as expected »
I have a hash with this data: {"ENABLED"=> [#<Details:0x00007f910e946848 @context="ELP", @instance="a1", @side="blue", @status="ENABLED", @vm="...
(2) odpowiedzi
2017-12-08 17:12 How can java.lang package contain java.security.Permission »
I am not sure about the java.lang Hierarchy. How can it contain java.security.Permission class? Follow the link and search for java.security.Permissio...
(1) odpowiedzi
2017-12-08 17:12 extract json data from struct in struct »
output: click to open the image ^ this image is the output of a deserializeJSON(query). for each row, how i can extract only id and DTIME? following ...
(1) odpowiedzi