Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:OS X is UNIX (Score 4, Informative) 398

Not exactly... Apple has been slowly squeezing the Carbon (std. C++ lib set) into non-existence, which means you get to do it in Cocoa (that is, Obj-C).

Objective C / C++ is only required for doing the UI. 99% of your project can remain in C or C++ with only a very thin shim in Obj-C for the UI layer. There is no requirement to move your code base to except for the Mac-specific UI layer.

IIRC, there's no 64-bit Carbon love in SL, though the 32-bit Carbon libs should still be happily intact.

There is no 64 bit Carbon, because it's a relic. Cocoa easily mixes with C code (Obj-C is just C with extra stuff). Unless you're Adobe and you have a huge amount of UI code in Carbon, there is no reason to keep hanging on to it.

There's also (IIRC) Grand Central to contend with when you're dinking around with video, and I doubt that you could find an easy parallel for that when porting in from *nix.

Grand Central Dispatch is not required for video at all. Mac OS X supports the standard POSIX pthreads interface for threading.

Comment Re:This just in.. (Score 5, Insightful) 190

Apple makes you program in the painful language of Objective C or some other language that Apple deems as necessary but most programmers cry out in agony.

What's wrong with Objective C? You can mix Objective C and "pure" C / C++ in the same project. Any decent C++ programmer can pick up Objective C / Objective C++ in one day of practice[1]. Obj-C is a superset of C, all of your favorite tricks still work. You can program it on Linux or Cygwin using GnuStep and gcc (though admittedly getting it going is kind of a pain). If you really hate it that much, you can get away with writing a pretty thin wrapper of Obj-C to interface to the OSX specific APIs (most of your calls will probably be standard libc calls in C anyway), and have almost all of your code in C/C++. I don't see how it would be an obstacle to anyone.

[1] No True Scotsman would doubt this comment.

Comment Re:SlashdotFS (Score 4, Interesting) 268

I did some research into this a number of years ago (before torrents were around). I found that you can store 64 KB (if I recall correctly) in a slashdot comment. Now, the idea was not to to use slashdot as storage, they'd quickly put a stop to that. The trick is using slashdot and other forums and wikis as a way to get your data into the Google cache, where it will be served rapidly for everyone who wants it. There should also be forward correction data uploaded (like parity files) so that if some segments get lost, they can be recovered. Then what you need is an index file (kind of like a torrent file) that tells you what Google keywords you need to search for to find any given segment of the file, and software that will parse this file, download, and assemble the chunks into the completed data.

I wrote a little bit of code for it. It's all very straightforward, I just never got the time to get enough of it implemented to release anything. With torrents, it seems somewhat worthless to pursue now.

Comment Re:So where does this leave Open Souce? (Score 4, Informative) 237

While Sun may not be the strongest FOSS advocate, they've made many adjustments over the past few years to open up several products.

Stop right there. Sun is one of the biggest corporate contributors to open source. Go ahead, count lines of code. I'm betting Sun will be in the top two if not #1.

Here's a brief list of things Sun has open sourced:
Solaris - Their entire OS, including ZFS and Dtrace
SPARC - Their CPU line
Java - Maybe you've heard of it.
OpenOffice - The office suite that ships with every desktop Linux distribution.
VirtualBox - A GPL desktop virtual machine.
NetBeans IDE - A multi-platform IDE.
OpenDS - LDAP Directory Server
High Availability Cluster

Honorable mention:
NFS - The Network File System
vi - developed by Sun founder Bill Joy
MySQL - Now owned and maintained by Sun-paid engineers

So, next time you say Sun hadn't done much for open source, look again. It would be a shame if Sun was bought by Oracle and all of their valuable contributions were abandoned.

Comment Re:Proving that.. (Score 3, Insightful) 324

Twitter's developers care more about being cool and hip and using the latest tool so that they remain popular, than they do about having a site that stays up 7 days a week.

Exactly. Scalability problems arise from poor implementation, not from language choices. Scalable platforms have been implemented in the past with PHP, ASP, Perl, C, Java, and I'm sure with Ruby, Python, or your favorite new language. Twitter is a massive-scale site, they should be looking at deep engineering, not a buzzword platform that promises easy scalability for dummies.

Scala may help them alleviate problems they've hit in the Rails framework. What will help them with the problems they hit in Scala?

Comment Re:Meh (Score 3, Informative) 301

Wait, so not only do you read the summary and the article, but you even click on the author's website link?!

I know, I'm a bad Slashdotter. Actually someone pointed this poster out to me a while ago, and I verified his claims and have since been more aware of his activities.

You're right that we should not ignore stories from authors we don't agree with. But we should also be wary of sources that are trying to push an agenda through their presentation of a story. Everyone has bias, but it seems that the stronger the bias, the more distorted the truth becomes to fit the author's world view. There is some threshold in which the presenter can no longer be counted on as a source of reliable information, even in seemingly benign cases.

Comment Re:Meh (Score 5, Insightful) 301

This is yet another story by our friend "Anti-Globalism" (or "Defeat Globalism" in this case). Note the website the name links to (amerika.org). If you follow it, you'll reach a network of nationalist, anti-foreigner, and eventually racist (neo-Nazi / white power / religious hate), anti-democratic sites. The idea is to start you off with something that will get your nerd-rage going. "How dare those judges redefine libel". Then you'll go to a site that builds on that, but broadens the idea. "It's the Massachusetts liberal activist judges trying to take away our Libertarian freedom". Then it's a few more hops to full on "The Blacks, Jews, Mexicans, white-man hating Liberals are trying to take away our freedoms and give them to urban unwed teenage drug moms on welfare".

You can safely ignore this story.

Comment Re:Actually, no. (Score 1) 830

As a user of a high-level language, I should not be expected to know the disk I/O API in a given OS. That is for the authors of the compiler or interpreter.

If you need very specific behavior, as a high level developer you should be calling your environment's DoExactlyWhatIWantNotJustWhatIAssume() implementation (which in this case would be something like SyncFileDataToDisk() or TransactionCommit()). Implementing this function is for the authors of the interpreter or library set so that you don't have to understand the disk IO API. If your environment does not provide one of these, you're probably using the wrong tool for the job and you better make friends with some low level programmers.

Comment Re:Not as American as you might think (Score 1) 519

The only parts of Apple that is really American is their R&D and sales and marketing parts, the rest was outsourced years ago.

Apple has 25,000 employees in the United States, 12,000 of which are in Cupertino, California, and the vast majority of those are in engineering and product development. Apple is one of the few computer makers that designs their desktop and laptop motherboards itself, in the U.S. (as opposed to buying a design from Asian ODMs [see Dell]). All Apple products, from phones to iPods to base stations to accessories are designed, programmed, debugged, and tested in the United States.

Apple writes its own OS entirely in the U.S. It does not have any international code development centers (unlike say Microsoft) except for a few small acquisitions. Apple writes an office suite, various other tools, runs web services, and creates professional grade video and audio software (such as Final Cut Pro), all from California offices. Apple now owns a chip design firm in the U.S. (PA Semiconductor).

The only thing that Apple has outsourced is manufacturing.

Software

Pidgin Controversy Triggers Fork 1104

paleshadows writes "Pidgin, the premier multi-protocol instant messaging client, has been forked. This is the result of a heated, emotional, and very interesting debate over a controversial new feature: As of version 2.4, the ability to manually resize the text input area has been removed; instead, it automatically resizes depending on how much is typed. It turns out that this feature, along with the uncompromising unwillingness of the developers to provide an option to turn it off, annoys the bejesus of very many users. One comment made by a Professor that teaches "Collaboration in an Open Source World" argued that 'It's easy to see why open source developers could develop dogmas. [...] The most dangerous dogma is the one exhibited here: the God feature. "One technological solution can meet every possible user-desired variation of a feature." [...] You [the developers] are ignoring the fan base with a dedication to your convictions that is alarmingly evident to even the most unobservant of followers, and as such, you are demonstrating that you no longer deserve to be in the position of servicing the needs of your user base.'" Does anyone besides me find this utterly ridiculous?
Utilities (Apple)

Submission + - Bootcamp v. 1.2 released with full Vista support

Victor Lee writes: "Bootcamp v1.2 is now available directly from apple's website.

http://www.apple.com/macosx/bootcamp/

Quoted from Apple's website:

Changes in Boot Camp 1.2 beta

Boot Camp 1.2 beta contains several updates and is intended for all new and previous Boot Camp beta users.

Boot Camp 1.2 beta includes:

        * Support for Windows Vista (32-bit)
        * Updated drivers, including but not limited to trackpad, AppleTime (synch), audio, graphics, modem, iSight camera
        * Support the Apple Remote (works with iTunes and Windows Media Player)
        * A Windows system tray icon for easy access to Boot Camp information and actions
        * Improved keyboard support for Korean, Chinese, Swedish, Danish, Norwegian, Finnish, Russian, and French Canadian
        * Improved Windows driver installation experience
        * Updated documentation and Boot Camp on-line help in Windows
        * Apple Software Update (for Windows XP and Vista)

Updating to Boot Camp 1.2 beta

If you previously installed Boot Camp beta, you can easily update to Boot Camp 1.2 beta. You don't need to partition your hard drive again (unless you want to change its size) or reinstall your Macintosh and Windows software or documents, but it's very important to update the Boot Camp Assistant software, create a new Mac Drivers CD and install the updated software it contains onto Windows. Complete instructions are provided in the Installation and Setup Guide included with the Boot Camp 1.2 beta software."

Slashdot Top Deals

One way to make your old car run better is to look up the price of a new model.

Working...