tag:blogger.com,1999:blog-174075352024-03-13T21:21:07.827-05:00Learning by doingMy experiences with computer programming, using c#, Mono, Ruby, Rails, SQL Server 2000, and MySQL.Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.comBlogger70125tag:blogger.com,1999:blog-17407535.post-66948047304931017872021-10-28T09:21:00.003-05:002021-11-02T00:50:03.178-05:00Destiny 2 - The Corrupted Nightfall == Overview ==This Dreaming City Nightfall is already considered one of the most irritating strikes, in part because of bugs that sometimes prevent players from proceeding to the next encounter. Notable bugged areas are the transition from the Elevator to the Knights Steps, and after the passage, the temple sometimes doesn't reveal a way to the shadow realm where you will take your Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-280197688457329322021-08-15T17:46:00.004-05:002021-10-28T09:23:06.020-05:00Destiny 2 - Insight Terminus Nightfall Notes I don't have complete notes for Insight Terminus, but here are a few tips.1) A warlock with bleak watcher (stasis turret grenade), and a titan with Banner Shield and Ursa Furiosa are very helpful. 2) Zoom past all of the ads (low level adversaries) until you go underground. 3) In the first room, there are 3 barrier champions, two near the entry, and a 3rd in the left-hand "near" Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-25117962395986838392021-07-19T11:56:00.008-05:002021-08-15T17:50:25.217-05:00Destiny 2 Inverted Spire Nightfall Notes [I accidentally named this "Insight Terminus" when I built it!] OverviewEnvironmental concerns ... a few Solar shields, mostly Arc and Void.LoadoutBy Class / Titan, Hunter, Warlock (do this for next rotation)This one is fairly easy, so Witherhoard, Scout and Anarchy are workable. Blinding Grenade Launcher are effective in the the first cavern, the Drill Platform Control Center and anyRoy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.comtag:blogger.com,1999:blog-17407535.post-27024706229190720732021-07-06T14:24:00.012-05:002021-07-13T14:46:27.622-05:00Destiny 2 - Fallen Saber Grandmaster Nightfall NotesFor Season of the Splicer (Summer 2021), seasonal mods are: Barrier Auto or Scout Rifle, Unstoppable Pistol or Grenade Launcher (not needed), Overload Submachine Gun or Hand Cannon. Champions are Barrier and Overload, and solar damage is increased.Elemental enemies shields are mostly arc and void (maybe no solar shields).Team Loadout:* Titan with Ursa Furiosa (Void middle tree Banner ShieldRoy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.comOK, USA36.054227 -97.0623849999999929.82594339446332 -132.21863499999998 62.282510605536672 -61.906135tag:blogger.com,1999:blog-17407535.post-35898067159189284992018-07-06T17:15:00.001-05:002019-08-31T11:19:06.102-05:00Flexible Custom Reports for SQL Server
Flexible Custom Reports for SQL Server
This article is written by developer for other developers, sharing my experience with a technique that I found in Kimberly Tripp's SQL Server blog article titled "
Building High Performance Stored Procedures". In her article, she demonstrated a dynamic SQL technique that allows for "Query By Example" screens that allow most fields to be optional. I would Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-15982482160963915632018-04-15T17:47:00.004-05:002018-04-15T17:47:49.282-05:00Android OS RedesignedImagine the following scenario - you are looking for an application (app) on the Google Store, but the application that you found does 3 or 4 other things that you are not really interested in. Perhaps it is a photo editor that also syncs with Dropbox, has an online gallery, etc. All you want is local photo editing. Today, there is nothing you can do unless the app uses Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-71100058328963540992015-05-20T13:28:00.000-05:002015-05-20T13:28:29.387-05:00How Android OS should REALLY deal with privacy
I'll give you two design options that would improve OS privacy. I am thinking of the Android Operating System, but these are design principles, so they would be just as applicable for a Windows 10 Universal Application (App) or an iOS App. I am aware that this would be a huge undertaking, but it would be awesome!
1. Handle-based access
This is not a new concept, but when you Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-90960610563300199962009-04-17T10:36:00.004-05:002009-04-17T11:24:07.191-05:00Behind the times with NHibernate 2I am so behind the times ... NHibernate 2.0.1 GA was released last fall and 2.1.0 Alphas are coming out. In the mean time, Hibernate.org has been subsumed by Redhat's JBoss. The url www.hibernate.org doesn't take you anywhere useful, and following the javascript menu to projects / services / hibernate still doesn't get you anywhere - pure garbage. It is clear that JBoss wants to sell you Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-65023862916563077872009-03-18T08:50:00.003-05:002009-03-18T09:00:25.417-05:00ADDPATH NT/DOS command line script(Yes, We say script now instead of batch ... times are changing).Here is a stupid little batch file that I have written several times. It adds a single argument to the path in your current command-line session (so it is not permanent).@echo offif "%1" == "" goto end_scriptset path=%path%;%1:end_scriptRoy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-43325335339462931312009-03-02T11:14:00.003-06:002009-03-02T11:46:15.124-06:00Iron Languages on DLRThe "Iron" languages that run on the .NET DLR (Dynamic Language Runtime) are making progress. I just noticed that IronRuby has a release on RubyForge.To be honest though, I have moved to Python as my script language of choice, with Perl as the ever-present fallback. Iron Python seems like it is coming along nicely. Iron Python 2 can even host itself. I can't wait for MonoDevelop or Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com1tag:blogger.com,1999:blog-17407535.post-23199769212331565922009-02-19T21:03:00.005-06:002009-02-19T21:30:54.244-06:00The Castle Project will facilitate native SQL.I just spotted this on FishEye ... an example native SQL query. You'll need source from SVN or a recent download from the build server - more recent than patch 5551 by mzywitza on 17 February 2009.This is very nice, allowing parameterized SQL without the hacks that I used (you can search here for some of my old blogs on the subject).Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-63463383624335909542009-01-29T10:23:00.003-06:002009-01-29T11:22:57.365-06:00Search and Replace in Visual Studio 2005I usually have to look this up, so I am posting it to my blog.Visual Studio 2005 has a "Regular Expression" option on the "search and replace" dialog. (Previous .Net editions had it as well.) I occasionally want to rewrite several lines of text without writing a macro or wearing out my fingers. Here's what I do ...If I have a file with several lines ofDECLARE R1 = VC WITH CONSTANT("TEST1")Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-49494965483290720682008-11-25T12:10:00.001-06:002008-11-25T12:10:29.044-06:00PdfPoster - a simple fix for WindowsI have tried a couple of times over the last 3 months to use PdfPoster on some Erwin documents. Unfortunately, I am using Windows XP on my work PC. It was clearly documented that I needed to install PyPdf 1.11 or higher, so I did easy_setup to install 1.12. Recently, I tried "C:\test>pdfposter -vvv -s 2.0 SCHEDULING.pdf scheduling_2x.pdf" ... and received a nice traceback (see below). This Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-36758204183912620492008-09-25T15:44:00.000-05:002008-09-25T15:44:00.314-05:00Google Chrome and IronI'm sure most of you have heard of Google's new WebKit based browser "Chrome". Well, a German company has released a more privacy friendly version called "Iron", with the browser usage tracking removed. Their site is written in German, but here is a translation thanks to Google's Language Translation tools.I haven't had a chance to try it out yet, but I'm glad someone is taking advantage of theRoy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-17504904561135460472008-09-02T14:35:00.001-05:002008-09-02T14:35:16.943-05:00Python Turtle and LinksI just discovered the Turtle graphics module for Python 2.5 using the Tk graphics library. It is very "kid friendly", and it sets up a screen when you make your first function call. This was very fun, just like when I first played with LOGO on my Commodore 64!>>> from turtle import *>>> clear()>>> down()>>> goto(66,66)>>> for step in range(24):... right(105)... forward(100)...>>> up()>>Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-26733432793774888992008-08-30T22:59:00.003-05:002019-08-31T11:14:21.450-05:00The pains of browser page refreshI like to play Chess sometimes, and I like the MKGI Chess Club. It is great for guys like me who do not have time to play a complete game in one sitting. The site uses a "postal chess" model, where I can play a move in several games, then wait for my opponent to move, or go on with my day, and check later or the next day.
The site has an unfortunate quirk. It allows you to write notes about Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-64796266013505807132008-06-19T15:05:00.001-05:002008-06-19T15:06:31.772-05:00Python 2.6 beta 1 and 3.0 beta 1Python is sticking pretty close to their release schedule for Python 2.6 and 3.0 as documented in PEP 361. They released Python 2.6 beta 1 and 3.0 beta 1 today. If you&apos're curious about their progress, check the 2.6 release notes.By the way, I noticed that they fixed a problem with one of the rotating log handlers - it was using a simple filename instead of the full file path when deleting Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-90714183240458990182008-03-01T13:02:00.004-06:002008-06-19T13:19:45.619-05:00Monitoring SQL Server on the cheapUse WMI with Python. Thanks to Tim Golden, Python on Win32 (I use ActiveState Python) can use COM to talk to WMI. WMI allows you to run SQL-like queries to determine available memory, free disk space, database size, transaction log size, transaction log space available, when a database was last backed up, ... all of the good stuff.Any DBA knows that databases need free disk space and frequent Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-66856883412387084292008-01-01T11:37:00.000-06:002008-01-01T11:39:16.945-06:00Custom Python Logging HandlerPython has some nice basic logging facilities, but I really wanted a rotating logger that would rotate on each execution. I tried the obvious - just specifying class=MyModule.MyClassName, but I received a NameError exception for my trouble.After some hacking on /python25/lib/logging (a big no-no!), I did another google search and discovered that I could just import the class in my application, Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-39502650701071514922007-12-13T14:12:00.003-06:002008-02-19T14:03:02.535-06:00Perl or Python?Recently at work, we have been discussing the question of Perl versus Python for file copy, ftp, email and other daily, weekly or monthly automation / integration tasks. We considered Perl because some existing tasks had already been written in it, and Perl has a reputation as the System Admin's language of choice.I took a task that needed automated and wrote it in Perl 5.8, then refined it Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.comtag:blogger.com,1999:blog-17407535.post-2770689035094838952007-11-13T14:14:00.000-06:002007-11-13T14:31:24.602-06:00Moving to NHibernate 2.0NHibernate 2.0 is not even close to release, but it is shaping up nicely. Oren Eini (His blog is called Ayende @ Rahien) has a list of interesting new features.Dario Quintana has something to say as well. He has contributed some code to the uNHAddins for Active Record Detached Query support.The Castle development team is considering pointing to NHibernate Trunk (which will be released as 2.0 Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-9924560666496576452007-08-30T13:49:00.000-05:002007-08-30T13:57:12.320-05:00Mono and ProMesh.NETI follow the Mono Blog aggregator, and Miguel de Icaza mentioned that a user had tested ProMesh.NET on Mono, and it ran without any changes! That in in itself was cool, but when I took a look at ProMesh.Net, it looked like a well designed framework, perhaps comparable to MonoRail. The framework is ORM agnostic, and the biggest weakness might be it's view templates, but they have a great Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-8472844442147419462007-08-28T08:24:00.000-05:002007-08-28T09:32:18.223-05:00My take on Enums in SQL ServerI am a registered user on SQL Server Central, and I read a good article there on "Enums in SQL Server". I thought that I would quickly present my own humble solution to this problem, although I do not mean to imply that my way is better - you can decide for yourself.First, the problem to be solved is to represent a limited set of choices, where new choices would typically require a Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-36071593281271465972007-08-20T08:50:00.000-05:002007-08-20T09:29:33.500-05:00Auditing a SQL Server databaseI do not believe that I have covered this before, but the Active Record Code Generator can also generate audit records for your database tables. The template that I wrote (SqlAuditTrigger.vm) adds records to an AuditChanges table, with a related AuditFields table containing the table and field name. I think that this is a fairly compact solution, but I also added code to the trigger to ignore Roy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0tag:blogger.com,1999:blog-17407535.post-41022687098262085502007-08-17T15:27:00.000-05:002007-08-17T16:21:40.202-05:00I love Bouncy Castle!Today, I needed to send some private data to another company, and I could not get FTP with SSL to authenticate over our firewall, so I had to sent an encrypted file over FTP. The other company has a GPG public key, so I looked around for a bit on the web (yes, I googled c# gpg encrypt open source) and found a message that mentioned Bouncy Castle on the 4th or 5th page (why was it so far down theRoy Tatehttp://www.blogger.com/profile/18358836279191006548noreply@blogger.com0