-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just launchpad. Additionally, I've tried several different servers in Europe and the U.S. as well as the "main…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just launchpad. Additionally, I've tried several different servers in Europe and the U.S. as well as the "main…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
The .NET Framework version 4 includes enhancements for ASP.NET 4 in targeted areas. Visual Studio 2010 and Microsoft Visual Web Developer Express also include enhancements and new features for improved Web development. This document provides an overview of many of the new features that are included…
>>> More
-
as seen on Simple Talk
- Search for 'Simple Talk'
By now you may well have noticed that .NET Reflector 6 and .NET Reflector Pro are out in the wild. The official launch happened today, although we actually put the software out last Thursday as part of a phased release plan to ensure that everything went smoothly today which, so far, it seems to have…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I installed Redmine and run it in Apache2 with the Passenger module.
Apache2 boots, Passenger module gets loaded and the Redmine welcome page is shown, however when trying to login or navigate to other parts of the Redmine site, the browser keeps loading and loading and loading forever, although the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
First, here is the C# code and the disassembled IL:
public class Program<T>
{
private List<T> _items;
public Program(T x, [Microsoft.Scripting.ParamDictionary] Microsoft.Scripting.IAttributesCollection col)
{
_items = new List<T>();
_items.Add(x);
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In all the books I've read on reflection they often say that there aren't many cases where you want to generate IL on the fly, but they don't give any examples of where it does make sense.
After seeing Reflection.Emit as a job requirement for a gaming company I was curious where else it's being…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a list of strings which are candidates for Enumerations values. They are
Don't send diffs
500 lines
1000 lines
5000 lines
Send entire diff
The problem is that spaces, special characters are not a part of identifiers and even cannot start with a number, so I would be sanitizing these values…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've used Reflection.Emit in the past to write a compiler, but I know the standard compilers don't use it, and in an answer to another question here I saw a mention that there are some things Reflection.Emit is unable to do.
What are the limitations of Reflection.Emit that I should be aware of if…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
While the .NET 4 framework provides the Assembly.IsDynamic method, that's not the case with .NET 2.0/3.5.
The use case is simple: for logging purposes, I want to determine the underlying type name of an entity that might be wrapped by a dynamic proxy without having any references to NHibernate or…
>>> More