blitzbasic

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hardyx

Pages: [1] 2 3 ... 24
1
XCode 4.x es un IDE muy bueno, yo no tengo ninguna queja sobre él. Hay otros IDEs de pago como el que has puesto, que facilitan un poco más el desarrollo, pero el que más se usa es el oficial. A mi me gusta mucho la característica "Analyze", que te informa de cualquier fuga de memoria o algo raro que vea en el código (objetive-c).

2
Good collection of usefull web apps.

3
Off Topic / Re: Taking leave
« on: 2013-May-12 »
Good luck with the job and learn a lot of C#, it's a very good language. It's powerful like c++ and easy as Visual Basic.

4
Está interesante la revista, sobre todo la parte de programación de la DS.

5
GLBasic - en / Re: New Mac IDE
« on: 2013-May-05 »
Good news. I hope Gernot can solve the compiling error with GPC Mac version.

6
Apple pide a los desarrolladores que ofrezcan sus appicaciones en varios idiomas.
Recomienda que se traduzcan las apps a lenguajes como español, francés, portugués, alemán o chino.

http://www.applesfera.com/aplicaciones-ios-1/no-solo-se-vive-del-ingles-apple-pide-soporte-para-mas-idiomas-a-los-desarrolladores

7
Check in XCode the project's Build settings > Base SDK says "Latest iOS". Assure the iOS version in your iDevice is supported by your XCode version too.

8
Una cosa, la línea de oShell.AppActivate "xxxx" tienes que poner el título de la ventana a la cual enviar las teclas. En el Windows XP te muestra todo el path en el título de la ventana de comandos. No se como va en el Windows 7 u otros (creo haber visto que se muestra el usuario también), con lo cual lo puedes probar también cambiando la cuarta línea por esto:

oShell.AppActivate "3ds_to_ddd.exe"       <--- el título que tenga la ventana del comando


9
Olvida lo que te he dicho antes, lo puedes hacer con VBScript y funciona. Crea un fichero de texto con el nombre lanzador.vbs y pon el siguiente código. En la tercera y cuarta línea tienes que poner donde tengas instalado el conversor y el fichero a convertir. Supongo que se podrá mejorar lo del path, pero así funciona. Puedes ejecutar el script con doble click.

Code: [Select]
Dim oShell
Set oShell = WScript.CreateObject("wscript.Shell")
oShell.Run "D:\Programas\GLBasic\Tools\3ds_to_ddd d:\kk\spoon.3ds", 1, false
oShell.AppActivate "D:\Programas\GLBasic\Tools\3ds_to_ddd.exe"
WScript.Sleep 500
oShell.Sendkeys "{ENTER}"
Set oShell = Nothing

10
GLBasic - en / Re: Screen Scrolling
« on: 2013-Apr-23 »
You can make your own code to draw text in a memory screen (USESCREEN) and draw using an offset. Or you can use DDGui that is more easy and use a multiline Text or List control wich supports scroll. If you want to show only text, it's not complex to draw lines beggining with the index you want to scroll.

11
Qué bueno lo de la tarjeta gráfica, aunque vaya momento... Retomando el tema de la falta de interés de la gente por cómo funcionan las cosas estoy de acuerdo. Antes con el spectrum o incluso con msdos tenías que aprender por fuerza cómo manejarte, pero ahora mucha gente compra un ordenador como quien compra una lavadora, y a la mínima que ven algo que se sale de las 4 aplicaciones que usan no se preocupan por investigar o aprender como antes.

Supongo que habréis visto "IT crowd" o "Los informáticos" en la tele, es una serie en la que se ve lo que pasa en las empresas que tienen técnicos propios. Que llaman los usuarios a la mínima y siempre es culpa del informático. Es buenísima esa serie.

12
Tienes toda la razón del mundo Hark0, la mayoría de la gente no quiere saber cómo funcionan las cosas, pero además infravalora el trabajo de un técnico o un informático, porque en las películas los ordenadores hablan y piensan, no hace falta darles instrucciones.

Mi suegro el pobre es un negado para la tecnología, pero además no quiere aprender. Le hago mil esquemas del móvil y los tira o los pierde. Me dice: "a ver si me lo miras, que me suena la alarma por la noche y me tiene loco." Como si yo tuviera la culpa de eso... Y yo pienso, a lo mejor es que prefieres despertarte todos los días a las 3 de la mañana antes que leerte el manual. :D

Sobre lo de arreglar ordenadores y demás aparatos electrónicos (si, la gente cree que todo es lo mismo), hay que intentar hacerlo sólo a gente de confianza y empezar a cobrar. Luego ya no te llaman tanto.

Un día una amiga de mi mujer me trajo un ordenador que le iba lento, ya sabéis. Cientos de virus, reinstalación del sistema operativo, restauración de los datos... El ordenador tenía el disco hasta arriba, no le quedaba ni 100 Mb libres, además de que era muy antiguo y le habían puesto el XP, que iba arrastrándose. Me costó varios días arreglándolo en los ratos libres, porque era muy lento (creo que era un Pentium 66). Le puse un módulo de memoria que me sobraba y todo, les hice un ticket detallando todo lo que había hecho y los precios. Pues para mi sorpresa me pagaron y quedaron muy contentos. Ahí aprendí la lección, no hay nada como cobrar lo justo para que te valoren.

Sobre el software, otra de lo mismo, la gente ve anuncios en la calle "se hacen páginas web por 50 euros" y se creen que es pulsar un botón y sale todo. En una tienda me dijeron que les hiciera un "programita", bueno, primero el cliente no sabe lo que quiere. El "programita" era un completo programa de facturación y no sabían ni cómo querían las facturas. Me dicen: "Tu eres el programador, ¿no sabes hacerlo? Quiero que sea como el que tienen en la tienda de al lado" (toma requisitos). Y les digo: esto hay que sentarse y diseñarlo y ver cómo quieres las facturas. "No tengo tiempo, eso lo haces tu que para eso te voy a pagar." Pues esto no funciona así, para hacer un programa a medida hay que tomar las medidas. En resumen, como me iban a pagar dos duros y no entraban en razón, les dije que adiós muy buenas.

Así está el patio.
Un saludo

13
The code I posted is short & while I understand FOR loops & IF structures (along with the need for braces {} & ; etc) most of the rest means nothing, like the * & ** >> etc hence my failure to being able to convert it myself. That & not being able to compile what is in essence a simple program warrants a bit more investigation on my part I think  :-[ 

Analizing the code I see that the input .dat files are compressed using a simple method. The file has a little header with the width and height of the original image. Next there are the image data in groups of 4 bytes with CRGB, being C the times to repeat the pixel colour RGB, from 1 to 254. If a pixel must to repeat more than 254 times, then CC=255 and the count is in the next 4 bytes (integer), like: xxRGB NNNN. Its a RLE compression like bitsofty said.

14
Thanks DaCarSoft I see this is a problem beyond the noise. Your program is very good, I see Start_Stop_Count is 100 and Load_Cycle_Count is 097 O_O. It's the Value not the Raw_Value right?. It's not a big value I think. The Raw values are very differents Start_Stop_Count is 178 and Load_Cycle_Count is 32690 :(. This is bad. Wich are the real values?

With the app I don't hear the tic sound, but now if I put my ear in the macmini I can hear the disk motor all the time :S.
Great tool, congratulations.

P.D. One thing more, maybe can be good an option to don't write all the queries in the log file.

15
Hello hardyx. Just out of curiosity, would the routine work if it was INLINE'd within a GLBasic project?
The C code is a command line program, could work with INLINE, but with some modifications. Maybe converting the program to a function and calling it from GLBasic.

Pages: [1] 2 3 ... 24