I'm looking at using this PCB layout program and looking for a tutorial for it.
After skimming through the manual, and a few attempts at guessing how to use it, I have to say that in combination they are a near ideal example of how Not to make a UI easy to use. The GUI seems to borrow it's key combinations from vi (despite not being a text editor) and the manual seems to say more about what things do than how to do things.
The closest I can find is this section that starts with the todo note:
[...] do a real-world tutorial example.
Hello,
How can I do this in Moq?
Foo bar = new Foo();
Fake(bar.PrivateGetter).Return('whatever value')
It seems I can only find how to mock an object that was created via the framework. I want to mock just a single method/property on a concrete object I've created...
In TypeMock, I would just do Isolate.WhenCalled(bar.PrivateGetter).Returns('whatever value')..
Any ideas?
I'm trying to setup openfire on one of the servers here and I've gone through the windows installer, installed the service, started the service and I can't connect to the admin console.
If I go to http://127.0.0.1:9090 (or http://127.0.0.1/index.html) all I get is a blank page. I also tried running the GUI instead of the service, and it said that it was listening on 127.0.0.1:9090 and when I navigate there or click "launch admin" I still get a blank page.
What could be the problem?
It's a windows server 2k3 machine with IIS running (runs a couple of other sites).
edit openfire 3.6.4
I installed on my local machine without problems, so it's obviously something on the server that's causing it. There is no firewall installed on that server so I'm not sure what would be stopping it.
Hey,
How would I be able to send emails using Cocoa? Which framework would I use, and how would I use it. This is very new to me so please go easy.
Best Regards,
Kevin
Hello:
The inclusion of DataGrid and DatePicker controls was announced for WPF in Framework 4, but when I access to VS2010 and I create a WPF proyect, I can not get these controls. What did I missed?
Thanks.
I'm using Maemo on a Nokia n810 Internet tablet, and when given a list of installed certificates to choose from when connecting to a PEAP wireless network, it's always blank. I've already installed a couple of certificates through the gui on the device, and only the certificate authorities show up.
I've confirmed that Maemo's connection software that handles certificates is buggy, in such a way that certificates are never added, or properly added certificates cannot be found.
Is there a way to add WLAN certificates at the command-line, and connect to a wireless network at the command-line as well?
I used to use iwconfig to connect, but I never used it with PEAP.
Note: I have nothing in /etc/ssl/certs
I've inherited code where BeginInvoke is called from the main thread (not a background thread, which is usually the pattern). I am trying to understand what it actually does in this scenario.
Does the method being called in the BeginInvoke get in line of messages that come down to the window? The docs say asynchronously, so that is my assumption.
How does the framework prioritize when to kick off the method called by BeginInvoke?
I am making a simple Pandora.com alternative for myself and a few friends where the user can upload his/her songs and listen to them anywhere. My intent is to make a lightweight, simple player in HTML5 so all the user needs is a current Firefox or Chrome to use it. I have set it up so that all uploaded songs get converted to .ogg and added to a database but I also want some metadata (not sure if that is the correct term) for the songs to be stored in the database so the player can tell the user what song he/she is listening too. I know there are several GUI tools for managing the title/artist/album info for songs but I'm having trouble finding any good ones I can use from the command line. If the song has the information already in the file, I think I can use mplayer to retrieve the information but it would be really great if there was one that would look up the song information online. I don't mind interfacing with an API (would be pretty interesting actually). Do you guys have any suggestions?
Hey I have followed this answer to solve problem with running GUI applications under Cygwin. So far it seems okay, but when I try to open gitk it will complain on that it cannot find any git repository here. I am standing in the correct folder though, and running git from console it works (I can push, pull, and so on) But gitk won't start as it say it is not any git repository here.
Anyone know how to fix it?
I type the following to the console. gitk
And the output I get is:
0 [main] wish8.5 2260 child_info_fork::abort: C:\cygwin\bin\libtcl8.5.dll: Loaded to different address: parent(0x520000) != child(0x410000)
0 [main] wish8.5 4332 child_info_fork::abort: C:\cygwin\bin\libtcl8.5.dll: Loaded to different address: parent(0x520000) != child(0x560000)
0 [main] wish8.5 4716 child_info_fork::abort: C:\cygwin\bin\libtcl8.5.dll: Loaded to different address: parent(0x520000) != child(0x410000)
0 [main] wish8.5 4724 child_info_fork::abort: C:\cygwin\bin\libtcl8.5.dll: Loaded to different address: parent(0x520000) != child(0x410000)
What are minimum requirements for a beginner to gain a java based development job as on date?What is the same in the case of a .NET framework based development job?
Which path would be a better option today?
i want to check if string doesnt have more than 5 numbers, i can do it this way
Matcher matcher = Pattern.compile("\\d").matcher(val);
i = 0;
while (matcher.find()) {
i++;
}
However i would like to do it without while(because we are using regex validation framework).
I want to be able to match strings like
A2sad..3f,3,sdasad2..2
I'm trying to understand Rails from the ground up. I want to learn how to manually create basic show-all/show-single/CRUD functionality in the framework.
I currently am working on the display-all functionality, but am stopped by an error when I try to request all items in the Products db
Here are the steps I've taken so far:
script/generate controller Products
script/generate model Products
rake db:migrate
modified products_controller.rb to add: def index() { @products = Product.all}
(error: uninitialized constant ProductsController::Product)
ideally, dump all orders in the view
What's the fix?
I have gotten a request to roll out a total of 8 internet cafe's in a large network. Budget is non-existent as it will all be done for a non-profit. I was planing to use Ubuntu and live-cds to minimize the amount of management required, but I can't seem to find any suitable internet cafe system that is Ubuntu based. The requirements are pretty basic: It needs to keep track of logged in time and log out users when their time it up. No billing will be done, it will just be used to ensure people can share the computers fairly. It should be possible to force logout from a central system. Users will be unskilled, so it has to have a GUI.
What (preferably free, considering the shoe-string budget) software would you suggest to manage this?
Hi,
Anyone knows about some free open source php library or framework to implement following service independently.
Email Marketing ,
Which include following service in that ,
send email ,
choose email template ,
Choose email template from local drive ,
text template ,
Account management like History email list , and more ,
Payment Integration ,
Thanks
bharanikumar
The conditions are
- I don't have administrator privilege
- I want to see the status of a service in remote machine (server)
I use the following code (vb.net with framework 2.0) to see the status
Dim sqlSvc As ServiceController
Svc = New ServiceController(My.Settings.serviceName, My.Settings.machineName)
If sqlSvc.Status.ToString.Equals("Running") Then
displayStatus("success", sqlSvc.Status.ToString)
Else
displayStatus("error", sqlSvc.Status.ToString)
End If
When running the code, InvalidOperationException is raised and found out that I need admin right in the server.
Can I lookup the status of the service without having admin right in remote machine ?
I often execute GUI programs, such as firefox and evince from shell. If I type "firefox &", firefox is considered as a bash job, so "fg" will bring it to foreground and "hang" the shell. This becomes annoying when I have some background jobs such as vim already running.
What I want is to launch firefox and dis-associate it with bash. Consider the following ideal case with my imaginary runbg:
$ vim foo.tex
ctrl+z and vim is job 1
$ pdflatex foo
$ runbg evince foo.pdf
evince runs in background and I get me bash prompt back
$ fg
vim goes foreground
Is there any way to do this using existing program? If no, I will write my own runbg.
I am interested in developing a portal-based application that works with EAV models and would like to know if there are any Java frameworks that aid in this type of development?
salesforce.com uses EAV and currently has twenty tables. The framework I seek should allow it to be configurable to different EAV implementations
Hey there,
I just wanted to build my App for submitting it to the AppStore - it includes the widely used three20 framework.
As the Debug Versions on the Dev-Devices worked great, i'm having trouble compiling the project for distribution.
XCode says:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_ARCHS=i386).
Any idea what's happening there?
I've tried to google it, but i haven't found a solution yet.
Thanks!
hi,
i did my project in c# compact framework with visual studio 2008.
now i wanna create a cab file. i follow the instructions at [http://www.mobilepractices.com/2008/02/how-to-create-windows-mobile-smart.html] but im having trouble.
the part that says "Browse and find SampleKindOfResourceFile.xml and press OK.", i cant find any xml in my main folder list. the only xml is found is app.config
is this the correct one?
Im using sharp architecture 1.6 framework to create a MVC2 app.
I have two areas, "Business", "Content".
Im using BusinessAreaRegistration.cs and ContentAreaRegistration.cs to register the areas by using AreaRegistration.RegisterAllAreas().
The Content area gets routed just fine, but the business area does not work at all.
gooing to /business/businessObjects/ show the error
Server Error in '/' Application.
The resource cannot be found.
How can I register both areas properly?
In my drupal installation I can get the offset from UTC in seconds to the timezone I specified in the admin panel using
variable_get('date_default_timezone', 0)
However, now that we have daylight-saving-time, the time I get is always off by one hour. Is there a way to retrieve the actual timezone string from Drupal, as "Europe/Berlin" for example?
The reason is, that I have to use this with Zend Framework's Zend_Date, but Drupal does not set the PHP default timezone, as
echo date_default_timezone_get();
gives me System/Localtime.
Are there any must have tools for Java Script (RIA) development like maven, jUnit, Emma, link4j etc. for Javascript? What is the best way to set up a continous integration system for a bigger application or framework? How do projects like jQuery test their code? How to manage dependencies and different project configurations?
tools i know so far:
javascript-maven-tools (is maven the right choice?)
jslint
yuicompressor
sprockets (found it 5 mins ago)
jsunit
selenium
Hello there i'm trying to write a layout similar to the timepicker widget layout.
So i decided to use the android framework layouts but i can't use them It seems that if i write android.R.drawable.timepicker_input or other timepicker related drawables i get them this Eclipse error:
android.R.drawable.timepicker_up_btn cannot be resolved
So i tried to import all the pngs and xml from the android source but eclipse says there is an error in the manifest regarding the icon.
Ideas?