Noticias REVIT - Control-P MAX - CAD (Descuento - Cursos - Nuevas Versiones)

2010-09-27 Thread NAyC - Miller Co.
Miller - De Feo - Calcagno y Asoc.

Noticia 5

Gestisn de Costos de Obra con Control-P MAX

Curso a Distancia

Temario Conceptual:

*   Solucisn definitiva la tema de Presupuestacisn y Seguimiento de
Obras

*   Metodologma PMI (Project Management Institute)

*   Diferenciacisn de Tipos de Costos

*   Activity Based Cost

*   Manejo Avanzado de la Base de Datos Genirica y Paramitrica de
Presupuestacisn.

*   Modelos de Costos Geniricos

*   Proyectos Resultantes a Partir de Proyectos Parciales

*   Wizard de generacisn asistida de Itemizacisn de Presupuestos

*   Problematica y solucisn de Actualizacisn de Precios

*   Informacisn  para la Evaluacisn Objetiva de Subcontratos

*   Solucisn Plan de Compras

*   Calculo Automaticos de Plantillas y Productividades

*   Planificacisn y Programacisn Automatizada

*   Avances Fmsicos, Econsmicos y Certificacisn

*   Generacisn de Curvas de Inversisn, Avances, Desvmos.

*   Explosisn de Insumos y de Actividades

*   Interaccisn Excel y MS Project (Camino Crmtico)

*   Costo Real del Trabajo Ejecutado Vs. Costo Previsto del Trabajo
Ejecutado

*   Generacisn Automatica de Reportes para el Control Gerencial y
Ticnico
Monitoreo de Perfomance

*   Tablero de Comando de Obra

*   Automatizacisn de la generacisn de Manual del Jefe de Obra

*   Coordinacisn de Area Ticnica con Area Administrativa



Mayor Informacisn



Temarios y Costos
http://www.nayc.com.ar/estudios/posgrado_controlp_distancia.html



 cursosn...@hotmail.com mailto:cursosn...@hotmail.com?subject=programa
Ejecutivo CONTROL-P MAX a DISTANCIA



Arq. FUKS Andrea

011 15-6281-1800



Noticias REVIT y Control-P MAX



1.  Nueva Pagina Miller  Co. Informacisn, Descargas, Links
(Ingresar http://www.millerco.com.ar )

2.  Nueva Versisn de Control-P Max (ver mas abajo)

3.  Nuevo Curso de Formacisn de Cad Managers con Autocad 2011

4.  20% de descuento en Control-P MAX.

5.  Programa Ejecutivo a Distancia Gestisn de Costos de Obra
(Columna izquierda)

6.  Programa Ejecutivo a Distancia REVIT (Columna Derecha)



Noticia 1

Nueva Pagina Miller  Co.

Estamos reestructurando la pagina Miller  Co  con mas
informacisn, links, descargas, cursos, servicios, etc.



Noticia 2

Nueva Versisn Control-P Max Versisn 3.5

*   Nueva interaccisn con MS Project. Generacisn de archivos
MPX y archivosXML. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/PROJ.pdf

*   Salida WK1 y XLS

*   Incorporacisn de Nuevos Analisis de Costos.

*   Nueva Planilla de Control y en formato XLS. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/PLACO.pdf

*   Nueva Planilla de Certificacisn y en formato XLS. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/CERTI.pdf

*   Monitoreo de Performance. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/mope.PDF

*   Nueva impresisn mediante la seleccisn de permodos a
listar;de la explosisn de Insumos del Gantt.

*   Nueva interaccisn con Office 2007.

*   Generacisn de proyecto a partir de una Planilla de
Calculo. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/GenPro.PDF

*   Nueva Planilla de Desvmo. Ingresos de Insumos Utilizados
en funcisn de: Baja Lsgica parcial en cantidad y permodo de insumos
presupuestados(insumos azul) y Alta Fmsica parcial en cantidad y permodo
de insumos no presupuestados (insumos rojos). +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/DESVIOS.PDF

*   Explosisn de Insumos y Niveles de Analisis. +info
http://www.spcconstruccion.com.ar/Novedades%20CPW/EIYNI.pdf

Descarga Gratuita para Usuarios de versiones Anteriores
http://www.cpw2000.com.ar/stecnico.htm

(solo valida para usuarios MAX)



Ver Pagina Principal Control-P MAX http://www.cpw2000.com.ar

Ver Informacisn Comercial
http://www.cpw2000.com.ar/Info%20Comercial.htm

Otros Productos (PPLAN - EPLAN - REM)
http://www.cpw2000.com.ar/Otros%20Productos.htm



Noticia 3

Nuevo Curso de Formacisn de Cad Managers con Autocad 2011 (Inicia
Noviembre 2010)

Temario Conceptual:

*   Crear, Documentar, Administrar, Estandarizar, Normatizar
y Gerenciar proyectos de diferente complejidad en entornos monousuario
y/o multiusuarios para ayudar a Estudios de Arquitectura y Empresas a
mejorar su productividad, cumplir con plazos esperados, mejorar su
productividad, encontrar la informacion.

*   Aprovechar las potencialidades de Autocad para
extraccisn de Datos como csmputos de Areas, Contabilizacisn de elementos
repetitivos y csmputos basicos en general

*   Generacisn de Bibiliotecas Inteligentes, Multivistas, en
distintos niveles de representacisn y particularizadas para su propia
Empresa.

*   No enseqamos comandos aislados. Enseqamos 

Re: netcat(1): check local port val

2010-09-27 Thread Mark Lumsden
 Hi Mark,

 Mark Lumsden wrote on Thu, Sep 23, 2010 at 07:38:00AM +:

 Add a check to the user supplied value of the local port.
 [...]
 ok?

 No, not ok; i think the patch is incorrect.

 The pflag is passed to getaddrinfo(3):

  int
  getaddrinfo(const char *hostname, const char *servname, const struct
  addrinfo *hints, struct addrinfo **res);

  The servname is either a decimal port number or a service name
  listed in services(5).

Good spot. Thanks.


 Thus, no input validation is desirable.
 In fact, nc(1) already provides a (well, moderately) useful error
 message when you provide a service not listed in services(5):

   schwa...@rhea $ nc -p murks localhost 3
   nc: getaddrinfo: service not supported for ai_socktype

 Yours,
   Ingo


 Index: netcat.c
 ===
 RCS file: /cvs/src/usr.bin/nc/netcat.c,v
 retrieving revision 1.98
 diff -u -p -r1.98 netcat.c
 --- netcat.c 3 Jul 2010 04:44:51 -   1.98
 +++ netcat.c 23 Sep 2010 07:13:51 -
 @@ -174,6 +174,9 @@ main(int argc, char *argv[])
  Pflag = optarg;
  break;
  case 'p':
 +strtonum(optarg, 1, PORT_MAX, errstr);
 +if (errstr)
 +errx(1, source port %s: %s, errstr, optarg);
  pflag = optarg;
  break;
  case 'r':



Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Alexandr Shadchin
On Sun, Sep 26, 2010 at 07:12:45PM -0400, Kenneth R Westerback wrote:
 The commmitted version breaks my eeePC, as I reported the last
 version I got via email did.
 
 Suspend/resume in text mode seems ok, but after confirming that, I
 did 'startx' and the cursor is stuck in the right part of the screen
 and generates the same spurious cr when I use the touch pad.
 
 This is the same behaviour as I saw before the last round of fixes
 to the separate pms/pmsi drivers.
 
  Ken

1) restart
2) startx - mouse work ok, right?
3) suspend/resume
4) X - work ok?

1) restart
2) wsmoused - work ok?
3) suspen/resume
4) wsmoused - work ok?
5) startx - don't work?

Can I see your xorg.conf and Xorg.0.log ?

--
Alexandr Shadchin



Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Alexandr Shadchin
On Fri, Sep 24, 2010 at 05:40:37PM +0400, Alexandr Shadchin wrote:
 Hi!
 
 Paul Irofti proposed to split the diff in a few easy steps.
 Step 1 - merge drivers pms and pmsi.
 

Step 2 - cleanup, standardization of interfaces and preparation
for easy addition of new devices. Now the resume of work in polling mode.

--
Alexandr Shadchin


Index: pms.c
===
RCS file: /cvs/src/sys/dev/pckbc/pms.c,v
retrieving revision 1.4
diff -u -p -r1.4 pms.c
--- pms.c   26 Sep 2010 20:39:08 -  1.4
+++ pms.c   27 Sep 2010 16:42:50 -
@@ -38,41 +38,94 @@
 #include dev/wscons/wsconsio.h
 #include dev/wscons/wsmousevar.h
 
+#ifdef PMS_DEBUG
+#define DPRINTF(...) do { if (pmsdebug) printf(__VA_ARGS__); } while(0)
+#define DPRINTFN(n, ...) do {  \
+   if (pmsdebug  (n)) printf(__VA_ARGS__);\
+} while(0)
+int pmsdebug = 1;
+#else
+#define DPRINTF(...)
+#define DPRINTFN(n, ...)
+#endif
+
+#define DEVNAME(sc) ((sc)-sc_dev.dv_xname)
+
+/* PS/2 mouse data packet */
+#define PMS_PS2_BUTTONSMASK0x07
+#define PMS_PS2_BUTTON10x01/* left */
+#define PMS_PS2_BUTTON20x04/* middle */
+#define PMS_PS2_BUTTON30x02/* right */
+#define PMS_PS2_XNEG   0x10
+#define PMS_PS2_YNEG   0x20
+
+#define PMS_BUTTON1DOWN0x01/* left */
+#define PMS_BUTTON2DOWN0x02/* middle */
+#define PMS_BUTTON3DOWN0x04/* right */
+
+struct pms_softc;
+
+struct pms_protocol {
+   int type;
+#define PMS_STANDARD   0
+#define PMS_INTELLI1
+   int packetsize;
+   int syncmask;
+   int sync;
+   int (*enable)(struct pms_softc *);
+};
+
 struct pms_softc { /* driver status information */
struct device sc_dev;
 
pckbc_tag_t sc_kbctag;
int sc_kbcslot;
 
+   int poll;
int sc_state;
 #define PMS_STATE_DISABLED 0
 #define PMS_STATE_ENABLED  1
 #define PMS_STATE_SUSPENDED2
 
-   int intelli;
+   struct pms_protocol protocol;
+   unsigned char packet[8];
+
int inputstate;
-   u_int buttons, oldbuttons;  /* mouse button status */
-   signed char dx, dy;
+   u_int buttons;  /* mouse button status */
 
struct device *sc_wsmousedev;
 };
 
-int pmsprobe(struct device *, void *, void *);
-void pmsattach(struct device *, struct device *, void *);
-int pmsactivate(struct device *, int);
-void pmsinput(void *, int);
+intpmsprobe(struct device *, void *, void *);
+void   pmsattach(struct device *, struct device *, void *);
+intpmsactivate(struct device *, int);
 
-struct cfattach pms_ca = {
-   sizeof(struct pms_softc), pmsprobe, pmsattach, NULL,
-   pmsactivate
-};
+void   pmsinput(void *, int);
 
 intpms_change_state(struct pms_softc *, int);
 intpms_ioctl(void *, u_long, caddr_t, int, struct proc *);
 intpms_enable(void *);
 void   pms_disable(void *);
 
-intpms_setintellimode(pckbc_tag_t, pckbc_slot_t);
+intpms_cmd(struct pms_softc *, u_char *, int, u_char *, int);
+intpms_get_devid(struct pms_softc *, u_char *);
+intpms_get_status(struct pms_softc *, u_char *);
+intpms_set_rate(struct pms_softc *, int);
+intpms_set_resolution(struct pms_softc *, int);
+intpms_set_scaling(struct pms_softc *, int);
+intpms_dev_disable(struct pms_softc *);
+intpms_dev_enable(struct pms_softc *);
+
+intpms_enable_intelli(struct pms_softc *);
+
+struct cfattach pms_ca = {
+   sizeof(struct pms_softc), pmsprobe, pmsattach, NULL,
+   pmsactivate
+};
+
+struct cfdriver pms_cd = {
+   NULL, pms, DV_DULL
+};
 
 const struct wsmouse_accessops pms_accessops = {
pms_enable,
@@ -80,104 +133,52 @@ const struct wsmouse_accessops pms_acces
pms_disable,
 };
 
-int
-pms_setintellimode(pckbc_tag_t tag, pckbc_slot_t slot)
-{
-   u_char cmd[2], resp[1];
-   int i, res;
-   static const u_char rates[] = {200, 100, 80};
-
-   cmd[0] = PMS_SET_SAMPLE;
-   for (i = 0; i  3; i++) {
-   cmd[1] = rates[i];
-   res = pckbc_enqueue_cmd(tag, slot, cmd, 2, 0, 0, NULL);
-   if (res)
-   return (0);
-   }
-
-   cmd[0] = PMS_SEND_DEV_ID;
-   res = pckbc_enqueue_cmd(tag, slot, cmd, 1, 1, 0, resp);
-   if (res || resp[0] != 3)
-   return (0);
-
-   return (1);
-}
+const struct pms_protocol pms_protocols[] = {
+   /* Generic PS/2 mouse */
+   {PMS_STANDARD, 3, 0xc0, 0x00, NULL},
+   /* Microsoft IntelliMouse */
+   {PMS_INTELLI, 4, 0x08, 0x08, pms_enable_intelli}
+};
 
 int
-pmsprobe(parent, match, aux)
-   struct device *parent;
-   void *match;
-   void *aux;
+pmsprobe(struct device *parent, void *match, void *aux)
 {
struct pckbc_attach_args *pa = aux;
-   u_char cmd[1], resp[2];
  

Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Matthew Dempsky
On Mon, Sep 27, 2010 at 10:42 AM, Alexandr Shadchin
alexandr.shadc...@gmail.com wrote:
if (pa-pa_slot != PCKBC_AUX_SLOT)
 -   return (0);
 +   return 0;

return (x) is proper KNF.  Please don't undo it.



Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Miod Vallat
 On Mon, Sep 27, 2010 at 10:42 AM, Alexandr Shadchin
 alexandr.shadc...@gmail.com wrote:
 if (pa-pa_slot != PCKBC_AUX_SLOT)
  -   return (0);
  +   return 0;
 
 return (x) is proper KNF.  Please don't undo it.

Actually, return with braces is old KNF, just like KR function
declarations are. Developer taste change over time, and style(9) no
longer says anything about return statements style.

Miod



Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Kenneth R Westerback
On Mon, Sep 27, 2010 at 08:28:36PM +, Miod Vallat wrote:
  On Mon, Sep 27, 2010 at 10:42 AM, Alexandr Shadchin
  alexandr.shadc...@gmail.com wrote:
  if (pa-pa_slot != PCKBC_AUX_SLOT)
   -   return (0);
   +   return 0;
  
  return (x) is proper KNF.  Please don't undo it.
 
 Actually, return with braces is old KNF, just like KR function
 declarations are. Developer taste change over time, and style(9) no
 longer says anything about return statements style.
 
 Miod

A sad reflection of the moral slackness of today's world. :-).

 Ken



Re: merge pms and pmsi + added support for some of mouse

2010-09-27 Thread Janjaap van Velthooven
On Mon, Sep 27, 2010 at 08:28:36PM +, Miod Vallat wrote:
  On Mon, Sep 27, 2010 at 10:42 AM, Alexandr Shadchin
  alexandr.shadc...@gmail.com wrote:
  if (pa-pa_slot != PCKBC_AUX_SLOT)
   -   return (0);
   +   return 0;
  
  return (x) is proper KNF.  Please don't undo it.
 
 Actually, return with braces is old KNF, just like KR function
 declarations are. Developer taste change over time, and style(9) no
 longer says anything about return statements style.

While there is no explicit mention of this, there is one example
of a return with a return value and that does use the braces so I
can understand where people might get the impression it is needed.

 Miod

Janjaap van Velthooven
--  
   / __/ /_/ __/ /_  __/ __/ /___  / 
  / /_  __/___/_/_  /___  / / __/ /___  / /  janj...@stack.nl
 /___/_/_/_/_/_/_/___/_/_/