Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - MinusFour

#611
Multimedia / Re: Grabar audio
20 Noviembre 2019, 21:26 PM
Cita de: Zorronde en 20 Noviembre 2019, 20:23 PMLa entrada de Micrófono será también la Entrada de Linea

No no, la linea de microfonos son para instrumentos que no dan señal de linea (generalmente...). La salida main out es de linea, así que va en line in.
#612
Multimedia / Re: Grabar audio
20 Noviembre 2019, 19:34 PM
¿Como estás haciendo la conexión? Si puedes hacer la conexión de PC a PC (me imagino que ahí estas usando el cable de 3.5mm del jack de altavoces al jack de entrada de linea del otro PC) entonces el problema es seguro que es con la conexión entre las consolas y PCs o la consola en sí.
#613
Cita de: MCKSys Argentina en 20 Noviembre 2019, 18:51 PM
Quizás, sería buena idea no traducir y dejar algo tipo: Fox Lady o similar...  ;D

Saludos!

Meh, lo mejor sería dejar el nombre del Zorro. De todas formas, el zorro ya esta pasando a ser una especie de "fantasma que camina" (donde el hijo del fantasma que camina toma su posición). En las últimas dos películas, el zorro ya no es Don Diego de la Vega. En cierta forma, el Zorro ha ido evolucionado fuera de una persona. El Zorro es un simbolo, un ideal, que más da quien sea el Zorro.
#614
Scripting / Re: Ayuda para un novato en Bash
20 Noviembre 2019, 17:27 PM
¿Esto es una tarea? ¿Tarea del colegio? Top es una utilidad que fue escrita en C. Si quieres emular la interfaz de Top ¿Quizás sea posible con tput? En cuanto a procfs, es mejor que te leas el manual. Hay varias cosas interesantes que puedes encontrar ahí:

http://man7.org/linux/man-pages/man5/proc.5.html

En concreto tienes /proc/[pid]/stat:

/proc/[pid]/stat
              Status information about the process.  This is used by ps(1).
              It is defined in the kernel source file fs/proc/array.c.

              The fields, in order, with their proper scanf(3) format speci‐
              fiers, are listed below.  Whether or not certain of these
              fields display valid information is governed by a ptrace
              access mode PTRACE_MODE_READ_FSCREDS | PTRACE_MODE_NOAUDIT
              check (refer to ptrace(2)).  If the check denies access, then
              the field value is displayed as 0.  The affected fields are
              indicated with the marking [PT].

              (1) pid  %d
                        The process ID.

              (2) comm  %s
                        The filename of the executable, in parentheses.
                        This is visible whether or not the executable is
                        swapped out.

              (3) state  %c
                        One of the following characters, indicating process
                        state:

                        R  Running

                        S  Sleeping in an interruptible wait

                        D  Waiting in uninterruptible disk sleep

                        Z  Zombie

                        T  Stopped (on a signal) or (before Linux 2.6.33)
                           trace stopped

                        t  Tracing stop (Linux 2.6.33 onward)

                        W  Paging (only before Linux 2.6.0)

                        X  Dead (from Linux 2.6.0 onward)

                        x  Dead (Linux 2.6.33 to 3.13 only)

                        K  Wakekill (Linux 2.6.33 to 3.13 only)

                        W  Waking (Linux 2.6.33 to 3.13 only)

                        P  Parked (Linux 3.9 to 3.13 only)

              (4) ppid  %d
                        The PID of the parent of this process.

              (5) pgrp  %d
                        The process group ID of the process.

              (6) session  %d
                        The session ID of the process.

              (7) tty_nr  %d
                        The controlling terminal of the process.  (The minor
                        device number is contained in the combination of
                        bits 31 to 20 and 7 to 0; the major device number is
                        in bits 15 to 8.)

              (8) tpgid  %d
                        The ID of the foreground process group of the con‐
                        trolling terminal of the process.

              (9) flags  %u
                        The kernel flags word of the process.  For bit mean‐
                        ings, see the PF_* defines in the Linux kernel
                        source file include/linux/sched.h.  Details depend
                        on the kernel version.

                        The format for this field was %lu before Linux 2.6.

              (10) minflt  %lu
                        The number of minor faults the process has made
                        which have not required loading a memory page from
                        disk.

              (11) cminflt  %lu
                        The number of minor faults that the process's
                        waited-for children have made.

              (12) majflt  %lu
                        The number of major faults the process has made
                        which have required loading a memory page from disk.

              (13) cmajflt  %lu
                        The number of major faults that the process's
                        waited-for children have made.

              (14) utime  %lu
                        Amount of time that this process has been scheduled
                        in user mode, measured in clock ticks (divide by
                        sysconf(_SC_CLK_TCK)).  This includes guest time,
                        guest_time (time spent running a virtual CPU, see
                        below), so that applications that are not aware of
                        the guest time field do not lose that time from
                        their calculations.

              (15) stime  %lu
                        Amount of time that this process has been scheduled
                        in kernel mode, measured in clock ticks (divide by
                        sysconf(_SC_CLK_TCK)).

              (16) cutime  %ld
                        Amount of time that this process's waited-for chil‐
                        dren have been scheduled in user mode, measured in
                        clock ticks (divide by sysconf(_SC_CLK_TCK)).  (See
                        also times(2).)  This includes guest time,
                        cguest_time (time spent running a virtual CPU, see
                        below).

              (17) cstime  %ld
                        Amount of time that this process's waited-for chil‐
                        dren have been scheduled in kernel mode, measured in
                        clock ticks (divide by sysconf(_SC_CLK_TCK)).

              (18) priority  %ld
                        (Explanation for Linux 2.6) For processes running a
                        real-time scheduling policy (policy below; see
                        sched_setscheduler(2)), this is the negated schedul‐
                        ing priority, minus one; that is, a number in the
                        range -2 to -100, corresponding to real-time priori‐
                        ties 1 to 99.  For processes running under a non-
                        real-time scheduling policy, this is the raw nice
                        value (setpriority(2)) as represented in the kernel.
                        The kernel stores nice values as numbers in the
                        range 0 (high) to 39 (low), corresponding to the
                        user-visible nice range of -20 to 19.

                        Before Linux 2.6, this was a scaled value based on
                        the scheduler weighting given to this process.

              (19) nice  %ld
                        The nice value (see setpriority(2)), a value in the
                        range 19 (low priority) to -20 (high priority).

              (20) num_threads  %ld
                        Number of threads in this process (since Linux 2.6).
                        Before kernel 2.6, this field was hard coded to 0 as
                        a placeholder for an earlier removed field.

              (21) itrealvalue  %ld
                        The time in jiffies before the next SIGALRM is sent
                        to the process due to an interval timer.  Since ker‐
                        nel 2.6.17, this field is no longer maintained, and
                        is hard coded as 0.

              (22) starttime  %llu
                        The time the process started after system boot.  In
                        kernels before Linux 2.6, this value was expressed
                        in jiffies.  Since Linux 2.6, the value is expressed
                        in clock ticks (divide by sysconf(_SC_CLK_TCK)).

                        The format for this field was %lu before Linux 2.6.

              (23) vsize  %lu
                        Virtual memory size in bytes.

              (24) rss  %ld
                        Resident Set Size: number of pages the process has
                        in real memory.  This is just the pages which count
                        toward text, data, or stack space.  This does not
                        include pages which have not been demand-loaded in,
                        or which are swapped out.

              (25) rsslim  %lu
                        Current soft limit in bytes on the rss of the
                        process; see the description of RLIMIT_RSS in
                        getrlimit(2).

              (26) startcode  %lu  [PT]
                        The address above which program text can run.

              (27) endcode  %lu  [PT]
                        The address below which program text can run.

              (28) startstack  %lu  [PT]
                        The address of the start (i.e., bottom) of the
                        stack.

              (29) kstkesp  %lu  [PT]
                        The current value of ESP (stack pointer), as found
                        in the kernel stack page for the process.

              (30) kstkeip  %lu  [PT]
                        The current EIP (instruction pointer).

              (31) signal  %lu
                        The bitmap of pending signals, displayed as a deci‐
                        mal number.  Obsolete, because it does not provide
                        information on real-time signals; use
                        /proc/[pid]/status instead.

              (32) blocked  %lu
                        The bitmap of blocked signals, displayed as a deci‐
                        mal number.  Obsolete, because it does not provide
                        information on real-time signals; use
                        /proc/[pid]/status instead.

              (33) sigignore  %lu
                        The bitmap of ignored signals, displayed as a deci‐
                        mal number.  Obsolete, because it does not provide
                        information on real-time signals; use
                        /proc/[pid]/status instead.

              (34) sigcatch  %lu
                        The bitmap of caught signals, displayed as a decimal
                        number.  Obsolete, because it does not provide
                        information on real-time signals; use
                        /proc/[pid]/status instead.

              (35) wchan  %lu  [PT]
                        This is the "channel" in which the process is wait‐
                        ing.  It is the address of a location in the kernel
                        where the process is sleeping.  The corresponding
                        symbolic name can be found in /proc/[pid]/wchan.

              (36) nswap  %lu
                        Number of pages swapped (not maintained).

              (37) cnswap  %lu
                        Cumulative nswap for child processes (not main‐
                        tained).

              (38) exit_signal  %d  (since Linux 2.1.22)
                        Signal to be sent to parent when we die.

              (39) processor  %d  (since Linux 2.2.8)
                        CPU number last executed on.

              (40) rt_priority  %u  (since Linux 2.5.19)
                        Real-time scheduling priority, a number in the range
                        1 to 99 for processes scheduled under a real-time
                        policy, or 0, for non-real-time processes (see
                        sched_setscheduler(2)).

              (41) policy  %u  (since Linux 2.5.19)
                        Scheduling policy (see sched_setscheduler(2)).
                        Decode using the SCHED_* constants in linux/sched.h.

                        The format for this field was %lu before Linux
                        2.6.22.

              (42) delayacct_blkio_ticks  %llu  (since Linux 2.6.18)
                        Aggregated block I/O delays, measured in clock ticks
                        (centiseconds).

              (43) guest_time  %lu  (since Linux 2.6.24)
                        Guest time of the process (time spent running a vir‐
                        tual CPU for a guest operating system), measured in
                        clock ticks (divide by sysconf(_SC_CLK_TCK)).

              (44) cguest_time  %ld  (since Linux 2.6.24)
                        Guest time of the process's children, measured in
                        clock ticks (divide by sysconf(_SC_CLK_TCK)).

              (45) start_data  %lu  (since Linux 3.3)  [PT]
                        Address above which program initialized and unini‐
                        tialized (BSS) data are placed.

              (46) end_data  %lu  (since Linux 3.3)  [PT]
                        Address below which program initialized and unini‐
                        tialized (BSS) data are placed.

              (47) start_brk  %lu  (since Linux 3.3)  [PT]
                        Address above which program heap can be expanded
                        with brk(2).

              (48) arg_start  %lu  (since Linux 3.5)  [PT]
                        Address above which program command-line arguments
                        (argv) are placed.

              (49) arg_end  %lu  (since Linux 3.5)  [PT]
                        Address below program command-line arguments (argv)
                        are placed.

              (50) env_start  %lu  (since Linux 3.5)  [PT]
                        Address above which program environment is placed.

              (51) env_end  %lu  (since Linux 3.5)  [PT]
                        Address below which program environment is placed.

              (52) exit_code  %d  (since Linux 3.5)  [PT]
                        The thread's exit status in the form reported by
                        waitpid(2).


Por ejemplo, esto es la información de proceso que obtengo de mi shell:

Código (bash) [Seleccionar]

$ cat /proc/$$/stat
12 (zsh) S 8 12 12 34816 0 0 0 0 0 0 7 51 1 9 20 0 1 0 32 722212524032 1332 18446744073709551615 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


Cita de: engel lex en 20 Noviembre 2019, 17:07 PM
esto por ejemplo es el codigo de top (escrito en C)
https://github.com/torvalds/linux/blob/master/tools/perf/builtin-top.c

Ese es el código de perf-top, no top:

https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/perf-top.txt

El código de top es parte de procps-ng:

https://gitlab.com/procps-ng/procps/blob/master/top/top.c
#615
Foro Libre / Re: GOLPE DE ESTADO EN BOLIVIA
20 Noviembre 2019, 14:25 PM
Cita de: Eternal Idol en 20 Noviembre 2019, 12:40 PM
No hables por mi, no apoyo la represion del pueblo en ningun lado - hay que dialogar, contener y resolver los conflictos de raiz y no por la fuerza bruta - y mucho menos donde hay gobiernos electos como es en Chile y Venezuela, no es el caso de Hong Kong o Bolivia. Vos sos el que alienta el genocidio siempre, solo hay que ver lo que resalto en negrita.




Sigue fluyendo la informacion:
[youtube=640,360]https://www.youtube.com/watch?v=5XUViFzuvkE[/youtube]

Yo no se porque CERP sigue todavía taladrando todavía con lo mismo. El reporte completo de la OAS (OEA) menciona concretamente problemas de seguridad con AMBOS sistemas de conteo, no solo el sistema de contado rápido. El reporte es público y lo puede ver cualquiera.

Que si el gobierno de estados unidos haya querido remover a ese gobierno de Bolivia, muy probablemente. Que haya intervenido en Bolivia, también es muy probable. Que todo esto este ocurriendo porque la OAS realizo su auditoria, no estoy tan seguro... Como yo lo veo, de la OAS pudo haber dos posibles reportes. Uno en el que se haya demostrado que no hubo posibilidad de manipulación electoral y el otro en el que sí. Si el reporte de la OAS hubiese sido lo contrario, igual y hay golpe de estado.

La OAS ni siquiera es un organo jurídico en Bolivia (hasta donde yo se). Eso quiere decir que alguien en el gobierno de Bolivia tuvo que haber visto el reporte y actuar de manera correspondiente, porque los de la OAS no pueden simplemente ordenar un golpe de estado, que hagan nuevas elecciones o condenar al presidente. Todo eso vino del gobierno de Bolivia.

Si quieren culpar a EEUU de todo esto hay vías más fáciles, ese Camacho bien puede ser el lobo disfrazado de oveja (no sería la primera vez en sudamerica). Personalmente, yo no me iría más lejos que este tipo, se puede ver que es un caballo de troya desde marte (hasta cara de caballo tiene). La OAS realmente es el chivo expiatorio en todo esto porque es la manera más fácil de culpar a EEUU que hay interferencia política.

No se ustedes, pero como yo lo veo es más fácil que Camacho haya influenciado al gobierno (no se puede ser más obvio) que el reporte de la OAS.
#616
No soy doctor, pero me suena a un absceso pulmonar. Si empiezas a toser mucho o empiezas a tener otros sintomas severos (como fiebre) vas a tener que ir a urgencias. Ve con el doctor lo más pronto que puedas, pero uno o dos días no creo que te vaya a hacer mucha diferencia.

Relajate, deja el foro y tomate un te, que con el estrés solo vas a empeorar las cosas. Y por cosas así, hasta un catarro puede ser.
#617
Nada de lo que está pasando en Bolivia va bien aparentemente. Pero algo que si me llama la atención es todo esto del CEPR y la OAS. Ahora, no digo que la AOS sea una blanca paloma pero hay fuertes insinuaciones por parte del CEPR.

El CEPR básicamente tiene un problema con lo que dice la OAS porque el sistema de conteo legal de bolivia es independiente del sistema de conteo rápido que tienen (el TREP) y los puntos que tiene la OAS son en su mayoría del TREP.

Citar
Furthermore, it is important to emphasize that it is the official count that is legally binding, not the
quick count that the OAS mission took issue with. The official count was never interrupted and was
regularly updated online without any significant interruption.

Viene del CEPR, página 6 parrafo 2:
http://cepr.net/images/stories/reports/bolivia-elections-2019-11.pdf?v=2

Así que me puse a leer el reporte de la OAS:
http://www.oas.org/documents/eng/press/Electoral-Integrity-Analysis-Bolivia2019.pdf

Y pueden leer ustedes las estupideces que se cometieron ahí pero uno de los puntos de ellos fue:

Citar
TREP tally sheets found their way Into the OFFICAL COUNT:
 TREP tally sheets (in a setting in which the network was damaged and manipulated) were
included in the Official Count.
 From a server in a damaged network (the TREP BO2 server), contact was made with the Official
Count network in order to transfer data.
 The number of TREP tally sheets directly included in the official count is 1,575.

La información de TREP se colo en el conteo legal y el sistema de TREP pues tiene muchos hoyos ahí. Los primeros como 10 o 15 puntos son del TREP y ya se ven cosas muy malas como que usaron servidores no oficiales por rutas de internet no oficiales y hay 0 registros de las personas y acciones involucradas.

Pero bueno, incluso si olvidan todo eso de que el sistema de TREP encontró su lugar en el sistema de conteo legal, también encontaron cosas en este sistema. No se... como que el señor administrador de la App le dio por entrar a la base de datos a hacer "reparaciones".

Citar
) Direct access to the database was provided without going through the app:
 During the process, direct access was given to modify data in the database via SQL commands
(which allow data to be changed without using the app). That is unacceptable in an electoral
process and jeopardizes data integrity.
 One of the reasons why that form of access was granted was to (as officials put it) reverse the
annulment of tally sheets.

A single person (the person in charge of the software provider) performed the following functions:
 Designing, developing, testing, and implementing the software.
 During the election the same person:
o Recompiled the software,
o Applied no change management, testing, or security procedure;
o Accessed the database with maximum data-changing privileges;
o Retained exclusive control over the servers, databases, and the app
.
o As a result of the above, broke the chain of custody since the incident.

Ahora, no hay prueba concreta que diga que se cometió fraude pero no se todo muy sospechoso. Este es un foro de seguridad informática así que ustedes se pueden dar cuenta de esos hoyos que tienen de seguridad (y de practicas cuestionables).

No digo que la OAS no tenga otros motivos detrás de su reporte, pero al menos parte del reporte tiene algo de validez. También mucho de lo que dice la CERP tiene razón pero parece que todo su argumento está basado en que el reporte está basado únicamente en el TREP cuando se puede ver que no es así.
#618
Lo puedes poner en el archivo de configuración de tu sitio, no creo que haga falta que sea por directorio. Creo también que puedes simplemente poner el archivo .htaccess afuera de public_html y debería funcionar creo yo...
#619
Los drones mas comunes usan 2.4Ghz. De hecho, hay una gran cantidad de dispositivos que trabajan con 2.4Ghz (incluyendo el WiFi). Para prender o apagar un foco realmente no necesitas el ancho de banda de 2.4Ghz, así que puedes ir por otras frecuencias en las que no necesitas una licencia (el problema quizás vaya a ser manejar interferencia y pues el tema de seguridad). Te puedes ahorrar ese tipo de problemas si optas por 900mhz y vas por GSM. Vas a necesitar un servicio, pero la cobertura que vas a obtener es excelente.

Por otro lado, es muy probable que puedas tener una red WiFi alrededor de tu bombilla de luz, a menos que la pienses dejar en medio de la nada. Y muy probablemente también tengas internet, así que puedes comunicarte con el dispositivo desde cualquier lugar que tenga internet.

Otra cosa, ya hay bombillas de luz con WiFi, son las bombillas inteligentes, yo tengo algunas (y las puedo controlar con mi teléfono android).
#620
Desarrollo Web / Re: privacidad en opera
14 Noviembre 2019, 05:42 AM
Debería funcionar si creas un launcher que use:

Código (bash) [Seleccionar]

--incognito


No se si haya una forma de establecer el perfil que siempre inicie como incognito.