Compiled query:
public static Func<OperationalDataContext, short, Machine>
QueryMachineById =
CompiledQuery.Compile((OperationalDataContext db, short machineID) =>
db.Machines.Where(m => m.MachineID == machineID).SingleOrDefault());
It looks like compiled query is caching Machine object and returning the same…
Hello,
I am wondering whether I can use a shared secret key established between two clients as the HMAC key too.
I saw that there is a problem when it is used as a CBC-MAC but I haven't found any evidence it is bad practice for HMACs.
Thanks,
Vladimir
I'm trying to connect to connect to OpenVPN server from my Ubuntu 11.10 machine. I use the following command to do it (under root user):
openvpn --config /home/vladimir/client.ovpn
Everything seems to be OK, it connects normally without any warnings and errors, but when I try to browse the internet I see that I still use my own IP address,…
My pptp connection wont stay connected, it will disconnect in less than a minute
here are some relevant log entries
May 31 13:32:31 localhost NetworkManager[931]: <info> Starting VPN service 'pptp'...
May 31 13:32:31 localhost NetworkManager[931]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 15216…
Tweet
Interview with Vladimir Ivanov, Ivan Krylov, Sergey Kuksenko
on the JDK 7 Java Virtual Machine performance and quality.
Joining us this week on the Java All Star Developer Panel are
Dalibor Topic, Java Free and Open Source Software Ambassador, and Alexis
Moussine-Pouchkine, Java EE Developer Advocate.
…
I have a laptop mySN QMG6 / Chiligreen Mobilitas NW which is Quanta TW9 barebone with intel i3 and nvidia 335m GT onboard.
On ubuntu distros 10.04, 10.10, 11.04 and 11.10 i had problem with changing screen backlight with nouveau and nvidia drivers. FN+F4/F5 buttons did not change my brightness.
I tried to edit xorg.conf, adding
Option…
I'm following along with a book from GameInstitute right now, and it's asking me to:
Allow the player to buy and carry healing potions and potions of
fireball. You can add an Item array (after you define the item class)
to the Player class for storing them, or use a std::vector to store
them.
I think I would like to use the…
I'm a java web developer for nearly 3 years. Always trying to learn more and be better but still I feel that the amount of knowledge is not that good as I want. The knowledge in some places still seems to be non-systematic and don't provide a very strong base to solve the problems as good as I want to do it. The example I have is my…
I have a laptop mySN QMG6 / Chiligreen Mobilitas NW which is Quanta TW9 barebone with intel i3 and nvidia 335m GT onboard.
On ubuntu distros 10.04, 10.10, 11.04 and 11.10 i had problem with changing screen backlight with nouveau and nvidia drivers. FN+F4/F5 buttons did not change my brightness.
I tried to edit xorg.conf, adding
…
Which approach is most popular in real-world examples: recursion or iteration?
For example, simple tree preorder traversal with recursion:
void preorderTraversal( Node root ){
if( root == null ) return;
root.printValue();
preorderTraversal( root.getLeft() );
preorderTraversal( root.getRight() );
}
and with…
Ever since I have upgraded my Asus Eee PC 1000HE from Lucid 10.04 to Precise 12.04 I have been having issues with my wireless connections.
At first I had wireless dropouts: I would be able to start using wireless, but then after a few minutes the wireless would stop working even though I was still connected to the network.…
I'm attempting to create an inventory system using a vector implementation, but I seem to be having some troubles. I'm running into issues using a struct I made. NOTE: This isn't actually in a game code, this is a separate Solution I am using to test my knowledge of vectors and structs!
struct aItem
{
string …
In this Issue: Christian Schormann, Vladimir Bodurov, Pete Brown, Justin Angel, John Papa(-2-), Fons Sonnemans, Miroslav Miroslavov, and Jeremy Likness.
Shoutouts:
Jeff Brand has been doing WP7 presentations and posted Windows Phone 7 Presentation and Sample Code
Mark Tucker posted about…
For most businesses, using a traditional FTP/SFTP client is the norm, however, in many cases, you can make use of a solution such as FTPGetter 3 Professional to automate the process, freeing up a gre... [Author: Vladimir Davidenko - Computers and Internet - March 29, 2010]
I have Mac OS X 10.6.3 and VMWare 7.1. Trying to run the OS X doesn't work - shortly after booting VMWare announces the machine's death with this pop-up message:
The CPU has been disabled by the guest
operating system. You will need to
power off or reset the virtual machine
at this…
I am using HA Proxy HA-Proxy version 1.4.18 2011/09/16
I am trying to insert the following into /etc/init.d/haproxy.cfg file
# Use General Purpose Couter (gpc) 0 in SC1 as a global abuse counter
# Monitors the number of request sent by an IP over a period of 10 seconds
stick-table type ip…
I failed with loading ISO image (non-distro) from GRUB2 from USB stick, but found the way how I can boot the GRUB4DOS and then load the image from there. However, it doesn't work all the time and the questions is WHY it doesn't?
Environment and loading process:
We need to have EFI…
When I open .doc file in Microsoft Office for Mac 2008 and MathType 6 installed I get "U" in all formulas instead of "v".
The original file was made in MSWord 2003 for Windows with MathType 6.
But when I click and open the formula in MathType 6 and then save it back I get correct…
I'm trying to run Mac OS X 10.6.3 on VMWare 7.1 from within Windows 7 64 bit. Trying to run the OS X doesn't work - shortly after booting VMWare announces the machine's death with this pop-up message:
The CPU has been disabled by the guest
operating system. You will need to
…
I am very stupid.
I applied a windows firewall rule that blocks all tcp connection and thus kicking me out of remote desktop on a dedicated server.
I managed to get into recovery via VNC, which is basically a windows xp recovery system.
I have access to the physical files of the…
Anytime I am running hadoop/hbase process from a command prompt I get an error:
/usr/local/hadoop/bin/hadoop: line 320: /usr/lib/jvm/jdk1.7.0/bin/java: cannot execute binary file
/usr/local/hadoop/bin/hadoop: line 390: /usr/lib/jvm/jdk1.7.0/bin/java: cannot execute binary file…