Soekris Engineering produces 486-based routing hardware that will run your choice of Open Source OS. They aren't quite as cheap as a Linksys or Netgear router, but they are hackable and upgradable, since the network interfaces are PCMCIA or Mini-PCI cards and they have Compact Flash interfaces for storage.
Note: I make no claims as to the cross-browser compatibility of the following code. I tested it in Safari.
Let's say you have a two column layout, and the left-hand column contains different (and variable) paragraphs of text and the right hand column contains images, but you want the images to line up with the start of certain paragraphs. It's a fairly common thing to want to do.
Well, I'm not sure if this is exactly what you had in mind, but it should be pretty close:
<p class="figure"> <img src="images/foo.jpg" width="180" height="180"/> </p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent lobortis, massa a lobortis adipiscing, ligula arcu mattis sapien, vel rutrum tortor quam tempus nisl. Suspendisse erat nulla, molestie ac, cursus at, tempor sed, dolor. Proin tristique, wisi vitae adipiscing vulputate, felis turpis lobortis ligula, non vehicula nunc mauris sed lectus. Nunc a massa ac tellus ultricies bibendum. Phasellus lacinia pellentesque est. </p> <div class="clear"></div>
<p class="figure"> <img src="images/foo.jpg" width="180" height="180"/> </p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent lobortis, massa a lobortis adipiscing, ligula arcu mattis sapien, vel rutrum tortor quam tempus nisl. Suspendisse erat nulla, molestie ac, cursus at, tempor sed, dolor. Proin tristique, wisi vitae adipiscing vulputate, felis turpis lobortis ligula, non vehicula nunc mauris sed lectus. Nunc a massa ac tellus ultricies bibendum. Phasellus lacinia pellentesque est. </p> <div class="clear"></div>
<p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent lobortis, massa a lobortis adipiscing, ligula arcu mattis sapien, vel rutrum tortor quam tempus nisl. Suspendisse erat nulla, molestie ac, cursus at, tempor sed, dolor. Proin tristique, wisi vitae adipiscing vulputate, felis turpis lobortis ligula, non vehicula nunc mauris sed lectus. Nunc a massa ac tellus ultricies bibendum. Phasellus lacinia pellentesque est. </p> <div class="clear"></div>
<p class="figure"> <img src="images/foo.jpg" width="180" height="180"/> </p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent lobortis, massa a lobortis adipiscing, ligula arcu mattis sapien, vel rutrum tortor quam tempus nisl. Suspendisse erat nulla, molestie ac, cursus at, tempor sed, dolor. Proin tristique, wisi vitae adipiscing vulputate, felis turpis lobortis ligula, non vehicula nunc mauris sed lectus. Nunc a massa ac tellus ultricies bibendum. Phasellus lacinia pellentesque est. </p> <div class="clear"></div>
* * *
Or say, you've got to columns of varying length, and you want to draw a line across the page below the longest column, whichever that is.
<div class="column"> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent lobortis, massa a lobortis adipiscing, ligula arcu mattis sapien, vel rutrum tortor quam tempus nisl. Suspendisse erat nulla, molestie ac, cursus at, tempor sed, dolor. Proin tristique, wisi vitae adipiscing vulputate, felis turpis lobortis ligula, non vehicula nunc mauris sed lectus. Nunc a massa ac tellus ultricies bibendum. Phasellus lac
On a slightly related note, a Russian photographer named Sergei Mikhailovich Prokudin-Gorskii pioneered this technique of obtaining color images using colored filters and monochromatic film in the early 1900's. He actually built his own camera with three vertically-oriented lenses, each with a red, green or blue filter. The camera took the three pictures at the same time, but some interesting distortions come through because of the slight differences in paralax.
The text you pasted is from the description of the "Combined" 10.2.6 update, which includes all minor version updates and security patches since 10.2.0.
We may not want them to, but data requirements sometimes change, and views make it really easy not to break everything in your code when making changes to an existing schema. Sure this is still a "convenience," but a significant one at that.
Also, O'Reilly's Building Cocoa Applications is excellent for the beginner, although I wish they would publish AppKit & Foundation in a Nutshell for a good off-line reference.
Definitely, learn Cocoa and Objective C if you can, just for the experience of realizing how much better it is that most of your other choices. With InterfaceBuilder, you can completely abstract your UI from the core of your code.
Since you say you want to use the BSD layer, I suggest making a command-line version of this core code first (you can do this in C or C++), since this will be immediately more portable to other Unices. Once that is done, tying that code in with the UI you build in InterfaceBuilder is simple.
Also, there are some pretty interesting native IPC libraries in Mach. If you don't mind your code being tied to Mach, you should check that out as well.
Oh, did I mention that Apple's developer tools and documentation are free for download?
``Voting Onlin'' doesn't (necessarily) mean voting from your home DSL on your PC. The purpose of online, electronic voting is to have control over how votes are counted, and how long it takes. This does not preclude a public poll, administered by real people, where the voters are ensured their privacy. However, it does mean that there has to be some sort of digital ``accountability'' for each voter.
I tried writing a utility to keep an icon to show when I have mail. The SystemUIFramework that is used for DockExtras and MenuExtras is in fact private, which means that there is no usable header file against which to link an application. However, some intelligent hacker has created a SystemUIPlugin.h that works, but there is basically no documentation other than that file.
There is a public header in the AppKit framework (NSStatusItem.h) that will allow you to create an icon that is displayed in the menu bar while the application is running, but this isn't how Apple's icons (like battery, volume, etc.) work: they directly use the SystemUIFramework.
I have worked for DialAmerica Marketing in the recent past. The call center that I worked at was based almost entirely on inbound calls, and the outbound programs were mostly calling people who had called in and signed up for some offer. We handled everything from credit card applications, to catalogue sales and cable TV service.
I can attest that at my call center, the FTC's rules, in addition to more in-house rules, were strictly enforced. Hanging up on a customer, using profanity, or deviating from the script would all be terminable offenses.
I really doubt that DialAmerica will be going out of business any time soon. There will always be a market for outsourcing incoming calls.
The point of a 64-bit address scheme is not really to be able to have 2^64 bytes of physical RAM. After all, you don't have 4GB of RAM in your 32-bit PC do you? The advantage to a long address is a large virtual address space. And just because you have the ability to address 2^64 bytes of virtual memory, doesn't mean that you will need it all at once. Think about having a globally unique address for every memory object in the system (which possibly is distributed over many physical nodes). Even 64-bit addressing isn't enough if you want to talk about globally unique addresses. Manipulating actual data isn't really a problem in this situation, because generally only a very small portion of the address space is used at once.
Here's an idea: how about giving "credit" to users who post high-rated comments. Several posters have already noted that these posters are Slashdot's golden egg. Without readers who care enough to make Interesting, Insightful or Funny comments,/. would have no value over any other tech website. So give something back to the community that supports you and allow a certain number of ad-free pages for your best readers.
You may not find that millions of web servers are running on OpenBSD, but if there were some way to keep track of how many of them are protected by firewalls/routers running OpenBSD, the numbers would probably be more impressive. I, for one, find that the "secure by default" policy is incredibly convenient for a drop-in firewall solution (and I've done this a few times for various companies).
For anyone interested in developing for Apple's platform, the Apple Developer Connection is an indespensable resource. I haven't read the O'Reilly book on Cocoa, but I suspect that, since it was written by Apple, most of the information there can be found, for free, on Apple's site. Apple has provided well-documented APIs, sample code and several tutorials for both Objective-C and Java (despite what the reviewer said, check here).
Also, for those who want to develop for Mac OS X, once you have it installed, and the developer kit from Apple (after all, you won't be able to develop without it), you will find that most of the tutorials, API documentation, etc. are on your hard drive. This includes extensive documentation on the changes that Apple made to the BSD development tools (gcc, gdb, ld,...).
In short, my point is that if you are already familiar with programming in C, C++ or Java, you don't need a book to learn Cocoa. The information is all provided for free by Apple.
In the New York Times today, there was a short article about how Steve Jobs of Apple is publicly opposed to a proposal by Microsoft to the DOJ. In short, MS wants the DOJ to drop anti-trust precedings in exchange for MS's donation of $1 billion worth of "software, hardware and expertise" to some low-budget schools. Basically, Jobs alleges that this is an attempt by MS to gain further market share in the education market, where currently, Apple is a key player.
This article about a presentation by Apple Italy shows that the iPod plays the classic "Breakout" game after holding a button for a few seconds (see the second page). Can it only be a matter of time before a plethora of simple apps run on this thing?
I'd like to hear from any of the developers working on OSX. How easy is it to build current FreeBSD software on X?
I haven't tried building very many additional packages, since most every useful GNU package was already installed. ssh required a small paatch to compile on previous Developer Releases, but is now included with the installation. Most things should compile with no problem, unless they depend on X libraries or something of that sort. I'd also like to point out that the developer tools available from Apple are top notch. ProjectBuilder+Cocoa+Java is probably the cleanest development environment I have ever used.
Are there any standard package managers included by default?
Apple has included their own package manager with OS X, but I almost never use it. tar and gzip are there, so that serves most of my needs. Stuffit Expander, the dominant traditional Mac OS compression utility is also included.
Does it come with all of the build tools needed so you can normally just do the "./configure; make" mambo?
Yes, make, cc, gdb and a host of others are all there, and they work just like they do on other platforms. Native developer tools are a much better interface to these, however. (See above)
Do you have to spend a lot of extra time tweaking your environment and downloading other libraries?
OS X doesn't give you a whole lot of options for tweaking the environment at this time. There are whispers that theme support is built in, and perhaps someone will figure out how to exploit it after the release. A plethora of custom icons are available at sites such as Xicons, and of course the desktop image can be changed. Another rumour is that the toolbar in the Finder will be able to be customized by the user. You don't have to spend any time customizing your environment, save adding a user account for yourself. Apple has produced a quality user environment here. As for libraries, on OS X they are called "Frameworks" and a rich set of standard ones come with the installation. Developers are free to create their own custom Frameworks and ship them with their application. I have downloaded a couple of developer Frameworks from the OmniGroup, but they are not needed for a normal user.
What are the biggest differences that you notice from the shell prompt between a typical FreeBSD installation and OSX?
The default shell on OS X is tcsh. I don't know about FreeBSD, but I know that OpenBSD also uses tcsh as the default. The main annoyance is the strange directory structure. Much of the standard structure is preserved, however, it is just hidden from the user. For example, in the Finder, I see this as my root directory:
Applications/
Developer/
Library/
System/
Users/
And when in the shell, this is what I get:
Applications/
Desktop DB
Desktop DF
Desktop Folder/
Developer/
Icon?
Library/
Network/
System/
TheFindByContentFolder/
TheVolumeSettingsFolder/
Trash/
Users/
bin/
cores/ -> private/cores/
dev/
etc/ -> private/etc/
mach ->/mach.sym
mach.sym
mach_kernel
private/
sbin/
tmp/ -> private/tmp/
usr/
var/ -> private/var/
You often find files and directories with spaces or other strange characters in their name, which can make navigating on the command line hard sometimes, but tcsh's tab-completion solves this problem.
Having been using the Mac OS X Public Beta for a few weeks now, one of the coolest features is that my PowerBook wakes up from sleep in less than one second. This is not an exageration or a joke. Albeit, the hard drive may not be ready for me to start a large chunk of storage I/O, but everything that was in RAM before sleep is still there (i.e. the mp3 that was playing or the animated/. banner ad pick up right where they left off)
In a server, however, and for power management purposes only, new hard drives should probably never be spun down. I remember reading (I think on MOSR) that Apple even recommends leaving the drive spinning while on battery power, since it takes only 3-4W to run the drive, but up to 10W to spin up. (My numbers may be off, this is from memory)
Thus the real advantage for servers to use power management comes from processor cycling down (this has been supported in mobile PPCs for years, BTW) and turning off the display. And if you are actually leaving your server's displays on all the time, you deserve to be blacked out.
Soekris Engineering produces 486-based routing hardware that will run your choice of Open Source OS. They aren't quite as cheap as a Linksys or Netgear router, but they are hackable and upgradable, since the network interfaces are PCMCIA or Mini-PCI cards and they have Compact Flash interfaces for storage.
Well, I'm not sure if this is exactly what you had in mind, but it should be pretty close:
* * *
Here's one way of doing it:
On a slightly related note, a Russian photographer named Sergei Mikhailovich Prokudin-Gorskii pioneered this technique of obtaining color images using colored filters and monochromatic film in the early 1900's. He actually built his own camera with three vertically-oriented lenses, each with a red, green or blue filter. The camera took the three pictures at the same time, but some interesting distortions come through because of the slight differences in paralax.
http://www.loc.gov/exhibits/empire/This was mentioned here on /. some time ago, but if you haven't seen his photos, they are definitely worth checking out.
The text you pasted is from the description of the "Combined" 10.2.6 update, which includes all minor version updates and security patches since 10.2.0.
Here are the relevant KnowledgeBase articles:
I'm so goth, I'm already dead!
For those running Mac OS X, there is an application called Cocktail that will let you turn off delayed ACKs.
We may not want them to, but data requirements sometimes change, and views make it really easy not to break everything in your code when making changes to an existing schema. Sure this is still a "convenience," but a significant one at that.
Because Apple has embraced HeaderDoc, which is not dissimilar to JavaDoc, except that it works with C/C++/Obj-C files.
Are you seriously claiming that the kernel of the OS is written in Objective C?
I didn't see myself claim that the kernel of Mac OS X (Mach) is written in Objective C. However, a kernel does not an Operating System make.
Also, O'Reilly's Building Cocoa Applications is excellent for the beginner, although I wish they would publish AppKit & Foundation in a Nutshell for a good off-line reference.
Some other good references:
Make no mistake - nobody's going to code the next operatig (sic) system in [Objective C].
Funny, that's just what Apple did.
Definitely, learn Cocoa and Objective C if you can, just for the experience of realizing how much better it is that most of your other choices. With InterfaceBuilder, you can completely abstract your UI from the core of your code.
Since you say you want to use the BSD layer, I suggest making a command-line version of this core code first (you can do this in C or C++), since this will be immediately more portable to other Unices. Once that is done, tying that code in with the UI you build in InterfaceBuilder is simple.
Also, there are some pretty interesting native IPC libraries in Mach. If you don't mind your code being tied to Mach, you should check that out as well.
Oh, did I mention that Apple's developer tools and documentation are free for download?
``Voting Onlin'' doesn't (necessarily) mean voting from your home DSL on your PC. The purpose of online, electronic voting is to have control over how votes are counted, and how long it takes. This does not preclude a public poll, administered by real people, where the voters are ensured their privacy. However, it does mean that there has to be some sort of digital ``accountability'' for each voter.
I tried writing a utility to keep an icon to show when I have mail. The SystemUIFramework that is used for DockExtras and MenuExtras is in fact private, which means that there is no usable header file against which to link an application. However, some intelligent hacker has created a SystemUIPlugin.h that works, but there is basically no documentation other than that file.
There is a public header in the AppKit framework (NSStatusItem.h) that will allow you to create an icon that is displayed in the menu bar while the application is running, but this isn't how Apple's icons (like battery, volume, etc.) work: they directly use the SystemUIFramework.
Reference:
I can attest that at my call center, the FTC's rules, in addition to more in-house rules, were strictly enforced. Hanging up on a customer, using profanity, or deviating from the script would all be terminable offenses.
I really doubt that DialAmerica will be going out of business any time soon. There will always be a market for outsourcing incoming calls.
The point of a 64-bit address scheme is not really to be able to have 2^64 bytes of physical RAM. After all, you don't have 4GB of RAM in your 32-bit PC do you? The advantage to a long address is a large virtual address space. And just because you have the ability to address 2^64 bytes of virtual memory, doesn't mean that you will need it all at once. Think about having a globally unique address for every memory object in the system (which possibly is distributed over many physical nodes). Even 64-bit addressing isn't enough if you want to talk about globally unique addresses. Manipulating actual data isn't really a problem in this situation, because generally only a very small portion of the address space is used at once.
Here's an idea: how about giving "credit" to users who post high-rated comments. Several posters have already noted that these posters are Slashdot's golden egg. Without readers who care enough to make Interesting, Insightful or Funny comments, /. would have no value over any other tech website. So give something back to the community that supports you and allow a certain number of ad-free pages for your best readers.
You may not find that millions of web servers are running on OpenBSD, but if there were some way to keep track of how many of them are protected by firewalls/routers running OpenBSD, the numbers would probably be more impressive.
I, for one, find that the "secure by default" policy is incredibly convenient for a drop-in firewall solution (and I've done this a few times for various companies).
For anyone interested in developing for Apple's platform, the Apple Developer Connection is an indespensable resource. I haven't read the O'Reilly book on Cocoa, but I suspect that, since it was written by Apple, most of the information there can be found, for free, on Apple's site. Apple has provided well-documented APIs, sample code and several tutorials for both Objective-C and Java (despite what the reviewer said, check here). Also, for those who want to develop for Mac OS X, once you have it installed, and the developer kit from Apple (after all, you won't be able to develop without it), you will find that most of the tutorials, API documentation, etc. are on your hard drive. This includes extensive documentation on the changes that Apple made to the BSD development tools (gcc, gdb, ld, ...).
In short, my point is that if you are already familiar with programming in C, C++ or Java, you don't need a book to learn Cocoa. The information is all provided for free by Apple.
In the New York Times today, there was a short article about how Steve Jobs of Apple is publicly opposed to a proposal by Microsoft to the DOJ. In short, MS wants the DOJ to drop anti-trust precedings in exchange for MS's donation of $1 billion worth of "software, hardware and expertise" to some low-budget schools. Basically, Jobs alleges that this is an attempt by MS to gain further market share in the education market, where currently, Apple is a key player.
This article about a presentation by Apple Italy shows that the iPod plays the classic "Breakout" game after holding a button for a few seconds (see the second page). Can it only be a matter of time before a plethora of simple apps run on this thing?
All clear, wail the sirens!
I haven't tried building very many additional packages, since most every useful GNU package was already installed. ssh required a small paatch to compile on previous Developer Releases, but is now included with the installation. Most things should compile with no problem, unless they depend on X libraries or something of that sort. I'd also like to point out that the developer tools available from Apple are top notch. ProjectBuilder+Cocoa+Java is probably the cleanest development environment I have ever used. Are there any standard package managers included by default?
Apple has included their own package manager with OS X, but I almost never use it. tar and gzip are there, so that serves most of my needs. Stuffit Expander, the dominant traditional Mac OS compression utility is also included. Does it come with all of the build tools needed so you can normally just do the "./configure; make" mambo?
Yes, make, cc, gdb and a host of others are all there, and they work just like they do on other platforms. Native developer tools are a much better interface to these, however. (See above) Do you have to spend a lot of extra time tweaking your environment and downloading other libraries?
OS X doesn't give you a whole lot of options for tweaking the environment at this time. There are whispers that theme support is built in, and perhaps someone will figure out how to exploit it after the release. A plethora of custom icons are available at sites such as Xicons, and of course the desktop image can be changed. Another rumour is that the toolbar in the Finder will be able to be customized by the user. You don't have to spend any time customizing your environment, save adding a user account for yourself. Apple has produced a quality user environment here. As for libraries, on OS X they are called "Frameworks" and a rich set of standard ones come with the installation. Developers are free to create their own custom Frameworks and ship them with their application. I have downloaded a couple of developer Frameworks from the OmniGroup, but they are not needed for a normal user. What are the biggest differences that you notice from the shell prompt between a typical FreeBSD installation and OSX?
The default shell on OS X is tcsh. I don't know about FreeBSD, but I know that OpenBSD also uses tcsh as the default. The main annoyance is the strange directory structure. Much of the standard structure is preserved, however, it is just hidden from the user. For example, in the Finder, I see this as my root directory:
Applications/
Developer/
Library/
System/
Users/
And when in the shell, this is what I get:
Applications/
Desktop DB
Desktop DF
Desktop Folder/
Developer/
Icon?
Library/
Network/
System/
TheFindByContentFolder/
TheVolumeSettingsFolder/
Trash/
Users/
bin/
cores/ -> private/cores/
dev/
etc/ -> private/etc/
mach ->
mach.sym
mach_kernel
private/
sbin/
tmp/ -> private/tmp/
usr/
var/ -> private/var/
You often find files and directories with spaces or other strange characters in their name, which can make navigating on the command line hard sometimes, but tcsh's tab-completion solves this problem.
All clear, wail the sirens!
All clear, wail the sirens!
All clear, wail the sirens!