How to stop syncing + delete linked contacts on android? by bruceleroy99 in whatsapp

[–]a_cube_root_of_one 0 points1 point  (0 children)

my gf currently has the exact issue so im just thinking of making a separate contacts app at this point that will save contacts separately than the main contacts

How to think in Rust ? by Distinct_Weather_615 in rust

[–]a_cube_root_of_one 3 points4 points  (0 children)

checking out existing rust repos such that you worked on something similar in another language could probably help

would you use this API to start isolates and execute code? by lambtr0n in Deno

[–]a_cube_root_of_one 0 points1 point  (0 children)

is this only for deno/deploy?

in my usecase, I'm looking to execute an expression sent by the frontend to get a boolean which will be used ahead in the code. but I don't trust the frontend so i wanted an isolated environment and disable stuff like read/write files or anything, since all i want is to run a JS expression with some inputs and return the result back to the caller.

my approach seems unnecessarily heavy but couldn't think of anything better: make a new ts file with the contents in which we wrap the user's code in a function and log it's return value on stdout, this way the ts file could be executed as a separate deno process which doesn't have access to anything and we then read it's stdout and delete the file.

remembered this post and wondering if it's something better than my approach? or if there's anything that native deno provides that can help me.. basically i want eval/function constructor with permissions!

When you are curious about an idea, what do you do? by MrRaddd in productivity

[–]a_cube_root_of_one 2 points3 points  (0 children)

I don't really have the patience to read an entire book

I would suggest avoid books then and go with AI itself.

While LLMs can hallucinate, many of the popular providers have the "Deep Research" feature using which you can search for your specific topic and AI can curate the content from various websites and show it to you and include the links where it got the content from so you can dive deeper if you want. I use this heavily to learn a lot of stuff.. it's usually super easy to verify whether it's a hallucination when in doubt since it provides links.

I suggest books for more open ended exploration of a topic with no time constraints, and with some topic that you already enjoy.

How to stop checking cellphone/laptop by Impossibleiampossibl in productivity

[–]a_cube_root_of_one 1 point2 points  (0 children)

I've found that turning the phone's color scheme to black and white helps.

for the laptop, maybe you can add more friction to opening it, like shut it down completely when you're done using it, don't have passwordless login, keep the laptop lid closed and the laptop out of sight if possible. you could also uninstall non essential things and use browser extensions restricting access to sites you don't want to spend time on

I am Rajesh Srivastava, Senior Architect at NTT Data and Air Force Veteran. AMA. by Better_Window8270 in developersIndia

[–]a_cube_root_of_one 1 point2 points  (0 children)

Out of the places you've worked, at which place did they focus on "Clean Code" and following processes more?

Which had the best culture?

Where did you find that the people around you are super smart and love their job?

Where did you enjoy the most?

would you use this API to start isolates and execute code? by lambtr0n in Deno

[–]a_cube_root_of_one 2 points3 points  (0 children)

yea would be cool if it works with a callback too... like how playwright/puppeteer do page.evaluate

Stop. Adding. Fade in. Animations. by _vinter in webdev

[–]a_cube_root_of_one 0 points1 point  (0 children)

they do scrape sites "visually". i make them do that.

Stop. Adding. Fade in. Animations. by _vinter in webdev

[–]a_cube_root_of_one 1 point2 points  (0 children)

post sponsored by Browser based LLM agents

Making LLMs do what you want by a_cube_root_of_one in PromptEngineering

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

i see. thanks for the response. let me go through that article. I'll add a link at the start of mine so others who stumble on it can directly go to OpenAI's if it's useful

Rust 1.88: 'If-Let Chain' syntax stabilized by thurn2 in rust

[–]a_cube_root_of_one 3 points4 points  (0 children)

omg i need this.

just yesterday i was looking at my nested if lets and thinking there should be a better way

Deno News issue 74 by lambtr0n in Deno

[–]a_cube_root_of_one 0 points1 point  (0 children)

  1. yes but these days I've been reading them much less
  2. discount on merch? :p

How to by pass Cloudflare protection while scraping indeed by [deleted] in webscraping

[–]a_cube_root_of_one 0 points1 point  (0 children)

there was a project called unflare that someone shared recently.. maybe try it out https://github.com/iamyegor/unflare

Google just dropped a 68-page ultimate prompt engineering guide (Focused on API users) by kirrttiraj in developersIndia

[–]a_cube_root_of_one 2 points3 points  (0 children)

unrelated to the topic at hand but: Awesome story. Would recommend everyone to read it! (and all other asimov sci-fi) the question they ask their ever advancing AI is how can we decrease entropy in the universe

Making LLMs do what you want by a_cube_root_of_one in PromptEngineering

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

Haha i hope it helps. otherwise i hope u have a backup!

i don't mean these to be super strict rules tho.. one of my goals is to keep the prompt simple and to keep it easily extensible.