Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FEATURES="candy"
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Should we remove FEATURES="candy"
yes
58%
 58%  [ 251 ]
no
41%
 41%  [ 179 ]
Total Votes : 430

Author Message
Slalomsk8er
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 228
Location: Münchenstein, Switzerland

PostPosted: Wed Apr 19, 2006 9:43 am    Post subject: Reply with quote

I am for keeping it but put it in a extra file so users can easy chang the lines it prints.

Give me a USE="easteregg" so I can add it like the offensive flag I enjoy and Flamie can have his clean way.

After all choice is the gentoo way and why I am here.
Back to top
View user's profile Send private message
Deepak420
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 173
Location: Beantown

PostPosted: Wed Apr 19, 2006 12:47 pm    Post subject: Reply with quote

Flamie wrote:
I suggest you remove them, and make a patch that re-applies them. then I can USE="candy" if I want them, and everyone will be happy (except me, since I think it's just a waste of (a few kb)*(hundreads of thousands of users)*(each new release of portage) amount of bandwidth.


It's a few dozen bytes not a few kilobytes (that's a lot of plain text). What's your connection speed anyway? And if it's not enabled it doesn't affect anything. And I really doubt if any of the modulizing will produce a net reduction in space.

A little personality never hurts.
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Wed Apr 19, 2006 2:36 pm    Post subject: Reply with quote

a quick exam of /usr/bin/emerge and I could rip out 1.4kb of easter eggs. I do not now if there is more or if there is other in other packages.

what I do know is that 1.4kb is a small but significant amount when multiplied with every single gentoo user downloading portage, for every time there is a release.

but as said, small numbers, so I tolerate them.
The best solution still would be to make it available for those who explicitly desire so, and leave it disabled for the rest.

Cheers.
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Wed Apr 19, 2006 10:48 pm    Post subject: Reply with quote

Q-collective wrote:
In the case of OOo it's a principle matter though: The devs apperently have more priority making games then optimizing, modularizing and unbloating the OOo code.


I stated something similar to this in another thread, putting in easter eggs and other things like that tells me that the developers believe that the code is fine just as it is, no bugs or anything bad, so they can spend their time putting in extra stuff that has nothing to do with the funtionality of the program.
_________________
Adopt an Unanswered Post
Report violations, duplicates, misplaced, etc
Back to top
View user's profile Send private message
Unne
l33t
l33t


Joined: 21 Jul 2003
Posts: 616

PostPosted: Thu Apr 20, 2006 2:22 am    Post subject: Reply with quote

nightmorph wrote:
ian! wrote:
My vote: Kick it.

Same for `emerge moo`. It's just silly.

I didn't know we weren't allowed to have fun in Gentoo.

Keep it! It's a very few lines of easily maintainable code right at the top of /usr/bin/emerge. It's a nice touch of Gentoo uniqueness.


Exactly. Please keep it. The few hundred clock cycles or few nanoseconds of wasted time processing this code isn't going to kill anyone. It's just ridiculous to even take that into consideration. We may as well make the argument to remove all the Larry the Cow graphics from the website too, because hey, that will save tons more bandwidth and download time.

Linux should be fun. It's nice to know there are human beings working on this stuff, rather than a nameless emotionless corporate entity of some sort. I'm going to guess that this kind of thing also serves to keep the developers sane. Programming is mental torture sometimes. Sometimes you need ways to vent, or keep yourself motivated or interested.
_________________
Obligatory hompage link.
Back to top
View user's profile Send private message
capkanada
n00b
n00b


Joined: 06 Dec 2004
Posts: 21
Location: Currently? In your head! :-3

PostPosted: Thu Apr 20, 2006 12:29 pm    Post subject: Reply with quote

I vote that it stays. True, I just found out about it today from reading the GWN, but I agree that its the little things like this that make using Linux and FOSS software fun and interesting.

Besides, that way you at least get some sort of a change in things when emerging something. The spinner is nifty, but it does get old after a while. ;)

[CK@gentoo]$ Please don't take my FUNCTION="candy" away! :cry:
Back to top
View user's profile Send private message
oot
n00b
n00b


Joined: 03 Nov 2003
Posts: 49

PostPosted: Thu Apr 20, 2006 1:13 pm    Post subject: Reply with quote

Quote:
Changing the spinner to a colorful spinner would be a better idea for the "candy" than a sentence you can't read and it would tend to go along with the rest of the Gentoo tools, with almost every Gentoo specific tool having some sort of color in the output.


Remember, i think a couple years ago now, when the spinner went one direction?
It was at the time that it was changed to alternating that i remember experimenting with a multi-colored spinner, whilst in that general vicinity of the emerge code, changing the spinner back to one direction.
I've since quit changing it, cause it became a pain to update every time portage was vamped again.

Anyway, it's never bothered me that there was another way to gaze at the emerge spinner.
With all that extra code and all.
I tried the candy spinner for awhile, but decided 8O to go back to the plain one.

If it's that big a deal, i like the idea of a USE flag for it.
But why should the folks that like that kind of thing have to add a flag to their stuffs?
Why not make a USE=hardass flag for the folks that don't?

) Please prepare for off topic;
)And as for the moomerge... there really should be a use flag to disable that.
)Cow teats are too erotic.
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Thu Apr 20, 2006 4:19 pm    Post subject: Reply with quote

Keep it, for two reasons:

  • Gentoo is founded on choice - don't take this choice away from the users, however small a minority they are!
  • It's fun! I love finding easter eggs like this, even if I don't use them - it gives the program personality, and shows it's been developed by real people.

_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
CPUFreak91
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 110
Location: Mars

PostPosted: Thu Apr 20, 2006 6:54 pm    Post subject: Actually it's not too bad. Reply with quote

I love emerge moo! It's hilarious.

Now that I look at the code, I see that the random phrase isn't too bad after all. My problem with it is that my computer is too slow for me to read it! However if the developers were to add an option (say... emerge portage-candy) to display the sentence as a whole and have a green "cursor" fly accross the printed letters, that would be cool and I would really enjoy it. Plus the community could add more "fortunes".
If this were to happen I would sure donwload it however big it might be.

EDIT: An increase of CPU speed (thanks to overclocking) has changed my opinion from my last post.
_________________
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2
Back to top
View user's profile Send private message
zigver
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 87

PostPosted: Thu Apr 20, 2006 7:21 pm    Post subject: Reply with quote

jedsen wrote:
Again, Bob P, thank you for that steaming load of useless crap.


He makes some good points. However, it's pretty much useless on faster machines and I personally won't ever use it so I say boot it.
Back to top
View user's profile Send private message
larand54
l33t
l33t


Joined: 20 Feb 2004
Posts: 688
Location: Sweden

PostPosted: Thu Apr 20, 2006 8:55 pm    Post subject: Reply with quote

I need it! Keep it!
They who do not want it - keep out of it! It's simple never enable it.

If I'll sit and wait for the emerge to start, it is sure more interesting to look at than the spinning char '\|/'.
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sun Apr 23, 2006 8:04 am    Post subject: Reply with quote

oot wrote:
Quote:
Changing the spinner to a colorful spinner would be a better idea for the "candy" than a sentence you can't read and it would tend to go along with the rest of the Gentoo tools, with almost every Gentoo specific tool having some sort of color in the output.


Remember, i think a couple years ago now, when the spinner went one direction?
It was at the time that it was changed to alternating that i remember experimenting with a multi-colored spinner, whilst in that general vicinity of the emerge code, changing the spinner back to one direction.
I've since quit changing it, cause it became a pain to update every time portage was vamped again.

Anyway, it's never bothered me that there was another way to gaze at the emerge spinner.
With all that extra code and all.
I tried the candy spinner for awhile, but decided 8O to go back to the plain one.

If it's that big a deal, i like the idea of a USE flag for it.
But why should the folks that like that kind of thing have to add a flag to their stuffs?
Why not make a USE=hardass flag for the folks that don't?

) Please prepare for off topic;
)And as for the moomerge... there really should be a use flag to disable that.
)Cow teats are too erotic.


Good and valid point about which of the camps that should be enabling a useflag to get what they want. To state my opinion I think that the code which is not the applications main function is an add-on and should be treated just like other options you have in gentoo, disabled/enabled as per the profile default and then anyone who wish can override. (my useflags start with: USE="-* ... ")

Mod edit: Enabled BBCode in this post for readability. --kallamej
Back to top
View user's profile Send private message
as.gentoo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2004
Posts: 110

PostPosted: Sun Apr 23, 2006 8:36 pm    Post subject: Reply with quote

It's nice! Please keep it! :D

klick klick klick...
*adding candy to FEATURES*
Back to top
View user's profile Send private message
tuxp3
n00b
n00b


Joined: 28 May 2004
Posts: 61

PostPosted: Sun Apr 23, 2006 9:21 pm    Post subject: Reply with quote

To all those who say boot it: Lets get rid of the spinner too.. just make it a flashing cursor...

Now, I don't know about you, but I think this entire discussion (including my contribution) is more wasteful (interms of time, bandwidth, and clock cycles) then the actual candy. One of the things I would like to see is the 'candy' revamped every now and then, but only when time allows; not a priority.

Anyways, Yes, stop complaining and leave it be,
Tux
Back to top
View user's profile Send private message
hurricane
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 100

PostPosted: Mon Apr 24, 2006 1:17 pm    Post subject: NOOOOO! Leave it in there! Reply with quote

But change it in a loading percent displayer, because nowadays emerge got so extremely slow that it makes you so totally mad to wait for the "atv" in "emerge -auDtv world", that we NEED something to look at while it's running. Something nice.

And looking at the slowness we even need *more* eye candy. Especially at the loading phase and in splitting the compiler output and the important messages!

So go away all you "*i* never used it, so *we* don't need it"! Have you ever used a defibrillator? I guess not. Does this make it useless for other poeple? No!
So use it an *then* you are allowed to say your opinion!
Thank you!
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Mon Apr 24, 2006 1:24 pm    Post subject: Reply with quote

hurricane wrote:
So go away all you "*i* never used it, so *we* don't need it"! Have you ever used a defibrillator? I guess not. Does this make it useless for other poeple? No!

Hahaha! A good point, and well made! :D

candy stays!
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
DukeSniper
n00b
n00b


Joined: 25 Jul 2005
Posts: 4
Location: Hofheim, Germany

PostPosted: Tue Apr 25, 2006 9:49 pm    Post subject: Reply with quote

I'd say keep FEATURES="candy"

There's been a few comments asking to put the fortunes into a seperate, maybe community-filled file. If anybody got the time and skills, why not a) modularize and b) put that file somewhere onto the rsync servers so that it only syncs when you set FEATURES="candy"? This way, it gets kicked out of the main emerge script and bandwidth for the fortune file will be used only if FEATURES has been set and the file actually changed.

I'd do it myself, but I can't do Python (yet)
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Wed Apr 26, 2006 12:53 am    Post subject: Reply with quote

Napalm Llama wrote:
hurricane wrote:
So go away all you "*i* never used it, so *we* don't need it"! Have you ever used a defibrillator? I guess not. Does this make it useless for other poeple? No!

Hahaha! A good point, and well made! :D

candy stays!


It doesn't say Developer under your screen name, so I'm pretty sure you aren't judge, jury, and executioner.
_________________
Adopt an Unanswered Post
Report violations, duplicates, misplaced, etc
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Wed Apr 26, 2006 1:39 pm    Post subject: Reply with quote

Executioner? But I want to keep it alive!

And we're all the jury, at any rate...
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Thu Apr 27, 2006 6:24 am    Post subject: Reply with quote

Napalm Llama wrote:
Executioner? But I want to keep it alive!

And we're all the jury, at any rate...


The term judge, jury, and executioner is a phrase; maybe it hasn't reached the other side of the pond, but I know it's been around for a long time.

You seem to be giving the last word in your previous post. But in your post you seem to say it stays because you say so. I've used it, don't have a need for it because my computer is fast enough that I cannot see what's happening, sometimes I can't even see the spinner, just a white dot or something.

I only need the spinner to let me know something hasn't gone wrong and locked up. I run my emerges on a terminal, typically in another workspace. I completely support a modularization and new use flag for the candy. If the devs are going to spend some time putting in this kind of stuff, they can spend the extra little bit of time modularizing it.
_________________
Adopt an Unanswered Post
Report violations, duplicates, misplaced, etc
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Thu Apr 27, 2006 10:19 am    Post subject: Reply with quote

Yes, I know the phrase - I was just trying to avert a flamewar by being humourous.

Now let's forget the whole silly incident ever happened.
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
ali3nx
Guru
Guru


Joined: 21 Sep 2003
Posts: 476
Location: Winnipeg, Canada

PostPosted: Sun May 07, 2006 11:25 am    Post subject: Reply with quote

How difficult could this be to maintain?

Code:
spinner_msgs = ["Gentoo Rocks ("+os.uname()[0]+")",
                "Thank you for using Gentoo. :)",
                "Are you actually trying to read this?",
                "How many times have you stared at this?",
                "We are generating the cache right now",
                "You are paying too much attention.",
                "A theory is better than its explanation.",
                "Phasers locked on target, Captain.",
                "Thrashing is just virtual crashing.",
                "To be is to program.",
                "Real Users hate Real Programmers.",
                "When all else fails, read the instructions.",
                "Functionality breeds Contempt.",
                "The future lies ahead.",
                "3.1415926535897932384626433832795028841971694",
                "Sometimes insanity is the only alternative.",
                "Inaccuracy saves a world of explanation.",
               ]


def update_basic_spinner():
        global spinner, spinpos
        spinpos = (spinpos+1) % 500
        if (spinpos % 100) == 0:
                if spinpos == 0:
                        sys.stdout.write(". ")
                else:
                        sys.stdout.write(".")
        sys.stdout.flush()

def update_scroll_spinner():
        global spinner, spinpos
        if(spinpos >= len(spinner)):
                sys.stdout.write(darkgreen(" \b\b\b"+spinner[len(spinner)-1-(spinpos%len(spinner))]))
        else:
                sys.stdout.write(green("\b "+spinner[spinpos]))
        sys.stdout.flush()
        spinpos = (spinpos+1) % (2*len(spinner))

def update_twirl_spinner():
        global spinner, spinpos
        spinpos = (spinpos+1) % len(spinner)
        sys.stdout.write("\b\b "+spinner[spinpos])
        sys.stdout.flush()

def update_quiet_spinner():
        return

spinpos = 0
spinner = "/-\\|/-\\|/-\\|/-\\|\\-/|\\-/|\\-/|\\-/|"
update_spinner = update_twirl_spinner
if "candy" in portage.settings.features:
        spinner = spinner_msgs[int(time.time()*100)%len(spinner_msgs)]
        update_spinner = update_scroll_spinner


Same patch of code hasn't changed in years :)
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Sun May 07, 2006 12:16 pm    Post subject: Reply with quote

Code:
"When all else fails, read the instructions."

This has to be my favorite. And yeah, it's not hard to maintain . . . you just leave it where it is along with the existing spinner code. :)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7810
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun May 07, 2006 12:45 pm    Post subject: Reply with quote

ali3nx wrote:
...Same patch of code hasn't changed in years :)

Although technically true, there has been (inadvertent) coding activity in the other easter egg as recently as last year (see bug 100001: "Larry the Cow has suffered an udder amputation"). :)

- John


Last edited by John R. Graham on Mon May 08, 2006 12:30 pm; edited 2 times in total
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3680
Location: London, UK

PostPosted: Mon May 08, 2006 10:07 am    Post subject: Reply with quote

I've discovered this candy feature and I like it... there should be some other "loaders" ;)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum