2,116 karma · joined Aug 14, 2007 (19y ago) · 566 submissions
comment 18y ago · link · parent
That being said, if you want to be able to reason about system configuration states, and write concise deterministic rules that dictate the triggers for and transitions between between such states, Haskell may be worth some additional attention.
comment 18y ago · link · parent
I've also thought for a while that Haskell would be a great environment in which to implement a static analysis tool to check the security of existing application code. In particular, I think that the PHP community could really use an information-flow and type-checking tool external to the core runtime which could be used to run a quick "sanity check" over source code. The simplicity of the language (relative to, say, Ruby or Perl) makes it a prime target for parsing and analysis, and the large body of existing code in the wild makes for an interesting set of test cases.
comment 18y ago · link · parent
The 301 looks like a very minor, but worthwhile, upgrade.
Of course, the fact that the Air runs OS X, while the X300 runs Windows or Linux, will make the decision all by itself for most potential buyers. Personally, I find that the X300 running Ubuntu makes for a nearly ideal mobile development system.
comment 18y ago · link · parent
Also, your "TENS of THOUSANDS" of people are a frigging drop in the bucket compared to the TENS of MILLIONS (or possibly even HUNDREDS) of Windows systems currently in deployment in countries where Apple distributes their products.
Don't people constantly defend Microsoft with the same argument -- namely, that they have no way to test every possible interaction between bad drivers and hardware components simply due to the sheer number and variety of Windows systems in use at any given time?
comment 18y ago · link · parent
Why then should it be surprising to anyone that it installs background processes and drivers? Yes, malware authors use hidden background tasks, but so does everyone else. The technique itself is not evil.
Furthermore, blaming Apple for poor QA because some Windows systems crash when iTunes 8 is installed is ridiculous. Windows is an ecosystem, not an operating system, and there are far too many possible system configurations for Apple (or any other vendor) to test them all.
There are plenty of causes to call Apple evil (DRM, restrictive platform access, insane RAM pricing) or incompetent (MobileMe launch, iPhone 3G signal issues) but a buggy Windows experience isn't one of them.
comment 18y ago · link · parent
Also, while it may technically be a "functional" language by virtue of disallowing destructive update of values, it really reads more like a scripting language. Variables are dynamically typed, and the functions only have an arity, not a signature.
Programmers used to the expressive type systems and polymorphism of more "academic" functional languages like ML or Haskell, on the other hand, would probably chafe at Erlang's lack of support for any abstractions other than forking and message-passing.
Real rocket scientists, on the other hand, would probably like Erlang, since the semantics of the language are simple, and its fault-tolerance and concurrency features could be well-suited for high-availability systems like mission data collection. (Its lack of hard real-time features make it a non-starter for actual avionics.)
comment 18y ago · link · parent
Even if your whole dataset fits into RAM, you may still have that one O(2^N) algorithm that doesn't need to be run for every request. Voila! A perfect application for caching.
comment 18y ago · link · parent
comment 18y ago · link · parent
My initial fear upon hearing the release announcement was that this was intended exclusively as a salvo against IE8 on Windows, and that Google just wanted to further needle Microsoft. If they're willing to invest engineering resources in support for less-dominant platforms, it suggests very strongly that they really do want to drive the state of the art for browser implementations forward across the board.
comment 18y ago · link · parent
If you want something which works as well in your business, don't just mindlessly clone this, or the 37signals 4-day week, or the first-stage startup 80-hour deathmarch, or any existing schedule -- work it out for your own environment.
Personally, I've been doing a lot of tweaking of my own schedule at work over the last year, and found that having at least one full day a week where work from home is a big booster to my productivity. It's an entire day where I can avoid random interruptions, and I never have that meeting in the middle of the morning that basically wastes the day through lunchtime.
comment 18y ago · link · parent
That being said, a browser using WebKit + Gears + solic process sandbox model appeals to me a lot. Props to Google for explicitly referencing the Biba model, too -- if they can get web developers to start paying attention to the body of security theory published in the last 40 years, the browser itself could be a huge flop, and still leave us better off than we are currently.
comment 18y ago · link · parent
The basic fact is that a year or two of Rails development experience doesn't make you a good architect, systems programmer, or database administrator. Good back-end engineers are much rarer, and should command a premium, if only because such knowledge really does only come from years of hard-earned experience.
comment 18y ago · link · parent
Regardless, Tim does have a robust test suite for mod_atom -- the Atom Protocol Exerciser (APE), which he wrote long before starting work on his own implementation. It serves as a reference test client for any AtomPub service, which is rather more valuable IMHO than simple unit testing.
comment 18y ago · link · parent
~/Projects/
/work/
/account-tools/
/courseware/
/system-mgmt/
/personal/
/blog/
/throwaway/
/org/
/fundraising/
/public-site/
(etc., etc.)The meaning of the 'work' and 'personal' directories should be apparent, and 'org' is for non-profit volunteer work.
Each project is under some sort of version control, but it could be CVS, Subversion, or Git, depending on how many years ago I last worked on it.
comment 18y ago · link · parent
Unless you're mirroring your data across multiple drives, there is no way ZFS can magically recreate a volume that simply ceases to exist. Think of it this way: how would ZFS help you in your own server room if a non-mirrored disk caught fire and melted? Answer: it wouldn't. You'd go to backups, like you would with any other filesystem.
comment 18y ago · link · parent
By storing only very minimal posting metadata, and eschewing an API that would allow mash-ups and alternate browsing interfaces, Craigslist offers the same (often overlooked) advantage that old-school classified ads do: namely, they more or less force people to read a lot of the ads in order to have any chance of finding something.
That's better for sellers, because it increases the chances their ad will be seen, and in many cases it benefits buyers, too, since they may stumble across ads that would never have shown up in a more sophisticated search result set.
comment 18y ago · link · parent
That being said, if your goal is to develop in an environment more like your production system(s), you're going to need to work out your automated deployment model sooner than later, anyway. You may as well do it locally, where the cost of a screw-up deployment is effectively nil.
comment 18y ago · link · parent
Umm, I would. Running Wireshark or tcpdump to sniff traffic over the wire is easy, and analysis can be done offline at the attacker's leisure.
Hijacking DNS and phsishing for users' login credentials to other sites requires a lot more preparation, and in most cases, prior selection of the desired target sites.
comment 18y ago · link · parent
True, once you break out into the "big bad world" of network protocols and disk I/O, your code may not be quite as dead simple, but it really shouldn't be too hard for most folks to jump from this:
Shoes.app do
button "PUSH!"
end
...to this: Shoes.app do
stack do
@text = para("hostnames go here...")
button("PUSH!") { @text.replace(File.read("/etc/hosts")) }
end
end
...and from there to this: Shoes.setup do
gem 'simple-rss'
end
require 'simple-rss'
require 'open-uri'
Shoes.app do
stack do
banner "News.YC Headlines"
button("Fetch") do
@articles.clear
rss = SimpleRSS.parse(open("http://news.ycombinator.com/rss").read)
rss.items.each do |item|
@articles.append { para(item.title) }
end
end
@articles = stack
end
end
That isn't so bad, is it?comment 18y ago · link · parent
That doesn't make it a "level editor for [a] game engine", but it certainly should give you more than enough tools to build a networked tic-tac-toe game.
comment 18y ago · link · parent
However, that still leaves a gap between the page-to-page flow control and transactional logic, which is an area where Rails just doesn't have much help to offer. Having to flatten my entire transaction state into a session hash, which is then (by default) squeezed into a 4Kb cookie, is constraining.
Why not let me instantiate a controller for a particular transaction on the site and control its lifecycle, ala Stateful Session Beans?
comment 18y ago · link · parent
There are a lot of talented developers out there who haven't come up with a billion-dollar idea of their own yet, and who would be happy to hitch on to someone else's if they're getting a fair piece of the action.
However, if you're trying to convince them to do work for hire (i.e., give up any rights to their own work) at far less than market rate with some vague promise of more compensation later, you deserve to fail. The developers who will fall for that argument are going to be inexperienced and/or just plain incompetent; the rock stars (who you really want to work with) know the value of their work, and are unlikely to jump on a bad deal.
comment 18y ago · link · parent
However, the Curve firmware (at least at OS version 4.3) has two major flaws. First, it's intermittently crash-prone and slow when using 3rd-party applications. Second, it locks up after a few minutes and has to be hard-rebooted when I try to use it as a Bluetooth modem for my Mac, which is especially annoying since a full restart takes more than five minutes.
Regardless, I still think I made the right choice in selecting the Curve over an iPhone, for one simple reason: UMA. Being able to pay $20/mo. for unlimited calling over any WiFi network has already paid for itself many times over when I've been outside the US (or even in rural parts of the US) and avoided having to pay roaming fees.
comment 18y ago · link · parent
you need to put some thought into the engineering process
behind it, and that includes putting some forethought into
how you're going to handle security problems
Again, the ruby-core crew aren't thoughtless, or inexperienced; they have processes in place for both normal releases and security advisories, and have a pretty damn good track record for getting updates into the hands of the folks who need 'em.There are now far too many versions of Ruby out there in the wild for the core team to effectively predict who is going to be affected by a particular issue. Every Linux distro and release of OS X has a slightly different bundled Ruby runtime, and most people don't seem to bother tracking the stable release from the core team until something like the last round of security updates leaves them scrambling to keep up.
The problem isn't the core team failing to handle security issues, it's the community not giving a shit about the code that makes up the 'ruby' binary until something goes wrong, and then not having any clue how to update their systems and do basic compatibility testing.
comment 18y ago · link · parent
The problem was simple that the core team doesn't use Rails, so they didn't test the patches they produced with non-trivial Rails apps. When other people did that testing, they got segfaults, freaked out, and basically tried to tell the core team that their release process was shit, and that they should let a bunch of outsiders tell them how to manage their releases.
Personally, I was embarrassed to be part of the English-speaking Ruby community during that entire episode.
comment 18y ago · link · parent
My recent-model MacBook Pro has a wonderful display panel, good discrete GPU, and a decent-enough keyboard, but it's big, heavy, throws off tons of heat, and lasts at best four hours on a battery. My old ThinkPad X41, on the other hand, despite being almost five years old, beats it in basically every category other than screen size/brightness and raw CPU/GPU power.
T-series units are even sturdier and definitely keep up in CPU/GPU specs, but there's just something about a 3-pound laptop that pretty much removes the excuse to not have it with you all the time. (That may or may not be a good thing for your lifestyle, of course.)