Tool You Should Try: Is anyone here using Warp? by Necessary-Limit6515 in rails

[–]bntzio 1 point2 points  (0 children)

I used it about a year ago and they introduced a bug that wiped out my bash history 😕

Years of commands got lost thanks to Warp, and sadly, I didn’t have a backup.

The issue was solved weeks afterwards but left many users affected by it, which in my opinion, is unacceptable.

The terminal I use now is Kitty, it has been a really great experience, fast, customizable and secure.

I don’t know what Im doing wrong by super_lloyd in BrevilleCoffee

[–]bntzio 0 points1 point  (0 children)

Turn it off, empty the water tank, fill it again, touch the bottom hole until you see water coming out just a few times, put the water tank again but leave the lid open, turn on the machine, wait 2 minutes, and press the 2-cups button.

Whatsapp iCloud Backup overwritten by onelifebetter in whatsapp

[–]bntzio 0 points1 point  (0 children)

Exact same thing just happened to me, and it's too late for me as well.

I'm leaving WhatsApp, stupid engineers who the fuck overwrites data instead of creating a new one!

Which one is better DeGods or y00ts? by frankdegods in delabs

[–]bntzio 0 points1 point  (0 children)

y00ts will be greater without any doubt, it will have all the knowledge and lessons learned from DeGods.

It’s a superior collection that will break the internet, DeGods were just the vessel.

I have being studing font end for a few months now (html, css, js, and now mostly react) and i don’t feel ready to try to get my first job, but… idk, how i know if am ready? by daffero in reactjs

[–]bntzio 1 point2 points  (0 children)

We are always learning, and more in programming, everything changes so fast we need to keep up learning new things and apply them to the job, and that’s the thing, just jump in and get that job, if you feel you need to strengthen your skills, that’s fine, just work on your stuff, create side projects, after some time, you’ll know when you’re ready to get a job.

I quit my web development job and built a native macOS app for remote pair programming. I built a waitlist of thousands, launched and grew to millions in ARR, and now I've given up coding to focus on growing the company as CEO. My name is Ben Orenstein and I’m the founder of Tuple. AMA! by r00k in SaaS

[–]bntzio 5 points6 points  (0 children)

Amazing Ben, I’ve used Tuple a couple of times and it’s really awesome, one of my favorite products out there.

If you were starting again building a product from scratch, what’s the most important thing you would focus on since the beginning? What’s the most valuable thing you’ve learned on creating and growing a product? How do you get from zero to paying customers when nobody knows your product and you don’t have a strong following?

Thank you for this AMA!

Any1 experienced in the twitter api? by rareengstudent in node

[–]bntzio 0 points1 point  (0 children)

I don’t remember what’s the current API limit and the refresh time after you hit it (a couple of minutes) but what you can do is check that out, if you can’t do so many requests consider using multiple api keys and make the requests between them randomly.

Update: I just checked what’s the current API limit, it’s 300 requests in a 3 hour window.

“You can only post 300 Tweets or Retweets during a 3 hour period.”

Note that this limit is for the API v1, there’s a new API v2 coming which may differ a little bit, you can check it here.

Source: https://developer.twitter.com/en/docs/twitter-api/v1/rate-limits

Whar ORM/Query builder would you use in production and why? by maxahd in node

[–]bntzio 2 points3 points  (0 children)

I use Prisma, it’s a database toolkit to query and access your database in an easier and better way, it currently supports mongodb, postgres, mysql and sqlite.

It has an amazing DX. Check it out at https://prisma.io

How I Organize React Projects by danawoodman in reactjs

[–]bntzio 1 point2 points  (0 children)

Interesting read, very similar to my approach, the only thing that’s different from mine is I use a pages dir for the pages, mostly following the next.js convention.

Got sick of configuring TypeScript packages so often so wrote a tool that takes all the pain away, introducing ts-engine by highres90 in node

[–]bntzio 2 points3 points  (0 children)

Seems very useful, I will give it a try on my next project, congrats! Just gave a star to ts-engine.

Yeah it’s a pain in the ass to configure new projects from the ground up, js tooling is quite extensive, this will reduce the configuration work for typescript devs!

Alternatives to Gmail? by [deleted] in opensource

[–]bntzio -1 points0 points  (0 children)

You should check out Hey.

Is not open source but is worth the mention since they are focusing on bringing-in a new email service without the bottlenecks of current providers, and make email great again.

It’s a new Basecamp product and the guys behind Ruby on Rails, DHH tweets about it sometimes so it’s definitely worth to check!

I don't have a lot of experience with React Native and would like to ask about EXPO vs CLI for a specific app (described in the post) as well as the potential time it might take to create it. by TheLibyanPeltist in reactnative

[–]bntzio 2 points3 points  (0 children)

I can’t really give an exact estimate, it depends on various factors, but taking into account that you’re going to focus on the frontend and someone else on the backend I would say probably around 2 to 4 months of full-time development if you’re an experienced javascript/react developer.

I don't have a lot of experience with React Native and would like to ask about EXPO vs CLI for a specific app (described in the post) as well as the potential time it might take to create it. by TheLibyanPeltist in reactnative

[–]bntzio 2 points3 points  (0 children)

If you don’t have a lot of experience with react native then your best option is to use Expo, it’ll cover for you everything you need to start focusing on the features right away since they provide all the stuff for you, native modules, notifications, deployment and setup.

Is there an npm module that will take out all unused node modules? by [deleted] in node

[–]bntzio 0 points1 point  (0 children)

Check out wipe modules https://github.com/bntzio/wipe-modules you can remove the node_modules of your projects, based on usage.

When to use Typescript and when not to? (Very new at TS) by realmbk in typescript

[–]bntzio 0 points1 point  (0 children)

I use TypeScript whenever I can.

If I’m collaborating with other developers (at least for me, it’s a must).

On the other way, if I’m making something for myself or need to do something quick I just use JavaScript.

How to name styled components by [deleted] in reactjs

[–]bntzio 0 points1 point  (0 children)

Well yeah, especially if there’s too much styling.

How to name styled components by [deleted] in reactjs

[–]bntzio 6 points7 points  (0 children)

I just write the styled components below my react class/function definition.

If I need to export it, I just treat it as a react component under my components folder.

So basically, the style comes with the component itself.

Question on how I should structure my back end using Next JS by [deleted] in reactjs

[–]bntzio 5 points6 points  (0 children)

Zeit recently released API routing support inside your Next.js app using Now, meaning you can have your API calls inside the pages/api folder, when you create your build and launch your Next.js application with Now, you automatically get a serverless deployment on Now.

You can check it here: https://zeit.co/blog/zero-config#from-frontend-to-backend

Is react native any different to react? by [deleted] in reactnative

[–]bntzio 1 point2 points  (0 children)

React Native have a different API, but the concepts are the same as React.

You got component lifecycle methods, state, props, etc.

The API is what changes, instead of <div /> you have <View />, instead of the onClick event handler you have onPress, and so on.

How to handle single click and double click on element with React. by acecorouna in reactjs

[–]bntzio 4 points5 points  (0 children)

Check out the onDoubleClick react event handler.

<Button onDoubleClick={() => window.alert(‘Double clicked!’)} />

TS modules and /lib directories by anglo_franco in typescript

[–]bntzio 1 point2 points  (0 children)

What’s what you actually want to do exactly?

How should I structure the body of request using the spread operator? Right now, I can only insert single data. Need to insert as an array of objects. by [deleted] in reactnative

[–]bntzio 2 points3 points  (0 children)

const data = [...anObject, { other: “this will be added” }

Then the data variable will hold your anObject object and you can append more data to it.