All Questions
0
votes
0answers
2 views
iOS Mobile Safari Service Worker Cache Limit
What is the Service Worker cache limit for the iOS Mobile Safari browser?
I'm creating a web-app for iPad that contains several mp4 video files. The videos must be cached in order for it to operate ...
0
votes
0answers
3 views
Render ArrayTable java object on jsp in GridFormat
I am trying to find a way to render ArrayTable java object to render on jsp page
in grid format. Does anybody has idea about this. Technology I am working on is struts.
1
vote
0answers
5 views
Python3 custom exceptions
Is there a way to shorten the following scenario so i don't have to use an ugly nested try except statement?
class Error(Exception):
def __init__(self):
print("That did not work")
try:
...
0
votes
0answers
5 views
Is there a way to use $_ with -e literally without incurring substitution?
As far as I can tell, $_ holds argv[0]. That's fair enough, but it seems to be subject to compile-time literal substitution, meaning you can't just use $_ with perl6 -e because perl6 -e "say $_;" is ...
0
votes
0answers
6 views
MySQL Dump: error with accented letters
I've an UTF-8 MYSQL Database. I'm trying to do a dump from command line, but there are always problems with accented letters.
I tried with:
mysqldump -uroot -p database -r mydump.dump
and also ...
0
votes
0answers
6 views
Clients Carousel Slider
How can I do a carousel slider for my review div?
My code looks like this right now:
HTML
<div class="review">
<div class="reviewContainer">
<h3 ...
0
votes
0answers
5 views
using three quotes javascript
So I am working on a simple webpage (i do it for fun, not commercially. this doesn't need to be "profession grade"). I have a button that has
<button onclick="eval('prompt('input js code ...
0
votes
0answers
2 views
Securing Service Call from a DMZ to WCF Service in Enterprise Domain
We are building a system that will have a number of WCF services hosted in IIS sitting on an enterprise domain. A presentation tier server running in the DMZ will call these services. The calls to ...
0
votes
0answers
5 views
Refresh parent page from another URL
I have two sites (both under my control). Site one opens a page on site 2 (See Close pop-up from code behind if you wish to see the code)
When i close the pop-up (on site 2) i would like to refresh ...
0
votes
0answers
2 views
g++ finds -lXext but MinGW cannot find it with error: i586-mingw32msvc/bin/ld: cannot find -lXext
I can build a Linux executable with g++ like below without any problem:
g++ -I/usr/local/include -I/usr/local/include/FL/images -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE ...
0
votes
0answers
11 views
Variable undefined error with clear definition
I feel like I'm missing something very, very simple. I've created the code below to show a very simple javascript dialog. Initially, I used plain variables throughout - I've now since attempted to ...
0
votes
0answers
2 views
Spring Data Rest - Neo4j - Can't PUT new Relation that has @StartNode and @EndNode
I have the following domain models:
Route entity:
package org.gmjm.logistics.domain;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GraphId;
import ...
-2
votes
0answers
9 views
How can the table given in the link be made using HTML only ?(asked in college)
A table which appears like that of an up and down staircase.
0
votes
0answers
5 views
php mysqli_query not executin either echo is showing in url
I am not that good in php however the below code was working before I changed thr host name. the echo is not showing when I load the url , neither the insert is being executed.
$con = ...
0
votes
0answers
4 views
JQuery UI autocomplete “select” event not triggered with single mouse click
In my application, I create a table using ajax call. Inside that table, I've textboxes in each row, which are also created dynamically based on the content returned from the ajax call. I need to have ...
0
votes
0answers
3 views
DLL “ is either not designed to run on Windows or it contains an error”. Issue installing software in different regions
Sorry if this isn't the right place to ask. Is there a different/more suitable place I can post this?
I originally thought this may have been a 32/64 bit conflict, but it appears it may be due to ...
0
votes
0answers
9 views
Best way to detect editText inputType in Android?
I developed a simple keyboard.
It's a T9 keyboard that is conceived specifically for phones with an hardware keyboard.
When I want to write something into a standard EditText I have no problem, but ...
0
votes
0answers
16 views
jQuery .attr only works once
I'm creating a simple quote machine with a tweet button that tweets the quote. When the page loads I simulate the "New Quote" button being pushed so the tweet button's url is updated with the quote, ...
-1
votes
0answers
4 views
go install: no install location for directory /home/mint/go/goqt/ui outside GOPATH
I am using Linux mint and would like develop an application using goqt.
I followed the steps as mentioned by visualfc (on github), in the process of doing so i am getting the following error
...
0
votes
0answers
11 views
Converting nvarchar to DATE
I have a column in SQL where in the data is stored as 102915, 060315 and so on.
The data type of the column is nvarchar(50). I want to convert the above data to a date format.
It should look like ...
-1
votes
0answers
3 views
create an XML file using Sketchup Ruby API
I'm working on a Sketchup extension that collects data and generate it as an XML file, need to create an XML file that contains data (area, volume ...) from a sketchup house model, using sketchup Ruby ...
0
votes
0answers
5 views
How to write backward migration in SQL?
I have a native SQL operation which copies some data into another table, but I don't know how to write the backward migration for this.
My code looks like this:
class Migration(migrations.Migration):
...
0
votes
0answers
4 views
How can I arrange the column names to display the data by substituting “$variables”?
so this is what I have so far.
$query = mysql_query("SELECT * FROM tablename ORDER BY id");
while($r = mysql_fetch_array($query)){
extract($r);
echo $variables;
}
The error I get cause of above ...
0
votes
0answers
6 views
django display data saved from multicheckbox in template
I am trying to make an publishing option, so i use this
class Article(models.Model):
publish_options = models.CharField(max_length=50)
Now in my form, i used forms.CheckboxSelectMultiple ...
0
votes
0answers
5 views
Populate TableView<T> with limited number of columns in reference to <T> number of fields
I have CustomTableView class:
public class CustomTableView<T> extends TableView<T> {
public CustomTableView(String[] columnsNames, String[] fieldsNames, ObservableList<T> data) ...
0
votes
0answers
2 views
Audience Network Mobile Web - facebook banners
I would like to implement banners of facebook into my web HTML.
the guide i worked with is:
https://developers.facebook.com/docs/audience-network/mobileweb/javascript
i did everythig good.
but the ...
1
vote
0answers
12 views
How to make foreign key
i'm trying to make an sql create table but I fail to make a foreign key.
My code :
Db::getInstance()->execute('
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'sondage`(
`id` int(6) NOT NULL ...
0
votes
0answers
2 views
Create A New Order State
I have created a new order state. I want that it works as a the "canceled order state". So I need to edit some code. Now, my new state decrease the stock and I need that the stock increase like as ...
0
votes
0answers
5 views
htaccess again - special url rewrite to subfolder
I hope someone would help me, because I'm stuck with this:
domain name - test.site.com
document root == /www/test
all content (CMS) located at /www/test/web
I need when I type in addressbar:
1) ...
0
votes
0answers
4 views
Android: How to restrict scrollbar click location
I've been searching all over the internet and can't seem to find this answer. I've enabled fast scroll on a ListView with this code:
view.setFastScrollEnablee(true);
Now I have a scrollbar where if ...
0
votes
0answers
2 views
how to access website with ip address (because i moved)
i moved name servers and open new website but i want to access old site and get contents
http://ipadress/~cpanelusername
Is there a setting for open that access ??
0
votes
0answers
2 views
White Bands Around Kivy Images
I'm pulling in images from an external website and displaying each in order in a fixed size box. The settings stretch the images to fill the constraints of the box, but the aspect ratio is kept. ...
0
votes
0answers
4 views
Incremental Kernel PCA available in python?
I am looking for an available implementation of Incremental Kernel PCA in python, but was not able to find one up until now. Does anyone know of one?
0
votes
0answers
5 views
Cell condition is never met to properly highlight row
I'm trying to highlight a row in a GridView based on a condition of a cell. This cell will always be in the last column of the current row and contains a date which I'll compare to another date and ...
0
votes
0answers
2 views
How can i add listbox and button to each row in yii2 gridview?
I need to add a listbox and a button to each row in gridview of yii2. Can anyone tell me how to do that ?
0
votes
0answers
6 views
Emacs LISP - DeMorgan'ify a list
This is my first question. I've been working on this for a while, and have been on the web looking for information for a while. I just want to understand what the heck is happening, and my professor ...
0
votes
0answers
8 views
C programming decoupling interface from implementation with struct forward declaration
I am writing a C program and using gcc 4.4.6 to compile. I do not want to use a c++ compiler.
I am implementing a component and I intend to have several instances of this component live and owned by ...
0
votes
0answers
9 views
Connecting rows in Perl after filter
I want ask you for some tips. My code looks like next few rows:
#!/usr/bin/env perl
while (<DATA>) {
if (/\bSTART\b/ .. /\bEND\b/) {
#$together = $_;
#$together = chomp ($_);
...
0
votes
0answers
18 views
Avoid certain characters in NEWID() in SQL
I have a table with columns id and name. In the id column, a key generated using NEWID() is inserted.
SET @myid = NEWID()
SELECT @id = SUBSTRING(CONVERT(varchar(255), @myid), LEN(@myid)-5, ...
0
votes
0answers
7 views
less (ver. 2.5.3) vs Rhino(or Nashorn)
The situation is - I have this issue on less GitHub
the topic is "Rhino doesn't work with less older 2.X.X", but also I have that manual from the official less site, it says that compilation is very ...
0
votes
1answer
22 views
How to display an icon over an image (lightbox thumbnail)?
I have a HTML code that looks like this:
<p>
<a href="image.jpg" rel="lightbox" title="Image 1" rtekeep="1">
<img src="image.jpg" />
</a>
</p>
I would ...
0
votes
0answers
3 views
Telerik RadWindow won't open from code behind
I'm trying to open a radwindow from my code behind instead of using javascript. But I can't figure out what I'm doing wrong.
RadWindow Manager
<telerik:RadWindowManager ID="RadWindowManager1" ...
0
votes
0answers
2 views
Xdt transformations in referenced class library project?
I have a solution with these three projects.
Web API
DAL
Domain
The DAL project is a class library that has a web reference. Thus, the app.config in that project has a section like this:
...
0
votes
0answers
6 views
cannot get / in a simple node file
I am trying to do a simple node / angular example of a book got. However i get an error when loading the page: cannot GET /
Anyone knows what i am doing wrong? Thanks
var express = ...
0
votes
0answers
5 views
Change padding in navigation bar anchors so that it takes maximum space available in justified list
What I want is for the whole area to be clickable. For that I would need to set padding of the anchor elements. However, just adding something like ul li a{padding: 15px 15px;} feels wrong to me, ...
0
votes
0answers
5 views
EWS java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormatter.withZoneUTC
My application is trying to get a email from the inbox in java with the API EWS and I have a exception
java.lang.NoSuchMethodError: ...
0
votes
0answers
14 views
I lose value of $_SESSION when I call the second time
I get value null $_SESSION when I call the second time. The first time I get the value, but the second time not?
What am I doing wrong?
The code is the following:
<?php
session_start();
...
0
votes
0answers
5 views
Is JSF a component based specification or is it really facelets based specification
JSF : As per Wikipedia, JSF is a Java specification for building component-based user interfaces for web applications.
Facelets : is an open source Web template system under the Apache license and ...
0
votes
0answers
5 views
Batch Variable Loop Inquiry
I'm trying to create a batch to first off grab all folder names in a directory and output those to a txt file.
dir "C:\directory1\directory2\directory1\work" > C:\output.txt /b /o
Then, run a ...
0
votes
0answers
3 views
Netty putting concurrent requests on queue
I have a problem with netty, I have a server with FutureChannel and Handlers
ServerBootstrap b = new ServerBootstrap();
b.group(bossGroup, workerGroup)
...