Language:
switch to room list switch to menu My folders
Go to page: First ... 83 84 85 86 [87] 88 89 90 91 ... Last
[#] Thu Oct 20 2011 04:06:38 EDT from the_mgt @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I have absolutely no clue about those tools, I merely use them when I write ebuilds for gentoo. And there are only really few tarballs out their which don't need some patching and throwing of options in order to configure and build properly. Most of them seem to have been tried only on the coders own computer. So the "auto" is kind of a sick joke, like the "easy" is in the MS world.

I recently found out about WAF, which is so ubar, you ship a version of the waf script with your tarball instead of relying on a version isntalled on your system. Samba4 uses it, also some other bigger tools.

http://code.google.com/p/waf/

 



[#] Thu Oct 20 2011 04:42:35 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

so... theres a python solution for it..



[#] Thu Oct 27 2011 14:00:48 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

this was years ago, of course; maybe they've got their act together
now.

yeah, like things generally get better over time. Right.
I applaud your efforts, but the world around you just sucks.

[#] Sat Oct 29 2011 22:22:57 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Should we have a discussion about our favorite programming fonts?

I just discovered Inconsolas and I've got to say it is one of the nicest I've seen. It just became my primary console font on all of my desktops and laptops.

Some of my other favorites have been ProFont and Terminus, but these only look good at specific point sizes.

[#] Sat Oct 29 2011 22:24:25 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Shall we have a discussion about our favorite programming fonts?

I just discovered Inconsolata and I've got to say it is one of the nicest I've seen. It just became my primary console font on all of my desktops and laptops.

Some of my other favorites have been ProFont and Terminus, but these only look good at specific point sizes.

[#] Fri Nov 11 2011 08:08:22 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

found in the feeds...

http://linux-news.org/index.php/2011/11/10/how-to-debug-bash-scripts/

did you know the line number parts?

In large scripts, it may be helpful to prefix this debugging output with the script name, line number and function name. You can do this by setting the following environment variable:

export PS4='+${BASH_SOURCE}:${LINENO}:${FUNCNAME[0]}: '

Let’s trace our example script again to see the new debugging output:

$ bash -x example_script.sh +example_script.sh:2:: echo 'Hello ayman,' Hello ayman,




[#] Sun Nov 13 2011 10:04:32 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

"I am looking forward to using these very useful debugging capabilities on my next Bash scripting project."

What a dork.

[#] Mon Nov 14 2011 12:05:51 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

He even becomes more interesting if you click on him and follow the link to his home page. From there you can even view his resume/CV. It says he's a member of Toastmasters. I am looking forward to hearing his very useful comments during the next toast.

[#] Sat Dec 03 2011 23:01:11 EST from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

 

Sat Oct 29 2011 10:24:25 PM EDT from IGnatius T Foobar @ Uncensored
Shall we have a discussion about our favorite programming fonts?

I just discovered Inconsolata and I've got to say it is one of the nicest I've seen. It just became my primary console font on all of my desktops and laptops.

Some of my other favorites have been ProFont and Terminus, but these only look good at specific point sizes.

I have been searching for a good way to reproduce that green screen on an Apple ][ or a TS-1000 for fun in a Vim session, but have not found the key yet.

Ax25



[#] Mon Dec 05 2011 05:53:51 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Well if you want the deliberate lo-res of a classic 8-bit computer, then you definitely want to install the font called "atarismall". It's delightfully retro.

[#] Mon Dec 05 2011 08:49:03 EST from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Looked a little small for my eyes.  I would probably need to have the full experience via tv out to a low resolution x window.



[#] Mon Dec 05 2011 14:35:40 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Of course it's small. It's intended to render 40 columns on a 320x192 screen.
You're going to have to blow it up real big for that pixellated look :)

[#] Mon Dec 05 2011 14:47:06 EST from zooer @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I know that Xscreensaver has an apple // screen saver.
http://www.jwz.org/xscreensaver/screenshots/

Don't know if the source code is avalable and you could look at the font, etc



[#] Mon Dec 05 2011 23:29:14 EST from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I think I will need to accomplish this by busting out the TS2040 printer and using it as a teletype.  But that would mean cutting many rolls of thermal fax paper in to the right width.  That would display nicely though.  Of course it would be easier just burn a rom with it on it for the Video Brain , but that is in the shop for repair :-)

I think someone should move this to the Ancient Computing room.

Ha.



[#] Mon Dec 05 2011 23:30:07 EST from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Great idea!  That font shows how it is built and might be able to be scaled up without much trouble.



[#] Mon Dec 12 2011 13:06:05 EST from skpacman @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I don't see what the big deal is with using "IF" in programming, as long as it's not a massive program. For my uses (small php-based pages, or cms), I see no real reason to move away from using IF's since they don't really get in the way.

For larger programs, though, object-oriented logic seems much easier to scale and change than hard IF statements..

I guess I'm kinda on the fense for that one...



[#] Mon Dec 12 2011 14:41:52 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Dec 12 2011 14:15:40 EST from Spell Binder @ Uncensored
Rumpelstiltskin lookup?

if foo==1 {

} else if foo ==2 {

 

} else if foo == 3 {

 

}....

while readable maybe true up to half a dozend ones, it usualy grows more over time, and performance drops.

maintaineability also grows harder over time.

and once you reach 3 layers of if / loops/ etc inside of such a rumpelstilskin lookup, or even a second layer of rumpelstilskin lookup, maintaineability grows to a nitemare.

for that reason the linux kernel has a styleguide for the maximum depth  in braces through the 8 tabs indention and a maximum of 80 columns, and a limited number of lines per function.

for example

webcit/messages.c:readloop()

was in such a state, where you wouldn't be able to tell from reading through it whether touching a line would introduce bugs in one of the message views by reading through it on and on.

I wouldn't say its perfect now, plus you still have to read a lot to understand it, but once you did all that reading, its a pretty safe guess which code belongs to which view, and where to look for bugs in the webinterface.

btw, these both websites are most of just marketing blurb for a special consulting company ;-) but the title is nice to ignite discussions.



[#] Mon Dec 12 2011 14:15:40 EST from Spell Binder @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Rumpelstiltskin lookup?

[#] Mon Dec 12 2011 12:14:58 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Sometimes it's appropriate to do a Rumpelstiltskin lookup -- they're *readable* .

[#] Mon Dec 12 2011 11:06:09 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Go to page: First ... 83 84 85 86 [87] 88 89 90 91 ... Last