Re: graphics card
On Mon, 22 Oct 2012 15:56:56 -0500, ajtiM wrote: Hi! I have an old computer but it works good still :). I use KDE and GIMP and I like to use Krita more but a problem is graphics card and it is slow (Gimp is okay). I have ASUS P4P800 mother board and ATI Radeon 9000 AGP graphics card. I look for some Nvidia AGP cards (opengl 2.0) but the problem is because my motherboard AGP supports +1.5V only. Which gr. card would be better than my but I could use on my motherboard, please? I've been using an ATI Radeon 9200 (RV250) with XFree86's and later X.org's ati driver without any problems. Even shooters did play very well. I've also been using Krita and Gimp on that system (Pentium 4 based mainboard), running FreeBSD 4, 5 and 7. There are several options for X you can tweak, and the native ati driver is excellent for the older ATI models. Make sure you have DRM/DRI working, and check for GL support (glxinfo, glxgears, xvinfo; install xlockmore and see xlock -nolock -mode fire). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Jim is 175% _older_. Why? Because 100% older means 16 years, as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24). Percentage is always a reference to something else, in this question, Jim's age in relation to John's. The word older means adding percentage, refering to the base value of 8, divided in 100 parts (floating point considerations aside), to finally reach the value 22. If the question would be different, say, What's the percentage of John's age regarding Jim's age? In that case, it would be 8/22=0.3636 being 36%. Obvious: John's age is approximately 1/3 of Jim's age. The easiest way for creating the proper calculation is to refer to the equation percentage * 100 percentage value = base value and resolve it to whatever is required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John No, a subtraction is needed if we wish to use the term older. Suppose Jim were 9; the above approach would give 9/8 = 1.125 so Jim is 113% older than John, which is clearly wrong (although one could correctly say in that case that John's age is 113% of Jim's age). I think the OP is probably looking for ((22 - 8) * 100 + (8/2)) / 8 which will give the answer directly as a correctly-rounded integral percentage. (For a fractional percentage, use floats instead of ints and omit the (8/2) part -- but in that case you probably also want to express the ages in something other than whole years.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: license
On Mon, 22 Oct 2012 16:01:03 -0500, ajtiM wrote: Again me Last time I try to make some T-shirts which I have on my redbubble page. It is not a big nmoney, I didn't sell anything just one card :) but I like to make a T-shirt design with Beastie on it too. Do I need a permission for using Beastie or it is free or I cannot use. The required information (including the proper copyright and useful contact information) can be found here: http://www.freebsd.org/copyright/daemon.html http://www.mckusick.com/beastie/index.html http://www.mckusick.com/beastie/mainpage/images.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
nanobsd configuration
hi i have a problem with nanobsd. there are somethings which don't have WITHOUT knobs, how can i control these directories manually ? how can i add a costume function to nanobsd.sh to do this ?? thanks ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mfi driver at FreeBSD 8.2
Hi, I remember someone sending a bug report about mfi driver on FreeBSD 8.2 Can I see the list of these bugs? Couldn't find any email about it. (I remember i have read but can't find it ) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mfi driver at FreeBSD 8.2
On 23/10/2012 09:37, Omer Faruk SEN wrote: I remember someone sending a bug report about mfi driver on FreeBSD 8.2 Can I see the list of these bugs? Couldn't find any email about it. (I remember i have read but can't find it ) Sure. Like this you mean?: http://www.freebsd.org/cgi/query-pr-summary.cgi?category=severity=priority=class=state=sort=nonetext=mfiresponsible=multitext=originator=release= To get that, use the form here: http://www.freebsd.org/cgi/query-pr-summary.cgi and enter 'mfi' into the 'Text in single-line fields' box and then click on the 'Query PRs' button. You might need to play with some of the other fields in that form in order to find exactly the right PR. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Bug in LAGG driver at 9.0 ?
Hello I cannot get the lagg driver to work properly at 9.0 the Cisco switch is well configured to support LACP no problem on that side it supports another Linux server with two aggregated eth ports that works well. here is the config of the FreeBSD 9.0-P3 server ifconfig_bce0=up ifconfig_bce1=up ifconfig_bce2=up cloned_interfaces=lagg0 ifconfig_lagg0=laggproto lacp laggport bce0 laggport bce1 laggport bce2 ipv4_addrs_lagg0=147.215.201.21/24 defaultrouter=147.215.201.1 showing the lagg configuration give the following , only one ethernet port is active. ifconfig lagg0 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 00:9c:02:9a:97:b0 inet 147.215.201.21 netmask 0xff00 broadcast 147.215.201.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto lacp laggport: bce2 flags=0 laggport: bce1 flags=0 laggport: bce0 flags=1cACTIVE,COLLECTING,DISTRIBUTING Thanks for any info/idea ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nanobsd configuration
On 10/23/12 09:28, Jack Mc Lauren wrote: hi i have a problem with nanobsd. there are somethings which don't have WITHOUT knobs, how can i control these directories manually ? how can i add a costume function to nanobsd.sh to do this ?? How about something along the lines of cust_clean () { rm -rf ${NANO_WORLDIR}/path/to/unwanted } customize_cmd cust_clean in your nanobsd config file? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nanobsd configuration
From: Arthur Chance free...@qeng-ho.org To: Jack Mc Lauren jack.mclau...@yahoo.com Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Tuesday, October 23, 2012 2:54 PM Subject: Re: nanobsd configuration On 10/23/12 09:28, Jack Mc Lauren wrote: hi i have a problem with nanobsd. there are somethings which don't have WITHOUT knobs, how can i control these directories manually ? how can i add a costume function to nanobsd.sh to do this ?? How about something along the lines of cust_clean () { rm -rf ${NANO_WORLDIR}/path/to/unwanted } customize_cmd cust_clean in your nanobsd config file? === thanks you mean after building image, this function remove unwanted from WORLDDIR ? i suppose this will not effect the image, because the image had been built before removing unwanted directories ... did i get your point correctly ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Samba and handbook
According to http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html One can use samba_enable=YES Or, for fine grain control: nmbd_enable=YES smbd_enable=YES 20121022: AFFECTS: users of net/samba36 AUTHOR: ti...@freebsd.org Startup rc.d/samba script was modified to address some problems with the fine control of supplimentary daemons. As a side effect now it's always necessary to specify in rc.conf: samba_enable=YES to get the script working. You can still control each of the daemons individualy, by disabling/enabling them with: nmbd_enable=NO smbd_enable=NO winbindd_enable=YES The Handbook information is out of date because of this and should be corrected. thanks :-) /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipfw headers
On Tue, 23 Oct 2012 17:35:45 +0330, s m wrote: thanks for your quick reply. you know, i want to add studio.h header but the below error occurs: no such file or directory. i am sure that studio.h locates in usr/src/include but that error occured. if i write the full path of studio.h in ipfw file and then compile it, another error happened. do you know how i could fix it? thanks The normal inclusion #include stdio.h should be sufficient. However, if you make your change to ipfw in the /usr/src tree, calling make might default to a different path for obtaining headers, i. e. use them from within the src/ tree. The system defaults to several paths, in one of them stdio.h should be defined no matter what build command you use. /usr/include/stdio.h is the default file. /usr/include will be automatically used unless you change a compiler option (-I). /usr/src/include/stdio.h the file used when building stuff from source. This would be the case (if I remember correctly) when you call make from /usr/src/sbin/ipfw directly. As ipfw (unaltered) also includes headers next to stdio.h, it shouldn't be a problem. You can compare this to other #include preprocessor commands found in ipfw's main.c. Final note: If you did actually use the name studio.h - that is a typo. There is no u in standard I/O. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how many memory is needed for FreeBSD 9 ?
Le Mon, 22 Oct 2012 03:49:50 +1100, andrew clarke m...@ozzmosis.com a écrit : Hello, I'm updating an old laptop running FreeBSD 8.1 with 64 MB ram (44MB available) but now FreeBSD 9.1 panics at boot time: panic: kmem_malloc(4194304): kmem_map too small: 24584192 allocated? That's one very old laptop. I think you'll need to install more memory or downgrade FreeBSD to an earlier version. 1998, I think (HP Omnibook 900). I use it for small network testing and serial console access. It works well for this. Well I've put 8-STABLE on it (two days to make buildworld/buildkernel). Looks good. From my limited testing under VirtualBox, 96 MB RAM is about the lower limit that will allow FreeBSD 9.1-RC2 to boot before the swap partition is enabled. Any less and the kernel will freeze or panic at boot. This was with the amd64 version though, not i386. Thanks for this, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bug in LAGG driver at 9.0 ?
On 2012-10-23 06:02, Frank Bonnet wrote: Hello I cannot get the lagg driver to work properly at 9.0 the Cisco switch is well configured to support LACP no problem on that side it supports another Linux server with two aggregated eth ports that works well. here is the config of the FreeBSD 9.0-P3 server ifconfig_bce0=up ifconfig_bce1=up ifconfig_bce2=up cloned_interfaces=lagg0 ifconfig_lagg0=laggproto lacp laggport bce0 laggport bce1 laggport bce2 ipv4_addrs_lagg0=147.215.201.21/24 defaultrouter=147.215.201.1 showing the lagg configuration give the following , only one ethernet port is active. ifconfig lagg0 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 00:9c:02:9a:97:b0 inet 147.215.201.21 netmask 0xff00 broadcast 147.215.201.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto lacp laggport: bce2 flags=0 laggport: bce1 flags=0 laggport: bce0 flags=1cACTIVE,COLLECTING,DISTRIBUTING Thanks for any info/idea ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Can you post your Cisco Switch port configuration? I have a two port LAGG using lacp on two separate Dell PowerEdge servers running 9.0-RELEASEp3, below is my config in FreeBSD the only differences I see apart form 2 instead of three ports, is that I named the interface, and used a different syntax to specify the ip addresses, but yours should be correct as well. uname -v FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 26 10:27:21 CDT 2012 ifconfig_bce0=up ifconfig_bce1=up cloned_interfaces=lagg6 ifconfig_lagg6_name=DMZ ifconfig_DMZ=laggproto lacp laggport bce0 laggport bce1 ifconfig_DMZ_alias0=inet 10.50.20.5 netmask 0x ifconfig_DMZ_alias1=inet 10.52.20.5 netmask 0x defaultrouter=10.50.110.4 DMZ: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 78:2b:cb:68:9f:1e inet 10.50.20.5 netmask 0x broadcast 10.50.255.255 inet 10.52.20.5 netmask 0x broadcast 10.52.255.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto lacp laggport: bce1 flags=1cACTIVE,COLLECTING,DISTRIBUTING laggport: bce0 flags=1cACTIVE,COLLECTING,DISTRIBUTING -- Thanks, Dean E. Weimer http://www.dweimer.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: graphics card
On Tuesday 23 October 2012 01:34:33 Polytropon wrote: On Mon, 22 Oct 2012 15:56:56 -0500, ajtiM wrote: Hi! There are several options for X you can tweak, and the native ati driver is excellent for the older ATI models. Make sure you have DRM/DRI working, and check for GL support (glxinfo, glxgears, xvinfo; install xlockmore and see xlock -nolock -mode fire). I had this computer about 12 years and it works very good still. I didn't have problem with slow Krita before but now is not the same. IMO all graphics programs are more hungry for better gr. cards but GIM works still very good. I have ati native drivers, I have dr/drm installed but I don't use xorg.conf and it works. I ran glxgears -info in the small size windows and I got: glxgears -info GL_RENDERER = Mesa DRI R200 (RV250 4966) 20090101 AGP 4x x86/MMX/SSE2 TCL GL_VERSION= 1.3 Mesa 7.6.1 GL_VENDOR = Tungsten Graphics, Inc. GL_EXTENSIONS = GL_ARB_draw_buffers GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_fragment_shader GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays 9632 frames in 5.0 seconds = 1926.316 FPS 10262 frames in 5.0 seconds = 2052.362 FPS 10254 frames in 5.0 seconds = 2050.631 FPS 10262 frames in 5.0 seconds = 2052.296 FPS 10262 frames in 5.0 seconds = 2052.253 FPS 10262 frames in 5.0 seconds = 2052.279 FPS 10261 frames in 5.0 seconds = 2052.143 FPS 10262 frames in 5.0 seconds = 2052.282 FPS 10260 frames in 5.0 seconds = 2051.818 FPS 10261 frames in 5.0 seconds = 2052.118 FPS glxgears -fullscreen I got: glxgears -fullscreen 1453 frames in 5.0 seconds = 290.501 FPS 1490 frames in 5.0 seconds = 297.973 FPS 1490 frames in 5.0 seconds = 297.976 FPS 1490 frames in 5.0 seconds = 297.981 FPS 1490 frames in 5.0 seconds = 297.975 FPS 1490 frames in 5.0 seconds = 297.981 FPS 1490 frames in 5.0 seconds = 297.990 FPS 1490 frames in 5.0 seconds = 297.989 FPS 1490 frames in 5.0 seconds = 297.985 FPS 1490 frames in 5.0 seconds = 297.982 FPS 1490 frames in 5.0 seconds = 297.989 FPS 1490 frames in 5.0 seconds = 297.913 FPS glxinfo shows: name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_MESA_copy_sub_buffer client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap GLX version: 1.2 GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
Re: way way off topic
On Tue, Oct 23, 2012 at 11:31:18AM +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Olivier thanks. but this wasn't the formula I remember mousing down. I'll keep looking. gary ps: it was involved; something with three or more steps. things that I had crammed together in one line of C... to find the answer I had to find the relative difference {22 - 8} and then do something with the difference. this isn't any kind of trick or advanced-cognition; I just thought it was clever [and exact]. it obviously works for finding the abs() results in subtraction. it's something I found on the web and swipes and save the prose discussion. BZZT: Lost, :-( if this seems dumb, I plead guilty! im asking here because -questions is the sharpest list on the net. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, Oct 23, 2012 at 11:34:36AM +0700, Erich Dollansky wrote: Hi, On Mon, 22 Oct 2012 21:20:07 -0700 Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? to find the answer I had to find the relative difference {22 - 8} and then do something with the difference. this isn't any kind of trick or advanced-cognition; I just thought it was clever [and exact]. it obviously works for finding the abs() results in subtraction. it's something I found on the web and swipes and save the prose discussion. BZZT: Lost, :-( It seems that I am also lost. What should abs() do here? I would multiply the age of john and the difference with 100 and then divide the result to get the percentage. Or did I get lost here? if this seems dumb, I plead guilty! im asking here because -questions is the sharpest list on the net. Are you sure? Erich LOL. yes! it's been years since I used the steps to find the accurant amount of difference. it may not have involved a %. I can only think of one concrete example. lets say that x == 15 and y == 16. Q: how much less is x than y? it is not just 1; there was some other way of finding the answer. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Music production on FreeBSD
I know this is old, but I just saw it. Anyway, I make all of my music on LMMS. It's made for Linux as the name implies, but it works jut fine on FreeBSD. http://www.myspace.com/farmacyofhorror ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote: On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Jim is 175% _older_. Why? Because 100% older means 16 years, as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24). Percentage is always a reference to something else, in this question, Jim's age in relation to John's. The word older means adding percentage, refering to the base value of 8, divided in 100 parts (floating point considerations aside), to finally reach the value 22. If the question would be different, say, What's the percentage of John's age regarding Jim's age? In that case, it would be 8/22=0.3636 being 36%. Obvious: John's age is approximately 1/3 of Jim's age. The easiest way for creating the proper calculation is to refer to the equation percentage * 100 percentage value = base value and resolve it to whatever is required. I just took a cup's worth of coffee/caffeine to bring me back up! but it seems to me that your logic is about the same as I remember otherwise stated in getting the true differences in ages or speeds [say or cars. x == 200clicks/hr, y == 400 clicks/hour.] or *whatever*. it isn't as easy as it would seem at first thought. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote: On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Jim is 175% _older_. Why? Because 100% older means 16 years, as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24). Percentage is always a reference to something else, in this question, Jim's age in relation to John's. The word older means adding percentage, refering to the base value of 8, divided in 100 parts (floating point considerations aside), to finally reach the value 22. If the question would be different, say, What's the percentage of John's age regarding Jim's age? In that case, it would be 8/22=0.3636 being 36%. Obvious: John's age is approximately 1/3 of Jim's age. The easiest way for creating the proper calculation is to refer to the equation percentage * 100 percentage value = base value and resolve it to whatever is required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... yo; I THInk this is it. around line 4542 in my ~/.HowTo file:: %%% find percent inc/dec [increase/decrease] between two numbers. Always figure the percentage of change relative to the original value! For instance: * Suppose a certain item used to sell for seventy-five cents a pound, you see that it's been marked up to eighty-one cents a pound. What is the percent increase? First, I have to find the absolute increase: Reserved 81 - 75 = 6 The price has gone up six cents. Now I can find the percentage increase over the original price. This percentage increase is the relative change: 6/75 = 0.08 ...or an 8% increase in price per pound. So I was wrong about ages or speed; it's the % betwen two ints; here, the inc/dec [or change] between 75 cents as compared to an inflated increase of 81 cents. 1. find abs increase: 81-75 = 6; 2 find the % increase over the *original* value. 6.0/75.0 3. percent increase using doubles is 0.08; so a markup of six cents is an 8% rate. so: going back to the ages example with john bein 8, jim, 22. 22-8 is 14. 14.0/8.0 = 1.75 175%. jim is 175% times older than john. which is what you found, polyt. {I'll have to re-read your logic now that im awake..} Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%. etc, etc. Hm. that's 0 for gary, 729 for polytrop!! Ah, life:: accept no substitutes. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.1 and gmirror with GPT?
On Tue, 23 Oct 2012, free...@johnea.net wrote: In recent years I've just been creating a swap partition and one big root partition. It just seems as soon as I make all the traditional partitions, one runs out of room. Do you feel there are any major disadvantages of this approach? Backup of split filesystems can be easier. The traditional split-filesystem approach kind of separates things by use, and some people create a separate /home also. The advantage of one big root is efficient use of free space on small drives. To create a swap and then a root that fills the rest of the disk, must the swap be created first, like this: gpart add -t freebsd-swap -a 4k -s 4g mirror/gm0s1 gpart add -t freebsd-ufs -a 4k mirror/gm0s1 Is there any other way to tell gpart to create the / partition using all space except 4G? I'm afraid it requires one to Use Math(tm). gpart show will at least show the real capacity of a drive, instead of the diagonally-measured inflated units used by drive vendors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
% change = ( (present - past) / past ) * 100 On Tue, Oct 23, 2012 at 5:07 PM, Gary Kline kl...@thought.org wrote: On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote: On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Jim is 175% _older_. Why? Because 100% older means 16 years, as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24). Percentage is always a reference to something else, in this question, Jim's age in relation to John's. The word older means adding percentage, refering to the base value of 8, divided in 100 parts (floating point considerations aside), to finally reach the value 22. If the question would be different, say, What's the percentage of John's age regarding Jim's age? In that case, it would be 8/22=0.3636 being 36%. Obvious: John's age is approximately 1/3 of Jim's age. The easiest way for creating the proper calculation is to refer to the equation percentage * 100 percentage value = base value and resolve it to whatever is required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... yo; I THInk this is it. around line 4542 in my ~/.HowTo file:: %%% find percent inc/dec [increase/decrease] between two numbers. Always figure the percentage of change relative to the original value! For instance: * Suppose a certain item used to sell for seventy-five cents a pound, you see that it's been marked up to eighty-one cents a pound. What is the percent increase? First, I have to find the absolute increase: Reserved 81 - 75 = 6 The price has gone up six cents. Now I can find the percentage increase over the original price. This percentage increase is the relative change: 6/75 = 0.08 ...or an 8% increase in price per pound. So I was wrong about ages or speed; it's the % betwen two ints; here, the inc/dec [or change] between 75 cents as compared to an inflated increase of 81 cents. 1. find abs increase: 81-75 = 6; 2 find the % increase over the *original* value. 6.0/75.0 3. percent increase using doubles is 0.08; so a markup of six cents is an 8% rate. so: going back to the ages example with john bein 8, jim, 22. 22-8 is 14. 14.0/8.0 = 1.75 175%. jim is 175% times older than john. which is what you found, polyt. {I'll have to re-read your logic now that im awake..} Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%. etc, etc. Hm. that's 0 for gary, 729 for polytrop!! Ah, life:: accept no substitutes. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, Oct 23, 2012 at 05:52:02PM -0700, Gezeala M. Bacuño II wrote: % change = ( (present - past) / past ) * 100 yeah, this is exactly it for my how much more is 16 than 15 problem. or the ages example. It's 6.6[bar-over .6]% this is probably close to or exactly what was the core of my C [argc, *srgv[]] program. my error was in not understanding the logic that polttropon has given below. if/when I ever find that v short exercise, THIS time, il'l remember to 'splain stuff in /* * comments */ On Tue, Oct 23, 2012 at 5:07 PM, Gary Kline kl...@thought.org wrote: On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote: On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote: Gary, On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote: apologies up front for this math type quandary. I had it in a std C program, but 3+ hours of grepping havent found it. I would have bet my last cent that I had a summary Somewhere, but cant find that either. here is the problem as best I can remember it. let's say that john is 8 and his older friend, jim, is 22. how much older is exact percentage terms is jim? That should be 22/8=2.75 Jim is 275% older than John Jim is 175% _older_. Why? Because 100% older means 16 years, as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24). Percentage is always a reference to something else, in this question, Jim's age in relation to John's. The word older means adding percentage, refering to the base value of 8, divided in 100 parts (floating point considerations aside), to finally reach the value 22. If the question would be different, say, What's the percentage of John's age regarding Jim's age? In that case, it would be 8/22=0.3636 being 36%. Obvious: John's age is approximately 1/3 of Jim's age. The easiest way for creating the proper calculation is to refer to the equation percentage * 100 percentage value = base value and resolve it to whatever is required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... yo; I THInk this is it. around line 4542 in my ~/.HowTo file:: %%% find percent inc/dec [increase/decrease] between two numbers. Always figure the percentage of change relative to the original value! For instance: * Suppose a certain item used to sell for seventy-five cents a pound, you see that it's been marked up to eighty-one cents a pound. What is the percent increase? First, I have to find the absolute increase: Reserved 81 - 75 = 6 The price has gone up six cents. Now I can find the percentage increase over the original price. This percentage increase is the relative change: 6/75 = 0.08 ...or an 8% increase in price per pound. So I was wrong about ages or speed; it's the % betwen two ints; here, the inc/dec [or change] between 75 cents as compared to an inflated increase of 81 cents. 1. find abs increase: 81-75 = 6; 2 find the % increase over the *original* value. 6.0/75.0 3. percent increase using doubles is 0.08; so a markup of six cents is an 8% rate. so: going back to the ages example with john bein 8, jim, 22. 22-8 is 14. 14.0/8.0 = 1.75 175%. jim is 175% times older than john. which is what you found, polyt. {I'll have to re-read your logic now that im awake..} Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%. etc, etc. Hm. that's 0 for gary, 729 for polytrop!! Ah, life:: accept no substitutes. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
Hi, On Tue, 23 Oct 2012 18:13:05 -0700 Gary Kline kl...@thought.org wrote: On Tue, Oct 23, 2012 at 05:52:02PM -0700, Gezeala M. Bacuño II wrote: if/when I ever find that v short exercise, THIS time, il'l remember to 'splain stuff in /* * comments */ your programs are not self-explanatory? Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
귀하의 친구 :广州国际海运拼箱双清出口全包单证门到门、DDU、DDP;澳大利亚、新加坡、马来西亚、印度尼西亚、加拿大、新西兰等。 님이 귀하께서 Skype를 사용하도록 초대하였습니다
/PN/t?a=cm%5fmmc=EMTR|0312%5fB6-%5f-z212-%5f-0100231012KOkr%26ed_rid=_edid__%26ed_mid=45734207 개인 정보 http://my.email.skype.com/r/0GON5U1/GB25LN/A2PR61D/JMIEUZX/RDH6EC/PN/t?a=cm%5fmmc=EMTR|0312%5fB6-%5f-z212-%5f-0100231012KOkr%26ed_rid=_edid__%26ed_mid=45734207 [[0GON5U1-DOEE6B-GB25LN-A2PR61D-JMIEUZX-M-M2-20121023-c1328030425a]] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange system messages in 8.3
Hi, Two night ago, I upgraded my main server to FreeBSD 8.3 and since, I get those messages: Message from syslogd@banyan at Oct 19 01:15:32 ... banyan kernel: ) [...] I have all my servers running the same release, and this is the only on exibiting such behavious. FreeBSD banyan.cs.ait.ac.th 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #5: Wed Oct 17 18:32:54 ICT 2012 r...@banyan.cs.ait.ac.th:/usr/obj/usr/src/sys/CSIM amd64 The custom kernel only includes quota, nothing fancy, rest is generic. What these messages could be? I have updated to Samba 3.6 and still get the following errors. Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.566992, 1, pid=17753, effective(7186, 97), real(0, 0)] printing/printer_list.c:94(printer_list_get_printer) Oct 24 09:49:45 banyan smbd[17753]: Failed to fetch record! Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.606964, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/fault.c:51(fault_report) Oct 24 09:49:45 banyan smbd[17753]: === Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.606994, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/fault.c:52(fault_report) Oct 24 09:49:45 banyan smbd[17753]: INTERNAL ERROR: Signal 11 in pid 17753 (3.6.7) Oct 24 09:49:45 banyan smbd[17753]: Please read the Trouble-Shooting section of the Samba3-HOWTO Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.607020, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/fault.c:54(fault_report) Oct 24 09:49:45 banyan kernel: pid Oct 24 09:49:45 banyan kernel: 53O Oct 24 09:49:45 banyan kernel: ct6 2 Oct 24 09:49:45 banyan kernel: (1s18mbd4 Oct 24 09:49:45 banyan kernel: 9:), Oct 24 09:49:45 banyan kernel: uid11 80:4 Oct 24 09:49:45 banyan kernel: :4 e Oct 24 09:49:45 banyan syslogd: /dev/ttyp4: No such file or directory Oct 24 09:49:45 banyan syslogd: /dev/olivier:: No such file or directory Oct 24 09:49:45 banyan kernel: xi1te18d o5 Oct 24 09:49:45 banyan kernel: 6bann Oct 24 09:49:45 banyan kernel: s1i1g8nay Oct 24 09:49:45 banyan kernel: an6 l Oct 24 09:49:45 banyan kernel: 61 Oct 24 09:49:45 banyan kernel: 18smbd[17753]: [2012/10/24 09:49:45.607020, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/fault.c:54(fault_report) Oct 24 09:49:45 banyan smbd[17753]: Oct 24 09:49:45 banyan smbd[17753]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.607044, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/fault.c:55(fault_report) Oct 24 09:49:45 banyan smbd[17753]: === Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.607068, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/util.c:1117(smb_panic) Oct 24 09:49:45 banyan smbd[17753]: PANIC (pid 17753): internal error Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.607142, 0, pid=17753, effective(7186, 97), real(0, 0)] lib/util.c:1221(log_stack_trace) Oct 24 09:49:45 banyan smbd[17753]: BACKTRACE: 0 stack frames: Oct 24 09:49:45 banyan smbd[17753]: [2012/10/24 09:49:45.607191, 0, pid=17753, effective(0, 0), real(0, 0)] lib/fault.c:416(dump_core) Oct 24 09:49:45 banyan smbd[17753]: dumping core in /var/log/samba/cores/smbd Oct 24 09:49:45 banyan smbd[17753]: Oct 24 09:49:45 banyan smbd[57965]: [2012/10/24 09:49:45.678295, 0, pid=57965, effective(0, 0), real(0, 0)] smbd/server.c:433(smbd_accept_connection) Oct 24 09:49:45 banyan smbd[57965]: open_sockets_smbd: accept: Software caused connection abort Help will be highly welcome. Best regards, Olivier Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org