<b>Serverwatch:</b> "The Apache HTTP Web Server is the most widely deployed Web server on the Internet today, which means that vulnerabilities in the open source server can have a devastating impact. That also makes security updates like the new 2.2.15 release critical, since it addresses several security vulnerabilities in Apache's flagship HTTP Web server."
I have Win8 on my desktop, where a 120G SSD is used to run windows and some select applications, while I have a 2TB HDD to provide basic file storage and where possible, install applications instead of on the SSD.
I want to install Ubuntu on a new partition of the HDD (I allocated 300GB, with 5GB swap file).
I've used a USB to install the OS, which seemed to have done the job. However, after prompting for a restart, I can no longer boot to ubuntu.
During instillation I was confused about where to install the "boot loader instillation". I ended up selecting "/dev/stb" because I figured I would be able to boot with BIOS by selecting the HDD drive as a priority over the SSD.
The bootloader is a large part of where I think I went wrong.
My partition system looked something like this:
/dev/sta ... //SSD ~120 GB
/dev/sta1 NTFS (350 MB) //Win8System
/dev/sta2 NTFS (118 GB) //Win8C-Drive
/dev/stb ... //HDD ~2TB
/dev/stb1 NTFS (1563 GB) //FileStorage
/dev/stb5 Free Space (300 GB) //Space I want to use for Linux
(NOTE: Created two partitions from the 300GB, ~5GB and 295GB. stb5,stb6.)
It'd be great if I could get an explanation of what drive you'd select for the boot loader and why, and what selections won't work with regards to the Boot Loader Instillation. I think I understand what Grub is, but I have no idea on how to use it, or play around with it.
I seem to be able to get back into OS from my usb, however I believe it's just showing me a preview/trial of Ubuntu (ie, can't access any of the system NTFS drives). Note, if I try to install from the USB again, it will recognize that a version of Ubuntu 13.10 exists on the system.
Apologies in advance, have used windows all my life, don't really know to much about Linux at all. Did have a brief skim over some similar questions, didn't find anything too useful.
- Where to install bootloader when installing Ubuntu as secondary OS?
- ubuntu 12.10 dual boot with windows 8 on two hdds
- Dual-boot Windows 7 and Ubuntu on two SSDs with UEFI
We are currently using a single command line tool to build our product on both Windows and Linux.
Si far its works nicely, allowing us to build out of source and with finer dependencies than what any of our previous build system allowed. This buys us great incremental and parallel build capabilities.
To describe shortly the build process, we get the usual:
.cpp -- cl.exe --> .obj and .pdb
multiple .obj and .pdb -- cl.exe --> single .dll .lib .pdb
multiple .obj and .pdb -- cl.exe --> single .exe .pdb
The msvc C/C++ compiler supports it adequately.
Recently the need to build a few static libraries emerged.
From what we gathered, the process to build a static library is:
multiple .cpp -- cl.exe --> multiple .obj and a single .pdb
multiple .obj -- lib.exe --> a single .lib
The single .pdb means that cl.exe should only be executed once for all the .cpp sources. This single execution means that we can't parallelize the build for this static library. This is really unfortunate.
We investigated a bit further and according to the documentation (and the available command line options):
cl.exe does not know how to build static libraries
lib.exe does not know how to build .pdb files
Does anybody know a way to merge multiple PDB files ? Are we doomed to have slow builds for static libraries ? How do tools like Incredibuild work around this issue ?
Google calendar has great flexibility with reminders, but the defaults are often useless without tweaking the settings. Here are some common notification settings you may want to change to suit your needs better
Latest Features
How-To Geek ETC
How To Create Your Own Custom ASCII Art from Any Image
How To Process Camera Raw Without Paying for Adobe Photoshop
How Do You Block Annoying Text Message (SMS) Spam?
How to Use and Master the Notoriously Difficult Pen Tool in Photoshop
HTG Explains: What Are the Differences Between All Those Audio Formats?
How To Use Layer Masks and Vector Masks to Remove Complex Backgrounds in Photoshop
Hack a Wireless Doorbell into a Snail Mail Indicator
Enjoy Clutter-Free YouTube Video Viewing in Opera with CleanTube
Bring Summer Back to Your Desktop with the LandscapeTheme for Chrome and Iron
The Prospector – Home Dash Extension Creates a Whole New Browsing Experience in Firefox
KinEmote Links Kinect to Windows
Why Nobody Reads Web Site Privacy Policies [Infographic]
Today , I will cover a very simple topic, which can be useful in cases we want to mock different interfaces on our expected mock object. Our target interface is simple and it looks like: public interface IFoo : IDisposable { void Do(); } Now, as we can see that our target interface has implemented IDisposable and in normal cases if we have to implement it in class where language rules require use to implement that as well[no doubt about it] and whether or not there can be more complex cases, we want to ensure that rather having an extra call(..As()) or constructs to prepare it for us, we should do it in the simplest way possible. Therefore, keeping that in mind, first we create a mock of IFoo var foo = Mock.Create<IFooDispose>(); Then, as we are interested with IDisposable, we simply do: var iDisposable = foo as IDisposable; Finally, we proceed with our existing mock code. Considering the current context, we I will check if the dispose method has invoked our mock code successfully. bool called = false; Mock.Arrange(() => iDisposable.Dispose()).DoInstead(() => called = true); iDisposable.Dispose(); Assert.True(called); Further, we assert our expectation as follows: Mock.Assert(() => iDisposable.Dispose(), Occurs.Once()); Hopefully that will help a bit and stay tuned. Enjoy!!
I have both gcc 4.7.3 and 4.8.1 installed
But on running gcc --version I get
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I am an Ubuntu newbie and I don't know much about updating symbolic-links...
I searched the Internet, and found out about update-alternatives but was reluctant to use it...
Please can someone help me in choosing 4.8 over 4.7 & also tell me is it bad to have 2 versions of same gcc?
I have written a shutdown script for transmission. Transmission calls the script after a torrent download finishes. The script runs perfectly on my machine (Ubuntu 11.04 & 12.04).
#!/bin/bash
sleep 300s
# default display on current host
DISPLAY=:0.0
# find out if monitor is on. Default timeout can be configured from screensaver/Power configuration.
STATUS=`xset -display $DISPLAY -q | grep 'Monitor'`
echo $STATUS
if [ "$STATUS" == " Monitor is On" ]
### Then check if its still downloading a torrent. Couldn't figure out how.(May be) by monitoring network downstream activity?
then
notify-send "Downloads Complete" "Exiting transmisssion now"
pkill transmission
else
notify-send "Downloads Complete" "Shutting Down Computer"
dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.RequestShutdown
fi
exit 0
The problem is that when I'm downloading more than one file, when the first one finishes, transmission executes the script. I would like to do that but after all downloads are completed.
I want to put a 2nd check ( right after monitor check) if it is still downloading another torrent.
Is there any way to do this?
The popular PTS (Platform Technology Services) technical trainings for partners now include a workshop on Big Data.
First workshop will take place in Milan on July 10-12. (You can register by clicking the link below)
Oracle Big Data
Technical
Workshop
July
10-12,
2012: Cinisello Balsamo, Milan, Italy
For more info contact [email protected]
CURRENT:
single domain, single Exchange 2007
NEW:
two domains, single Exchange 2007
Can this be done?
Details:
Current setup is a single W2k3 domain with a single Exchange 2007 server. We are merging with another company that currently hosts their email with their ISP via POP3. We'd like to start hosting their email on our Exchange server using their existing domain SMTP addresses. They don't have an AD domain at all at the moment.
Recommendations? Can I do this with a trust between the 2 domains?
Requirements:
They can't have multiple SMTP addresses on both domains...such as I've seen with articles pointing to "hosting multiple domains". I want companyA to have the same account settings they've always had...companyB to have the same SMTP address they've had and not an additional one on the current companyA Exchange domain.
They should be able to collaborate (calendar, contacts, GALs) but should still be distinguishable based on which company they "work for".
Please help...thanks!
I used this script to generate a few buildings that I was hoping to import into UDK. Each building is made of about 1000 separate objects. When I export a building as FBX and import the file into UDK it breaks it up into its individual objects again, so I was wondering how I would avoid this. Whether there was a tool to combine all of the objects into one mesh automatically before exporting or if I could prevent UDK from breaking them upon import.
I've a dozen sites and I want all of their emails come to my one gmail id and I want to reply centrally from Gmail only. I've also added all of those emails in "send email as:" list in Gmail.
I could add email forwarders in my Cpanel but in that case I'll not be able to send email whose inboxes haven't been created( for example [email protected]). If I create email account then I'd receive emails in my inbox as well as forwared by the forwarder( to my gmail id).
Otherwise I can setup Gmail for my domain. But for a dozen emails I'm not sure if that'd be fine. I see in http://www.google.com/enterprise/apps/business/pricing.html that for up to 10 emails it is free. But then to send email from webhosting the php code will need SMTP login details and leaving my important gmail account details in my webhosting account is very risky given my sites have been compromised twice.
What is the best way to centralize all my emails so that I can read/reply/search from single place?
At present when I Google the domain name of the WordPress sites I have worked on, I receive at least three listings (often the top three).
The first listing is the only one I am interested in seeing, others appear from individual pages from that WordPress site i.e.:
1st hit - www.domain.com
2nd hit - www.domain.com/about
3rd hit - www.domain.com/designers
Does anybody know if its possible to remove all the links but the absolute www.domain.com?
CVE DescriptionCVSSv2 Base ScoreComponentProduct and Resolution
CVE-2008-5077 Improper Input Validation vulnerability
5.8
OpenSSL in XCP1113 Firmware
Sun SPARC Enterprise M3000
SPARC: 14216085
Sun SPARC Enterprise M4000
SPARC: 14216091
Sun SPARC Enterprise M5000
SPARC: 14216093
Sun SPARC Enterprise M8000
SPARC: 14216096
Sun SPARC Enterprise M9000
SPARC: 14216098
CVE-2008-7270 Cryptographic Issues vulnerability
4.3
CVE-2009-0590 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
5.0
CVE-2009-3245 Improper Input Validation vulnerability
10.0
CVE-2010-4180 Cipher suite downgrade vulnerability
4.3
This notification describes vulnerabilities fixed in third-party components that are included in Oracle's product distributions.Information about vulnerabilities affecting Oracle products can be found on Oracle Critical Patch Updates and Security Alerts page.
I have list of video files (loaded from database), each with start and end time of requested interval:
# file begin end
v1.mp4 1:01 2:01
v2.mp4 3:02 3:32
v3.mp4 2:03 5:23
And I need to create single video file containing these intervals:
[0:00]---v1---[2:00]---v2---[2:30]---v3---[5:50]
I preffer usig ffmpeg, since it is installed on server. Caller program is written in PHP.
It is easy to cut one input to one output (argument escaping removed for clarity):
exec("ffmpeg -ss $begin -i $input_file -ss $begin -c copy $output_file");
I there any easier way than executing ffmpeg for each interval and then execute it once more to concatenate prepared clips together? I really do not like to have a lot of temporary files or dealing with complex process handling.
I have hundreds of files with different names that I want to translate into a different language.
Is there an application/CLI action that would allow me to copy all this names as in a list/table and then, after having translated them, to paste them back into the list/table, or that would allow a procedure somewhat similar to "Rename" in Thunar but with a more complex action closer to what I have described?
(I am in Lubuntu and I prefer not to use Nautilus due to unwanted interference with LXDE/pcmanfm desktop and LXPanel. If there is a solution in Nautilus please provide it but try to give an alternative if possible.)
CVE DescriptionCVSSv2 Base ScoreComponentProduct and Resolution
CVE-2012-1126 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
10.0
FreeType Font Engine
Solaris 11
Contact Support
Solaris 10
SPARC: 119812-16 X86: 119813-18
Solaris 9
Contact Support
CVE-2012-1127 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1128 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1129 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1130 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1131 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1132 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1133 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1134 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1135 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1136 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1137 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1138 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1139 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1140 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1141 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1142 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
CVE-2012-1143 Numeric Errors vulnerability
4.3
CVE-2012-1144 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability
9.3
This notification describes vulnerabilities fixed in third-party components that are included in Sun's product distribution.Information about vulnerabilities affecting Oracle Sun products can be found on Oracle Critical Patch Updates and Security Alerts page.
Suppose you have two interfaces:
interface Readable {
public void read();
}
interface Writable {
public void write();
}
In some cases the implementing objects can only support one of these but in a lot of cases the implementations will support both interfaces. The people who use the interfaces will have to do something like:
// can't write to it without explicit casting
Readable myObject = new MyObject();
// can't read from it without explicit casting
Writable myObject = new MyObject();
// tight coupling to actual implementation
MyObject myObject = new MyObject();
None of these options is terribly convenient, even more so when considering that you want this as a method parameter.
One solution would be to declare a wrapping interface:
interface TheWholeShabam extends Readable, Writable {}
But this has one specific problem: all implementations that support both Readable and Writable have to implement TheWholeShabam if they want to be compatible with people using the interface. Even though it offers nothing apart from the guaranteed presence of both interfaces.
Is there a clean solution to this problem or should I go for the wrapper interface?
UPDATE
It is in fact often necessary to have an object that is both readable and writable so simply seperating the concerns in the arguments is not always a clean solution.
UPDATE2
(extracted as answer so it's easier to comment on)
UPDATE3
Please beware that the primary usecase for this is not streams (although they too must be supported). Streams make a very specific distinction between input and output and there is a clear separation of responsibilities. Rather, think of something like a bytebuffer where you need one object you can write to and read from, one object that has a very specific state attached to it. These objects exist because they are very useful for some things like asynchronous I/O, encodings,...
Following C#.NET demo explains you all the scenarios for implementation of Interface methods to classes. There are two ways you can implement a interface method to a class. 1. Implicit Implementation 2. Explicit Implementation. Please go though the sample. using System; namespace ImpExpTest { class Program { static void Main(string[] args) { C o3 = new C(); Console.WriteLine(o3.fu()); I1 o1 = new C(); Console.WriteLine(o1.fu()); I2 o2 = new C(); Console.WriteLine(o2.fu()); var o4 = new C(); //var is considered as C Console.WriteLine(o4.fu()); var o5 = (I1)new C(); //var is considered as I1 Console.WriteLine(o5.fu()); var o6 = (I2)new C(); //var is considered as I2 Console.WriteLine(o6.fu()); D o7 = new D(); Console.WriteLine(o7.fu()); I1 o8 = new D(); Console.WriteLine(o8.fu()); I2 o9 = new D(); Console.WriteLine(o9.fu()); } } interface I1 { string fu(); } interface I2 { string fu(); } class C : I1, I2 { #region Imicitly Defined I1 Members public string fu() { return "Hello C" } #endregion Imicitly Defined I1 Members #region Explicitly Defined I1 Members string I1.fu() { return "Hello from I1"; } #endregion Explicitly Defined I1 Members #region Explicitly Defined I2 Members string I2.fu() { return "Hello from I2"; } #endregion Explicitly Defined I2 Members } class D : C { #region Imicitly Defined I1 Members public string fu() { return "Hello from D"; } #endregion Imicitly Defined I1 Members } } Output:- Hello C Hello from I1 Hello from I2 Hello C Hello from I1 Hello from I2 Hello from D Hello from I1 Hello from I2
span.fullpost {display:none;}
This is a purely theoretical question (at least until I start trying to implement it) but here goes.
I wrote a web form a long time ago which has a configurable section for getting information. Basically for some customers there are no fields, for other customers there are up to 20 fields. I got it working by dynamically creating the fields at just the right time in the page lifecycle and going through a lot of headaches.
2 years later, I need to make some pretty big updates to this web form and there are some nifty new technologies. I've worked with ASP.NET Dynamic Data just a bit and, well, I half-crazed plan just occurred to me:
The Ticket object has a one-to-many relationship to ExtendedField, we'll call that relationship Fields for brevity.
Using that, the idea would be to create a FieldTemplate that dynamically generated the list of fields and displayed it.
The big questions here would probably be:
1) Can a single field template resolve to multiple web controls without breaking things?
2) Can dynamic data handle updating/inserting multiple rows in such a fashion?
3) There was a third question I had a few minutes ago, but coworkers interrupted me and I forgot. So now the third question is: what is the third question?
So basically, does this sound like it could work or am I missing a better/more obvious solution?
I have hundreds of files with different names that I want to translate into a different language.
Is there an application/CLI action that would allow me to copy all this names as in a list/table and then, after having translated them, to paste them back into the list/table, or that would allow a procedure somewhat similar to "Rename" in Thunar but with a more complex action closer to what I have described?
(I am in Lubuntu and I prefer not to use Nautilus due to unwanted interference with LXDE/pcmanfm desktop and LXPanel. If there is a solution in Nautilus please provide it but try to give an alternative if possible.)
Is it possible to use ASP.NET Dynamic Data with SubSonic 3 in-place of Linq to SQL classes or the Entity Framework? MetaModel.RegisterContext() throws an exception if you use the context class that SubSonic generates. I thought I remembered coming across a SubSonic/Dynamic Data example back before SubSonic 3 was released but I can't find it now. Has anyone been able to get this to work?