Demián

1

votes
0

answer
42

views

Retrieving objects' class from empty list of objects c#

I have a person class with properties ex: name and age, then I created a list of persons in another class which I passed to my 'MainWindow', then I passed my list to a 'UserControl' in constructor. Here's my Code: - PersonClass: public string Name { get; set; } public string Name2 { get; set; } - P...
Arnold Demian
1

votes
0

answer
26

views

PackageReference doesn't reference library

When I try to add a package reference to the .csproj file I am having the problem that the actual DLL is not referenced in the project. My example is: 11.0.2 The package appears in the Nuget package manager but not in the project's 'References' list and the assembly cannot be accessed from the proj...
Demian
1

votes
1

answer
57

views

jQuery 2 dropdowns equal values different outcome

I am stuck in my conditional jQuery, as I am not sure how to apply the || and && in this situation or maybe something else need to be added. Scenario: 2 dropdowns with both same options, by selecting the 1st (source) and selecting the 2nd (target) certain div element will be shown. Dropdown 1: apple...
Demian
1

votes
1

answer
36

views

Sorting a recipe list by amount of ingredients on view page in Rails?

My schema is as follows: create_table 'ingredients', force: :cascade do |t| t.string 'name' t.datetime 'created_at', null: false t.datetime 'updated_at', null: false end create_table 'recipe_ingredients', force: :cascade do |t| t.integer 'recipe_id' t.integer 'ingredient_id' t.datetime 'created_at'...
demian sims
1

votes
1

answer
25

views

how to use sequence for tokenazation but not returned as par of result

I would like to use a rule or sequence as a separator to tokenize a file but not return the separator I tried using -> channel(hidden) but that messes up the parsing I have a grammar such that grammar test; file : l1 l2? l3 ; l1 : 'L1:' STRING_LITERAL '\n' ; l2 : 'L2:'(NUMBER)+ '\n' ; l3 :'L3:' WOR...
Demian Tinkiel
1

votes
1

answer
393

views

Where is the “externalize strings” eclipse plug-in source code?

I need to look at 'externalize strings' eclipse plug-in source code. I have to make a modified version of that functionality and don't want to start from scratch. I try to import the plug-in using File->Import->Plug-ins and Fragments, which I think is the right way to do it, but I don't have a clue...
Demián
1

votes
5

answer
186

views

When its enough for a programming language that you need to switch to another?

I have wonder that many big applications (e.g. social websites such as facebook) are build with many languages into its platform. They usually start with AJAX browser support, then scale down to PHP scripting, then move towards a powrful OOP technologie such as Java or .NET, and finally a primitive...
demian
1

votes
1

answer
1.8k

views

I need suggestions on C2C (Customer2Customer) PHP CMS

I need to build a website for customers advertising such as craiglist. I want to build it in PHP, and I 'm willing to use an open source CMS. I'm a very big fan of Drupal, but I don't now if stands well for this kind of sites. Could anyone suggest me a suitable CMS for my domain? Best, Demian
demian
1

votes
1

answer
432

views

LWUIT: overriding Dialog

I want to override Dialog so that it disposes itself the very moment it shows.
Demian Kasier
1

votes
1

answer
359

views

How to open and read a .bug file from Blackberry?

I got an error, I used the option 'catfail' (navigate to it using the arrow keys when you get an error) and saved a log of the error. But now I can't read the bug file. it's all encrypted I think. here is a little part of it: ÿ õÄM³Ô ÿ ¶Ô( ( Z Àabsadmin Nov 21 2008 19:38 yÃg {...
Demian Kasier
1

votes
1

answer
763

views

Viewing PHP opcode [duplicate]

Possible Duplicate: How to get opcodes of PHP? As I dig deeper into developing in a specific language, at some point, if possible, I like to view the opcode of the language to give me a deeper understanding of how my code is interpreted or compiled. C/C++ you can usually switch to disassembly view...
Demian Brecht
1

votes
3

answer
334

views

Using un-managed file in Jenkins build step

I've just started using Jenkins today, so it's entirely possible that I've missed something in the docs. I currently have Jenkins set up to run unit tests from a local Git repo (via plugin). I have set up the environment correctly (at least, in a seemingly working condition), but have run into a sma...
Demian Brecht
1

votes
1

answer
588

views

readregistry issue

I'm sure that there's something silly that I'm missing here.. I'm trying to query the registry (Windows 7 64bit) to get my Python install path. For some reason, I'm getting: Registry Path Not Found! - key=3D'SOFTWARE\Python\PythonCore\2.7\InstallPath\';hive=3D'LocalMachine' However, if I replace my...
Demian Brecht
1

votes
1

answer
615

views

Using setuptools with install parameters

Is there a way to pass install args through install_requires in setuptools? What I'm trying to do specifically is install PyAMF using the --disable-ext arg. I've tried variations of: from setuptools import setup setup( install_requires=['pyamf[disable-ext]==0.6.1'] ) But the args don't seem to be pa...
Demian Brecht
1

votes
1

answer
348

views

LINK2019 keeps going

Hi I am having the following error in my VS 2010 project and have no clue where is the problem. I have read about it and changing the windows console doesn't work for me and gives me the same error: 1>------ Build started: Project: Draw, Configuration: Debug Win32 ------ 1>MSVCRTD.lib(crtexe.obj) :...
Demian
1

votes
1

answer
56

views

VS is drunk, it compiles my project correctly, but I still have some unresolved symbols

I think my VS is drunk (2010 & 2012). The symptoms I open a particular project and I see some unresolved symbols. However, when I compile the project it builds succesfull and I can run it. in 2010 I can click on the unresolved symbols and it brings me to their declaration and implementation pages. (...
Demian Kasier
1

votes
1

answer
495

views

PHP - Parsing large XML files and removing duplicate nodes

I have an application written in Symfony 1. Every day, the system administrators upload an XML with a list of their new clients. Just recently, they lost a lot of the database records containing information about their clients. The good news is, that information was stored somewhere else (besides...
Demian
1

votes
2

answer
62

views

How does XMLserializer.serialize behave when it has to update a list item with an empty list

I had an xml error this morning, and when I went looking I found an xml that looked like this: var var This is obviously wrong. The only line in code that could do this is the following: XmlSerializer.Serialize(fileStream, thisObject); I suspect that it was trying to update the var with and the...
Demian Kasier
1

votes
1

answer
230

views

oracle - Schemas issues when migration from discoverer to OBIEE

I'm working on migrating some reports from Oracle Discoverer to OBIEE. I've already exported the layouts from discoverer to OBIEE. I have all I need in the OBIEE Admin tool now, but when I try to perform this operation: I got this message: I've read in many forums that this is because of the query (...
Demian
1

votes
3

answer
3.3k

views

Read items from list in host-web from provider-hosted app

I have a provider hosted app. and I'm trying to get to the listitems in a list that is on my host-web. I can get a list of all the lists I have. But when I try to get to the listitems, it's always empty. var spContext = SharePointContextProvider.Current.GetSharePointContext(Context); using (var clie...
Demian Kasier
1

votes
1

answer
30

views

Powershell Formatting - Pipeline vs Control structure (?)

I am still rather new to PowerShell and saw the two examples below and was wondering why they show two different results when, at least to me, they're seem to query for the same answer. Thanks ahead for the input. get-host | select version Vs. (get-host).version
Demian
1

votes
1

answer
490

views

ICEFaces tag not rendering in xhtml (JSF 2.2 and ICEFaces 3.3.0)

I'm using ice faces 1.8 app example. pom is: 4.0.0 groupId tab 1.0-SNAPSHOT org.icefaces.netbeans.rave wyswyg-appbase 1.0 javax.el el-api 1.0 provided org.icefaces just-ice 1.8.2 org.icefaces icefaces-comps 1.8.2 org.icefaces icefaces org.icefaces icefaces-facelets 1.8.2 org.ic...
demian
1

votes
3

answer
406

views

Catch multiple exceptions and throw a new list of exceptions

Look at the following code: public void editProduct(String articleNumber, ...) { product.setArticleNumber(articleNumber); product.setDescription(description); product.setLendable(lendable); product.setName(name); product.setPrice(price); product.setPlace(place); } All of the setters can throw a Prod...
Demian
0

votes
0

answer
3

views

Can't get image cards in even columns and rows with Semantic-ui-react

I'm having trouble with Semantic-ui-react and making image cards render in nice neat columns and rows in the Grid example on the SUIR site. Here is my App to AnimalContainer to AnimalCard code: App: render() { console.log(this.state) return ( }/> }/> }/> }/> }/> }/> }/> ) }; }; AnimalContainer: imp...
demian sims
0

votes
0

answer
3

views

Trying to post/put objects with avatar/image from React to Rails Direct Upload

I'm a newb to React and Rails. I have ActiveStorage with AWS S3 and Direct_Upload all read to go in Rails. In React, I'm not sure how to implement this in a Fetch request when creating a new or updating user with 'avatar' or a post with and 'image'. I've heard about FormData but not quite clear on h...
demian sims
1

votes
1

answer
22

views

wildcard in jQuery comparison

I am aware of this post, but .endsWith doesn't seem to resolve it, as it has to contain .val in order to work for dropdown. I am dealing with multiple languages for different dropdowns, where the word 'English' appears in different translations. indexof > 0 is not pracitcal with so many languages....
Demian
1

votes
3

answer
57

views

Undefined method error when using 'yield' and 'even?'

When I try to call a method with select and num.even? as follows, def selection(array) puts 'This is inside the method' return yield(array) end collection = [1,2,3,4,5] selection(collection.select) { |num| num.even? } I get a no defined Method error: undefined method `even?' for # I'm looking for...
demian sims
1

votes
1

answer
0

views

Auto resize text element not working with keyup

In my below jQuery I have an element that reflects the written input within a secondary element. At the same time the element with the reflected text needs to resize, this is working, but there are 2 problems I cannot resolve: 1. When holding a backspace down, it doesn't keep up. 2. When you press s...
Demian
1

votes
1

answer
0

views

LWUIT: How to POST a form with HTMLComponent

I hava form that shows well, I can fill in all the labels, I have even overriden the textfield for easier input. but when I press the 'save' button to POST the form. All it does is reload the HTMLComponent. Why is this and how do i do POST a form?
Demian Kasier
1

votes
1

answer
0

views

Controlling socket timeouts in external libraries

I'm in the process of re-working my personal site and I've run into a bit of a snag that I'm hoping there's a clean workaround for: I'm using a variety of OS packages to communicate with StackExchange (multiple sites) and Twitter (just for my feed). To speed things up when refreshing my beaker-drive...
Demian Brecht
1

votes
1

answer
0

views

Retrieving list of ids

I'm looking to retrieve a list of integer values through SqlAlchemy. Let's say I have a model (and table) named Element, that have an id attribute. I'm trying to figure out a way to get a single list of ids without any client-side processing.. Currently I have something like: mylist = [o.id for o in...
Demian Brecht
1

votes
1

answer
741

views

Digit/Number Recognition Hand-written [closed]

Can anyone recommend a handwritten digit/number recognition library which I could use in c++/OpenGL. I need to recognise the digits/numbers in my OpenGL project written by a user.
Demian
1

votes
1

answer
214

views

ExtJS - reading a property from a custom panel

I'm trying to read a property from my custom panel for using it into a property item from the same panel. Let me show my code so you can understand what I mean: Ext.define('XXX.XXX.XXX.MyPanel', { extend: 'Ext.panel.Panel', title: 'My Panel', autoScroll: true, isMyProperty: false, defaults: { margin...
Demian
1

votes
1

answer
1.7k

views

Creation of the virtual directory http://localhost:1234/ failed with the error

I'm trying to load a web-project in VS2013 and I get the following error. Full Error: Creation of the virtual directory http:/ /localhost:1234/ failed with the error: The IIS Express applicationHost.config file contains invalid entries and must be corrected. I've tried different numbers. If I use a...
Demian Kasier
1

votes
1

answer
1.2k

views

How to set an Android TableRow column's width to fill available space?

I have a programmatically created created TableLayout with it's width set to match_parent. I am adding TableRows to it with 5 columns each. I have columns 1, 2, 4 & 5 all set to static widths. How do I set column 3 to fill the available space in the table so that the 5 columns total 100% width? (set...
Maxamilian Demian
1

votes
1

answer
127

views

Unable to resolve symbol: Workflow.EntityLogicalName

I think I'm missing a using statement: using System; using System.Activities; using System.ServiceModel; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Workflow; using Microsoft.Xrm.Sdk.Workflow.Activities; using Microsoft.Xrm.Sdk.Query; Workflow.EntityLogicalName; Extra info: I'm using the crm 20...
Demian Kasier
1

votes
1

answer
56

views

Knockout, Why doesn't my function fire on the clickevent?

HTML: content Javascript: this.content = ko.observable(false); //Named function triggers at the start //(after pressing f5, and doesn't trigger when I click the image) this.registerTClick = toggleContent(this.content); //unamed function only triggers at the clickevent. this.registerClick = function...
Demian Kasier
0

votes
2

answer
26

views

set a variable to a negative value on mousedown

in my code right now i've got a lot of strings and dots which are getting pulled to the position of my cursor but what im trying to do right now is that when i do a mouseclick that the variable changes to a negative value so the strings and dots are getting pushed away. Im new to JS and i simply don...
Demian Väth
0

votes
0

answer
22

views

jQuery event when specific option is selected with Ajax HTML structure

I would like to create a jQuery event when a particular option is selected. I am familiar how to do this with a general dropdown structure, but mine is a but unusual and it doesn't work: HTML Select a country… Belgium Netherlands Belgium My jQuery attempt: jQuery('#country').change(function(){ jQu...
Demian
5

votes
1

answer
32

views

Order of picked up meta tags in the html-head

I was wondering if someone could explain how social media rich previews define which og:title to pick. I use wordpress and for certain pages I insert php echo strings to inject them into the . I choose to do that to change certain titles and descriptions into more commercial texts. What obvisouly ha...
Demian

View additional