C# objects that need to be cleaned up after you are done with them (ie objects that reference resources that are not garbage collected like file handles or db connections) implement an interface called IDispose. IDispose has a single method named Dispose, which should be invoked when you are done with the object. There are also destructors, but I'm not terribly familiar with them. They have some of the same problems as the java ones
Actually, C# has one feature which I consider to be a godsend for dealing with resource deallocation.
In java you write
resource blah = new resource();
try
{
// use some resources
blah.Use();
}
finally
{
blah.Dispose();
}
while in c# you can write
using (resource blah = new resource())
{
blah.SomethingElse();
}
I like this for the same reason I like for loops- everything's right there at the top, blah is scoped to only inside the curlies, etc... Granted it's just some syntactic sugar, but it's really good syntactic sugar.
Of which they lose money on every box they sell and make it back by getting a cut of any software sold for the device. When you sell a piece of hardware you don't have it anymore- when you sell a piece of software you can sell it again and again and again. Until you can make a physical copy of a device as cheaply as duping a cd or two software will always be much more profitable than hardware simply due to economies of scale.
On the mai logic web site they specifically state that this mobo is intended to run Linux.
Re:They actually did something, unlike most compan
on
AvantGo Gets a Patent
·
· Score: 2, Interesting
Actually I don't think it's that complicated, but it is clever. What they've done is turn the orgy of do you have the latest version of this, no, here it is, ask for the next one into this:
It looks like the client sends a doc to the server that looks like
<sync>
<item id='identifier>fancy_hash</item>*
</sync>
The clever part is the fact that only have 1 round trip to sync your device, important for high latency environments (read internet), and the synchronization request is simple enough to generate on an anemic palm
Do you feel the same way about Microsoft? Most cable providers in the US enjoy a monopoly. Comcast may be the only option for broadband access for a large number of people who aren't close enough to their exchange to get dsl. One could argue that broadband is a "perk", and doesn't deserve protection but I don't agree.
As a side note, hooking up a cable/dsl router doesn't really qualify as l33tness in my book.
How about when one of your competitors sues you in a tactical lawsuit designed to uncover your intellectual property? There's probably just enough basis for the lawsuit so that a judge will order a discovery order (Look their making a suspiciously similar product- we just want to make sure that their not stealing our IP, wink wink). Sure they'll get the end result anyway even if you've implemented a document retention policy, but they won't get the research that failed and you've since gotten rid of... which is probably what they're after in the first place, since you've probably patented or specified as a trade secret the results.
100mbps ethernet consumes 75% of a 32 bit/33 mhz pci bus. Jumping up to 64bit/66 mhz it's still consuming nearly 20% of available bandwidth. The current generation of PCI busses (even "high end" ones) cannot pump out enough information to saturate a gigabit line.
That's not a good one time pad. There will be strong correlations between one byte and the next due to how x86 machine language is written. You won't be able to crack it, I won't be able to crack it, but you can bet any top-flight cryptologist could. The NSA probably wouldn't even notice that it was encrypted. One time pads only work if they are completely random, and are never used again.
Yes but other search engines were pretty bad back in the day, and really haven't gotten any better. I occasionally throw caution to the wind and press the "I'm feeling lucky" button. I wouldn't dream of doing this with another search engine even if they presented me with the option. For instance, searching on MSN for poland spring (I have a bottle sitting in front of me) the top two results are Poland Spring campgrounds and Elan Schools. Google ranks the water company number one- makes more sense to me than a college prep school in maine or a campground.
Yes, and I wouldn't be surprised if someone did HFS+ write now that the iPod is out. However up until this point there was no compelling reason for someone to hack in support for it. Chances are almost anyone with the ability to write the code wouldn't be caught dead with a mac...
I haven't noticed that it's particularly loud during normal operation- it's certainly quieter than the dual piii tower that i have sitting next to it. CD-ROM access is certainly very noisy on mine however.
1) Internet firewall protects you from unicast attacks, but not multicast.
2) UPnP service is not the one with the vulnerability. It's the SSDP Discovery Service. It's also a manual startup, but it's started after boot on my box and every other xp box I've ever looked at (OK that's only about 5).
Face recognition usually activates the right middle fusiform gyrus in the human brain. Recognition of non-face items activate other, separate parts. This has been confirmed using functional magnetic resonance imaging, so is not psycho bullshit. Damage to this area of the brain could cause you to be unable to distinguish between your Aunt May and Mick Jagger's face.
The convenience is really an afterthought. You should false floor a server room in case there's a flood. It's not going to survive a really bad one, but if a pipe bursts and you end up with 2 or 3 inches of water on the floor before you can turn it off... Of course in a commercial environment it's there to handle sprinkler runoff.
From the article it sounds like the the German company is not going to make any money off of the US version. It would also seem likely that the US company will not make money off of the German version, although there probably is some sort of licensing fee. IAMNATPC, (I am not a transfer pricing consultant) but the licensing fee probably generates less income than a direct sale. Ergo the US company would probably be very happy to have a bunch of translators working for free to increase their revenue.
Microsoft Exchange can actually do this. When accessing it through WEBDAV, you can create what ms refers to as search folders, which are basically cached, dynamically updated searches. Issue a propfind with a depth of 1 against these folders and you'll get the result of a search. Unfortunately exchange breaks down when you get up to about 250 of them.
Re:How fast compared to ATA-100?
on
Firewire and Linux?
·
· Score: 2, Informative
Except for the fact that pretty much every firewire drive out there is really just an ide drive that has a bridge to the firewire bus. Also, while the firewire spec has the potential to go to 400, none of the drives that you're going to find for $200 can put data at that kind of rate out. Take a look at this benchmark, which shows that ata/66 is about 1.5X faster than a firewire drive.
Firewire doesn't really stack up to ide all that well in speed yet, but it certainly does beat the snot out of usb 1.x. USB 2.0 devices are starting to come out though...
Notice that they don't say exclusive license. You should be able to release it as GPL yourself.
C# objects that need to be cleaned up after you are done with them (ie objects that reference resources that are not garbage collected like file handles or db connections) implement an interface called IDispose. IDispose has a single method named Dispose, which should be invoked when you are done with the object. There are also destructors, but I'm not terribly familiar with them. They have some of the same problems as the java ones
Actually, C# has one feature which I consider to be a godsend for dealing with resource deallocation.
// use some resources
In java you write
resource blah = new resource();
try
{
blah.Use();
}
finally
{
blah.Dispose();
}
while in c# you can write
using (resource blah = new resource())
{
blah.SomethingElse();
}
I like this for the same reason I like for loops- everything's right there at the top, blah is scoped to only inside the curlies, etc... Granted it's just some syntactic sugar, but it's really good syntactic sugar.
I ordered DSL from Verizon November 18, 2000. My service was ready and working last week.
Of which they lose money on every box they sell and make it back by getting a cut of any software sold for the device. When you sell a piece of hardware you don't have it anymore- when you sell a piece of software you can sell it again and again and again. Until you can make a physical copy of a device as cheaply as duping a cd or two software will always be much more profitable than hardware simply due to economies of scale.
On the mai logic web site they specifically state that this mobo is intended to run Linux.
Actually I don't think it's that complicated, but it is clever. What they've done is turn the orgy of do you have the latest version of this, no, here it is, ask for the next one into this:
It looks like the client sends a doc to the server that looks like
<sync>
<item id='identifier>fancy_hash</item>*
</sync>
and gets back
<update>
<new_item id='identifier> content </new_item>
</update>
The clever part is the fact that only have 1 round trip to sync your device, important for high latency environments (read internet), and the synchronization request is simple enough to generate on an anemic palm
Do you feel the same way about Microsoft? Most cable providers in the US enjoy a monopoly. Comcast may be the only option for broadband access for a large number of people who aren't close enough to their exchange to get dsl. One could argue that broadband is a "perk", and doesn't deserve protection but I don't agree.
As a side note, hooking up a cable/dsl router doesn't really qualify as l33tness in my book.
How about when one of your competitors sues you in a tactical lawsuit designed to uncover your intellectual property? There's probably just enough basis for the lawsuit so that a judge will order a discovery order (Look their making a suspiciously similar product- we just want to make sure that their not stealing our IP, wink wink). Sure they'll get the end result anyway even if you've implemented a document retention policy, but they won't get the research that failed and you've since gotten rid of... which is probably what they're after in the first place, since you've probably patented or specified as a trade secret the results.
100mbps ethernet consumes 75% of a 32 bit/33 mhz pci bus. Jumping up to 64bit/66 mhz it's still consuming nearly 20% of available bandwidth. The current generation of PCI busses (even "high end" ones) cannot pump out enough information to saturate a gigabit line.
That's not a good one time pad. There will be strong correlations between one byte and the next due to how x86 machine language is written. You won't be able to crack it, I won't be able to crack it, but you can bet any top-flight cryptologist could. The NSA probably wouldn't even notice that it was encrypted. One time pads only work if they are completely random, and are never used again.
I o/c'ed the 65816 in my Apple IIgs to 20mhz way way back in the day. (It started at 2.7)
Yes but other search engines were pretty bad back in the day, and really haven't gotten any better. I occasionally throw caution to the wind and press the "I'm feeling lucky" button. I wouldn't dream of doing this with another search engine even if they presented me with the option. For instance, searching on MSN for poland spring (I have a bottle sitting in front of me) the top two results are Poland Spring campgrounds and Elan Schools. Google ranks the water company number one- makes more sense to me than a college prep school in maine or a campground.
Yes, and I wouldn't be surprised if someone did HFS+ write now that the iPod is out. However up until this point there was no compelling reason for someone to hack in support for it. Chances are almost anyone with the ability to write the code wouldn't be caught dead with a mac...
I haven't noticed that it's particularly loud during normal operation- it's certainly quieter than the dual piii tower that i have sitting next to it. CD-ROM access is certainly very noisy on mine however.
1) You can get a cheaper NIC from a third party
2) How many nic's do you need on a workstation? Every sun ships with at least one built in.
I picked up a blade 100 with an extra 512 from crucial, and it runs beautifully, for under a $1100.
1) Internet firewall protects you from unicast attacks, but not multicast.
2) UPnP service is not the one with the vulnerability. It's the SSDP Discovery Service. It's also a manual startup, but it's started after boot on my box and every other xp box I've ever looked at (OK that's only about 5).
Face recognition usually activates the right middle fusiform gyrus in the human brain. Recognition of non-face items activate other, separate parts. This has been confirmed using functional magnetic resonance imaging, so is not psycho bullshit. Damage to this area of the brain could cause you to be unable to distinguish between your Aunt May and Mick Jagger's face.
different parts of the brain for face recognition and other forms of visual recognition
The convenience is really an afterthought. You should false floor a server room in case there's a flood. It's not going to survive a really bad one, but if a pipe bursts and you end up with 2 or 3 inches of water on the floor before you can turn it off... Of course in a commercial environment it's there to handle sprinkler runoff.
Note: all examples taken from http://okmij.org/ftp/Scheme/xml.html
Here's an xml file:
<Forecasts TStamp='958082142'>
<TAF TStamp='958066200' LatLon='36.583, -121.850'
BId='724915' SName='KMRY, MONTEREY PENINSULA'>
<VALID TRange='958068000, 958154400'>111730Z 111818</VALID>
<PERIOD TRange='958068000, 958078800'>
<PREVAILING>31010KT P6SM FEW030</PREVAILING></PERIOD>
<PERIOD TRange='958078800, 958104000' Title='FM2100'>
<PREVAILING>29016KT P6SM FEW040</PREVAILING></PERIOD>
<PERIOD TRange='958104000, 958154400' Title='FM0400'>
<PREVAILING>29010KT P6SM SCT200</PREVAILING>
<VAR Title='BECMG 0708' TRange='958114800, 958118400'>
VRB05KT</VAR>
</PERIOD></TAF>
</Forecasts>
and here's the equivalent in sxml
(Forecasts (@ (TStamp "958082142"))
(TAF (@ (SName "KMRY, MONTEREY PENINSULA")(BId "724915")
(LatLon "36.583, -121.850")(TStamp "958066200"))
(VALID (@ (TRange "958068000, 958154400"))
"111730Z 111818")
(PERIOD (@ (TRange "958068000, 958078800"))
(PREVAILING "31010KT P6SM FEW030"))
(PERIOD (@ (Title "FM2100")
(TRange "958078800, 958104000"))
(PREVAILING "29016KT P6SM FEW040"))
(PERIOD (@ (Title "FM0400")
(TRange "958104000, 958154400"))
(PREVAILING "29010KT P6SM SCT200")
(VAR (@ (TRange "958114800, 958118400")
(Title "BECMG 0708"))
"VRB05KT"))))
Namespaces are dealt with as in
(c:part (*NAMESPACES* (c "http://www.cars.com/xml")))
Do you have any alternatives?
From the article it sounds like the the German company is not going to make any money off of the US version. It would also seem likely that the US company will not make money off of the German version, although there probably is some sort of licensing fee. IAMNATPC, (I am not a transfer pricing consultant) but the licensing fee probably generates less income than a direct sale. Ergo the US company would probably be very happy to have a bunch of translators working for free to increase their revenue.
Microsoft Exchange can actually do this. When accessing it through WEBDAV, you can create what ms refers to as search folders, which are basically cached, dynamically updated searches. Issue a propfind with a depth of 1 against these folders and you'll get the result of a search. Unfortunately exchange breaks down when you get up to about 250 of them.
Firewire doesn't really stack up to ide all that well in speed yet, but it certainly does beat the snot out of usb 1.x. USB 2.0 devices are starting to come out though...