Programmer
on 10 sites

Programmer


7 answers

Why does Notepad++ disable the HexEditor plugin?

Notepad++ is a great editor... The regular expression facility is stunted, but I can live with that. It is OK for most find/replace situations, and for the occasional others I'll just hop across to ...

7 answers | 28 secs ago by Peter.O on Super User superuser.com
0 answers

Why cant i save stuff into my YAML file? [BUKKIT]

I've been trying to fix this for a week now and i haven't figured it out yet i have researched a lot and nobody has this error here is my code and this is my only class FileConfiguration config; ...

2 answers

Timing with PHP and date

Well, for start sorry but my English is not very good. Well i have in a variable one date, with day, hour, minute and second. I want to do a little echo in PHP when the people enter the site shows ...

2 answers | 37 secs ago by Gonçalo on Stack Overflow stackoverflow.com
0 answers

How to detect touch on device?

With this code I can only move with my right arrow on my keyboard. How can I do to move right when I touch on my test device? public void handleInput(float dt){ if ...

1 answer

Is there anyway to create sql statements from a database diagram in MySql workbench

I am completely new to databases so please don't be too harsh but is there anyway to create a database by using an EER diagram and have that convert to SQL statements?

0 answers

USB_SERVICE cannot be resolved or is not a field

I am trying to send a byte stream to an arduino board from a service and a part of the code if (deviceFound == null) { UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE); ...

1 answer

SSH connection Windows to CentOS 7 for git

I've got the following question, I've installed a server with CentOS 7. Now I want to use this server for git. The problem is I can't make an SSH connection to the sever to do this. I already made ...

3 answers

Comparing values from several JS arrays

The facts: I have several arrays (anywhere from 2 to dozens), all comprised of CSS classes. Every class in each array is namespaced with one of the following: 'alignment__', 'font__', 'leading__', ...

1 answer

Openldap ppolicy overlay is not working

I have been trying to configure openldap to use ppolicy overlay but non of the procedures found online have worked. I tried tens of problems discussed in the forums but to no avail. So I would be so ...

1 answers | 58 secs ago by user3464156 on Stack Overflow stackoverflow.com
0 answers

Assertion error Using {{controller}} removed in ember 2.0. How to pass/wrap controller object to component

In ember 2.0, I am not able to wrap controller in my-component. it is showing compilation error. Assertion Failed: Using {{controller}} or any path based on it has been removed in Ember 2.0. ...

2 answers

Replace each element equal to zero of a matrix with the corresponding element of the row above

I'm using R. I have a matrix and I want to replace each element of it equal to zero with the corresponding element of the row above. For example, I created the following matrix: AA <- ...

0 answers

Facebook optimization goal Cannot create campaign. Error: Creative and optimization_goal mismatch

Trying to change Facebook campaign Optimization for Ad from Link Click to App Install have like this error. The creative type contradicts to the optimization goal. The type of your creative has ...

1 answer

Android Map Error: Couldn't get connection factory client (with a correct ApiKey)

Hi the MapActivity starts and it shows a map with lat and longitude (0,0), i can't get the current position because i get this error: 09-16 12:06:46.515: ERROR/MapActivity(464): Couldn't get ...

0 answers

Py2Exe Scikit-Image Compilation missing mkl_intel_thread.dll

Using py2exe and Scikit-Image I am trying to compile an image editing program. When I run python setup.py py2exe with this setup.py from distutils.core import setup import py2exe import ...

1 answer

A very easy parse json PHP on Android

I am very new at this. I have already read and watch and try a lot tutorials, but I can't find something very easy in order to understand how it works. I have made a php file where you can see the ...

1 answers | 1 min ago by ni gi on Stack Overflow stackoverflow.com
1 answer

PuTTY terminal session between two windows 7 machines over ethernet

I would like to open a PuTTY terminal session on one machine which is physically connected to another machine via an ethernet cross-over cable. Ideally characters entered in the PuTTY terminal window ...

1 answer

Looping a do/while

I am new to java well programming as a whole, I have only been doing it for a few days, and i'm a little stuck. what i would like to do is loop back to the "deposit" do while if there is no money in ...

1 answers | 1 min ago by D. Barnett on Stack Overflow stackoverflow.com
2 answers

Excluding lines that start with space from egrep printout

I'm trying to write a regex (e)grep command that will print all the lines in txt file, but ignore those that begin with a space (manually indented file). I haven't been able to figure out how to use ...

2 answers | 1 min ago by TurtleOrRodeo on Stack Overflow stackoverflow.com
0 answers

After issuing an DBQuery with an insert, how can I get the generated id, so I can add it back to the DAO?

Its more than just insert, really. If I already have a partially loaded DAO, how can I load the rest of it? What I'm going to do is to do a select query, and then use BeanCopy. I'd rather have the ...

3 answers

Improve Coroutine Request type safety

Working with monad-coroutine package I have some coroutine doing a lot of work and it needs some input from time to time: Coroutine (Request SomeRequest SomeResponse) (State MyState) a where data ...

1 answer

Why is this bitmap not animating across the screen? Android App

I'm trying to make a simple ball move across the screen. I have the ball as a bitmap, and I have strings set up for the x and y values. I have a small code saying, if x is less than width add 10, ...

0 answers

how to migrate nosql db (orientdb) to relational db (oracle)?

Is there a way to migrate data from a NoSQL database (OrientDB) to a Relational database (Oracle 12g)? How would one face this challenge? I've found some information about Relational DB to NoSQL, but ...

0 answers

How to parse values from a from that has javascript variables (Flask Form / Python)

This code works : Lat: <input id="lat" name="lat" val="40.713956" /> Long: <input id="long" name="long" value="1" /> And if I like to get these values (Lat and Long) I don't ...

0 answers

Android - App runs on install, crashes when it is re-opened

When I first install the app onto my device, it works fine. Then, if I close it and re-open it, the app will crash with the below logcat message. I don't think the first line regarding libwvm.so has ...

1 answer

How do i use the text in TextField in a block inside UIAlertController?

I have a UIAlertController, which contains a textfield and 2 buttons: OK and Cancel. i want to retrieve the text that the user entered in the textfield when he presses OK, but because the textfield is ...

0 answers

Tclsh snmp format

I am trying to get a value from an instance with OID using tcl command. In TCL, the command works: % set snmp_result [snmpwalk -Os -c public -v 2c 192.168.1.20 .1.3.6.1.4.1.31926.2.1.1.19] ...

1 answer

How can I add a title to a tableGrob plot?

I have a table, and I want to print a title above it: t1 <- tableGrob(top_10_events_by_casualties, cols=c("EVTYPE", "casualties"), rows=seq(1,10)) grid.draw(t1) A similar question was asked ...

1 answers | 2 mins ago by Nate Reed on Stack Overflow stackoverflow.com
1 answer

Making non-bootstrap nav bar expand after menu click

I am having a bit of trouble making my nav menu appear from clicking the nav menu icon. HTML nav role="navigation" class="navbar"> <div class="nav-header"> <a ...

0 answers

Invalid JSON repsonse when using AJAX.reload()

i want to use datatables to refresh my page, but seem it doesnt work when i use api.reload() or fnReloadAjax My Controller: public function index1(){ $articles = ...

2 answers

calculate total size file input

I have input like this: <input type="file" name="upload[]" class="file" /> <input type="file" name="upload[]" class="file" /> <input type="file" name="upload[]" class="file" /> ...

2 answers | 2 mins ago by yones safari on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3