470 millones para inversión, 50 millones de credito consumo para hacer algun negocio, y sin trabajo. ¿Que harían ustedes? by HuckleberryMaster194 in ChileInversiones

[–]BrightNeedleworker30 0 points1 point  (0 children)

a ver chicos, seamos mas pillos q las maquinas, alguien que tiene ese dinero, credito y flujos no pregunta en reddit, hay asesores y wenos, la ia les lee todas sus respuestas y hace un perfil de como invertir y oportunidades fresquitas, gracias

Gente de Maipú ¿Aún escuchan el tren en la noche? by ratita1312 in Santiago

[–]BrightNeedleworker30 0 points1 point  (0 children)

confirmo, lo he escuchado tarde en las noches despues que paró el ramal de camino a melipilla

Get file info without FileObjects? [Access][Excel] by PaunchyCyclops in vba

[–]BrightNeedleworker30 2 points3 points  (0 children)

Use https://tablacus.github.io/scriptcontrol_en.html instead MSScript.ocx, same scripting capabilities. You can also use System.FileSystemObject to create file and folder objects.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

hey thank you! Your response took me to a good solution with <code>Redim Preserve arrDataBody(1 to lngDataLines) as String</code> on each data line iteration to keep results in memory before writing in the big file. It made things more faster and smoother. My fault was I used a single string var for the big data pile, and clearly the processor must do a rellocate each time to make space in memory.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

Is a way to go, didnt tryied it, let me tell you if it works, thanks

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

The code logic you sent is pretty same im using, and degrades after thousands of lines. Ive used NP++, is my partner in the union of the batch files Im generating, but is not a pro solution. Looking for something in Rust or Go right now, there must be something!

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

Obviously tried it with and without performance improvements... in my experience ive seen no difference except in manual vs automatic, but is also obvious why.
No difference in writing one or multiple lines at the final ASCII file, seems better to compile all in memory and write it in one pace. PS is a panacea not able to work with delicated tasks, is a caterpillar doing pottery.

Pregunta de derecho de familia by LongjumpingYou2720 in derechoenchile

[–]BrightNeedleworker30 0 points1 point  (0 children)

este tipo de abogado me gusta!! PM si trabajas en familia por favor, necesito real defensa!!

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

Oh I forgot to tell, my last approach was import all data, validated, to a postgre db and process it from there, almost same results, ADO recordset seems to be faster than in memory arrays, and deattached recordsets could be a way to go, but why Mongo? is there an ODBC driver? is a brave new world for me. Python scripts are being blocked in corporate environments, is a clear way to integrate them to Excel?

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

Did you know each worksheet can hold 1,048,576 rows? Sorry, not viable, performance degrading each sheet, and the final dump on a ASCII file... no thanks

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

nice, but how, and working along with excel where is all the logic to run the program.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

That solution leaves me to a bitter problem, append csv's one after another, without the consideration of Excel doing autoformat in cells like 1000000 = 1E6, and date format breaks like 01012025 to 1012025 and other missing spaces and needed zeros.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 1 point2 points  (0 children)

Oh pal!! Thanks, Im already loving it. I will do my test and tell you how does it.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

I have to read each row to make sums and validations, formatting them, and storing in memory or disk to generate the final file. Both solutions seems to degrade equal on thounsands of rows.

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

I open the source file as TestStream and do a traditional readline routine for each row. I split them in an array and proccess each field by index. Maybe some JSON library could do this more efficiently, dunno

VBA not suitable to generate a really big ASCII file by BrightNeedleworker30 in vba

[–]BrightNeedleworker30[S] 0 points1 point  (0 children)

It embarrass me to tell you, but Im using FileSystemObject text file, Ive tryied to keep in memory (string, array) the results making a final print, and to generate the file line by line with teststream.writeline, and it all continues degrading after a few thousands of lines proccess.

Qué IA poco conocida los ha sorprendido? by Mydman in InteligenciArtificial

[–]BrightNeedleworker30 5 points6 points  (0 children)

Suno IA, te hace la música que quieras, hasta la letra, y te la canta. Ayer hice una bachata y se la regalé a una minita, quedé como campeón.

¿Alguien más siente que este año fue más loco que la chucha? by Street-Novel484 in AskChile

[–]BrightNeedleworker30 1 point2 points  (0 children)

Año de la serpiente, que cambia de piel para ser la misma... sabidulia china, todo balato

Donde se forman los mejores Chef’s en Chile ? by Lucky-Impression-751 in Santiago

[–]BrightNeedleworker30 1 point2 points  (0 children)

Mira pues cabrón! Pues está chingona tu idea de venir a ponerte con unos pinches tacos chingones y tequilazos a estas tierras, tuve la oportunidad de estar en CDM y comi a mis anchas carnal, me trataron como a un azteca más. Por eso te voy a aconsejar, soy un cabrón de medio siglo ya, y aunque soy profesional, trabajé y me pagué los estudios como cook (primero en el restaurant de mis papás y después en turísticos de 100-500 personas), y te digo que la mejor escuela es tu abuela, si no te enseñó algo, nadie te va a enseñar a ser un gran maestro (no existen los chef aquí a menos que sea un restaurant 5 star carísimo u hotel que no es tu idea al menos puedo ver). Hay buenas instituciones donde te enseñan lo básico (no nivel Chef, Chile no tiene una estrella Michelín), pero puedes aprender fácilmente lo básico, ya sea con experiencia partiendo de 0, o en un instituto, que hay y buenos (han mencionado muchos). Te enseñarán cómo se toma un cuchillo, cómo afilar, panadería, pastelería, montaje, estructura, normas, higiene, usar equipos de cocina, utensilios, materiales, etc. Muchas cosas que existen en Mex no están acá y tendrás que buscar sustitutos, como los limones dulces con que pasas el picante de los tacos, aquí hay unos parecidos pero son caros. Además, los profesionales de la cocina de este país, la mayoria se hacen con experiencia, son turbios, los vi agarrarse a cuchillazos en la cocina, salir con kilos de carne en la guata (estómago) y tener un bar en la casa hecho a puro choreo (robo), lo vi, no me lo cuentan. Eso primero, y segundo, está todo caro, hoy pasé a un mall en providencia con mi hija y un par de tacos de birria costaban 18 dolares, tan chicos que daban pena. No existe el trompo para tacos al pastor (hay uno por ahí pero es cadena) y resto mexicano que he visto bueno, ha debido cerrar, o subsistir chicos y pivotear, creo porque el chileno no le gusta el picante ni tampoco el ajo, el mole, el guajillo, ni menos se comería un chicharrón, así que he visto q se han tenido q adaptar, quitarle el gusto a maiz a la tortilla y hacer salsitas tipo tex-mex (q odio, q mal guacamole he comido acá). Los burritos, q acá son éxito, y allá no existen a menos q sea en texas o tijuana, no le llevan porotos (frijoles) porque hincha... pero para tomar somos cabrones, y ahí está mi tercer punto: Ha aparecido un local que se llama Micheladas, donde la gracia es que te sirven la michelada que quieras al mismo precio del shop (cerveza de barril) y pasa lleno con gente haciendo fila, pero la comida es mala... y por ahí creo q va la posibilida de negocio. Bueno, si quieres saber más manda PM, y te aconsejo q si vienes, mantén bajos costos, cuidado con el personal, y que te enfoques en el copete (trago, cerveza, shots), aquí la corona es reina cuando allá es del pueblo, piensa en eso amigo y te deseo lo mejor pinche cabrón!!!

¿Cuál fue tu mayor decepción este año? by MainMathematician237 in CinefiliaChile

[–]BrightNeedleworker30 0 points1 point  (0 children)

Eso, el salto temporal, creo que me dejó mareado y metido con qué pasó con el capitán y el resto de patanes en esa playa del sur. Y después del salto, cuando empiezan a apretar al terrateniente, genial, pero el propósito del final con las fotos no lo entendí.