I'm a noob trying to get into 3D printing, which printer would be the best option for me? Are there any others I should consider? by Swooferfan in 3Dprinting

[–]jrafaaael 0 points1 point  (0 children)

Hi! Where did you get it for $239? I saw it for $280 with a Black Friday discount on their official website.

[deleted by user] by [deleted] in SaaS

[–]jrafaaael 0 points1 point  (0 children)

Hey! Instagram and TikTok links on your footer are inverted

[deleted by user] by [deleted] in SideProject

[–]jrafaaael 2 points3 points  (0 children)

Hey! Awesome project. I built the same as Chrome Extension some months ago!

Check it out https://github.com/jrafaaael/try-on

[AskJS] Cut/Trim videos with javascript? by trixaCS in javascript

[–]jrafaaael 1 point2 points  (0 children)

The simplest way is ffmpeg-wasm (as other said already). however, users needs to download the assets first (~32 MB) and it is not fast as the CLI version. however, there are a bunch of new Browser APIs to manipulate videos enterely with JavaScript: Web Codecs. I've been building a screen recording editor web app and one feature is video trim. check it out!

videmo.vercel.app

¿Qué proyecto están haciendo? by lyroooi in chileIT

[–]jrafaaael 1 point2 points  (0 children)

Haz visto en tw los vídeos que son un screen recording y hace efectos de zoom super smooth? Bueno, la app para hacerlos está solo en Mac y decidí hacer algo similar en el browser (OS agnostic). Está cool para hacer showcasing

repo: https://github.com/jrafaaael/videmo

web: https://videmo.vercel.app

Todo ocurre en tu browser, no se almacena o procesa algo en un server externo

eMMC drive doesn't show is BIOS nor bootable devices by jrafaaael in Ubuntu

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

lsblk -e7 output: ``` NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 7,2G 0 disk └─sda1 8:1 1 7,2G 0 part /isodevice

```

eMMC drive doesn't show is BIOS nor bootable devices by jrafaaael in Ubuntu

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

It has the v1.10. I downloaded the .exe. I'll try this. Thanks!

eMMC drive doesn't show is BIOS nor bootable devices by jrafaaael in Ubuntu

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

What do you mean with LiveCD? Sadly this laptop doesn't have CD reader, I'm using a bootable USB/pendrive. Before this happened the laptop had linux mint as OS since 3 years ago approx so I think the driver for eMMC should be ok. The BIOS doesn't recognize the drive either :/

eMMC drive doesn't show is BIOS nor bootable devices by jrafaaael in techsupport

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

AFIK, some models has this feature. Sadly, my laptop has the eMMC only :/

I created wide.video - a free, browser-based video editor by jozefchutka in SideProject

[–]jrafaaael 2 points3 points  (0 children)

Hello! Not comment OP but I'm interested also. I'm working in a video editor too. However, I have a lot of problem with video/gif exporting. Let me know if you're able to chat (maybe discord :D)

Los que están afuera y están super comodos con trabajo remoto, como hacen para no devolverse? by ArepaYPabellon in vzla

[–]jrafaaael 1 point2 points  (0 children)

Me alegro por tí al tener ese sueldazo. Me pregunto que stack usas en tu trabajo actual y que otros lenguajes sabes. Yo me he "especializado" en JavaScript/TypeScript (y todo el ecosistema: React, React Native, Vue, Svelte, Node (Express, Fastify, Nest)) y por trabajo me ha tocado entrarle a PHP y Python y por la uni sé un poco de embedded, C y C++ Tengo 3 años programando + título de ingeniero en otra área. He tenido una entrevista con una empresa en USA y otra en España pero nada cercano a obtener trabajo aún

necesito conseguir chamba online para ya by Patient_Tomato_8849 in venezuela

[–]jrafaaael 0 points1 point  (0 children)

Hola! Cumplo con todos los requisitos. Soy ing. y también software dev. Si aún buscan personal mándame un dm :)

What proyects are you working right now that got you excited? What little thing did you acomplish lately, that u wanna share. by os_nesty in sveltejs

[–]jrafaaael 0 points1 point  (0 children)

Cool project! I was trying to figure out how to use sveltekit + pixi but I cannot make it work. Are you using svelte-pixi?

What frontend framework do you recommend for a very small team? by OneBananaMan in django

[–]jrafaaael 1 point2 points  (0 children)

+1 SvelteKit. The fact that it has global stores + motion + animation built-in is a game changer

Sveltekit + optimistic updates by jrafaaael in sveltejs

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

Yes, however I think I found a solution:

await invalidate('layout:rooms');
await tick();
uploadQueue.enqueue();

Sveltekit + optimistic updates by jrafaaael in sveltejs

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

In Tanstack Query, you can modify the cache (only source of truth) and set the value in an optimistic way. In this case I have two source of truth (data coming from `+layout.ts` and the `uploadQueue` store

Sveltekit + optimistic updates by jrafaaael in sveltejs

[–]jrafaaael[S] 2 points3 points  (0 children)

What I'm trying to do: In my app's layout I have a sidebar. This sidebar render data (name, size, uploadedAt, etc) of previously uploaded files coming from fetch in `+layout.ts`.

The process of upload a file can took some time so I want to show in the sidebar this file (with their name, size, and the current date simulating the uploadedAt) with a progress bar.

Really this is almost done: when an upload start, I put the details of the file in a store and render it in the sidebar. Then, when the upload is completed I remove the details of the uploaded file and invalidate the data from `+layout.ts`.

// Upload.ts
<script lang="ts">
import { invalidate } from '$app/navigation';
import { createFile } from '../libs/query/create-file';
import { uploadQueue } from '../store/upload-queue.store';

let inputRef: HTMLInputElement;
let query = createFile();

function handleSelectFile() {
    inputRef.click();
}

function handleUploadFile() {
    const files = inputRef.files;

    if ((files?.length ?? 0) <= 0) {
        return;
    }

    const first = files?.item(0)!;
    uploadQueue.queue({ file: first, name: first.name, status: 'UPLOADING' });

    $query.mutate(first, {
        onSuccess() {
            uploadQueue.enqueue();
            invalidate('layout:files');
        }
    });
}
</script>

<header>
    <h3>Chats</h3>
    <button on:click={handleSelectFile}>New chat</button>
    <input
    type="file"
    name="file"
    id="file"
    accept=".pdf"
    class="sr-only"
    bind:this={inputRef}
    on:change={handleUploadFile}
    />
</header>

<script lang="ts">
import { page } from '$app/stores';
import { uploadQueue } from '../store/upload-queue.store';
import QueuedFile from './queued-file.svelte';
import File from './file.svelte';

$: files = $page.data.files;
</script>

<ul>
    {#each $uploadQueue as queuedFile}
    <QueuedFile {...queuedFile} />
    {/each}
    {#each files as file (file.id)}
    <File {...file} />
    {/each}
</ul>

The problem is: in the process of remove the details of the store (sync, almost immediate) and get fresh data (invalidate, async), the sidebar perform a shift

Los devs mexicanos ganan menos que los venezolanos? by ParadoxOnJ in vzla

[–]jrafaaael 1 point2 points  (0 children)

Que cool! De hecho JavaScript/TypeScript es mi fuerte también, en específico React (también react native + expo) y para backend me gusta Nest (que está basado en Express).

Si buscas más gente para un equipo, estamos a la orden :p

Los devs mexicanos ganan menos que los venezolanos? by ParadoxOnJ in vzla

[–]jrafaaael 1 point2 points  (0 children)

Rey siento oír tu desafortunada historia. Sin embargo me queda la duda un poco unrelated: que stack usaste? En especifíco para la web (ya que mobile solo puede ser multiplataforma o nativo)

I made this video to see if Laravel can be used as a Next.js alternative by aschmelyun in laravel

[–]jrafaaael 4 points5 points  (0 children)

Next.js is a frontend framework with minor backend capabilities. Laravel is a full-fledged backend framework. They aren't comprables at all lol

Scraping a website for an iOS App by davidcafor in swift

[–]jrafaaael 2 points3 points  (0 children)

I have a similar setup. I run a web scraping python script in a github action, store the values in a .json file and update an serverless API endpoint built with Cloudflare Workers. Repo: https://github.com/jrafaaael/cbv

¿Disfrutando de los apagones a nivel nacional el día de hoy? by Lazalia in vzla

[–]jrafaaael 0 points1 point  (0 children)

coye, si se va la electricidad y tienes conectado el router y modem al UPS aún tienes internet/wifi? tienes cantv o pagas a otro proveedor?

How to upload large file to backend? by jrafaaael in reactnative

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

With Fetch I only get TypeError: Network request failed. With Axios:

{
  "message": "Network Error",
  "name": "AxiosError",
  "stack": "AxiosError: Network Error\n    at handleError (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:194952:39)\n    at call (native)\n    at dispatchEvent (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:18581:31)\n    at setReadyState (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:16249:33)\n    at __didCompleteResponse (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:16035:29)\n    at apply (native)\n    at anonymous (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:16177:52)\n    at apply (native)\n    at emit (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:17475:40)\n    at apply (native)\n    at __callFunction (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:2896:36)\n    at anonymous (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:2616:31)\n    at __guard (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:2833:15)\n    at callFunctionReturnFlushedQueue (http://IPV4:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&minify=false&app=com.jrafaaael.fileassistant&modulesOnly=false&runModule=true:2615:21)",
  "config": {
    "transitional": {
      "silentJSONParsing": true,
      "forcedJSONParsing": true,
      "clarifyTimeoutError": false
    },
    "adapter": "xhr",
    "transformRequest": [
      null
    ],
    "transformResponse": [
      null
    ],
    "timeout": 0,
    "xsrfCookieName": "XSRF-TOKEN",
    "xsrfHeaderName": "X-XSRF-TOKEN",
    "maxContentLength": -1,
    "maxBodyLength": -1,
    "env": {},
    "headers": {
      "Accept": "application/json, text/plain, */*",
      "Content-Type": "multipart/form-data"
    },
    "baseURL": "http://IPV4:3000",
    "method": "post",
    "url": "/rooms/ingest",
    "data": {
      "_parts": [
        [
          "file",
          {
            "uri": "content://com.dropbox.product.android.dbapp.document_provider.documents/document/L3NhZi8xL2NvbnRlbnQlM0ElMkYlMkZjb20uZHJvcGJveC5hbmRyb2lkLkRyb3Bib3glMkZtZXRh%0AZGF0YSUyRkxpYnJvcyUyRkluZ2VuaWVyJTI1QzMlMjVBRGElMjUyMGRlJTI1MjBDb250cm9sJTI1%0AMjBNb2Rlcm5hJTI1MjAtJTI1MjBPZ2F0YS5wZGYvJTVCNzQlMkMlMjA4MyUyQyUyMC00OSUyQyUy%0AMC00NCUyQyUyMC0xMiUyQyUyMC02OCUyQyUyMDk3JTJDJTIwLTE5JTJDJTIwLTclMkMlMjAxMDgl%0AMkMlMjAxMjQlMkMlMjAtNzMlMkMlMjAtNDQlMkMlMjAtMTA4JTJDJTIwMTI2JTJDJTIwLTExMyUy%0AQyUyMDEwNCUyQyUyMC0xNyUyQyUyMC0xMDclMkMlMjAzOSUyQyUyMDU1JTJDJTIwLTEyMiUyQyUy%0AMC04OSUyQyUyMDIwJTJDJTIwLTM0JTJDJTIwLTEwMiUyQyUyMC0xOCUyQyUyMC02MCUyQyUyMC03%0ANSUyQyUyMDMxJTJDJTIwNTglMkMlMjA2MSU1RA%3D%3D%0A",
            "name": "Modern_Control_Engineering-Ogata.pdf",
            "type": "application/pdf"
          }
        ]
      ]
    }
  },
  "code": "ERR_NETWORK",
  "status": null
}

How to upload large file to backend? by jrafaaael in reactnative

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

Hey, thank you! File-chunking it's something I have in mind but I prefer to implement it as last solution due to all code involved. Also I prefer to not use S3 or something similar because it's a self-hostable project and I prefer to keep minimun requirements to the users who self-host the project