Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
User Journal

Journal Journal: Back to coding, doing something I haven't done before 4

Does anybody know of a good Javascript, .NET, or HTML5 (or combination of the three) library for doing a user-customizable widget grid?

I've seen it done enough that this *should* be a readily available control, but I don't seem to be able to find one with my first three rounds of google searching, I'm probably calling it the wrong thing.

What I want is to be able to configure a user's home page on the website with their choice & order of several widgets.

Anybody know of a great tool for doing this? Worst case scenario is I roll my own with a three column table built up from a sub table off of the users.

Oh yeah, and mandatory technology for this project is SQL Server Database, Visual Studio .NET Webforms (yeah, after doing MVC the last 4 projects I'm thinking Yuck too with these code-behinds), intended for HTML5 browsers.

User Journal

Journal Journal: When did I become an incompetent at TSQL? 32

What is wrong with this code? It's like I can have the inner loop execute, or the outer loop execute, but not both.

DECLARE @BatchMatch varchar(40)
Declare @mcount int
Declare @dcount int
Set @mcount=1
Set @dcount=1
While @mcount <13
        while @dcount<32
                Set @BatchMatch=Right('00'+Convert(varchar(2), @mcount),2) + Right('00' + Convert(varchar(2),@dcount),2)
                Print @BatchMatch
                Set @dcount=@dcount+1
        Set @mcount=@mcount +1

PS, no I don't care that all months don't have 31 days, but I must cover months that do.

Update- failed to reset the inner loop counter, that's what.

User Journal

Journal Journal: MSS Code Factory 2.3.12994 Service Pack 1

This release refactors and rearchitects the core objects of the system using diamond inheritance of the interfaces so that you can cast between the defining schema names for the objects and the current project's schema names. All of the methods of the new interfaces rely on the defining schema names, but you can safely cast the returned objects to your current schema names.

The goal of this effort was to make it easier to write custom GUI components that rely on the defining schema names for object interfaces, so that you should be able to just reference the jars that provide those custom GUI components, wire them to your projects GUI factories, and automatically use the customized screen components.

It isn't perfect, but it's the best I could do to address what I saw as a glaring flaw with the code base. Of course, the downside is that you may have to do more typecasting in some of your code. There are always trade-offs when designing an architecture.

Another benefit of the new approach is that it is made very clear that you are using the objects and interfaces from a referenced schema/project, an issue which was concerning me as some people might have taken the approach of ignoring the license requirements of the referenced schemas because the code gets re-manufactured into their project. Now there is a clear delineation between the referenced objects and the current project, preventing anyone from pretending they "didn't know" they had to abide by the licenses of referenced projects.

User Journal

Journal Journal: Clearly I suck 4

My linux skills have atrophied. I need to set up 10 workstations today. I have one done. What is the *easiest* way to clone a partition in ubuntu 14?
Update: Ghost 4 Linux and LinuxLive USB Creator to the rescue. I haven't had a usable copy of Ghost since floppies ruled the emergency boot sector, now, I'm going to buy a 32GB keychain drive off of Amazon and make sure I am NEVER without a copy of G4L. Drive imaging in an emergency is just way too useful of a skill to have.

User Journal

Journal Journal: Strange SQL Server 2014 behavior 7

I have a Select Statement that returns 4 rows. When used in a stored procedure as input to an Insert Into, though, it was returning five rows. I commented out SET NOCOUNT ON; which is added by the SQL 2014 template. It then returned 4 rows. To test that was what was really going on, I uncommented out SET NOCOUNT ON; and it is now returning 4 rows properly.

I made no other changes.

Anybody else ever run into anything like this??

User Journal

Journal Journal: MSS Code Factory 2.3.12932 Released to production!

MSS Code Factory 2.3 adds support for the specification of ServerProc, ServerObjFunc, and ServerListFunc methods that are performed at the server end and atomically committed when invoked by an XMsgClient application.

The 2.3 series also reworks the way that licensing and copyright information are tracked by the manufactured code. Now the license and copyright information of the originating project is used, instead of that of the project that is being manufactured. Just because you included a model someone else designed does not mean you get to take credit for that work.

There will be additional service packs adding new functionality to the 2.3 series, but those enhancements will not require further changes to the GEL engine, only the rule base.

User Journal

Journal Journal: I don't understand this Google vs. Oracle thing

For the life of me, I do not understand why Google doesn't just ship an ARM64 build of OpenJDK instead of futzing around with this fight against Oracle. From a pure developer's perspective, the whole thing is flat out STUPID.

Oracle is not preventing Google from shipping their own build of the JDK. They're just stopping them from breaking Java's portability requirement by shipping non-Java bytecode.

Java is not a compiler kit.

User Journal

Journal Journal: When did Net Neutrality change? 26

As late as last year, I remember Net Neutrality being a libertarian free market concept- preventing a crony corporate takeover of the Internet. Now that it is being implemented by the FCC, it has suddenly become a crony corporate (Democrat Brand) takeover of the Internet, that all good libertarians should oppose.

I haven't had political whiplash like this since the Catholic Church went from those nice monks doing AIDS research and running hospice care centers to those bigots who want to keep THOSE people from marrying.

User Journal

Journal Journal: April 2015 has been a busy month

April 2015 has been a busier month than I'm used to.

I got MSS Code Factory 2.1 Service Pack 1 out the door after over two months of work.

I packed up and moved to a new apartment.

Last but not least, I installed Ubuntu 14.04.2 LTS on my failing Debian box. I still haven't done any more work on the Windows 7 laptop to get it into a development-usable state, but since I did all that performance tuning on MSS Code Factory 2.1, I really don't need to use the Windows laptop. In fact, the poor beast is so I/O bound when running 2.1 that it sounds like the hard drive is about to rupture and spew it's guts out the keyboard when MSS Code Factory is running.

The shift to Ubuntu 14.04.2 from Debian 7 was a last-ditch attempt to resolve an X-Server crash issue (white-out screen in NVidia 8600-series hardware with NVidia drivers.) Although I did see one such crash on Ubuntu 14.04.2 since installing it in the first week of April, I have not seen it in the ten days since Ubuntu released some X-Server input patches.

So it wasn't entirely the NVidia driver's fault that my X-Server was crashing; there seems to have been some bugs in the input stream processing.

I'm still not 100% confident that the X-Server bug has been resolved, but it's looking like it has. Which is a good thing -- I can't afford to buy a new computer at this time (nor in any reasonably near future, as I'm on disability and get less than $17,000/year to live on here in Saskatchewan, Canada.)

Backed up the system lately?