Feb 22, 2009

regen2 maintaining it's own openrc

So openrc was updated recently, and I noticed it, I decided it was time to find out why drobbins had created his own version. so I viewed them, ultimately I decided that drobbins had made too many changes but the gentoo ebuild had its own issues. So I modified the Gentoo ebuild to use EAPI 2, removed all of the live ebuild code that shouldn't be in it, updated the branding, and we're ready to rock.

Feb 21, 2009

split package.mask

There's been a problem with ${PORTDIR}/profiles/package.mask since I added sunrise, I didn't realize at the time the problem wouldn't be adding atoms, it would be keeping track of when they should be removed. I've decided that the best way to do it is to use portages 'directory concatenation' feature, I turned package.mask into a directory, it now contains a file for each overlay that has a package.mask, and one for gentoo.org and regen2.org. This will make it much easier to keep track of removals. They originals are being merged in from a package.mask 'overlay' on regen2's github account. Let me know if anything is now masked that shouldn't be or unmasked that shouldn't be.

merged java-overlay

Java in Gentoo is horribly out of date, and from what I've seen of the java overlay, it doesn't improve the situation much, but it's still better than without it. I've merged it into regen2.org, since this was I think the most painful merge since the first I ever did, I may have made mistakes on some ebuilds, let me know if you experience problems.

Feb 19, 2009

USE="experimental-git" sys-apps/portage

drobbins recent tip made me think, that maybe I should point out that his solution to the problem is an annoying work around. I had this problem for a while, it was caused by my having autocrlf = input in my .gitconfig settings. Several people have told me that they have this problem without changing their crlf settings for git. After a while I decided that Funtoo/Gentoo's git handling patches were incomplete at best and unfriendly at worst. So I wrote a patch that brings complete git handling to portage.

Why is it experimental? well it hasn't been officially accepted into portage, and as far as I know I'm the only one using it. One of the reason's it's not officially accepted is I haven't documented it.

WARNING: enabling it will cause auto git detection to fail, so if you don't finish setting it up portage will default to rsync.

So first you need to be using my regen2 tree, or get the ebuild and the patch from my tree, and enable the experimental-git flag for sys-apps/portage.

Now, like all the other protocols portage supports you need to set the SYNC variable in /etc/make.conf.

SYNC="git://github.com/regen2/portage.git"

the first 6 characters need to be git:// for git to work.

if you don't already have a git repository then sync will clone the repository at this url, in fact you may need to delete your portage and do a fresh clone for things to work in certain situations. I never discerned the reason for this.

now you need to set your method the most reliable, yet slowest is checkout.

PORTAGE_GIT_METHOD="checkout"

I believe this method will never experience the problem that drobbins was referring to.

for checkout you also need to set the remote branch you want to run off.

PORTAGE_GIT_REMOTE="origin/regen2.org" changing this variable and resyncing will allow you to change branches. checkout is even immune to upstreams forced updates, which is why I prefer to use it myself as sometimes I force updates on my development branch.

PORTAGE_GIT_LOCAL="regen2.org" is also a valid variable, however checkout doesn't use it. It's used by the methods rebase, which will run the git rebase command, this is recommended for people who don't run their own remote repo yet have there own custom git patches.

The final method available is merge, it works similar to the current pull behavior of portage, except it will actually merge from whatever remote you have specified into whatever local you have specified.

all methods use git remote update to avoid problems figuring out where to get updates from. I had problems with git knowing what to do with pull, when my origin was my personal repo on github and where I really needed to be updating from was funtoo not origin.

WARNING: git-experimental will probably be where I merge patches such as the upcoming manifest patch.

Heritage Paper - Cultural Diversity

This blog entry is a test of Google Docs blog publish feature. I thought some might be interested in this paper I wrote for my Cultural Diversity class that I'm currently attending at Baker College of Auburn Hills, MI.

    My name is Caleb William Cushing, born Caleb Lee Rogers. I was born on October 21, 1984 in Lansing, Michigan, USA. I'm German / Norwegian by birth and German / English by law. I consider myself a full blooded American, and pay little heed to my lineage. Due in part to the fact of my culture, and in part to the fact that I am adopted and am not truly able to associate with either my biological family or my adopted one, as far as lineage goes.

    I consider myself a part of the 'Hacker Culture'.  A Hacker is commonly defined as “A malicious meddler who tries to discover sensitive information by poking around. Hence password hacker, network hacker. The correct term for this sense is cracker.”1 . Our definition, however, is a bit different, an acceptable version is “A person who delights in having an intimate understanding of the internal workings of a system, computers and computer networks in particular.”2. I myself have never broken into a system illegally, nor have I have ever maliciously attacked another system.
We hackers are a sort of counter culture. We tend to exist on the fringe of what society expects, and we explicitly seek not to conform to society, but to make up our own minds. This means that we conform to society only when societies view are the same as ours.

    The hacker culture is generally a meritocracy, meaning the person with the most skill, talent, or experience leads, although often there are other concerns as well, but this is quite common. If a person ceases to satisfy with leadership, Hackers tend to just move on. I myself have gone from the very bottom ranks of knowing almost nothing, to my own little peak in the mountain range of leaders and followings we have. Even though I myself am becoming a respected member of my community, I still look up to those who have much more knowledge than me. This is not to say I agree with them unconditionally. The merit of ones claims, like in science, is only good so long as no one can disprove it. It is the duty of all to attempt to debunk a claim. Some claims are not debunk-able  as they are based entirely on opinion and there is no scientifically correct answer for all cases. This is why there are so many 'similar mountains' in the community, no correct answer was realized and so both parties went their own way. This is the reason why I now have my own mountain.

    "Hackers dress for comfort, function, and minimal maintenance hassles rather than for appearance (some, perhaps unfortunately, take this to extremes and neglect personal hygiene). They have a very low tolerance of suits and other ‘business’ attire; in fact, it is not uncommon for hackers to quit a job rather than conform to a dress code."3 I find that I generally fit this stereotype, I can be found where my pajamas and a t-shirt or jeans and a t-shirt more often than anything else. I only dress up when it's required, although counter to many of my hacker comrades I do not completely abhor dressing up, I simply prefer not to.

    "Many (perhaps even most) hackers don't follow or do sports at all and are determinedly anti-physical. Among those who do, interest in spectator sports is low to non-existent; sports are something one does, not something one watches on TV."4 I whole-heartily agree with this sentiment, and although I've tried sports in the past I've never stuck with them. Many members of my family enjoy watching varying sporting events such as football, I've never understood this. The major exception in sports with hackers is martial arts, I've partaken in them and enjoyed them when I did, I hope to start practicing again soon.

    "Nearly all hackers past their teens are either college-degreed or self-educated to an equivalent level. The self-taught hacker is often considered (at least by other hackers) to be better-motivated, and may be more respected, than his school-shaped counterpart."5  I personally work towards a college degree only because it is required by many employers. I tend to avoid working on my school work as much as possible to focus on more important things such as practical education through doing. Academia has become a largely commercialized institution that seeks not to teach but to make a profit, and in my opinion it charges more for its product than it is worth.

    Hackers tend to detest "All the works of Microsoft. Smurfs, Ewoks, and other forms of offensive cuteness. Bureaucracies. Stupid people. Easy listening music. Television (with occasional exceptions for cartoons, movies, and good SF like Star Trek classic or Babylon 5). Business suits. Dishonesty. Incompetence. Boredom. COBOL. BASIC. Character-based menu interfaces."6 Although some of these dislikes are harmless, such as Ewoks, others are not. I have found that many times my culture clashes with that of the rest of the world, because of my contempt for things like bureaucracy,  incompetence, and dishonesty. The rest of society seems to find these ineffective behaviors acceptable to the point of expected. I do not like the idea that I am expected to lie, so that other people may feel good about there own incompetence rather than improving themselves.

    "For those all-night hacks, pizza and microwaved burritos are big. Interestingly, though the mainstream culture has tended to think of hackers as incorrigible junk-food junkies, many have at least mildly health-foodist attitudes and are fairly discriminating about what they eat. This may be generational; anecdotal evidence suggests that the stereotype was more on the mark before the early 1980s."7 We hackers actually tend to be slight gourmets, preferring the finer, and more exotic foods in life. I myself enjoy going out for sushi on a regular basis. It is not uncommon for hackers to enjoy strongly ethnic foods of other cultures. We are very discriminating and many of us can probably tell the difference between good ethnic food, and cheap knockoffs almost as well as people who are native to that ethnicity. I have a strict policy of "don't knock it 'till you try it", this applies to many things including food.

    "Hackerdom is still predominantly male. However, the percentage of women is clearly higher than the low-single-digit range typical for technical professions, and female hackers are generally respected and dealt with as equals."8 I generally concur with this, we tend to be quite blind to gender, although this may have something to do with the fact that rarely we know the gender of who we are working with. On the note of 'equals' I should clarify in saying that a male would be treated the same as a female in the same scenario. Remember, we are a meritocracy, and a moron is still that.

    "In the U.S., Hackerdom is predominantly Caucasian with strong minorities of Jews (East Coast) and Orientals (West Coast)."9 "The ethnic distribution of hackers is understood by them to be a function of which ethnic groups tend to seek and value education. Racial and ethnic prejudice is notably uncommon and tends to be met with freezing contempt."10 I personally recall that my High School seemed to have a fairly high number of racists in it, and I suspect that St. Johns, MI is quite racist, which is why there is a very low number of non-whites in the community. I find this behavior beyond contempt. I admit to having some personal contempt for the Indians (India) this is caused not so much by any true racism and more of a contempt for Help Desks being outsourced to their country. There incompetence and inability to be an effective tool at what they've been tasked is the source of my disdain. I also disdain the US Companies that have made this unpatriotic, greedy, and unquality decision.

    Religiously Hackers tend to be "Agnostic. Atheist. Non-observant Jewish. Neo-pagan. Very commonly, three or more of these are combined in the same person. Conventional faith-holding Christianity is rare though not unknown."1 I was raised to be a Protestant Christian, and sometimes it comes through as it was very much ingrained as a child. I am actually an agnostic, wit slight leanings towards Buddhism and the occult, neither of which are uncommon in the hacker community.

    I was not raised a Hacker, at least not in my opinion, although there were things that were slightly Hackish in my upbringing. My adoptive mother makes all her food from scratch, and for a "home cooked" meal it is by far the best I have ever had, restaurants such as Bob Evans can't hold a candle to what she makes. My adoptive father could be described as a wood turning hacker. He turns wood on a lathe to make things such as bowls and vases, his work is unique, and among some of the best, he has even created his own tools and methods for doing so, this is definitely of the hacker nature. They are both conservative Christians, and a bit less open to new things than most hackers, they have a profound inability to learn new things, or try new things, I've found that in recent years I have been able to somewhat broaden there horizons, but this is quite limited.

    Both of my adopted parents were born in 1936 around Lansing, Michigan, Grand Ledge and Dewitt, respectively. They grew up at the end of the depression, and in fact my mothers earliest memory is that of getting electricity. She summarized her childhood as, "If you didn't need it, you didn't buy it". This was a 50/50 way in my childhood years, as I was a bit spoiled because she was unable to bear children herself. At the same time I didn't really get my first computer until I was 16, even though I'd been clamoring for something for years. I believe this was a two-fold cheapness they carried from the depression and a fear of new technology given there age. I had trouble acquiring things like cd players as well in the 90s. I've brought some of this with me into my adult years, although I prefer to be called frugal, as I don't buy what I don't need, but if I do need something I'm not cheap, you get what you pay for in my opinion. This was demonstrated by a cheap Apex dvd player they bought for me on my b-day, it died a year later, 2 weeks before it's warranty was up, circuit city replaced it with a newer Sony (I picked it) plus 3 year warranty and money back. These days I do my research on what I'm buying before I buy it, but I never pick the cheapest and rarely the most expensive, as neither end of the spectrum is a wise purchase.

    I find that my current mindset is one much more that of genetics than upbringing. Two of my three half sisters were straight A students in school and although I wouldn't call them Hackers they obviously have a high IQ, although they seem to be quite good at not putting there brains to use. I'm sure that they share a mutual opinion of me though.

    I share many of the same attributes as my biological parents, including my intelligence and stubbornness. Both of which I believe are considered 'German' traits. I lack many of there negative traits, except for the fact that I'm not the most pleasant person and I may get some of that from them. I feel as if I have actually picked the best attributes from both my upbringing and my genes and combined them.

    My grandparents on my adopted side were born around the turn of the century between 1897 and 1908. They'd gone from horse and buggy to men on the moon, color tv, and personal computers; I'm not entirely sure they actually had experience with the latter.  All of them had passed before I was born. They were all natives to this country all though my Mothers Grandmother came from germany to flee the war, one that predated world war 1.

    The celebration of Christmas, Thanksgiving and Easter has been in our family 3, or more, generations although I do not truly celebrate them as holidays, I merely attend  to be with family. The commercialization of these holidays is perverse, and the religious meaning holds no weight for me.

    My biological family seems to celebrate these holidays as well. However, my biological family is not close, to me or each other, the family on both sides is highly segmented into clicks even among immediate family. My biological grandparents are still alive but truthfully I don't know how to reach one of them at all, another I might have an email for, yet another I'm not on good terms with, and the last I do talk to occasionally but they are very sick.
    In general I now associate less with my family, and heritage than I do with the Hacker Culture.



  1. Jargon File http://catb.org/jargon/html/H/hacker.html
  2. Jargon File http://catb.org/jargon/html/H/hacker.html
  3. Jargon File http://catb.org/jargon/html/dress.html
  4. Jargon File http://catb.org/jargon/html/physical.html
  5. Jargon File http://catb.org/jargon/html/education.html
  6. Jargon File http://catb.org/jargon/html/hates.html
  7. Jargon File http://catb.org/jargon/html/food.html
  8. Jargon File http://catb.org/jargon/html/demographics.html
  9. Jargon File http://catb.org/jargon/html/demographics.html
  10. Jargon File http://catb.org/jargon/html/demographics.html

Feb 16, 2009

Banned from #funtoo


After significant time, consideration, and consultation with others in #funtoo, there is a consensus that the discussion in #funtoo should focus on Funtoo. Therefore, I have decided to ban you from #funtoo and encourage you to set up your own channel(s) for your personal efforts.
Please utilize Daniel Cordero (TheAppleMan) as your liaison for submitting patches and discussing technical issues.


I like how all of this was done behind the scenes... oh and I was never asked to leave. I just woke up this morning banned. I find it interesting that Gentoo and Sabayon are considered ok topics of discussion, and I probably wouldn't have gotten banned for saying use one of those. But Regen2 seems to be a sore spot. I would have left if asked... I find the ban unnecessary. Or maybe I would have just idled watching for bug reports, I've unfortunately ended up laughing at most of them, as there have been quite a few on qt, and I preemptively masked the new qt, knowing that upstream wouldn't have it all sorted yet. Anyways... I'd like to state that I personally disagree with all the private discussions that go on in Funtoo. In gentoo the problems are public and distracting, when I was part of Funtoo, they were made private, this does not appear to be different now. It's possible this was discussed in #funtoo-dev as I stopped hanging out in that room when I stopped being a funtoo-dev. I think in general it's a bit hypocritical. I suppose you could say, "you were asked to not talk about regen2 what did you expect?", I didn't actually expect not to get banned, I did expect to be asked to leave, or shut up, with the threat of being banned first.

Daniel Cordero (TheAppleMan) has offered to grab patches from the regen2-dev mailing list. no solution for overlays for funtoo was ever decided. I have left it up to them to figure it out, since I refuse to maintain both my tree and apply patches to theirs... (and remove them when they don't want them). I can't actually guarantee either my individual patches or the overlays will be merged.

I'll be continuing to import patches from funtoo, although recently I realized it will be most likely impossible to get them all as drobbins commits quite a few patches during his merges. I recently found out that udev had been updated and had some house cleaning done (there is no stable udev in funtoo now (I think I didn't actually check keywords)) all versions before 135 are gone. So I checked to see if I missed a patch... I didn't which means it was changed in a merge... those are the only commits affecting those directories.

Best of luck to Funtooers.

NOTE: ah... I apologize for the formatting issue in the blockquote, seems to be a problem with blogger. I've fixed it best I can.

Feb 11, 2009

open letter to Dan Robbins - merge regen2

I had an interesting conversation with thewtex on #funtoo yesterday. My conclusion is, this divergence of tree's is stupid. We should be working on a common base, at least common enough that users could relatively easily merge our tree's. My tree is currently ahead of yours in content by 3 sunrise merges, 1 mpd, and the 2 merges of the python overlay. Your users can't easily get these updates.

Due to the fact that we have irreconcilable views on what patches we allow, the fork must remain. However, users don't have to suffer for it. The solution is to base funtoo.org on regen2.org. I can't base regen2.org on funtoo.org because I have stricter QA policies, however those policies shouldn't negatively affect funtoo, I can continue to cherry-pick patches that you wish to put into funtoo, so they end up in regen2 as well.

This will require that you, trust me enough to merge the tree. I will be handling the gentoo and overlay merges. You will simply merge my tree daily.

In order to resolve the differences of the tree as they stand I suggest creating a funtoo.org2 branch that's based on regen2.org and discontinuing the maintenance of funtoo.org. cherry-pick any patches I haven't applied to regen2 (I can point out which ones) and apply any other changes you need to. The other option is to merge my tree, this will be painful and arduous for you, but require no work on the part of your users.

This resolves many problems. 1 you won't have to deal with the main tree or overlays, 2 you won't have to run your patches by me and can do what you want, 3 users get the best of both worlds, 4 developers can choose to email you inline patches, or send me pull requests. Everyone should go home happy from this.

what say you?

P.S. I will not have it said that I want a rift in the community, I want whats best for all kinds of users and the status quo is not.

EDIT: in short the answer is no. drobbins doesn't want to merge my tree, as it's supposedly untrusted, he also doesn't want to cherry-pick patches out of my tree. I don't want to spend time merging the overlays just for Funtoo, on top of merging them for Regen2. Apparently my bug fixes, and version bumps aren't good enough for Funtoo.

Feb 8, 2009

tag builds

This is just a feature concept. May or may not ever happen. Live builds for portage usually run off the trunk/master branch of a scm tool. This is a great idea, but why couldn't we take this a step further, usually people who use scm's 'tag' there releases, so why couldn't the same 'live' build have an option for using a tag instead of trunk. This would allow releases to roll out much faster too. The downside of this is hard drive space for keeping repository checkouts.