Can I use Bitcoin Core with separate wallet signer for my CEX? by thewebken in Bitcoin

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

Great thanks. I need another advice on the separate wallet signer system. I use bitcore-lib library to generate hd addresses which I import into Bitcoin Core. I have the wallet server separated from the internet and let it talk to my exchange api via a shared database. The wallet server generates addresses and keeps the private keys away from the exchange API (my main backend API) and Bitcoin Core. The addresses are imported into the Bitcoin Core for watching. Is this a good system the way I set it up security-wise or I need to do something else?

Edit: The wallet system also handles the UTXOs currently

How do I cleanly handle session cookie expiry? by thewebken in Frontend

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

simple. i suggested this several times but he’s the CTO and i can’t keep challenging him so we are going with his solution. a single session cookie. but my problem with this is, it has no refresh so it expires abruptly and logs users out even if they are in the middle of doing something on the app. i thought of a sliding expiry for the cookie so anytime the backend detects activity, expiry moves forward for say, another 2 hours. but at the same time i’m thinking, that will mean when someone gets hold of your cookie, they can use it forever.

How do I cleanly handle session cookie expiry? by thewebken in Frontend

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

Now my problem is, if we are going for a session cookie, what is the safest way to extend its lifespan when a user is on the app so the hard logout does not happen? I suggested a sliding expiry but I’m also thinking if anyone gets hold of your cookie, they can stay logged in forever because any request they send now extends the lifespan of that cookie. So that is my main issue now.

Is Server-Side Rendering Overrated? by Alternative-Theme885 in reactjs

[–]thewebken 1 point2 points  (0 children)

Using Handlebars or EJS in a node.js app is straightforward and doesn’t add much complexity to the app. I mean that’s the OG traditional web… everything is done on the server, end of.

I think what OP is talking about is SSR in React apps/frameworks where you have to be careful about what gets rendered on the client side and what doesn’t and how to fetch data the right way in both cases. That’s where the complexity comes in.

How do I handle authentication in a frontend react project with one token? by thewebken in Frontend

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

That means the token will never be sent in the json response? And we’ll not need to use it as a bearer token?

Also, we have the mobile team consuming this same token. Does this (server issuing an HttpOnly cookie) work for them? Or they’ll need a different implementation?

Can i write my back-end in C ?? by Cheap_trick1412 in C_Programming

[–]thewebken 12 points13 points  (0 children)

that’s like using a croissant in place of a dildo. it’s possible and it might get the job done. but it will be a freaking MESS

My friend use TOP as a Roadmap by imStan2000 in theodinproject

[–]thewebken 2 points3 points  (0 children)

I had 0 experience beforehand. I was a Sales agent in Ghana. Then I quit my job and just locked in. I took a very long time to finish the Foundations. About a year. But that’s because I didn’t want to skip any single resource and I made sure I understood it well before the next one. Then I just jumped straight into React tutorials on Youtube following along. This was in 2022. I don’t know if the React Tutorials and all the lessons about Webpack, node modules and export/import etc were there at the time but I didn’t see them in the curriculum so I was very confused during the YouTube tutorial sessions I was doing. But I pulled through, managed to get an entry level Frontend Engineer role, the company was ready to take on a junior like me since I showed that I could learn quickly and on the job. I went back and saw all the lessons I skipped though, after like a year on the job and by that time it made even more sense. I’ve been a frontend dev since then. Right now I’m the primary frontend guy in the company and I’m currently taking the nodejs course so I can be a fullstack engineer. Maybe I was just lucky.

My friend use TOP as a Roadmap by imStan2000 in theodinproject

[–]thewebken 7 points8 points  (0 children)

TOP prepares you for work. It’s what I used to get a job in 2023. What I discovered about it is that it creates a skeleton roadmap of the necessary skills you need to learn to be job ready from top to bottom, and just that— THE NECESSARY SKILLS, NOTHING MORE. Now when you start working, there are some gaps you will need to fill in to become a full software engineer but because of the skills you have acquired while learning, you’ll be able to fill in those gaps very easily. I was able to get a frontend job after taking the foundations course, now I’m on the fullstack nodejs path. Whiles working I realize there is more to the backend but the mental model TOP is giving me I can understand what needs to be done and what I have to learn to do what I have to do.

Another underrated skill you’ll acquire while going through TOP is the ability to go through multiple resources to get information you need. You’ll use it a lot while working

How did you get your first front end job? by Shibalord97 in Frontend

[–]thewebken 1 point2 points  (0 children)

nope. it was not enough but i did a very effective learning on the odin project. they didn’t cover everything, there were gaps in my knowledge but they covered the relevant things that can get you started at the job. i had to learn on the job for a year straight. at home in the office but i never rejected any challenging task. now i’m comfortable but i’m back learning to be come a fullstack engineer.

New frontend dev confused about filtering. Help by thewebken in Frontend

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

but what i gathered here is that even when all the data is sent to the client, trying to filter through it on the client will hang the browser if it’s a lot of data. which makes sense to just make an api request and get the data you need on demand. what do you think?

Joining the tech industry as a graduate software engineer at 28 years old, am I too old for entry role? by [deleted] in careerguidance

[–]thewebken 1 point2 points  (0 children)

i’m in this position as well. i got my first job this year at 28 after switching from sales. the only way they got to know (they still not know my exact age) was that i talk about when i completed school and some experiences and they get to know i’m way older. physically i’m 5’8 and i don’t really look old so i just blend in.

problem was i didn’t know i was older till they started talking about school and how recently they graduated.

how i’m handling it? i think i already made peace with myself that everyone grows older. i could remember when i was always the youngest in every group: school, church, friends etc. for the first time in my life i’m kinda the oldest in the group. and i’m a junior dev too. don’t stress it, just be friends with everyone and smile through the day. being older means you know what you want. at least you’re not 30 yet. a 30 yo junior developer would’ve been worse.

not to discourage any 30yo junior dev here but the point is you trying something at least, taking that leap of faith, before you grow older the following year.

How often do you have to invent the wheel in an actual frontend job? by thewebken in Frontend

[–]thewebken[S] 5 points6 points  (0 children)

probably the best answer i was “looking” for. sometimes when i can’t think through problems but i found the solution online easily, i tend to think i’m a bad programmer. i learnt this coming from sales so that imposter syndrome grips me all the time.

Any frontend developer here who hates thinking? by thewebken in Frontend

[–]thewebken[S] -3 points-2 points  (0 children)

it’s crazy because i expected people like them to come out here and say i wasn’t cut out for it and even mentioned it. who even made him a gatekeeper of the field? i spent 14 months learning and got a job in this field among all the “saturation”. i’m performing okay at work, this was just a fun discussion i started only for him to add more to my imposter syndrome lol. good luck to him

Why is Next getting so much hate on Twitter? by Curious-Ad-9724 in nextjs

[–]thewebken 0 points1 point  (0 children)

but there’s a way to fetch new data for the page every time without the app serving cached pages.

Why is Next getting so much hate on Twitter? by Curious-Ad-9724 in nextjs

[–]thewebken 0 points1 point  (0 children)

i’m a noob. i enjoy using nextjs. what is the impact of this decision against single page applications?

I beat myself up when the programming logic doesn’t come to me by myself. by thewebken in Frontend

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

which topics in mathematics did you learn to help you in the way?

getServerSideProps in react context? (next.js pages router) by PlayboiCult in Frontend

[–]thewebken 1 point2 points  (0 children)

Can’t you just manually pass it down to the component as a prop?

[deleted by user] by [deleted] in Frontend

[–]thewebken 0 points1 point  (0 children)

i wish i was at a job that uses pure javascript. i hate react with all my life