Stark

1

votes
2

answer
3.4k

views

How to link dll in visual studio?

To link static library I have to create .lib from .h and .c files. Then I add it to my project, put in Additional Dependencies and compile. To use dll I need .dll and .lib. This .lib is the same as above or different? How to say to Visual studio to use .dll and .lin, not only .lib? I put .dll to pro...
Stark
1

votes
0

answer
206

views

Sometimes allow <html> in TinyMCE

How can I configure TinyMCE so that it allows tags such as , , and but does not force them to be present? Sometimes I would like to enter the full page of HTML and sometimes I only want to enter HTML that exists inside a body. By default, TinyMCE expects content in the editor to be within a tag an...
Justin J Stark
1

votes
0

answer
54

views

Audio Missing when Adding Text on pixelBuffer

I am trying to add text overlay on video, When recording in iPhone 5s or lower devices in High quality and writing text on that then after 1 or 2 seconds audio goes missing, But this doesn't happen on larger devices like iPhone 6/6s. If i remove that text writer method then it works properly on all...
Stark
1

votes
0

answer
158

views

EF 6.0 with Symmetric key encryption

In my application I am using ASP.NET MVC with EF6.0. Initially we were saving data as a plain text. But because of some security reasons we had to implement Symmetric Key encryption with certificate on our database. And now because of that one we had to execute below commands before executing any L...
Stark
1

votes
1

answer
38

views

How to download a file in angular 4 without hard-coding file name?

Here is the code: importedSaveAs(blob, 'somefile.txt'); In this case I have hard-coded the file name: I want to know how to make it dynamic. I am able to see the file name in response header but not able to access it here.
geeky stark
1

votes
1

answer
167

views

NumPy saving an object with arrays of different shape but same leading dimension

I experienced some unexpected behavior of np.save(). Assume, you want to save two numpy arrays into one .npy file (as an object). As long both arrays have the same shape this works without any problem, but when the leading dimension is the same an error occurs. The problem is caused by np.asanyarray...
Stark
1

votes
1

answer
57

views

How to send XML to supplier as a request and receive a response using SOAP 1.2 and WSDL?

I have a test to do by tomorrow (sorry for short notice). I can't seem to figure out how to send XML to supplier as a request and receive a response? I'm supposed to send a request in php. Send data to client back to server. I think for the client I need 2 lines of code. 1st line of code is for requ...
T. Stark
1

votes
1

answer
317

views

validate Addresses with USPS Macro -access DOM Explorer

I am using below code to validate address in excel with USPS website. How can i retrieve the returned data from DOM Explorer section? Please see attached picture. I am able to see the data from USPS return in IE but i cant retrieve the data in the code. Thank you for your help My code Sub useClassn...
Eddard Stark
0

votes
0

answer
22

views

Why does my code not send email but not give an error?

Send mail works from one part of the program, but not from another similar part of the program. I cannot see any difference in the inputs, but one call always works, and the other call doesn't work at all and doesn't even show an error. I have tried calling the function from different parts of the a...
Daniel Stark
1

votes
0

answer
222

views

Flutter is not running

I tried all the flutter commands but every time it's showing the same error in the command prompt. I have also updated the path but nothing is changing. Even the flutter doctor command is also not running at flutter_console.bat CreateProcessW failed 193 CreateProcessW failed 193 Unhandled exception:...
Mr. Stark
1

votes
1

answer
15

views

when i add a navbar, there is added whitespace below my content. how do i remove this?

just creating a practice landing page. everything looks great until i add the navbar. once i add the navbar it creates a scrollbar on the side and when you scroll down there is this white space at the bottom of the page. i want to remove the white space and scrollbar. here is my code, thanks (backgr...
Tim Stark
1

votes
0

answer
9

views

How to Allow referrals from HTTP_REFERER and do not block HTTP_USER_AGENT in htaccess?

I have a problem in which there are three conditions: 1. The page should not open if it is opened in the browser or follow the link 2. The page should open if {HTTP_REFERER} google 3. The page should not block {HTTP_USER_AGENT} googlebot
Tony Stark
1

votes
0

answer
42

views

“invalid escape sequence” error when using genie in julia

I'm studying Genie by the example in https://github.com/essenciary/Genie.jl When I went to the step of connecting SearchLight to DB, as following: julia> SearchLight.Configuration.load_db_connection() |> SearchLight.Database.connect! it kept having the following problem: ERROR: Base.Meta.ParseError...
S.stark
1

votes
1

answer
18

views

hide another dropdown menu by click on onother menu item

i want to hide another dropdown menu, when it's open and i click on onother menu item. but i don't know how to do it, and my code doesn't work. this is my jquery code: $('.has-dropdown').click(function() { $(this).toggleClass('active'); if ($(this).hasClass('active')) { $(this).children('.nav-dro...
mr stark
1

votes
1

answer
62

views

I can't import AudioKit or AudioKitPlaygrounds in swift Playground file

AudioKit beginner and I really need some help here! I want to track the frequency and amplitude of a selected audio file in swift language using playground on my Mac. I searched that AudioKit is particularly easy in tracking the frequency and the amplitude, but after downloading AudioKit framework o...
Jack Stark
1

votes
2

answer
77

views

Getting heap overflow even on deallocating memory

I am trying to solve the n-queen problem on leetcode. But it is giving heap overflow error on leetcode. But on my computer when I give single input it give correct answer but on giving input multiple times it gives segmentation fault: 11 error. And when I don't print the complete chess board. Just...
Tony Stark
1

votes
2

answer
38

views

Having trouble setting array size from another array

I have to arrays (strings) and i want the second one to be filled with a special character (i.e '*') depending on the size of the first one. For example if the first is 'TEST' The second should be '****' So i have this code : int i; char arr_1[ ] = 'TEST'; char *arr_2 = NULL; arr_2 = malloc( strlen(...
Tony Stark
1

votes
1

answer
69

views

xPosition and yPosition in mat-menu not working

I tried xPosition and yPostion in angular material itself. but it is not working. I don't know whether am I missing something. Menu Item 1 Item 2 I referred few links which says the issue fixed. Refere here. I couldn't figure it out. Thanks in advance.
Stark Buttowski
1

votes
1

answer
71

views

(ruby) does one escapse using h() in view files only for security, or in controller files as well?

I receive input in the form of URL strings (aka controller/action?example=yes), and I'm wondering if I need to escape the content of the string for security. For example, if I assign the param to a variable: example = params[:example].to_s do I need to escape anything? or do I only apply h() when I...
Tony Stark
1

votes
3

answer
110

views

Version Control for a collaborative website on Mac

I do some part-time web design work with some other people, and they don't use subversion/any sort of version-control. However, I would like to. Is there some sort of system (perhaps I can use GIT on my local machine for this...?) that would let me not only keep track of my own personal versions of...
Tony Stark
1

votes
1

answer
947

views

pdftotext can't find any of the files to convert when called within a python script

i have a python script which keeps crashing on: subprocess.call(['pdftotext', pdf_filename]) the error being: OSError: [Errno 2] No such file or directory the absolute path to the filename (which i am storing in a log file as i debug) is fine; on the command line, if i type pdftotext it works for a...
Tony Stark
1

votes
2

answer
952

views

OData UnTyped Provider with SQL Backing Store

I have a table in a database which is a store of Key/Value pairs, with some type information on the type of data stored in the value field. I've read the blog series on creating an untyped data provider, and have grabbed and messed with the samples from odata, but I can not figure out how to turn...
Lucas Stark
1

votes
2

answer
62

views

eclipse libraries no longer working

i had put two libraries on the build path of my project, and then i closed eclipse for the night. when i re-opened eclipse, and opened the same workspace, the libraries 'aren't working' in that eclipse isn't doing any of the helpful things it was previously doing, like underlining bad syntax with re...
Tony Stark
1

votes
2

answer
158

views

PHP Array Combination Best Method

given the following arrays in php, how can i best merge them together $masterkeys = array('Key1','Key2'); $settings_foo = array( array('ID'=>'Key1', 'Foo_Setting'=>'SomeValue')); $settings_bar = array( array('ID'=>'Key1', 'Bar_Setting'=>'SomeOtherValue')); in the end I need $masterkeys to be the co...
Lucas Stark
1

votes
1

answer
3.8k

views

How to enable search for Custom Site Collection Help?

I've enabled the Custom Site Collection Help feature in my Sharepoint 2010 install, and verified that it works by creating a Help Collection folder and uploading some html files as Help Topics. The problem is that the search box at the top of the help windows doesn't work - it just gives me a messa...
Stark
1

votes
1

answer
325

views

Trouble with SpringPad API

I'm trying to access date using the Springpad API. If I use the following link: http://springpadit.com/api/blocks/all?limit=1&text=HARRY+POTTER I have no problem getting 2 recent results with the search term 'J K Rowlings'. I wrote the following code to do the same thing after authorizing my server:...
Jesse E. Stark
1

votes
2

answer
867

views

Button interaction in a DataGrid column template

In a C# WPF program I have a grid that I have successfully populated with my data. One column has a button that I want to link to an edit page. The code is below. var col = new DataGridTemplateColumn(); col.Header = 'Edit'; var template = new DataTemplate(); var textBlockFactory = new FrameworkEleme...
Roger Stark
1

votes
1

answer
1k

views

DataGridComboBoxColumn ActionHandler

I have a WPF containing a dynamically created DataGridComboBoxColumn this has a comboBox that I can change the value in any row. The table also contains a checkbox in another column, if I change this it calls a method each time a row is changed, I want the same result when I change the value in the...
Roger Stark
1

votes
1

answer
129

views

Concept for a grails app

I am working on a Grails project, its an accounting project. We have multiple clients and they can have multiple types of accounts. I have to create the 'create' page for client, there should be a way to add multiple types of account to the client. So I was thinking of making a drop-down list with...
Eddard Stark
1

votes
4

answer
1.6k

views

JavaScript won't work on my rails app

I have a problem with running js/jquery in my rails app. I have Ruby 1.9.3 and Rails 3.2.3 installed. I have two js files in /app/assets/javascripts: application.js main.js I created this main.js. In it there is this code $(document).ready(function() { alert('Hello world!'); }); my application.js ha...
Michael Stark
1

votes
1

answer
254

views

An extra popViewControllerAnimated: when the user presses the Back button?

When the user presses the Back button to pop the current UIViewController from the active UINavigationController, I need - in a certain special case - to programmatically pop another UIViewController (the new top one) from the same navigation controller. (Without going into details, please believe m...
Amiram Stark
1

votes
1

answer
96

views

iTunes screenshots for ad-supported Apps?

I have a paid App and I'm introducing a free, ad-supported version of this Ad. There are AdMob banners at the bottom of most screens. What should I use as screenshots in iTunes? Screenshots with actual ads? Screenshots with empty space where the ads are supposed to be (taken in airplane mode)? Scree...
Amiram Stark
1

votes
1

answer
677

views

Password in keychain - and people forgetting their password

I have an iOS App that may store confidential information and also uses iCloud to synchronize its Core Data between devices (the data itself is encrypted inside Core Data). People can protect the App with a password, and can also create two secret questions to help them recover a lost password. The...
Amiram Stark
1

votes
2

answer
757

views

Find closest point to a line [closed]

Imagine a straight line through the origin. Since rotations and reflections are easy, assume the slope is in the range 0 to 1. We have a grid of the integer points in the cartesian plane. I want to find the grid point greater than 0 and
stark
1

votes
1

answer
454

views

Is it possible to record sound from the TRRS jack?

From what I've read it doesn't seem possible to record from anything past the mic: http://developer.android.com/reference/android/media/MediaRecorder.AudioSource.html Ideally I'd like to be able to record from the TRRS jack, as I have a 3.5mm to RCA cable that I hook up to my mixer. I figured there...
Toni Stark
1

votes
1

answer
566

views

C# reflection: Waiting for DLL to load completely and then create the object?

I created a plug-in for a software which changes frequently. I want my plug-in to work with every new version of the main software. That is why I load the dependencies (which is the executable of the main software) for my plug-in short before creating the plug-ins' main object via reflection. Howev...
Tony Stark
1

votes
2

answer
185

views

Bubble up events from a one-to-many relationship

I can bubble up an event from a one-to-one relationship like this Public Class Husband Public WithEvents Wife As Wife Public Sub WifeChangedLastName() Handles Wife.LastNameChanged MsgBox('Wife Changed Last Name') End Sub End Class Public Class Wife Public _LastName As String Public Property LastName...
Justin J Stark
1

votes
3

answer
286

views

Authentication using random digits in the password

This question is more of a design know how rather than a pure technical problem. I am wondering what would be the best way to implement a authentication mechanism where users are asked to enter/select characters from specific positions in their whole password. ex. asking the user to enter/select the...
Tony Stark
1

votes
1

answer
127

views

create a server to listen on a specific port.

I want to create a website a django which will be hosted on Apache. I also want my server to keep listening on a port and if some data comes on the port then process it. Processing and website part is all doable by me but I have no Idea about how to make the server with a listing port and then forw...
Stark
1

votes
1

answer
1.1k

views

How to set the font size of a series label using Aspose Slides

While I've started a thread on the Aspose forums, I thought I'd ask here as well, just in case anyone has come across the same or a similar problem while working with Aspose Slides. I'm working with a templated chart. I've created a series, and added a label to it that I've set to display the series...
Stark

View additional