macworld

U

Une bévue

Sean Wolfe said:
I've had terrible luck with any DarwinPorts package. Also a lot of the
ports are out of date.

i did install anjuta one week before and today where i was unlucky ))
Error 2 @ make...
 
D

Devin Mullins

While we're hijacking this thread for our own purposes, I have a couple
of requests for OS X software that might exist, but I can't find:

- I'd like to press a crazy, unused modifier combo (say, Shift-Alt) and
have click-and-drag move the entire window that I'm
clicking-and-dragging on. I'm tired of slogging all the way to the top
of the window just to move it.
- I generally have gem_server, plus one or two rails servers of my own
running, and because I like to be able to a)flip to the logs quickly,
and b)start/stop the servers in very few keypresses, I generally keep
'em each open in their own Terminal window. That creates clutter
quickly. Now, I might investigate 1)screen, 2)iTerm, 3)creating my own
start/stop daemonizer bash script for the purpose, but what I'd really
like is a stupid little Cocoa app that I could wire up to random shell
scripts, and that gave me a bunch of Start/Stop and View Log buttons,
akin to the System Controls thing that the MySQL dmg gives me.
Basically, Locomotive, but without using Locomotive. :)

Sorry about that...
 
C

Carl Woodward

Hi Hampton,

I hope I'm not repeating what anyone else is said but you can get
mysql bindings to work by:


Compiling and installing ruby, gems, etc and setting up mysql based on
the guide below:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

At the bottom of the mysql section it has:
sudo gem install mysql -- --with-mysql-dir=3D/usr/local/mysql

Do this and then go read through this url:
file:///usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/README.html

Which basically says go to the mysql gems directory (from above) and
do the following:
- ruby extconf.rb --with-mysql-dir=3D/usr/local/mysql
- make
- su
- ruby ./test.rb [hostname [user [passwd [dbname [port [socket [flag]]]]]]]
I got one error from this test, on the test_fetch_double test but the
result seems fine.
- make install

After you do this you can run ruby mysql fine. A sample bit of code is bel=
ow:

require 'mysql'

m =3D Mysql.new("localhost", "root", "")
m.select_db("dbname")

result =3D m.query("select * from table")

result.each do |row|
row.each do |val|
puts val
end
end


As an aside, I bought a mac a few days ago and love it. I bought the
17". I've written a blog:
http://carlwoodward.blogspot.com/

Hope this helps and you stick with your mac.

Cheers,
Carl.
 
K

Kevin Brown

I direct your attention again to my reference to laptops.

I direct your attention again to plugging in any usb mouse. I'm sorry, but I
simply cannot allow you to write off Macs entirely because there's one button
on the track pad. If you gave it a chance, you wouldn't have that much of a
problem with it. Really.
 
K

Kashia Buch

Hi,
Just accept that I require an integrated interface with which I'm
comfortable, and leave it at that. I don't want to get into a flame wa= r
about whether or not it's acceptable to have to use an external pointin= g
device on a compact, portable device in order to not be driven up the
friggin' wall by the interface.

You might want to keep one thing in mind: the Apple Interface is built to=
=20
be used with a single mouse button, it will certainly not drive you up a =
=20
wall, simply because of that fact. I found the lack of the second mouse =20
button weird at first, simply because I was using it the whole time in =20
window/linux, but I became used to it pretty fast, meaning a weeks or so.
Generally I don't propose Macs as I think most people just can't "cut =20
back" something at first, just to discover that it's just "the right way"=
=20
on this platform.

Kash
 
S

Shot - Piotr Szotkowski

Hello.

Chad Perrin:
I tend to dislike pointing devices because of the disconnect in
disparate parts of the interface (keyboard and mouse), but I use
them because they're useful with certain types of programs. A web
browser just isn't as efficient tool without one, for instance.

Have you tried a ThinkPad laptop with a TrackPoint device (the red
nipple between G, H and B keys)? In the past two-and-a-half years,
I used an external mouse only once with my R31 (which I use 12+ hours
a day), and find myself reaching for the nipple every time I sit at
a desktop. For me, it's simply unbeatable (although it took me about
a week to get used to it).

You only can't bring yourself to buying an Apple
laptop; I couldn't buy a non-ThinkPad one... :eek:)

Cheers,
-- Shot
 
C

Chad Perrin

Hello.

Chad Perrin:


Have you tried a ThinkPad laptop with a TrackPoint device (the red
nipple between G, H and B keys)? In the past two-and-a-half years,
I used an external mouse only once with my R31 (which I use 12+ hours
a day), and find myself reaching for the nipple every time I sit at
a desktop. For me, it's simply unbeatable (although it took me about
a week to get used to it).

Actually, I'm using one right now. I love Thinkpads. Once I turn the
trackpad off in the BIOS settings, so that I can just stick to the
trackpoint (and, when at home, an external trackball), I'm pleased as
punch. I love the button placement for the integrated pointing devices,
too.

You only can't bring yourself to buying an Apple
laptop; I couldn't buy a non-ThinkPad one... :eek:)

Every time I try a different laptop, I find myself wishing I was using a
Thinkpad. I'd be willing to make an exception for an Apple laptop from
time to time, though, if the physical interface was better (for me).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top