ILOG launches JRules 6
Comments from David Norfolk (the register) on Business Rules Engines relating to JRules 6. A gentle introduction.
Comments from David Norfolk (the register) on Business Rules Engines relating to JRules 6. A gentle introduction.
JavaScript Graphics Development
Cool.
I’m looking at the different ways I can present Management Information (MI) within a browser and one of the options is graphics written via Javascript. I’ll attempt to find more links/resources over the coming months.
Another set of javascript graphic functions:
This JavaScript VectorGraphics library provides graphics capabilities for JavaScript: functions to draw circles, ellipses (ovals), oblique lines, polylines and polygons (for instance triangles, rectangles) dynamically into a webpage.
What Are the Differences Between the Two Versions of Windows Mobile?
Its been bugging me for ages and its still not entirely clear what the actual technical differences are from a software developers point of view.
When moving SQL Server databases around user logins invariably get orphaned.
Heres a usefull script to osrt out these orphaned user accounts:
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
Create PROC dbo.usp_Repair_Orphan_Users(@targetdbname nvarchar(50) = null)
AS
-------------------------------------------------------------------------------
-- Description: This is a DBA utility used to resync all user/login sids,
--
-- Revision History
-- Date Author Revision Description
-- 09/07/2005 Tduffy Original version
-- 19/12/2005 DRussell Amended for so that database name must
-- be supplied.
-------------------------------------------------------------------------------
-- Parameters None
-------------------------------------------------------------------------------
-- Example
-- EXEC usp_Repair_Orphan_Users 'MyDBName'
-------------------------------------------------------------------------------
set nocount on
DECLARE @cmd varchar(4000)
BEGIN
Create table #Orphan_User_Tbl
(
[Database_Name] sysname COLLATE Latin1_General_CI_AS,
[Orphaned_User] sysname COLLATE Latin1_General_CI_AS
)
SET NOCOUNT ON
DECLARE @DBName sysname, @Qry nvarchar(4000)
SET @Qry = ''
SET @DBName = ''
WHILE @DBName IS NOT NULL
BEGIN
SET @DBName =
(
SELECT MIN(name)
FROM master..sysdatabases
WHERE name NOT IN
(
'master', 'model', 'tempdb', 'msdb',
'distribution', 'pubs', 'northwind'
)
AND DATABASEPROPERTY(name, 'IsOffline') = 0
AND DATABASEPROPERTY(name, 'IsSuspect') = 0
AND DATABASEPROPERTY(name, 'IsInload') = 0
AND DATABASEPROPERTY(name, 'IsInRecovery') = 0
AND DATABASEPROPERTY(name, 'IsInStandBy') = 0
AND DATABASEPROPERTY(name, 'IsReadOnly') = 0
AND DATABASEPROPERTY(name, 'IsNotRecovered') = 0
AND (@targetdbname is null OR Name = @targetdbname) AND name > @DBName -- DR Amend
)
IF @DBName IS NULL BREAK
SET @Qry = ' SELECT ''' + @DBName + ''' AS [Database Name],
CAST(su.name AS sysname) COLLATE Latin1_General_CI_AS AS [Orphaned User]
FROM ' + QUOTENAME(@DBName) + '..sysusers su
inner join master..sysxlogins b
on su.name=b.name
where
su.sid is not null
and su.sid not in (0x00,0x01)
and su.sid <> b.sid'
INSERT INTO #Orphan_User_Tbl EXEC (@Qry)
END
DECLARE MC CURSOR
READ_ONLY
FOR
SELECT [Database_Name]+ '..sp_change_users_login ''Update_One'' , ''' + Orphaned_User + ''',''' + Orphaned_User + ''''
FROM #Orphan_User_Tbl
ORDER BY [Database_Name], [Orphaned_User]
OPEN MC
FETCH NEXT FROM MC INTO @cmd
WHILE (@@fetch_status <> -1)
BEGIN
IF (@@fetch_status <> -2)
BEGIN
--Print @cmd
Execute (@cmd)
END
FETCH NEXT FROM MC INTO @cmd
END
CLOSE MC
DEALLOCATE MC
DROP Table #Orphan_User_Tbl
END
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
RFID tags can be infected with a virus
Amazing .. technology just keeps on amazing me. Ever since i found out that specially crafted images could harbour a virus (GDI+ buffer overflow) that would be activated just by viewing I simply dont know whats possible/impossible within technolgy any more.
Awesome.
Looks interesting .. will review over the coming months.
How ATM fraud nearly brought down British banking
Amazing.
A real insight into how companies work and the occasional, total lack of security in an industry you’d have expected to have some of the best security solutions in the world.
Citibank ATM fraud ‘just tip of iceberg’ - analyst
Security is an interest of mine. Also what happens to my money is a concern too .. these stories are invariably a very telling snapshot of how capitialism and company’s actually operate - so thats interesting too.
You can learn a lot about something when its near its limit or under a lot of pressure.
A helpfull overview of MSMQs message storage. Its very easy to start using MSMQ but not fully appreciate its deployment. Everything runs smoothly until you run out of hard disk space. This article is very usefull overview of whats actually going on at a file system level.
Powered by WordPress