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

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: MSS Code Factory 1.11.5365 Beta 1

The PostgreSQL 9.1 implementation has been updated to make use of stored procedures, prepared SQL statements, and every other performance-tuning trick I've learned in 30+ years of database programming. Subsequent betas will be released as additional databases are brought to the same level of integration as this release for PostgreSQL.

The PostgreSQL code should run rings around EJB3 and similar technologies that rely on dynamic SQL.

MySQL 5.5 support is as complete as it will ever be, and basic DB/2 LUW 10.1 support is also provided.

Download MSS Code Factory Beta 1 from SourceForge.

User Journal

Journal Journal: MSS Code Factory is moving right along 1

As you can see from the MSS Code Factory project site, things are progressing steadily with my pet project. I've just finished spending a couple of weeks reworking the PostgreSQL database IOs to use PreparedStatements wherever possible instead of pure dynamic SQL. At this point, dynamic SQL is only used for cursor-based reads and index queries which reference nullable columns; all other queries and accessors use prepared statements (static SQL.)

I haven't tested the performance of this new layer with PostgreSQL, and don't intend to compare performance of dynamic and static SQL as it would require keeping copies of and debugging both versions of the code. I know from previous experience with DB/2 UDB that using PreparedStatements can result in an 80% overall performance improvement for something like loading a model into a relational database.

Unfortunately most of the performance benefits would be lost when using the code for a web server, because you have to releasePreparedStatements() at the end of each web page served, because there is the possibility that a particular vendor's implementation of PreparedStatements might have data associated with it on the server end of the connection, and the connection has to be released after serving the page.

One of the biggest advantages of switching to static SQL is that parameter binding with PreparedStatements can handle variables up to the maximum size for the type, whereas dynamic SQL is limited by the size of the statement buffer accepted by the database (which used to be a significant limitation with DB/2 UDB 7.2, though I've no doubt that limit has been expanded or eliminated.)

A key point of the use of static SQL is that the only difference between the different databases now is the specific SQL functions used to convert strings to date-time types, so I'm going to be rolling out the support for the commercial databases under GPLv3 after all, rather than trying to leverage them for profit. The differences are just too negligable for me to believe anyone would pay for the privelege of using a commercial database.

User Journal

Journal Journal: I gave up and filed for disability

I've been working as a programmer since the spring of 1987. I've travelled all over North America, worked in many cities and with some of the biggest names in technology. I've had an absolute blast working with skilled and intelligent people who were not only good at what they did, but became good friends.

But it's time to face the facts: I can no longer work "office hour" jobs due to chronic migraines. Even with complete flexibility to work from home and at odd hours, I was barely able to get in 24-30 hours per week at the last company that was willing or able to work with me on the scheduling issues caused by the migraines.

I've therefore filed for disability here in Saskatchewan, and am in the process of getting approved for the SAID program (Saskatchewan Assured Income for Disability.) I used to pay twice as much in taxes per year in the '90s than I'll be getting under SAID, but at least it'll be subsistance living.

Don't make the same mistake I did of enjoying your income while you have it. Save and invest your money like it's going to be the last dollar you earn, because you never know when you're going to be hit by the proverbial bus and find yourself disabled. It's not fun, it's not a "safety net" as some claim, and it's a very depressing future to face.

But many of you will face that future, whether due to medical issues or accidents.

Good luck.

P.S.

I'm going to try to keep Singularity One Systems, Inc. alive because every once in a while I do find a few hundred bucks worth of offsite programming I can do for someone. With the company, I can "bank" that income, and draw the $200/month I'm allowed to on disability over time, as well as running a few expenses like monitors and part of my internet/phone fees through the company instead of paying it all out of pocket.

Who knows? Maybe some day one of my pet projects will turn into a money maker. I've always said I'd program for a hobby if I weren't programming for pay, and that's where life is headed: hobby programming to keep myself from being bored silly in "retirement."

Peace.

User Journal

Journal Journal: Joy oh joy 2

My Ubuntu 10.04.1 partition developed a serious case of USB problems after this morning's kernel update. When I rebooted to try to reset the USB devices, the partition table nuked itself.

So I'm reinstalling WinXP. This is NOT how I planned to spend my day!

Needless to say, I am NOT a happy camper...

User Journal

Journal Journal: Thoughts on the entangled-quantum future

In the future, and a not too distant future at that, we will have quantum-entangled computers that work alongside or as add-ons to our existing computers.

Entangled quantum processors are good at the very class of computing problem that traditional CPUs suck at. And the reverse is also true, so we won't all be switching to quantum computers, we'll be merging the two technologies into a single box capable of tackling both classes of computing problem efficiently.

The issue to society is that current encryption technologies rely on the difficulty of calculations of precisely the type that quantum computers are good for. In the quantum era, it will be effectively impossible to encrypt data in a secure fashion. If you vary your keys fast enough, you might be able to maintain some semblance of security for a specific communications link to another node on the internet, but that would be about it.

That means that all the information on all the centralized data servers running behind every major business or website on the internet is readable.

I realized this years ago. It's one of the reasons I post publicly -- because I know the futility of trying to conceal or limit the access to what I post on the internet.

And it will happen in my lifetime, of that I have no doubt.

I contend that the only way to secure personal data in that future is to have personal servers located at your own home, with maintenance scripted so thoroughly that all the user has to do is pop in a backup cartridge each evening to receive the daily incrementals and weekly full backups of their life.

Instead of you entering in your information to a shared server somewhere, you would grant that shared server's processing systems read-only access to the relevant parts of your information, identified by some sort of unique id code/string (maybe even just a UUID) and the specific IPv6 address of the single host that is being granted that read permission.

Just for safety's sake, every time the application server read your personal information, an access entry would be logged.

It would be forbidden for any application server to retain the data. The sole source of your personal information would be your home node itself.

Sure, some might choose to contract the hosting of that node out to something akin to an ISP or a Google or a MicroSoft, or even an IBM node in a data center/cluster some where, but the key point is that the IPv6 address of each and every individuals information be assigned to one particular node.

I can not imagine any other way of protecting your personal data in the quantum future.

And that's the future I'm building towards.

Your node would assign each application server a corresponding signature, the UUID. The unique id number generator. Basic, simple, effective, and in production for a long time. But hardly anything akin to a password.

Maybe you'd want to look into how the data center at the host is physically architected to protect the token.

Just remember that with the quantum capabilities, passwords will be easily cracked and stolen by anyone with access to a backbone link that can have a good old fashioned network sniffer attached. You're rely relying on the request coming from that particular IPv6 address with the assigned UUID as the unique signature of the authorized request.

Implementing such a system means implementing common data structure standards across all platforms and all systems in due time. You'd choose your hardware/node provider based on your faith in the quality of the system they deliver as a whole.

So you could buy an IBM stack, an Oracle stack, a MicroSoft Windows stack, an Apple stack, or any one of the many Linux and BSD stacks.

Or even smartphone and tablet OS stacks.

Similarly, you'd choose your database service provider from the supported RDBMS vendors, your file system, and so on. Some stack vendors don't let you choose some options, but that's part of what you get when you buy into their stack.

User Journal

Journal Journal: The music industry has made the people half deaf 4

When a snare drum is struck, you should hear the rattle of the wires underneath the bottom drum head, not a tissue paper crackle.

When a triangle is struck, you should hear a bell-like ring soaring above the field of music, not a digitally compressed buzzing sound.

Pat Benatar's high register should soar with authority, not break up into digital noise.

When a cymbal is struck with a stick, it rings with a brassy tone; it does not break up into distortion.

But the past two generations have spent their entire lives listening to 44.1KHz/16bit samples or even more highly compressed MP3s. Their neural pathways have been trained to filter out the digital noise, and now they can't even hear the higher frequencies.

Back when vinyl was king and CDs had just came out, double-blind study after double-blind study proved that analogue was superior, and that the average person could hear the difference.

20-30 years later, the double-blind studies were repeated comparing 192KHz/24bit studio recordings to 44.1KHz/16bit CD quality audio.

Sadly, modern subjects can't hear the difference any more.

They've been robbed of their hearing, and they don't even realize it. Worse, they point to the new study as "proof" that I'm "delusional" and have even come up with some fancy name for the "delusion."

I thought I saw a class-action lawsuit against the *AA and the audio industry in the making for the loss of hearing by the general population, but people are in such denial of the issue that they modded every single one of my posts on the topic down to zero.

How sad. You've all been robbed and you'd rather claim I'm delusional than realize the new study proves you've been robbed.

Canada

Journal Journal: Racknine and calls to numbers on the Canadian NDNC list

My number is on the do-not-call list for Canada.

I received one of the robocalls trying to send me to a non-existent polling station, presumably a call made by Racknine.

As Racknine has been unable to identify a political party as approving and being responsible for those calls, Racknine did not perform due diligence and therefore the call made was illegal under CRTC telemarketing restrictions. Only someone who is a duly authorized representative of a political party can contract a robocalling company to call someone who is on the National Do Not Call List.

I believe the penalty for violating the Do Not Call List without proper authorization or exemption status is on the order of $20,000 per call if I recall correctly.

Being able to provide a "burner" cell phone number and an obviously fake name as the "authorization" for these calls means Racknine engaged in wide spread illegal calling of OTHER people who are also on the national do not call list -- I will NOT be the only one who was called an on the NDNC.

I STRONGLY encourage any other Canadian who received such a robocall to contact the CRTC and register a complaint against Racknine. THEY are responsible for ensuring that their business operates within the guidelines of Canadian law.

https://www.lnnte-dncl.gc.ca/pfac-fcca-eng

User Journal

Journal Journal: Comparing MSS Code Factory 1.8 and 1.9 runtimes

I finally have some hard oranges-to-oranges comparison numbers between MSS Code Factory 1.8 and 1.9.

With the addition of the GEL compiler and runtimes and other performance tuning, 1.9 takes 1m25s to create MSSBam110 as of 2012.02.18.

The 1.8 release takes 3m25s to produce idential code for 1.9.

That's a 68% reduction in the execution time. Not bad. Not bad at all.

MSS Code Factory

User Journal

Journal Journal: Rest in Peace, Whitney Houston

I guess what really strikes me about Whitney Houston's demise is that she was only a year older than me.

I've faced some of the same problems she did in life, including addictions.

It could easily have been ME that died today instead of her, whatever the cause of her death was, and that hits home.

Hard.

RIP Whitney.

Announcements

Journal Journal: It took several iterations, but I think I this isTHE singularityone.ca website!

The Singularity One Systems, Inc. corporate website is now available. Here you'll find information about the services we offer, our billing rates and policies, and information about the company itself.

http://www.singularityone.ca/

The website has gone through three design iterations at least during the past week while I've posted a proposed design, waited for feedback from friends and interested parties, and tried to address their concerns.

I think this might be the website, finally!

User Journal

Journal Journal: Singularity One "To Do List" and "Done List" are now on the website

It's been a busy morning. I've been updating and editing my "To Do" and "Done" lists for my personal website and for the Singularity One Systems, Inc. pages. I had been keeping them as a merged list because I'm the one who has to work on them, but realistically a huge part of my "To Do LIst" is business stuff and shouldn't have been on the personal list in the first place.

Just click on the "To Do List" or "Done List" links on the left to see what's in the pipe right now.

The idea is to let people go to the company website instead of me having to post updates through other sites to let people know what's happening. The way I do it right now is kind of a hassle for everyone, including those who aren't interested in what I'm doing with the business.

Now I don't need to use forums and email lists to do my diligence on informing future customers and shareholders about what the business is doing. I'm sure that will be a relief to everyone who was on the "SingularityOneInterest" email list I keep.

User Journal

Journal Journal: What is a journal? 2

When Slashdot added the journals, one of the features was the ability to submit journal entries for stories.

But other than that, I've never read any guidelines for what goes in your journal. It's up to you what story you want to tell in your journal.

  • You could complain about work.
  • You could post about exciting programming challenges.
  • You could talk about your personal life.
  • You could talk about the challenges of starting a new business.

Really, you could talk about just about anything that isn't actually degrading and insulting to others. (Not to say that there won't be chip-on-the-shoulder types who look for something insulting in what others say, so you will offend people unless you say nothing of interest.)

The key to me is a journal like a business plan: It should be about you. It's your story.

Tell it to the best of your ability, and if you can, give people a laugh along the way. Everyone needs a daily giggle to keep their sanity.

User Journal

Journal Journal: Mark Sobkow, CEO

Mark Sobkow, CEO
Singularity One Systems, Inc.
A registered Saskatchewan corporation.

Has a nice ring to it, doesn't it?

The corporation was registered with Saskatchewan's Information Services Corporation on 2012.01.27, and the articles of incorporation were received back on 2012.02.01.

User Journal

Journal Journal: Bitch, Whine, And Complain: Bill-C10 legislation ratifying ACTA in Canada

Under Canadian copyright law and over 50 years of precedent cases held by the Supreme Court of Canada, I, as a Canadian, have the RIGHT to preview media. I have the RIGHT to format-shift media I have purchased. I OWN my media, not "license" it.

The US system is dramatically and drastically different, despite the use of the common term "copyright" in reference to the related IP legislation. Canada is a Commonwealth country, and most of our law is based on the UK system heritage, not "starting from scratch" as the US did. I expect MOST Canadian interpretations on copyright and patents would apply ANYWHERE in the Commonwealth.

The US does NOT get to dictate that the rest of the world implement their screwed up IP legislation, no matter how much the media lobbyists cry that the "system is broken."

They cried it was broken in the 1970's when people were granted the right to make cassette copies of LPs in Canada.

They cried it was broken in the 1980's when it was confirmed people could make cassettes for use in portable music players.

They cried it was broken in the 1990's when it was AGAIN confirmed that people can make cassettes from CDs.

Never mind the companion arguments in support of VCR's and PVRs for recording and time-shifting TV movies and shows.

And then the recording industry shot itself in the foot, by ratifying the levy charged on blank media, which effectively put into Canadian law the right to make backups.

The DMCA-style legislation tabled as part of C-11 goes contrary to that 50 year history of Canadians being allowed to back up media they own. This clause MUST be struck for the legislation to be valid.

It would also be a good idea to make clear EXACTLY what the media companies have to submit as PROOF that someone is violating copyright legislation. It's important that such clauses are based on the CANADIAN interpretation of copyright, not the US assumption that their interpretation is going to be acceptable to the planet. Just because we use the same legal term "copyright" does NOT mean we're talking about the same draconian restrictions the US media companies have successfully lobbied for in the United States.

I use my torrents to preview media, as I'm allowed to do at any store in Canada when I slip on a pair of headphones to check out a new CD, or toss a DVD into a player to check it out at the store. All I'm doing is saving myself the hassle of going TO a store to do it. So I'm comfortable that ACTA will not apply to my torrent downloads, but I am VERY concerned about the DMCA-like clauses.

Here are some supporting discussions from experts on Canadian IP legislation (Michael Geist) and international aspects of ACTA (Electronic Frontier Foundation):

Michael Geist: Copyright Is Back: Why Canada is Keeping the Flawed Digital Lock Rules
Micheael Geist: Canada Signs ACTA: What Comes Next
Electronic Frontier Foundation: 2011 in Review: Developments in ACTA

Slashdot Top Deals

Suggest you just sit there and wait till life gets easier.

Working...