text
stringlengths
1
330k
LedgerSMB 1.3.0 was released today after several years of development (perhaps nearly joining the ranks of Perl 6 and Duke Nukem Forever). The release offers a number of compelling features, such as separation of duties, far improved payment handling, better cash reconciliation and the like. But what makes LedgerSMB 1....
Simply put, the cool approach we are taking is in making stored procedures discoverable, much like web services. This is done by assigning semantic meaning to argument names, and then using a mapping function to pull argument names from the system catalogs, mapping these to object properties. This offers many of the be...
One key element to making this work is the principle that the database in such an environment should be the centerpiece of the computing environment rather than the bottom tier of a multi-tier architecture. Thus every application user is a database user, the database itself enforces permissions, and can act not only as...
Of course the database doesn't do everything. We don't hand it raw http query strings, or have it output HTML documents assembled from data inside the database. This is the job of the application layer, which is to manage the interaction with the human component. Separating this role off, then allows for more diversity...
In this regard, PostgreSQL takes on traditional middleware roles in LedgerSMB from 1.3 onward. This isn't to say it is an application server in the classical sense, but rather that it takes on many roles of application servers. We've found this approach to be quite scalable because hand-tuned SQL generally performs bet...
Work has already begun on 1.4 to take this approach to an even higher level, as we re-engineer the financial logic to make use of this approach.
User Journal
Journal: A letter
Journal by lyoz
Remember the bridge in Newport? I think we both agreed it's like a highway to heaven, a gate to paradise. It's so worthwhile, the waiting for your realisation, the awakening of you, I know it and know it so much now. On halfway, there were tears flooding my pillow, music played a thousand times. Then I knew Loving also...
Now, I know you are there, waiting for me, going home. I let the virus invade my body. In the feverish sleep, I fell into a million parts, each of them grew into a full moon, hanging above, yearning for your love, and loving you.
Allow me to crash
to be sick
to be weak
I was reborn / will be reborn every day, if your love stretches out, from far to near.
Love me as much as you can
more than you can
User Journal
Journal: Star Trek meets Candyland 5
Journal by grub
The other day my family was playing Candyland. Our daughter was getting into it so I started playing some classic Star Trek fight music.
The music ends just as she advances to GLORIOUS VICTORY!
YouTube video here
It's awesome, not that I'm biased... :)
Journal: Slashdot link weirdness solved: rogue link tracker 5
Journal by nacturation
In the last week or two links to external sites on Slashdot generally don't seem to work unless I click several times. This only appears to happen on Firefox... Chrome is unaffected. I haven't tried IE, Safari, or any other browser. Finally fed up with it, I decided to look through the javascript to see if there was an...
• else if(a[i].className.match(/clicky_log_outbound/i)){clicky.add_event(a[i],"mousedown",clicky.outbound);}else{clicky.add_event(a[i],"mousedown",clicky.click);
So if you find you've oddly had to click a few times to RTFA, it's not your mouse button dying. Open up adblock and disable everything from leads.demandbase.com and it will be fixed. Links clicked once in Firefox will properly load as they used to. Thanks Slashdot for using an external company for tracking my click beh...
I also found this wonderful gem:
• function pageload_done( $, console, maybe ){
        pageload.after_readycode = (new Date).getTime();
        pageload.content_ready_time = pageload.content_ready - pageload.before_content;
        pageload.script_ready_time = pageload.after_readycode - pageload.content_ready;
        pageload.ready_time = pageload.after_readycode - pageload.before_content; // Only report 1% of cases.
        maybe || (Math.random()>0.01) || $.ajax({ data: {
                op: 'page_profile',
                pagemark: pageload.pagemark,
                dom: pageload.content_ready_time,
                js: pageload.script_ready_time
        } });
Unless my javascript is really rusty, won't this report 99% of cases?
Anyway, pass this information on so everyone can RTFA without the hassle.
User Journal
Journal: Why The Encryption Back Door Proposals are Bad (Technically) 2
Journal by einhverfr
Permission is hereby granted to distribute modified or unmodified copies of this content far and wide. I, the author, do request though do not require that the link to the New York Times story is preserved in any redistribution, however.
(Copyright (c) 2010, Chris Travers)
The New York Times has reported today that the Obama Administration is seeking legislation to require backdoors into encryption software that could be used for wiretapping. I believe this is deeply problematic for both technical and social reasons, but the technical reasons are probably the worst. Because this area is ...
  Types of Encryption
The simplest form of encryption is what's called symmetric encryption. It comes in various forms, some simpler than others, but the basic process is conceptually simple. Two parties share a secret. One party takes the message and encodes that message with the shared secret, and the other party decodes it using that sam...
A trivial example might include what we think of as ROT-13 (used for obfuscation) where every letter is rotated 13 places forward. So "this is a sample message" becomes "guvf vf n fnzcyr zrffntr." Of course such a cypher is easily broken, but there are very good quality symmetric cyphers available, such as AES.
The real problem with symmetric cyphers is that they require that both sides knows the same key before encrypted communication begins. If you are communicating with a lot of third parties, you would find you'd either have to publish the key (making sure everyone else could decrypt the same messages!) or find some way o...
To solve this problem, public key encryption was designed. Public key encryption uses two keys, called a public key and a private key. Knowledge of the public key is not sufficient to derive the private key through any sort of feasible process, and these keys are usually very long (AES may be 256 or even 512 bits long,...
The public key is then published and the private key is retained. A user can then look up a public key, encrypt a message with it, and only the holder of the private key can decrypt it. Similarly a private key holder can sign a cryptographic hash of a message and anyone with the public key can validate this "digital si...
Public key encryption depends on the idea that ONLY the appropriate party has the private key. When you make a secure purchase on, say, Amazon.com, Amazon sends you their public key, and you and them use this to negotiate a symmetric cypher (probably using AES or RC4). In this way you know the key was properly exchange...
SSL, PGP, IPSec Opportunistic Encryption, and related technologies all use asymmetric encryption, but the differences tend to be in how keys are published and who is vouching for them. SSL is designed so that you know who you are talking to because a third party (like Verisign) is vouching for the identity of the serve...
Problems with Backdoors in Public Key Encryption
To effectively wiretap public-key-based communications, you have to have access to the private key, or you have to tap them post-decryption. Tapping post-decryption works fine in some contexts, such as what you are purchasing at Amazon.com. However, it does not properly work when trying to capture the content of encryp...
There isn't a real way to retrofit peer to peer communications programs to allow this sort of interception without compromising the core of how encryption works. A company may maintain their own certificate authority and use it to publish keys for internal company communications. A person taking a company laptop home m...
Consequently, this doesn't actually affect the sorts of technologies an organized crime ring is likely to use. Instead it makes each of us more vulnerable to government spying, and it makes key data, such as credit card data, far more accessible to criminals.
Such a law would thus benefit organized crime at the expense of the average consumer. It's an unbelievably bad idea no matter how you look at it.
User Journal
Journal: "I could care less"
Journal by nacturation
It's amazing how people try to rationalize away the phrase "I could care less", much in the same way that Star Wars apologists try to rationalize the use of parsecs when talking about the Kessel Run. Maybe there are black holes to navigate around, and minimizing the distance is the sign of a good pilot, or maybe this, ...
So when it comes to people rationalizing away "I could care less" as being some nonchalant way of saying "yeah, I could but I'm not going to bother" I just don't buy it. It's a misquote of the perfectly unambiguous phrase "I couldn't care less". So when I stumbled across a rationalization of that, my mind wandered upon...
Journal: Critics of Tea Party Movement Miss the Big Picture 8
Journal by Shakrai
Many commentators seem to believe that the Tea Party represents a net minus for the GOP because of the split between them and the existing establishment. This criticism seems oddly familiar to me. Many people predicted that the drawn out fight between Hillary and Obama would be the death of the Democrats in 2008. As it...
It seems likely to me that the Tea Party will have the same impact on the GOP. They may well prove to be a net minus in selected races (Delaware) but the enthusiasm they've generated and the new people they've brought into the political process will more than balance that out come November.
Calling all CMS Experts, Back-End Gurus and Front-End Ninjas.
Job Description
We're a global company, with hubs several countries including USA, UK, China, Asutralia, etc. Working with high-profile clients and using cutting edge technology we need the best developers to create award winning websites.
We are interested in forming long term partnership, both front-end and back-end are needed. If you have CMS experience it's a plus. We're in need mostly of ASP.NET developers that can build efficient back ends, that can be used by a variety of clients. Knowledge of JSON, XML, REST and SOAP is a must. And front-enders t...
In a smaller scale we're also looking for Node.js and php developers.
We offer competitive rates, and if you prove yourself useful, paid trips and visa sponsorship to any of the hubs if you're interested in working locally. We're looking for high quality developers, that can estimate times accurately, keep in touch while working and deliver what was agreed.
We're looking for people to start working as soon as possible, that can offer at least 20 hours a week. Please in your application state if you are a front ender or a back ender, and describe if you have cms experience. You will not be considered if you do include those two pieces of information.
Looking forward to hearing from you all
[erlang-questions] How to write a TCP server in Erlang?
Ulf Wiger (TN/EAB) <>
Fri Jun 15 09:40:57 CEST 2007
Per Hedeland wrote:
> Firing off a bunch of messages without intervening
> sleep and then closing the socket should work fine
> per se - this is TCP semantics, and gen_tcp/inet_drv
> should preserve it. Doesn't matter if the receiver
> is "busy", the messages won't get lost
> unless the *receiver* closes his socket before picking them
> up, which might be what is happening here:
While that sounds perfectly reasonable, and I'd be
a fool to question your authority on the subject,
I did test removing the close in the server, and
having it loop instead, and made the client send
10 messages and then immediately close the socket.
The server received one message and then got
{error, closed}. This didn't happen if I inserted
a timeout between the sends.
Changing the server from {active,false} to {active,true}
and doing a message trace on it, I can clearly see the