Hi,
I have a Silverlight web app which uses ASP.net Website administration tool for user authentication. Now is there any way by which I can get the list of all registered users in Silverlight?
I need to teach myself Winforms and user interface programming and want a decent book that will go thoroughly into the ins and outs of how to accomplish things.
Can anyone suggest a good book?
I know C# pretty well and have messed about with Winforms in the designer before.
Thank you
Hello,
this is a general question but I do a desktop application.
Should I check for example the firstname exceeding 50 chars or is this a matter of taste?
Or should I check for 50 chars because the user could flood my database with 10000000 chars ?
For a Console app, I need to know how to wait at set amount of time (about 10 seconds), for a user to input a key or set of keys, before proceeding with an 'auto run' portion of the application.
This is bugging me because I can't quite figure out how the timer works, or threading.sleep, what should I use? Been googling all day.
I have a machine running Ubuntu 9.10 (Karmic *x86_64*). Everything is running smooth so far, except for the Wi-Fi USB Stick. The same device worked perfectly in 8.10.
The wireless device is a GW-US54GXS using the Zydas Zd1211 chipset.
Dmesg output after plugging in:
[ 196.303436] phy0: Selected rate control algorithm 'minstrel'
[ 196.304209] zd1211rw 2-1:1.0: phy0
[ 196.304227] usbcore: registered new interface driver zd1211rw
[ 196.334137] usb 2-1: firmware: requesting zd1211/zd1211b_ub
[ 196.357463] usb 2-1: firmware: requesting zd1211/zd1211b_uphr
[ 196.402643] zd1211rw 2-1:1.0: firmware version 4725
[ 196.442611] zd1211rw 2-1:1.0: zd1211b chip 2019:5303 v4810 high 00-90-cc AL2230_RF pa0 ---N-
[ 196.463814] usb 2-1: firmware: requesting zd1211/zd1211b_ub
[ 196.466823] usb 2-1: firmware: requesting zd1211/zd1211b_uphr
Syslog output:
Nov 5 11:20:24 somesystem kernel: [ 196.303436] phy0: Selected rate control algorithm 'minstrel'
Nov 5 11:20:24 kierkegaard NetworkManager: <info> Found radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/ieee80211/phy0/rfkill0) (driver <unknown>)
Nov 5 11:20:24 somesystem kernel: [ 196.304209] zd1211rw 2-1:1.0: phy0
Nov 5 11:20:24 somesystem kernel: [ 196.304227] usbcore: registered new interface driver zd1211rw
Nov 5 11:20:24 somesystem NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wmaster0, iface: wmaster0)
Nov 5 11:20:24 somesystem NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wmaster0, iface: wmaster0): no ifupdown configuration found.
Nov 5 11:20:24 somesystem NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wlan0, iface: wlan0)
Nov 5 11:20:24 somesystem NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'zd1211rw')
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/2
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): now managed
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): bringing up device.
Nov 5 11:20:24 somesystem kernel: [ 196.334137] usb 2-1: firmware: requesting zd1211/zd1211b_ub
Nov 5 11:20:24 somesystem kernel: [ 196.357463] usb 2-1: firmware: requesting zd1211/zd1211b_uphr
Nov 5 11:20:24 somesystem kernel: [ 196.402643] zd1211rw 2-1:1.0: firmware version 4725
Nov 5 11:20:24 somesystem kernel: [ 196.442611] zd1211rw 2-1:1.0: zd1211b chip 2019:5303 v4810 high 00-90-cc AL2230_RF pa0 ---N-
Nov 5 11:20:24 somesystem NetworkManager: <WARN> nm_device_hw_bring_up(): (wlan0): device not up after timeout!
Nov 5 11:20:24 somesystem NetworkManager: <info> (wlan0): deactivating device (reason: 2).
Nov 5 11:20:24 somesystem kernel: [ 196.463814] usb 2-1: firmware: requesting zd1211/zd1211b_ub
Nov 5 11:20:24 somesystem kernel: [ 196.466823] usb 2-1: firmware: requesting zd1211/zd1211b_uphr
Nov 5 11:20:29 somesystem wpa_supplicant[978]: Could not set interface 'wlan0' UP
Nov 5 11:20:29 somesystem wpa_supplicant[978]: Failed to initialize driver interface
Nov 5 11:20:29 somesystem NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.
Gnome tells me in the network menu that the device was "not ready".
It appears in iwconfig but not in ifconfig.
The same symptoms appear when I boot from the live CD.
How can I solve this dilemma?
We've begun our migration to windows 7 and we ran into an interesting issue. When we hit "CTRL+ALT+DEL" we are brought to the "User selection Screen". Normally, this screen will have an icon for every local user for the machine. These machines are Domain members with "Fast User Switch" disabled so no user names are listed only the "Other User" option. If you click "Other User" or hit enter, the system moves on to the normal login screen where it prompts for user name and password.
Here's the issue: We want to find a way to skip over the part where a user selects "Other User". We essentially want the system to always assume that we always want "Other User" and to go directly to the login screen when a user hits "CTRL+ALT+DEL".
What I find odd is that the "Other User" doesn't show up until we've had more than one domain user log in. Right after we re-image the machine, the login process goes directly to the user credential prompt.
Anyone have any ideas?
It's been a couple of days now that I am trying to make a fully automated unattended installation. I managed to make it work with Ubuntu/Cobbler and a preseed file, but I cannot set the correct keyboard layout which is Norwegian in this case.
I am doing the tests on a virtual machine and when I am going with a normal manual installation (no preseed) everything is working fine. When I am using the preseed file, I always end up with an "English (US)" keyboard no matter the many different options I have tried.
I can change it manually with the "dpkg-reconfigure keyboard-configuration" command, but that's not the case. It should be handled automatically using the preseed file.
I am using DEBCONF_DEBUG=5 when the grub is loading, and as I see in "/var/log/installer/syslog" file after the installation has finished, the preseeding commands are accepted.
Can anyone help on this? The preseed file I am using is following:
d-i debian-installer/country string NO
d-i debian-installer/language string en_US:en
d-i debian-installer/locale string en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layout select Norwegian
d-i keyboard-configuration/variant select Norwegian
d-i keyboard-configuration/modelcode string pc105
d-i keyboard-configuration/layoutcode string no
d-i keyboard-configuration/xkb-keymap select no
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string myhostname
d-i netcfg/get_domain string simula.no
d-i hw-detect/load_firmware boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.uninett.no
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string http://10.0.1.253:3142/
d-i mirror/codename string precise
d-i mirror/suite string precise
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Oslo
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 10.0.1.254
d-i partman-auto/method string lvm
partman-auto-lvm partman-auto-lvm/new_vg_name string vg0
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select 30atomic
d-i partman/default_filesystem string ext4
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/mount_style select uuid
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i passwd/user-fullname string vangelis
d-i passwd/username string vangelis
d-i passwd/user-password-crypted password $6$asdafdsdfasdfasdf
d-i passwd/user-uid string
d-i user-setup/allow-password-weak boolean false
d-i passwd/user-default-groups string adm cdrom dialout lpadmin plugdev sambashare
d-i user-setup/encrypt-home boolean false
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/backports boolean true
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string security.ubuntu.com
d-i apt-setup/security_path string /ubuntu
tasksel tasksel/first multiselect Basic Ubuntu server, OpenSSH server
d-i pkgsel/include string build-essential htop vim nmap ntp
d-i pkgsel/upgrade select safe-upgrade
d-i pkgsel/update-policy select none
d-i pkgsel/updatedb boolean true
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/keep-consoles boolean false
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean true
d-i debian-installer/exit/halt boolean false
d-i debian-installer/exit/poweroff boolean false
Hello,
Is Ubuntu the best OS for an uber lightweight quick to boot setup for a laptop / netbook?
I have a laptop and I'm just looking for the best OS for watching movies / tv shows while traveling. I'm using windows 7 right now so ideally I'd like a barebones fast linux dual booted that uses less battery etc while traveling. I'm not looking for miracles in battery savings but it would be great if I could squeeze an extra 20 minutes out of it.
Any suggestions?
Does anyone know of a simple "Hello World" for making games for ubuntu? I've seen the Getting Started with Quickly video.
Any examples for platformers or something like that?
EDIT:
Just a recap of the answers.
Blender Game engine -- Uses python
Pygame -- Python
MonoGame http://monogame.codeplex.com/ -- some sort of XNA ?
QuakeC -- This a Quake flavored C like lang. See: Steel Storm http://one.steel-storm.com/
I only installed Ubuntu a couple of weeks ago but my friend showed me how to use aircrack.Anyways, he said that i needed to install a special driver for it and while i was trying to install it the instruction told me to uninstal the previous driver but the installation of the new driver didnt work, so now im stuck with no wireless drivers on my netbook.But, when i boot into windows it works fine,any tips?
Btw,i'm using an ar2427 wireless adapter on an asus eee pc 1001pq,please reply.
My LCD monitor won't enter power save mode.
I've gone into System ? Preferences ? Screensaver, clicked Power Management, then set Put display to sleep when inactive for: to 10 minutes (for both On AC Power and On Battery Power), but the monitor still doesn't enter power save mode, even after an hour.
Anyone have ideas on what to try?
I'm using Ubuntu 10.04.1 LTS 64-bit desktop on a Dell Latitude E6400 laptop.
I'm running Ubuntu 9.04, and out of the blue I can no longer cut and paste, I imagine if I restart my computer I'll be able to, but thats a pain, how can I fix/reset the clipboard?
Type "hello" into Text Editor
Highlight the text "hello"
Press CTRL-C
See the text become unhighlighted (is this normal?)
Press CTRL-V
See the word "network" get pasted in.. perhaps that was the last thing I copied when it was still working?
I upgraded from 10.xxx to 12.04.1 LTS using the upgrade feature within Ubuntu. System upgraded but after a reboot, the graphical interface comes up. When I try logging in using a user account that pre-existed on the system, the graphical interface screen disappears, screen goes blank and then reverts to the graphical interface prompting for a password. I have loads of data and installed programs under the particular user account. PLEASE HELP....
Ubuntu One's Security FAQ indicates that Canonical encrypts connections and restricts access to user data. This all well and fine, and I do trust SSL for online banking and other things more valuable than my private keys.
That said, I am quite anxious about putting my ~/.ssh/id_dsa up in the cloud. Obviously, no system is totally secure. Could some knowledgeable party, then, pragmatically quantify the risks?
Im looking for something similar to iPlotz or Mockup.
I've found Pencil Project, but it require xulrunner-1.9 (seem to be incompatible with xulrunner-1.9.2) to be run as a standalone application; However it can be used as a firefox plugin..but is a bit slower.
The error on my desktop (ubuntu 10.04) is: Could not find compatible GRE between version 1.9.1 and 1.9.2.*
Does anyone know other software?
Edit: open-source softwares are preferred, doesnt matter if free.
hi, i have a dell mini 1012 which has an intel n450 processor and gma 3150 integrated graphics card running ubuntu 10.10 according to the intel website the graphics card support opengl 2.0
http://software.intel.com/en-us/articles/quick-reference-guide-to-intel-integrated-graphics/#9
but when i type glxinfo in terminal the opengl version string gives me the following
OpenGL version string: 1.4 Mesa 7.9-devel
i installed the latest drivers but it didn't work.
so, how can i enable opengl 2.0 on this card?? thanks
Is there any way in which the width of items on the taskbar (or, rather, the lower panel) of the Gnome (2.32.0) desktop (Ubuntu 10.10) can be adjusted to take a more sensible width?
While I can see the icons of the applications they represent, they seem a little over-compressed, given the width of the desktop/monitor resolution (1900 x 1080):
Click the image, or this link, for a full-sized (1920x169, 169.7KB) graphic.
I'm a noob, development wise and logistically-wise.
I'm developing a site that lets people take a test...
My client wants the ability for a user with the roll/privledge "admin" (a step below a super-admin) to be allowed to create users and only see/edit the users that they create...
The users created in that "category" or group need some information that their superior provides.
For example, I log in as a "manager", I have the ability to invite people to take the test, and manage those people. Before adding those people, I will have filled out a short survey about myself...
Right now, the users that are invited will be asked some of the same questions as the manager. I'd like to cut down the redundancy by using the information put into the database by the manager and apply it to the invited users.
How do I set up my database to work with this criterion? I'm a little confused about how to do this! Let me know if I can add more details...
(This is a mysql and php app)
I would like to run ownCloud client as a different user, with something like:
gksudo -u owncloud owncloud
However, it is specifying:
ownCloud requires a working system tray. Please install a system tray application such as trayer. If you are running xfce follow these instructions: http://docs.xfce.org/xfce/xfce4-panel/systray
The question remains, how does one facilitate having the owncloud user account use the parent's system tray?
When I switch windows on current Unity using Alt+Tab, I get an ugly outline of size of the selected window occasionally showing on random places. Is there a way to change this outline to something better looking or eliminate it altogether?
NB These outlines appear on Ubuntu Desktop without any effects enabled.
Outlined Firefox
Outlined Nautilus
Outlined Terminal
Click on the images to better view the outlines in question.
My main account got messed up, as I tried to fix it things went downhills.
keyboard mess - tried unity --restore and deleting .gconf2*, fail
deleted .* in ~, total havoc. Chromium and Firefox crashes etc.
Now, another user account is fully functioning, but I really want my regular username back.
Is there any way to completely wipe the settings for the messed up account or copy the profile from the functioning user?
I've had a few install rounds with ubuntu ever since 8.04 and has worked flawlessly every time. However, for some reason, when I try to click either System Settings or Software Center, the icon pulses as if it were working to come up but never does. The same goes for System Settings. I would expect that a password dialog would appear, but nothing shows. Is there bug with 11.10 that didn't exist with 11.04?
I know that alt+ctrl+F(1-6) take me to available command lines, and that F1 command line is used for debugging, and F8 is the GUI desktop, that what i know but today i noticed there in F7 that does nothing, it only displays some sort of log in message, and there is F(9-12) that just display black screen with blinking under scroll .
can anyone enlighten me what those consoles do, are they for trouble shooting maybe?
i use ubuntu netbook 10.10.
I'd like to configure an SMTP MTA to accept all mail addressed to any domain and deliver it to my local user account.
It would be very useful for debugging mail sent in some code I'm working on. I'll be running the server locally - no outside world interaction required.
To be clear:
[email protected] - delivered to - cam8001@localhost
[email protected] - delivered to - cam8001@localhost
[email protected] - delivered to - cam8001@localhost