Just testing whether posting still works. Kerneltrap was offline for a couple of years there, and I see that no one has posted anything for quite some time.
Recently discovered, that it is possible to monitor "Smart Array" controllers under solaris 10 OS. You need to install HPQacucli solaris package, which can be downloaded from hp.com site, read carefully "RELEASE NOTES" about support of your server hardware and controllers, also make sure that you have a recent version of CPQary3 driver installed (2.1.0 or later). Here's an example output:
Now i'm doing some kind of translator (to C), that can turn second to its functional equivalent -- first:
void handle_mcucsr(void) __attribute__((section(".init3"))) __attribute__((naked));
mcucsr = MCUCSR;
MCUCSR = 0;
handle_mcucsr: sect[ion] .init3, naked! mcucsr = MCUCSR MCUCSR = 0
Over on the Haskell Cafe mailing list, the topic of which of the following two definitions was better came up:
buildPartitions xs ns = zipWith take ns . init $ scanl (flip drop) xs ns
takeList :: [Int] -> [a] -> [[a]] takeList  _ =  takeList _  =  takeList (n : ns) xs = head : takeList ns tail where (head, tail) = splitAt n xs
...with various parties declaring the first example as "too smart", and others claiming that the second example is newbie level code. Well I'm much too lazy to try to reason out what those snippets might do at a glance. But the type signature was a pretty big hint as to what the intent was. So I fired up
The concept of career planning is no simple one to say the very least. Although you've probably heard it before, I will reiterate the notion that selecting the right career field can be irksome and stressful. Everyone on this planet wants to choose a job that they're going to enjoy, or at least partially enjoy. This is why career planning is so essential.
The Spanning Tree Protocol is an OSI layer-2 protocol that ensures a loop-free topology for any bridged LAN. Spanning tree allows a network design to include spare (redundant) links to provide automatic backup paths if an active link fails, without the danger of bridge loops, or the need for manual enabling/disabling of these backup links.
Cisco Systems is developing a cable modem that will use Broadcom’s recently announced DOCSIS 3.0 silicon to bond together eight downstream channels – letting cable providers, theoretically, pump Internet content down to subscribers at more than 300 Mbps.
Surfing the web, I have found a nice talk on Cisco IOS Forensics and Exploits, explained during the 25C3: “Cisco IOS Attack & Defense - The State of the Art“.
What is 25C3?
Finding Foreign Key Constraints in Oracle by JP Vijaykumar
SELECT owner, constraint_name, constraint_type, table_name, r_owner,
WHERE constraint_type = 'R'
AND r_constraint_name IN (
data E a b = L (E a b) | R b deriving (Show) fold f acc  = R acc fold f acc (x:xs) = let x' = f acc x in x' `seq` (L $ fold f x' xs) lift2 f = \x y -> par_eval x y where par_eval (L x) (L y) = par_eval x y par_eval x@(R _) (L y) = par_eval x y par_eval (L x) y@(R _) = par_eval x y par_eval (R x) (R y) = R $ f x y lift1 f (L x) = lift1 f x lift1 f (R x) = R (f x) sum' xs = fold (+) 0 xs len' xs = fold (\x y->succ x) 0 xs avg xs = (sum' xs) / (len' xs) main = print $ avg [1..1e7] instance Eq b => Eq (E a b) where a == b = case (lift2 (==) a b) of (R x) -> x instance Num b => Num (E a b) where (+) = lift2 (+) (*) = lift2 (*) fromInteger = R . fromInteger abs = lift1 abs signum = lift1 signum instance Fractional b => Fractional (E a b) where (/) = lift2 (/) fromRational = R . fromRational
More stuff from MSP430 experience; now microprocessor itself.
Conclusion: imagination and creativity, guys, like PR dudes do.
But from educational POV it is a sad thing.
Newsgroups: gmane.comp.hardware.texas-instruments.msp430.gcc.user Subject: A bit more about software (Re: How do you get an ez430 going under Linux?) Date: 2007-10-01 04:16:09 GMT (29 weeks, 1 day and 9 minutes ago)
User-Agent: jed (x86_64-pc-linux-glibc-debian) Value of syntax highlighting for programming in text editors is hard to overestimate. I recall one my buddy, a keen school olympic competitor on programming, who said, that move from Borland Pascal 5 to 6 and 7 was a great thing because of highlighting. Many syntax and logic errors just popped up right before one's eyes.
It's about my view of another incarnation of text/graphic terminals in modern, not so efficient, noisy, but power-saving reality. One, three or more useless x86 cores? Why? Toasters from xbill are finally here?
It's better to have one processor in display and a bit of imagination.