The Associated Press is reporting that Egypt has suspended mobile phone services in some areas where protests are expected. It’s disconcerting as this kind of thing bodes ill for everywhere. If the Egyptian government will cut the Internet nationwide and cut phones, who else will be willing to do so? Cutting communications is something that… Continue reading Egypt – No Signal
Month: January 2011
Egypt – 404 Not Found
Well, in a rather stunning development in the Middle East turmoils, Egypt has shut down the Internet. Completely. As in none. Zero. Nadda. Zilch. Zippo. 404 Not Found. The BBC has reported that amidst the protests there, the Egyptian government has shut the Internet off completely for the whole country. Internet connections across Egypt appear… Continue reading Egypt – 404 Not Found
RDBMS Table Design in Excel?
I was just thinking about data mining relationships between atoms and chemical compounds, and about putting it all into a nice, neat RDBMS for that, when it occurred to me that I’m really not an expert in the field, and designing the database would require more knowledge than I have. However, in a process of… Continue reading RDBMS Table Design in Excel?
Iterating Over a DirectoryInfo is Fast!
DirectoryInfo is really very fast to iterate through. While working on some software, I’ve been experimenting with different approaches to find the most efficient and fastest ways to get things done. Here are two different methods that achieve the same result, but in different ways and with radically different speeds: The next method takes a… Continue reading Iterating Over a DirectoryInfo is Fast!
Copying Collapsed Rows/Columns in Excel Excludes Hidden Data
Excel doesn’t copy collapsed columns or rows, which can be excruciatingly painful to figure out. When copying Excel data into a text editor (or other program), if you have a collapsed row or column, the data will not paste properly. So, imagine you have 51 rows of data. That’s what Excel tells you anyways like… Continue reading Copying Collapsed Rows/Columns in Excel Excludes Hidden Data
if (false) { behave nice; } else { freak out; }
Using “false” in a conditional causes all variables in the else clause to return nothing while debugging. Huh? Yep. Here’s a screenshot of inside an else clause: The “comparisons” variable is declared outside the conditional and shows up as does “comparisonIndex” which is also defined outside the conditional. However, the “singleComparison” shows “The name “singleComparison”… Continue reading if (false) { behave nice; } else { freak out; }
Boxing and Unboxing in C#
While working on some threading stuff, I came across an excellent article on boxing and unboxing in C#. The author goes into great detail showing performance along with IL. Boxing and Unboxing in C# It was somewhat comforting to see that I’m already coding in a way that doesn’t need boxing or unboxing. Some things… Continue reading Boxing and Unboxing in C#
Street Kids in Toorak?
Like WTF? Toorak is one of the best neighborhoods in Melbourne. And there are kids living in the alleys here. I just got back after hearing some kid screaming, and there’s no helping there. Well, not for me anyways. I can only extend my hand, but I can’t force help on anyone. The kid is… Continue reading Street Kids in Toorak?
Pakistanis Helping Racist Crap
How can I not hate so many of the people in Pakistan. How can anyone not revile in disgust at so many of the Pakistani people? If there is any force furthering racism against Pakistani people, it’s got to include a lot of Pakistanis. The assassination of Salman Taseer is a travesty. He stood up… Continue reading Pakistanis Helping Racist Crap
How to Update ListViewItems in a Listview
Here are 2 ways to update values in a ListView with C#: You can download the project here: ListViewExample