- One central security provider (the ACLs on the files). One program to audit
- No work required for the application programmer
- The files can be accessed even if f-spot or whatever isn't open
Monday, November 28, 2005
Thursday, November 10, 2005
Historically, it has been found that if CMU published in the schedule of movies that it was shoing an adult film, some local media would make a fuss about it. So, a semi-secret code was adopted that adult films would be listed TBA. I say semi-secret because Google knows what this means. My advisor decided not to offer an IC point (even though one of the tasks had been "watch a movie at cmu") for the TBA movies, reasoning that he should try to avoid "CMU Advisor Encourgages Porno" in the local tabloid^Wnewspaper (of course by blogging that I've somewhat circumvented this ;-).
One piece of advice Rich gave was that when he was a student at CMU he attended a showing of _Deep Throat_ and found that the effect of watching porn was reduced by watching it with a large group of students in a large auditorium. Sounds logcial.
 For background the IC is the SCS frosh imigration course. In order to pass this course we must attend almost all of the (sometimes boring) weekly guest lectures. We must also earn "IC" points which are basically proof that we did things other than sit in front of a computer. The point list is here
EDIT: at Rich's request I've removed the original email
Thursday, September 29, 2005
President Bush was at a meeting yesterday when one of his advisors told him that a Brazilian soldier had been killed in Iraq.
"OH NO!" shouted Bush, "that's terrible!"
A silence fell over the room while everyone looked at Bush.
He looked back up the advisor with tears in his eyes and said "Just how many is a Brazilian!?"
The President would not fare well at CMU
Monday, September 26, 2005
Friday, September 23, 2005
jluke, you have fallen into the all too common trap of relying on RSS statistics as a measure of memory usage. RSS means "how many pages of memory did this process use". This number includes shared pages. Now, I think it's a reasonable assumption that alot of pages from libgnomeui.so etc are paged into the system without the Mono application in question. What you really want to count is how many private pages get into memory. This is much harder to measure, in fact, we don't have the tools to really do this correctly.
That being said, there are other reasons not to use Gnome#, one of which being that better versions of the stuff in there are being moved to Gtk#.
If you are thinking about measuring the amount of ram a process uses, please, please, please be careful about what numbers you look at. It's really easy to come up with nutty conclusions.
Sunday, August 28, 2005
It is pretty interesting how many CMU students want to try out linux but don't know how. And these are not just male CS students -- a diverse range of people is interested in what else is out there. Firefox has huge exposure at CMU and on other college campuses. People know about Linux but don't know how to take the plunge. I think it is important that we try to incubate new Linux users at universities like CMU. These are our future engineers, scientists, and programmers.
So, I think the best way to start thinking about this is "what do students do with their computers?" With a corporate desktop (like NLD) this part of the game is pretty easy. Employees have well defined tasks. College students are a much more interesting crowd. I don't think we will be able to replicate 100% the programs that students are used to. But let's take a look at what is important:
- Being able to play every video and music format on Earth.
- P2P sharing (i2hub!)
- Using Flash
- Fully functional java environment (eclipse+tools+your choice of gcj or sun java)
- Being able to read every pdf thrown at them (that means acroread -- I love evince but there are some documents it does not want to read).
- 0-hassle integration with their campus network (at CMU, afs should be mounted)
- Allow easy installation of university licensed software (mathematica!)
- iPods must work with no hassle.
- All wireless cards must work (I had to go through some hoops to get my Dell laptop's wireless to work. Not cool).
The most important part is taking a stock distro and making it do the tasks I listed above extremely easily. We can't expect people to go through 100 hoops just to play a DVD. There are some obvious legal issues here. But given that we college students have found ways to host terrabytes of copyrighted music and video, I don't see why it should be such a challenge for us to host a small amount of software that may have whatever issues.
Once this step is done, we would need to consider how to get Linux out to users. I think this has two aspects. First we need to have "Linux Heros" who can help people out. facebook would be a great place to start this. The second aspect is making it easy to actually install Linux. On a campus network, bandwidth is virtually free (at least within the univ. and other internet2 campuses). Therefore, the media should come from the campus network. I think a pxeboot system would be very powerful: with the help of a person familiar with how to use the BIOS, Linux can be installed with no physical media. Also, "kickstart" disks could be distributed that would boot to the pxe system for people with network cards that don't support pxe or who don't know how to use the bios.
I guess the way to start making this work would be to get a list of rpms that can be installed to make my above task list work. If packages don't exist, we need to create them. Where possible, we should prefer open source, patent-free stuff, but where that does not exist/does not have the functionality students need/etc, other solutions are needed.
Late breaking ideas
- What if we make a Windows program that modifies the MBR so that on the next boot, it will go to the pxe server. This allows people to use pxe without touching the bios and without needing any physical media
- Presentations / Demos of Linux
- Form a community. Do some non-geeky stuff. Ice cream social for Linux. Could be integrated with presentations (hook them with ice cream, get them to watch the demo of linux)
- Give "Linux Heros" free t-shirts. If we have enough heros, it won't be hard to find a person wearing their tshirt on any given day. These people can answer questions.
- See GRUB docs for ideas about booting from the network. So we give the user a grub config file with the pxe server specified
- Install grub on windows without touching the MBR. If I understand this correctly, it would mean a dual stage boot: first it goes into the NTLDR menu then the grub menu. But, it sounds a bit less risky.
- A guide to installing Linux with no media
- Going with the community, how about an irc hangout for linux users at university?
Saturday, August 27, 2005
Am at the CMU campus:
In the center is Hamerschlag Hall. The large tower on the right is Pitt's Cathedral of Learning. The ugly looking slab on the right is Wean Hall, the CS building.
Abstract art at Carnegie Museum of Art (cmoa):
Still CMOA, but now much more fun. Who said adults can't enjoy the children's section.
Saturday, August 20, 2005
On Sunday, I'll be going off to college:
One week of orientation (the schedule is literally 40 pages long. Hopefully, there is a list of important things :-), and then classes. I'll have to start programming in Java. Given that I convinced the CS department to let me into a fairly advanced class, it would probably be a Good Thing to know how to write a "hello world" in java by the first day of class. How long will it take me to get used to javaCase? And then how long before I leak javaCase into CSharpCase? I wonder if I could get away with using Mainsoft's stuff and claiming that my c# code is actually Java.
Thursday, August 18, 2005
Browse msdn without an insane treeview and without an insane browser. Source is here. It's only 220 lines, you can read it really quickly!
Left to do:
- Integrate into monodoc
- Make it handle T:System.String style links in monodoc (would allow it to replace the default class ref).
- Handle clicking links inside the msdn content area
- Greasemonkey-like modifications of MSDN's content
- Remove syntax for VB, etc.
- Remove the msdn footer
- Use a cache for the xml
- Would be cool to use mozilla's cache here. That means I can avoid writing my own policy for caching.
This shows off some cool Gtk# 2.0 features (the tree node stuff) and some cool C# 2.0 features (the delegate stuff). Also, I am using a very cute hack, the xml serializer, to read the data.