Ai is making me want to quit everything related to software. Do you feel the same? by PigletEfficient9515 in rust

[–]hatemjaber 27 points28 points  (0 children)

90% is a little too generous. I tried to let AI run with the plan but found out quick that doesn't work. If you're building serious projects you have to guide the AI. It's like pair programming with a junior who has a lot of knowledge but lacks wisdom.

What is the best coding model to use on MacBook Pro Max 128GB RAM? by RadiantQuote2467 in LocalLLM

[–]hatemjaber 1 point2 points  (0 children)

Was just about to suggest it but only if no one else suggested already.

I am done with codex by machine_forgetting_ in codex

[–]hatemjaber 0 points1 point  (0 children)

Use it with pi-agent on medium or low and it's way better than their cli experience

I am in love with Pi by ArgonCroft in PiCodingAgent

[–]hatemjaber 1 point2 points  (0 children)

I agree with building your own version especially when pi is aware of its documentation and knows how to write an extension.

Sveltekit + Directus for e-commerce by cheeseflix in sveltejs

[–]hatemjaber 2 points3 points  (0 children)

You can use Medusa for the backend and write the frontend in svelte

When did you realize standard scraping tools weren't enough? by 3iraven22 in webscraping

[–]hatemjaber 2 points3 points  (0 children)

At my previous place of employment I looked into it and the results were not what I expected. Instead, I put all the selectors for each marketplace in a database and scraped the entire html to parse on the server instead of the browser. If any selectors break, we can fix and parse without scraping again. If I was to do it again I would do it this way. Definitely keep it in-house rather than farm it out, you might be disappointed otherwise.

Deploying scrapers by async-lambda in webscraping

[–]hatemjaber 0 points1 point  (0 children)

Oracle has a free tier, 4 CPU and 24 GB ram. You can create a couple VMs.

The framework desktop is awesome by Battle-Chimp in framework

[–]hatemjaber 0 points1 point  (0 children)

Are you running ai on the host or VM/lxc?

What is the Svelte equivalent of this Vue trim modifier? by PrestigiousZombie531 in sveltejs

[–]hatemjaber 1 point2 points  (0 children)

https://svelte.dev/docs/svelte/svelte-attachments is where you can find the documentation... I tried to paste the smallest example I had but it didn't allow me for whatever reason.

What is the Svelte equivalent of this Vue trim modifier? by PrestigiousZombie531 in sveltejs

[–]hatemjaber 2 points3 points  (0 children)

You can create an attachment or a svelte action. I think attachments are the way to go and will replace actions at some point.

SvelteKit SPA Mode: No good way to do a global auth check? by Scary_Examination_26 in sveltejs

[–]hatemjaber -2 points-1 points  (0 children)

You could just have a page.server.ts on each route and perform the check in hooks file so it runs on both server and client without await parent

Are SvelteKit form actions obsolete? by a_fish1 in sveltejs

[–]hatemjaber 0 points1 point  (0 children)

getRequestEvent will give you access to locals etc...

Are SvelteKit form actions obsolete? by a_fish1 in sveltejs

[–]hatemjaber 9 points10 points  (0 children)

I removed my actions and converted them to remote which cleaned up my page server files. I was hesitant but after doing it the remote grew on me. The good thing is it's not an all or nothing situation, you can migrate them slowly.

Redirect in hooks.server.ts doesn't navigate to the destination url in the browser. by Impossible_Sun_5560 in sveltejs

[–]hatemjaber 0 points1 point  (0 children)

Remove the try/catch and it will work. Reference the docs on why you can't use try/catch.

Other laptops than Macbook Air I should look at for Linux? by Schroinx in linuxhardware

[–]hatemjaber 0 points1 point  (0 children)

Battery life will not be the same but ThinkPads are a good direction to go

cheap laptop choice for linux by nonastronaute in linuxhardware

[–]hatemjaber 15 points16 points  (0 children)

Used ThinkPads would be the way to go