Hi,
When programming in VHDL, can you use a variable in a case statement? This variable will modified by one of the cases
i.e.
case task is
when 1 =>
when 2 =>
when number =>
is this OK?
I am from a programming background ,and newbie to flex3 . i would like to learn flex3 and develop some application using rails and flex3 . Is it necessary to know flash in order to learn flex3 or just learning Action script 3 would do ? .Can anybody tell what are the prerequisites to learn flex3 . Thanks in Advance.
This question is not really related to programming but to using Visual Web Developer, but here goes:
I'd like to use User.Identity.Name or any session variable in the WHERE-clause used by DataList (or other similar components), but I've tried the different options in the "ORDER BY..." pane to no avail.
How do I stick that in there?
Cheers
I find useful
groups.google.com/group/comp.lang.prolog/topics
cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/
google.com/Top/Computers/Programming/Languages/Prolog/Implementations/
allisons.org/ll/Logic/Prolog/Examples/
prolog.info/
Maybe there are else useful links? Please share it :-)
Hi,
I am just wondering what kind of computing/programming language/frameworks are needed to produce images such as the one in http://www.erdas.com/ ?
Programmatically, how does one produce the general spatial analysis images ?
ps: I use java most of the time.
Thanks
I'm looking for a tool that can provide code quality metrics.
For instance it could report
very long functions (spaghetti code)
very complex classes (which could contain do-it-all code)
...
While we're on the (subjective:-) subject of code quality, what other code metrics would you suggest?
I'm targetting C#/.NET code, but I'm sure this could extend to most programming languages.
In one of my model's I'm using some meta programming to dynamically define some methods. I'd like to test this. I need a compact way to assert that my model has readable/writable attribute with a certain name. Ideas?
I'm using shoulda for unit testing if it makes a difference.
I need to catch segmentation fault in third party library cleanup operations. This happens sometimes just before my program exits, and I cannot fix the real reason of this. In Windows programming I could do this with __try - __catch. Is there cross-platform or platform-specific way to do the same? I need this in Linux, gcc.
Hello!
I am currently programming a Tower Defence game for university and i stumbled upon a problem:
i want my towers to rotate towards the monster it is shooting at.
The towers are bitmaps and we are supposed to program in a language called Modula 2:
If you have heard of it any help is welcome to rotate bitmaps, if you havent it might still be helpful to know how i could start, how image rotation is done in general.
Thanks in advance,
Samuel
I want some help in programming a random generator for different types of distribution using C++ language. for the following:
Geometric distribution
Hypergeometric distribution
Weibull distribution
Rayleigh distribution
Erlang distribution
Gamma distribution
Poisson distribution
Thanks.
As a soon-to-be computer science graduate, I have to come realization that I have a long way to go when it comes to the overall design of an application. After spending many semesters of programming from the hip I have come to appreciate the mulling over the needs of an application before diving head first into the coding portion.
My question is to the intermediate and expert programmers, how can I improve in the area of the design phase of development?
I was just asked to talk about Objective C to a bunch of High School student for 20 minutes. They have no experience with programming at all. What topics should I cover? Should I define vocab such as Method, Class, Variable? Or should I do something else?
Any comments are helpful!
How is the Observer Pattern expressed in various programming languages? Can you provide a code snippet that illustrates the major differences in each language. This post is intended to demonstrate the differences of this commonly used design pattern.
I will start this off with a Java example. Remember to start your answer off with the language being demonstrated.
Hi Guys...
my Question is short, I create a cursor to get some values from my table
I want to get the current record of cursor (the fetched record) and
the next record from the cursor without fetching it, cause I want to make a calculation
over the current record and the next record.
in traditional Programming it's a simple operation you can do it
with for index by increasing it by 1.
do you have any suggestion :) thx
We are currently looking at developing flash based applications (using Flex) in a web application. We are now leaning towards to use SVG rapheljs for developing this components. The questions are:
Is still SVG platform is widely adopted by browsers (without any plug-ins) are at least down the line of 8-10 months, any adoption is expected by browsers? Cross-browser support is god for us.
Is SVG can replace for a small time animation based programming instead of Flash
Any comments will be greatly appreciated...
When learning a new programming language, one of the possible roadblocks you might encounter is the question whether the language is, by default, pass-by-value or pass-by-reference
So here is my question to all of you, in your favorite language, how is it actually done? and what are the possible pitfalls?
your favorite language can, of course, be anything you have ever played with: popular, obscure, esoteric, new, old ...
What are the lesser-known but useful features of the Python programming language?
Try to limit answers to Python core
One feature per answer
Give an example and short description of the feature, not just a link to documentation
Label the feature using bold title as the first line
This question is along the lines of :
Hidden Features of JavaScript
Hidden Features of CSS
Hidden Features of C#
Hidden Features of VB.Net
Hidden Features of Java
Hidden Features of ASP.NET
Hidden Features of Python
Hidden Features of TextPad
Hidden Features of Eclipse
Hidden Features of JavaScript
I need to capture product data from a site on a regular basis and wondered if any one knows of a good software program? I've trialed Mozenda
but its a monthly subscription and pricey in the long term. Obviously something thats free would be best but I don't mind paying either. Just need a decent program thats reliable and doesn't require much programming knowledge.
Salutations,
Need some help writing this;
a pseudocode that accepts as input the name and sections(160, 220, 280, 350, 425) of a masquerader, continue to run until a blank name is input. After that, pseudocode should process the amount the masquerader pay.Then pseudocode code output masqueraders name and amount to pay.
Then use programming language Pascal to write this.
Thanks, appreciate your response.
I'm quite new to objective c but have been programming for a while. I started creating a function that would convert from RGB to HSL and back again but I get a feeling it is way too long and headed in the wrong direction. Does anyone know of a simple way to perform this conversion?
I'm finding lately how unsecure Javascript is when programming a game (I'm trying to do a turn based RPG and currently the battle calculations are done through Javascript which any player can cheat with of course giving themselves as much XP as they want), so I'm wondering if I were to move my battle screen to flash if this would be any more secure, or is there just as easy of a way to cheat this?
Possible Duplicate:
Define ‘poco’?
I read a document about NHibernate and see this acronym but I don't understand its mean very well. What is the meaning of this in programming? What is its usage in ORMs?
Hi,
I am currently looking around for a good allround beat detection library / source code in C++ since I found it really hard to achieve satisfying results with the beat detection code I wrote myself using this tutorial:
http://www.gamedev.net/reference/programming/features/beatdetection/
It's especially really hard if you want to make it work with any kind of music so I was wondering if there is something usable out there allready?
Thanks!
Is the recent movement towards anonymous methods/functions by mainstream languages like perl and C# something important, or a weird feature that violates OO principles?
Are recent libraries like the most recent version of Intel's Thread Building Blocks and Microsofts PPL and Linq that depend on such things a good thing, or not?
Are languages that currently reject anonymous methods/functions, like Java, making wise choices in sticking with a purely OO model, or are they falling behind by lacking a fundamental programming feature?
Hi,
In Windows, for very demanding applications, a programmer may use HeapCreate, HeapAlloc in order to better manage and control the allocation of memory- speed it up (aka private allocators). What is the equivalent in Linux c++ programming?